package v0;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import y0.l2;
import y0.x2;

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

    /* 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 */ l1.i f38614p;

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(l1.i iVar, float f10, long j10, int i10, int i11) {
            super(2);
            this.f38614p = iVar;
            this.f38615q = f10;
            this.f38616r = j10;
            this.f38617s = i10;
            this.f38618t = i11;
        }

        public final void a(y0.m mVar, int i10) {
            w.a(this.f38614p, this.f38615q, this.f38616r, mVar, l2.a(this.f38617s | 1), this.f38618t);
        }

        @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.l {

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        b(float f10, long j10) {
            super(1);
            this.f38619p = f10;
            this.f38620q = j10;
        }

        public final void a(u1.f fVar) {
            float f10 = 2;
            u1.f.H0(fVar, this.f38620q, r1.h.a(BitmapDescriptorFactory.HUE_RED, fVar.L0(this.f38619p) / f10), r1.h.a(r1.m.i(fVar.b()), fVar.L0(this.f38619p) / f10), fVar.L0(this.f38619p), 0, null, BitmapDescriptorFactory.HUE_RED, null, 0, 496, null);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            a((u1.f) obj);
            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.p {

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

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(l1.i iVar, float f10, long j10, int i10, int i11) {
            super(2);
            this.f38621p = iVar;
            this.f38622q = f10;
            this.f38623r = j10;
            this.f38624s = i10;
            this.f38625t = i11;
        }

        public final void a(y0.m mVar, int i10) {
            w.b(this.f38621p, this.f38622q, this.f38623r, mVar, l2.a(this.f38624s | 1), this.f38625t);
        }

        @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 d extends kotlin.jvm.internal.v implements dn.l {

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        d(float f10, long j10) {
            super(1);
            this.f38626p = f10;
            this.f38627q = j10;
        }

        public final void a(u1.f fVar) {
            float f10 = 2;
            u1.f.H0(fVar, this.f38627q, r1.h.a(fVar.L0(this.f38626p) / f10, BitmapDescriptorFactory.HUE_RED), r1.h.a(fVar.L0(this.f38626p) / f10, r1.m.g(fVar.b())), fVar.L0(this.f38626p), 0, null, BitmapDescriptorFactory.HUE_RED, null, 0, 496, null);
        }

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

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

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

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        e(l1.i iVar, float f10, long j10, int i10, int i11) {
            super(2);
            this.f38628p = iVar;
            this.f38629q = f10;
            this.f38630r = j10;
            this.f38631s = i10;
            this.f38632t = i11;
        }

        public final void a(y0.m mVar, int i10) {
            w.c(this.f38628p, this.f38629q, this.f38630r, mVar, l2.a(this.f38631s | 1), this.f38632t);
        }

        @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: Code restructure failed: missing block: B:33:0x0071, code lost:
    
        if ((r14 & 4) != 0) goto L46;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void a(l1.i iVar, float f10, long j10, y0.m mVar, int i10, int i11) {
        int i12;
        y0.m r10 = mVar.r(1562471785);
        int i13 = i11 & 1;
        if (i13 != 0) {
            i12 = i10 | 6;
        } else if ((i10 & 6) == 0) {
            i12 = (r10.R(iVar) ? 4 : 2) | i10;
        } else {
            i12 = i10;
        }
        int i14 = i11 & 2;
        if (i14 != 0) {
            i12 |= 48;
        } else if ((i10 & 48) == 0) {
            i12 |= r10.h(f10) ? 32 : 16;
        }
        if ((i10 & 384) == 0) {
            i12 |= ((i11 & 4) == 0 && r10.j(j10)) ? 256 : 128;
        }
        if ((i12 & 147) == 146 && r10.v()) {
            r10.A();
        } else {
            r10.q();
            if ((i10 & 1) == 0 || r10.E()) {
                if (i13 != 0) {
                    iVar = l1.i.f27362a;
                }
                if (i14 != 0) {
                    f10 = v.f38570a.b();
                }
                if ((i11 & 4) != 0) {
                    j10 = v.f38570a.a(r10, 6);
                    i12 &= -897;
                }
                r10.P();
                if (y0.p.H()) {
                    y0.p.Q(1562471785, i12, -1, "androidx.compose.material3.Divider (Divider.kt:101)");
                }
                r10.S(-433645095);
                float t10 = c3.h.v(f10, c3.h.f7410q.a()) ? c3.h.t(1.0f / ((c3.d) r10.t(androidx.compose.ui.platform.c1.d())).getDensity()) : f10;
                r10.H();
                androidx.compose.foundation.layout.b.a(androidx.compose.foundation.b.d(androidx.compose.foundation.layout.o.i(androidx.compose.foundation.layout.o.h(iVar, BitmapDescriptorFactory.HUE_RED, 1, null), t10), j10, null, 2, null), r10, 0);
                if (y0.p.H()) {
                    y0.p.P();
                }
            } else {
                r10.A();
            }
        }
        l1.i iVar2 = iVar;
        float f11 = f10;
        long j11 = j10;
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new a(iVar2, f11, j11, i10, i11));
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:33:0x0073, code lost:
    
        if ((r14 & 4) != 0) goto L46;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void b(l1.i iVar, float f10, long j10, y0.m mVar, int i10, int i11) {
        int i12;
        y0.m r10 = mVar.r(75144485);
        int i13 = i11 & 1;
        if (i13 != 0) {
            i12 = i10 | 6;
        } else if ((i10 & 6) == 0) {
            i12 = (r10.R(iVar) ? 4 : 2) | i10;
        } else {
            i12 = i10;
        }
        int i14 = i11 & 2;
        if (i14 != 0) {
            i12 |= 48;
        } else if ((i10 & 48) == 0) {
            i12 |= r10.h(f10) ? 32 : 16;
        }
        if ((i10 & 384) == 0) {
            i12 |= ((i11 & 4) == 0 && r10.j(j10)) ? 256 : 128;
        }
        if ((i12 & 147) == 146 && r10.v()) {
            r10.A();
        } else {
            r10.q();
            if ((i10 & 1) == 0 || r10.E()) {
                if (i13 != 0) {
                    iVar = l1.i.f27362a;
                }
                if (i14 != 0) {
                    f10 = v.f38570a.b();
                }
                if ((i11 & 4) != 0) {
                    j10 = v.f38570a.a(r10, 6);
                    i12 &= -897;
                }
                r10.P();
                if (y0.p.H()) {
                    y0.p.Q(75144485, i12, -1, "androidx.compose.material3.HorizontalDivider (Divider.kt:54)");
                }
                boolean z10 = true;
                l1.i i15 = androidx.compose.foundation.layout.o.i(androidx.compose.foundation.layout.o.h(iVar, BitmapDescriptorFactory.HUE_RED, 1, null), f10);
                boolean z11 = (i12 & 112) == 32;
                if ((((i12 & 896) ^ 384) <= 256 || !r10.j(j10)) && (i12 & 384) != 256) {
                    z10 = false;
                }
                boolean z12 = z11 | z10;
                Object f11 = r10.f();
                if (z12 || f11 == y0.m.f51621a.a()) {
                    f11 = new b(f10, j10);
                    r10.I(f11);
                }
                z.i.a(i15, (dn.l) f11, r10, 0);
                if (y0.p.H()) {
                    y0.p.P();
                }
            } else {
                r10.A();
            }
        }
        l1.i iVar2 = iVar;
        float f12 = f10;
        long j11 = j10;
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new c(iVar2, f12, j11, i10, i11));
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:33:0x0073, code lost:
    
        if ((r14 & 4) != 0) goto L46;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void c(l1.i iVar, float f10, long j10, y0.m mVar, int i10, int i11) {
        int i12;
        y0.m r10 = mVar.r(-1534852205);
        int i13 = i11 & 1;
        if (i13 != 0) {
            i12 = i10 | 6;
        } else if ((i10 & 6) == 0) {
            i12 = (r10.R(iVar) ? 4 : 2) | i10;
        } else {
            i12 = i10;
        }
        int i14 = i11 & 2;
        if (i14 != 0) {
            i12 |= 48;
        } else if ((i10 & 48) == 0) {
            i12 |= r10.h(f10) ? 32 : 16;
        }
        if ((i10 & 384) == 0) {
            i12 |= ((i11 & 4) == 0 && r10.j(j10)) ? 256 : 128;
        }
        if ((i12 & 147) == 146 && r10.v()) {
            r10.A();
        } else {
            r10.q();
            if ((i10 & 1) == 0 || r10.E()) {
                if (i13 != 0) {
                    iVar = l1.i.f27362a;
                }
                if (i14 != 0) {
                    f10 = v.f38570a.b();
                }
                if ((i11 & 4) != 0) {
                    j10 = v.f38570a.a(r10, 6);
                    i12 &= -897;
                }
                r10.P();
                if (y0.p.H()) {
                    y0.p.Q(-1534852205, i12, -1, "androidx.compose.material3.VerticalDivider (Divider.kt:83)");
                }
                boolean z10 = true;
                l1.i s10 = androidx.compose.foundation.layout.o.s(androidx.compose.foundation.layout.o.d(iVar, BitmapDescriptorFactory.HUE_RED, 1, null), f10);
                boolean z11 = (i12 & 112) == 32;
                if ((((i12 & 896) ^ 384) <= 256 || !r10.j(j10)) && (i12 & 384) != 256) {
                    z10 = false;
                }
                boolean z12 = z11 | z10;
                Object f11 = r10.f();
                if (z12 || f11 == y0.m.f51621a.a()) {
                    f11 = new d(f10, j10);
                    r10.I(f11);
                }
                z.i.a(s10, (dn.l) f11, r10, 0);
                if (y0.p.H()) {
                    y0.p.P();
                }
            } else {
                r10.A();
            }
        }
        l1.i iVar2 = iVar;
        float f12 = f10;
        long j11 = j10;
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new e(iVar2, f12, j11, i10, i11));
        }
    }
}
