Rabbit-R1/original r1/java/sources/kotlin/comparisons/UComparisonsKt___UComparisonsKt.java
2024-05-21 17:08:36 -04:00

177 lines
12 KiB
Java

package kotlin.comparisons;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.media3.exoplayer.upstream.CmcdHeadersFactory;
import kotlin.Metadata;
import kotlin.UByteArray;
import kotlin.UIntArray;
import kotlin.ULongArray;
import kotlin.UShort;
import kotlin.UShortArray;
import kotlin.jvm.internal.Intrinsics;
/* JADX INFO: Access modifiers changed from: package-private */
/* compiled from: _UComparisons.kt */
@Metadata(d1 = {"\u0000B\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0010\u001a\u001f\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0001H\u0007¢\u0006\u0004\b\u0004\u0010\u0005\u001a(\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u00012\u0006\u0010\u0006\u001a\u00020\u0001H\u0087\\u0006\u0004\b\u0007\u0010\b\u001a#\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\n\u0010\t\u001a\u00020\n\"\u00020\u0001H\u0007¢\u0006\u0004\b\u000b\u0010\f\u001a\u001f\u0010\u0000\u001a\u00020\r2\u0006\u0010\u0002\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\rH\u0007¢\u0006\u0004\b\u000e\u0010\u000f\u001a(\u0010\u0000\u001a\u00020\r2\u0006\u0010\u0002\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\u0006\u0010\u0006\u001a\u00020\rH\u0087\\u0006\u0004\b\u0010\u0010\u0011\u001a#\u0010\u0000\u001a\u00020\r2\u0006\u0010\u0002\u001a\u00020\r2\n\u0010\t\u001a\u00020\u0012\"\u00020\rH\u0007¢\u0006\u0004\b\u0013\u0010\u0014\u001a\u001f\u0010\u0000\u001a\u00020\u00152\u0006\u0010\u0002\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u0015H\u0007¢\u0006\u0004\b\u0016\u0010\u0017\u001a(\u0010\u0000\u001a\u00020\u00152\u0006\u0010\u0002\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u0006\u001a\u00020\u0015H\u0087\\u0006\u0004\b\u0018\u0010\u0019\u001a#\u0010\u0000\u001a\u00020\u00152\u0006\u0010\u0002\u001a\u00020\u00152\n\u0010\t\u001a\u00020\u001a\"\u00020\u0015H\u0007¢\u0006\u0004\b\u001b\u0010\u001c\u001a\u001f\u0010\u0000\u001a\u00020\u001d2\u0006\u0010\u0002\u001a\u00020\u001d2\u0006\u0010\u0003\u001a\u00020\u001dH\u0007¢\u0006\u0004\b\u001e\u0010\u001f\u001a(\u0010\u0000\u001a\u00020\u001d2\u0006\u0010\u0002\u001a\u00020\u001d2\u0006\u0010\u0003\u001a\u00020\u001d2\u0006\u0010\u0006\u001a\u00020\u001dH\u0087\\u0006\u0004\b \u0010!\u001a#\u0010\u0000\u001a\u00020\u001d2\u0006\u0010\u0002\u001a\u00020\u001d2\n\u0010\t\u001a\u00020\"\"\u00020\u001dH\u0007¢\u0006\u0004\b#\u0010$\u001a\u001f\u0010%\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0001H\u0007¢\u0006\u0004\b&\u0010\u0005\u001a(\u0010%\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u00012\u0006\u0010\u0006\u001a\u00020\u0001H\u0087\\u0006\u0004\b'\u0010\b\u001a#\u0010%\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\n\u0010\t\u001a\u00020\n\"\u00020\u0001H\u0007¢\u0006\u0004\b(\u0010\f\u001a\u001f\u0010%\u001a\u00020\r2\u0006\u0010\u0002\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\rH\u0007¢\u0006\u0004\b)\u0010\u000f\u001a(\u0010%\u001a\u00020\r2\u0006\u0010\u0002\u001a\u00020\r2\u0006\u0010\u0003\u001a\u00020\r2\u0006\u0010\u0006\u001a\u00020\rH\u0087\\u0006\u0004\b*\u0010\u0011\u001a#\u0010%\u001a\u00020\r2\u0006\u0010\u0002\u001a\u00020\r2\n\u0010\t\u001a\u00020\u0012\"\u00020\rH\u0007¢\u0006\u0004\b+\u0010\u0014\u001a\u001f\u0010%\u001a\u00020\u00152\u0006\u0010\u0002\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u0015H\u0007¢\u0006\u0004\b,\u0010\u0017\u001a(\u0010%\u001a\u00020\u00152\u0006\u0010\u0002\u001a\u00020\u00152\u0006\u0010\u0003\u001a\u00020\u00152\u0006\u0010\u0006\u001a\u00020\u0015H\u0087\\u0006\u0004\b-\u0010\u0019\u001a#\u0010%\u001a\u00020\u00152\u0006\u0010\u0002\u001a\u00020\u00152\n\u0010\t\u001a\u00020\u001a\"\u00020\u0015H\u0007¢\u0006\u0004\b.\u0010\u001c\u001a\u001f\u0010%\u001a\u00020\u001d2\u0006\u0010\u0002\u001a\u00020\u001d2\u0006\u0010\u0003\u001a\u00020\u001dH\u0007¢\u0006\u0004\b/\u0010\u001f\u001a(\u0010%\u001a\u00020\u001d2\u0006\u0010\u0002\u001a\u00020\u001d2\u0006\u0010\u0003\u001a\u00020\u001d2\u0006\u0010\u0006\u001a\u00020\u001dH\u0087\\u0006\u0004\b0\u0010!\u001a#\u0010%\u001a\u00020\u001d2\u0006\u0010\u0002\u001a\u00020\u001d2\n\u0010\t\u001a\u00020\"\"\u00020\u001dH\u0007¢\u0006\u0004\b1\u0010$¨\u00062"}, d2 = {"maxOf", "Lkotlin/UByte;", CmcdHeadersFactory.OBJECT_TYPE_AUDIO_ONLY, "b", "maxOf-Kr8caGY", "(BB)B", "c", "maxOf-b33U2AM", "(BBB)B", "other", "Lkotlin/UByteArray;", "maxOf-Wr6uiD8", "(B[B)B", "Lkotlin/UInt;", "maxOf-J1ME1BU", "(II)I", "maxOf-WZ9TVnA", "(III)I", "Lkotlin/UIntArray;", "maxOf-Md2H83M", "(I[I)I", "Lkotlin/ULong;", "maxOf-eb3DHEI", "(JJ)J", "maxOf-sambcqE", "(JJJ)J", "Lkotlin/ULongArray;", "maxOf-R03FKyM", "(J[J)J", "Lkotlin/UShort;", "maxOf-5PvTz6A", "(SS)S", "maxOf-VKSA0NQ", "(SSS)S", "Lkotlin/UShortArray;", "maxOf-t1qELG4", "(S[S)S", "minOf", "minOf-Kr8caGY", "minOf-b33U2AM", "minOf-Wr6uiD8", "minOf-J1ME1BU", "minOf-WZ9TVnA", "minOf-Md2H83M", "minOf-eb3DHEI", "minOf-sambcqE", "minOf-R03FKyM", "minOf-5PvTz6A", "minOf-VKSA0NQ", "minOf-t1qELG4", "kotlin-stdlib"}, k = 5, mv = {1, 9, 0}, xi = ConstraintLayout.LayoutParams.Table.LAYOUT_EDITOR_ABSOLUTEX, xs = "kotlin/comparisons/UComparisonsKt")
/* loaded from: classes3.dex */
public class UComparisonsKt___UComparisonsKt {
/* renamed from: maxOf-J1ME1BU, reason: not valid java name */
public static final int m6881maxOfJ1ME1BU(int i, int i2) {
return Integer.compareUnsigned(i, i2) >= 0 ? i : i2;
}
/* renamed from: maxOf-eb3DHEI, reason: not valid java name */
public static final long m6889maxOfeb3DHEI(long j, long j2) {
return Long.compareUnsigned(j, j2) >= 0 ? j : j2;
}
/* renamed from: maxOf-Kr8caGY, reason: not valid java name */
public static final byte m6882maxOfKr8caGY(byte b, byte b2) {
return Intrinsics.compare(b & 255, b2 & 255) >= 0 ? b : b2;
}
/* renamed from: maxOf-5PvTz6A, reason: not valid java name */
public static final short m6880maxOf5PvTz6A(short s, short s2) {
return Intrinsics.compare(s & UShort.MAX_VALUE, 65535 & s2) >= 0 ? s : s2;
}
/* renamed from: maxOf-WZ9TVnA, reason: not valid java name */
private static final int m6886maxOfWZ9TVnA(int i, int i2, int i3) {
return UComparisonsKt.m6881maxOfJ1ME1BU(i, UComparisonsKt.m6881maxOfJ1ME1BU(i2, i3));
}
/* renamed from: maxOf-sambcqE, reason: not valid java name */
private static final long m6890maxOfsambcqE(long j, long j2, long j3) {
return UComparisonsKt.m6889maxOfeb3DHEI(j, UComparisonsKt.m6889maxOfeb3DHEI(j2, j3));
}
/* renamed from: maxOf-b33U2AM, reason: not valid java name */
private static final byte m6888maxOfb33U2AM(byte b, byte b2, byte b3) {
return UComparisonsKt.m6882maxOfKr8caGY(b, UComparisonsKt.m6882maxOfKr8caGY(b2, b3));
}
/* renamed from: maxOf-VKSA0NQ, reason: not valid java name */
private static final short m6885maxOfVKSA0NQ(short s, short s2, short s3) {
return UComparisonsKt.m6880maxOf5PvTz6A(s, UComparisonsKt.m6880maxOf5PvTz6A(s2, s3));
}
/* renamed from: maxOf-Md2H83M, reason: not valid java name */
public static final int m6883maxOfMd2H83M(int i, int... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(other);
for (int i2 = 0; i2 < m5854getSizeimpl; i2++) {
i = UComparisonsKt.m6881maxOfJ1ME1BU(i, UIntArray.m5853getpVg5ArA(other, i2));
}
return i;
}
/* renamed from: maxOf-R03FKyM, reason: not valid java name */
public static final long m6884maxOfR03FKyM(long j, long... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(other);
for (int i = 0; i < m5933getSizeimpl; i++) {
j = UComparisonsKt.m6889maxOfeb3DHEI(j, ULongArray.m5932getsVKNKU(other, i));
}
return j;
}
/* renamed from: maxOf-Wr6uiD8, reason: not valid java name */
public static final byte m6887maxOfWr6uiD8(byte b, byte... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(other);
for (int i = 0; i < m5775getSizeimpl; i++) {
b = UComparisonsKt.m6882maxOfKr8caGY(b, UByteArray.m5774getw2LRezQ(other, i));
}
return b;
}
/* renamed from: maxOf-t1qELG4, reason: not valid java name */
public static final short m6891maxOft1qELG4(short s, short... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(other);
for (int i = 0; i < m6038getSizeimpl; i++) {
s = UComparisonsKt.m6880maxOf5PvTz6A(s, UShortArray.m6037getMh2AYeg(other, i));
}
return s;
}
/* renamed from: minOf-J1ME1BU, reason: not valid java name */
public static final int m6893minOfJ1ME1BU(int i, int i2) {
return Integer.compareUnsigned(i, i2) <= 0 ? i : i2;
}
/* renamed from: minOf-eb3DHEI, reason: not valid java name */
public static final long m6901minOfeb3DHEI(long j, long j2) {
return Long.compareUnsigned(j, j2) <= 0 ? j : j2;
}
/* renamed from: minOf-Kr8caGY, reason: not valid java name */
public static final byte m6894minOfKr8caGY(byte b, byte b2) {
return Intrinsics.compare(b & 255, b2 & 255) <= 0 ? b : b2;
}
/* renamed from: minOf-5PvTz6A, reason: not valid java name */
public static final short m6892minOf5PvTz6A(short s, short s2) {
return Intrinsics.compare(s & UShort.MAX_VALUE, 65535 & s2) <= 0 ? s : s2;
}
/* renamed from: minOf-WZ9TVnA, reason: not valid java name */
private static final int m6898minOfWZ9TVnA(int i, int i2, int i3) {
return UComparisonsKt.m6893minOfJ1ME1BU(i, UComparisonsKt.m6893minOfJ1ME1BU(i2, i3));
}
/* renamed from: minOf-sambcqE, reason: not valid java name */
private static final long m6902minOfsambcqE(long j, long j2, long j3) {
return UComparisonsKt.m6901minOfeb3DHEI(j, UComparisonsKt.m6901minOfeb3DHEI(j2, j3));
}
/* renamed from: minOf-b33U2AM, reason: not valid java name */
private static final byte m6900minOfb33U2AM(byte b, byte b2, byte b3) {
return UComparisonsKt.m6894minOfKr8caGY(b, UComparisonsKt.m6894minOfKr8caGY(b2, b3));
}
/* renamed from: minOf-VKSA0NQ, reason: not valid java name */
private static final short m6897minOfVKSA0NQ(short s, short s2, short s3) {
return UComparisonsKt.m6892minOf5PvTz6A(s, UComparisonsKt.m6892minOf5PvTz6A(s2, s3));
}
/* renamed from: minOf-Md2H83M, reason: not valid java name */
public static final int m6895minOfMd2H83M(int i, int... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(other);
for (int i2 = 0; i2 < m5854getSizeimpl; i2++) {
i = UComparisonsKt.m6893minOfJ1ME1BU(i, UIntArray.m5853getpVg5ArA(other, i2));
}
return i;
}
/* renamed from: minOf-R03FKyM, reason: not valid java name */
public static final long m6896minOfR03FKyM(long j, long... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(other);
for (int i = 0; i < m5933getSizeimpl; i++) {
j = UComparisonsKt.m6901minOfeb3DHEI(j, ULongArray.m5932getsVKNKU(other, i));
}
return j;
}
/* renamed from: minOf-Wr6uiD8, reason: not valid java name */
public static final byte m6899minOfWr6uiD8(byte b, byte... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(other);
for (int i = 0; i < m5775getSizeimpl; i++) {
b = UComparisonsKt.m6894minOfKr8caGY(b, UByteArray.m5774getw2LRezQ(other, i));
}
return b;
}
/* renamed from: minOf-t1qELG4, reason: not valid java name */
public static final short m6903minOft1qELG4(short s, short... other) {
Intrinsics.checkNotNullParameter(other, "other");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(other);
for (int i = 0; i < m6038getSizeimpl; i++) {
s = UComparisonsKt.m6892minOf5PvTz6A(s, UShortArray.m6037getMh2AYeg(other, i));
}
return s;
}
}