package o;

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

    public C2768vz(C2277qp c2277qp, C2087op c2087op) {
        this.l = c2277qp;
        this.m = c2087op;
    }

    /* JADX WARN: Removed duplicated region for block: B:35:0x0079  */
    /* JADX WARN: Removed duplicated region for block: B:46:0x009d A[RETURN] */
    /* JADX WARN: Removed duplicated region for block: B:56:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    @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;
            boolean r0 = r10 instanceof o.C2673uz
            if (r0 == 0) goto L13
            r0 = r10
            o.uz r0 = (o.C2673uz) r0
            int r1 = r0.p
            r2 = -2147483648(0xffffffff80000000, float:-0.0)
            r3 = r1 & r2
            if (r3 == 0) goto L13
            int r1 = r1 - r2
            r0.p = r1
            goto L18
        L13:
            o.uz r0 = new o.uz
            r0.<init>(r8, r10)
        L18:
            java.lang.Object r10 = r0.f751o
            int r1 = r0.p
            r2 = 3
            r3 = 2
            r4 = 1
            r5 = 0
            o.Dn r6 = o.EnumC0091Dn.l
            if (r1 == 0) goto L50
            if (r1 == r4) goto L44
            if (r1 == r3) goto L3c
            if (r1 != r2) goto L34
            java.lang.Object r9 = r0.r
            o.M30 r9 = (o.M30) r9
            o.IJ.H(r10)     // Catch: java.lang.Throwable -> L32
            goto L7a
        L32:
            r10 = move-exception
            goto L84
        L34:
            java.lang.IllegalStateException r9 = new java.lang.IllegalStateException
            java.lang.String r10 = "call to 'resume' before 'invoke' with coroutine"
            r9.<init>(r10)
            throw r9
        L3c:
            java.lang.Object r9 = r0.r
            java.lang.Throwable r9 = (java.lang.Throwable) r9
            o.IJ.H(r10)
            goto L9e
        L44:
            o.qz r9 = r0.s
            java.lang.Object r1 = r0.r
            o.vz r1 = (o.C2768vz) r1
            o.IJ.H(r10)     // Catch: java.lang.Throwable -> L4e
            goto L63
        L4e:
            r9 = move-exception
            goto L8a
        L50:
            o.IJ.H(r10)
            o.qp r10 = r8.l     // Catch: java.lang.Throwable -> L88
            r0.r = r8     // Catch: java.lang.Throwable -> L88
            r0.s = r9     // Catch: java.lang.Throwable -> L88
            r0.p = r4     // Catch: java.lang.Throwable -> L88
            java.lang.Object r10 = r10.a(r9, r0)     // Catch: java.lang.Throwable -> L88
            if (r10 != r6) goto L62
            goto L9d
        L62:
            r1 = r8
        L63:
            o.M30 r10 = new o.M30
            o.vn r3 = r0.m
            r10.<init>(r9, r3)
            o.op r9 = r1.m     // Catch: java.lang.Throwable -> L80
            r0.r = r10     // Catch: java.lang.Throwable -> L80
            r0.s = r5     // Catch: java.lang.Throwable -> L80
            r0.p = r2     // Catch: java.lang.Throwable -> L80
            java.lang.Object r9 = r9.d(r10, r5, r0)     // Catch: java.lang.Throwable -> L80
            if (r9 != r6) goto L79
            goto L9d
        L79:
            r9 = r10
        L7a:
            r9.o()
            o.Oh0 r9 = o.Oh0.a
            return r9
        L80:
            r9 = move-exception
            r7 = r10
            r10 = r9
            r9 = r7
        L84:
            r9.o()
            throw r10
        L88:
            r9 = move-exception
            r1 = r8
        L8a:
            o.rf0 r10 = new o.rf0
            r10.<init>(r9)
            o.op r1 = r1.m
            r0.r = r9
            r0.s = r5
            r0.p = r3
            java.lang.Object r10 = o.AbstractC2378rs0.y(r10, r1, r9, r0)
            if (r10 != r6) goto L9e
        L9d:
            return r6
        L9e:
            throw r9
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2768vz.a(o.qz, o.Im):java.lang.Object");
    }
}
