package G0;

/* JADX INFO: renamed from: G0.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0258h implements InterfaceC0262j {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f1969a;

    @Override // G0.InterfaceC0262j
    public final long a(long j4, long j6) {
        switch (this.f1969a) {
            case 0:
                float fMax = Math.max(Float.intBitsToFloat((int) (j6 >> 32)) / Float.intBitsToFloat((int) (j4 >> 32)), Float.intBitsToFloat((int) (j6 & 4294967295L)) / Float.intBitsToFloat((int) (j4 & 4294967295L)));
                long jFloatToRawIntBits = (((long) Float.floatToRawIntBits(fMax)) << 32) | (((long) Float.floatToRawIntBits(fMax)) & 4294967295L);
                int i6 = w0.f2026a;
                return jFloatToRawIntBits;
            case 1:
                float fD = B.d(j4, j6);
                long jFloatToRawIntBits2 = (((long) Float.floatToRawIntBits(fD)) << 32) | (((long) Float.floatToRawIntBits(fD)) & 4294967295L);
                int i7 = w0.f2026a;
                return jFloatToRawIntBits2;
            default:
                if (Float.intBitsToFloat((int) (j4 >> 32)) <= Float.intBitsToFloat((int) (j6 >> 32)) && Float.intBitsToFloat((int) (j4 & 4294967295L)) <= Float.intBitsToFloat((int) (j6 & 4294967295L))) {
                    long jFloatToRawIntBits3 = (((long) Float.floatToRawIntBits(1.0f)) << 32) | (((long) Float.floatToRawIntBits(1.0f)) & 4294967295L);
                    int i8 = w0.f2026a;
                    return jFloatToRawIntBits3;
                }
                float fD2 = B.d(j4, j6);
                long jFloatToRawIntBits4 = (((long) Float.floatToRawIntBits(fD2)) << 32) | (((long) Float.floatToRawIntBits(fD2)) & 4294967295L);
                int i9 = w0.f2026a;
                return jFloatToRawIntBits4;
        }
    }
}
