package v0;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import l1.i;
import s1.h0;
import y0.l2;
import y0.x2;

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

    /* renamed from: a, reason: collision with root package name */
    private static final l1.i f38005a = androidx.compose.foundation.layout.o.o(l1.i.f27362a, x0.h.f49927a.a());

    /* 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 */ x1.d f38006p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ String f38007q;

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(x1.d dVar, String str, l1.i iVar, long j10, int i10, int i11) {
            super(2);
            this.f38006p = dVar;
            this.f38007q = str;
            this.f38008r = iVar;
            this.f38009s = j10;
            this.f38010t = i10;
            this.f38011u = i11;
        }

        public final void a(y0.m mVar, int i10) {
            f0.b(this.f38006p, this.f38007q, this.f38008r, this.f38009s, mVar, l2.a(this.f38010t | 1), this.f38011u);
        }

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

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ w1.b f38012p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ String f38013q;

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        b(w1.b bVar, String str, l1.i iVar, long j10, int i10, int i11) {
            super(2);
            this.f38012p = bVar;
            this.f38013q = str;
            this.f38014r = iVar;
            this.f38015s = j10;
            this.f38016t = i10;
            this.f38017u = i11;
        }

        public final void a(y0.m mVar, int i10) {
            f0.a(this.f38012p, this.f38013q, this.f38014r, this.f38015s, mVar, l2.a(this.f38016t | 1), this.f38017u);
        }

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(String str) {
            super(1);
            this.f38018p = str;
        }

        public final void a(o2.u uVar) {
            o2.s.Y(uVar, this.f38018p);
            o2.s.f0(uVar, o2.f.f30548b.d());
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            a((o2.u) obj);
            return rm.n0.f34904a;
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:13:0x0060  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x0185  */
    /* JADX WARN: Removed duplicated region for block: B:29:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:40:0x00c8  */
    /* JADX WARN: Removed duplicated region for block: B:52:0x011c  */
    /* JADX WARN: Removed duplicated region for block: B:62:0x0179  */
    /* JADX WARN: Removed duplicated region for block: B:66:0x0142  */
    /* JADX WARN: Removed duplicated region for block: B:69:0x00fe  */
    /* JADX WARN: Removed duplicated region for block: B:71:0x0100  */
    /* JADX WARN: Removed duplicated region for block: B:76:0x00a3  */
    /* JADX WARN: Removed duplicated region for block: B:79:0x00ab  */
    /* JADX WARN: Removed duplicated region for block: B:80:0x00be  */
    /* JADX WARN: Removed duplicated region for block: B:81:0x00a6  */
    /* JADX WARN: Removed duplicated region for block: B:83:0x0072  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void a(w1.b bVar, String str, l1.i iVar, long j10, y0.m mVar, int i10, int i11) {
        int i12;
        l1.i iVar2;
        long j11;
        l1.i iVar3;
        boolean z10;
        Object f10;
        l1.i iVar4;
        l1.i iVar5;
        long j12;
        x2 y10;
        y0.m r10 = mVar.r(-2142239481);
        if ((i11 & 1) != 0) {
            i12 = i10 | 6;
        } else if ((i10 & 6) == 0) {
            i12 = (r10.m(bVar) ? 4 : 2) | i10;
        } else {
            i12 = i10;
        }
        if ((i11 & 2) != 0) {
            i12 |= 48;
        } else if ((i10 & 48) == 0) {
            i12 |= r10.R(str) ? 32 : 16;
        }
        int i13 = i11 & 4;
        if (i13 != 0) {
            i12 |= 384;
        } else if ((i10 & 384) == 0) {
            iVar2 = iVar;
            i12 |= r10.R(iVar2) ? 256 : 128;
            if ((i10 & 3072) != 0) {
                j11 = j10;
                i12 |= ((i11 & 8) == 0 && r10.j(j11)) ? 2048 : UserMetadata.MAX_ATTRIBUTE_SIZE;
            } else {
                j11 = j10;
            }
            if ((i12 & 1171) == 1170 || !r10.v()) {
                r10.q();
                if ((i10 & 1) != 0 || r10.E()) {
                    l1.i iVar6 = i13 == 0 ? l1.i.f27362a : iVar2;
                    if ((i11 & 8) == 0) {
                        i12 &= -7169;
                        iVar3 = iVar6;
                        j11 = ((s1.g0) r10.t(t.a())).v();
                    } else {
                        iVar3 = iVar6;
                    }
                } else {
                    r10.A();
                    if ((i11 & 8) != 0) {
                        i12 &= -7169;
                    }
                    iVar3 = iVar2;
                }
                r10.P();
                if (y0.p.H()) {
                    y0.p.Q(-2142239481, i12, -1, "androidx.compose.material3.Icon (Icon.kt:143)");
                }
                z10 = (((i12 & 7168) ^ 3072) <= 2048 && r10.j(j11)) || (i12 & 3072) == 2048;
                f10 = r10.f();
                if (!z10 || f10 == y0.m.f51621a.a()) {
                    f10 = !s1.g0.n(j11, s1.g0.f35254b.f()) ? null : h0.a.b(s1.h0.f35270b, j11, 0, 2, null);
                    r10.I(f10);
                }
                s1.h0 h0Var = (s1.h0) f10;
                r10.S(-2144891392);
                if (str == null) {
                    i.a aVar = l1.i.f27362a;
                    boolean z11 = (i12 & 112) == 32;
                    Object f11 = r10.f();
                    if (z11 || f11 == y0.m.f51621a.a()) {
                        f11 = new c(str);
                        r10.I(f11);
                    }
                    iVar4 = o2.l.d(aVar, false, (dn.l) f11, 1, null);
                } else {
                    iVar4 = l1.i.f27362a;
                }
                r10.H();
                long j13 = j11;
                androidx.compose.foundation.layout.b.a(androidx.compose.ui.draw.d.b(c(androidx.compose.ui.graphics.b.d(iVar3), bVar), bVar, false, null, h2.h.f20689a.c(), BitmapDescriptorFactory.HUE_RED, h0Var, 22, null).f(iVar4), r10, 0);
                if (y0.p.H()) {
                    y0.p.P();
                }
                iVar5 = iVar3;
                j12 = j13;
            } else {
                r10.A();
                iVar5 = iVar2;
                j12 = j11;
            }
            y10 = r10.y();
            if (y10 == null) {
                y10.a(new b(bVar, str, iVar5, j12, i10, i11));
                return;
            }
            return;
        }
        iVar2 = iVar;
        if ((i10 & 3072) != 0) {
        }
        if ((i12 & 1171) == 1170) {
        }
        r10.q();
        if ((i10 & 1) != 0) {
        }
        if (i13 == 0) {
        }
        if ((i11 & 8) == 0) {
        }
        r10.P();
        if (y0.p.H()) {
        }
        if (((i12 & 7168) ^ 3072) <= 2048) {
        }
        f10 = r10.f();
        if (!z10) {
        }
        if (!s1.g0.n(j11, s1.g0.f35254b.f())) {
        }
        r10.I(f10);
        s1.h0 h0Var2 = (s1.h0) f10;
        r10.S(-2144891392);
        if (str == null) {
        }
        r10.H();
        long j132 = j11;
        androidx.compose.foundation.layout.b.a(androidx.compose.ui.draw.d.b(c(androidx.compose.ui.graphics.b.d(iVar3), bVar), bVar, false, null, h2.h.f20689a.c(), BitmapDescriptorFactory.HUE_RED, h0Var2, 22, null).f(iVar4), r10, 0);
        if (y0.p.H()) {
        }
        iVar5 = iVar3;
        j12 = j132;
        y10 = r10.y();
        if (y10 == null) {
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:10:0x0044  */
    /* JADX WARN: Removed duplicated region for block: B:14:0x0060  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x007d  */
    /* JADX WARN: Removed duplicated region for block: B:27:0x00fb  */
    /* JADX WARN: Removed duplicated region for block: B:30:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:33:0x0091  */
    /* JADX WARN: Removed duplicated region for block: B:42:0x00c9  */
    /* JADX WARN: Removed duplicated region for block: B:45:0x00f0  */
    /* JADX WARN: Removed duplicated region for block: B:48:0x00a5  */
    /* JADX WARN: Removed duplicated region for block: B:51:0x00ad  */
    /* JADX WARN: Removed duplicated region for block: B:52:0x00a8  */
    /* JADX WARN: Removed duplicated region for block: B:55:0x0075  */
    /* JADX WARN: Removed duplicated region for block: B:56:0x0047  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void b(x1.d dVar, String str, l1.i iVar, long j10, y0.m mVar, int i10, int i11) {
        int i12;
        int i13;
        l1.i iVar2;
        long j11;
        l1.i iVar3;
        long v10;
        l1.i iVar4;
        x2 y10;
        int i14;
        y0.m r10 = mVar.r(-126890956);
        if ((i11 & 1) != 0) {
            i12 = i10 | 6;
        } else if ((i10 & 6) == 0) {
            i12 = (r10.R(dVar) ? 4 : 2) | i10;
        } else {
            i12 = i10;
        }
        if ((i11 & 2) != 0) {
            i12 |= 48;
        } else if ((i10 & 48) == 0) {
            i12 |= r10.R(str) ? 32 : 16;
            i13 = i11 & 4;
            if (i13 == 0) {
                i12 |= 384;
            } else if ((i10 & 384) == 0) {
                iVar2 = iVar;
                i12 |= r10.R(iVar2) ? 256 : 128;
                if ((i10 & 3072) == 0) {
                    if ((i11 & 8) == 0) {
                        j11 = j10;
                        if (r10.j(j11)) {
                            i14 = 2048;
                            i12 |= i14;
                        }
                    } else {
                        j11 = j10;
                    }
                    i14 = UserMetadata.MAX_ATTRIBUTE_SIZE;
                    i12 |= i14;
                } else {
                    j11 = j10;
                }
                if ((i12 & 1171) == 1170 || !r10.v()) {
                    r10.q();
                    if ((i10 & 1) != 0 || r10.E()) {
                        iVar3 = i13 != 0 ? l1.i.f27362a : iVar2;
                        if ((i11 & 8) != 0) {
                            i12 &= -7169;
                            v10 = ((s1.g0) r10.t(t.a())).v();
                            r10.P();
                            if (y0.p.H()) {
                                y0.p.Q(-126890956, i12, -1, "androidx.compose.material3.Icon (Icon.kt:70)");
                            }
                            a(x1.r.g(dVar, r10, i12 & 14), str, iVar3, v10, r10, x1.q.f50423n | (i12 & 112) | (i12 & 896) | (i12 & 7168), 0);
                            if (y0.p.H()) {
                                y0.p.P();
                            }
                            iVar4 = iVar3;
                            j11 = v10;
                        }
                    } else {
                        r10.A();
                        if ((i11 & 8) != 0) {
                            i12 &= -7169;
                        }
                        iVar3 = iVar2;
                    }
                    v10 = j11;
                    r10.P();
                    if (y0.p.H()) {
                    }
                    a(x1.r.g(dVar, r10, i12 & 14), str, iVar3, v10, r10, x1.q.f50423n | (i12 & 112) | (i12 & 896) | (i12 & 7168), 0);
                    if (y0.p.H()) {
                    }
                    iVar4 = iVar3;
                    j11 = v10;
                } else {
                    r10.A();
                    iVar4 = iVar2;
                }
                y10 = r10.y();
                if (y10 != null) {
                    y10.a(new a(dVar, str, iVar4, j11, i10, i11));
                    return;
                }
                return;
            }
            iVar2 = iVar;
            if ((i10 & 3072) == 0) {
            }
            if ((i12 & 1171) == 1170) {
            }
            r10.q();
            if ((i10 & 1) != 0) {
            }
            if (i13 != 0) {
            }
            if ((i11 & 8) != 0) {
            }
            v10 = j11;
            r10.P();
            if (y0.p.H()) {
            }
            a(x1.r.g(dVar, r10, i12 & 14), str, iVar3, v10, r10, x1.q.f50423n | (i12 & 112) | (i12 & 896) | (i12 & 7168), 0);
            if (y0.p.H()) {
            }
            iVar4 = iVar3;
            j11 = v10;
            y10 = r10.y();
            if (y10 != null) {
            }
        }
        i13 = i11 & 4;
        if (i13 == 0) {
        }
        iVar2 = iVar;
        if ((i10 & 3072) == 0) {
        }
        if ((i12 & 1171) == 1170) {
        }
        r10.q();
        if ((i10 & 1) != 0) {
        }
        if (i13 != 0) {
        }
        if ((i11 & 8) != 0) {
        }
        v10 = j11;
        r10.P();
        if (y0.p.H()) {
        }
        a(x1.r.g(dVar, r10, i12 & 14), str, iVar3, v10, r10, x1.q.f50423n | (i12 & 112) | (i12 & 896) | (i12 & 7168), 0);
        if (y0.p.H()) {
        }
        iVar4 = iVar3;
        j11 = v10;
        y10 = r10.y();
        if (y10 != null) {
        }
    }

    private static final l1.i c(l1.i iVar, w1.b bVar) {
        return iVar.f((r1.m.f(bVar.h(), r1.m.f34339b.a()) || d(bVar.h())) ? f38005a : l1.i.f27362a);
    }

    private static final boolean d(long j10) {
        return Float.isInfinite(r1.m.i(j10)) && Float.isInfinite(r1.m.g(j10));
    }
}
