package v0;

import y0.h2;

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

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

    /* 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 f38363p = new a();

        a() {
            super(0);
        }

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

    /* loaded from: classes.dex */
    public /* synthetic */ class b {

        /* renamed from: a, reason: collision with root package name */
        public static final /* synthetic */ int[] f38364a;

        static {
            int[] iArr = new int[x0.q.values().length];
            try {
                iArr[x0.q.CornerExtraLarge.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[x0.q.CornerExtraLargeTop.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                iArr[x0.q.CornerExtraSmall.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                iArr[x0.q.CornerExtraSmallTop.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                iArr[x0.q.CornerFull.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                iArr[x0.q.CornerLarge.ordinal()] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                iArr[x0.q.CornerLargeEnd.ordinal()] = 7;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                iArr[x0.q.CornerLargeTop.ordinal()] = 8;
            } catch (NoSuchFieldError unused8) {
            }
            try {
                iArr[x0.q.CornerMedium.ordinal()] = 9;
            } catch (NoSuchFieldError unused9) {
            }
            try {
                iArr[x0.q.CornerNone.ordinal()] = 10;
            } catch (NoSuchFieldError unused10) {
            }
            try {
                iArr[x0.q.CornerSmall.ordinal()] = 11;
            } catch (NoSuchFieldError unused11) {
            }
            f38364a = iArr;
        }
    }

    public static final k0.a a(k0.a aVar) {
        float f10 = (float) 0.0d;
        return k0.a.c(aVar, k0.c.b(c3.h.t(f10)), null, null, k0.c.b(c3.h.t(f10)), 6, null);
    }

    public static final s1.r1 b(p1 p1Var, x0.q qVar) {
        switch (b.f38364a[qVar.ordinal()]) {
            case 1:
                return p1Var.c();
            case 2:
                return e(p1Var.c());
            case 3:
                return p1Var.d();
            case 4:
                return e(p1Var.d());
            case 5:
                return k0.g.f();
            case 6:
                return p1Var.e();
            case 7:
                return a(p1Var.e());
            case 8:
                return e(p1Var.e());
            case 9:
                return p1Var.f();
            case 10:
                return s1.l1.a();
            case 11:
                return p1Var.g();
            default:
                throw new rm.t();
        }
    }

    public static final h2 c() {
        return f38362a;
    }

    public static final s1.r1 d(x0.q qVar, y0.m mVar, int i10) {
        if (y0.p.H()) {
            y0.p.Q(1629172543, i10, -1, "androidx.compose.material3.<get-value> (Shapes.kt:191)");
        }
        s1.r1 b10 = b(h0.f38095a.b(mVar, 6), qVar);
        if (y0.p.H()) {
            y0.p.P();
        }
        return b10;
    }

    public static final k0.a e(k0.a aVar) {
        float f10 = (float) 0.0d;
        return k0.a.c(aVar, null, null, k0.c.b(c3.h.t(f10)), k0.c.b(c3.h.t(f10)), 3, null);
    }
}
