package o;

import androidx.compose.foundation.layout.LayoutWeightElement;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Qu, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0435Qu implements TC {
    public final /* synthetic */ int l;
    public final /* synthetic */ CG m;
    public final /* synthetic */ boolean n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ String f304o;
    public final /* synthetic */ String p;

    public /* synthetic */ C0435Qu(CG cg, boolean z, String str, String str2, int i) {
        this.l = i;
        this.m = cg;
        this.n = z;
        this.f304o = str;
        this.p = str2;
    }

    @Override // o.TC
    public final Object d(Object obj, Object obj2, Object obj3) {
        switch (this.l) {
            case 0:
                C0321Mk c0321Mk = (C0321Mk) obj2;
                if ((((Number) obj3).intValue() & 17) == 16 && c0321Mk.z()) {
                    c0321Mk.Q();
                } else {
                    JP jp = JP.a;
                    MP mpE = androidx.compose.foundation.layout.b.e(androidx.compose.foundation.layout.c.b(jp, 1.0f), 14);
                    C0790b9 c0790b9 = AbstractC0981d9.c;
                    C0107Ed c0107Ed = C0669Zu.y;
                    C0579Wi c0579WiA = AbstractC0527Ui.a(c0790b9, c0107Ed, c0321Mk, 0);
                    int iHashCode = Long.hashCode(c0321Mk.R);
                    AW awL = c0321Mk.l();
                    MP mpF = AbstractC1692kh0.F(c0321Mk, mpE);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al = C0036Bk.b;
                    c0321Mk.Y();
                    if (c0321Mk.Q) {
                        c0321Mk.k(c0744al);
                    } else {
                        c0321Mk.i0();
                    }
                    C0975d6 c0975d6 = C0036Bk.f;
                    AbstractC2378rs0.f0(c0579WiA, c0321Mk, c0975d6);
                    C0975d6 c0975d62 = C0036Bk.e;
                    AbstractC2378rs0.f0(awL, c0321Mk, c0975d62);
                    C0975d6 c0975d63 = C0036Bk.i;
                    if (c0321Mk.Q || !F3.c(c0321Mk.K(), Integer.valueOf(iHashCode))) {
                        AbstractC2462sn.r(iHashCode, c0321Mk, iHashCode, c0975d63);
                    }
                    C0975d6 c0975d64 = C0036Bk.c;
                    AbstractC2378rs0.f0(mpF, c0321Mk, c0975d64);
                    C3062z30 c3062z30A = AbstractC2967y30.a(AbstractC0981d9.a, C0669Zu.w, c0321Mk, 48);
                    int iHashCode2 = Long.hashCode(c0321Mk.R);
                    AW awL2 = c0321Mk.l();
                    MP mpF2 = AbstractC1692kh0.F(c0321Mk, jp);
                    c0321Mk.Y();
                    if (c0321Mk.Q) {
                        c0321Mk.k(c0744al);
                    } else {
                        c0321Mk.i0();
                    }
                    AbstractC2378rs0.f0(c3062z30A, c0321Mk, c0975d6);
                    AbstractC2378rs0.f0(awL2, c0321Mk, c0975d62);
                    if (c0321Mk.Q || !F3.c(c0321Mk.K(), Integer.valueOf(iHashCode2))) {
                        AbstractC2462sn.r(iHashCode2, c0321Mk, iHashCode2, c0975d63);
                    }
                    AbstractC2378rs0.f0(mpF2, c0321Mk, c0975d64);
                    long j = AbstractC0098Du.i;
                    AbstractC1942nG.a(this.m, null, androidx.compose.foundation.layout.c.h(jp, 24), j, c0321Mk, 3504, 0);
                    long jC = j;
                    C2887xC.e(c0321Mk, androidx.compose.foundation.layout.c.l(jp, 10));
                    if (1.0f <= 0.0d) {
                        AbstractC1943nH.a("invalid weight; must be greater than zero");
                    }
                    LayoutWeightElement layoutWeightElement = new LayoutWeightElement(1.0f, true);
                    C0579Wi c0579WiA2 = AbstractC0527Ui.a(c0790b9, c0107Ed, c0321Mk, 0);
                    int iHashCode3 = Long.hashCode(c0321Mk.R);
                    AW awL3 = c0321Mk.l();
                    MP mpF3 = AbstractC1692kh0.F(c0321Mk, layoutWeightElement);
                    c0321Mk.Y();
                    if (c0321Mk.Q) {
                        c0321Mk.k(c0744al);
                    } else {
                        c0321Mk.i0();
                    }
                    AbstractC2378rs0.f0(c0579WiA2, c0321Mk, c0975d6);
                    AbstractC2378rs0.f0(awL3, c0321Mk, c0975d62);
                    if (c0321Mk.Q || !F3.c(c0321Mk.K(), Integer.valueOf(iHashCode3))) {
                        AbstractC2462sn.r(iHashCode3, c0321Mk, iHashCode3, c0975d63);
                    }
                    AbstractC2378rs0.f0(mpF3, c0321Mk, c0975d64);
                    Ke0.b(this.f304o, null, AbstractC0098Du.d, C1884mi0.C(15), OA.p, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk, 1597824, 0, 262058);
                    Ke0.b(this.p, null, AbstractC0098Du.e, AbstractC2462sn.g(jp, 2, c0321Mk, 12), null, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk, 24960, 0, 262122);
                    c0321Mk.q(true);
                    C2887xC.e(c0321Mk, androidx.compose.foundation.layout.c.l(jp, 8));
                    boolean z = this.n;
                    String str = z ? "انتخاب شد" : "انتخاب از گالری";
                    long jC2 = C1884mi0.C(12);
                    OA oa = z ? OA.q : OA.f264o;
                    if (!z) {
                        jC = AbstractC0752ap.c(4285500335L);
                    }
                    Ke0.b(str, null, jC, jC2, oa, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk, 24576, 0, 262058);
                    c0321Mk.q(true);
                    c0321Mk.q(true);
                }
                break;
            default:
                C0321Mk c0321Mk2 = (C0321Mk) obj2;
                if ((((Number) obj3).intValue() & 17) == 16 && c0321Mk2.z()) {
                    c0321Mk2.Q();
                } else {
                    JP jp2 = JP.a;
                    MP mpE2 = androidx.compose.foundation.layout.b.e(androidx.compose.foundation.layout.c.b(jp2, 1.0f), 14);
                    C0790b9 c0790b92 = AbstractC0981d9.c;
                    C0107Ed c0107Ed2 = C0669Zu.y;
                    C0579Wi c0579WiA3 = AbstractC0527Ui.a(c0790b92, c0107Ed2, c0321Mk2, 0);
                    int iHashCode4 = Long.hashCode(c0321Mk2.R);
                    AW awL4 = c0321Mk2.l();
                    MP mpF4 = AbstractC1692kh0.F(c0321Mk2, mpE2);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al2 = C0036Bk.b;
                    c0321Mk2.Y();
                    if (c0321Mk2.Q) {
                        c0321Mk2.k(c0744al2);
                    } else {
                        c0321Mk2.i0();
                    }
                    C0975d6 c0975d65 = C0036Bk.f;
                    AbstractC2378rs0.f0(c0579WiA3, c0321Mk2, c0975d65);
                    C0975d6 c0975d66 = C0036Bk.e;
                    AbstractC2378rs0.f0(awL4, c0321Mk2, c0975d66);
                    C0975d6 c0975d67 = C0036Bk.i;
                    if (c0321Mk2.Q || !F3.c(c0321Mk2.K(), Integer.valueOf(iHashCode4))) {
                        AbstractC2462sn.r(iHashCode4, c0321Mk2, iHashCode4, c0975d67);
                    }
                    C0975d6 c0975d68 = C0036Bk.c;
                    AbstractC2378rs0.f0(mpF4, c0321Mk2, c0975d68);
                    C3062z30 c3062z30A2 = AbstractC2967y30.a(AbstractC0981d9.a, C0669Zu.w, c0321Mk2, 48);
                    int iHashCode5 = Long.hashCode(c0321Mk2.R);
                    AW awL5 = c0321Mk2.l();
                    MP mpF5 = AbstractC1692kh0.F(c0321Mk2, jp2);
                    c0321Mk2.Y();
                    if (c0321Mk2.Q) {
                        c0321Mk2.k(c0744al2);
                    } else {
                        c0321Mk2.i0();
                    }
                    AbstractC2378rs0.f0(c3062z30A2, c0321Mk2, c0975d65);
                    AbstractC2378rs0.f0(awL5, c0321Mk2, c0975d66);
                    if (c0321Mk2.Q || !F3.c(c0321Mk2.K(), Integer.valueOf(iHashCode5))) {
                        AbstractC2462sn.r(iHashCode5, c0321Mk2, iHashCode5, c0975d67);
                    }
                    AbstractC2378rs0.f0(mpF5, c0321Mk2, c0975d68);
                    long j2 = Gi0.b;
                    AbstractC1942nG.a(this.m, null, androidx.compose.foundation.layout.c.h(jp2, 24), j2, c0321Mk2, 3504, 0);
                    long jC3 = j2;
                    C2887xC.e(c0321Mk2, androidx.compose.foundation.layout.c.l(jp2, 10));
                    if (1.0f <= 0.0d) {
                        AbstractC1943nH.a("invalid weight; must be greater than zero");
                    }
                    LayoutWeightElement layoutWeightElement2 = new LayoutWeightElement(1.0f, true);
                    C0579Wi c0579WiA4 = AbstractC0527Ui.a(c0790b92, c0107Ed2, c0321Mk2, 0);
                    int iHashCode6 = Long.hashCode(c0321Mk2.R);
                    AW awL6 = c0321Mk2.l();
                    MP mpF6 = AbstractC1692kh0.F(c0321Mk2, layoutWeightElement2);
                    c0321Mk2.Y();
                    if (c0321Mk2.Q) {
                        c0321Mk2.k(c0744al2);
                    } else {
                        c0321Mk2.i0();
                    }
                    AbstractC2378rs0.f0(c0579WiA4, c0321Mk2, c0975d65);
                    AbstractC2378rs0.f0(awL6, c0321Mk2, c0975d66);
                    if (c0321Mk2.Q || !F3.c(c0321Mk2.K(), Integer.valueOf(iHashCode6))) {
                        AbstractC2462sn.r(iHashCode6, c0321Mk2, iHashCode6, c0975d67);
                    }
                    AbstractC2378rs0.f0(mpF6, c0321Mk2, c0975d68);
                    long jC4 = C1884mi0.C(15);
                    OA oa2 = OA.p;
                    long j3 = Gi0.a;
                    Ke0.b(this.f304o, null, j3, jC4, oa2, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk2, 1597824, 0, 262058);
                    Ke0.b(this.p, null, C0190Hi.b(0.7f, j3), AbstractC2462sn.g(jp2, 2, c0321Mk2, 12), null, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk2, 24960, 0, 262122);
                    c0321Mk2.q(true);
                    C2887xC.e(c0321Mk2, androidx.compose.foundation.layout.c.l(jp2, 8));
                    boolean z2 = this.n;
                    String str2 = z2 ? "انتخاب شد" : "انتخاب از گالری";
                    long jC5 = C1884mi0.C(12);
                    OA oa3 = z2 ? OA.q : OA.f264o;
                    if (!z2) {
                        jC3 = AbstractC0752ap.c(4285500335L);
                    }
                    Ke0.b(str2, null, jC3, jC5, oa3, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk2, 24576, 0, 262058);
                    c0321Mk2.q(true);
                    c0321Mk2.q(true);
                }
                break;
        }
        return Oh0.a;
    }
}
