package o;

import ir.devixor.app.page.vamasan.VamAsanActvity;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Di0 implements SC {
    public final /* synthetic */ int l;
    public final /* synthetic */ VamAsanActvity m;
    public final /* synthetic */ C2328rN n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ InterfaceC1191fR f81o;

    public /* synthetic */ Di0(VamAsanActvity vamAsanActvity, C2328rN c2328rN, InterfaceC1191fR interfaceC1191fR, int i) {
        this.l = i;
        this.m = vamAsanActvity;
        this.n = c2328rN;
        this.f81o = interfaceC1191fR;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        switch (this.l) {
            case 0:
                C0321Mk c0321Mk = (C0321Mk) obj;
                if ((((Number) obj2).intValue() & 3) == 2 && c0321Mk.z()) {
                    c0321Mk.Q();
                } else {
                    final InterfaceC1191fR interfaceC1191fR = this.f81o;
                    int iIntValue = ((Number) interfaceC1191fR.getValue()).intValue();
                    J7 j7 = C0140Fk.a;
                    final VamAsanActvity vamAsanActvity = this.m;
                    if (iIntValue == 1) {
                        c0321Mk.V(-1115759045);
                        c0321Mk.V(-1115757242);
                        boolean zF = c0321Mk.f(vamAsanActvity);
                        Object objK = c0321Mk.K();
                        if (zF || objK == j7) {
                            final int i = 0;
                            objK = new NC() { // from class: o.Ci0
                                @Override // o.NC
                                public final Object a() {
                                    switch (i) {
                                        case 0:
                                            VamAsanActvity.e(vamAsanActvity, 2);
                                            interfaceC1191fR.setValue(2);
                                            break;
                                        default:
                                            VamAsanActvity.e(vamAsanActvity, 3);
                                            interfaceC1191fR.setValue(3);
                                            break;
                                    }
                                    return Oh0.a;
                                }
                            };
                            c0321Mk.f0(objK);
                        }
                        c0321Mk.q(false);
                        Fi0.d(0, 0, c0321Mk, (NC) objK);
                        c0321Mk.q(false);
                    } else if (iIntValue == 2) {
                        c0321Mk.V(-1115744813);
                        c0321Mk.V(-1115743041);
                        boolean zF2 = c0321Mk.f(vamAsanActvity);
                        Object objK2 = c0321Mk.K();
                        if (zF2 || objK2 == j7) {
                            final int i2 = 1;
                            objK2 = new NC() { // from class: o.Ci0
                                @Override // o.NC
                                public final Object a() {
                                    switch (i2) {
                                        case 0:
                                            VamAsanActvity.e(vamAsanActvity, 2);
                                            interfaceC1191fR.setValue(2);
                                            break;
                                        default:
                                            VamAsanActvity.e(vamAsanActvity, 3);
                                            interfaceC1191fR.setValue(3);
                                            break;
                                    }
                                    return Oh0.a;
                                }
                            };
                            c0321Mk.f0(objK2);
                        }
                        c0321Mk.q(false);
                        Gi0.b(0, 0, c0321Mk, (NC) objK2);
                        c0321Mk.q(false);
                    } else if (iIntValue == 3) {
                        c0321Mk.V(-1115732647);
                        c0321Mk.V(-1115730751);
                        boolean zF3 = c0321Mk.f(vamAsanActvity);
                        C2328rN c2328rN = this.n;
                        boolean zH = zF3 | c0321Mk.h(c2328rN);
                        Object objK3 = c0321Mk.K();
                        if (zH || objK3 == j7) {
                            objK3 = new C2590u5(18, vamAsanActvity, c2328rN);
                            c0321Mk.f0(objK3);
                        }
                        c0321Mk.q(false);
                        Hi0.a(0, 0, c0321Mk, (NC) objK3);
                        c0321Mk.q(false);
                    } else if (iIntValue != 4) {
                        c0321Mk.V(-227407720);
                        c0321Mk.q(false);
                    } else {
                        c0321Mk.V(-1115715714);
                        Ii0.a(0, c0321Mk);
                        c0321Mk.q(false);
                    }
                }
                break;
            default:
                C0321Mk c0321Mk2 = (C0321Mk) obj;
                if ((((Number) obj2).intValue() & 3) == 2 && c0321Mk2.z()) {
                    c0321Mk2.Q();
                } else {
                    Nb0.a(androidx.compose.foundation.layout.c.b, null, 0L, 0L, 0.0f, 0.0f, null, C2887xC.y(-1686621406, new Di0(this.m, this.n, this.f81o, 0), c0321Mk2), c0321Mk2, 12582918, 126);
                }
                break;
        }
        return Oh0.a;
    }
}
