package o;

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

    public C0657Zi(C1210ff c1210ff, int i) {
        this.l = c1210ff;
        this.m = i;
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    @Override // o.InterfaceC2294qz
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object c(java.lang.Object r7, o.InterfaceC0220Im r8) {
        /*
            r6 = this;
            boolean r0 = r8 instanceof o.C0631Yi
            if (r0 == 0) goto L13
            r0 = r8
            o.Yi r0 = (o.C0631Yi) r0
            int r1 = r0.q
            r2 = -2147483648(0xffffffff80000000, float:-0.0)
            r3 = r1 & r2
            if (r3 == 0) goto L13
            int r1 = r1 - r2
            r0.q = r1
            goto L18
        L13:
            o.Yi r0 = new o.Yi
            r0.<init>(r6, r8)
        L18:
            java.lang.Object r8 = r0.f427o
            int r1 = r0.q
            o.Oh0 r2 = o.Oh0.a
            r3 = 2
            r4 = 1
            o.Dn r5 = o.EnumC0091Dn.l
            if (r1 == 0) goto L38
            if (r1 == r4) goto L34
            if (r1 != r3) goto L2c
            o.IJ.H(r8)
            goto L90
        L2c:
            java.lang.IllegalStateException r7 = new java.lang.IllegalStateException
            java.lang.String r8 = "call to 'resume' before 'invoke' with coroutine"
            r7.<init>(r8)
            throw r7
        L34:
            o.IJ.H(r8)
            goto L4d
        L38:
            o.IJ.H(r8)
            o.aH r8 = new o.aH
            int r1 = r6.m
            r8.<init>(r1, r7)
            r0.q = r4
            o.ff r7 = r6.l
            java.lang.Object r7 = r7.n(r8, r0)
            if (r7 != r5) goto L4d
            goto L8f
        L4d:
            r0.q = r3
            o.vn r7 = r0.h()
            o.AbstractC0752ap.F(r7)
            o.Im r8 = o.AbstractC2539te.G(r0)
            boolean r0 = r8 instanceof o.C1428hs
            if (r0 == 0) goto L61
            o.hs r8 = (o.C1428hs) r8
            goto L62
        L61:
            r8 = 0
        L62:
            if (r8 != 0) goto L66
            r7 = r2
            goto L89
        L66:
            o.wn r0 = r8.f571o
            boolean r1 = r0.V(r7)
            if (r1 == 0) goto L76
            r8.q = r2
            r8.n = r4
            r0.U(r7, r8)
            goto L88
        L76:
            o.Ym0 r1 = new o.Ym0
            o.uQ r3 = o.Ym0.m
            r1.<init>(r3)
            o.vn r7 = r7.M(r1)
            r8.q = r2
            r8.n = r4
            r0.U(r7, r8)
        L88:
            r7 = r5
        L89:
            if (r7 != r5) goto L8c
            goto L8d
        L8c:
            r7 = r2
        L8d:
            if (r7 != r5) goto L90
        L8f:
            return r5
        L90:
            return r2
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C0657Zi.c(java.lang.Object, o.Im):java.lang.Object");
    }
}
