package v0;

import c3.h;
import s1.g0;
import y0.h2;

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

    /* renamed from: a, reason: collision with root package name */
    private static final h2 f38113a = y0.x.f(b.f38118p);

    /* renamed from: b, reason: collision with root package name */
    private static final h2 f38114b = y0.x.d(null, a.f38117p, 1, null);

    /* renamed from: c, reason: collision with root package name */
    private static final j1 f38115c;

    /* renamed from: d, reason: collision with root package name */
    private static final j1 f38116d;

    /* loaded from: classes.dex */
    static final class a extends kotlin.jvm.internal.v implements dn.a {

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

        a() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final g1 invoke() {
            return new g1(0L, null, 3, null);
        }
    }

    /* loaded from: classes.dex */
    static final class b extends kotlin.jvm.internal.v implements dn.a {

        /* renamed from: p, reason: collision with root package name */
        public static final b f38118p = new b();

        b() {
            super(0);
        }

        @Override // dn.a
        public final Boolean invoke() {
            return Boolean.FALSE;
        }
    }

    static {
        h.a aVar = c3.h.f7410q;
        float c10 = aVar.c();
        g0.a aVar2 = s1.g0.f35254b;
        f38115c = new j1(true, c10, aVar2.f(), (kotlin.jvm.internal.k) null);
        f38116d = new j1(false, aVar.c(), aVar2.f(), (kotlin.jvm.internal.k) null);
    }

    public static final h2 a() {
        return f38114b;
    }

    public static final z.d0 b(boolean z10, float f10, long j10) {
        return (c3.h.v(f10, c3.h.f7410q.c()) && s1.g0.n(j10, s1.g0.f35254b.f())) ? z10 ? f38115c : f38116d : new j1(z10, f10, j10, (kotlin.jvm.internal.k) null);
    }

    public static final z.b0 c(boolean z10, float f10, long j10, y0.m mVar, int i10, int i11) {
        if ((i11 & 1) != 0) {
            z10 = true;
        }
        boolean z11 = z10;
        if ((i11 & 2) != 0) {
            f10 = c3.h.f7410q.c();
        }
        float f11 = f10;
        if ((i11 & 4) != 0) {
            j10 = s1.g0.f35254b.f();
        }
        long j11 = j10;
        if (y0.p.H()) {
            y0.p.Q(-1315814667, i10, -1, "androidx.compose.material3.rippleOrFallbackImplementation (Ripple.kt:230)");
        }
        mVar.S(-1280632857);
        z.b0 f12 = ((Boolean) mVar.t(f38113a)).booleanValue() ? u0.p.f(z11, f11, j11, mVar, (i10 & 14) | (i10 & 112) | (i10 & 896), 0) : b(z11, f11, j11);
        mVar.H();
        if (y0.p.H()) {
            y0.p.P();
        }
        return f12;
    }
}
