package r1;

/* loaded from: classes.dex */
public abstract class l {
    public static final k a(float f10, float f11, float f12, float f13, float f14, float f15) {
        long a10 = b.a(f14, f15);
        return new k(f10, f11, f12, f13, a10, a10, a10, a10, null);
    }

    public static final k b(i iVar, long j10, long j11, long j12, long j13) {
        return new k(iVar.i(), iVar.l(), iVar.j(), iVar.e(), j10, j11, j12, j13, null);
    }

    public static final k c(float f10, float f11, float f12, float f13, long j10) {
        return a(f10, f11, f12, f13, a.d(j10), a.e(j10));
    }

    public static final i d(k kVar) {
        return new i(kVar.e(), kVar.g(), kVar.f(), kVar.a());
    }

    public static final boolean e(k kVar) {
        if (a.d(kVar.h()) == a.e(kVar.h())) {
            if (a.d(kVar.h()) == a.d(kVar.i())) {
                if (a.d(kVar.h()) == a.e(kVar.i())) {
                    if (a.d(kVar.h()) == a.d(kVar.c())) {
                        if (a.d(kVar.h()) == a.e(kVar.c())) {
                            if (a.d(kVar.h()) == a.d(kVar.b())) {
                                if (a.d(kVar.h()) == a.e(kVar.b())) {
                                    return true;
                                }
                            }
                        }
                    }
                }
            }
        }
        return false;
    }
}
