package o;

import androidx.work.CoroutineWorker;
import com.google.android.gms.common.ConnectionResult;
import java.io.File;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class D9 extends Sb0 implements SC {
    public final /* synthetic */ int p;
    public int q;
    public final /* synthetic */ Object r;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ D9(Object obj, InterfaceC0220Im interfaceC0220Im, int i) {
        super(2, interfaceC0220Im);
        this.p = i;
        this.r = obj;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) throws Throwable {
        InterfaceC0065Cn interfaceC0065Cn = (InterfaceC0065Cn) obj;
        InterfaceC0220Im interfaceC0220Im = (InterfaceC0220Im) obj2;
        switch (this.p) {
            case 4:
                ((D9) l(interfaceC0065Cn, interfaceC0220Im)).n(Oh0.a);
                break;
        }
        return ((D9) l(interfaceC0065Cn, interfaceC0220Im)).n(Oh0.a);
    }

    /* JADX WARN: Type inference failed for: r0v21, types: [o.OC, o.Sb0] */
    @Override // o.AbstractC0728ad
    public final InterfaceC0220Im l(Object obj, InterfaceC0220Im interfaceC0220Im) {
        switch (this.p) {
            case 0:
                return new D9((I9) this.r, interfaceC0220Im, 0);
            case 1:
                return new D9((CoroutineWorker) this.r, interfaceC0220Im, 1);
            case 2:
                return new D9((C0456Rp) this.r, interfaceC0220Im, 2);
            case 3:
                return new D9((C1936nA) this.r, interfaceC0220Im, 3);
            case 4:
                return new D9((C1569jN) this.r, interfaceC0220Im, 4);
            case 5:
                return new D9((C2614uO) this.r, interfaceC0220Im, 5);
            case 6:
                return new D9((C0173Gr) this.r, interfaceC0220Im, 6);
            case 7:
                return new D9((File) this.r, interfaceC0220Im, 7);
            case 8:
                return new D9((Wb0) this.r, interfaceC0220Im, 8);
            case ConnectionResult.SERVICE_INVALID /* 9 */:
                return new D9((C0274Ko) this.r, interfaceC0220Im, 9);
            default:
                return new D9((Sb0) this.r, interfaceC0220Im);
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:55:0x00bc, code lost:
    
        if (o.F3.t(300, r14) == r6) goto L56;
     */
    /* JADX WARN: Code restructure failed: missing block: B:98:0x016a, code lost:
    
        if (o.AbstractC2539te.D(r14.m).w(new o.VD(r15, r7), r14) == r6) goto L99;
     */
    /* JADX WARN: Path cross not found for [B:92:0x0145, B:95:0x014e], limit reached: 163 */
    /* JADX WARN: Path cross not found for [B:95:0x014e, B:92:0x0145], limit reached: 163 */
    /* JADX WARN: Removed duplicated region for block: B:90:0x0141  */
    /* JADX WARN: Removed duplicated region for block: B:92:0x0145  */
    /* JADX WARN: Removed duplicated region for block: B:97:0x0152  */
    /* JADX WARN: Type inference failed for: r4v9, types: [o.OC, o.Sb0] */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:96:0x0150 -> B:90:0x0141). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:98:0x016a -> B:100:0x016d). Please report as a decompilation issue!!! */
    @Override // o.AbstractC0728ad
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object n(java.lang.Object r15) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 602
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.D9.n(java.lang.Object):java.lang.Object");
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    /* JADX WARN: Multi-variable type inference failed */
    public D9(OC oc, InterfaceC0220Im interfaceC0220Im) {
        super(2, interfaceC0220Im);
        this.p = 10;
        this.r = (Sb0) oc;
    }
}
