package o;

import android.content.res.Resources;
import androidx.compose.foundation.layout.FillElement;
import com.google.android.gms.common.R;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParserException;

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

    public /* synthetic */ C2318rD(String str, int i) {
        this.l = i;
        this.m = str;
    }

    @Override // o.TC
    public final Object d(Object obj, Object obj2, Object obj3) throws XmlPullParserException, Resources.NotFoundException, IOException {
        boolean z;
        C0321Mk c0321Mk;
        switch (this.l) {
            case 0:
                ((Number) obj3).intValue();
                AbstractC2793wD.d(this.m, (C0321Mk) obj2, 0);
                break;
            case 1:
                C0321Mk c0321Mk2 = (C0321Mk) obj2;
                if ((((Number) obj3).intValue() & 17) == 16 && c0321Mk2.z()) {
                    c0321Mk2.Q();
                } else {
                    Ke0.b(this.m, null, 0L, C1884mi0.C(16), OA.f264o, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk2, 1597440, 0, 262062);
                }
                break;
            case 2:
                C0321Mk c0321Mk3 = (C0321Mk) obj2;
                if ((((Number) obj3).intValue() & 17) == 16 && c0321Mk3.z()) {
                    c0321Mk3.Q();
                } else {
                    Ke0.b(this.m, null, 0L, C1884mi0.C(14), OA.q, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk3, 1597440, 0, 262062);
                }
                break;
            case 3:
                SC sc = (SC) obj;
                C0321Mk c0321Mk4 = (C0321Mk) obj2;
                int iIntValue = ((Number) obj3).intValue();
                if ((iIntValue & 6) == 0) {
                    iIntValue |= c0321Mk4.h(sc) ? 4 : 2;
                }
                int i = iIntValue;
                if ((i & 19) == 18 && c0321Mk4.z()) {
                    c0321Mk4.Q();
                } else {
                    MP mpB = androidx.compose.foundation.layout.c.b(JP.a, 1.0f);
                    InterfaceC2235qO interfaceC2235qOD = AbstractC3109ze.d(C0669Zu.q, false);
                    int iHashCode = Long.hashCode(c0321Mk4.R);
                    AW awL = c0321Mk4.l();
                    MP mpF = AbstractC1692kh0.F(c0321Mk4, mpB);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al = C0036Bk.b;
                    c0321Mk4.Y();
                    if (c0321Mk4.Q) {
                        c0321Mk4.k(c0744al);
                    } else {
                        c0321Mk4.i0();
                    }
                    AbstractC2378rs0.f0(interfaceC2235qOD, c0321Mk4, C0036Bk.f);
                    AbstractC2378rs0.f0(awL, c0321Mk4, C0036Bk.e);
                    C0975d6 c0975d6 = C0036Bk.i;
                    if (c0321Mk4.Q || !F3.c(c0321Mk4.K(), Integer.valueOf(iHashCode))) {
                        AbstractC2462sn.r(iHashCode, c0321Mk4, iHashCode, c0975d6);
                    }
                    AbstractC2378rs0.f0(mpF, c0321Mk4, C0036Bk.c);
                    c0321Mk4.V(-1190584556);
                    if (this.m.length() == 0) {
                        z = false;
                        Ke0.b("________________", null, C60.h, C1884mi0.C(17), null, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk4, 24966, 0, 262122);
                        c0321Mk = c0321Mk4;
                    } else {
                        z = false;
                        c0321Mk = c0321Mk4;
                    }
                    c0321Mk.q(z);
                    sc.f(c0321Mk, Integer.valueOf(i & 14));
                    c0321Mk.q(true);
                }
                break;
            case 4:
                C0321Mk c0321Mk5 = (C0321Mk) obj2;
                if ((((Number) obj3).intValue() & 17) == 16 && c0321Mk5.z()) {
                    c0321Mk5.Q();
                } else {
                    Ke0.b(this.m, androidx.compose.foundation.layout.b.e(JP.a, 12), AbstractC0752ap.c(Za0.P(this.m, "موفق", false) ? 4281236786L : 4291176488L), C1884mi0.C(13), OA.f264o, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk5, 1597488, 0, 262056);
                }
                break;
            case 5:
                SC sc2 = (SC) obj;
                C0321Mk c0321Mk6 = (C0321Mk) obj2;
                int iIntValue2 = ((Number) obj3).intValue();
                if ((iIntValue2 & 6) == 0) {
                    iIntValue2 |= c0321Mk6.h(sc2) ? 4 : 2;
                }
                int i2 = iIntValue2;
                if ((i2 & 19) == 18 && c0321Mk6.z()) {
                    c0321Mk6.Q();
                } else {
                    c0321Mk6.V(1619499476);
                    C0321Mk c0321Mk7 = c0321Mk6;
                    if (this.m.length() == 0) {
                        Ke0.b("CVV2", androidx.compose.foundation.layout.c.b(JP.a, 1.0f), C60.h, C1884mi0.C(15), null, 0L, new Yc0(3), 0L, 0, false, 0, 0, null, c0321Mk6, 25008, 0, 261096);
                        c0321Mk7 = c0321Mk6;
                    }
                    c0321Mk7.q(false);
                    sc2.f(c0321Mk7, Integer.valueOf(i2 & 14));
                }
                break;
            default:
                C0321Mk c0321Mk8 = (C0321Mk) obj2;
                if ((((Number) obj3).intValue() & 17) == 16 && c0321Mk8.z()) {
                    c0321Mk8.Q();
                } else {
                    JP jp = JP.a;
                    float f = 10;
                    MP mpF2 = androidx.compose.foundation.layout.b.f(androidx.compose.foundation.layout.c.b(jp, 1.0f), 12, f);
                    C3062z30 c3062z30A = AbstractC2967y30.a(AbstractC0981d9.e, C0669Zu.w, c0321Mk8, 54);
                    int iHashCode2 = Long.hashCode(c0321Mk8.R);
                    AW awL2 = c0321Mk8.l();
                    MP mpF3 = AbstractC1692kh0.F(c0321Mk8, mpF2);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al2 = C0036Bk.b;
                    c0321Mk8.Y();
                    if (c0321Mk8.Q) {
                        c0321Mk8.k(c0744al2);
                    } else {
                        c0321Mk8.i0();
                    }
                    C0975d6 c0975d62 = C0036Bk.f;
                    AbstractC2378rs0.f0(c3062z30A, c0321Mk8, c0975d62);
                    C0975d6 c0975d63 = C0036Bk.e;
                    AbstractC2378rs0.f0(awL2, c0321Mk8, c0975d63);
                    C0975d6 c0975d64 = C0036Bk.i;
                    if (c0321Mk8.Q || !F3.c(c0321Mk8.K(), Integer.valueOf(iHashCode2))) {
                        AbstractC2462sn.r(iHashCode2, c0321Mk8, iHashCode2, c0975d64);
                    }
                    C0975d6 c0975d65 = C0036Bk.c;
                    AbstractC2378rs0.f0(mpF3, c0321Mk8, c0975d65);
                    float f2 = 40;
                    MP mpF4 = AbstractC2378rs0.F(androidx.compose.foundation.layout.c.c(androidx.compose.foundation.layout.c.l(jp, 96), f2), AbstractC2397s30.a(f));
                    long jC = AbstractC0752ap.c(4293521144L);
                    C3025yj0 c3025yj0 = AbstractC2841wm0.j;
                    MP mpB2 = androidx.compose.foundation.a.b(mpF4, jC, c3025yj0);
                    C0159Gd c0159Gd = C0669Zu.q;
                    InterfaceC2235qO interfaceC2235qOD2 = AbstractC3109ze.d(c0159Gd, false);
                    int iHashCode3 = Long.hashCode(c0321Mk8.R);
                    AW awL3 = c0321Mk8.l();
                    MP mpF5 = AbstractC1692kh0.F(c0321Mk8, mpB2);
                    c0321Mk8.Y();
                    if (c0321Mk8.Q) {
                        c0321Mk8.k(c0744al2);
                    } else {
                        c0321Mk8.i0();
                    }
                    AbstractC2378rs0.f0(interfaceC2235qOD2, c0321Mk8, c0975d62);
                    AbstractC2378rs0.f0(awL3, c0321Mk8, c0975d63);
                    if (c0321Mk8.Q || !F3.c(c0321Mk8.K(), Integer.valueOf(iHashCode3))) {
                        AbstractC2462sn.r(iHashCode3, c0321Mk8, iHashCode3, c0975d64);
                    }
                    AbstractC2378rs0.f0(mpF5, c0321Mk8, c0975d65);
                    AbstractC2811wV abstractC2811wVY = AbstractC0752ap.Y(R.drawable.shaparak_logo, c0321Mk8);
                    FillElement fillElement = androidx.compose.foundation.layout.c.b;
                    float f3 = 4;
                    YT.c(abstractC2811wVY, "Shaparak", androidx.compose.foundation.layout.b.e(fillElement, f3), null, null, 0.0f, c0321Mk8, 432, 120);
                    c0321Mk8.q(true);
                    MP mpF6 = androidx.compose.foundation.layout.b.f(androidx.compose.foundation.a.b(AbstractC2378rs0.F(jp, AbstractC2397s30.a(16)), AbstractC0752ap.c(4294244091L), c3025yj0), 18, 6);
                    InterfaceC2235qO interfaceC2235qOD3 = AbstractC3109ze.d(c0159Gd, false);
                    int iHashCode4 = Long.hashCode(c0321Mk8.R);
                    AW awL4 = c0321Mk8.l();
                    MP mpF7 = AbstractC1692kh0.F(c0321Mk8, mpF6);
                    c0321Mk8.Y();
                    if (c0321Mk8.Q) {
                        c0321Mk8.k(c0744al2);
                    } else {
                        c0321Mk8.i0();
                    }
                    AbstractC2378rs0.f0(interfaceC2235qOD3, c0321Mk8, c0975d62);
                    AbstractC2378rs0.f0(awL4, c0321Mk8, c0975d63);
                    if (c0321Mk8.Q || !F3.c(c0321Mk8.K(), Integer.valueOf(iHashCode4))) {
                        AbstractC2462sn.r(iHashCode4, c0321Mk8, iHashCode4, c0975d64);
                    }
                    AbstractC2378rs0.f0(mpF7, c0321Mk8, c0975d65);
                    Ke0.b(this.m, null, C60.g, C1884mi0.C(14), OA.q, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk8, 1597824, 0, 262058);
                    c0321Mk8.q(true);
                    MP mpB3 = androidx.compose.foundation.a.b(AbstractC2378rs0.F(androidx.compose.foundation.layout.c.c(androidx.compose.foundation.layout.c.l(jp, 80), f2), AbstractC2397s30.a(f)), AbstractC0752ap.c(4293521144L), c3025yj0);
                    InterfaceC2235qO interfaceC2235qOD4 = AbstractC3109ze.d(c0159Gd, false);
                    int iHashCode5 = Long.hashCode(c0321Mk8.R);
                    AW awL5 = c0321Mk8.l();
                    MP mpF8 = AbstractC1692kh0.F(c0321Mk8, mpB3);
                    c0321Mk8.Y();
                    if (c0321Mk8.Q) {
                        c0321Mk8.k(c0744al2);
                    } else {
                        c0321Mk8.i0();
                    }
                    AbstractC2378rs0.f0(interfaceC2235qOD4, c0321Mk8, c0975d62);
                    AbstractC2378rs0.f0(awL5, c0321Mk8, c0975d63);
                    if (c0321Mk8.Q || !F3.c(c0321Mk8.K(), Integer.valueOf(iHashCode5))) {
                        AbstractC2462sn.r(iHashCode5, c0321Mk8, iHashCode5, c0975d64);
                    }
                    AbstractC2378rs0.f0(mpF8, c0321Mk8, c0975d65);
                    YT.c(AbstractC0752ap.Y(R.drawable.zibal_logo, c0321Mk8), "Zibal", androidx.compose.foundation.layout.b.e(fillElement, f3), null, null, 0.0f, c0321Mk8, 432, 120);
                    c0321Mk8.q(true);
                    c0321Mk8.q(true);
                }
                break;
        }
        return Oh0.a;
    }
}
