package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.qp, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2277qp implements InterfaceC2104oz {
    public final /* synthetic */ int l;
    public final Object m;

    public /* synthetic */ C2277qp(int i, Object obj) {
        this.l = i;
        this.m = obj;
    }

    /* JADX WARN: Removed duplicated region for block: B:16:0x004d  */
    /* JADX WARN: Type inference failed for: r0v6, types: [o.SC, o.Sb0] */
    @Override // o.InterfaceC2104oz
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object a(o.InterfaceC2294qz r9, o.InterfaceC0220Im r10) throws java.lang.Throwable {
        /*
            r8 = this;
            int r0 = r8.l
            switch(r0) {
                case 0: goto L9e;
                case 1: goto L39;
                default: goto L5;
            }
        L5:
            java.lang.Object r0 = r8.m
            r2 = r0
            o.oz[] r2 = (o.InterfaceC2104oz[]) r2
            o.U4 r3 = new o.U4
            r0 = 27
            r3.<init>(r0, r2)
            o.jm0 r4 = new o.jm0
            r0 = 0
            r1 = 3
            r4.<init>(r1, r0)
            o.bj r1 = new o.bj
            r6 = 0
            r5 = r9
            r1.<init>(r2, r3, r4, r5, r6)
            o.rz r9 = new o.rz
            o.vn r0 = r10.h()
            r2 = 0
            r9.<init>(r0, r10, r2)
            java.lang.Object r9 = o.Co0.O(r9, r9, r1)
            o.Oh0 r10 = o.Oh0.a
            o.Dn r0 = o.EnumC0091Dn.l
            if (r9 != r0) goto L34
            goto L35
        L34:
            r9 = r10
        L35:
            if (r9 != r0) goto L38
            r10 = r9
        L38:
            return r10
        L39:
            r5 = r9
            boolean r9 = r10 instanceof o.D
            if (r9 == 0) goto L4d
            r9 = r10
            o.D r9 = (o.D) r9
            int r0 = r9.r
            r1 = -2147483648(0xffffffff80000000, float:-0.0)
            r2 = r0 & r1
            if (r2 == 0) goto L4d
            int r0 = r0 - r1
            r9.r = r0
            goto L52
        L4d:
            o.D r9 = new o.D
            r9.<init>(r8, r10)
        L52:
            java.lang.Object r10 = r9.p
            int r0 = r9.r
            o.Oh0 r1 = o.Oh0.a
            r2 = 1
            if (r0 == 0) goto L6e
            if (r0 != r2) goto L66
            o.M30 r9 = r9.f73o
            o.IJ.H(r10)     // Catch: java.lang.Throwable -> L63
            goto L8f
        L63:
            r0 = move-exception
            r10 = r0
            goto L9a
        L66:
            java.lang.IllegalStateException r9 = new java.lang.IllegalStateException
            java.lang.String r10 = "call to 'resume' before 'invoke' with coroutine"
            r9.<init>(r10)
            throw r9
        L6e:
            o.IJ.H(r10)
            o.M30 r10 = new o.M30
            o.vn r0 = r9.m
            r10.<init>(r5, r0)
            r9.f73o = r10     // Catch: java.lang.Throwable -> L97
            r9.r = r2     // Catch: java.lang.Throwable -> L97
            java.lang.Object r0 = r8.m     // Catch: java.lang.Throwable -> L97
            o.Sb0 r0 = (o.Sb0) r0     // Catch: java.lang.Throwable -> L97
            java.lang.Object r9 = r0.f(r10, r9)     // Catch: java.lang.Throwable -> L97
            o.Dn r0 = o.EnumC0091Dn.l
            if (r9 != r0) goto L89
            goto L8a
        L89:
            r9 = r1
        L8a:
            if (r9 != r0) goto L8e
            r1 = r0
            goto L92
        L8e:
            r9 = r10
        L8f:
            r9.o()
        L92:
            return r1
        L93:
            r7 = r10
            r10 = r9
            r9 = r7
            goto L9a
        L97:
            r0 = move-exception
            r9 = r0
            goto L93
        L9a:
            r9.o()
            throw r10
        L9e:
            r5 = r9
            java.lang.Object r9 = r8.m
            o.xz r9 = (o.C2958xz) r9
            o.F9 r0 = new o.F9
            r1 = 2
            r0.<init>(r5, r1)
            java.lang.Object r9 = r9.a(r0, r10)
            o.Dn r10 = o.EnumC0091Dn.l
            if (r9 != r10) goto Lb2
            goto Lb4
        Lb2:
            o.Oh0 r9 = o.Oh0.a
        Lb4:
            return r9
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2277qp.a(o.qz, o.Im):java.lang.Object");
    }

    /* JADX WARN: Multi-variable type inference failed */
    public C2277qp(SC sc) {
        this.l = 1;
        this.m = (Sb0) sc;
    }
}
