package v0;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;

/* loaded from: classes.dex */
public final class j {

    /* renamed from: a, reason: collision with root package name */
    public static final j f38119a = new j();

    /* renamed from: b, reason: collision with root package name */
    public static final int f38120b = 0;

    private j() {
    }

    public final i a(y0.m mVar, int i10) {
        if (y0.p.H()) {
            y0.p.Q(-1876034303, i10, -1, "androidx.compose.material3.CardDefaults.cardColors (Card.kt:476)");
        }
        i d10 = d(h0.f38095a.a(mVar, 6));
        if (y0.p.H()) {
            y0.p.P();
        }
        return d10;
    }

    public final i b(long j10, long j11, long j12, long j13, y0.m mVar, int i10, int i11) {
        long f10 = (i11 & 1) != 0 ? s1.g0.f35254b.f() : j10;
        long c10 = (i11 & 2) != 0 ? n.c(f10, mVar, i10 & 14) : j11;
        long f11 = (i11 & 4) != 0 ? s1.g0.f35254b.f() : j12;
        long l10 = (i11 & 8) != 0 ? s1.g0.l(c10, 0.38f, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 14, null) : j13;
        if (y0.p.H()) {
            y0.p.Q(-1589582123, i10, -1, "androidx.compose.material3.CardDefaults.cardColors (Card.kt:494)");
        }
        i c11 = d(h0.f38095a.a(mVar, 6)).c(f10, c10, f11, l10);
        if (y0.p.H()) {
            y0.p.P();
        }
        return c11;
    }

    public final k c(float f10, float f11, float f12, float f13, float f14, float f15, y0.m mVar, int i10, int i11) {
        if ((i11 & 1) != 0) {
            f10 = x0.g.f49913a.b();
        }
        if ((i11 & 2) != 0) {
            f11 = x0.g.f49913a.j();
        }
        float f16 = f11;
        if ((i11 & 4) != 0) {
            f12 = x0.g.f49913a.h();
        }
        float f17 = f12;
        if ((i11 & 8) != 0) {
            f13 = x0.g.f49913a.i();
        }
        float f18 = f13;
        if ((i11 & 16) != 0) {
            f14 = x0.g.f49913a.g();
        }
        float f19 = f14;
        if ((i11 & 32) != 0) {
            f15 = x0.g.f49913a.e();
        }
        float f20 = f15;
        if (y0.p.H()) {
            y0.p.Q(-574898487, i10, -1, "androidx.compose.material3.CardDefaults.cardElevation (Card.kt:405)");
        }
        k kVar = new k(f10, f16, f17, f18, f19, f20, null);
        if (y0.p.H()) {
            y0.p.P();
        }
        return kVar;
    }

    public final i d(m mVar) {
        i e10 = mVar.e();
        if (e10 != null) {
            return e10;
        }
        x0.g gVar = x0.g.f49913a;
        i iVar = new i(n.f(mVar, gVar.a()), n.b(mVar, n.f(mVar, gVar.a())), s1.i0.g(s1.g0.l(n.f(mVar, gVar.d()), gVar.f(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 14, null), n.f(mVar, gVar.a())), s1.g0.l(n.b(mVar, n.f(mVar, gVar.a())), 0.38f, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 14, null), null);
        mVar.W(iVar);
        return iVar;
    }

    public final s1.r1 e(y0.m mVar, int i10) {
        if (y0.p.H()) {
            y0.p.Q(1266660211, i10, -1, "androidx.compose.material3.CardDefaults.<get-shape> (Card.kt:376)");
        }
        s1.r1 d10 = q1.d(x0.g.f49913a.c(), mVar, 6);
        if (y0.p.H()) {
            y0.p.P();
        }
        return d10;
    }
}
