package v0;

import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import j2.g;
import y0.d4;
import y0.i2;
import y0.l2;
import y0.x2;

/* loaded from: classes.dex */
public abstract class e0 {

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class a extends kotlin.jvm.internal.v implements dn.p {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ dn.a f37965p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ l1.i f37966q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ boolean f37967r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ c0 f37968s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ d0.l f37969t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ dn.p f37970u;

        /* renamed from: v, reason: collision with root package name */
        final /* synthetic */ int f37971v;

        /* renamed from: w, reason: collision with root package name */
        final /* synthetic */ int f37972w;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(dn.a aVar, l1.i iVar, boolean z10, c0 c0Var, d0.l lVar, dn.p pVar, int i10, int i11) {
            super(2);
            this.f37965p = aVar;
            this.f37966q = iVar;
            this.f37967r = z10;
            this.f37968s = c0Var;
            this.f37969t = lVar;
            this.f37970u = pVar;
            this.f37971v = i10;
            this.f37972w = i11;
        }

        public final void a(y0.m mVar, int i10) {
            e0.a(this.f37965p, this.f37966q, this.f37967r, this.f37968s, this.f37969t, this.f37970u, mVar, l2.a(this.f37971v | 1), this.f37972w);
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return rm.n0.f34904a;
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:10:0x004c  */
    /* JADX WARN: Removed duplicated region for block: B:14:0x0068  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x0083  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x00a1  */
    /* JADX WARN: Removed duplicated region for block: B:29:0x00bc  */
    /* JADX WARN: Removed duplicated region for block: B:34:0x0225  */
    /* JADX WARN: Removed duplicated region for block: B:37:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:40:0x00d4  */
    /* JADX WARN: Removed duplicated region for block: B:48:0x0113  */
    /* JADX WARN: Removed duplicated region for block: B:51:0x019d  */
    /* JADX WARN: Removed duplicated region for block: B:54:0x01a9  */
    /* JADX WARN: Removed duplicated region for block: B:57:0x01cc  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x0214  */
    /* JADX WARN: Removed duplicated region for block: B:64:0x01ad  */
    /* JADX WARN: Removed duplicated region for block: B:66:0x00ed  */
    /* JADX WARN: Removed duplicated region for block: B:68:0x00f2  */
    /* JADX WARN: Removed duplicated region for block: B:71:0x00f8  */
    /* JADX WARN: Removed duplicated region for block: B:73:0x0103  */
    /* JADX WARN: Removed duplicated region for block: B:74:0x00a3  */
    /* JADX WARN: Removed duplicated region for block: B:81:0x0086  */
    /* JADX WARN: Removed duplicated region for block: B:90:0x007d  */
    /* JADX WARN: Removed duplicated region for block: B:91:0x004f  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void a(dn.a aVar, l1.i iVar, boolean z10, c0 c0Var, d0.l lVar, dn.p pVar, y0.m mVar, int i10, int i11) {
        int i12;
        l1.i iVar2;
        int i13;
        boolean z11;
        c0 c0Var2;
        int i14;
        d0.l lVar2;
        int i15;
        d0.l lVar3;
        l1.i iVar3;
        boolean z12;
        c0 c0Var3;
        int a10;
        y0.m a11;
        boolean z13;
        d0.l lVar4;
        c0 c0Var4;
        l1.i iVar4;
        x2 y10;
        int i16;
        y0.m r10 = mVar.r(-1142896114);
        if ((i11 & 1) != 0) {
            i12 = i10 | 6;
        } else if ((i10 & 6) == 0) {
            i12 = (r10.m(aVar) ? 4 : 2) | i10;
        } else {
            i12 = i10;
        }
        int i17 = i11 & 2;
        if (i17 != 0) {
            i12 |= 48;
        } else if ((i10 & 48) == 0) {
            iVar2 = iVar;
            i12 |= r10.R(iVar2) ? 32 : 16;
            i13 = i11 & 4;
            if (i13 == 0) {
                i12 |= 384;
            } else if ((i10 & 384) == 0) {
                z11 = z10;
                i12 |= r10.c(z11) ? 256 : 128;
                if ((i10 & 3072) == 0) {
                    if ((i11 & 8) == 0) {
                        c0Var2 = c0Var;
                        if (r10.R(c0Var2)) {
                            i16 = 2048;
                            i12 |= i16;
                        }
                    } else {
                        c0Var2 = c0Var;
                    }
                    i16 = UserMetadata.MAX_ATTRIBUTE_SIZE;
                    i12 |= i16;
                } else {
                    c0Var2 = c0Var;
                }
                i14 = i11 & 16;
                if (i14 != 0) {
                    i12 |= 24576;
                } else if ((i10 & 24576) == 0) {
                    lVar2 = lVar;
                    i12 |= r10.R(lVar2) ? 16384 : UserMetadata.MAX_INTERNAL_KEY_SIZE;
                    if ((i11 & 32) == 0) {
                        i12 |= 196608;
                    } else if ((i10 & 196608) == 0) {
                        i12 |= r10.m(pVar) ? 131072 : 65536;
                    }
                    if ((74899 & i12) == 74898 || !r10.v()) {
                        r10.q();
                        if ((i10 & 1) != 0 || r10.E()) {
                            if (i17 != 0) {
                                iVar2 = l1.i.f27362a;
                            }
                            if (i13 != 0) {
                                z11 = true;
                            }
                            if ((i11 & 8) != 0) {
                                i12 &= -7169;
                                c0Var2 = d0.f37956a.b(r10, 6);
                            }
                            if (i14 != 0) {
                                i15 = i12;
                                lVar3 = null;
                                iVar3 = iVar2;
                                z12 = z11;
                                c0Var3 = c0Var2;
                                r10.P();
                                if (y0.p.H()) {
                                    y0.p.Q(-1142896114, i15, -1, "androidx.compose.material3.IconButton (IconButton.kt:88)");
                                }
                                l1.i b10 = g0.b(iVar3);
                                x0.h hVar = x0.h.f49927a;
                                int i18 = i15;
                                c0 c0Var5 = c0Var3;
                                l1.i b11 = androidx.compose.foundation.d.b(androidx.compose.foundation.b.d(p1.e.a(androidx.compose.foundation.layout.o.o(b10, hVar.c()), q1.d(hVar.b(), r10, 6)), c0Var3.a(z12), null, 2, null), lVar3, i1.c(false, c3.h.t(hVar.c() / 2), 0L, r10, 54, 4), z12, null, o2.f.h(o2.f.f30548b.a()), aVar, 8, null);
                                h2.e0 h10 = androidx.compose.foundation.layout.b.h(l1.c.f27332a.e(), false);
                                a10 = y0.j.a(r10, 0);
                                y0.y D = r10.D();
                                l1.i e10 = l1.h.e(r10, b11);
                                g.a aVar2 = j2.g.f23616d;
                                dn.a a12 = aVar2.a();
                                if (!(r10.w() instanceof y0.f)) {
                                    y0.j.c();
                                }
                                r10.u();
                                if (r10.n()) {
                                    r10.o(a12);
                                } else {
                                    r10.F();
                                }
                                a11 = d4.a(r10);
                                d4.b(a11, h10, aVar2.c());
                                d4.b(a11, D, aVar2.e());
                                dn.p b12 = aVar2.b();
                                if (!a11.n() || !kotlin.jvm.internal.t.b(a11.f(), Integer.valueOf(a10))) {
                                    a11.I(Integer.valueOf(a10));
                                    a11.l(Integer.valueOf(a10), b12);
                                }
                                d4.b(a11, e10, aVar2.d());
                                androidx.compose.foundation.layout.d dVar = androidx.compose.foundation.layout.d.f1828a;
                                y0.x.a(t.a().d(s1.g0.h(c0Var5.b(z12))), pVar, r10, ((i18 >> 12) & 112) | i2.f51577i);
                                r10.O();
                                if (y0.p.H()) {
                                    y0.p.P();
                                }
                                z13 = z12;
                                lVar4 = lVar3;
                                l1.i iVar5 = iVar3;
                                c0Var4 = c0Var5;
                                iVar4 = iVar5;
                            }
                        } else {
                            r10.A();
                            if ((i11 & 8) != 0) {
                                i12 &= -7169;
                            }
                        }
                        z12 = z11;
                        c0Var3 = c0Var2;
                        lVar3 = lVar2;
                        i15 = i12;
                        iVar3 = iVar2;
                        r10.P();
                        if (y0.p.H()) {
                        }
                        l1.i b102 = g0.b(iVar3);
                        x0.h hVar2 = x0.h.f49927a;
                        int i182 = i15;
                        c0 c0Var52 = c0Var3;
                        l1.i b112 = androidx.compose.foundation.d.b(androidx.compose.foundation.b.d(p1.e.a(androidx.compose.foundation.layout.o.o(b102, hVar2.c()), q1.d(hVar2.b(), r10, 6)), c0Var3.a(z12), null, 2, null), lVar3, i1.c(false, c3.h.t(hVar2.c() / 2), 0L, r10, 54, 4), z12, null, o2.f.h(o2.f.f30548b.a()), aVar, 8, null);
                        h2.e0 h102 = androidx.compose.foundation.layout.b.h(l1.c.f27332a.e(), false);
                        a10 = y0.j.a(r10, 0);
                        y0.y D2 = r10.D();
                        l1.i e102 = l1.h.e(r10, b112);
                        g.a aVar22 = j2.g.f23616d;
                        dn.a a122 = aVar22.a();
                        if (!(r10.w() instanceof y0.f)) {
                        }
                        r10.u();
                        if (r10.n()) {
                        }
                        a11 = d4.a(r10);
                        d4.b(a11, h102, aVar22.c());
                        d4.b(a11, D2, aVar22.e());
                        dn.p b122 = aVar22.b();
                        if (!a11.n()) {
                        }
                        a11.I(Integer.valueOf(a10));
                        a11.l(Integer.valueOf(a10), b122);
                        d4.b(a11, e102, aVar22.d());
                        androidx.compose.foundation.layout.d dVar2 = androidx.compose.foundation.layout.d.f1828a;
                        y0.x.a(t.a().d(s1.g0.h(c0Var52.b(z12))), pVar, r10, ((i182 >> 12) & 112) | i2.f51577i);
                        r10.O();
                        if (y0.p.H()) {
                        }
                        z13 = z12;
                        lVar4 = lVar3;
                        l1.i iVar52 = iVar3;
                        c0Var4 = c0Var52;
                        iVar4 = iVar52;
                    } else {
                        r10.A();
                        iVar4 = iVar2;
                        z13 = z11;
                        c0Var4 = c0Var2;
                        lVar4 = lVar2;
                    }
                    y10 = r10.y();
                    if (y10 == null) {
                        y10.a(new a(aVar, iVar4, z13, c0Var4, lVar4, pVar, i10, i11));
                        return;
                    }
                    return;
                }
                lVar2 = lVar;
                if ((i11 & 32) == 0) {
                }
                if ((74899 & i12) == 74898) {
                }
                r10.q();
                if ((i10 & 1) != 0) {
                }
                if (i17 != 0) {
                }
                if (i13 != 0) {
                }
                if ((i11 & 8) != 0) {
                }
                if (i14 != 0) {
                }
                z12 = z11;
                c0Var3 = c0Var2;
                lVar3 = lVar2;
                i15 = i12;
                iVar3 = iVar2;
                r10.P();
                if (y0.p.H()) {
                }
                l1.i b1022 = g0.b(iVar3);
                x0.h hVar22 = x0.h.f49927a;
                int i1822 = i15;
                c0 c0Var522 = c0Var3;
                l1.i b1122 = androidx.compose.foundation.d.b(androidx.compose.foundation.b.d(p1.e.a(androidx.compose.foundation.layout.o.o(b1022, hVar22.c()), q1.d(hVar22.b(), r10, 6)), c0Var3.a(z12), null, 2, null), lVar3, i1.c(false, c3.h.t(hVar22.c() / 2), 0L, r10, 54, 4), z12, null, o2.f.h(o2.f.f30548b.a()), aVar, 8, null);
                h2.e0 h1022 = androidx.compose.foundation.layout.b.h(l1.c.f27332a.e(), false);
                a10 = y0.j.a(r10, 0);
                y0.y D22 = r10.D();
                l1.i e1022 = l1.h.e(r10, b1122);
                g.a aVar222 = j2.g.f23616d;
                dn.a a1222 = aVar222.a();
                if (!(r10.w() instanceof y0.f)) {
                }
                r10.u();
                if (r10.n()) {
                }
                a11 = d4.a(r10);
                d4.b(a11, h1022, aVar222.c());
                d4.b(a11, D22, aVar222.e());
                dn.p b1222 = aVar222.b();
                if (!a11.n()) {
                }
                a11.I(Integer.valueOf(a10));
                a11.l(Integer.valueOf(a10), b1222);
                d4.b(a11, e1022, aVar222.d());
                androidx.compose.foundation.layout.d dVar22 = androidx.compose.foundation.layout.d.f1828a;
                y0.x.a(t.a().d(s1.g0.h(c0Var522.b(z12))), pVar, r10, ((i1822 >> 12) & 112) | i2.f51577i);
                r10.O();
                if (y0.p.H()) {
                }
                z13 = z12;
                lVar4 = lVar3;
                l1.i iVar522 = iVar3;
                c0Var4 = c0Var522;
                iVar4 = iVar522;
                y10 = r10.y();
                if (y10 == null) {
                }
            }
            z11 = z10;
            if ((i10 & 3072) == 0) {
            }
            i14 = i11 & 16;
            if (i14 != 0) {
            }
            lVar2 = lVar;
            if ((i11 & 32) == 0) {
            }
            if ((74899 & i12) == 74898) {
            }
            r10.q();
            if ((i10 & 1) != 0) {
            }
            if (i17 != 0) {
            }
            if (i13 != 0) {
            }
            if ((i11 & 8) != 0) {
            }
            if (i14 != 0) {
            }
            z12 = z11;
            c0Var3 = c0Var2;
            lVar3 = lVar2;
            i15 = i12;
            iVar3 = iVar2;
            r10.P();
            if (y0.p.H()) {
            }
            l1.i b10222 = g0.b(iVar3);
            x0.h hVar222 = x0.h.f49927a;
            int i18222 = i15;
            c0 c0Var5222 = c0Var3;
            l1.i b11222 = androidx.compose.foundation.d.b(androidx.compose.foundation.b.d(p1.e.a(androidx.compose.foundation.layout.o.o(b10222, hVar222.c()), q1.d(hVar222.b(), r10, 6)), c0Var3.a(z12), null, 2, null), lVar3, i1.c(false, c3.h.t(hVar222.c() / 2), 0L, r10, 54, 4), z12, null, o2.f.h(o2.f.f30548b.a()), aVar, 8, null);
            h2.e0 h10222 = androidx.compose.foundation.layout.b.h(l1.c.f27332a.e(), false);
            a10 = y0.j.a(r10, 0);
            y0.y D222 = r10.D();
            l1.i e10222 = l1.h.e(r10, b11222);
            g.a aVar2222 = j2.g.f23616d;
            dn.a a12222 = aVar2222.a();
            if (!(r10.w() instanceof y0.f)) {
            }
            r10.u();
            if (r10.n()) {
            }
            a11 = d4.a(r10);
            d4.b(a11, h10222, aVar2222.c());
            d4.b(a11, D222, aVar2222.e());
            dn.p b12222 = aVar2222.b();
            if (!a11.n()) {
            }
            a11.I(Integer.valueOf(a10));
            a11.l(Integer.valueOf(a10), b12222);
            d4.b(a11, e10222, aVar2222.d());
            androidx.compose.foundation.layout.d dVar222 = androidx.compose.foundation.layout.d.f1828a;
            y0.x.a(t.a().d(s1.g0.h(c0Var5222.b(z12))), pVar, r10, ((i18222 >> 12) & 112) | i2.f51577i);
            r10.O();
            if (y0.p.H()) {
            }
            z13 = z12;
            lVar4 = lVar3;
            l1.i iVar5222 = iVar3;
            c0Var4 = c0Var5222;
            iVar4 = iVar5222;
            y10 = r10.y();
            if (y10 == null) {
            }
        }
        iVar2 = iVar;
        i13 = i11 & 4;
        if (i13 == 0) {
        }
        z11 = z10;
        if ((i10 & 3072) == 0) {
        }
        i14 = i11 & 16;
        if (i14 != 0) {
        }
        lVar2 = lVar;
        if ((i11 & 32) == 0) {
        }
        if ((74899 & i12) == 74898) {
        }
        r10.q();
        if ((i10 & 1) != 0) {
        }
        if (i17 != 0) {
        }
        if (i13 != 0) {
        }
        if ((i11 & 8) != 0) {
        }
        if (i14 != 0) {
        }
        z12 = z11;
        c0Var3 = c0Var2;
        lVar3 = lVar2;
        i15 = i12;
        iVar3 = iVar2;
        r10.P();
        if (y0.p.H()) {
        }
        l1.i b102222 = g0.b(iVar3);
        x0.h hVar2222 = x0.h.f49927a;
        int i182222 = i15;
        c0 c0Var52222 = c0Var3;
        l1.i b112222 = androidx.compose.foundation.d.b(androidx.compose.foundation.b.d(p1.e.a(androidx.compose.foundation.layout.o.o(b102222, hVar2222.c()), q1.d(hVar2222.b(), r10, 6)), c0Var3.a(z12), null, 2, null), lVar3, i1.c(false, c3.h.t(hVar2222.c() / 2), 0L, r10, 54, 4), z12, null, o2.f.h(o2.f.f30548b.a()), aVar, 8, null);
        h2.e0 h102222 = androidx.compose.foundation.layout.b.h(l1.c.f27332a.e(), false);
        a10 = y0.j.a(r10, 0);
        y0.y D2222 = r10.D();
        l1.i e102222 = l1.h.e(r10, b112222);
        g.a aVar22222 = j2.g.f23616d;
        dn.a a122222 = aVar22222.a();
        if (!(r10.w() instanceof y0.f)) {
        }
        r10.u();
        if (r10.n()) {
        }
        a11 = d4.a(r10);
        d4.b(a11, h102222, aVar22222.c());
        d4.b(a11, D2222, aVar22222.e());
        dn.p b122222 = aVar22222.b();
        if (!a11.n()) {
        }
        a11.I(Integer.valueOf(a10));
        a11.l(Integer.valueOf(a10), b122222);
        d4.b(a11, e102222, aVar22222.d());
        androidx.compose.foundation.layout.d dVar2222 = androidx.compose.foundation.layout.d.f1828a;
        y0.x.a(t.a().d(s1.g0.h(c0Var52222.b(z12))), pVar, r10, ((i182222 >> 12) & 112) | i2.f51577i);
        r10.O();
        if (y0.p.H()) {
        }
        z13 = z12;
        lVar4 = lVar3;
        l1.i iVar52222 = iVar3;
        c0Var4 = c0Var52222;
        iVar4 = iVar52222;
        y10 = r10.y();
        if (y10 == null) {
        }
    }
}
