Rabbit-R1/switch port/java/sources/kotlin/UNumbersKt.java
2024-05-21 17:08:36 -04:00

146 lines
10 KiB
Java

package kotlin;
/* compiled from: UNumbers.kt */
@Metadata(d1 = {"\u0000&\n\u0000\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b)\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u0087\\u0006\u0004\b\u0003\u0010\u0004\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\u0005H\u0087\\u0006\u0004\b\u0006\u0010\u0007\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\bH\u0087\\u0006\u0004\b\t\u0010\n\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\u000bH\u0087\\u0006\u0004\b\f\u0010\r\u001a\u0014\u0010\u000e\u001a\u00020\u0001*\u00020\u0002H\u0087\\u0006\u0004\b\u000f\u0010\u0004\u001a\u0014\u0010\u000e\u001a\u00020\u0001*\u00020\u0005H\u0087\\u0006\u0004\b\u0010\u0010\u0007\u001a\u0014\u0010\u000e\u001a\u00020\u0001*\u00020\bH\u0087\\u0006\u0004\b\u0011\u0010\n\u001a\u0014\u0010\u000e\u001a\u00020\u0001*\u00020\u000bH\u0087\\u0006\u0004\b\u0012\u0010\r\u001a\u0014\u0010\u0013\u001a\u00020\u0001*\u00020\u0002H\u0087\\u0006\u0004\b\u0014\u0010\u0004\u001a\u0014\u0010\u0013\u001a\u00020\u0001*\u00020\u0005H\u0087\\u0006\u0004\b\u0015\u0010\u0007\u001a\u0014\u0010\u0013\u001a\u00020\u0001*\u00020\bH\u0087\\u0006\u0004\b\u0016\u0010\n\u001a\u0014\u0010\u0013\u001a\u00020\u0001*\u00020\u000bH\u0087\\u0006\u0004\b\u0017\u0010\r\u001a\u001c\u0010\u0018\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b\u001a\u0010\u001b\u001a\u001c\u0010\u0018\u001a\u00020\u0005*\u00020\u00052\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b\u001c\u0010\u001d\u001a\u001c\u0010\u0018\u001a\u00020\b*\u00020\b2\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b\u001e\u0010\u001f\u001a\u001c\u0010\u0018\u001a\u00020\u000b*\u00020\u000b2\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b \u0010!\u001a\u001c\u0010\"\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b#\u0010\u001b\u001a\u001c\u0010\"\u001a\u00020\u0005*\u00020\u00052\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b$\u0010\u001d\u001a\u001c\u0010\"\u001a\u00020\b*\u00020\b2\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b%\u0010\u001f\u001a\u001c\u0010\"\u001a\u00020\u000b*\u00020\u000b2\u0006\u0010\u0019\u001a\u00020\u0001H\u0087\\u0006\u0004\b&\u0010!\u001a\u0014\u0010'\u001a\u00020\u0002*\u00020\u0002H\u0087\\u0006\u0004\b(\u0010)\u001a\u0014\u0010'\u001a\u00020\u0005*\u00020\u0005H\u0087\\u0006\u0004\b*\u0010\u0007\u001a\u0014\u0010'\u001a\u00020\b*\u00020\bH\u0087\\u0006\u0004\b+\u0010,\u001a\u0014\u0010'\u001a\u00020\u000b*\u00020\u000bH\u0087\\u0006\u0004\b-\u0010.\u001a\u0014\u0010/\u001a\u00020\u0002*\u00020\u0002H\u0087\\u0006\u0004\b0\u0010)\u001a\u0014\u0010/\u001a\u00020\u0005*\u00020\u0005H\u0087\\u0006\u0004\b1\u0010\u0007\u001a\u0014\u0010/\u001a\u00020\b*\u00020\bH\u0087\\u0006\u0004\b2\u0010,\u001a\u0014\u0010/\u001a\u00020\u000b*\u00020\u000bH\u0087\\u0006\u0004\b3\u0010.¨\u00064"}, d2 = {"countLeadingZeroBits", "", "Lkotlin/UByte;", "countLeadingZeroBits-7apg3OU", "(B)I", "Lkotlin/UInt;", "countLeadingZeroBits-WZ4Q5Ns", "(I)I", "Lkotlin/ULong;", "countLeadingZeroBits-VKZWuLQ", "(J)I", "Lkotlin/UShort;", "countLeadingZeroBits-xj2QHRw", "(S)I", "countOneBits", "countOneBits-7apg3OU", "countOneBits-WZ4Q5Ns", "countOneBits-VKZWuLQ", "countOneBits-xj2QHRw", "countTrailingZeroBits", "countTrailingZeroBits-7apg3OU", "countTrailingZeroBits-WZ4Q5Ns", "countTrailingZeroBits-VKZWuLQ", "countTrailingZeroBits-xj2QHRw", "rotateLeft", "bitCount", "rotateLeft-LxnNnR4", "(BI)B", "rotateLeft-V7xB4Y4", "(II)I", "rotateLeft-JSWoG40", "(JI)J", "rotateLeft-olVBNx4", "(SI)S", "rotateRight", "rotateRight-LxnNnR4", "rotateRight-V7xB4Y4", "rotateRight-JSWoG40", "rotateRight-olVBNx4", "takeHighestOneBit", "takeHighestOneBit-7apg3OU", "(B)B", "takeHighestOneBit-WZ4Q5Ns", "takeHighestOneBit-VKZWuLQ", "(J)J", "takeHighestOneBit-xj2QHRw", "(S)S", "takeLowestOneBit", "takeLowestOneBit-7apg3OU", "takeLowestOneBit-WZ4Q5Ns", "takeLowestOneBit-VKZWuLQ", "takeLowestOneBit-xj2QHRw", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes3.dex */
public final class UNumbersKt {
/* renamed from: countOneBits-WZ4Q5Ns, reason: not valid java name */
private static final int m5950countOneBitsWZ4Q5Ns(int i) {
return Integer.bitCount(i);
}
/* renamed from: countLeadingZeroBits-WZ4Q5Ns, reason: not valid java name */
private static final int m5946countLeadingZeroBitsWZ4Q5Ns(int i) {
return Integer.numberOfLeadingZeros(i);
}
/* renamed from: countTrailingZeroBits-WZ4Q5Ns, reason: not valid java name */
private static final int m5954countTrailingZeroBitsWZ4Q5Ns(int i) {
return Integer.numberOfTrailingZeros(i);
}
/* renamed from: takeHighestOneBit-WZ4Q5Ns, reason: not valid java name */
private static final int m5966takeHighestOneBitWZ4Q5Ns(int i) {
return UInt.m5793constructorimpl(Integer.highestOneBit(i));
}
/* renamed from: takeLowestOneBit-WZ4Q5Ns, reason: not valid java name */
private static final int m5970takeLowestOneBitWZ4Q5Ns(int i) {
return UInt.m5793constructorimpl(Integer.lowestOneBit(i));
}
/* renamed from: rotateLeft-V7xB4Y4, reason: not valid java name */
private static final int m5958rotateLeftV7xB4Y4(int i, int i2) {
return UInt.m5793constructorimpl(Integer.rotateLeft(i, i2));
}
/* renamed from: rotateRight-V7xB4Y4, reason: not valid java name */
private static final int m5962rotateRightV7xB4Y4(int i, int i2) {
return UInt.m5793constructorimpl(Integer.rotateRight(i, i2));
}
/* renamed from: countOneBits-VKZWuLQ, reason: not valid java name */
private static final int m5949countOneBitsVKZWuLQ(long j) {
return Long.bitCount(j);
}
/* renamed from: countLeadingZeroBits-VKZWuLQ, reason: not valid java name */
private static final int m5945countLeadingZeroBitsVKZWuLQ(long j) {
return Long.numberOfLeadingZeros(j);
}
/* renamed from: countTrailingZeroBits-VKZWuLQ, reason: not valid java name */
private static final int m5953countTrailingZeroBitsVKZWuLQ(long j) {
return Long.numberOfTrailingZeros(j);
}
/* renamed from: takeHighestOneBit-VKZWuLQ, reason: not valid java name */
private static final long m5965takeHighestOneBitVKZWuLQ(long j) {
return ULong.m5872constructorimpl(Long.highestOneBit(j));
}
/* renamed from: takeLowestOneBit-VKZWuLQ, reason: not valid java name */
private static final long m5969takeLowestOneBitVKZWuLQ(long j) {
return ULong.m5872constructorimpl(Long.lowestOneBit(j));
}
/* renamed from: rotateLeft-JSWoG40, reason: not valid java name */
private static final long m5956rotateLeftJSWoG40(long j, int i) {
return ULong.m5872constructorimpl(Long.rotateLeft(j, i));
}
/* renamed from: rotateRight-JSWoG40, reason: not valid java name */
private static final long m5960rotateRightJSWoG40(long j, int i) {
return ULong.m5872constructorimpl(Long.rotateRight(j, i));
}
/* renamed from: countOneBits-7apg3OU, reason: not valid java name */
private static final int m5948countOneBits7apg3OU(byte b) {
return Integer.bitCount(UInt.m5793constructorimpl(b & 255));
}
/* renamed from: countLeadingZeroBits-7apg3OU, reason: not valid java name */
private static final int m5944countLeadingZeroBits7apg3OU(byte b) {
return Integer.numberOfLeadingZeros(b & 255) - 24;
}
/* renamed from: countTrailingZeroBits-7apg3OU, reason: not valid java name */
private static final int m5952countTrailingZeroBits7apg3OU(byte b) {
return Integer.numberOfTrailingZeros(b | 256);
}
/* renamed from: takeHighestOneBit-7apg3OU, reason: not valid java name */
private static final byte m5964takeHighestOneBit7apg3OU(byte b) {
return UByte.m5716constructorimpl((byte) Integer.highestOneBit(b & 255));
}
/* renamed from: takeLowestOneBit-7apg3OU, reason: not valid java name */
private static final byte m5968takeLowestOneBit7apg3OU(byte b) {
return UByte.m5716constructorimpl((byte) Integer.lowestOneBit(b & 255));
}
/* renamed from: rotateLeft-LxnNnR4, reason: not valid java name */
private static final byte m5957rotateLeftLxnNnR4(byte b, int i) {
return UByte.m5716constructorimpl(NumbersKt.rotateLeft(b, i));
}
/* renamed from: rotateRight-LxnNnR4, reason: not valid java name */
private static final byte m5961rotateRightLxnNnR4(byte b, int i) {
return UByte.m5716constructorimpl(NumbersKt.rotateRight(b, i));
}
/* renamed from: countOneBits-xj2QHRw, reason: not valid java name */
private static final int m5951countOneBitsxj2QHRw(short s) {
return Integer.bitCount(UInt.m5793constructorimpl(s & UShort.MAX_VALUE));
}
/* renamed from: countLeadingZeroBits-xj2QHRw, reason: not valid java name */
private static final int m5947countLeadingZeroBitsxj2QHRw(short s) {
return Integer.numberOfLeadingZeros(s & UShort.MAX_VALUE) - 16;
}
/* renamed from: countTrailingZeroBits-xj2QHRw, reason: not valid java name */
private static final int m5955countTrailingZeroBitsxj2QHRw(short s) {
return Integer.numberOfTrailingZeros(s | 65536);
}
/* renamed from: takeHighestOneBit-xj2QHRw, reason: not valid java name */
private static final short m5967takeHighestOneBitxj2QHRw(short s) {
return UShort.m5979constructorimpl((short) Integer.highestOneBit(s & UShort.MAX_VALUE));
}
/* renamed from: takeLowestOneBit-xj2QHRw, reason: not valid java name */
private static final short m5971takeLowestOneBitxj2QHRw(short s) {
return UShort.m5979constructorimpl((short) Integer.lowestOneBit(s & UShort.MAX_VALUE));
}
/* renamed from: rotateLeft-olVBNx4, reason: not valid java name */
private static final short m5959rotateLeftolVBNx4(short s, int i) {
return UShort.m5979constructorimpl(NumbersKt.rotateLeft(s, i));
}
/* renamed from: rotateRight-olVBNx4, reason: not valid java name */
private static final short m5963rotateRightolVBNx4(short s, int i) {
return UShort.m5979constructorimpl(NumbersKt.rotateRight(s, i));
}
}