package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.va0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2722va0 extends Sb0 implements TC {
    public int p;
    public /* synthetic */ InterfaceC2294qz q;
    public /* synthetic */ int r;
    public final /* synthetic */ C2817wa0 s;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2722va0(C2817wa0 c2817wa0, InterfaceC0220Im interfaceC0220Im) {
        super(3, interfaceC0220Im);
        this.s = c2817wa0;
    }

    @Override // o.TC
    public final Object d(Object obj, Object obj2, Object obj3) {
        int iIntValue = ((Number) obj2).intValue();
        C2722va0 c2722va0 = new C2722va0(this.s, (InterfaceC0220Im) obj3);
        c2722va0.q = (InterfaceC2294qz) obj;
        c2722va0.r = iIntValue;
        return c2722va0.n(Oh0.a);
    }

    /* JADX WARN: Code restructure failed: missing block: B:19:0x0045, code lost:
    
        if (r0.c(o.EnumC2882x80.l, r7) == r6) goto L32;
     */
    /* JADX WARN: Code restructure failed: missing block: B:31:0x007d, code lost:
    
        if (r0.c(o.EnumC2882x80.n, r7) != r6) goto L33;
     */
    /* JADX WARN: Removed duplicated region for block: B:27:0x0062 A[PHI: r0
      0x0062: PHI (r0v3 o.qz) = (r0v2 o.qz), (r0v6 o.qz) binds: [B:25:0x005f, B:13:0x0024] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARN: Removed duplicated region for block: B:30:0x0072 A[PHI: r0
      0x0072: PHI (r0v4 o.qz) = (r0v3 o.qz), (r0v7 o.qz) binds: [B:28:0x006f, B:12:0x001e] A[DONT_GENERATE, DONT_INLINE]] */
    @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 r8) {
        /*
            r7 = this;
            int r0 = r7.p
            r1 = 5
            r2 = 4
            r3 = 3
            r4 = 2
            r5 = 1
            o.Dn r6 = o.EnumC0091Dn.l
            if (r0 == 0) goto L34
            if (r0 == r5) goto L30
            if (r0 == r4) goto L2a
            if (r0 == r3) goto L24
            if (r0 == r2) goto L1e
            if (r0 != r1) goto L16
            goto L30
        L16:
            java.lang.IllegalStateException r8 = new java.lang.IllegalStateException
            java.lang.String r0 = "call to 'resume' before 'invoke' with coroutine"
            r8.<init>(r0)
            throw r8
        L1e:
            o.qz r0 = r7.q
            o.IJ.H(r8)
            goto L72
        L24:
            o.qz r0 = r7.q
            o.IJ.H(r8)
            goto L62
        L2a:
            o.qz r0 = r7.q
            o.IJ.H(r8)
            goto L55
        L30:
            o.IJ.H(r8)
            goto L80
        L34:
            o.IJ.H(r8)
            o.qz r0 = r7.q
            int r8 = r7.r
            if (r8 <= 0) goto L48
            r7.p = r5
            o.x80 r8 = o.EnumC2882x80.l
            java.lang.Object r8 = r0.c(r8, r7)
            if (r8 != r6) goto L80
            goto L7f
        L48:
            r7.q = r0
            r7.p = r4
            r4 = 0
            java.lang.Object r8 = o.F3.t(r4, r7)
            if (r8 != r6) goto L55
            goto L7f
        L55:
            r7.q = r0
            r7.p = r3
            o.x80 r8 = o.EnumC2882x80.m
            java.lang.Object r8 = r0.c(r8, r7)
            if (r8 != r6) goto L62
            goto L7f
        L62:
            r7.q = r0
            r7.p = r2
            r2 = 9223372036854775807(0x7fffffffffffffff, double:NaN)
            java.lang.Object r8 = o.F3.t(r2, r7)
            if (r8 != r6) goto L72
            goto L7f
        L72:
            r8 = 0
            r7.q = r8
            r7.p = r1
            o.x80 r8 = o.EnumC2882x80.n
            java.lang.Object r8 = r0.c(r8, r7)
            if (r8 != r6) goto L80
        L7f:
            return r6
        L80:
            o.Oh0 r8 = o.Oh0.a
            return r8
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2722va0.n(java.lang.Object):java.lang.Object");
    }
}
