package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.uq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2658uq extends Sb0 implements SC {
    public final /* synthetic */ int p = 1;
    public int q;
    public int r;
    public final /* synthetic */ Object s;
    public final /* synthetic */ Object t;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2658uq(C2848wq c2848wq, int i, C2484t c2484t, InterfaceC0220Im interfaceC0220Im) {
        super(2, interfaceC0220Im);
        this.s = c2848wq;
        this.r = i;
        this.t = c2484t;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        InterfaceC0065Cn interfaceC0065Cn = (InterfaceC0065Cn) obj;
        InterfaceC0220Im interfaceC0220Im = (InterfaceC0220Im) obj2;
        switch (this.p) {
        }
        return ((C2658uq) l(interfaceC0065Cn, interfaceC0220Im)).n(Oh0.a);
    }

    @Override // o.AbstractC0728ad
    public final InterfaceC0220Im l(Object obj, InterfaceC0220Im interfaceC0220Im) {
        switch (this.p) {
            case 0:
                return new C2658uq((C2848wq) this.s, this.r, (C2484t) this.t, interfaceC0220Im);
            default:
                return new C2658uq((InterfaceC1191fR) this.s, (InterfaceC1191fR) this.t, interfaceC0220Im);
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:12:0x002c  */
    /* JADX WARN: Removed duplicated region for block: B:16:0x005f  */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:13:0x0058 -> B:15:0x005c). 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 r14) {
        /*
            r13 = this;
            int r0 = r13.p
            o.Oh0 r1 = o.Oh0.a
            java.lang.Object r2 = r13.t
            java.lang.String r3 = "call to 'resume' before 'invoke' with coroutine"
            o.Dn r4 = o.EnumC0091Dn.l
            r5 = 1
            java.lang.Object r6 = r13.s
            switch(r0) {
                case 0: goto L6d;
                default: goto L10;
            }
        L10:
            o.fR r6 = (o.InterfaceC1191fR) r6
            int r0 = r13.r
            if (r0 == 0) goto L24
            if (r0 != r5) goto L1e
            int r0 = r13.q
            o.IJ.H(r14)
            goto L5c
        L1e:
            java.lang.IllegalStateException r14 = new java.lang.IllegalStateException
            r14.<init>(r3)
            throw r14
        L24:
            o.IJ.H(r14)
            r14 = 120(0x78, float:1.68E-43)
            r0 = r14
        L2a:
            if (r0 <= 0) goto L5f
            int r14 = r0 / 60
            int r3 = r0 % 60
            java.lang.Integer r7 = new java.lang.Integer
            r7.<init>(r14)
            java.lang.Integer r14 = new java.lang.Integer
            r14.<init>(r3)
            java.lang.Object[] r14 = new java.lang.Object[]{r7, r14}
            r3 = 2
            java.lang.Object[] r14 = java.util.Arrays.copyOf(r14, r3)
            java.lang.String r3 = "%02d:%02d"
            java.lang.String r14 = java.lang.String.format(r3, r14)
            int r3 = o.C60.l
            r6.setValue(r14)
            r13.q = r0
            r13.r = r5
            r7 = 1000(0x3e8, double:4.94E-321)
            java.lang.Object r14 = o.F3.t(r7, r13)
            if (r14 != r4) goto L5c
            r1 = r4
            goto L6c
        L5c:
            int r0 = r0 + (-1)
            goto L2a
        L5f:
            int r14 = o.C60.l
            java.lang.String r14 = "دریافت رمز پویا"
            r6.setValue(r14)
            o.fR r2 = (o.InterfaceC1191fR) r2
            r14 = 0
            o.C60.l(r2, r14)
        L6c:
            return r1
        L6d:
            int r0 = r13.q
            if (r0 == 0) goto L7d
            if (r0 != r5) goto L77
            o.IJ.H(r14)
            goto La3
        L77:
            java.lang.IllegalStateException r14 = new java.lang.IllegalStateException
            r14.<init>(r3)
            throw r14
        L7d:
            o.IJ.H(r14)
            o.wq r6 = (o.C2848wq) r6
            o.oR r9 = r6.c
            o.vq r11 = r6.b
            int r8 = r13.r
            o.t r10 = new o.t
            o.t r2 = (o.C2484t) r2
            r14 = 0
            r0 = 7
            r10.<init>(r6, r2, r14, r0)
            r13.q = r5
            r9.getClass()
            o.nR r7 = new o.nR
            r12 = 0
            r7.<init>(r8, r9, r10, r11, r12)
            java.lang.Object r14 = o.C80.r(r7, r13)
            if (r14 != r4) goto La3
            r1 = r4
        La3:
            return r1
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2658uq.n(java.lang.Object):java.lang.Object");
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2658uq(InterfaceC1191fR interfaceC1191fR, InterfaceC1191fR interfaceC1191fR2, InterfaceC0220Im interfaceC0220Im) {
        super(2, interfaceC0220Im);
        this.s = interfaceC1191fR;
        this.t = interfaceC1191fR2;
    }
}
