Rabbit-R1/switch port/java/sources/kotlin/collections/unsigned/UArraysKt___UArraysKt.java

9169 lines
646 KiB
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package kotlin.collections.unsigned;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.exifinterface.media.ExifInterface;
import androidx.media3.exoplayer.upstream.CmcdHeadersFactory;
import io.flutter.plugin.editing.SpellCheckPlugin;
import io.sentry.protocol.MetricSummary;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import kotlin.Deprecated;
import kotlin.DeprecatedSinceKotlin;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.ReplaceWith;
import kotlin.TuplesKt;
import kotlin.UByte;
import kotlin.UByteArray;
import kotlin.UInt;
import kotlin.UIntArray;
import kotlin.ULong;
import kotlin.ULongArray;
import kotlin.UShort;
import kotlin.UShortArray;
import kotlin.Unit;
import kotlin.collections.AbstractList;
import kotlin.collections.ArraysKt;
import kotlin.collections.CollectionsKt;
import kotlin.collections.IndexedValue;
import kotlin.collections.IndexingIterable;
import kotlin.collections.MapsKt;
import kotlin.collections.UArraySortingKt;
import kotlin.internal.PlatformImplementationsKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.functions.Function3;
import kotlin.jvm.internal.Intrinsics;
import kotlin.random.Random;
import kotlin.ranges.IntRange;
import kotlin.ranges.RangesKt;
import tech.rabbit.r1launcher.BuildConfig;
/* JADX INFO: Access modifiers changed from: package-private */
/* compiled from: _UArrays.kt */
@Metadata(d1 = {"\u0000\u009f\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\r\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\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\u0010\n\u0002\u0010\u0012\n\u0002\b\u0003\n\u0002\u0010\u0015\n\u0002\b\u0003\n\u0002\u0010\u0016\n\u0002\b\u0003\n\u0002\u0010\u0017\n\u0002\b\u0007\n\u0002\u0010$\n\u0002\b\f\n\u0002\u0010%\n\u0002\b5\n\u0002\u0010\u000e\n\u0002\b7\n\u0002\u0010 \n\u0002\b1\n\u0002\u0010\u0002\n\u0002\b\u000f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u001f\n\u0002\bE\n\u0002\u0010\u001c\n\u0002\b \n\u0002\u0018\u0002\n\u0002\b@\n\u0002\u0010!\n\u0002\bM\n\u0002\u0010\u000f\n\u0002\b\n\n\u0002\u0010\u0006\n\u0000\n\u0002\u0010\u0007\n\u0002\b\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\bk\n\u0002\u0010\u001e\n\u0002\b\u0015\n\u0002\u0018\u0002\n\u0003\\u0001\n\u0002\u0010\u0011\n\u0002\b\u0019\n\u0002\u0010\t\n\u0002\b2\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b/\u001a+\u0010$\u001a\u00020%*\u00020\u00022\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020(\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b)\u0010*\u001a+\u0010$\u001a\u00020%*\u00020\u00072\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020+\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b,\u0010-\u001a+\u0010$\u001a\u00020%*\u00020\f2\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b/\u00100\u001a+\u0010$\u001a\u00020%*\u00020\u00112\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u000201\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b2\u00103\u001a\u0014\u00104\u001a\u00020%*\u00020\u0002H\u0087\\u0006\u0004\b5\u00106\u001a+\u00104\u001a\u00020%*\u00020\u00022\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020(\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b7\u0010*\u001a\u0014\u00104\u001a\u00020%*\u00020\u0007H\u0087\\u0006\u0004\b8\u00109\u001a+\u00104\u001a\u00020%*\u00020\u00072\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020+\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b:\u0010-\u001a\u0014\u00104\u001a\u00020%*\u00020\fH\u0087\\u0006\u0004\b;\u0010<\u001a+\u00104\u001a\u00020%*\u00020\f2\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b=\u00100\u001a\u0014\u00104\u001a\u00020%*\u00020\u0011H\u0087\\u0006\u0004\b>\u0010?\u001a+\u00104\u001a\u00020%*\u00020\u00112\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u000201\u0012\u0004\u0012\u00020%0'H\u0087\\u0001\u0000¢\u0006\u0004\b@\u00103\u001a\u0014\u0010A\u001a\u00020B*\u00020\u0002H\u0087\\u0006\u0004\bC\u0010D\u001a\u0014\u0010E\u001a\u00020F*\u00020\u0007H\u0087\\u0006\u0004\bG\u0010H\u001a\u0014\u0010I\u001a\u00020J*\u00020\fH\u0087\\u0006\u0004\bK\u0010L\u001a\u0014\u0010M\u001a\u00020N*\u00020\u0011H\u0087\\u0006\u0004\bO\u0010P\u001a\u0012\u0010Q\u001a\u00020\u0002*\u00020BH\u0087\\u0006\u0002\u0010D\u001a\u0012\u0010R\u001a\u00020\u0007*\u00020FH\u0087\\u0006\u0002\u0010H\u001a\u0012\u0010S\u001a\u00020\f*\u00020JH\u0087\\u0006\u0002\u0010L\u001a\u0012\u0010T\u001a\u00020\u0011*\u00020NH\u0087\\u0006\u0002\u0010P\u001a=\u0010U\u001a\u000e\u0012\u0004\u0012\u00020(\u0012\u0004\u0012\u0002HW0V\"\u0004\b\u0000\u0010W*\u00020\u00022\u0012\u0010X\u001a\u000e\u0012\u0004\u0012\u00020(\u0012\u0004\u0012\u0002HW0'H\u0087\\u0001\u0000¢\u0006\u0004\bY\u0010Z\u001a=\u0010U\u001a\u000e\u0012\u0004\u0012\u00020+\u0012\u0004\u0012\u0002HW0V\"\u0004\b\u0000\u0010W*\u00020\u00072\u0012\u0010X\u001a\u000e\u0012\u0004\u0012\u00020+\u0012\u0004\u0012\u0002HW0'H\u0087\\u0001\u0000¢\u0006\u0004\b[\u0010\\\u001a=\u0010U\u001a\u000e\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u0002HW0V\"\u000
/* loaded from: classes3.dex */
public class UArraysKt___UArraysKt extends UArraysKt___UArraysJvmKt {
/* renamed from: asByteArray-GBYM_sE, reason: not valid java name */
private static final byte[] m6234asByteArrayGBYM_sE(byte[] asByteArray) {
Intrinsics.checkNotNullParameter(asByteArray, "$this$asByteArray");
return asByteArray;
}
/* renamed from: asIntArray--ajY-9A, reason: not valid java name */
private static final int[] m6235asIntArrayajY9A(int[] asIntArray) {
Intrinsics.checkNotNullParameter(asIntArray, "$this$asIntArray");
return asIntArray;
}
/* renamed from: asLongArray-QwZRm1k, reason: not valid java name */
private static final long[] m6236asLongArrayQwZRm1k(long[] asLongArray) {
Intrinsics.checkNotNullParameter(asLongArray, "$this$asLongArray");
return asLongArray;
}
/* renamed from: asShortArray-rL5Bavg, reason: not valid java name */
private static final short[] m6237asShortArrayrL5Bavg(short[] asShortArray) {
Intrinsics.checkNotNullParameter(asShortArray, "$this$asShortArray");
return asShortArray;
}
/* renamed from: getIndices--ajY-9A$annotations, reason: not valid java name */
public static /* synthetic */ void m6423getIndicesajY9A$annotations(int[] iArr) {
}
/* renamed from: getIndices-GBYM_sE$annotations, reason: not valid java name */
public static /* synthetic */ void m6425getIndicesGBYM_sE$annotations(byte[] bArr) {
}
/* renamed from: getIndices-QwZRm1k$annotations, reason: not valid java name */
public static /* synthetic */ void m6427getIndicesQwZRm1k$annotations(long[] jArr) {
}
/* renamed from: getIndices-rL5Bavg$annotations, reason: not valid java name */
public static /* synthetic */ void m6429getIndicesrL5Bavg$annotations(short[] sArr) {
}
/* renamed from: getLastIndex--ajY-9A$annotations, reason: not valid java name */
public static /* synthetic */ void m6431getLastIndexajY9A$annotations(int[] iArr) {
}
/* renamed from: getLastIndex-GBYM_sE$annotations, reason: not valid java name */
public static /* synthetic */ void m6433getLastIndexGBYM_sE$annotations(byte[] bArr) {
}
/* renamed from: getLastIndex-QwZRm1k$annotations, reason: not valid java name */
public static /* synthetic */ void m6435getLastIndexQwZRm1k$annotations(long[] jArr) {
}
/* renamed from: getLastIndex-rL5Bavg$annotations, reason: not valid java name */
public static /* synthetic */ void m6437getLastIndexrL5Bavg$annotations(short[] sArr) {
}
/* renamed from: component1--ajY-9A, reason: not valid java name */
private static final int m6246component1ajY9A(int[] component1) {
Intrinsics.checkNotNullParameter(component1, "$this$component1");
return UIntArray.m5853getpVg5ArA(component1, 0);
}
/* renamed from: component1-QwZRm1k, reason: not valid java name */
private static final long m6248component1QwZRm1k(long[] component1) {
Intrinsics.checkNotNullParameter(component1, "$this$component1");
return ULongArray.m5932getsVKNKU(component1, 0);
}
/* renamed from: component1-GBYM_sE, reason: not valid java name */
private static final byte m6247component1GBYM_sE(byte[] component1) {
Intrinsics.checkNotNullParameter(component1, "$this$component1");
return UByteArray.m5774getw2LRezQ(component1, 0);
}
/* renamed from: component1-rL5Bavg, reason: not valid java name */
private static final short m6249component1rL5Bavg(short[] component1) {
Intrinsics.checkNotNullParameter(component1, "$this$component1");
return UShortArray.m6037getMh2AYeg(component1, 0);
}
/* renamed from: component2--ajY-9A, reason: not valid java name */
private static final int m6250component2ajY9A(int[] component2) {
Intrinsics.checkNotNullParameter(component2, "$this$component2");
return UIntArray.m5853getpVg5ArA(component2, 1);
}
/* renamed from: component2-QwZRm1k, reason: not valid java name */
private static final long m6252component2QwZRm1k(long[] component2) {
Intrinsics.checkNotNullParameter(component2, "$this$component2");
return ULongArray.m5932getsVKNKU(component2, 1);
}
/* renamed from: component2-GBYM_sE, reason: not valid java name */
private static final byte m6251component2GBYM_sE(byte[] component2) {
Intrinsics.checkNotNullParameter(component2, "$this$component2");
return UByteArray.m5774getw2LRezQ(component2, 1);
}
/* renamed from: component2-rL5Bavg, reason: not valid java name */
private static final short m6253component2rL5Bavg(short[] component2) {
Intrinsics.checkNotNullParameter(component2, "$this$component2");
return UShortArray.m6037getMh2AYeg(component2, 1);
}
/* renamed from: component3--ajY-9A, reason: not valid java name */
private static final int m6254component3ajY9A(int[] component3) {
Intrinsics.checkNotNullParameter(component3, "$this$component3");
return UIntArray.m5853getpVg5ArA(component3, 2);
}
/* renamed from: component3-QwZRm1k, reason: not valid java name */
private static final long m6256component3QwZRm1k(long[] component3) {
Intrinsics.checkNotNullParameter(component3, "$this$component3");
return ULongArray.m5932getsVKNKU(component3, 2);
}
/* renamed from: component3-GBYM_sE, reason: not valid java name */
private static final byte m6255component3GBYM_sE(byte[] component3) {
Intrinsics.checkNotNullParameter(component3, "$this$component3");
return UByteArray.m5774getw2LRezQ(component3, 2);
}
/* renamed from: component3-rL5Bavg, reason: not valid java name */
private static final short m6257component3rL5Bavg(short[] component3) {
Intrinsics.checkNotNullParameter(component3, "$this$component3");
return UShortArray.m6037getMh2AYeg(component3, 2);
}
/* renamed from: component4--ajY-9A, reason: not valid java name */
private static final int m6258component4ajY9A(int[] component4) {
Intrinsics.checkNotNullParameter(component4, "$this$component4");
return UIntArray.m5853getpVg5ArA(component4, 3);
}
/* renamed from: component4-QwZRm1k, reason: not valid java name */
private static final long m6260component4QwZRm1k(long[] component4) {
Intrinsics.checkNotNullParameter(component4, "$this$component4");
return ULongArray.m5932getsVKNKU(component4, 3);
}
/* renamed from: component4-GBYM_sE, reason: not valid java name */
private static final byte m6259component4GBYM_sE(byte[] component4) {
Intrinsics.checkNotNullParameter(component4, "$this$component4");
return UByteArray.m5774getw2LRezQ(component4, 3);
}
/* renamed from: component4-rL5Bavg, reason: not valid java name */
private static final short m6261component4rL5Bavg(short[] component4) {
Intrinsics.checkNotNullParameter(component4, "$this$component4");
return UShortArray.m6037getMh2AYeg(component4, 3);
}
/* renamed from: component5--ajY-9A, reason: not valid java name */
private static final int m6262component5ajY9A(int[] component5) {
Intrinsics.checkNotNullParameter(component5, "$this$component5");
return UIntArray.m5853getpVg5ArA(component5, 4);
}
/* renamed from: component5-QwZRm1k, reason: not valid java name */
private static final long m6264component5QwZRm1k(long[] component5) {
Intrinsics.checkNotNullParameter(component5, "$this$component5");
return ULongArray.m5932getsVKNKU(component5, 4);
}
/* renamed from: component5-GBYM_sE, reason: not valid java name */
private static final byte m6263component5GBYM_sE(byte[] component5) {
Intrinsics.checkNotNullParameter(component5, "$this$component5");
return UByteArray.m5774getw2LRezQ(component5, 4);
}
/* renamed from: component5-rL5Bavg, reason: not valid java name */
private static final short m6265component5rL5Bavg(short[] component5) {
Intrinsics.checkNotNullParameter(component5, "$this$component5");
return UShortArray.m6037getMh2AYeg(component5, 4);
}
/* renamed from: elementAtOrNull-qFRl0hI, reason: not valid java name */
private static final UInt m6324elementAtOrNullqFRl0hI(int[] elementAtOrNull, int i) {
Intrinsics.checkNotNullParameter(elementAtOrNull, "$this$elementAtOrNull");
return UArraysKt.m6444getOrNullqFRl0hI(elementAtOrNull, i);
}
/* renamed from: elementAtOrNull-r7IrZao, reason: not valid java name */
private static final ULong m6325elementAtOrNullr7IrZao(long[] elementAtOrNull, int i) {
Intrinsics.checkNotNullParameter(elementAtOrNull, "$this$elementAtOrNull");
return UArraysKt.m6445getOrNullr7IrZao(elementAtOrNull, i);
}
/* renamed from: elementAtOrNull-PpDY95g, reason: not valid java name */
private static final UByte m6322elementAtOrNullPpDY95g(byte[] elementAtOrNull, int i) {
Intrinsics.checkNotNullParameter(elementAtOrNull, "$this$elementAtOrNull");
return UArraysKt.m6442getOrNullPpDY95g(elementAtOrNull, i);
}
/* renamed from: elementAtOrNull-nggk6HY, reason: not valid java name */
private static final UShort m6323elementAtOrNullnggk6HY(short[] elementAtOrNull, int i) {
Intrinsics.checkNotNullParameter(elementAtOrNull, "$this$elementAtOrNull");
return UArraysKt.m6443getOrNullnggk6HY(elementAtOrNull, i);
}
/* renamed from: find-jgv0xPQ, reason: not valid java name */
private static final UInt m6360findjgv0xPQ(int[] find, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(find, "$this$find");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(find);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(find, i);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
return UInt.m5787boximpl(m5853getpVg5ArA);
}
}
return null;
}
/* renamed from: find-MShoTSo, reason: not valid java name */
private static final ULong m6359findMShoTSo(long[] find, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(find, "$this$find");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(find);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(find, i);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
return ULong.m5866boximpl(m5932getsVKNKU);
}
}
return null;
}
/* renamed from: find-JOV_ifY, reason: not valid java name */
private static final UByte m6358findJOV_ifY(byte[] find, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(find, "$this$find");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(find);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(find, i);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
return UByte.m5710boximpl(m5774getw2LRezQ);
}
}
return null;
}
/* renamed from: find-xTcfx_M, reason: not valid java name */
private static final UShort m6361findxTcfx_M(short[] find, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(find, "$this$find");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(find);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(find, i);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
return UShort.m5973boximpl(m6037getMh2AYeg);
}
}
return null;
}
/* renamed from: findLast-jgv0xPQ, reason: not valid java name */
private static final UInt m6364findLastjgv0xPQ(int[] findLast, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(findLast, "$this$findLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(findLast) - 1;
if (m5854getSizeimpl >= 0) {
while (true) {
int i = m5854getSizeimpl - 1;
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(findLast, m5854getSizeimpl);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
return UInt.m5787boximpl(m5853getpVg5ArA);
}
if (i < 0) {
break;
}
m5854getSizeimpl = i;
}
}
return null;
}
/* renamed from: findLast-MShoTSo, reason: not valid java name */
private static final ULong m6363findLastMShoTSo(long[] findLast, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(findLast, "$this$findLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(findLast) - 1;
if (m5933getSizeimpl >= 0) {
while (true) {
int i = m5933getSizeimpl - 1;
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(findLast, m5933getSizeimpl);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
return ULong.m5866boximpl(m5932getsVKNKU);
}
if (i < 0) {
break;
}
m5933getSizeimpl = i;
}
}
return null;
}
/* renamed from: findLast-JOV_ifY, reason: not valid java name */
private static final UByte m6362findLastJOV_ifY(byte[] findLast, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(findLast, "$this$findLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(findLast) - 1;
if (m5775getSizeimpl >= 0) {
while (true) {
int i = m5775getSizeimpl - 1;
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(findLast, m5775getSizeimpl);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
return UByte.m5710boximpl(m5774getw2LRezQ);
}
if (i < 0) {
break;
}
m5775getSizeimpl = i;
}
}
return null;
}
/* renamed from: findLast-xTcfx_M, reason: not valid java name */
private static final UShort m6365findLastxTcfx_M(short[] findLast, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(findLast, "$this$findLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(findLast) - 1;
if (m6038getSizeimpl >= 0) {
while (true) {
int i = m6038getSizeimpl - 1;
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(findLast, m6038getSizeimpl);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
return UShort.m5973boximpl(m6037getMh2AYeg);
}
if (i < 0) {
break;
}
m6038getSizeimpl = i;
}
}
return null;
}
/* renamed from: first--ajY-9A, reason: not valid java name */
private static final int m6366firstajY9A(int[] first) {
Intrinsics.checkNotNullParameter(first, "$this$first");
return UInt.m5793constructorimpl(ArraysKt.first(first));
}
/* renamed from: first-QwZRm1k, reason: not valid java name */
private static final long m6370firstQwZRm1k(long[] first) {
Intrinsics.checkNotNullParameter(first, "$this$first");
return ULong.m5872constructorimpl(ArraysKt.first(first));
}
/* renamed from: first-GBYM_sE, reason: not valid java name */
private static final byte m6367firstGBYM_sE(byte[] first) {
Intrinsics.checkNotNullParameter(first, "$this$first");
return UByte.m5716constructorimpl(ArraysKt.first(first));
}
/* renamed from: first-rL5Bavg, reason: not valid java name */
private static final short m6372firstrL5Bavg(short[] first) {
Intrinsics.checkNotNullParameter(first, "$this$first");
return UShort.m5979constructorimpl(ArraysKt.first(first));
}
/* renamed from: first-jgv0xPQ, reason: not valid java name */
private static final int m6371firstjgv0xPQ(int[] first, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(first, "$this$first");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(first);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(first, i);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
return m5853getpVg5ArA;
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: first-MShoTSo, reason: not valid java name */
private static final long m6369firstMShoTSo(long[] first, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(first, "$this$first");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(first);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(first, i);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
return m5932getsVKNKU;
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: first-JOV_ifY, reason: not valid java name */
private static final byte m6368firstJOV_ifY(byte[] first, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(first, "$this$first");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(first);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(first, i);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
return m5774getw2LRezQ;
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: first-xTcfx_M, reason: not valid java name */
private static final short m6373firstxTcfx_M(short[] first, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(first, "$this$first");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(first);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(first, i);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
return m6037getMh2AYeg;
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: firstOrNull--ajY-9A, reason: not valid java name */
public static final UInt m6374firstOrNullajY9A(int[] firstOrNull) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
if (UIntArray.m5856isEmptyimpl(firstOrNull)) {
return null;
}
return UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(firstOrNull, 0));
}
/* renamed from: firstOrNull-QwZRm1k, reason: not valid java name */
public static final ULong m6378firstOrNullQwZRm1k(long[] firstOrNull) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
if (ULongArray.m5935isEmptyimpl(firstOrNull)) {
return null;
}
return ULong.m5866boximpl(ULongArray.m5932getsVKNKU(firstOrNull, 0));
}
/* renamed from: firstOrNull-GBYM_sE, reason: not valid java name */
public static final UByte m6375firstOrNullGBYM_sE(byte[] firstOrNull) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
if (UByteArray.m5777isEmptyimpl(firstOrNull)) {
return null;
}
return UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(firstOrNull, 0));
}
/* renamed from: firstOrNull-rL5Bavg, reason: not valid java name */
public static final UShort m6380firstOrNullrL5Bavg(short[] firstOrNull) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
if (UShortArray.m6040isEmptyimpl(firstOrNull)) {
return null;
}
return UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(firstOrNull, 0));
}
/* renamed from: firstOrNull-jgv0xPQ, reason: not valid java name */
private static final UInt m6379firstOrNulljgv0xPQ(int[] firstOrNull, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(firstOrNull);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(firstOrNull, i);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
return UInt.m5787boximpl(m5853getpVg5ArA);
}
}
return null;
}
/* renamed from: firstOrNull-MShoTSo, reason: not valid java name */
private static final ULong m6377firstOrNullMShoTSo(long[] firstOrNull, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(firstOrNull);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(firstOrNull, i);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
return ULong.m5866boximpl(m5932getsVKNKU);
}
}
return null;
}
/* renamed from: firstOrNull-JOV_ifY, reason: not valid java name */
private static final UByte m6376firstOrNullJOV_ifY(byte[] firstOrNull, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(firstOrNull);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(firstOrNull, i);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
return UByte.m5710boximpl(m5774getw2LRezQ);
}
}
return null;
}
/* renamed from: firstOrNull-xTcfx_M, reason: not valid java name */
private static final UShort m6381firstOrNullxTcfx_M(short[] firstOrNull, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(firstOrNull, "$this$firstOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(firstOrNull);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(firstOrNull, i);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
return UShort.m5973boximpl(m6037getMh2AYeg);
}
}
return null;
}
/* renamed from: indexOf-uWY9BYg, reason: not valid java name */
private static final int m6465indexOfuWY9BYg(int[] indexOf, int i) {
Intrinsics.checkNotNullParameter(indexOf, "$this$indexOf");
return ArraysKt.indexOf(indexOf, i);
}
/* renamed from: indexOf-3uqUaXg, reason: not valid java name */
private static final int m6462indexOf3uqUaXg(long[] indexOf, long j) {
Intrinsics.checkNotNullParameter(indexOf, "$this$indexOf");
return ArraysKt.indexOf(indexOf, j);
}
/* renamed from: indexOf-gMuBH34, reason: not valid java name */
private static final int m6464indexOfgMuBH34(byte[] indexOf, byte b) {
Intrinsics.checkNotNullParameter(indexOf, "$this$indexOf");
return ArraysKt.indexOf(indexOf, b);
}
/* renamed from: indexOf-XzdR7RA, reason: not valid java name */
private static final int m6463indexOfXzdR7RA(short[] indexOf, short s) {
Intrinsics.checkNotNullParameter(indexOf, "$this$indexOf");
return ArraysKt.indexOf(indexOf, s);
}
/* renamed from: last--ajY-9A, reason: not valid java name */
private static final int m6474lastajY9A(int[] last) {
Intrinsics.checkNotNullParameter(last, "$this$last");
return UInt.m5793constructorimpl(ArraysKt.last(last));
}
/* renamed from: last-QwZRm1k, reason: not valid java name */
private static final long m6478lastQwZRm1k(long[] last) {
Intrinsics.checkNotNullParameter(last, "$this$last");
return ULong.m5872constructorimpl(ArraysKt.last(last));
}
/* renamed from: last-GBYM_sE, reason: not valid java name */
private static final byte m6475lastGBYM_sE(byte[] last) {
Intrinsics.checkNotNullParameter(last, "$this$last");
return UByte.m5716constructorimpl(ArraysKt.last(last));
}
/* renamed from: last-rL5Bavg, reason: not valid java name */
private static final short m6480lastrL5Bavg(short[] last) {
Intrinsics.checkNotNullParameter(last, "$this$last");
return UShort.m5979constructorimpl(ArraysKt.last(last));
}
/* renamed from: last-jgv0xPQ, reason: not valid java name */
private static final int m6479lastjgv0xPQ(int[] last, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(last, "$this$last");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(last) - 1;
if (m5854getSizeimpl >= 0) {
while (true) {
int i = m5854getSizeimpl - 1;
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(last, m5854getSizeimpl);
if (!predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
if (i < 0) {
break;
}
m5854getSizeimpl = i;
} else {
return m5853getpVg5ArA;
}
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: last-MShoTSo, reason: not valid java name */
private static final long m6477lastMShoTSo(long[] last, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(last, "$this$last");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(last) - 1;
if (m5933getSizeimpl >= 0) {
while (true) {
int i = m5933getSizeimpl - 1;
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(last, m5933getSizeimpl);
if (!predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
if (i < 0) {
break;
}
m5933getSizeimpl = i;
} else {
return m5932getsVKNKU;
}
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: last-JOV_ifY, reason: not valid java name */
private static final byte m6476lastJOV_ifY(byte[] last, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(last, "$this$last");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(last) - 1;
if (m5775getSizeimpl >= 0) {
while (true) {
int i = m5775getSizeimpl - 1;
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(last, m5775getSizeimpl);
if (!predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
if (i < 0) {
break;
}
m5775getSizeimpl = i;
} else {
return m5774getw2LRezQ;
}
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: last-xTcfx_M, reason: not valid java name */
private static final short m6481lastxTcfx_M(short[] last, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(last, "$this$last");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(last) - 1;
if (m6038getSizeimpl >= 0) {
while (true) {
int i = m6038getSizeimpl - 1;
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(last, m6038getSizeimpl);
if (!predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
if (i < 0) {
break;
}
m6038getSizeimpl = i;
} else {
return m6037getMh2AYeg;
}
}
}
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
/* renamed from: lastIndexOf-uWY9BYg, reason: not valid java name */
private static final int m6485lastIndexOfuWY9BYg(int[] lastIndexOf, int i) {
Intrinsics.checkNotNullParameter(lastIndexOf, "$this$lastIndexOf");
return ArraysKt.lastIndexOf(lastIndexOf, i);
}
/* renamed from: lastIndexOf-3uqUaXg, reason: not valid java name */
private static final int m6482lastIndexOf3uqUaXg(long[] lastIndexOf, long j) {
Intrinsics.checkNotNullParameter(lastIndexOf, "$this$lastIndexOf");
return ArraysKt.lastIndexOf(lastIndexOf, j);
}
/* renamed from: lastIndexOf-gMuBH34, reason: not valid java name */
private static final int m6484lastIndexOfgMuBH34(byte[] lastIndexOf, byte b) {
Intrinsics.checkNotNullParameter(lastIndexOf, "$this$lastIndexOf");
return ArraysKt.lastIndexOf(lastIndexOf, b);
}
/* renamed from: lastIndexOf-XzdR7RA, reason: not valid java name */
private static final int m6483lastIndexOfXzdR7RA(short[] lastIndexOf, short s) {
Intrinsics.checkNotNullParameter(lastIndexOf, "$this$lastIndexOf");
return ArraysKt.lastIndexOf(lastIndexOf, s);
}
/* renamed from: lastOrNull--ajY-9A, reason: not valid java name */
public static final UInt m6486lastOrNullajY9A(int[] lastOrNull) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
if (UIntArray.m5856isEmptyimpl(lastOrNull)) {
return null;
}
return UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(lastOrNull, UIntArray.m5854getSizeimpl(lastOrNull) - 1));
}
/* renamed from: lastOrNull-QwZRm1k, reason: not valid java name */
public static final ULong m6490lastOrNullQwZRm1k(long[] lastOrNull) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
if (ULongArray.m5935isEmptyimpl(lastOrNull)) {
return null;
}
return ULong.m5866boximpl(ULongArray.m5932getsVKNKU(lastOrNull, ULongArray.m5933getSizeimpl(lastOrNull) - 1));
}
/* renamed from: lastOrNull-GBYM_sE, reason: not valid java name */
public static final UByte m6487lastOrNullGBYM_sE(byte[] lastOrNull) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
if (UByteArray.m5777isEmptyimpl(lastOrNull)) {
return null;
}
return UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(lastOrNull, UByteArray.m5775getSizeimpl(lastOrNull) - 1));
}
/* renamed from: lastOrNull-rL5Bavg, reason: not valid java name */
public static final UShort m6492lastOrNullrL5Bavg(short[] lastOrNull) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
if (UShortArray.m6040isEmptyimpl(lastOrNull)) {
return null;
}
return UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(lastOrNull, UShortArray.m6038getSizeimpl(lastOrNull) - 1));
}
/* renamed from: lastOrNull-jgv0xPQ, reason: not valid java name */
private static final UInt m6491lastOrNulljgv0xPQ(int[] lastOrNull, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(lastOrNull) - 1;
if (m5854getSizeimpl < 0) {
return null;
}
while (true) {
int i = m5854getSizeimpl - 1;
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(lastOrNull, m5854getSizeimpl);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
return UInt.m5787boximpl(m5853getpVg5ArA);
}
if (i < 0) {
return null;
}
m5854getSizeimpl = i;
}
}
/* renamed from: lastOrNull-MShoTSo, reason: not valid java name */
private static final ULong m6489lastOrNullMShoTSo(long[] lastOrNull, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(lastOrNull) - 1;
if (m5933getSizeimpl < 0) {
return null;
}
while (true) {
int i = m5933getSizeimpl - 1;
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(lastOrNull, m5933getSizeimpl);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
return ULong.m5866boximpl(m5932getsVKNKU);
}
if (i < 0) {
return null;
}
m5933getSizeimpl = i;
}
}
/* renamed from: lastOrNull-JOV_ifY, reason: not valid java name */
private static final UByte m6488lastOrNullJOV_ifY(byte[] lastOrNull, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(lastOrNull) - 1;
if (m5775getSizeimpl < 0) {
return null;
}
while (true) {
int i = m5775getSizeimpl - 1;
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(lastOrNull, m5775getSizeimpl);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
return UByte.m5710boximpl(m5774getw2LRezQ);
}
if (i < 0) {
return null;
}
m5775getSizeimpl = i;
}
}
/* renamed from: lastOrNull-xTcfx_M, reason: not valid java name */
private static final UShort m6493lastOrNullxTcfx_M(short[] lastOrNull, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(lastOrNull, "$this$lastOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(lastOrNull) - 1;
if (m6038getSizeimpl < 0) {
return null;
}
while (true) {
int i = m6038getSizeimpl - 1;
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(lastOrNull, m6038getSizeimpl);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
return UShort.m5973boximpl(m6037getMh2AYeg);
}
if (i < 0) {
return null;
}
m6038getSizeimpl = i;
}
}
/* renamed from: random--ajY-9A, reason: not valid java name */
private static final int m6650randomajY9A(int[] random) {
Intrinsics.checkNotNullParameter(random, "$this$random");
return UArraysKt.m6651random2D5oskM(random, Random.INSTANCE);
}
/* renamed from: random-QwZRm1k, reason: not valid java name */
private static final long m6654randomQwZRm1k(long[] random) {
Intrinsics.checkNotNullParameter(random, "$this$random");
return UArraysKt.m6653randomJzugnMA(random, Random.INSTANCE);
}
/* renamed from: random-GBYM_sE, reason: not valid java name */
private static final byte m6652randomGBYM_sE(byte[] random) {
Intrinsics.checkNotNullParameter(random, "$this$random");
return UArraysKt.m6655randomoSF2wD8(random, Random.INSTANCE);
}
/* renamed from: random-rL5Bavg, reason: not valid java name */
private static final short m6656randomrL5Bavg(short[] random) {
Intrinsics.checkNotNullParameter(random, "$this$random");
return UArraysKt.m6657randoms5X_as8(random, Random.INSTANCE);
}
/* renamed from: random-2D5oskM, reason: not valid java name */
public static final int m6651random2D5oskM(int[] random, Random random2) {
Intrinsics.checkNotNullParameter(random, "$this$random");
Intrinsics.checkNotNullParameter(random2, "random");
if (UIntArray.m5856isEmptyimpl(random)) {
throw new NoSuchElementException("Array is empty.");
}
return UIntArray.m5853getpVg5ArA(random, random2.nextInt(UIntArray.m5854getSizeimpl(random)));
}
/* renamed from: random-JzugnMA, reason: not valid java name */
public static final long m6653randomJzugnMA(long[] random, Random random2) {
Intrinsics.checkNotNullParameter(random, "$this$random");
Intrinsics.checkNotNullParameter(random2, "random");
if (ULongArray.m5935isEmptyimpl(random)) {
throw new NoSuchElementException("Array is empty.");
}
return ULongArray.m5932getsVKNKU(random, random2.nextInt(ULongArray.m5933getSizeimpl(random)));
}
/* renamed from: random-oSF2wD8, reason: not valid java name */
public static final byte m6655randomoSF2wD8(byte[] random, Random random2) {
Intrinsics.checkNotNullParameter(random, "$this$random");
Intrinsics.checkNotNullParameter(random2, "random");
if (UByteArray.m5777isEmptyimpl(random)) {
throw new NoSuchElementException("Array is empty.");
}
return UByteArray.m5774getw2LRezQ(random, random2.nextInt(UByteArray.m5775getSizeimpl(random)));
}
/* renamed from: random-s5X_as8, reason: not valid java name */
public static final short m6657randoms5X_as8(short[] random, Random random2) {
Intrinsics.checkNotNullParameter(random, "$this$random");
Intrinsics.checkNotNullParameter(random2, "random");
if (UShortArray.m6040isEmptyimpl(random)) {
throw new NoSuchElementException("Array is empty.");
}
return UShortArray.m6037getMh2AYeg(random, random2.nextInt(UShortArray.m6038getSizeimpl(random)));
}
/* renamed from: randomOrNull--ajY-9A, reason: not valid java name */
private static final UInt m6658randomOrNullajY9A(int[] randomOrNull) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
return UArraysKt.m6659randomOrNull2D5oskM(randomOrNull, Random.INSTANCE);
}
/* renamed from: randomOrNull-QwZRm1k, reason: not valid java name */
private static final ULong m6662randomOrNullQwZRm1k(long[] randomOrNull) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
return UArraysKt.m6661randomOrNullJzugnMA(randomOrNull, Random.INSTANCE);
}
/* renamed from: randomOrNull-GBYM_sE, reason: not valid java name */
private static final UByte m6660randomOrNullGBYM_sE(byte[] randomOrNull) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
return UArraysKt.m6663randomOrNulloSF2wD8(randomOrNull, Random.INSTANCE);
}
/* renamed from: randomOrNull-rL5Bavg, reason: not valid java name */
private static final UShort m6664randomOrNullrL5Bavg(short[] randomOrNull) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
return UArraysKt.m6665randomOrNulls5X_as8(randomOrNull, Random.INSTANCE);
}
/* renamed from: randomOrNull-2D5oskM, reason: not valid java name */
public static final UInt m6659randomOrNull2D5oskM(int[] randomOrNull, Random random) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
Intrinsics.checkNotNullParameter(random, "random");
if (UIntArray.m5856isEmptyimpl(randomOrNull)) {
return null;
}
return UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(randomOrNull, random.nextInt(UIntArray.m5854getSizeimpl(randomOrNull))));
}
/* renamed from: randomOrNull-JzugnMA, reason: not valid java name */
public static final ULong m6661randomOrNullJzugnMA(long[] randomOrNull, Random random) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
Intrinsics.checkNotNullParameter(random, "random");
if (ULongArray.m5935isEmptyimpl(randomOrNull)) {
return null;
}
return ULong.m5866boximpl(ULongArray.m5932getsVKNKU(randomOrNull, random.nextInt(ULongArray.m5933getSizeimpl(randomOrNull))));
}
/* renamed from: randomOrNull-oSF2wD8, reason: not valid java name */
public static final UByte m6663randomOrNulloSF2wD8(byte[] randomOrNull, Random random) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
Intrinsics.checkNotNullParameter(random, "random");
if (UByteArray.m5777isEmptyimpl(randomOrNull)) {
return null;
}
return UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(randomOrNull, random.nextInt(UByteArray.m5775getSizeimpl(randomOrNull))));
}
/* renamed from: randomOrNull-s5X_as8, reason: not valid java name */
public static final UShort m6665randomOrNulls5X_as8(short[] randomOrNull, Random random) {
Intrinsics.checkNotNullParameter(randomOrNull, "$this$randomOrNull");
Intrinsics.checkNotNullParameter(random, "random");
if (UShortArray.m6040isEmptyimpl(randomOrNull)) {
return null;
}
return UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(randomOrNull, random.nextInt(UShortArray.m6038getSizeimpl(randomOrNull))));
}
/* renamed from: single--ajY-9A, reason: not valid java name */
private static final int m6746singleajY9A(int[] single) {
Intrinsics.checkNotNullParameter(single, "$this$single");
return UInt.m5793constructorimpl(ArraysKt.single(single));
}
/* renamed from: single-QwZRm1k, reason: not valid java name */
private static final long m6750singleQwZRm1k(long[] single) {
Intrinsics.checkNotNullParameter(single, "$this$single");
return ULong.m5872constructorimpl(ArraysKt.single(single));
}
/* renamed from: single-GBYM_sE, reason: not valid java name */
private static final byte m6747singleGBYM_sE(byte[] single) {
Intrinsics.checkNotNullParameter(single, "$this$single");
return UByte.m5716constructorimpl(ArraysKt.single(single));
}
/* renamed from: single-rL5Bavg, reason: not valid java name */
private static final short m6752singlerL5Bavg(short[] single) {
Intrinsics.checkNotNullParameter(single, "$this$single");
return UShort.m5979constructorimpl(ArraysKt.single(single));
}
/* renamed from: single-jgv0xPQ, reason: not valid java name */
private static final int m6751singlejgv0xPQ(int[] single, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(single, "$this$single");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(single);
UInt uInt = null;
boolean z = false;
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(single, i);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
if (z) {
throw new IllegalArgumentException("Array contains more than one matching element.");
}
uInt = UInt.m5787boximpl(m5853getpVg5ArA);
z = true;
}
}
if (!z) {
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
return uInt.getData();
}
/* renamed from: single-MShoTSo, reason: not valid java name */
private static final long m6749singleMShoTSo(long[] single, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(single, "$this$single");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(single);
ULong uLong = null;
boolean z = false;
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(single, i);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
if (z) {
throw new IllegalArgumentException("Array contains more than one matching element.");
}
uLong = ULong.m5866boximpl(m5932getsVKNKU);
z = true;
}
}
if (!z) {
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
return uLong.getData();
}
/* renamed from: single-JOV_ifY, reason: not valid java name */
private static final byte m6748singleJOV_ifY(byte[] single, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(single, "$this$single");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(single);
UByte uByte = null;
boolean z = false;
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(single, i);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
if (z) {
throw new IllegalArgumentException("Array contains more than one matching element.");
}
uByte = UByte.m5710boximpl(m5774getw2LRezQ);
z = true;
}
}
if (!z) {
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
return uByte.getData();
}
/* renamed from: single-xTcfx_M, reason: not valid java name */
private static final short m6753singlexTcfx_M(short[] single, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(single, "$this$single");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(single);
UShort uShort = null;
boolean z = false;
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(single, i);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
if (z) {
throw new IllegalArgumentException("Array contains more than one matching element.");
}
uShort = UShort.m5973boximpl(m6037getMh2AYeg);
z = true;
}
}
if (!z) {
throw new NoSuchElementException("Array contains no element matching the predicate.");
}
return uShort.getData();
}
/* renamed from: singleOrNull--ajY-9A, reason: not valid java name */
public static final UInt m6754singleOrNullajY9A(int[] singleOrNull) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
if (UIntArray.m5854getSizeimpl(singleOrNull) == 1) {
return UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(singleOrNull, 0));
}
return null;
}
/* renamed from: singleOrNull-QwZRm1k, reason: not valid java name */
public static final ULong m6758singleOrNullQwZRm1k(long[] singleOrNull) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
if (ULongArray.m5933getSizeimpl(singleOrNull) == 1) {
return ULong.m5866boximpl(ULongArray.m5932getsVKNKU(singleOrNull, 0));
}
return null;
}
/* renamed from: singleOrNull-GBYM_sE, reason: not valid java name */
public static final UByte m6755singleOrNullGBYM_sE(byte[] singleOrNull) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
if (UByteArray.m5775getSizeimpl(singleOrNull) == 1) {
return UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(singleOrNull, 0));
}
return null;
}
/* renamed from: singleOrNull-rL5Bavg, reason: not valid java name */
public static final UShort m6760singleOrNullrL5Bavg(short[] singleOrNull) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
if (UShortArray.m6038getSizeimpl(singleOrNull) == 1) {
return UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(singleOrNull, 0));
}
return null;
}
/* renamed from: singleOrNull-jgv0xPQ, reason: not valid java name */
private static final UInt m6759singleOrNulljgv0xPQ(int[] singleOrNull, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(singleOrNull);
UInt uInt = null;
boolean z = false;
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(singleOrNull, i);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
if (z) {
return null;
}
uInt = UInt.m5787boximpl(m5853getpVg5ArA);
z = true;
}
}
if (z) {
return uInt;
}
return null;
}
/* renamed from: singleOrNull-MShoTSo, reason: not valid java name */
private static final ULong m6757singleOrNullMShoTSo(long[] singleOrNull, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(singleOrNull);
ULong uLong = null;
boolean z = false;
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(singleOrNull, i);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
if (z) {
return null;
}
uLong = ULong.m5866boximpl(m5932getsVKNKU);
z = true;
}
}
if (z) {
return uLong;
}
return null;
}
/* renamed from: singleOrNull-JOV_ifY, reason: not valid java name */
private static final UByte m6756singleOrNullJOV_ifY(byte[] singleOrNull, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(singleOrNull);
UByte uByte = null;
boolean z = false;
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(singleOrNull, i);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
if (z) {
return null;
}
uByte = UByte.m5710boximpl(m5774getw2LRezQ);
z = true;
}
}
if (z) {
return uByte;
}
return null;
}
/* renamed from: singleOrNull-xTcfx_M, reason: not valid java name */
private static final UShort m6761singleOrNullxTcfx_M(short[] singleOrNull, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(singleOrNull, "$this$singleOrNull");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(singleOrNull);
UShort uShort = null;
boolean z = false;
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(singleOrNull, i);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
if (z) {
return null;
}
uShort = UShort.m5973boximpl(m6037getMh2AYeg);
z = true;
}
}
if (z) {
return uShort;
}
return null;
}
/* renamed from: drop-qFRl0hI, reason: not valid java name */
public static final List<UInt> m6304dropqFRl0hI(int[] drop, int i) {
Intrinsics.checkNotNullParameter(drop, "$this$drop");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6832takeLastqFRl0hI(drop, RangesKt.coerceAtLeast(UIntArray.m5854getSizeimpl(drop) - i, 0));
}
/* renamed from: drop-r7IrZao, reason: not valid java name */
public static final List<ULong> m6305dropr7IrZao(long[] drop, int i) {
Intrinsics.checkNotNullParameter(drop, "$this$drop");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6833takeLastr7IrZao(drop, RangesKt.coerceAtLeast(ULongArray.m5933getSizeimpl(drop) - i, 0));
}
/* renamed from: drop-PpDY95g, reason: not valid java name */
public static final List<UByte> m6302dropPpDY95g(byte[] drop, int i) {
Intrinsics.checkNotNullParameter(drop, "$this$drop");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6830takeLastPpDY95g(drop, RangesKt.coerceAtLeast(UByteArray.m5775getSizeimpl(drop) - i, 0));
}
/* renamed from: drop-nggk6HY, reason: not valid java name */
public static final List<UShort> m6303dropnggk6HY(short[] drop, int i) {
Intrinsics.checkNotNullParameter(drop, "$this$drop");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6831takeLastnggk6HY(drop, RangesKt.coerceAtLeast(UShortArray.m6038getSizeimpl(drop) - i, 0));
}
/* renamed from: dropLast-qFRl0hI, reason: not valid java name */
public static final List<UInt> m6308dropLastqFRl0hI(int[] dropLast, int i) {
Intrinsics.checkNotNullParameter(dropLast, "$this$dropLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6828takeqFRl0hI(dropLast, RangesKt.coerceAtLeast(UIntArray.m5854getSizeimpl(dropLast) - i, 0));
}
/* renamed from: dropLast-r7IrZao, reason: not valid java name */
public static final List<ULong> m6309dropLastr7IrZao(long[] dropLast, int i) {
Intrinsics.checkNotNullParameter(dropLast, "$this$dropLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6829taker7IrZao(dropLast, RangesKt.coerceAtLeast(ULongArray.m5933getSizeimpl(dropLast) - i, 0));
}
/* renamed from: dropLast-PpDY95g, reason: not valid java name */
public static final List<UByte> m6306dropLastPpDY95g(byte[] dropLast, int i) {
Intrinsics.checkNotNullParameter(dropLast, "$this$dropLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6826takePpDY95g(dropLast, RangesKt.coerceAtLeast(UByteArray.m5775getSizeimpl(dropLast) - i, 0));
}
/* renamed from: dropLast-nggk6HY, reason: not valid java name */
public static final List<UShort> m6307dropLastnggk6HY(short[] dropLast, int i) {
Intrinsics.checkNotNullParameter(dropLast, "$this$dropLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
return UArraysKt.m6827takenggk6HY(dropLast, RangesKt.coerceAtLeast(UShortArray.m6038getSizeimpl(dropLast) - i, 0));
}
/* renamed from: dropWhile-jgv0xPQ, reason: not valid java name */
private static final List<UInt> m6316dropWhilejgv0xPQ(int[] dropWhile, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropWhile, "$this$dropWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(dropWhile);
boolean z = false;
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(dropWhile, i);
if (z) {
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
} else if (!predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
z = true;
}
}
return arrayList;
}
/* renamed from: dropWhile-MShoTSo, reason: not valid java name */
private static final List<ULong> m6315dropWhileMShoTSo(long[] dropWhile, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropWhile, "$this$dropWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(dropWhile);
boolean z = false;
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(dropWhile, i);
if (z) {
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
} else if (!predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
z = true;
}
}
return arrayList;
}
/* renamed from: dropWhile-JOV_ifY, reason: not valid java name */
private static final List<UByte> m6314dropWhileJOV_ifY(byte[] dropWhile, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropWhile, "$this$dropWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(dropWhile);
boolean z = false;
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(dropWhile, i);
if (z) {
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
} else if (!predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
z = true;
}
}
return arrayList;
}
/* renamed from: dropWhile-xTcfx_M, reason: not valid java name */
private static final List<UShort> m6317dropWhilexTcfx_M(short[] dropWhile, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropWhile, "$this$dropWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(dropWhile);
boolean z = false;
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(dropWhile, i);
if (z) {
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
} else if (!predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
z = true;
}
}
return arrayList;
}
/* renamed from: filter-jgv0xPQ, reason: not valid java name */
private static final List<UInt> m6336filterjgv0xPQ(int[] filter, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filter, "$this$filter");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(filter);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(filter, i);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
}
return arrayList;
}
/* renamed from: filter-MShoTSo, reason: not valid java name */
private static final List<ULong> m6335filterMShoTSo(long[] filter, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filter, "$this$filter");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(filter);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(filter, i);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
}
}
return arrayList;
}
/* renamed from: filter-JOV_ifY, reason: not valid java name */
private static final List<UByte> m6334filterJOV_ifY(byte[] filter, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filter, "$this$filter");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(filter);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(filter, i);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
}
return arrayList;
}
/* renamed from: filter-xTcfx_M, reason: not valid java name */
private static final List<UShort> m6337filterxTcfx_M(short[] filter, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filter, "$this$filter");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(filter);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(filter, i);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
}
return arrayList;
}
/* renamed from: filterIndexed-WyvcNBI, reason: not valid java name */
private static final List<UInt> m6339filterIndexedWyvcNBI(int[] filterIndexed, Function2<? super Integer, ? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexed, "$this$filterIndexed");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(filterIndexed);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(filterIndexed, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
i++;
i2 = i3;
}
return arrayList;
}
/* renamed from: filterIndexed-s8dVfGU, reason: not valid java name */
private static final List<ULong> m6340filterIndexeds8dVfGU(long[] filterIndexed, Function2<? super Integer, ? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexed, "$this$filterIndexed");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(filterIndexed);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(filterIndexed, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
}
i++;
i2 = i3;
}
return arrayList;
}
/* renamed from: filterIndexed-ELGow60, reason: not valid java name */
private static final List<UByte> m6338filterIndexedELGow60(byte[] filterIndexed, Function2<? super Integer, ? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexed, "$this$filterIndexed");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(filterIndexed);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(filterIndexed, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
i++;
i2 = i3;
}
return arrayList;
}
/* renamed from: filterIndexed-xzaTVY8, reason: not valid java name */
private static final List<UShort> m6341filterIndexedxzaTVY8(short[] filterIndexed, Function2<? super Integer, ? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexed, "$this$filterIndexed");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(filterIndexed);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(filterIndexed, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
i++;
i2 = i3;
}
return arrayList;
}
/* renamed from: filterIndexedTo--6EtJGI, reason: not valid java name */
private static final <C extends Collection<? super UInt>> C m6342filterIndexedTo6EtJGI(int[] filterIndexedTo, C destination, Function2<? super Integer, ? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexedTo, "$this$filterIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(filterIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(filterIndexedTo, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
destination.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
i++;
i2 = i3;
}
return destination;
}
/* renamed from: filterIndexedTo-pe2Q0Dw, reason: not valid java name */
private static final <C extends Collection<? super ULong>> C m6345filterIndexedTope2Q0Dw(long[] filterIndexedTo, C destination, Function2<? super Integer, ? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexedTo, "$this$filterIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(filterIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(filterIndexedTo, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
destination.add(ULong.m5866boximpl(m5932getsVKNKU));
}
i++;
i2 = i3;
}
return destination;
}
/* renamed from: filterIndexedTo-eNpIKz8, reason: not valid java name */
private static final <C extends Collection<? super UByte>> C m6344filterIndexedToeNpIKz8(byte[] filterIndexedTo, C destination, Function2<? super Integer, ? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexedTo, "$this$filterIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(filterIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(filterIndexedTo, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
destination.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
i++;
i2 = i3;
}
return destination;
}
/* renamed from: filterIndexedTo-QqktQ3k, reason: not valid java name */
private static final <C extends Collection<? super UShort>> C m6343filterIndexedToQqktQ3k(short[] filterIndexedTo, C destination, Function2<? super Integer, ? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterIndexedTo, "$this$filterIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(filterIndexedTo);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(filterIndexedTo, i);
int i3 = i2 + 1;
if (predicate.invoke(Integer.valueOf(i2), UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
destination.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
i++;
i2 = i3;
}
return destination;
}
/* renamed from: filterNot-jgv0xPQ, reason: not valid java name */
private static final List<UInt> m6348filterNotjgv0xPQ(int[] filterNot, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNot, "$this$filterNot");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(filterNot);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(filterNot, i);
if (!predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
}
return arrayList;
}
/* renamed from: filterNot-MShoTSo, reason: not valid java name */
private static final List<ULong> m6347filterNotMShoTSo(long[] filterNot, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNot, "$this$filterNot");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(filterNot);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(filterNot, i);
if (!predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
}
}
return arrayList;
}
/* renamed from: filterNot-JOV_ifY, reason: not valid java name */
private static final List<UByte> m6346filterNotJOV_ifY(byte[] filterNot, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNot, "$this$filterNot");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(filterNot);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(filterNot, i);
if (!predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
}
return arrayList;
}
/* renamed from: filterNot-xTcfx_M, reason: not valid java name */
private static final List<UShort> m6349filterNotxTcfx_M(short[] filterNot, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNot, "$this$filterNot");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(filterNot);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(filterNot, i);
if (!predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
}
return arrayList;
}
/* renamed from: filterNotTo-wU5IKMo, reason: not valid java name */
private static final <C extends Collection<? super UInt>> C m6352filterNotTowU5IKMo(int[] filterNotTo, C destination, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNotTo, "$this$filterNotTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(filterNotTo);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(filterNotTo, i);
if (!predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
destination.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
}
return destination;
}
/* renamed from: filterNotTo-HqK1JgA, reason: not valid java name */
private static final <C extends Collection<? super ULong>> C m6350filterNotToHqK1JgA(long[] filterNotTo, C destination, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNotTo, "$this$filterNotTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(filterNotTo);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(filterNotTo, i);
if (!predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
destination.add(ULong.m5866boximpl(m5932getsVKNKU));
}
}
return destination;
}
/* renamed from: filterNotTo-wzUQCXU, reason: not valid java name */
private static final <C extends Collection<? super UByte>> C m6353filterNotTowzUQCXU(byte[] filterNotTo, C destination, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNotTo, "$this$filterNotTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(filterNotTo);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(filterNotTo, i);
if (!predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
destination.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
}
return destination;
}
/* renamed from: filterNotTo-oEOeDjA, reason: not valid java name */
private static final <C extends Collection<? super UShort>> C m6351filterNotTooEOeDjA(short[] filterNotTo, C destination, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterNotTo, "$this$filterNotTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(filterNotTo);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(filterNotTo, i);
if (!predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
destination.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
}
return destination;
}
/* renamed from: filterTo-wU5IKMo, reason: not valid java name */
private static final <C extends Collection<? super UInt>> C m6356filterTowU5IKMo(int[] filterTo, C destination, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterTo, "$this$filterTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(filterTo);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(filterTo, i);
if (predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
destination.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
}
return destination;
}
/* renamed from: filterTo-HqK1JgA, reason: not valid java name */
private static final <C extends Collection<? super ULong>> C m6354filterToHqK1JgA(long[] filterTo, C destination, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterTo, "$this$filterTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(filterTo);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(filterTo, i);
if (predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
destination.add(ULong.m5866boximpl(m5932getsVKNKU));
}
}
return destination;
}
/* renamed from: filterTo-wzUQCXU, reason: not valid java name */
private static final <C extends Collection<? super UByte>> C m6357filterTowzUQCXU(byte[] filterTo, C destination, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterTo, "$this$filterTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(filterTo);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(filterTo, i);
if (predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
destination.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
}
return destination;
}
/* renamed from: filterTo-oEOeDjA, reason: not valid java name */
private static final <C extends Collection<? super UShort>> C m6355filterTooEOeDjA(short[] filterTo, C destination, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(filterTo, "$this$filterTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(filterTo);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(filterTo, i);
if (predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
destination.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
}
return destination;
}
/* renamed from: slice-tAntMlw, reason: not valid java name */
public static final List<UInt> m6769slicetAntMlw(int[] slice, IntRange indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
return indices.isEmpty() ? CollectionsKt.emptyList() : UArraysKt.m6166asListajY9A(UIntArray.m5848constructorimpl(ArraysKt.copyOfRange(slice, indices.getStart().intValue(), indices.getEndInclusive().intValue() + 1)));
}
/* renamed from: slice-ZRhS8yI, reason: not valid java name */
public static final List<ULong> m6767sliceZRhS8yI(long[] slice, IntRange indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
return indices.isEmpty() ? CollectionsKt.emptyList() : UArraysKt.m6168asListQwZRm1k(ULongArray.m5927constructorimpl(ArraysKt.copyOfRange(slice, indices.getStart().intValue(), indices.getEndInclusive().intValue() + 1)));
}
/* renamed from: slice-c0bezYM, reason: not valid java name */
public static final List<UByte> m6768slicec0bezYM(byte[] slice, IntRange indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
return indices.isEmpty() ? CollectionsKt.emptyList() : UArraysKt.m6167asListGBYM_sE(UByteArray.m5769constructorimpl(ArraysKt.copyOfRange(slice, indices.getStart().intValue(), indices.getEndInclusive().intValue() + 1)));
}
/* renamed from: slice-Q6IL4kU, reason: not valid java name */
public static final List<UShort> m6766sliceQ6IL4kU(short[] slice, IntRange indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
return indices.isEmpty() ? CollectionsKt.emptyList() : UArraysKt.m6169asListrL5Bavg(UShortArray.m6032constructorimpl(ArraysKt.copyOfRange(slice, indices.getStart().intValue(), indices.getEndInclusive().intValue() + 1)));
}
/* renamed from: slice-HwE9HBo, reason: not valid java name */
public static final List<UInt> m6763sliceHwE9HBo(int[] slice, Iterable<Integer> indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
int collectionSizeOrDefault = CollectionsKt.collectionSizeOrDefault(indices, 10);
if (collectionSizeOrDefault == 0) {
return CollectionsKt.emptyList();
}
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
Iterator<Integer> it = indices.iterator();
while (it.hasNext()) {
arrayList.add(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(slice, it.next().intValue())));
}
return arrayList;
}
/* renamed from: slice-F7u83W8, reason: not valid java name */
public static final List<ULong> m6762sliceF7u83W8(long[] slice, Iterable<Integer> indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
int collectionSizeOrDefault = CollectionsKt.collectionSizeOrDefault(indices, 10);
if (collectionSizeOrDefault == 0) {
return CollectionsKt.emptyList();
}
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
Iterator<Integer> it = indices.iterator();
while (it.hasNext()) {
arrayList.add(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(slice, it.next().intValue())));
}
return arrayList;
}
/* renamed from: slice-JQknh5Q, reason: not valid java name */
public static final List<UByte> m6765sliceJQknh5Q(byte[] slice, Iterable<Integer> indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
int collectionSizeOrDefault = CollectionsKt.collectionSizeOrDefault(indices, 10);
if (collectionSizeOrDefault == 0) {
return CollectionsKt.emptyList();
}
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
Iterator<Integer> it = indices.iterator();
while (it.hasNext()) {
arrayList.add(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(slice, it.next().intValue())));
}
return arrayList;
}
/* renamed from: slice-JGPC0-M, reason: not valid java name */
public static final List<UShort> m6764sliceJGPC0M(short[] slice, Iterable<Integer> indices) {
Intrinsics.checkNotNullParameter(slice, "$this$slice");
Intrinsics.checkNotNullParameter(indices, "indices");
int collectionSizeOrDefault = CollectionsKt.collectionSizeOrDefault(indices, 10);
if (collectionSizeOrDefault == 0) {
return CollectionsKt.emptyList();
}
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
Iterator<Integer> it = indices.iterator();
while (it.hasNext()) {
arrayList.add(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(slice, it.next().intValue())));
}
return arrayList;
}
/* renamed from: sliceArray-CFIt9YE, reason: not valid java name */
public static final int[] m6770sliceArrayCFIt9YE(int[] sliceArray, Collection<Integer> indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return UIntArray.m5848constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: sliceArray-kzHmqpY, reason: not valid java name */
public static final long[] m6774sliceArraykzHmqpY(long[] sliceArray, Collection<Integer> indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return ULongArray.m5927constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: sliceArray-xo_DsdI, reason: not valid java name */
public static final byte[] m6777sliceArrayxo_DsdI(byte[] sliceArray, Collection<Integer> indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return UByteArray.m5769constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: sliceArray-ojwP5H8, reason: not valid java name */
public static final short[] m6775sliceArrayojwP5H8(short[] sliceArray, Collection<Integer> indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return UShortArray.m6032constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: sliceArray-tAntMlw, reason: not valid java name */
public static final int[] m6776sliceArraytAntMlw(int[] sliceArray, IntRange indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return UIntArray.m5848constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: sliceArray-ZRhS8yI, reason: not valid java name */
public static final long[] m6772sliceArrayZRhS8yI(long[] sliceArray, IntRange indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return ULongArray.m5927constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: sliceArray-c0bezYM, reason: not valid java name */
public static final byte[] m6773sliceArrayc0bezYM(byte[] sliceArray, IntRange indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return UByteArray.m5769constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: sliceArray-Q6IL4kU, reason: not valid java name */
public static final short[] m6771sliceArrayQ6IL4kU(short[] sliceArray, IntRange indices) {
Intrinsics.checkNotNullParameter(sliceArray, "$this$sliceArray");
Intrinsics.checkNotNullParameter(indices, "indices");
return UShortArray.m6032constructorimpl(ArraysKt.sliceArray(sliceArray, indices));
}
/* renamed from: take-qFRl0hI, reason: not valid java name */
public static final List<UInt> m6828takeqFRl0hI(int[] take, int i) {
Intrinsics.checkNotNullParameter(take, "$this$take");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
if (i >= UIntArray.m5854getSizeimpl(take)) {
return CollectionsKt.toList(UIntArray.m5846boximpl(take));
}
if (i == 1) {
return CollectionsKt.listOf(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(take, 0)));
}
ArrayList arrayList = new ArrayList(i);
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(take);
int i2 = 0;
for (int i3 = 0; i3 < m5854getSizeimpl; i3++) {
arrayList.add(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(take, i3)));
i2++;
if (i2 == i) {
break;
}
}
return arrayList;
}
/* renamed from: take-r7IrZao, reason: not valid java name */
public static final List<ULong> m6829taker7IrZao(long[] take, int i) {
Intrinsics.checkNotNullParameter(take, "$this$take");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
if (i >= ULongArray.m5933getSizeimpl(take)) {
return CollectionsKt.toList(ULongArray.m5925boximpl(take));
}
if (i == 1) {
return CollectionsKt.listOf(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(take, 0)));
}
ArrayList arrayList = new ArrayList(i);
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(take);
int i2 = 0;
for (int i3 = 0; i3 < m5933getSizeimpl; i3++) {
arrayList.add(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(take, i3)));
i2++;
if (i2 == i) {
break;
}
}
return arrayList;
}
/* renamed from: take-PpDY95g, reason: not valid java name */
public static final List<UByte> m6826takePpDY95g(byte[] take, int i) {
Intrinsics.checkNotNullParameter(take, "$this$take");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
if (i >= UByteArray.m5775getSizeimpl(take)) {
return CollectionsKt.toList(UByteArray.m5767boximpl(take));
}
if (i == 1) {
return CollectionsKt.listOf(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(take, 0)));
}
ArrayList arrayList = new ArrayList(i);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(take);
int i2 = 0;
for (int i3 = 0; i3 < m5775getSizeimpl; i3++) {
arrayList.add(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(take, i3)));
i2++;
if (i2 == i) {
break;
}
}
return arrayList;
}
/* renamed from: take-nggk6HY, reason: not valid java name */
public static final List<UShort> m6827takenggk6HY(short[] take, int i) {
Intrinsics.checkNotNullParameter(take, "$this$take");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
if (i >= UShortArray.m6038getSizeimpl(take)) {
return CollectionsKt.toList(UShortArray.m6030boximpl(take));
}
if (i == 1) {
return CollectionsKt.listOf(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(take, 0)));
}
ArrayList arrayList = new ArrayList(i);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(take);
int i2 = 0;
for (int i3 = 0; i3 < m6038getSizeimpl; i3++) {
arrayList.add(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(take, i3)));
i2++;
if (i2 == i) {
break;
}
}
return arrayList;
}
/* renamed from: takeLast-qFRl0hI, reason: not valid java name */
public static final List<UInt> m6832takeLastqFRl0hI(int[] takeLast, int i) {
Intrinsics.checkNotNullParameter(takeLast, "$this$takeLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(takeLast);
if (i >= m5854getSizeimpl) {
return CollectionsKt.toList(UIntArray.m5846boximpl(takeLast));
}
if (i == 1) {
return CollectionsKt.listOf(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(takeLast, m5854getSizeimpl - 1)));
}
ArrayList arrayList = new ArrayList(i);
for (int i2 = m5854getSizeimpl - i; i2 < m5854getSizeimpl; i2++) {
arrayList.add(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(takeLast, i2)));
}
return arrayList;
}
/* renamed from: takeLast-r7IrZao, reason: not valid java name */
public static final List<ULong> m6833takeLastr7IrZao(long[] takeLast, int i) {
Intrinsics.checkNotNullParameter(takeLast, "$this$takeLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(takeLast);
if (i >= m5933getSizeimpl) {
return CollectionsKt.toList(ULongArray.m5925boximpl(takeLast));
}
if (i == 1) {
return CollectionsKt.listOf(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(takeLast, m5933getSizeimpl - 1)));
}
ArrayList arrayList = new ArrayList(i);
for (int i2 = m5933getSizeimpl - i; i2 < m5933getSizeimpl; i2++) {
arrayList.add(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(takeLast, i2)));
}
return arrayList;
}
/* renamed from: takeLast-PpDY95g, reason: not valid java name */
public static final List<UByte> m6830takeLastPpDY95g(byte[] takeLast, int i) {
Intrinsics.checkNotNullParameter(takeLast, "$this$takeLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(takeLast);
if (i >= m5775getSizeimpl) {
return CollectionsKt.toList(UByteArray.m5767boximpl(takeLast));
}
if (i == 1) {
return CollectionsKt.listOf(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(takeLast, m5775getSizeimpl - 1)));
}
ArrayList arrayList = new ArrayList(i);
for (int i2 = m5775getSizeimpl - i; i2 < m5775getSizeimpl; i2++) {
arrayList.add(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(takeLast, i2)));
}
return arrayList;
}
/* renamed from: takeLast-nggk6HY, reason: not valid java name */
public static final List<UShort> m6831takeLastnggk6HY(short[] takeLast, int i) {
Intrinsics.checkNotNullParameter(takeLast, "$this$takeLast");
if (i < 0) {
throw new IllegalArgumentException(("Requested element count " + i + " is less than zero.").toString());
}
if (i == 0) {
return CollectionsKt.emptyList();
}
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(takeLast);
if (i >= m6038getSizeimpl) {
return CollectionsKt.toList(UShortArray.m6030boximpl(takeLast));
}
if (i == 1) {
return CollectionsKt.listOf(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(takeLast, m6038getSizeimpl - 1)));
}
ArrayList arrayList = new ArrayList(i);
for (int i2 = m6038getSizeimpl - i; i2 < m6038getSizeimpl; i2++) {
arrayList.add(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(takeLast, i2)));
}
return arrayList;
}
/* renamed from: takeWhile-jgv0xPQ, reason: not valid java name */
private static final List<UInt> m6840takeWhilejgv0xPQ(int[] takeWhile, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeWhile, "$this$takeWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(takeWhile);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(takeWhile, i);
if (!predicate.invoke(UInt.m5787boximpl(m5853getpVg5ArA)).booleanValue()) {
break;
}
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
return arrayList;
}
/* renamed from: takeWhile-MShoTSo, reason: not valid java name */
private static final List<ULong> m6839takeWhileMShoTSo(long[] takeWhile, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeWhile, "$this$takeWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(takeWhile);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(takeWhile, i);
if (!predicate.invoke(ULong.m5866boximpl(m5932getsVKNKU)).booleanValue()) {
break;
}
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
}
return arrayList;
}
/* renamed from: takeWhile-JOV_ifY, reason: not valid java name */
private static final List<UByte> m6838takeWhileJOV_ifY(byte[] takeWhile, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeWhile, "$this$takeWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(takeWhile);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(takeWhile, i);
if (!predicate.invoke(UByte.m5710boximpl(m5774getw2LRezQ)).booleanValue()) {
break;
}
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
return arrayList;
}
/* renamed from: takeWhile-xTcfx_M, reason: not valid java name */
private static final List<UShort> m6841takeWhilexTcfx_M(short[] takeWhile, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeWhile, "$this$takeWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
ArrayList arrayList = new ArrayList();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(takeWhile);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(takeWhile, i);
if (!predicate.invoke(UShort.m5973boximpl(m6037getMh2AYeg)).booleanValue()) {
break;
}
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
return arrayList;
}
/* renamed from: reverse--ajY-9A, reason: not valid java name */
private static final void m6698reverseajY9A(int[] reverse) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse);
}
/* renamed from: reverse-QwZRm1k, reason: not valid java name */
private static final void m6703reverseQwZRm1k(long[] reverse) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse);
}
/* renamed from: reverse-GBYM_sE, reason: not valid java name */
private static final void m6702reverseGBYM_sE(byte[] reverse) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse);
}
/* renamed from: reverse-rL5Bavg, reason: not valid java name */
private static final void m6705reverserL5Bavg(short[] reverse) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse);
}
/* renamed from: reverse-oBK06Vg, reason: not valid java name */
private static final void m6704reverseoBK06Vg(int[] reverse, int i, int i2) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse, i, i2);
}
/* renamed from: reverse--nroSd4, reason: not valid java name */
private static final void m6699reversenroSd4(long[] reverse, int i, int i2) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse, i, i2);
}
/* renamed from: reverse-4UcCI2c, reason: not valid java name */
private static final void m6700reverse4UcCI2c(byte[] reverse, int i, int i2) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse, i, i2);
}
/* renamed from: reverse-Aa5vz7o, reason: not valid java name */
private static final void m6701reverseAa5vz7o(short[] reverse, int i, int i2) {
Intrinsics.checkNotNullParameter(reverse, "$this$reverse");
ArraysKt.reverse(reverse, i, i2);
}
/* renamed from: reversed--ajY-9A, reason: not valid java name */
public static final List<UInt> m6706reversedajY9A(int[] reversed) {
Intrinsics.checkNotNullParameter(reversed, "$this$reversed");
if (UIntArray.m5856isEmptyimpl(reversed)) {
return CollectionsKt.emptyList();
}
List<UInt> mutableList = CollectionsKt.toMutableList((Collection) UIntArray.m5846boximpl(reversed));
CollectionsKt.reverse(mutableList);
return mutableList;
}
/* renamed from: reversed-QwZRm1k, reason: not valid java name */
public static final List<ULong> m6708reversedQwZRm1k(long[] reversed) {
Intrinsics.checkNotNullParameter(reversed, "$this$reversed");
if (ULongArray.m5935isEmptyimpl(reversed)) {
return CollectionsKt.emptyList();
}
List<ULong> mutableList = CollectionsKt.toMutableList((Collection) ULongArray.m5925boximpl(reversed));
CollectionsKt.reverse(mutableList);
return mutableList;
}
/* renamed from: reversed-GBYM_sE, reason: not valid java name */
public static final List<UByte> m6707reversedGBYM_sE(byte[] reversed) {
Intrinsics.checkNotNullParameter(reversed, "$this$reversed");
if (UByteArray.m5777isEmptyimpl(reversed)) {
return CollectionsKt.emptyList();
}
List<UByte> mutableList = CollectionsKt.toMutableList((Collection) UByteArray.m5767boximpl(reversed));
CollectionsKt.reverse(mutableList);
return mutableList;
}
/* renamed from: reversed-rL5Bavg, reason: not valid java name */
public static final List<UShort> m6709reversedrL5Bavg(short[] reversed) {
Intrinsics.checkNotNullParameter(reversed, "$this$reversed");
if (UShortArray.m6040isEmptyimpl(reversed)) {
return CollectionsKt.emptyList();
}
List<UShort> mutableList = CollectionsKt.toMutableList((Collection) UShortArray.m6030boximpl(reversed));
CollectionsKt.reverse(mutableList);
return mutableList;
}
/* renamed from: reversedArray--ajY-9A, reason: not valid java name */
private static final int[] m6710reversedArrayajY9A(int[] reversedArray) {
Intrinsics.checkNotNullParameter(reversedArray, "$this$reversedArray");
return UIntArray.m5848constructorimpl(ArraysKt.reversedArray(reversedArray));
}
/* renamed from: reversedArray-QwZRm1k, reason: not valid java name */
private static final long[] m6712reversedArrayQwZRm1k(long[] reversedArray) {
Intrinsics.checkNotNullParameter(reversedArray, "$this$reversedArray");
return ULongArray.m5927constructorimpl(ArraysKt.reversedArray(reversedArray));
}
/* renamed from: reversedArray-GBYM_sE, reason: not valid java name */
private static final byte[] m6711reversedArrayGBYM_sE(byte[] reversedArray) {
Intrinsics.checkNotNullParameter(reversedArray, "$this$reversedArray");
return UByteArray.m5769constructorimpl(ArraysKt.reversedArray(reversedArray));
}
/* renamed from: reversedArray-rL5Bavg, reason: not valid java name */
private static final short[] m6713reversedArrayrL5Bavg(short[] reversedArray) {
Intrinsics.checkNotNullParameter(reversedArray, "$this$reversedArray");
return UShortArray.m6032constructorimpl(ArraysKt.reversedArray(reversedArray));
}
/* renamed from: shuffle--ajY-9A, reason: not valid java name */
public static final void m6738shuffleajY9A(int[] shuffle) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
UArraysKt.m6739shuffle2D5oskM(shuffle, Random.INSTANCE);
}
/* renamed from: shuffle-QwZRm1k, reason: not valid java name */
public static final void m6742shuffleQwZRm1k(long[] shuffle) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
UArraysKt.m6741shuffleJzugnMA(shuffle, Random.INSTANCE);
}
/* renamed from: shuffle-GBYM_sE, reason: not valid java name */
public static final void m6740shuffleGBYM_sE(byte[] shuffle) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
UArraysKt.m6743shuffleoSF2wD8(shuffle, Random.INSTANCE);
}
/* renamed from: shuffle-rL5Bavg, reason: not valid java name */
public static final void m6744shufflerL5Bavg(short[] shuffle) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
UArraysKt.m6745shuffles5X_as8(shuffle, Random.INSTANCE);
}
/* renamed from: sortDescending--ajY-9A, reason: not valid java name */
public static final void m6790sortDescendingajY9A(int[] sortDescending) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
if (UIntArray.m5854getSizeimpl(sortDescending) > 1) {
UArraysKt.m6778sortajY9A(sortDescending);
ArraysKt.reverse(sortDescending);
}
}
/* renamed from: sortDescending-QwZRm1k, reason: not valid java name */
public static final void m6795sortDescendingQwZRm1k(long[] sortDescending) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
if (ULongArray.m5933getSizeimpl(sortDescending) > 1) {
UArraysKt.m6786sortQwZRm1k(sortDescending);
ArraysKt.reverse(sortDescending);
}
}
/* renamed from: sortDescending-GBYM_sE, reason: not valid java name */
public static final void m6794sortDescendingGBYM_sE(byte[] sortDescending) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
if (UByteArray.m5775getSizeimpl(sortDescending) > 1) {
UArraysKt.m6785sortGBYM_sE(sortDescending);
ArraysKt.reverse(sortDescending);
}
}
/* renamed from: sortDescending-rL5Bavg, reason: not valid java name */
public static final void m6797sortDescendingrL5Bavg(short[] sortDescending) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
if (UShortArray.m6038getSizeimpl(sortDescending) > 1) {
UArraysKt.m6789sortrL5Bavg(sortDescending);
ArraysKt.reverse(sortDescending);
}
}
/* renamed from: sorted--ajY-9A, reason: not valid java name */
public static final List<UInt> m6798sortedajY9A(int[] sorted) {
Intrinsics.checkNotNullParameter(sorted, "$this$sorted");
int[] copyOf = Arrays.copyOf(sorted, sorted.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
int[] m5848constructorimpl = UIntArray.m5848constructorimpl(copyOf);
UArraysKt.m6778sortajY9A(m5848constructorimpl);
return UArraysKt.m6166asListajY9A(m5848constructorimpl);
}
/* renamed from: sorted-QwZRm1k, reason: not valid java name */
public static final List<ULong> m6800sortedQwZRm1k(long[] sorted) {
Intrinsics.checkNotNullParameter(sorted, "$this$sorted");
long[] copyOf = Arrays.copyOf(sorted, sorted.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
long[] m5927constructorimpl = ULongArray.m5927constructorimpl(copyOf);
UArraysKt.m6786sortQwZRm1k(m5927constructorimpl);
return UArraysKt.m6168asListQwZRm1k(m5927constructorimpl);
}
/* renamed from: sorted-GBYM_sE, reason: not valid java name */
public static final List<UByte> m6799sortedGBYM_sE(byte[] sorted) {
Intrinsics.checkNotNullParameter(sorted, "$this$sorted");
byte[] copyOf = Arrays.copyOf(sorted, sorted.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
byte[] m5769constructorimpl = UByteArray.m5769constructorimpl(copyOf);
UArraysKt.m6785sortGBYM_sE(m5769constructorimpl);
return UArraysKt.m6167asListGBYM_sE(m5769constructorimpl);
}
/* renamed from: sorted-rL5Bavg, reason: not valid java name */
public static final List<UShort> m6801sortedrL5Bavg(short[] sorted) {
Intrinsics.checkNotNullParameter(sorted, "$this$sorted");
short[] copyOf = Arrays.copyOf(sorted, sorted.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
short[] m6032constructorimpl = UShortArray.m6032constructorimpl(copyOf);
UArraysKt.m6789sortrL5Bavg(m6032constructorimpl);
return UArraysKt.m6169asListrL5Bavg(m6032constructorimpl);
}
/* renamed from: sortedArray--ajY-9A, reason: not valid java name */
public static final int[] m6802sortedArrayajY9A(int[] sortedArray) {
Intrinsics.checkNotNullParameter(sortedArray, "$this$sortedArray");
if (UIntArray.m5856isEmptyimpl(sortedArray)) {
return sortedArray;
}
int[] copyOf = Arrays.copyOf(sortedArray, sortedArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
int[] m5848constructorimpl = UIntArray.m5848constructorimpl(copyOf);
UArraysKt.m6778sortajY9A(m5848constructorimpl);
return m5848constructorimpl;
}
/* renamed from: sortedArray-QwZRm1k, reason: not valid java name */
public static final long[] m6804sortedArrayQwZRm1k(long[] sortedArray) {
Intrinsics.checkNotNullParameter(sortedArray, "$this$sortedArray");
if (ULongArray.m5935isEmptyimpl(sortedArray)) {
return sortedArray;
}
long[] copyOf = Arrays.copyOf(sortedArray, sortedArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
long[] m5927constructorimpl = ULongArray.m5927constructorimpl(copyOf);
UArraysKt.m6786sortQwZRm1k(m5927constructorimpl);
return m5927constructorimpl;
}
/* renamed from: sortedArray-GBYM_sE, reason: not valid java name */
public static final byte[] m6803sortedArrayGBYM_sE(byte[] sortedArray) {
Intrinsics.checkNotNullParameter(sortedArray, "$this$sortedArray");
if (UByteArray.m5777isEmptyimpl(sortedArray)) {
return sortedArray;
}
byte[] copyOf = Arrays.copyOf(sortedArray, sortedArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
byte[] m5769constructorimpl = UByteArray.m5769constructorimpl(copyOf);
UArraysKt.m6785sortGBYM_sE(m5769constructorimpl);
return m5769constructorimpl;
}
/* renamed from: sortedArray-rL5Bavg, reason: not valid java name */
public static final short[] m6805sortedArrayrL5Bavg(short[] sortedArray) {
Intrinsics.checkNotNullParameter(sortedArray, "$this$sortedArray");
if (UShortArray.m6040isEmptyimpl(sortedArray)) {
return sortedArray;
}
short[] copyOf = Arrays.copyOf(sortedArray, sortedArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
short[] m6032constructorimpl = UShortArray.m6032constructorimpl(copyOf);
UArraysKt.m6789sortrL5Bavg(m6032constructorimpl);
return m6032constructorimpl;
}
/* renamed from: sortedArrayDescending--ajY-9A, reason: not valid java name */
public static final int[] m6806sortedArrayDescendingajY9A(int[] sortedArrayDescending) {
Intrinsics.checkNotNullParameter(sortedArrayDescending, "$this$sortedArrayDescending");
if (UIntArray.m5856isEmptyimpl(sortedArrayDescending)) {
return sortedArrayDescending;
}
int[] copyOf = Arrays.copyOf(sortedArrayDescending, sortedArrayDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
int[] m5848constructorimpl = UIntArray.m5848constructorimpl(copyOf);
UArraysKt.m6790sortDescendingajY9A(m5848constructorimpl);
return m5848constructorimpl;
}
/* renamed from: sortedArrayDescending-QwZRm1k, reason: not valid java name */
public static final long[] m6808sortedArrayDescendingQwZRm1k(long[] sortedArrayDescending) {
Intrinsics.checkNotNullParameter(sortedArrayDescending, "$this$sortedArrayDescending");
if (ULongArray.m5935isEmptyimpl(sortedArrayDescending)) {
return sortedArrayDescending;
}
long[] copyOf = Arrays.copyOf(sortedArrayDescending, sortedArrayDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
long[] m5927constructorimpl = ULongArray.m5927constructorimpl(copyOf);
UArraysKt.m6795sortDescendingQwZRm1k(m5927constructorimpl);
return m5927constructorimpl;
}
/* renamed from: sortedArrayDescending-GBYM_sE, reason: not valid java name */
public static final byte[] m6807sortedArrayDescendingGBYM_sE(byte[] sortedArrayDescending) {
Intrinsics.checkNotNullParameter(sortedArrayDescending, "$this$sortedArrayDescending");
if (UByteArray.m5777isEmptyimpl(sortedArrayDescending)) {
return sortedArrayDescending;
}
byte[] copyOf = Arrays.copyOf(sortedArrayDescending, sortedArrayDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
byte[] m5769constructorimpl = UByteArray.m5769constructorimpl(copyOf);
UArraysKt.m6794sortDescendingGBYM_sE(m5769constructorimpl);
return m5769constructorimpl;
}
/* renamed from: sortedArrayDescending-rL5Bavg, reason: not valid java name */
public static final short[] m6809sortedArrayDescendingrL5Bavg(short[] sortedArrayDescending) {
Intrinsics.checkNotNullParameter(sortedArrayDescending, "$this$sortedArrayDescending");
if (UShortArray.m6040isEmptyimpl(sortedArrayDescending)) {
return sortedArrayDescending;
}
short[] copyOf = Arrays.copyOf(sortedArrayDescending, sortedArrayDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
short[] m6032constructorimpl = UShortArray.m6032constructorimpl(copyOf);
UArraysKt.m6797sortDescendingrL5Bavg(m6032constructorimpl);
return m6032constructorimpl;
}
/* renamed from: sortedDescending--ajY-9A, reason: not valid java name */
public static final List<UInt> m6810sortedDescendingajY9A(int[] sortedDescending) {
Intrinsics.checkNotNullParameter(sortedDescending, "$this$sortedDescending");
int[] copyOf = Arrays.copyOf(sortedDescending, sortedDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
int[] m5848constructorimpl = UIntArray.m5848constructorimpl(copyOf);
UArraysKt.m6778sortajY9A(m5848constructorimpl);
return UArraysKt.m6706reversedajY9A(m5848constructorimpl);
}
/* renamed from: sortedDescending-QwZRm1k, reason: not valid java name */
public static final List<ULong> m6812sortedDescendingQwZRm1k(long[] sortedDescending) {
Intrinsics.checkNotNullParameter(sortedDescending, "$this$sortedDescending");
long[] copyOf = Arrays.copyOf(sortedDescending, sortedDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
long[] m5927constructorimpl = ULongArray.m5927constructorimpl(copyOf);
UArraysKt.m6786sortQwZRm1k(m5927constructorimpl);
return UArraysKt.m6708reversedQwZRm1k(m5927constructorimpl);
}
/* renamed from: sortedDescending-GBYM_sE, reason: not valid java name */
public static final List<UByte> m6811sortedDescendingGBYM_sE(byte[] sortedDescending) {
Intrinsics.checkNotNullParameter(sortedDescending, "$this$sortedDescending");
byte[] copyOf = Arrays.copyOf(sortedDescending, sortedDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
byte[] m5769constructorimpl = UByteArray.m5769constructorimpl(copyOf);
UArraysKt.m6785sortGBYM_sE(m5769constructorimpl);
return UArraysKt.m6707reversedGBYM_sE(m5769constructorimpl);
}
/* renamed from: sortedDescending-rL5Bavg, reason: not valid java name */
public static final List<UShort> m6813sortedDescendingrL5Bavg(short[] sortedDescending) {
Intrinsics.checkNotNullParameter(sortedDescending, "$this$sortedDescending");
short[] copyOf = Arrays.copyOf(sortedDescending, sortedDescending.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
short[] m6032constructorimpl = UShortArray.m6032constructorimpl(copyOf);
UArraysKt.m6789sortrL5Bavg(m6032constructorimpl);
return UArraysKt.m6709reversedrL5Bavg(m6032constructorimpl);
}
private static final byte[] asUByteArray(byte[] bArr) {
Intrinsics.checkNotNullParameter(bArr, "<this>");
return UByteArray.m5769constructorimpl(bArr);
}
private static final int[] asUIntArray(int[] iArr) {
Intrinsics.checkNotNullParameter(iArr, "<this>");
return UIntArray.m5848constructorimpl(iArr);
}
private static final long[] asULongArray(long[] jArr) {
Intrinsics.checkNotNullParameter(jArr, "<this>");
return ULongArray.m5927constructorimpl(jArr);
}
private static final short[] asUShortArray(short[] sArr) {
Intrinsics.checkNotNullParameter(sArr, "<this>");
return UShortArray.m6032constructorimpl(sArr);
}
/* renamed from: contentEquals-KJPZfPQ, reason: not valid java name */
public static final boolean m6267contentEqualsKJPZfPQ(int[] iArr, int[] iArr2) {
if (iArr == null) {
iArr = null;
}
if (iArr2 == null) {
iArr2 = null;
}
return Arrays.equals(iArr, iArr2);
}
/* renamed from: contentEquals-lec5QzE, reason: not valid java name */
public static final boolean m6269contentEqualslec5QzE(long[] jArr, long[] jArr2) {
if (jArr == null) {
jArr = null;
}
if (jArr2 == null) {
jArr2 = null;
}
return Arrays.equals(jArr, jArr2);
}
/* renamed from: contentEquals-kV0jMPg, reason: not valid java name */
public static final boolean m6268contentEqualskV0jMPg(byte[] bArr, byte[] bArr2) {
if (bArr == null) {
bArr = null;
}
if (bArr2 == null) {
bArr2 = null;
}
return Arrays.equals(bArr, bArr2);
}
/* renamed from: contentEquals-FGO6Aew, reason: not valid java name */
public static final boolean m6266contentEqualsFGO6Aew(short[] sArr, short[] sArr2) {
if (sArr == null) {
sArr = null;
}
if (sArr2 == null) {
sArr2 = null;
}
return Arrays.equals(sArr, sArr2);
}
/* renamed from: contentHashCode-XUkPCBk, reason: not valid java name */
public static final int m6271contentHashCodeXUkPCBk(int[] iArr) {
if (iArr == null) {
iArr = null;
}
return Arrays.hashCode(iArr);
}
/* renamed from: contentHashCode-uLth9ew, reason: not valid java name */
public static final int m6273contentHashCodeuLth9ew(long[] jArr) {
if (jArr == null) {
jArr = null;
}
return Arrays.hashCode(jArr);
}
/* renamed from: contentHashCode-2csIQuQ, reason: not valid java name */
public static final int m6270contentHashCode2csIQuQ(byte[] bArr) {
if (bArr == null) {
bArr = null;
}
return Arrays.hashCode(bArr);
}
/* renamed from: contentHashCode-d-6D3K8, reason: not valid java name */
public static final int m6272contentHashCoded6D3K8(short[] sArr) {
if (sArr == null) {
sArr = null;
}
return Arrays.hashCode(sArr);
}
/* renamed from: contentToString-XUkPCBk, reason: not valid java name */
public static final String m6275contentToStringXUkPCBk(int[] iArr) {
String joinToString$default;
return (iArr == null || (joinToString$default = CollectionsKt.joinToString$default(UIntArray.m5846boximpl(iArr), ", ", "[", "]", 0, null, null, 56, null)) == null) ? "null" : joinToString$default;
}
/* renamed from: contentToString-uLth9ew, reason: not valid java name */
public static final String m6277contentToStringuLth9ew(long[] jArr) {
String joinToString$default;
return (jArr == null || (joinToString$default = CollectionsKt.joinToString$default(ULongArray.m5925boximpl(jArr), ", ", "[", "]", 0, null, null, 56, null)) == null) ? "null" : joinToString$default;
}
/* renamed from: contentToString-2csIQuQ, reason: not valid java name */
public static final String m6274contentToString2csIQuQ(byte[] bArr) {
String joinToString$default;
return (bArr == null || (joinToString$default = CollectionsKt.joinToString$default(UByteArray.m5767boximpl(bArr), ", ", "[", "]", 0, null, null, 56, null)) == null) ? "null" : joinToString$default;
}
/* renamed from: contentToString-d-6D3K8, reason: not valid java name */
public static final String m6276contentToStringd6D3K8(short[] sArr) {
String joinToString$default;
return (sArr == null || (joinToString$default = CollectionsKt.joinToString$default(UShortArray.m6030boximpl(sArr), ", ", "[", "]", 0, null, null, 56, null)) == null) ? "null" : joinToString$default;
}
/* renamed from: copyInto-sIZ3KeM$default, reason: not valid java name */
static /* synthetic */ int[] m6285copyIntosIZ3KeM$default(int[] copyInto, int[] destination, int i, int i2, int i3, int i4, Object obj) {
if ((i4 & 2) != 0) {
i = 0;
}
if ((i4 & 4) != 0) {
i2 = 0;
}
if ((i4 & 8) != 0) {
i3 = UIntArray.m5854getSizeimpl(copyInto);
}
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyInto-sIZ3KeM, reason: not valid java name */
private static final int[] m6284copyIntosIZ3KeM(int[] copyInto, int[] destination, int i, int i2, int i3) {
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyInto--B0-L2c$default, reason: not valid java name */
static /* synthetic */ long[] m6279copyIntoB0L2c$default(long[] copyInto, long[] destination, int i, int i2, int i3, int i4, Object obj) {
if ((i4 & 2) != 0) {
i = 0;
}
if ((i4 & 4) != 0) {
i2 = 0;
}
if ((i4 & 8) != 0) {
i3 = ULongArray.m5933getSizeimpl(copyInto);
}
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyInto--B0-L2c, reason: not valid java name */
private static final long[] m6278copyIntoB0L2c(long[] copyInto, long[] destination, int i, int i2, int i3) {
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyInto-FUQE5sA$default, reason: not valid java name */
static /* synthetic */ byte[] m6283copyIntoFUQE5sA$default(byte[] copyInto, byte[] destination, int i, int i2, int i3, int i4, Object obj) {
if ((i4 & 2) != 0) {
i = 0;
}
if ((i4 & 4) != 0) {
i2 = 0;
}
if ((i4 & 8) != 0) {
i3 = UByteArray.m5775getSizeimpl(copyInto);
}
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyInto-FUQE5sA, reason: not valid java name */
private static final byte[] m6282copyIntoFUQE5sA(byte[] copyInto, byte[] destination, int i, int i2, int i3) {
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyInto-9-ak10g$default, reason: not valid java name */
static /* synthetic */ short[] m6281copyInto9ak10g$default(short[] copyInto, short[] destination, int i, int i2, int i3, int i4, Object obj) {
if ((i4 & 2) != 0) {
i = 0;
}
if ((i4 & 4) != 0) {
i2 = 0;
}
if ((i4 & 8) != 0) {
i3 = UShortArray.m6038getSizeimpl(copyInto);
}
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyInto-9-ak10g, reason: not valid java name */
private static final short[] m6280copyInto9ak10g(short[] copyInto, short[] destination, int i, int i2, int i3) {
Intrinsics.checkNotNullParameter(copyInto, "$this$copyInto");
Intrinsics.checkNotNullParameter(destination, "destination");
ArraysKt.copyInto(copyInto, destination, i, i2, i3);
return destination;
}
/* renamed from: copyOf--ajY-9A, reason: not valid java name */
private static final int[] m6286copyOfajY9A(int[] copyOf) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
int[] copyOf2 = Arrays.copyOf(copyOf, copyOf.length);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return UIntArray.m5848constructorimpl(copyOf2);
}
/* renamed from: copyOf-QwZRm1k, reason: not valid java name */
private static final long[] m6289copyOfQwZRm1k(long[] copyOf) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
long[] copyOf2 = Arrays.copyOf(copyOf, copyOf.length);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return ULongArray.m5927constructorimpl(copyOf2);
}
/* renamed from: copyOf-GBYM_sE, reason: not valid java name */
private static final byte[] m6287copyOfGBYM_sE(byte[] copyOf) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
byte[] copyOf2 = Arrays.copyOf(copyOf, copyOf.length);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return UByteArray.m5769constructorimpl(copyOf2);
}
/* renamed from: copyOf-rL5Bavg, reason: not valid java name */
private static final short[] m6293copyOfrL5Bavg(short[] copyOf) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
short[] copyOf2 = Arrays.copyOf(copyOf, copyOf.length);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return UShortArray.m6032constructorimpl(copyOf2);
}
/* renamed from: copyOf-qFRl0hI, reason: not valid java name */
private static final int[] m6291copyOfqFRl0hI(int[] copyOf, int i) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
int[] copyOf2 = Arrays.copyOf(copyOf, i);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return UIntArray.m5848constructorimpl(copyOf2);
}
/* renamed from: copyOf-r7IrZao, reason: not valid java name */
private static final long[] m6292copyOfr7IrZao(long[] copyOf, int i) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
long[] copyOf2 = Arrays.copyOf(copyOf, i);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return ULongArray.m5927constructorimpl(copyOf2);
}
/* renamed from: copyOf-PpDY95g, reason: not valid java name */
private static final byte[] m6288copyOfPpDY95g(byte[] copyOf, int i) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
byte[] copyOf2 = Arrays.copyOf(copyOf, i);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return UByteArray.m5769constructorimpl(copyOf2);
}
/* renamed from: copyOf-nggk6HY, reason: not valid java name */
private static final short[] m6290copyOfnggk6HY(short[] copyOf, int i) {
Intrinsics.checkNotNullParameter(copyOf, "$this$copyOf");
short[] copyOf2 = Arrays.copyOf(copyOf, i);
Intrinsics.checkNotNullExpressionValue(copyOf2, "copyOf(...)");
return UShortArray.m6032constructorimpl(copyOf2);
}
/* renamed from: copyOfRange-oBK06Vg, reason: not valid java name */
private static final int[] m6297copyOfRangeoBK06Vg(int[] copyOfRange, int i, int i2) {
int[] copyOfRange2;
Intrinsics.checkNotNullParameter(copyOfRange, "$this$copyOfRange");
if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 3, 0)) {
copyOfRange2 = ArraysKt.copyOfRange(copyOfRange, i, i2);
} else {
if (i2 > copyOfRange.length) {
throw new IndexOutOfBoundsException("toIndex: " + i2 + ", size: " + copyOfRange.length);
}
copyOfRange2 = Arrays.copyOfRange(copyOfRange, i, i2);
Intrinsics.checkNotNull(copyOfRange2);
}
return UIntArray.m5848constructorimpl(copyOfRange2);
}
/* renamed from: copyOfRange--nroSd4, reason: not valid java name */
private static final long[] m6294copyOfRangenroSd4(long[] copyOfRange, int i, int i2) {
long[] copyOfRange2;
Intrinsics.checkNotNullParameter(copyOfRange, "$this$copyOfRange");
if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 3, 0)) {
copyOfRange2 = ArraysKt.copyOfRange(copyOfRange, i, i2);
} else {
if (i2 > copyOfRange.length) {
throw new IndexOutOfBoundsException("toIndex: " + i2 + ", size: " + copyOfRange.length);
}
copyOfRange2 = Arrays.copyOfRange(copyOfRange, i, i2);
Intrinsics.checkNotNull(copyOfRange2);
}
return ULongArray.m5927constructorimpl(copyOfRange2);
}
/* renamed from: copyOfRange-4UcCI2c, reason: not valid java name */
private static final byte[] m6295copyOfRange4UcCI2c(byte[] copyOfRange, int i, int i2) {
byte[] copyOfRange2;
Intrinsics.checkNotNullParameter(copyOfRange, "$this$copyOfRange");
if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 3, 0)) {
copyOfRange2 = ArraysKt.copyOfRange(copyOfRange, i, i2);
} else {
if (i2 > copyOfRange.length) {
throw new IndexOutOfBoundsException("toIndex: " + i2 + ", size: " + copyOfRange.length);
}
copyOfRange2 = Arrays.copyOfRange(copyOfRange, i, i2);
Intrinsics.checkNotNull(copyOfRange2);
}
return UByteArray.m5769constructorimpl(copyOfRange2);
}
/* renamed from: copyOfRange-Aa5vz7o, reason: not valid java name */
private static final short[] m6296copyOfRangeAa5vz7o(short[] copyOfRange, int i, int i2) {
short[] copyOfRange2;
Intrinsics.checkNotNullParameter(copyOfRange, "$this$copyOfRange");
if (PlatformImplementationsKt.apiVersionIsAtLeast(1, 3, 0)) {
copyOfRange2 = ArraysKt.copyOfRange(copyOfRange, i, i2);
} else {
if (i2 > copyOfRange.length) {
throw new IndexOutOfBoundsException("toIndex: " + i2 + ", size: " + copyOfRange.length);
}
copyOfRange2 = Arrays.copyOfRange(copyOfRange, i, i2);
Intrinsics.checkNotNull(copyOfRange2);
}
return UShortArray.m6032constructorimpl(copyOfRange2);
}
/* renamed from: fill-2fe2U9s$default, reason: not valid java name */
public static /* synthetic */ void m6327fill2fe2U9s$default(int[] iArr, int i, int i2, int i3, int i4, Object obj) {
if ((i4 & 2) != 0) {
i2 = 0;
}
if ((i4 & 4) != 0) {
i3 = UIntArray.m5854getSizeimpl(iArr);
}
UArraysKt.m6326fill2fe2U9s(iArr, i, i2, i3);
}
/* renamed from: fill-2fe2U9s, reason: not valid java name */
public static final void m6326fill2fe2U9s(int[] fill, int i, int i2, int i3) {
Intrinsics.checkNotNullParameter(fill, "$this$fill");
ArraysKt.fill(fill, i, i2, i3);
}
/* renamed from: fill-K6DWlUc$default, reason: not valid java name */
public static /* synthetic */ void m6331fillK6DWlUc$default(long[] jArr, long j, int i, int i2, int i3, Object obj) {
if ((i3 & 2) != 0) {
i = 0;
}
if ((i3 & 4) != 0) {
i2 = ULongArray.m5933getSizeimpl(jArr);
}
UArraysKt.m6330fillK6DWlUc(jArr, j, i, i2);
}
/* renamed from: fill-K6DWlUc, reason: not valid java name */
public static final void m6330fillK6DWlUc(long[] fill, long j, int i, int i2) {
Intrinsics.checkNotNullParameter(fill, "$this$fill");
ArraysKt.fill(fill, j, i, i2);
}
/* renamed from: fill-WpHrYlw$default, reason: not valid java name */
public static /* synthetic */ void m6333fillWpHrYlw$default(byte[] bArr, byte b, int i, int i2, int i3, Object obj) {
if ((i3 & 2) != 0) {
i = 0;
}
if ((i3 & 4) != 0) {
i2 = UByteArray.m5775getSizeimpl(bArr);
}
UArraysKt.m6332fillWpHrYlw(bArr, b, i, i2);
}
/* renamed from: fill-WpHrYlw, reason: not valid java name */
public static final void m6332fillWpHrYlw(byte[] fill, byte b, int i, int i2) {
Intrinsics.checkNotNullParameter(fill, "$this$fill");
ArraysKt.fill(fill, b, i, i2);
}
/* renamed from: fill-EtDCXyQ$default, reason: not valid java name */
public static /* synthetic */ void m6329fillEtDCXyQ$default(short[] sArr, short s, int i, int i2, int i3, Object obj) {
if ((i3 & 2) != 0) {
i = 0;
}
if ((i3 & 4) != 0) {
i2 = UShortArray.m6038getSizeimpl(sArr);
}
UArraysKt.m6328fillEtDCXyQ(sArr, s, i, i2);
}
/* renamed from: fill-EtDCXyQ, reason: not valid java name */
public static final void m6328fillEtDCXyQ(short[] fill, short s, int i, int i2) {
Intrinsics.checkNotNullParameter(fill, "$this$fill");
ArraysKt.fill(fill, s, i, i2);
}
/* renamed from: getIndices--ajY-9A, reason: not valid java name */
public static final IntRange m6422getIndicesajY9A(int[] indices) {
Intrinsics.checkNotNullParameter(indices, "$this$indices");
return ArraysKt.getIndices(indices);
}
/* renamed from: getIndices-QwZRm1k, reason: not valid java name */
public static final IntRange m6426getIndicesQwZRm1k(long[] indices) {
Intrinsics.checkNotNullParameter(indices, "$this$indices");
return ArraysKt.getIndices(indices);
}
/* renamed from: getIndices-GBYM_sE, reason: not valid java name */
public static final IntRange m6424getIndicesGBYM_sE(byte[] indices) {
Intrinsics.checkNotNullParameter(indices, "$this$indices");
return ArraysKt.getIndices(indices);
}
/* renamed from: getIndices-rL5Bavg, reason: not valid java name */
public static final IntRange m6428getIndicesrL5Bavg(short[] indices) {
Intrinsics.checkNotNullParameter(indices, "$this$indices");
return ArraysKt.getIndices(indices);
}
/* renamed from: getLastIndex--ajY-9A, reason: not valid java name */
public static final int m6430getLastIndexajY9A(int[] lastIndex) {
Intrinsics.checkNotNullParameter(lastIndex, "$this$lastIndex");
return ArraysKt.getLastIndex(lastIndex);
}
/* renamed from: getLastIndex-QwZRm1k, reason: not valid java name */
public static final int m6434getLastIndexQwZRm1k(long[] lastIndex) {
Intrinsics.checkNotNullParameter(lastIndex, "$this$lastIndex");
return ArraysKt.getLastIndex(lastIndex);
}
/* renamed from: getLastIndex-GBYM_sE, reason: not valid java name */
public static final int m6432getLastIndexGBYM_sE(byte[] lastIndex) {
Intrinsics.checkNotNullParameter(lastIndex, "$this$lastIndex");
return ArraysKt.getLastIndex(lastIndex);
}
/* renamed from: getLastIndex-rL5Bavg, reason: not valid java name */
public static final int m6436getLastIndexrL5Bavg(short[] lastIndex) {
Intrinsics.checkNotNullParameter(lastIndex, "$this$lastIndex");
return ArraysKt.getLastIndex(lastIndex);
}
/* renamed from: plus-uWY9BYg, reason: not valid java name */
private static final int[] m6647plusuWY9BYg(int[] plus, int i) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
return UIntArray.m5848constructorimpl(ArraysKt.plus(plus, i));
}
/* renamed from: plus-3uqUaXg, reason: not valid java name */
private static final long[] m6638plus3uqUaXg(long[] plus, long j) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
return ULongArray.m5927constructorimpl(ArraysKt.plus(plus, j));
}
/* renamed from: plus-gMuBH34, reason: not valid java name */
private static final byte[] m6642plusgMuBH34(byte[] plus, byte b) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
return UByteArray.m5769constructorimpl(ArraysKt.plus(plus, b));
}
/* renamed from: plus-XzdR7RA, reason: not valid java name */
private static final short[] m6640plusXzdR7RA(short[] plus, short s) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
return UShortArray.m6032constructorimpl(ArraysKt.plus(plus, s));
}
/* renamed from: plus-CFIt9YE, reason: not valid java name */
public static final int[] m6639plusCFIt9YE(int[] plus, Collection<UInt> elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(plus);
int[] copyOf = Arrays.copyOf(plus, UIntArray.m5854getSizeimpl(plus) + elements.size());
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
Iterator<UInt> it = elements.iterator();
while (it.hasNext()) {
copyOf[m5854getSizeimpl] = it.next().getData();
m5854getSizeimpl++;
}
return UIntArray.m5848constructorimpl(copyOf);
}
/* renamed from: plus-kzHmqpY, reason: not valid java name */
public static final long[] m6644pluskzHmqpY(long[] plus, Collection<ULong> elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(plus);
long[] copyOf = Arrays.copyOf(plus, ULongArray.m5933getSizeimpl(plus) + elements.size());
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
Iterator<ULong> it = elements.iterator();
while (it.hasNext()) {
copyOf[m5933getSizeimpl] = it.next().getData();
m5933getSizeimpl++;
}
return ULongArray.m5927constructorimpl(copyOf);
}
/* renamed from: plus-xo_DsdI, reason: not valid java name */
public static final byte[] m6649plusxo_DsdI(byte[] plus, Collection<UByte> elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(plus);
byte[] copyOf = Arrays.copyOf(plus, UByteArray.m5775getSizeimpl(plus) + elements.size());
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
Iterator<UByte> it = elements.iterator();
while (it.hasNext()) {
copyOf[m5775getSizeimpl] = it.next().getData();
m5775getSizeimpl++;
}
return UByteArray.m5769constructorimpl(copyOf);
}
/* renamed from: plus-ojwP5H8, reason: not valid java name */
public static final short[] m6646plusojwP5H8(short[] plus, Collection<UShort> elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(plus);
short[] copyOf = Arrays.copyOf(plus, UShortArray.m6038getSizeimpl(plus) + elements.size());
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
Iterator<UShort> it = elements.iterator();
while (it.hasNext()) {
copyOf[m6038getSizeimpl] = it.next().getData();
m6038getSizeimpl++;
}
return UShortArray.m6032constructorimpl(copyOf);
}
/* renamed from: plus-ctEhBpI, reason: not valid java name */
private static final int[] m6641plusctEhBpI(int[] plus, int[] elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
return UIntArray.m5848constructorimpl(ArraysKt.plus(plus, elements));
}
/* renamed from: plus-us8wMrg, reason: not valid java name */
private static final long[] m6648plusus8wMrg(long[] plus, long[] elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
return ULongArray.m5927constructorimpl(ArraysKt.plus(plus, elements));
}
/* renamed from: plus-kdPth3s, reason: not valid java name */
private static final byte[] m6643pluskdPth3s(byte[] plus, byte[] elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
return UByteArray.m5769constructorimpl(ArraysKt.plus(plus, elements));
}
/* renamed from: plus-mazbYpA, reason: not valid java name */
private static final short[] m6645plusmazbYpA(short[] plus, short[] elements) {
Intrinsics.checkNotNullParameter(plus, "$this$plus");
Intrinsics.checkNotNullParameter(elements, "elements");
return UShortArray.m6032constructorimpl(ArraysKt.plus(plus, elements));
}
/* renamed from: sort--ajY-9A, reason: not valid java name */
public static final void m6778sortajY9A(int[] sort) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
if (UIntArray.m5854getSizeimpl(sort) > 1) {
UArraySortingKt.m6164sortArrayoBK06Vg(sort, 0, UIntArray.m5854getSizeimpl(sort));
}
}
/* renamed from: sort-QwZRm1k, reason: not valid java name */
public static final void m6786sortQwZRm1k(long[] sort) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
if (ULongArray.m5933getSizeimpl(sort) > 1) {
UArraySortingKt.m6161sortArraynroSd4(sort, 0, ULongArray.m5933getSizeimpl(sort));
}
}
/* renamed from: sort-GBYM_sE, reason: not valid java name */
public static final void m6785sortGBYM_sE(byte[] sort) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
if (UByteArray.m5775getSizeimpl(sort) > 1) {
UArraySortingKt.m6162sortArray4UcCI2c(sort, 0, UByteArray.m5775getSizeimpl(sort));
}
}
/* renamed from: sort-rL5Bavg, reason: not valid java name */
public static final void m6789sortrL5Bavg(short[] sort) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
if (UShortArray.m6038getSizeimpl(sort) > 1) {
UArraySortingKt.m6163sortArrayAa5vz7o(sort, 0, UShortArray.m6038getSizeimpl(sort));
}
}
/* renamed from: sort-oBK06Vg$default, reason: not valid java name */
public static /* synthetic */ void m6788sortoBK06Vg$default(int[] iArr, int i, int i2, int i3, Object obj) {
if ((i3 & 1) != 0) {
i = 0;
}
if ((i3 & 2) != 0) {
i2 = UIntArray.m5854getSizeimpl(iArr);
}
UArraysKt.m6787sortoBK06Vg(iArr, i, i2);
}
/* renamed from: sort-oBK06Vg, reason: not valid java name */
public static final void m6787sortoBK06Vg(int[] sort, int i, int i2) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i, i2, UIntArray.m5854getSizeimpl(sort));
UArraySortingKt.m6164sortArrayoBK06Vg(sort, i, i2);
}
/* renamed from: sort--nroSd4$default, reason: not valid java name */
public static /* synthetic */ void m6780sortnroSd4$default(long[] jArr, int i, int i2, int i3, Object obj) {
if ((i3 & 1) != 0) {
i = 0;
}
if ((i3 & 2) != 0) {
i2 = ULongArray.m5933getSizeimpl(jArr);
}
UArraysKt.m6779sortnroSd4(jArr, i, i2);
}
/* renamed from: sort--nroSd4, reason: not valid java name */
public static final void m6779sortnroSd4(long[] sort, int i, int i2) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i, i2, ULongArray.m5933getSizeimpl(sort));
UArraySortingKt.m6161sortArraynroSd4(sort, i, i2);
}
/* renamed from: sort-4UcCI2c$default, reason: not valid java name */
public static /* synthetic */ void m6782sort4UcCI2c$default(byte[] bArr, int i, int i2, int i3, Object obj) {
if ((i3 & 1) != 0) {
i = 0;
}
if ((i3 & 2) != 0) {
i2 = UByteArray.m5775getSizeimpl(bArr);
}
UArraysKt.m6781sort4UcCI2c(bArr, i, i2);
}
/* renamed from: sort-4UcCI2c, reason: not valid java name */
public static final void m6781sort4UcCI2c(byte[] sort, int i, int i2) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i, i2, UByteArray.m5775getSizeimpl(sort));
UArraySortingKt.m6162sortArray4UcCI2c(sort, i, i2);
}
/* renamed from: sort-Aa5vz7o$default, reason: not valid java name */
public static /* synthetic */ void m6784sortAa5vz7o$default(short[] sArr, int i, int i2, int i3, Object obj) {
if ((i3 & 1) != 0) {
i = 0;
}
if ((i3 & 2) != 0) {
i2 = UShortArray.m6038getSizeimpl(sArr);
}
UArraysKt.m6783sortAa5vz7o(sArr, i, i2);
}
/* renamed from: sort-Aa5vz7o, reason: not valid java name */
public static final void m6783sortAa5vz7o(short[] sort, int i, int i2) {
Intrinsics.checkNotNullParameter(sort, "$this$sort");
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i, i2, UShortArray.m6038getSizeimpl(sort));
UArraySortingKt.m6163sortArrayAa5vz7o(sort, i, i2);
}
/* renamed from: sortDescending-oBK06Vg, reason: not valid java name */
public static final void m6796sortDescendingoBK06Vg(int[] sortDescending, int i, int i2) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
UArraysKt.m6787sortoBK06Vg(sortDescending, i, i2);
ArraysKt.reverse(sortDescending, i, i2);
}
/* renamed from: sortDescending--nroSd4, reason: not valid java name */
public static final void m6791sortDescendingnroSd4(long[] sortDescending, int i, int i2) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
UArraysKt.m6779sortnroSd4(sortDescending, i, i2);
ArraysKt.reverse(sortDescending, i, i2);
}
/* renamed from: sortDescending-4UcCI2c, reason: not valid java name */
public static final void m6792sortDescending4UcCI2c(byte[] sortDescending, int i, int i2) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
UArraysKt.m6781sort4UcCI2c(sortDescending, i, i2);
ArraysKt.reverse(sortDescending, i, i2);
}
/* renamed from: sortDescending-Aa5vz7o, reason: not valid java name */
public static final void m6793sortDescendingAa5vz7o(short[] sortDescending, int i, int i2) {
Intrinsics.checkNotNullParameter(sortDescending, "$this$sortDescending");
UArraysKt.m6783sortAa5vz7o(sortDescending, i, i2);
ArraysKt.reverse(sortDescending, i, i2);
}
/* renamed from: toByteArray-GBYM_sE, reason: not valid java name */
private static final byte[] m6842toByteArrayGBYM_sE(byte[] toByteArray) {
Intrinsics.checkNotNullParameter(toByteArray, "$this$toByteArray");
byte[] copyOf = Arrays.copyOf(toByteArray, toByteArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return copyOf;
}
/* renamed from: toIntArray--ajY-9A, reason: not valid java name */
private static final int[] m6843toIntArrayajY9A(int[] toIntArray) {
Intrinsics.checkNotNullParameter(toIntArray, "$this$toIntArray");
int[] copyOf = Arrays.copyOf(toIntArray, toIntArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return copyOf;
}
/* renamed from: toLongArray-QwZRm1k, reason: not valid java name */
private static final long[] m6844toLongArrayQwZRm1k(long[] toLongArray) {
Intrinsics.checkNotNullParameter(toLongArray, "$this$toLongArray");
long[] copyOf = Arrays.copyOf(toLongArray, toLongArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return copyOf;
}
/* renamed from: toShortArray-rL5Bavg, reason: not valid java name */
private static final short[] m6845toShortArrayrL5Bavg(short[] toShortArray) {
Intrinsics.checkNotNullParameter(toShortArray, "$this$toShortArray");
short[] copyOf = Arrays.copyOf(toShortArray, toShortArray.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return copyOf;
}
/* renamed from: toTypedArray--ajY-9A, reason: not valid java name */
public static final UInt[] m6846toTypedArrayajY9A(int[] toTypedArray) {
Intrinsics.checkNotNullParameter(toTypedArray, "$this$toTypedArray");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(toTypedArray);
UInt[] uIntArr = new UInt[m5854getSizeimpl];
for (int i = 0; i < m5854getSizeimpl; i++) {
uIntArr[i] = UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(toTypedArray, i));
}
return uIntArr;
}
/* renamed from: toTypedArray-QwZRm1k, reason: not valid java name */
public static final ULong[] m6848toTypedArrayQwZRm1k(long[] toTypedArray) {
Intrinsics.checkNotNullParameter(toTypedArray, "$this$toTypedArray");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(toTypedArray);
ULong[] uLongArr = new ULong[m5933getSizeimpl];
for (int i = 0; i < m5933getSizeimpl; i++) {
uLongArr[i] = ULong.m5866boximpl(ULongArray.m5932getsVKNKU(toTypedArray, i));
}
return uLongArr;
}
/* renamed from: toTypedArray-GBYM_sE, reason: not valid java name */
public static final UByte[] m6847toTypedArrayGBYM_sE(byte[] toTypedArray) {
Intrinsics.checkNotNullParameter(toTypedArray, "$this$toTypedArray");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(toTypedArray);
UByte[] uByteArr = new UByte[m5775getSizeimpl];
for (int i = 0; i < m5775getSizeimpl; i++) {
uByteArr[i] = UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(toTypedArray, i));
}
return uByteArr;
}
/* renamed from: toTypedArray-rL5Bavg, reason: not valid java name */
public static final UShort[] m6849toTypedArrayrL5Bavg(short[] toTypedArray) {
Intrinsics.checkNotNullParameter(toTypedArray, "$this$toTypedArray");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(toTypedArray);
UShort[] uShortArr = new UShort[m6038getSizeimpl];
for (int i = 0; i < m6038getSizeimpl; i++) {
uShortArr[i] = UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(toTypedArray, i));
}
return uShortArr;
}
public static final byte[] toUByteArray(UByte[] uByteArr) {
Intrinsics.checkNotNullParameter(uByteArr, "<this>");
int length = uByteArr.length;
byte[] bArr = new byte[length];
for (int i = 0; i < length; i++) {
bArr[i] = uByteArr[i].getData();
}
return UByteArray.m5769constructorimpl(bArr);
}
private static final byte[] toUByteArray(byte[] bArr) {
Intrinsics.checkNotNullParameter(bArr, "<this>");
byte[] copyOf = Arrays.copyOf(bArr, bArr.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return UByteArray.m5769constructorimpl(copyOf);
}
public static final int[] toUIntArray(UInt[] uIntArr) {
Intrinsics.checkNotNullParameter(uIntArr, "<this>");
int length = uIntArr.length;
int[] iArr = new int[length];
for (int i = 0; i < length; i++) {
iArr[i] = uIntArr[i].getData();
}
return UIntArray.m5848constructorimpl(iArr);
}
private static final int[] toUIntArray(int[] iArr) {
Intrinsics.checkNotNullParameter(iArr, "<this>");
int[] copyOf = Arrays.copyOf(iArr, iArr.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return UIntArray.m5848constructorimpl(copyOf);
}
public static final long[] toULongArray(ULong[] uLongArr) {
Intrinsics.checkNotNullParameter(uLongArr, "<this>");
int length = uLongArr.length;
long[] jArr = new long[length];
for (int i = 0; i < length; i++) {
jArr[i] = uLongArr[i].getData();
}
return ULongArray.m5927constructorimpl(jArr);
}
private static final long[] toULongArray(long[] jArr) {
Intrinsics.checkNotNullParameter(jArr, "<this>");
long[] copyOf = Arrays.copyOf(jArr, jArr.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return ULongArray.m5927constructorimpl(copyOf);
}
public static final short[] toUShortArray(UShort[] uShortArr) {
Intrinsics.checkNotNullParameter(uShortArr, "<this>");
int length = uShortArr.length;
short[] sArr = new short[length];
for (int i = 0; i < length; i++) {
sArr[i] = uShortArr[i].getData();
}
return UShortArray.m6032constructorimpl(sArr);
}
private static final short[] toUShortArray(short[] sArr) {
Intrinsics.checkNotNullParameter(sArr, "<this>");
short[] copyOf = Arrays.copyOf(sArr, sArr.length);
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
return UShortArray.m6032constructorimpl(copyOf);
}
/* renamed from: associateWith-jgv0xPQ, reason: not valid java name */
private static final <V> Map<UInt, V> m6240associateWithjgv0xPQ(int[] associateWith, Function1<? super UInt, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWith, "$this$associateWith");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(UIntArray.m5854getSizeimpl(associateWith)), 16));
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(associateWith);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(associateWith, i);
linkedHashMap.put(UInt.m5787boximpl(m5853getpVg5ArA), valueSelector.invoke(UInt.m5787boximpl(m5853getpVg5ArA)));
}
return linkedHashMap;
}
/* renamed from: associateWith-MShoTSo, reason: not valid java name */
private static final <V> Map<ULong, V> m6239associateWithMShoTSo(long[] associateWith, Function1<? super ULong, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWith, "$this$associateWith");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(ULongArray.m5933getSizeimpl(associateWith)), 16));
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(associateWith);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(associateWith, i);
linkedHashMap.put(ULong.m5866boximpl(m5932getsVKNKU), valueSelector.invoke(ULong.m5866boximpl(m5932getsVKNKU)));
}
return linkedHashMap;
}
/* renamed from: associateWith-JOV_ifY, reason: not valid java name */
private static final <V> Map<UByte, V> m6238associateWithJOV_ifY(byte[] associateWith, Function1<? super UByte, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWith, "$this$associateWith");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(UByteArray.m5775getSizeimpl(associateWith)), 16));
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(associateWith);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(associateWith, i);
linkedHashMap.put(UByte.m5710boximpl(m5774getw2LRezQ), valueSelector.invoke(UByte.m5710boximpl(m5774getw2LRezQ)));
}
return linkedHashMap;
}
/* renamed from: associateWith-xTcfx_M, reason: not valid java name */
private static final <V> Map<UShort, V> m6241associateWithxTcfx_M(short[] associateWith, Function1<? super UShort, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWith, "$this$associateWith");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(UShortArray.m6038getSizeimpl(associateWith)), 16));
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(associateWith);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(associateWith, i);
linkedHashMap.put(UShort.m5973boximpl(m6037getMh2AYeg), valueSelector.invoke(UShort.m5973boximpl(m6037getMh2AYeg)));
}
return linkedHashMap;
}
/* renamed from: associateWithTo-4D70W2E, reason: not valid java name */
private static final <V, M extends Map<? super UInt, ? super V>> M m6242associateWithTo4D70W2E(int[] associateWithTo, M destination, Function1<? super UInt, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWithTo, "$this$associateWithTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(associateWithTo);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(associateWithTo, i);
destination.put(UInt.m5787boximpl(m5853getpVg5ArA), valueSelector.invoke(UInt.m5787boximpl(m5853getpVg5ArA)));
}
return destination;
}
/* renamed from: associateWithTo-X6OPwNk, reason: not valid java name */
private static final <V, M extends Map<? super ULong, ? super V>> M m6244associateWithToX6OPwNk(long[] associateWithTo, M destination, Function1<? super ULong, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWithTo, "$this$associateWithTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(associateWithTo);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(associateWithTo, i);
destination.put(ULong.m5866boximpl(m5932getsVKNKU), valueSelector.invoke(ULong.m5866boximpl(m5932getsVKNKU)));
}
return destination;
}
/* renamed from: associateWithTo-H21X9dk, reason: not valid java name */
private static final <V, M extends Map<? super UByte, ? super V>> M m6243associateWithToH21X9dk(byte[] associateWithTo, M destination, Function1<? super UByte, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWithTo, "$this$associateWithTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(associateWithTo);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(associateWithTo, i);
destination.put(UByte.m5710boximpl(m5774getw2LRezQ), valueSelector.invoke(UByte.m5710boximpl(m5774getw2LRezQ)));
}
return destination;
}
/* renamed from: associateWithTo-ciTST-8, reason: not valid java name */
private static final <V, M extends Map<? super UShort, ? super V>> M m6245associateWithTociTST8(short[] associateWithTo, M destination, Function1<? super UShort, ? extends V> valueSelector) {
Intrinsics.checkNotNullParameter(associateWithTo, "$this$associateWithTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(valueSelector, "valueSelector");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(associateWithTo);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(associateWithTo, i);
destination.put(UShort.m5973boximpl(m6037getMh2AYeg), valueSelector.invoke(UShort.m5973boximpl(m6037getMh2AYeg)));
}
return destination;
}
/* renamed from: flatMap-jgv0xPQ, reason: not valid java name */
private static final <R> List<R> m6384flatMapjgv0xPQ(int[] flatMap, Function1<? super UInt, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMap, "$this$flatMap");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(flatMap);
for (int i = 0; i < m5854getSizeimpl; i++) {
CollectionsKt.addAll(arrayList, transform.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(flatMap, i))));
}
return arrayList;
}
/* renamed from: flatMap-MShoTSo, reason: not valid java name */
private static final <R> List<R> m6383flatMapMShoTSo(long[] flatMap, Function1<? super ULong, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMap, "$this$flatMap");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(flatMap);
for (int i = 0; i < m5933getSizeimpl; i++) {
CollectionsKt.addAll(arrayList, transform.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(flatMap, i))));
}
return arrayList;
}
/* renamed from: flatMap-JOV_ifY, reason: not valid java name */
private static final <R> List<R> m6382flatMapJOV_ifY(byte[] flatMap, Function1<? super UByte, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMap, "$this$flatMap");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(flatMap);
for (int i = 0; i < m5775getSizeimpl; i++) {
CollectionsKt.addAll(arrayList, transform.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(flatMap, i))));
}
return arrayList;
}
/* renamed from: flatMap-xTcfx_M, reason: not valid java name */
private static final <R> List<R> m6385flatMapxTcfx_M(short[] flatMap, Function1<? super UShort, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMap, "$this$flatMap");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(flatMap);
for (int i = 0; i < m6038getSizeimpl; i++) {
CollectionsKt.addAll(arrayList, transform.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(flatMap, i))));
}
return arrayList;
}
/* renamed from: flatMapIndexed-WyvcNBI, reason: not valid java name */
private static final <R> List<R> m6387flatMapIndexedWyvcNBI(int[] flatMapIndexed, Function2<? super Integer, ? super UInt, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexed, "$this$flatMapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(flatMapIndexed);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
CollectionsKt.addAll(arrayList, transform.invoke(Integer.valueOf(i2), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(flatMapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: flatMapIndexed-s8dVfGU, reason: not valid java name */
private static final <R> List<R> m6388flatMapIndexeds8dVfGU(long[] flatMapIndexed, Function2<? super Integer, ? super ULong, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexed, "$this$flatMapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(flatMapIndexed);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
CollectionsKt.addAll(arrayList, transform.invoke(Integer.valueOf(i2), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(flatMapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: flatMapIndexed-ELGow60, reason: not valid java name */
private static final <R> List<R> m6386flatMapIndexedELGow60(byte[] flatMapIndexed, Function2<? super Integer, ? super UByte, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexed, "$this$flatMapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(flatMapIndexed);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
CollectionsKt.addAll(arrayList, transform.invoke(Integer.valueOf(i2), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(flatMapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: flatMapIndexed-xzaTVY8, reason: not valid java name */
private static final <R> List<R> m6389flatMapIndexedxzaTVY8(short[] flatMapIndexed, Function2<? super Integer, ? super UShort, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexed, "$this$flatMapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(flatMapIndexed);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
CollectionsKt.addAll(arrayList, transform.invoke(Integer.valueOf(i2), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(flatMapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: flatMapIndexedTo--6EtJGI, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6390flatMapIndexedTo6EtJGI(int[] flatMapIndexedTo, C destination, Function2<? super Integer, ? super UInt, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexedTo, "$this$flatMapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(flatMapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
CollectionsKt.addAll(destination, transform.invoke(Integer.valueOf(i2), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(flatMapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: flatMapIndexedTo-pe2Q0Dw, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6393flatMapIndexedTope2Q0Dw(long[] flatMapIndexedTo, C destination, Function2<? super Integer, ? super ULong, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexedTo, "$this$flatMapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(flatMapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
CollectionsKt.addAll(destination, transform.invoke(Integer.valueOf(i2), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(flatMapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: flatMapIndexedTo-eNpIKz8, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6392flatMapIndexedToeNpIKz8(byte[] flatMapIndexedTo, C destination, Function2<? super Integer, ? super UByte, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexedTo, "$this$flatMapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(flatMapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
CollectionsKt.addAll(destination, transform.invoke(Integer.valueOf(i2), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(flatMapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: flatMapIndexedTo-QqktQ3k, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6391flatMapIndexedToQqktQ3k(short[] flatMapIndexedTo, C destination, Function2<? super Integer, ? super UShort, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapIndexedTo, "$this$flatMapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(flatMapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
CollectionsKt.addAll(destination, transform.invoke(Integer.valueOf(i2), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(flatMapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: flatMapTo-wU5IKMo, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6396flatMapTowU5IKMo(int[] flatMapTo, C destination, Function1<? super UInt, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapTo, "$this$flatMapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(flatMapTo);
for (int i = 0; i < m5854getSizeimpl; i++) {
CollectionsKt.addAll(destination, transform.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(flatMapTo, i))));
}
return destination;
}
/* renamed from: flatMapTo-HqK1JgA, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6394flatMapToHqK1JgA(long[] flatMapTo, C destination, Function1<? super ULong, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapTo, "$this$flatMapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(flatMapTo);
for (int i = 0; i < m5933getSizeimpl; i++) {
CollectionsKt.addAll(destination, transform.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(flatMapTo, i))));
}
return destination;
}
/* renamed from: flatMapTo-wzUQCXU, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6397flatMapTowzUQCXU(byte[] flatMapTo, C destination, Function1<? super UByte, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapTo, "$this$flatMapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(flatMapTo);
for (int i = 0; i < m5775getSizeimpl; i++) {
CollectionsKt.addAll(destination, transform.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(flatMapTo, i))));
}
return destination;
}
/* renamed from: flatMapTo-oEOeDjA, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6395flatMapTooEOeDjA(short[] flatMapTo, C destination, Function1<? super UShort, ? extends Iterable<? extends R>> transform) {
Intrinsics.checkNotNullParameter(flatMapTo, "$this$flatMapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(flatMapTo);
for (int i = 0; i < m6038getSizeimpl; i++) {
CollectionsKt.addAll(destination, transform.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(flatMapTo, i))));
}
return destination;
}
/* renamed from: groupBy-jgv0xPQ, reason: not valid java name */
private static final <K> Map<K, List<UInt>> m6452groupByjgv0xPQ(int[] groupBy, Function1<? super UInt, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(groupBy);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(groupBy, i);
K invoke = keySelector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
Object obj = linkedHashMap.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
linkedHashMap.put(invoke, obj);
}
((List) obj).add(UInt.m5787boximpl(m5853getpVg5ArA));
}
return linkedHashMap;
}
/* renamed from: groupBy-MShoTSo, reason: not valid java name */
private static final <K> Map<K, List<ULong>> m6450groupByMShoTSo(long[] groupBy, Function1<? super ULong, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(groupBy);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(groupBy, i);
K invoke = keySelector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
Object obj = linkedHashMap.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
linkedHashMap.put(invoke, obj);
}
((List) obj).add(ULong.m5866boximpl(m5932getsVKNKU));
}
return linkedHashMap;
}
/* renamed from: groupBy-JOV_ifY, reason: not valid java name */
private static final <K> Map<K, List<UByte>> m6448groupByJOV_ifY(byte[] groupBy, Function1<? super UByte, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(groupBy);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(groupBy, i);
K invoke = keySelector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
Object obj = linkedHashMap.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
linkedHashMap.put(invoke, obj);
}
((List) obj).add(UByte.m5710boximpl(m5774getw2LRezQ));
}
return linkedHashMap;
}
/* renamed from: groupBy-xTcfx_M, reason: not valid java name */
private static final <K> Map<K, List<UShort>> m6453groupByxTcfx_M(short[] groupBy, Function1<? super UShort, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(groupBy);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(groupBy, i);
K invoke = keySelector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
Object obj = linkedHashMap.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
linkedHashMap.put(invoke, obj);
}
((List) obj).add(UShort.m5973boximpl(m6037getMh2AYeg));
}
return linkedHashMap;
}
/* renamed from: groupBy-L4rlFek, reason: not valid java name */
private static final <K, V> Map<K, List<V>> m6449groupByL4rlFek(int[] groupBy, Function1<? super UInt, ? extends K> keySelector, Function1<? super UInt, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(groupBy);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(groupBy, i);
K invoke = keySelector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
ArrayList arrayList = linkedHashMap.get(invoke);
if (arrayList == null) {
arrayList = new ArrayList();
linkedHashMap.put(invoke, arrayList);
}
arrayList.add(valueTransform.invoke(UInt.m5787boximpl(m5853getpVg5ArA)));
}
return linkedHashMap;
}
/* renamed from: groupBy--_j2Y-Q, reason: not valid java name */
private static final <K, V> Map<K, List<V>> m6446groupBy_j2YQ(long[] groupBy, Function1<? super ULong, ? extends K> keySelector, Function1<? super ULong, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(groupBy);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(groupBy, i);
K invoke = keySelector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
ArrayList arrayList = linkedHashMap.get(invoke);
if (arrayList == null) {
arrayList = new ArrayList();
linkedHashMap.put(invoke, arrayList);
}
arrayList.add(valueTransform.invoke(ULong.m5866boximpl(m5932getsVKNKU)));
}
return linkedHashMap;
}
/* renamed from: groupBy-bBsjw1Y, reason: not valid java name */
private static final <K, V> Map<K, List<V>> m6451groupBybBsjw1Y(byte[] groupBy, Function1<? super UByte, ? extends K> keySelector, Function1<? super UByte, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(groupBy);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(groupBy, i);
K invoke = keySelector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
ArrayList arrayList = linkedHashMap.get(invoke);
if (arrayList == null) {
arrayList = new ArrayList();
linkedHashMap.put(invoke, arrayList);
}
arrayList.add(valueTransform.invoke(UByte.m5710boximpl(m5774getw2LRezQ)));
}
return linkedHashMap;
}
/* renamed from: groupBy-3bBvP4M, reason: not valid java name */
private static final <K, V> Map<K, List<V>> m6447groupBy3bBvP4M(short[] groupBy, Function1<? super UShort, ? extends K> keySelector, Function1<? super UShort, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupBy, "$this$groupBy");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
LinkedHashMap linkedHashMap = new LinkedHashMap();
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(groupBy);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(groupBy, i);
K invoke = keySelector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
ArrayList arrayList = linkedHashMap.get(invoke);
if (arrayList == null) {
arrayList = new ArrayList();
linkedHashMap.put(invoke, arrayList);
}
arrayList.add(valueTransform.invoke(UShort.m5973boximpl(m6037getMh2AYeg)));
}
return linkedHashMap;
}
/* renamed from: groupByTo-4D70W2E, reason: not valid java name */
private static final <K, M extends Map<? super K, List<UInt>>> M m6454groupByTo4D70W2E(int[] groupByTo, M destination, Function1<? super UInt, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(groupByTo);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(groupByTo, i);
K invoke = keySelector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(UInt.m5787boximpl(m5853getpVg5ArA));
}
return destination;
}
/* renamed from: groupByTo-X6OPwNk, reason: not valid java name */
private static final <K, M extends Map<? super K, List<ULong>>> M m6458groupByToX6OPwNk(long[] groupByTo, M destination, Function1<? super ULong, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(groupByTo);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(groupByTo, i);
K invoke = keySelector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(ULong.m5866boximpl(m5932getsVKNKU));
}
return destination;
}
/* renamed from: groupByTo-H21X9dk, reason: not valid java name */
private static final <K, M extends Map<? super K, List<UByte>>> M m6455groupByToH21X9dk(byte[] groupByTo, M destination, Function1<? super UByte, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(groupByTo);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(groupByTo, i);
K invoke = keySelector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(UByte.m5710boximpl(m5774getw2LRezQ));
}
return destination;
}
/* renamed from: groupByTo-ciTST-8, reason: not valid java name */
private static final <K, M extends Map<? super K, List<UShort>>> M m6459groupByTociTST8(short[] groupByTo, M destination, Function1<? super UShort, ? extends K> keySelector) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(groupByTo);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(groupByTo, i);
K invoke = keySelector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(UShort.m5973boximpl(m6037getMh2AYeg));
}
return destination;
}
/* JADX WARN: Multi-variable type inference failed */
/* renamed from: groupByTo-JM6gNCM, reason: not valid java name */
private static final <K, V, M extends Map<? super K, List<V>>> M m6456groupByToJM6gNCM(int[] groupByTo, M destination, Function1<? super UInt, ? extends K> keySelector, Function1<? super UInt, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(groupByTo);
for (int i = 0; i < m5854getSizeimpl; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(groupByTo, i);
K invoke = keySelector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(valueTransform.invoke(UInt.m5787boximpl(m5853getpVg5ArA)));
}
return destination;
}
/* JADX WARN: Multi-variable type inference failed */
/* renamed from: groupByTo-QxgOkWg, reason: not valid java name */
private static final <K, V, M extends Map<? super K, List<V>>> M m6457groupByToQxgOkWg(long[] groupByTo, M destination, Function1<? super ULong, ? extends K> keySelector, Function1<? super ULong, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(groupByTo);
for (int i = 0; i < m5933getSizeimpl; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(groupByTo, i);
K invoke = keySelector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(valueTransform.invoke(ULong.m5866boximpl(m5932getsVKNKU)));
}
return destination;
}
/* JADX WARN: Multi-variable type inference failed */
/* renamed from: groupByTo-qOZmbk8, reason: not valid java name */
private static final <K, V, M extends Map<? super K, List<V>>> M m6461groupByToqOZmbk8(byte[] groupByTo, M destination, Function1<? super UByte, ? extends K> keySelector, Function1<? super UByte, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(groupByTo);
for (int i = 0; i < m5775getSizeimpl; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(groupByTo, i);
K invoke = keySelector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(valueTransform.invoke(UByte.m5710boximpl(m5774getw2LRezQ)));
}
return destination;
}
/* JADX WARN: Multi-variable type inference failed */
/* renamed from: groupByTo-q8RuPII, reason: not valid java name */
private static final <K, V, M extends Map<? super K, List<V>>> M m6460groupByToq8RuPII(short[] groupByTo, M destination, Function1<? super UShort, ? extends K> keySelector, Function1<? super UShort, ? extends V> valueTransform) {
Intrinsics.checkNotNullParameter(groupByTo, "$this$groupByTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(keySelector, "keySelector");
Intrinsics.checkNotNullParameter(valueTransform, "valueTransform");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(groupByTo);
for (int i = 0; i < m6038getSizeimpl; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(groupByTo, i);
K invoke = keySelector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
Object obj = destination.get(invoke);
if (obj == null) {
obj = (List) new ArrayList();
destination.put(invoke, obj);
}
((List) obj).add(valueTransform.invoke(UShort.m5973boximpl(m6037getMh2AYeg)));
}
return destination;
}
/* renamed from: map-jgv0xPQ, reason: not valid java name */
private static final <R> List<R> m6496mapjgv0xPQ(int[] map, Function1<? super UInt, ? extends R> transform) {
Intrinsics.checkNotNullParameter(map, "$this$map");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(map));
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(map);
for (int i = 0; i < m5854getSizeimpl; i++) {
arrayList.add(transform.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(map, i))));
}
return arrayList;
}
/* renamed from: map-MShoTSo, reason: not valid java name */
private static final <R> List<R> m6495mapMShoTSo(long[] map, Function1<? super ULong, ? extends R> transform) {
Intrinsics.checkNotNullParameter(map, "$this$map");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(map));
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(map);
for (int i = 0; i < m5933getSizeimpl; i++) {
arrayList.add(transform.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(map, i))));
}
return arrayList;
}
/* renamed from: map-JOV_ifY, reason: not valid java name */
private static final <R> List<R> m6494mapJOV_ifY(byte[] map, Function1<? super UByte, ? extends R> transform) {
Intrinsics.checkNotNullParameter(map, "$this$map");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(map));
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(map);
for (int i = 0; i < m5775getSizeimpl; i++) {
arrayList.add(transform.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(map, i))));
}
return arrayList;
}
/* renamed from: map-xTcfx_M, reason: not valid java name */
private static final <R> List<R> m6497mapxTcfx_M(short[] map, Function1<? super UShort, ? extends R> transform) {
Intrinsics.checkNotNullParameter(map, "$this$map");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(map));
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(map);
for (int i = 0; i < m6038getSizeimpl; i++) {
arrayList.add(transform.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(map, i))));
}
return arrayList;
}
/* renamed from: mapIndexed-WyvcNBI, reason: not valid java name */
private static final <R> List<R> m6499mapIndexedWyvcNBI(int[] mapIndexed, Function2<? super Integer, ? super UInt, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexed, "$this$mapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(mapIndexed));
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(mapIndexed);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
arrayList.add(transform.invoke(Integer.valueOf(i2), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(mapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: mapIndexed-s8dVfGU, reason: not valid java name */
private static final <R> List<R> m6500mapIndexeds8dVfGU(long[] mapIndexed, Function2<? super Integer, ? super ULong, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexed, "$this$mapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(mapIndexed));
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(mapIndexed);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
arrayList.add(transform.invoke(Integer.valueOf(i2), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(mapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: mapIndexed-ELGow60, reason: not valid java name */
private static final <R> List<R> m6498mapIndexedELGow60(byte[] mapIndexed, Function2<? super Integer, ? super UByte, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexed, "$this$mapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(mapIndexed));
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(mapIndexed);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
arrayList.add(transform.invoke(Integer.valueOf(i2), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(mapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: mapIndexed-xzaTVY8, reason: not valid java name */
private static final <R> List<R> m6501mapIndexedxzaTVY8(short[] mapIndexed, Function2<? super Integer, ? super UShort, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexed, "$this$mapIndexed");
Intrinsics.checkNotNullParameter(transform, "transform");
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(mapIndexed));
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(mapIndexed);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
arrayList.add(transform.invoke(Integer.valueOf(i2), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(mapIndexed, i))));
i++;
i2++;
}
return arrayList;
}
/* renamed from: mapIndexedTo--6EtJGI, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6502mapIndexedTo6EtJGI(int[] mapIndexedTo, C destination, Function2<? super Integer, ? super UInt, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexedTo, "$this$mapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(mapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
destination.add(transform.invoke(Integer.valueOf(i2), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(mapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: mapIndexedTo-pe2Q0Dw, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6505mapIndexedTope2Q0Dw(long[] mapIndexedTo, C destination, Function2<? super Integer, ? super ULong, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexedTo, "$this$mapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(mapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
destination.add(transform.invoke(Integer.valueOf(i2), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(mapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: mapIndexedTo-eNpIKz8, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6504mapIndexedToeNpIKz8(byte[] mapIndexedTo, C destination, Function2<? super Integer, ? super UByte, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexedTo, "$this$mapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(mapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
destination.add(transform.invoke(Integer.valueOf(i2), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(mapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: mapIndexedTo-QqktQ3k, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6503mapIndexedToQqktQ3k(short[] mapIndexedTo, C destination, Function2<? super Integer, ? super UShort, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapIndexedTo, "$this$mapIndexedTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(mapIndexedTo);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
destination.add(transform.invoke(Integer.valueOf(i2), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(mapIndexedTo, i))));
i++;
i2++;
}
return destination;
}
/* renamed from: mapTo-wU5IKMo, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6508mapTowU5IKMo(int[] mapTo, C destination, Function1<? super UInt, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapTo, "$this$mapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(mapTo);
for (int i = 0; i < m5854getSizeimpl; i++) {
destination.add(transform.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(mapTo, i))));
}
return destination;
}
/* renamed from: mapTo-HqK1JgA, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6506mapToHqK1JgA(long[] mapTo, C destination, Function1<? super ULong, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapTo, "$this$mapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(mapTo);
for (int i = 0; i < m5933getSizeimpl; i++) {
destination.add(transform.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(mapTo, i))));
}
return destination;
}
/* renamed from: mapTo-wzUQCXU, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6509mapTowzUQCXU(byte[] mapTo, C destination, Function1<? super UByte, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapTo, "$this$mapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(mapTo);
for (int i = 0; i < m5775getSizeimpl; i++) {
destination.add(transform.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(mapTo, i))));
}
return destination;
}
/* renamed from: mapTo-oEOeDjA, reason: not valid java name */
private static final <R, C extends Collection<? super R>> C m6507mapTooEOeDjA(short[] mapTo, C destination, Function1<? super UShort, ? extends R> transform) {
Intrinsics.checkNotNullParameter(mapTo, "$this$mapTo");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(transform, "transform");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(mapTo);
for (int i = 0; i < m6038getSizeimpl; i++) {
destination.add(transform.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(mapTo, i))));
}
return destination;
}
/* renamed from: withIndex--ajY-9A, reason: not valid java name */
public static final Iterable<IndexedValue<UInt>> m6850withIndexajY9A(final int[] withIndex) {
Intrinsics.checkNotNullParameter(withIndex, "$this$withIndex");
return new IndexingIterable(new Function0<Iterator<? extends UInt>>() { // from class: kotlin.collections.unsigned.UArraysKt___UArraysKt$withIndex$1
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final Iterator<? extends UInt> invoke() {
return UIntArray.m5857iteratorimpl(withIndex);
}
});
}
/* renamed from: withIndex-QwZRm1k, reason: not valid java name */
public static final Iterable<IndexedValue<ULong>> m6852withIndexQwZRm1k(final long[] withIndex) {
Intrinsics.checkNotNullParameter(withIndex, "$this$withIndex");
return new IndexingIterable(new Function0<Iterator<? extends ULong>>() { // from class: kotlin.collections.unsigned.UArraysKt___UArraysKt$withIndex$2
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final Iterator<? extends ULong> invoke() {
return ULongArray.m5936iteratorimpl(withIndex);
}
});
}
/* renamed from: withIndex-GBYM_sE, reason: not valid java name */
public static final Iterable<IndexedValue<UByte>> m6851withIndexGBYM_sE(final byte[] withIndex) {
Intrinsics.checkNotNullParameter(withIndex, "$this$withIndex");
return new IndexingIterable(new Function0<Iterator<? extends UByte>>() { // from class: kotlin.collections.unsigned.UArraysKt___UArraysKt$withIndex$3
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final Iterator<? extends UByte> invoke() {
return UByteArray.m5778iteratorimpl(withIndex);
}
});
}
/* renamed from: withIndex-rL5Bavg, reason: not valid java name */
public static final Iterable<IndexedValue<UShort>> m6853withIndexrL5Bavg(final short[] withIndex) {
Intrinsics.checkNotNullParameter(withIndex, "$this$withIndex");
return new IndexingIterable(new Function0<Iterator<? extends UShort>>() { // from class: kotlin.collections.unsigned.UArraysKt___UArraysKt$withIndex$4
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final Iterator<? extends UShort> invoke() {
return UShortArray.m6041iteratorimpl(withIndex);
}
});
}
/* renamed from: all-jgv0xPQ, reason: not valid java name */
private static final boolean m6224alljgv0xPQ(int[] all, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(all, "$this$all");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(all);
for (int i = 0; i < m5854getSizeimpl; i++) {
if (!predicate.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(all, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: all-MShoTSo, reason: not valid java name */
private static final boolean m6223allMShoTSo(long[] all, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(all, "$this$all");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(all);
for (int i = 0; i < m5933getSizeimpl; i++) {
if (!predicate.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(all, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: all-JOV_ifY, reason: not valid java name */
private static final boolean m6222allJOV_ifY(byte[] all, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(all, "$this$all");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(all);
for (int i = 0; i < m5775getSizeimpl; i++) {
if (!predicate.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(all, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: all-xTcfx_M, reason: not valid java name */
private static final boolean m6225allxTcfx_M(short[] all, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(all, "$this$all");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(all);
for (int i = 0; i < m6038getSizeimpl; i++) {
if (!predicate.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(all, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: any--ajY-9A, reason: not valid java name */
private static final boolean m6226anyajY9A(int[] any) {
Intrinsics.checkNotNullParameter(any, "$this$any");
return ArraysKt.any(any);
}
/* renamed from: any-QwZRm1k, reason: not valid java name */
private static final boolean m6230anyQwZRm1k(long[] any) {
Intrinsics.checkNotNullParameter(any, "$this$any");
return ArraysKt.any(any);
}
/* renamed from: any-GBYM_sE, reason: not valid java name */
private static final boolean m6227anyGBYM_sE(byte[] any) {
Intrinsics.checkNotNullParameter(any, "$this$any");
return ArraysKt.any(any);
}
/* renamed from: any-rL5Bavg, reason: not valid java name */
private static final boolean m6232anyrL5Bavg(short[] any) {
Intrinsics.checkNotNullParameter(any, "$this$any");
return ArraysKt.any(any);
}
/* renamed from: any-jgv0xPQ, reason: not valid java name */
private static final boolean m6231anyjgv0xPQ(int[] any, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(any, "$this$any");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(any);
for (int i = 0; i < m5854getSizeimpl; i++) {
if (predicate.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(any, i))).booleanValue()) {
return true;
}
}
return false;
}
/* renamed from: any-MShoTSo, reason: not valid java name */
private static final boolean m6229anyMShoTSo(long[] any, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(any, "$this$any");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(any);
for (int i = 0; i < m5933getSizeimpl; i++) {
if (predicate.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(any, i))).booleanValue()) {
return true;
}
}
return false;
}
/* renamed from: any-JOV_ifY, reason: not valid java name */
private static final boolean m6228anyJOV_ifY(byte[] any, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(any, "$this$any");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(any);
for (int i = 0; i < m5775getSizeimpl; i++) {
if (predicate.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(any, i))).booleanValue()) {
return true;
}
}
return false;
}
/* renamed from: any-xTcfx_M, reason: not valid java name */
private static final boolean m6233anyxTcfx_M(short[] any, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(any, "$this$any");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(any);
for (int i = 0; i < m6038getSizeimpl; i++) {
if (predicate.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(any, i))).booleanValue()) {
return true;
}
}
return false;
}
/* renamed from: count-jgv0xPQ, reason: not valid java name */
private static final int m6300countjgv0xPQ(int[] count, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(count, "$this$count");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(count);
int i = 0;
for (int i2 = 0; i2 < m5854getSizeimpl; i2++) {
if (predicate.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(count, i2))).booleanValue()) {
i++;
}
}
return i;
}
/* renamed from: count-MShoTSo, reason: not valid java name */
private static final int m6299countMShoTSo(long[] count, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(count, "$this$count");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(count);
int i = 0;
for (int i2 = 0; i2 < m5933getSizeimpl; i2++) {
if (predicate.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(count, i2))).booleanValue()) {
i++;
}
}
return i;
}
/* renamed from: count-JOV_ifY, reason: not valid java name */
private static final int m6298countJOV_ifY(byte[] count, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(count, "$this$count");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(count);
int i = 0;
for (int i2 = 0; i2 < m5775getSizeimpl; i2++) {
if (predicate.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(count, i2))).booleanValue()) {
i++;
}
}
return i;
}
/* renamed from: count-xTcfx_M, reason: not valid java name */
private static final int m6301countxTcfx_M(short[] count, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(count, "$this$count");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(count);
int i = 0;
for (int i2 = 0; i2 < m6038getSizeimpl; i2++) {
if (predicate.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(count, i2))).booleanValue()) {
i++;
}
}
return i;
}
/* renamed from: fold-zi1B2BA, reason: not valid java name */
private static final <R> R m6400foldzi1B2BA(int[] fold, R r, Function2<? super R, ? super UInt, ? extends R> operation) {
Intrinsics.checkNotNullParameter(fold, "$this$fold");
Intrinsics.checkNotNullParameter(operation, "operation");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(fold);
for (int i = 0; i < m5854getSizeimpl; i++) {
r = operation.invoke(r, UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(fold, i)));
}
return r;
}
/* renamed from: fold-A8wKCXQ, reason: not valid java name */
private static final <R> R m6398foldA8wKCXQ(long[] fold, R r, Function2<? super R, ? super ULong, ? extends R> operation) {
Intrinsics.checkNotNullParameter(fold, "$this$fold");
Intrinsics.checkNotNullParameter(operation, "operation");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(fold);
for (int i = 0; i < m5933getSizeimpl; i++) {
r = operation.invoke(r, ULong.m5866boximpl(ULongArray.m5932getsVKNKU(fold, i)));
}
return r;
}
/* renamed from: fold-yXmHNn8, reason: not valid java name */
private static final <R> R m6399foldyXmHNn8(byte[] fold, R r, Function2<? super R, ? super UByte, ? extends R> operation) {
Intrinsics.checkNotNullParameter(fold, "$this$fold");
Intrinsics.checkNotNullParameter(operation, "operation");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(fold);
for (int i = 0; i < m5775getSizeimpl; i++) {
r = operation.invoke(r, UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(fold, i)));
}
return r;
}
/* renamed from: fold-zww5nb8, reason: not valid java name */
private static final <R> R m6401foldzww5nb8(short[] fold, R r, Function2<? super R, ? super UShort, ? extends R> operation) {
Intrinsics.checkNotNullParameter(fold, "$this$fold");
Intrinsics.checkNotNullParameter(operation, "operation");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(fold);
for (int i = 0; i < m6038getSizeimpl; i++) {
r = operation.invoke(r, UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(fold, i)));
}
return r;
}
/* renamed from: foldIndexed-yVwIW0Q, reason: not valid java name */
private static final <R> R m6405foldIndexedyVwIW0Q(int[] foldIndexed, R r, Function3<? super Integer, ? super R, ? super UInt, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldIndexed, "$this$foldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(foldIndexed);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
r = operation.invoke(Integer.valueOf(i2), r, UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(foldIndexed, i)));
i++;
i2++;
}
return r;
}
/* renamed from: foldIndexed-mwnnOCs, reason: not valid java name */
private static final <R> R m6404foldIndexedmwnnOCs(long[] foldIndexed, R r, Function3<? super Integer, ? super R, ? super ULong, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldIndexed, "$this$foldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(foldIndexed);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
r = operation.invoke(Integer.valueOf(i2), r, ULong.m5866boximpl(ULongArray.m5932getsVKNKU(foldIndexed, i)));
i++;
i2++;
}
return r;
}
/* renamed from: foldIndexed-3iWJZGE, reason: not valid java name */
private static final <R> R m6402foldIndexed3iWJZGE(byte[] foldIndexed, R r, Function3<? super Integer, ? super R, ? super UByte, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldIndexed, "$this$foldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(foldIndexed);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
r = operation.invoke(Integer.valueOf(i2), r, UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(foldIndexed, i)));
i++;
i2++;
}
return r;
}
/* renamed from: foldIndexed-bzxtMww, reason: not valid java name */
private static final <R> R m6403foldIndexedbzxtMww(short[] foldIndexed, R r, Function3<? super Integer, ? super R, ? super UShort, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldIndexed, "$this$foldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(foldIndexed);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
r = operation.invoke(Integer.valueOf(i2), r, UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(foldIndexed, i)));
i++;
i2++;
}
return r;
}
/* renamed from: forEach-jgv0xPQ, reason: not valid java name */
private static final void m6416forEachjgv0xPQ(int[] forEach, Function1<? super UInt, Unit> action) {
Intrinsics.checkNotNullParameter(forEach, "$this$forEach");
Intrinsics.checkNotNullParameter(action, "action");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(forEach);
for (int i = 0; i < m5854getSizeimpl; i++) {
action.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(forEach, i)));
}
}
/* renamed from: forEach-MShoTSo, reason: not valid java name */
private static final void m6415forEachMShoTSo(long[] forEach, Function1<? super ULong, Unit> action) {
Intrinsics.checkNotNullParameter(forEach, "$this$forEach");
Intrinsics.checkNotNullParameter(action, "action");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(forEach);
for (int i = 0; i < m5933getSizeimpl; i++) {
action.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(forEach, i)));
}
}
/* renamed from: forEach-JOV_ifY, reason: not valid java name */
private static final void m6414forEachJOV_ifY(byte[] forEach, Function1<? super UByte, Unit> action) {
Intrinsics.checkNotNullParameter(forEach, "$this$forEach");
Intrinsics.checkNotNullParameter(action, "action");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(forEach);
for (int i = 0; i < m5775getSizeimpl; i++) {
action.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(forEach, i)));
}
}
/* renamed from: forEach-xTcfx_M, reason: not valid java name */
private static final void m6417forEachxTcfx_M(short[] forEach, Function1<? super UShort, Unit> action) {
Intrinsics.checkNotNullParameter(forEach, "$this$forEach");
Intrinsics.checkNotNullParameter(action, "action");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(forEach);
for (int i = 0; i < m6038getSizeimpl; i++) {
action.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(forEach, i)));
}
}
/* renamed from: forEachIndexed-WyvcNBI, reason: not valid java name */
private static final void m6419forEachIndexedWyvcNBI(int[] forEachIndexed, Function2<? super Integer, ? super UInt, Unit> action) {
Intrinsics.checkNotNullParameter(forEachIndexed, "$this$forEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(forEachIndexed);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
action.invoke(Integer.valueOf(i2), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(forEachIndexed, i)));
i++;
i2++;
}
}
/* renamed from: forEachIndexed-s8dVfGU, reason: not valid java name */
private static final void m6420forEachIndexeds8dVfGU(long[] forEachIndexed, Function2<? super Integer, ? super ULong, Unit> action) {
Intrinsics.checkNotNullParameter(forEachIndexed, "$this$forEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(forEachIndexed);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
action.invoke(Integer.valueOf(i2), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(forEachIndexed, i)));
i++;
i2++;
}
}
/* renamed from: forEachIndexed-ELGow60, reason: not valid java name */
private static final void m6418forEachIndexedELGow60(byte[] forEachIndexed, Function2<? super Integer, ? super UByte, Unit> action) {
Intrinsics.checkNotNullParameter(forEachIndexed, "$this$forEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(forEachIndexed);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
action.invoke(Integer.valueOf(i2), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(forEachIndexed, i)));
i++;
i2++;
}
}
/* renamed from: forEachIndexed-xzaTVY8, reason: not valid java name */
private static final void m6421forEachIndexedxzaTVY8(short[] forEachIndexed, Function2<? super Integer, ? super UShort, Unit> action) {
Intrinsics.checkNotNullParameter(forEachIndexed, "$this$forEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(forEachIndexed);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
action.invoke(Integer.valueOf(i2), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(forEachIndexed, i)));
i++;
i2++;
}
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrThrow-U, reason: not valid java name */
public static final int m6555maxOrThrowU(int[] max) {
Intrinsics.checkNotNullParameter(max, "$this$max");
if (UIntArray.m5856isEmptyimpl(max)) {
throw new NoSuchElementException();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(max, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(max)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(max, it.nextInt());
if (Integer.compareUnsigned(m5853getpVg5ArA, m5853getpVg5ArA2) < 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrThrow-U, reason: not valid java name */
public static final long m6556maxOrThrowU(long[] max) {
Intrinsics.checkNotNullParameter(max, "$this$max");
if (ULongArray.m5935isEmptyimpl(max)) {
throw new NoSuchElementException();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(max, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(max)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(max, it.nextInt());
if (Long.compareUnsigned(m5932getsVKNKU, m5932getsVKNKU2) < 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrThrow-U, reason: not valid java name */
public static final byte m6554maxOrThrowU(byte[] max) {
Intrinsics.checkNotNullParameter(max, "$this$max");
if (UByteArray.m5777isEmptyimpl(max)) {
throw new NoSuchElementException();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(max, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(max)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(max, it.nextInt());
if (Intrinsics.compare(m5774getw2LRezQ & 255, m5774getw2LRezQ2 & 255) < 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrThrow-U, reason: not valid java name */
public static final short m6557maxOrThrowU(short[] max) {
Intrinsics.checkNotNullParameter(max, "$this$max");
if (UShortArray.m6040isEmptyimpl(max)) {
throw new NoSuchElementException();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(max, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(max)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(max, it.nextInt());
if (Intrinsics.compare(m6037getMh2AYeg & UShort.MAX_VALUE, 65535 & m6037getMh2AYeg2) < 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> int m6515maxByOrThrowU(int[] maxBy, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxBy)) {
throw new NoSuchElementException();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(maxBy, 0);
int lastIndex = ArraysKt.getLastIndex(maxBy);
if (lastIndex == 0) {
return m5853getpVg5ArA;
}
R invoke = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(maxBy, it.nextInt());
R invoke2 = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA2));
if (invoke.compareTo(invoke2) < 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
invoke = invoke2;
}
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> long m6516maxByOrThrowU(long[] maxBy, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxBy)) {
throw new NoSuchElementException();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(maxBy, 0);
int lastIndex = ArraysKt.getLastIndex(maxBy);
if (lastIndex == 0) {
return m5932getsVKNKU;
}
R invoke = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(maxBy, it.nextInt());
R invoke2 = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU2));
if (invoke.compareTo(invoke2) < 0) {
m5932getsVKNKU = m5932getsVKNKU2;
invoke = invoke2;
}
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> byte m6514maxByOrThrowU(byte[] maxBy, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxBy)) {
throw new NoSuchElementException();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(maxBy, 0);
int lastIndex = ArraysKt.getLastIndex(maxBy);
if (lastIndex == 0) {
return m5774getw2LRezQ;
}
R invoke = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(maxBy, it.nextInt());
R invoke2 = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ2));
if (invoke.compareTo(invoke2) < 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
invoke = invoke2;
}
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> short m6517maxByOrThrowU(short[] maxBy, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxBy)) {
throw new NoSuchElementException();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(maxBy, 0);
int lastIndex = ArraysKt.getLastIndex(maxBy);
if (lastIndex == 0) {
return m6037getMh2AYeg;
}
R invoke = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(maxBy, it.nextInt());
R invoke2 = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg2));
if (invoke.compareTo(invoke2) < 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
invoke = invoke2;
}
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrNull-jgv0xPQ, reason: not valid java name */
private static final <R extends Comparable<? super R>> UInt m6512maxByOrNulljgv0xPQ(int[] maxByOrNull, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxByOrNull, "$this$maxByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxByOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(maxByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(maxByOrNull);
if (lastIndex == 0) {
return UInt.m5787boximpl(m5853getpVg5ArA);
}
R invoke = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(maxByOrNull, it.nextInt());
R invoke2 = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA2));
if (invoke.compareTo(invoke2) < 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
invoke = invoke2;
}
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrNull-MShoTSo, reason: not valid java name */
private static final <R extends Comparable<? super R>> ULong m6511maxByOrNullMShoTSo(long[] maxByOrNull, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxByOrNull, "$this$maxByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxByOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(maxByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(maxByOrNull);
if (lastIndex == 0) {
return ULong.m5866boximpl(m5932getsVKNKU);
}
R invoke = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(maxByOrNull, it.nextInt());
R invoke2 = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU2));
if (invoke.compareTo(invoke2) < 0) {
m5932getsVKNKU = m5932getsVKNKU2;
invoke = invoke2;
}
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrNull-JOV_ifY, reason: not valid java name */
private static final <R extends Comparable<? super R>> UByte m6510maxByOrNullJOV_ifY(byte[] maxByOrNull, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxByOrNull, "$this$maxByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxByOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(maxByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(maxByOrNull);
if (lastIndex == 0) {
return UByte.m5710boximpl(m5774getw2LRezQ);
}
R invoke = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(maxByOrNull, it.nextInt());
R invoke2 = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ2));
if (invoke.compareTo(invoke2) < 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
invoke = invoke2;
}
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxByOrNull-xTcfx_M, reason: not valid java name */
private static final <R extends Comparable<? super R>> UShort m6513maxByOrNullxTcfx_M(short[] maxByOrNull, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxByOrNull, "$this$maxByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxByOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(maxByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(maxByOrNull);
if (lastIndex == 0) {
return UShort.m5973boximpl(m6037getMh2AYeg);
}
R invoke = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(maxByOrNull, it.nextInt());
R invoke2 = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg2));
if (invoke.compareTo(invoke2) < 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
invoke = invoke2;
}
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-jgv0xPQ, reason: not valid java name */
private static final double m6524maxOfjgv0xPQ(int[] maxOf, Function1<? super UInt, Double> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-MShoTSo, reason: not valid java name */
private static final double m6521maxOfMShoTSo(long[] maxOf, Function1<? super ULong, Double> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-JOV_ifY, reason: not valid java name */
private static final double m6518maxOfJOV_ifY(byte[] maxOf, Function1<? super UByte, Double> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-xTcfx_M, reason: not valid java name */
private static final double m6527maxOfxTcfx_M(short[] maxOf, Function1<? super UShort, Double> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-jgv0xPQ, reason: not valid java name */
private static final float m6525maxOfjgv0xPQ(int[] maxOf, Function1<? super UInt, Float> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-MShoTSo, reason: not valid java name */
private static final float m6522maxOfMShoTSo(long[] maxOf, Function1<? super ULong, Float> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-JOV_ifY, reason: not valid java name */
private static final float m6519maxOfJOV_ifY(byte[] maxOf, Function1<? super UByte, Float> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-xTcfx_M, reason: not valid java name */
private static final float m6528maxOfxTcfx_M(short[] maxOf, Function1<? super UShort, Float> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-jgv0xPQ, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6526maxOfjgv0xPQ(int[] maxOf, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOf, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-MShoTSo, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6523maxOfMShoTSo(long[] maxOf, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOf, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-JOV_ifY, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6520maxOfJOV_ifY(byte[] maxOf, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOf, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOf-xTcfx_M, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6529maxOfxTcfx_M(short[] maxOf, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOf, "$this$maxOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOf, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-jgv0xPQ, reason: not valid java name */
private static final Double m6537maxOfOrNulljgv0xPQ(int[] maxOfOrNull, Function1<? super UInt, Double> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-MShoTSo, reason: not valid java name */
private static final Double m6534maxOfOrNullMShoTSo(long[] maxOfOrNull, Function1<? super ULong, Double> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-JOV_ifY, reason: not valid java name */
private static final Double m6531maxOfOrNullJOV_ifY(byte[] maxOfOrNull, Function1<? super UByte, Double> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-xTcfx_M, reason: not valid java name */
private static final Double m6540maxOfOrNullxTcfx_M(short[] maxOfOrNull, Function1<? super UShort, Double> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.max(doubleValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-jgv0xPQ, reason: not valid java name */
private static final Float m6538maxOfOrNulljgv0xPQ(int[] maxOfOrNull, Function1<? super UInt, Float> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOfOrNull)) {
return null;
}
float floatValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-MShoTSo, reason: not valid java name */
private static final Float m6535maxOfOrNullMShoTSo(long[] maxOfOrNull, Function1<? super ULong, Float> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOfOrNull)) {
return null;
}
float floatValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-JOV_ifY, reason: not valid java name */
private static final Float m6532maxOfOrNullJOV_ifY(byte[] maxOfOrNull, Function1<? super UByte, Float> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOfOrNull)) {
return null;
}
float floatValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-xTcfx_M, reason: not valid java name */
private static final Float m6541maxOfOrNullxTcfx_M(short[] maxOfOrNull, Function1<? super UShort, Float> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOfOrNull)) {
return null;
}
float floatValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.max(floatValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-jgv0xPQ, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6536maxOfOrNulljgv0xPQ(int[] maxOfOrNull, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOfOrNull)) {
return null;
}
R invoke = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-MShoTSo, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6533maxOfOrNullMShoTSo(long[] maxOfOrNull, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOfOrNull)) {
return null;
}
R invoke = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-JOV_ifY, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6530maxOfOrNullJOV_ifY(byte[] maxOfOrNull, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOfOrNull)) {
return null;
}
R invoke = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfOrNull-xTcfx_M, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6539maxOfOrNullxTcfx_M(short[] maxOfOrNull, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfOrNull, "$this$maxOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOfOrNull)) {
return null;
}
R invoke = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) < 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWith-myNOsp4, reason: not valid java name */
private static final <R> R m6545maxOfWithmyNOsp4(int[] maxOfWith, Comparator<? super R> comparator, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWith, "$this$maxOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWith-5NtCtWE, reason: not valid java name */
private static final <R> R m6542maxOfWith5NtCtWE(long[] maxOfWith, Comparator<? super R> comparator, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWith, "$this$maxOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWith-LTi4i_s, reason: not valid java name */
private static final <R> R m6543maxOfWithLTi4i_s(byte[] maxOfWith, Comparator<? super R> comparator, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWith, "$this$maxOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWith-l8EHGbQ, reason: not valid java name */
private static final <R> R m6544maxOfWithl8EHGbQ(short[] maxOfWith, Comparator<? super R> comparator, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWith, "$this$maxOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWithOrNull-myNOsp4, reason: not valid java name */
private static final <R> R m6549maxOfWithOrNullmyNOsp4(int[] maxOfWithOrNull, Comparator<? super R> comparator, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWithOrNull, "$this$maxOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(maxOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(maxOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWithOrNull-5NtCtWE, reason: not valid java name */
private static final <R> R m6546maxOfWithOrNull5NtCtWE(long[] maxOfWithOrNull, Comparator<? super R> comparator, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWithOrNull, "$this$maxOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(maxOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(maxOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWithOrNull-LTi4i_s, reason: not valid java name */
private static final <R> R m6547maxOfWithOrNullLTi4i_s(byte[] maxOfWithOrNull, Comparator<? super R> comparator, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWithOrNull, "$this$maxOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(maxOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(maxOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOfWithOrNull-l8EHGbQ, reason: not valid java name */
private static final <R> R m6548maxOfWithOrNulll8EHGbQ(short[] maxOfWithOrNull, Comparator<? super R> comparator, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(maxOfWithOrNull, "$this$maxOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(maxOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(maxOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) < 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrNull--ajY-9A, reason: not valid java name */
public static final UInt m6550maxOrNullajY9A(int[] maxOrNull) {
Intrinsics.checkNotNullParameter(maxOrNull, "$this$maxOrNull");
if (UIntArray.m5856isEmptyimpl(maxOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(maxOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOrNull)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(maxOrNull, it.nextInt());
if (Integer.compareUnsigned(m5853getpVg5ArA, m5853getpVg5ArA2) < 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrNull-QwZRm1k, reason: not valid java name */
public static final ULong m6552maxOrNullQwZRm1k(long[] maxOrNull) {
Intrinsics.checkNotNullParameter(maxOrNull, "$this$maxOrNull");
if (ULongArray.m5935isEmptyimpl(maxOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(maxOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOrNull)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(maxOrNull, it.nextInt());
if (Long.compareUnsigned(m5932getsVKNKU, m5932getsVKNKU2) < 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrNull-GBYM_sE, reason: not valid java name */
public static final UByte m6551maxOrNullGBYM_sE(byte[] maxOrNull) {
Intrinsics.checkNotNullParameter(maxOrNull, "$this$maxOrNull");
if (UByteArray.m5777isEmptyimpl(maxOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(maxOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOrNull)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(maxOrNull, it.nextInt());
if (Intrinsics.compare(m5774getw2LRezQ & 255, m5774getw2LRezQ2 & 255) < 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxOrNull-rL5Bavg, reason: not valid java name */
public static final UShort m6553maxOrNullrL5Bavg(short[] maxOrNull) {
Intrinsics.checkNotNullParameter(maxOrNull, "$this$maxOrNull");
if (UShortArray.m6040isEmptyimpl(maxOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(maxOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxOrNull)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(maxOrNull, it.nextInt());
if (Intrinsics.compare(m6037getMh2AYeg & UShort.MAX_VALUE, 65535 & m6037getMh2AYeg2) < 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrThrow-U, reason: not valid java name */
public static final int m6563maxWithOrThrowU(int[] maxWith, Comparator<? super UInt> comparator) {
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UIntArray.m5856isEmptyimpl(maxWith)) {
throw new NoSuchElementException();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(maxWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWith)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(maxWith, it.nextInt());
if (comparator.compare(UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(m5853getpVg5ArA2)) < 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrThrow-U, reason: not valid java name */
public static final long m6564maxWithOrThrowU(long[] maxWith, Comparator<? super ULong> comparator) {
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (ULongArray.m5935isEmptyimpl(maxWith)) {
throw new NoSuchElementException();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(maxWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWith)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(maxWith, it.nextInt());
if (comparator.compare(ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(m5932getsVKNKU2)) < 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrThrow-U, reason: not valid java name */
public static final byte m6562maxWithOrThrowU(byte[] maxWith, Comparator<? super UByte> comparator) {
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UByteArray.m5777isEmptyimpl(maxWith)) {
throw new NoSuchElementException();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(maxWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWith)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(maxWith, it.nextInt());
if (comparator.compare(UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(m5774getw2LRezQ2)) < 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrThrow-U, reason: not valid java name */
public static final short m6565maxWithOrThrowU(short[] maxWith, Comparator<? super UShort> comparator) {
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UShortArray.m6040isEmptyimpl(maxWith)) {
throw new NoSuchElementException();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(maxWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWith)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(maxWith, it.nextInt());
if (comparator.compare(UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(m6037getMh2AYeg2)) < 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrNull-YmdZ_VM, reason: not valid java name */
public static final UInt m6559maxWithOrNullYmdZ_VM(int[] maxWithOrNull, Comparator<? super UInt> comparator) {
Intrinsics.checkNotNullParameter(maxWithOrNull, "$this$maxWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UIntArray.m5856isEmptyimpl(maxWithOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(maxWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWithOrNull)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(maxWithOrNull, it.nextInt());
if (comparator.compare(UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(m5853getpVg5ArA2)) < 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrNull-zrEWJaI, reason: not valid java name */
public static final ULong m6561maxWithOrNullzrEWJaI(long[] maxWithOrNull, Comparator<? super ULong> comparator) {
Intrinsics.checkNotNullParameter(maxWithOrNull, "$this$maxWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (ULongArray.m5935isEmptyimpl(maxWithOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(maxWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWithOrNull)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(maxWithOrNull, it.nextInt());
if (comparator.compare(ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(m5932getsVKNKU2)) < 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrNull-XMRcp5o, reason: not valid java name */
public static final UByte m6558maxWithOrNullXMRcp5o(byte[] maxWithOrNull, Comparator<? super UByte> comparator) {
Intrinsics.checkNotNullParameter(maxWithOrNull, "$this$maxWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UByteArray.m5777isEmptyimpl(maxWithOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(maxWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWithOrNull)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(maxWithOrNull, it.nextInt());
if (comparator.compare(UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(m5774getw2LRezQ2)) < 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: maxWithOrNull-eOHTfZs, reason: not valid java name */
public static final UShort m6560maxWithOrNulleOHTfZs(short[] maxWithOrNull, Comparator<? super UShort> comparator) {
Intrinsics.checkNotNullParameter(maxWithOrNull, "$this$maxWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UShortArray.m6040isEmptyimpl(maxWithOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(maxWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(maxWithOrNull)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(maxWithOrNull, it.nextInt());
if (comparator.compare(UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(m6037getMh2AYeg2)) < 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrThrow-U, reason: not valid java name */
public static final int m6611minOrThrowU(int[] min) {
Intrinsics.checkNotNullParameter(min, "$this$min");
if (UIntArray.m5856isEmptyimpl(min)) {
throw new NoSuchElementException();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(min, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(min)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(min, it.nextInt());
if (Integer.compareUnsigned(m5853getpVg5ArA, m5853getpVg5ArA2) > 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrThrow-U, reason: not valid java name */
public static final long m6612minOrThrowU(long[] min) {
Intrinsics.checkNotNullParameter(min, "$this$min");
if (ULongArray.m5935isEmptyimpl(min)) {
throw new NoSuchElementException();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(min, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(min)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(min, it.nextInt());
if (Long.compareUnsigned(m5932getsVKNKU, m5932getsVKNKU2) > 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrThrow-U, reason: not valid java name */
public static final byte m6610minOrThrowU(byte[] min) {
Intrinsics.checkNotNullParameter(min, "$this$min");
if (UByteArray.m5777isEmptyimpl(min)) {
throw new NoSuchElementException();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(min, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(min)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(min, it.nextInt());
if (Intrinsics.compare(m5774getw2LRezQ & 255, m5774getw2LRezQ2 & 255) > 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrThrow-U, reason: not valid java name */
public static final short m6613minOrThrowU(short[] min) {
Intrinsics.checkNotNullParameter(min, "$this$min");
if (UShortArray.m6040isEmptyimpl(min)) {
throw new NoSuchElementException();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(min, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(min)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(min, it.nextInt());
if (Intrinsics.compare(m6037getMh2AYeg & UShort.MAX_VALUE, 65535 & m6037getMh2AYeg2) > 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> int m6571minByOrThrowU(int[] minBy, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minBy)) {
throw new NoSuchElementException();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(minBy, 0);
int lastIndex = ArraysKt.getLastIndex(minBy);
if (lastIndex == 0) {
return m5853getpVg5ArA;
}
R invoke = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(minBy, it.nextInt());
R invoke2 = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA2));
if (invoke.compareTo(invoke2) > 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
invoke = invoke2;
}
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> long m6572minByOrThrowU(long[] minBy, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minBy)) {
throw new NoSuchElementException();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(minBy, 0);
int lastIndex = ArraysKt.getLastIndex(minBy);
if (lastIndex == 0) {
return m5932getsVKNKU;
}
R invoke = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(minBy, it.nextInt());
R invoke2 = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU2));
if (invoke.compareTo(invoke2) > 0) {
m5932getsVKNKU = m5932getsVKNKU2;
invoke = invoke2;
}
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> byte m6570minByOrThrowU(byte[] minBy, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minBy)) {
throw new NoSuchElementException();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(minBy, 0);
int lastIndex = ArraysKt.getLastIndex(minBy);
if (lastIndex == 0) {
return m5774getw2LRezQ;
}
R invoke = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(minBy, it.nextInt());
R invoke2 = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ2));
if (invoke.compareTo(invoke2) > 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
invoke = invoke2;
}
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrThrow-U, reason: not valid java name */
private static final <R extends Comparable<? super R>> short m6573minByOrThrowU(short[] minBy, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minBy)) {
throw new NoSuchElementException();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(minBy, 0);
int lastIndex = ArraysKt.getLastIndex(minBy);
if (lastIndex == 0) {
return m6037getMh2AYeg;
}
R invoke = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(minBy, it.nextInt());
R invoke2 = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg2));
if (invoke.compareTo(invoke2) > 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
invoke = invoke2;
}
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrNull-jgv0xPQ, reason: not valid java name */
private static final <R extends Comparable<? super R>> UInt m6568minByOrNulljgv0xPQ(int[] minByOrNull, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minByOrNull, "$this$minByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minByOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(minByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(minByOrNull);
if (lastIndex == 0) {
return UInt.m5787boximpl(m5853getpVg5ArA);
}
R invoke = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(minByOrNull, it.nextInt());
R invoke2 = selector.invoke(UInt.m5787boximpl(m5853getpVg5ArA2));
if (invoke.compareTo(invoke2) > 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
invoke = invoke2;
}
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrNull-MShoTSo, reason: not valid java name */
private static final <R extends Comparable<? super R>> ULong m6567minByOrNullMShoTSo(long[] minByOrNull, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minByOrNull, "$this$minByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minByOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(minByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(minByOrNull);
if (lastIndex == 0) {
return ULong.m5866boximpl(m5932getsVKNKU);
}
R invoke = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(minByOrNull, it.nextInt());
R invoke2 = selector.invoke(ULong.m5866boximpl(m5932getsVKNKU2));
if (invoke.compareTo(invoke2) > 0) {
m5932getsVKNKU = m5932getsVKNKU2;
invoke = invoke2;
}
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrNull-JOV_ifY, reason: not valid java name */
private static final <R extends Comparable<? super R>> UByte m6566minByOrNullJOV_ifY(byte[] minByOrNull, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minByOrNull, "$this$minByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minByOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(minByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(minByOrNull);
if (lastIndex == 0) {
return UByte.m5710boximpl(m5774getw2LRezQ);
}
R invoke = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(minByOrNull, it.nextInt());
R invoke2 = selector.invoke(UByte.m5710boximpl(m5774getw2LRezQ2));
if (invoke.compareTo(invoke2) > 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
invoke = invoke2;
}
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minByOrNull-xTcfx_M, reason: not valid java name */
private static final <R extends Comparable<? super R>> UShort m6569minByOrNullxTcfx_M(short[] minByOrNull, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minByOrNull, "$this$minByOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minByOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(minByOrNull, 0);
int lastIndex = ArraysKt.getLastIndex(minByOrNull);
if (lastIndex == 0) {
return UShort.m5973boximpl(m6037getMh2AYeg);
}
R invoke = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg));
?? it = new IntRange(1, lastIndex).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(minByOrNull, it.nextInt());
R invoke2 = selector.invoke(UShort.m5973boximpl(m6037getMh2AYeg2));
if (invoke.compareTo(invoke2) > 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
invoke = invoke2;
}
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-jgv0xPQ, reason: not valid java name */
private static final double m6580minOfjgv0xPQ(int[] minOf, Function1<? super UInt, Double> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-MShoTSo, reason: not valid java name */
private static final double m6577minOfMShoTSo(long[] minOf, Function1<? super ULong, Double> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-JOV_ifY, reason: not valid java name */
private static final double m6574minOfJOV_ifY(byte[] minOf, Function1<? super UByte, Double> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-xTcfx_M, reason: not valid java name */
private static final double m6583minOfxTcfx_M(short[] minOf, Function1<? super UShort, Double> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
double doubleValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOf, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOf, it.nextInt()))).doubleValue());
}
return doubleValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-jgv0xPQ, reason: not valid java name */
private static final float m6581minOfjgv0xPQ(int[] minOf, Function1<? super UInt, Float> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-MShoTSo, reason: not valid java name */
private static final float m6578minOfMShoTSo(long[] minOf, Function1<? super ULong, Float> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-JOV_ifY, reason: not valid java name */
private static final float m6575minOfJOV_ifY(byte[] minOf, Function1<? super UByte, Float> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-xTcfx_M, reason: not valid java name */
private static final float m6584minOfxTcfx_M(short[] minOf, Function1<? super UShort, Float> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
float floatValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOf, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOf, it.nextInt()))).floatValue());
}
return floatValue;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-jgv0xPQ, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6582minOfjgv0xPQ(int[] minOf, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOf, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-MShoTSo, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6579minOfMShoTSo(long[] minOf, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOf, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-JOV_ifY, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6576minOfJOV_ifY(byte[] minOf, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOf, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOf-xTcfx_M, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6585minOfxTcfx_M(short[] minOf, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOf, "$this$minOf");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOf)) {
throw new NoSuchElementException();
}
R invoke = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOf, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOf)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOf, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-jgv0xPQ, reason: not valid java name */
private static final Double m6593minOfOrNulljgv0xPQ(int[] minOfOrNull, Function1<? super UInt, Double> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-MShoTSo, reason: not valid java name */
private static final Double m6590minOfOrNullMShoTSo(long[] minOfOrNull, Function1<? super ULong, Double> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-JOV_ifY, reason: not valid java name */
private static final Double m6587minOfOrNullJOV_ifY(byte[] minOfOrNull, Function1<? super UByte, Double> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-xTcfx_M, reason: not valid java name */
private static final Double m6596minOfOrNullxTcfx_M(short[] minOfOrNull, Function1<? super UShort, Double> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOfOrNull)) {
return null;
}
double doubleValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfOrNull, 0))).doubleValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
doubleValue = Math.min(doubleValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfOrNull, it.nextInt()))).doubleValue());
}
return Double.valueOf(doubleValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-jgv0xPQ, reason: not valid java name */
private static final Float m6594minOfOrNulljgv0xPQ(int[] minOfOrNull, Function1<? super UInt, Float> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOfOrNull)) {
return null;
}
float floatValue = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-MShoTSo, reason: not valid java name */
private static final Float m6591minOfOrNullMShoTSo(long[] minOfOrNull, Function1<? super ULong, Float> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOfOrNull)) {
return null;
}
float floatValue = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-JOV_ifY, reason: not valid java name */
private static final Float m6588minOfOrNullJOV_ifY(byte[] minOfOrNull, Function1<? super UByte, Float> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOfOrNull)) {
return null;
}
float floatValue = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-xTcfx_M, reason: not valid java name */
private static final Float m6597minOfOrNullxTcfx_M(short[] minOfOrNull, Function1<? super UShort, Float> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOfOrNull)) {
return null;
}
float floatValue = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfOrNull, 0))).floatValue();
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
floatValue = Math.min(floatValue, selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfOrNull, it.nextInt()))).floatValue());
}
return Float.valueOf(floatValue);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-jgv0xPQ, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6592minOfOrNulljgv0xPQ(int[] minOfOrNull, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOfOrNull)) {
return null;
}
R invoke = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-MShoTSo, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6589minOfOrNullMShoTSo(long[] minOfOrNull, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOfOrNull)) {
return null;
}
R invoke = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-JOV_ifY, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6586minOfOrNullJOV_ifY(byte[] minOfOrNull, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOfOrNull)) {
return null;
}
R invoke = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfOrNull-xTcfx_M, reason: not valid java name */
private static final <R extends Comparable<? super R>> R m6595minOfOrNullxTcfx_M(short[] minOfOrNull, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfOrNull, "$this$minOfOrNull");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOfOrNull)) {
return null;
}
R invoke = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfOrNull)).iterator();
while (it.hasNext()) {
R invoke2 = selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfOrNull, it.nextInt())));
if (invoke.compareTo(invoke2) > 0) {
invoke = invoke2;
}
}
return invoke;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWith-myNOsp4, reason: not valid java name */
private static final <R> R m6601minOfWithmyNOsp4(int[] minOfWith, Comparator<? super R> comparator, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWith, "$this$minOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWith-5NtCtWE, reason: not valid java name */
private static final <R> R m6598minOfWith5NtCtWE(long[] minOfWith, Comparator<? super R> comparator, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWith, "$this$minOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWith-LTi4i_s, reason: not valid java name */
private static final <R> R m6599minOfWithLTi4i_s(byte[] minOfWith, Comparator<? super R> comparator, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWith, "$this$minOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWith-l8EHGbQ, reason: not valid java name */
private static final <R> R m6600minOfWithl8EHGbQ(short[] minOfWith, Comparator<? super R> comparator, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWith, "$this$minOfWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOfWith)) {
throw new NoSuchElementException();
}
Object obj = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfWith, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWith)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfWith, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWithOrNull-myNOsp4, reason: not valid java name */
private static final <R> R m6605minOfWithOrNullmyNOsp4(int[] minOfWithOrNull, Comparator<? super R> comparator, Function1<? super UInt, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWithOrNull, "$this$minOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UIntArray.m5856isEmptyimpl(minOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(minOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWithOrNull-5NtCtWE, reason: not valid java name */
private static final <R> R m6602minOfWithOrNull5NtCtWE(long[] minOfWithOrNull, Comparator<? super R> comparator, Function1<? super ULong, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWithOrNull, "$this$minOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (ULongArray.m5935isEmptyimpl(minOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(minOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWithOrNull-LTi4i_s, reason: not valid java name */
private static final <R> R m6603minOfWithOrNullLTi4i_s(byte[] minOfWithOrNull, Comparator<? super R> comparator, Function1<? super UByte, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWithOrNull, "$this$minOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UByteArray.m5777isEmptyimpl(minOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(minOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOfWithOrNull-l8EHGbQ, reason: not valid java name */
private static final <R> R m6604minOfWithOrNulll8EHGbQ(short[] minOfWithOrNull, Comparator<? super R> comparator, Function1<? super UShort, ? extends R> selector) {
Intrinsics.checkNotNullParameter(minOfWithOrNull, "$this$minOfWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
Intrinsics.checkNotNullParameter(selector, "selector");
if (UShortArray.m6040isEmptyimpl(minOfWithOrNull)) {
return null;
}
Object obj = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfWithOrNull, 0)));
?? it = new IntRange(1, ArraysKt.getLastIndex(minOfWithOrNull)).iterator();
while (it.hasNext()) {
Object obj2 = (R) selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(minOfWithOrNull, it.nextInt())));
if (comparator.compare(obj, obj2) > 0) {
obj = (R) obj2;
}
}
return (R) obj;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrNull--ajY-9A, reason: not valid java name */
public static final UInt m6606minOrNullajY9A(int[] minOrNull) {
Intrinsics.checkNotNullParameter(minOrNull, "$this$minOrNull");
if (UIntArray.m5856isEmptyimpl(minOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(minOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minOrNull)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(minOrNull, it.nextInt());
if (Integer.compareUnsigned(m5853getpVg5ArA, m5853getpVg5ArA2) > 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrNull-QwZRm1k, reason: not valid java name */
public static final ULong m6608minOrNullQwZRm1k(long[] minOrNull) {
Intrinsics.checkNotNullParameter(minOrNull, "$this$minOrNull");
if (ULongArray.m5935isEmptyimpl(minOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(minOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minOrNull)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(minOrNull, it.nextInt());
if (Long.compareUnsigned(m5932getsVKNKU, m5932getsVKNKU2) > 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrNull-GBYM_sE, reason: not valid java name */
public static final UByte m6607minOrNullGBYM_sE(byte[] minOrNull) {
Intrinsics.checkNotNullParameter(minOrNull, "$this$minOrNull");
if (UByteArray.m5777isEmptyimpl(minOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(minOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minOrNull)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(minOrNull, it.nextInt());
if (Intrinsics.compare(m5774getw2LRezQ & 255, m5774getw2LRezQ2 & 255) > 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minOrNull-rL5Bavg, reason: not valid java name */
public static final UShort m6609minOrNullrL5Bavg(short[] minOrNull) {
Intrinsics.checkNotNullParameter(minOrNull, "$this$minOrNull");
if (UShortArray.m6040isEmptyimpl(minOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(minOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minOrNull)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(minOrNull, it.nextInt());
if (Intrinsics.compare(m6037getMh2AYeg & UShort.MAX_VALUE, 65535 & m6037getMh2AYeg2) > 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrThrow-U, reason: not valid java name */
public static final int m6619minWithOrThrowU(int[] minWith, Comparator<? super UInt> comparator) {
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UIntArray.m5856isEmptyimpl(minWith)) {
throw new NoSuchElementException();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(minWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWith)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(minWith, it.nextInt());
if (comparator.compare(UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(m5853getpVg5ArA2)) > 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrThrow-U, reason: not valid java name */
public static final long m6620minWithOrThrowU(long[] minWith, Comparator<? super ULong> comparator) {
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (ULongArray.m5935isEmptyimpl(minWith)) {
throw new NoSuchElementException();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(minWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWith)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(minWith, it.nextInt());
if (comparator.compare(ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(m5932getsVKNKU2)) > 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrThrow-U, reason: not valid java name */
public static final byte m6618minWithOrThrowU(byte[] minWith, Comparator<? super UByte> comparator) {
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UByteArray.m5777isEmptyimpl(minWith)) {
throw new NoSuchElementException();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(minWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWith)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(minWith, it.nextInt());
if (comparator.compare(UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(m5774getw2LRezQ2)) > 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrThrow-U, reason: not valid java name */
public static final short m6621minWithOrThrowU(short[] minWith, Comparator<? super UShort> comparator) {
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UShortArray.m6040isEmptyimpl(minWith)) {
throw new NoSuchElementException();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(minWith, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWith)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(minWith, it.nextInt());
if (comparator.compare(UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(m6037getMh2AYeg2)) > 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrNull-YmdZ_VM, reason: not valid java name */
public static final UInt m6615minWithOrNullYmdZ_VM(int[] minWithOrNull, Comparator<? super UInt> comparator) {
Intrinsics.checkNotNullParameter(minWithOrNull, "$this$minWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UIntArray.m5856isEmptyimpl(minWithOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(minWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWithOrNull)).iterator();
while (it.hasNext()) {
int m5853getpVg5ArA2 = UIntArray.m5853getpVg5ArA(minWithOrNull, it.nextInt());
if (comparator.compare(UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(m5853getpVg5ArA2)) > 0) {
m5853getpVg5ArA = m5853getpVg5ArA2;
}
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrNull-zrEWJaI, reason: not valid java name */
public static final ULong m6617minWithOrNullzrEWJaI(long[] minWithOrNull, Comparator<? super ULong> comparator) {
Intrinsics.checkNotNullParameter(minWithOrNull, "$this$minWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (ULongArray.m5935isEmptyimpl(minWithOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(minWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWithOrNull)).iterator();
while (it.hasNext()) {
long m5932getsVKNKU2 = ULongArray.m5932getsVKNKU(minWithOrNull, it.nextInt());
if (comparator.compare(ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(m5932getsVKNKU2)) > 0) {
m5932getsVKNKU = m5932getsVKNKU2;
}
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrNull-XMRcp5o, reason: not valid java name */
public static final UByte m6614minWithOrNullXMRcp5o(byte[] minWithOrNull, Comparator<? super UByte> comparator) {
Intrinsics.checkNotNullParameter(minWithOrNull, "$this$minWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UByteArray.m5777isEmptyimpl(minWithOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(minWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWithOrNull)).iterator();
while (it.hasNext()) {
byte m5774getw2LRezQ2 = UByteArray.m5774getw2LRezQ(minWithOrNull, it.nextInt());
if (comparator.compare(UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(m5774getw2LRezQ2)) > 0) {
m5774getw2LRezQ = m5774getw2LRezQ2;
}
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: minWithOrNull-eOHTfZs, reason: not valid java name */
public static final UShort m6616minWithOrNulleOHTfZs(short[] minWithOrNull, Comparator<? super UShort> comparator) {
Intrinsics.checkNotNullParameter(minWithOrNull, "$this$minWithOrNull");
Intrinsics.checkNotNullParameter(comparator, "comparator");
if (UShortArray.m6040isEmptyimpl(minWithOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(minWithOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(minWithOrNull)).iterator();
while (it.hasNext()) {
short m6037getMh2AYeg2 = UShortArray.m6037getMh2AYeg(minWithOrNull, it.nextInt());
if (comparator.compare(UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(m6037getMh2AYeg2)) > 0) {
m6037getMh2AYeg = m6037getMh2AYeg2;
}
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* renamed from: none--ajY-9A, reason: not valid java name */
private static final boolean m6622noneajY9A(int[] none) {
Intrinsics.checkNotNullParameter(none, "$this$none");
return UIntArray.m5856isEmptyimpl(none);
}
/* renamed from: none-QwZRm1k, reason: not valid java name */
private static final boolean m6626noneQwZRm1k(long[] none) {
Intrinsics.checkNotNullParameter(none, "$this$none");
return ULongArray.m5935isEmptyimpl(none);
}
/* renamed from: none-GBYM_sE, reason: not valid java name */
private static final boolean m6623noneGBYM_sE(byte[] none) {
Intrinsics.checkNotNullParameter(none, "$this$none");
return UByteArray.m5777isEmptyimpl(none);
}
/* renamed from: none-rL5Bavg, reason: not valid java name */
private static final boolean m6628nonerL5Bavg(short[] none) {
Intrinsics.checkNotNullParameter(none, "$this$none");
return UShortArray.m6040isEmptyimpl(none);
}
/* renamed from: none-jgv0xPQ, reason: not valid java name */
private static final boolean m6627nonejgv0xPQ(int[] none, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(none, "$this$none");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(none);
for (int i = 0; i < m5854getSizeimpl; i++) {
if (predicate.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(none, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: none-MShoTSo, reason: not valid java name */
private static final boolean m6625noneMShoTSo(long[] none, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(none, "$this$none");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(none);
for (int i = 0; i < m5933getSizeimpl; i++) {
if (predicate.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(none, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: none-JOV_ifY, reason: not valid java name */
private static final boolean m6624noneJOV_ifY(byte[] none, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(none, "$this$none");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(none);
for (int i = 0; i < m5775getSizeimpl; i++) {
if (predicate.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(none, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: none-xTcfx_M, reason: not valid java name */
private static final boolean m6629nonexTcfx_M(short[] none, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(none, "$this$none");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(none);
for (int i = 0; i < m6038getSizeimpl; i++) {
if (predicate.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(none, i))).booleanValue()) {
return false;
}
}
return true;
}
/* renamed from: onEach-jgv0xPQ, reason: not valid java name */
private static final int[] m6632onEachjgv0xPQ(int[] onEach, Function1<? super UInt, Unit> action) {
Intrinsics.checkNotNullParameter(onEach, "$this$onEach");
Intrinsics.checkNotNullParameter(action, "action");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(onEach);
for (int i = 0; i < m5854getSizeimpl; i++) {
action.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(onEach, i)));
}
return onEach;
}
/* renamed from: onEach-MShoTSo, reason: not valid java name */
private static final long[] m6631onEachMShoTSo(long[] onEach, Function1<? super ULong, Unit> action) {
Intrinsics.checkNotNullParameter(onEach, "$this$onEach");
Intrinsics.checkNotNullParameter(action, "action");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(onEach);
for (int i = 0; i < m5933getSizeimpl; i++) {
action.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(onEach, i)));
}
return onEach;
}
/* renamed from: onEach-JOV_ifY, reason: not valid java name */
private static final byte[] m6630onEachJOV_ifY(byte[] onEach, Function1<? super UByte, Unit> action) {
Intrinsics.checkNotNullParameter(onEach, "$this$onEach");
Intrinsics.checkNotNullParameter(action, "action");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(onEach);
for (int i = 0; i < m5775getSizeimpl; i++) {
action.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(onEach, i)));
}
return onEach;
}
/* renamed from: onEach-xTcfx_M, reason: not valid java name */
private static final short[] m6633onEachxTcfx_M(short[] onEach, Function1<? super UShort, Unit> action) {
Intrinsics.checkNotNullParameter(onEach, "$this$onEach");
Intrinsics.checkNotNullParameter(action, "action");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(onEach);
for (int i = 0; i < m6038getSizeimpl; i++) {
action.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(onEach, i)));
}
return onEach;
}
/* renamed from: onEachIndexed-WyvcNBI, reason: not valid java name */
private static final int[] m6635onEachIndexedWyvcNBI(int[] onEachIndexed, Function2<? super Integer, ? super UInt, Unit> action) {
Intrinsics.checkNotNullParameter(onEachIndexed, "$this$onEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(onEachIndexed);
int i = 0;
int i2 = 0;
while (i < m5854getSizeimpl) {
action.invoke(Integer.valueOf(i2), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(onEachIndexed, i)));
i++;
i2++;
}
return onEachIndexed;
}
/* renamed from: onEachIndexed-s8dVfGU, reason: not valid java name */
private static final long[] m6636onEachIndexeds8dVfGU(long[] onEachIndexed, Function2<? super Integer, ? super ULong, Unit> action) {
Intrinsics.checkNotNullParameter(onEachIndexed, "$this$onEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(onEachIndexed);
int i = 0;
int i2 = 0;
while (i < m5933getSizeimpl) {
action.invoke(Integer.valueOf(i2), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(onEachIndexed, i)));
i++;
i2++;
}
return onEachIndexed;
}
/* renamed from: onEachIndexed-ELGow60, reason: not valid java name */
private static final byte[] m6634onEachIndexedELGow60(byte[] onEachIndexed, Function2<? super Integer, ? super UByte, Unit> action) {
Intrinsics.checkNotNullParameter(onEachIndexed, "$this$onEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(onEachIndexed);
int i = 0;
int i2 = 0;
while (i < m5775getSizeimpl) {
action.invoke(Integer.valueOf(i2), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(onEachIndexed, i)));
i++;
i2++;
}
return onEachIndexed;
}
/* renamed from: onEachIndexed-xzaTVY8, reason: not valid java name */
private static final short[] m6637onEachIndexedxzaTVY8(short[] onEachIndexed, Function2<? super Integer, ? super UShort, Unit> action) {
Intrinsics.checkNotNullParameter(onEachIndexed, "$this$onEachIndexed");
Intrinsics.checkNotNullParameter(action, "action");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(onEachIndexed);
int i = 0;
int i2 = 0;
while (i < m6038getSizeimpl) {
action.invoke(Integer.valueOf(i2), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(onEachIndexed, i)));
i++;
i2++;
}
return onEachIndexed;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduce-WyvcNBI, reason: not valid java name */
private static final int m6667reduceWyvcNBI(int[] reduce, Function2<? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduce, "$this$reduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(reduce)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduce, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduce)).iterator();
while (it.hasNext()) {
m5853getpVg5ArA = operation.invoke(UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduce, it.nextInt()))).getData();
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduce-s8dVfGU, reason: not valid java name */
private static final long m6668reduces8dVfGU(long[] reduce, Function2<? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduce, "$this$reduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(reduce)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduce, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduce)).iterator();
while (it.hasNext()) {
m5932getsVKNKU = operation.invoke(ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduce, it.nextInt()))).getData();
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduce-ELGow60, reason: not valid java name */
private static final byte m6666reduceELGow60(byte[] reduce, Function2<? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduce, "$this$reduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(reduce)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduce, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduce)).iterator();
while (it.hasNext()) {
m5774getw2LRezQ = operation.invoke(UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduce, it.nextInt()))).getData();
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduce-xzaTVY8, reason: not valid java name */
private static final short m6669reducexzaTVY8(short[] reduce, Function2<? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduce, "$this$reduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(reduce)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduce, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduce)).iterator();
while (it.hasNext()) {
m6037getMh2AYeg = operation.invoke(UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduce, it.nextInt()))).getData();
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexed-D40WMg8, reason: not valid java name */
private static final int m6670reduceIndexedD40WMg8(int[] reduceIndexed, Function3<? super Integer, ? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduceIndexed, "$this$reduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(reduceIndexed)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduceIndexed, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexed)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m5853getpVg5ArA = operation.invoke(Integer.valueOf(nextInt), UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduceIndexed, nextInt))).getData();
}
return m5853getpVg5ArA;
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexed-z1zDJgo, reason: not valid java name */
private static final long m6673reduceIndexedz1zDJgo(long[] reduceIndexed, Function3<? super Integer, ? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduceIndexed, "$this$reduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(reduceIndexed)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduceIndexed, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexed)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m5932getsVKNKU = operation.invoke(Integer.valueOf(nextInt), ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduceIndexed, nextInt))).getData();
}
return m5932getsVKNKU;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexed-EOyYB1Y, reason: not valid java name */
private static final byte m6671reduceIndexedEOyYB1Y(byte[] reduceIndexed, Function3<? super Integer, ? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduceIndexed, "$this$reduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(reduceIndexed)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduceIndexed, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexed)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m5774getw2LRezQ = operation.invoke(Integer.valueOf(nextInt), UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduceIndexed, nextInt))).getData();
}
return m5774getw2LRezQ;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexed-aLgx1Fo, reason: not valid java name */
private static final short m6672reduceIndexedaLgx1Fo(short[] reduceIndexed, Function3<? super Integer, ? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduceIndexed, "$this$reduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(reduceIndexed)) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduceIndexed, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexed)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m6037getMh2AYeg = operation.invoke(Integer.valueOf(nextInt), UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduceIndexed, nextInt))).getData();
}
return m6037getMh2AYeg;
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexedOrNull-D40WMg8, reason: not valid java name */
private static final UInt m6674reduceIndexedOrNullD40WMg8(int[] reduceIndexedOrNull, Function3<? super Integer, ? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduceIndexedOrNull, "$this$reduceIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(reduceIndexedOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduceIndexedOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexedOrNull)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m5853getpVg5ArA = operation.invoke(Integer.valueOf(nextInt), UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduceIndexedOrNull, nextInt))).getData();
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexedOrNull-z1zDJgo, reason: not valid java name */
private static final ULong m6677reduceIndexedOrNullz1zDJgo(long[] reduceIndexedOrNull, Function3<? super Integer, ? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduceIndexedOrNull, "$this$reduceIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(reduceIndexedOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduceIndexedOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexedOrNull)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m5932getsVKNKU = operation.invoke(Integer.valueOf(nextInt), ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduceIndexedOrNull, nextInt))).getData();
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexedOrNull-EOyYB1Y, reason: not valid java name */
private static final UByte m6675reduceIndexedOrNullEOyYB1Y(byte[] reduceIndexedOrNull, Function3<? super Integer, ? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduceIndexedOrNull, "$this$reduceIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(reduceIndexedOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduceIndexedOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexedOrNull)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m5774getw2LRezQ = operation.invoke(Integer.valueOf(nextInt), UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduceIndexedOrNull, nextInt))).getData();
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceIndexedOrNull-aLgx1Fo, reason: not valid java name */
private static final UShort m6676reduceIndexedOrNullaLgx1Fo(short[] reduceIndexedOrNull, Function3<? super Integer, ? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduceIndexedOrNull, "$this$reduceIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(reduceIndexedOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduceIndexedOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceIndexedOrNull)).iterator();
while (it.hasNext()) {
int nextInt = it.nextInt();
m6037getMh2AYeg = operation.invoke(Integer.valueOf(nextInt), UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduceIndexedOrNull, nextInt))).getData();
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceOrNull-WyvcNBI, reason: not valid java name */
private static final UInt m6679reduceOrNullWyvcNBI(int[] reduceOrNull, Function2<? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduceOrNull, "$this$reduceOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(reduceOrNull)) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduceOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceOrNull)).iterator();
while (it.hasNext()) {
m5853getpVg5ArA = operation.invoke(UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduceOrNull, it.nextInt()))).getData();
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceOrNull-s8dVfGU, reason: not valid java name */
private static final ULong m6680reduceOrNulls8dVfGU(long[] reduceOrNull, Function2<? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduceOrNull, "$this$reduceOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(reduceOrNull)) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduceOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceOrNull)).iterator();
while (it.hasNext()) {
m5932getsVKNKU = operation.invoke(ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduceOrNull, it.nextInt()))).getData();
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceOrNull-ELGow60, reason: not valid java name */
private static final UByte m6678reduceOrNullELGow60(byte[] reduceOrNull, Function2<? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduceOrNull, "$this$reduceOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(reduceOrNull)) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduceOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceOrNull)).iterator();
while (it.hasNext()) {
m5774getw2LRezQ = operation.invoke(UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduceOrNull, it.nextInt()))).getData();
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
/* renamed from: reduceOrNull-xzaTVY8, reason: not valid java name */
private static final UShort m6681reduceOrNullxzaTVY8(short[] reduceOrNull, Function2<? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduceOrNull, "$this$reduceOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(reduceOrNull)) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduceOrNull, 0);
?? it = new IntRange(1, ArraysKt.getLastIndex(reduceOrNull)).iterator();
while (it.hasNext()) {
m6037getMh2AYeg = operation.invoke(UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduceOrNull, it.nextInt()))).getData();
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* renamed from: runningFold-zi1B2BA, reason: not valid java name */
private static final <R> List<R> m6716runningFoldzi1B2BA(int[] runningFold, R r, Function2<? super R, ? super UInt, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFold, "$this$runningFold");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(runningFold)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(runningFold) + 1);
arrayList.add(r);
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(runningFold);
for (int i = 0; i < m5854getSizeimpl; i++) {
r = operation.invoke(r, UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(runningFold, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningFold-A8wKCXQ, reason: not valid java name */
private static final <R> List<R> m6714runningFoldA8wKCXQ(long[] runningFold, R r, Function2<? super R, ? super ULong, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFold, "$this$runningFold");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(runningFold)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(runningFold) + 1);
arrayList.add(r);
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(runningFold);
for (int i = 0; i < m5933getSizeimpl; i++) {
r = operation.invoke(r, ULong.m5866boximpl(ULongArray.m5932getsVKNKU(runningFold, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningFold-yXmHNn8, reason: not valid java name */
private static final <R> List<R> m6715runningFoldyXmHNn8(byte[] runningFold, R r, Function2<? super R, ? super UByte, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFold, "$this$runningFold");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(runningFold)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(runningFold) + 1);
arrayList.add(r);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(runningFold);
for (int i = 0; i < m5775getSizeimpl; i++) {
r = operation.invoke(r, UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(runningFold, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningFold-zww5nb8, reason: not valid java name */
private static final <R> List<R> m6717runningFoldzww5nb8(short[] runningFold, R r, Function2<? super R, ? super UShort, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFold, "$this$runningFold");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(runningFold)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(runningFold) + 1);
arrayList.add(r);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(runningFold);
for (int i = 0; i < m6038getSizeimpl; i++) {
r = operation.invoke(r, UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(runningFold, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningFoldIndexed-yVwIW0Q, reason: not valid java name */
private static final <R> List<R> m6721runningFoldIndexedyVwIW0Q(int[] runningFoldIndexed, R r, Function3<? super Integer, ? super R, ? super UInt, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFoldIndexed, "$this$runningFoldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(runningFoldIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(runningFoldIndexed) + 1);
arrayList.add(r);
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(runningFoldIndexed);
for (int i = 0; i < m5854getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(runningFoldIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningFoldIndexed-mwnnOCs, reason: not valid java name */
private static final <R> List<R> m6720runningFoldIndexedmwnnOCs(long[] runningFoldIndexed, R r, Function3<? super Integer, ? super R, ? super ULong, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFoldIndexed, "$this$runningFoldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(runningFoldIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(runningFoldIndexed) + 1);
arrayList.add(r);
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(runningFoldIndexed);
for (int i = 0; i < m5933getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, ULong.m5866boximpl(ULongArray.m5932getsVKNKU(runningFoldIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningFoldIndexed-3iWJZGE, reason: not valid java name */
private static final <R> List<R> m6718runningFoldIndexed3iWJZGE(byte[] runningFoldIndexed, R r, Function3<? super Integer, ? super R, ? super UByte, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFoldIndexed, "$this$runningFoldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(runningFoldIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(runningFoldIndexed) + 1);
arrayList.add(r);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(runningFoldIndexed);
for (int i = 0; i < m5775getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(runningFoldIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningFoldIndexed-bzxtMww, reason: not valid java name */
private static final <R> List<R> m6719runningFoldIndexedbzxtMww(short[] runningFoldIndexed, R r, Function3<? super Integer, ? super R, ? super UShort, ? extends R> operation) {
Intrinsics.checkNotNullParameter(runningFoldIndexed, "$this$runningFoldIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(runningFoldIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(runningFoldIndexed) + 1);
arrayList.add(r);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(runningFoldIndexed);
for (int i = 0; i < m6038getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(runningFoldIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: runningReduce-WyvcNBI, reason: not valid java name */
private static final List<UInt> m6723runningReduceWyvcNBI(int[] runningReduce, Function2<? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(runningReduce, "$this$runningReduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(runningReduce)) {
return CollectionsKt.emptyList();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(runningReduce, 0);
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(runningReduce));
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(runningReduce);
for (int i = 1; i < m5854getSizeimpl; i++) {
m5853getpVg5ArA = operation.invoke(UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(runningReduce, i))).getData();
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
return arrayList;
}
/* renamed from: runningReduce-s8dVfGU, reason: not valid java name */
private static final List<ULong> m6724runningReduces8dVfGU(long[] runningReduce, Function2<? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(runningReduce, "$this$runningReduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(runningReduce)) {
return CollectionsKt.emptyList();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(runningReduce, 0);
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(runningReduce));
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(runningReduce);
for (int i = 1; i < m5933getSizeimpl; i++) {
m5932getsVKNKU = operation.invoke(ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(runningReduce, i))).getData();
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
}
return arrayList;
}
/* renamed from: runningReduce-ELGow60, reason: not valid java name */
private static final List<UByte> m6722runningReduceELGow60(byte[] runningReduce, Function2<? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(runningReduce, "$this$runningReduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(runningReduce)) {
return CollectionsKt.emptyList();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(runningReduce, 0);
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(runningReduce));
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(runningReduce);
for (int i = 1; i < m5775getSizeimpl; i++) {
m5774getw2LRezQ = operation.invoke(UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(runningReduce, i))).getData();
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
return arrayList;
}
/* renamed from: runningReduce-xzaTVY8, reason: not valid java name */
private static final List<UShort> m6725runningReducexzaTVY8(short[] runningReduce, Function2<? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(runningReduce, "$this$runningReduce");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(runningReduce)) {
return CollectionsKt.emptyList();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(runningReduce, 0);
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(runningReduce));
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(runningReduce);
for (int i = 1; i < m6038getSizeimpl; i++) {
m6037getMh2AYeg = operation.invoke(UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(runningReduce, i))).getData();
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
return arrayList;
}
/* renamed from: runningReduceIndexed-D40WMg8, reason: not valid java name */
private static final List<UInt> m6726runningReduceIndexedD40WMg8(int[] runningReduceIndexed, Function3<? super Integer, ? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(runningReduceIndexed, "$this$runningReduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(runningReduceIndexed)) {
return CollectionsKt.emptyList();
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(runningReduceIndexed, 0);
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(runningReduceIndexed));
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(runningReduceIndexed);
for (int i = 1; i < m5854getSizeimpl; i++) {
m5853getpVg5ArA = operation.invoke(Integer.valueOf(i), UInt.m5787boximpl(m5853getpVg5ArA), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(runningReduceIndexed, i))).getData();
arrayList.add(UInt.m5787boximpl(m5853getpVg5ArA));
}
return arrayList;
}
/* renamed from: runningReduceIndexed-z1zDJgo, reason: not valid java name */
private static final List<ULong> m6729runningReduceIndexedz1zDJgo(long[] runningReduceIndexed, Function3<? super Integer, ? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(runningReduceIndexed, "$this$runningReduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(runningReduceIndexed)) {
return CollectionsKt.emptyList();
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(runningReduceIndexed, 0);
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(runningReduceIndexed));
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(runningReduceIndexed);
for (int i = 1; i < m5933getSizeimpl; i++) {
m5932getsVKNKU = operation.invoke(Integer.valueOf(i), ULong.m5866boximpl(m5932getsVKNKU), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(runningReduceIndexed, i))).getData();
arrayList.add(ULong.m5866boximpl(m5932getsVKNKU));
}
return arrayList;
}
/* renamed from: runningReduceIndexed-EOyYB1Y, reason: not valid java name */
private static final List<UByte> m6727runningReduceIndexedEOyYB1Y(byte[] runningReduceIndexed, Function3<? super Integer, ? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(runningReduceIndexed, "$this$runningReduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(runningReduceIndexed)) {
return CollectionsKt.emptyList();
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(runningReduceIndexed, 0);
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(runningReduceIndexed));
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(runningReduceIndexed);
for (int i = 1; i < m5775getSizeimpl; i++) {
m5774getw2LRezQ = operation.invoke(Integer.valueOf(i), UByte.m5710boximpl(m5774getw2LRezQ), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(runningReduceIndexed, i))).getData();
arrayList.add(UByte.m5710boximpl(m5774getw2LRezQ));
}
return arrayList;
}
/* renamed from: runningReduceIndexed-aLgx1Fo, reason: not valid java name */
private static final List<UShort> m6728runningReduceIndexedaLgx1Fo(short[] runningReduceIndexed, Function3<? super Integer, ? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(runningReduceIndexed, "$this$runningReduceIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(runningReduceIndexed)) {
return CollectionsKt.emptyList();
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(runningReduceIndexed, 0);
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(runningReduceIndexed));
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(runningReduceIndexed);
for (int i = 1; i < m6038getSizeimpl; i++) {
m6037getMh2AYeg = operation.invoke(Integer.valueOf(i), UShort.m5973boximpl(m6037getMh2AYeg), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(runningReduceIndexed, i))).getData();
arrayList.add(UShort.m5973boximpl(m6037getMh2AYeg));
}
return arrayList;
}
/* renamed from: scan-zi1B2BA, reason: not valid java name */
private static final <R> List<R> m6732scanzi1B2BA(int[] scan, R r, Function2<? super R, ? super UInt, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scan, "$this$scan");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(scan)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(scan) + 1);
arrayList.add(r);
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(scan);
for (int i = 0; i < m5854getSizeimpl; i++) {
r = operation.invoke(r, UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(scan, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: scan-A8wKCXQ, reason: not valid java name */
private static final <R> List<R> m6730scanA8wKCXQ(long[] scan, R r, Function2<? super R, ? super ULong, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scan, "$this$scan");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(scan)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(scan) + 1);
arrayList.add(r);
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(scan);
for (int i = 0; i < m5933getSizeimpl; i++) {
r = operation.invoke(r, ULong.m5866boximpl(ULongArray.m5932getsVKNKU(scan, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: scan-yXmHNn8, reason: not valid java name */
private static final <R> List<R> m6731scanyXmHNn8(byte[] scan, R r, Function2<? super R, ? super UByte, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scan, "$this$scan");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(scan)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(scan) + 1);
arrayList.add(r);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(scan);
for (int i = 0; i < m5775getSizeimpl; i++) {
r = operation.invoke(r, UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(scan, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: scan-zww5nb8, reason: not valid java name */
private static final <R> List<R> m6733scanzww5nb8(short[] scan, R r, Function2<? super R, ? super UShort, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scan, "$this$scan");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(scan)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(scan) + 1);
arrayList.add(r);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(scan);
for (int i = 0; i < m6038getSizeimpl; i++) {
r = operation.invoke(r, UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(scan, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: scanIndexed-yVwIW0Q, reason: not valid java name */
private static final <R> List<R> m6737scanIndexedyVwIW0Q(int[] scanIndexed, R r, Function3<? super Integer, ? super R, ? super UInt, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scanIndexed, "$this$scanIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UIntArray.m5856isEmptyimpl(scanIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UIntArray.m5854getSizeimpl(scanIndexed) + 1);
arrayList.add(r);
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(scanIndexed);
for (int i = 0; i < m5854getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(scanIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: scanIndexed-mwnnOCs, reason: not valid java name */
private static final <R> List<R> m6736scanIndexedmwnnOCs(long[] scanIndexed, R r, Function3<? super Integer, ? super R, ? super ULong, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scanIndexed, "$this$scanIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (ULongArray.m5935isEmptyimpl(scanIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(ULongArray.m5933getSizeimpl(scanIndexed) + 1);
arrayList.add(r);
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(scanIndexed);
for (int i = 0; i < m5933getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, ULong.m5866boximpl(ULongArray.m5932getsVKNKU(scanIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: scanIndexed-3iWJZGE, reason: not valid java name */
private static final <R> List<R> m6734scanIndexed3iWJZGE(byte[] scanIndexed, R r, Function3<? super Integer, ? super R, ? super UByte, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scanIndexed, "$this$scanIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UByteArray.m5777isEmptyimpl(scanIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UByteArray.m5775getSizeimpl(scanIndexed) + 1);
arrayList.add(r);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(scanIndexed);
for (int i = 0; i < m5775getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(scanIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
/* renamed from: scanIndexed-bzxtMww, reason: not valid java name */
private static final <R> List<R> m6735scanIndexedbzxtMww(short[] scanIndexed, R r, Function3<? super Integer, ? super R, ? super UShort, ? extends R> operation) {
Intrinsics.checkNotNullParameter(scanIndexed, "$this$scanIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
if (UShortArray.m6040isEmptyimpl(scanIndexed)) {
return CollectionsKt.listOf(r);
}
ArrayList arrayList = new ArrayList(UShortArray.m6038getSizeimpl(scanIndexed) + 1);
arrayList.add(r);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(scanIndexed);
for (int i = 0; i < m6038getSizeimpl; i++) {
r = operation.invoke(Integer.valueOf(i), r, UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(scanIndexed, i)));
arrayList.add(r);
}
return arrayList;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumBy-jgv0xPQ, reason: not valid java name */
private static final int m6820sumByjgv0xPQ(int[] sumBy, Function1<? super UInt, UInt> selector) {
Intrinsics.checkNotNullParameter(sumBy, "$this$sumBy");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(sumBy);
int i = 0;
for (int i2 = 0; i2 < m5854getSizeimpl; i2++) {
i = UInt.m5793constructorimpl(i + selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(sumBy, i2))).getData());
}
return i;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumBy-MShoTSo, reason: not valid java name */
private static final int m6819sumByMShoTSo(long[] sumBy, Function1<? super ULong, UInt> selector) {
Intrinsics.checkNotNullParameter(sumBy, "$this$sumBy");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(sumBy);
int i = 0;
for (int i2 = 0; i2 < m5933getSizeimpl; i2++) {
i = UInt.m5793constructorimpl(i + selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(sumBy, i2))).getData());
}
return i;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumBy-JOV_ifY, reason: not valid java name */
private static final int m6818sumByJOV_ifY(byte[] sumBy, Function1<? super UByte, UInt> selector) {
Intrinsics.checkNotNullParameter(sumBy, "$this$sumBy");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sumBy);
int i = 0;
for (int i2 = 0; i2 < m5775getSizeimpl; i2++) {
i = UInt.m5793constructorimpl(i + selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(sumBy, i2))).getData());
}
return i;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumBy-xTcfx_M, reason: not valid java name */
private static final int m6821sumByxTcfx_M(short[] sumBy, Function1<? super UShort, UInt> selector) {
Intrinsics.checkNotNullParameter(sumBy, "$this$sumBy");
Intrinsics.checkNotNullParameter(selector, "selector");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sumBy);
int i = 0;
for (int i2 = 0; i2 < m6038getSizeimpl; i2++) {
i = UInt.m5793constructorimpl(i + selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(sumBy, i2))).getData());
}
return i;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumByDouble-jgv0xPQ, reason: not valid java name */
private static final double m6824sumByDoublejgv0xPQ(int[] sumByDouble, Function1<? super UInt, Double> selector) {
Intrinsics.checkNotNullParameter(sumByDouble, "$this$sumByDouble");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(sumByDouble);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m5854getSizeimpl; i++) {
d += selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(sumByDouble, i))).doubleValue();
}
return d;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumByDouble-MShoTSo, reason: not valid java name */
private static final double m6823sumByDoubleMShoTSo(long[] sumByDouble, Function1<? super ULong, Double> selector) {
Intrinsics.checkNotNullParameter(sumByDouble, "$this$sumByDouble");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(sumByDouble);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m5933getSizeimpl; i++) {
d += selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(sumByDouble, i))).doubleValue();
}
return d;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumByDouble-JOV_ifY, reason: not valid java name */
private static final double m6822sumByDoubleJOV_ifY(byte[] sumByDouble, Function1<? super UByte, Double> selector) {
Intrinsics.checkNotNullParameter(sumByDouble, "$this$sumByDouble");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sumByDouble);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m5775getSizeimpl; i++) {
d += selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(sumByDouble, i))).doubleValue();
}
return d;
}
@Deprecated(message = "Use sumOf instead.", replaceWith = @ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
@DeprecatedSinceKotlin(warningSince = "1.5")
/* renamed from: sumByDouble-xTcfx_M, reason: not valid java name */
private static final double m6825sumByDoublexTcfx_M(short[] sumByDouble, Function1<? super UShort, Double> selector) {
Intrinsics.checkNotNullParameter(sumByDouble, "$this$sumByDouble");
Intrinsics.checkNotNullParameter(selector, "selector");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sumByDouble);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m6038getSizeimpl; i++) {
d += selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(sumByDouble, i))).doubleValue();
}
return d;
}
private static final double sumOfDouble(int[] sumOf, Function1<? super UInt, Double> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(sumOf);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m5854getSizeimpl; i++) {
d += selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(sumOf, i))).doubleValue();
}
return d;
}
private static final double sumOfDouble(long[] sumOf, Function1<? super ULong, Double> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(sumOf);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m5933getSizeimpl; i++) {
d += selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(sumOf, i))).doubleValue();
}
return d;
}
private static final double sumOfDouble(byte[] sumOf, Function1<? super UByte, Double> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sumOf);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m5775getSizeimpl; i++) {
d += selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(sumOf, i))).doubleValue();
}
return d;
}
private static final double sumOfDouble(short[] sumOf, Function1<? super UShort, Double> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sumOf);
double d = BuildConfig.SENTRY_SAMPLE_RATE;
for (int i = 0; i < m6038getSizeimpl; i++) {
d += selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(sumOf, i))).doubleValue();
}
return d;
}
private static final int sumOfInt(int[] sumOf, Function1<? super UInt, Integer> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(sumOf);
int i = 0;
for (int i2 = 0; i2 < m5854getSizeimpl; i2++) {
i += selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(sumOf, i2))).intValue();
}
return i;
}
private static final int sumOfInt(long[] sumOf, Function1<? super ULong, Integer> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(sumOf);
int i = 0;
for (int i2 = 0; i2 < m5933getSizeimpl; i2++) {
i += selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(sumOf, i2))).intValue();
}
return i;
}
private static final int sumOfInt(byte[] sumOf, Function1<? super UByte, Integer> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sumOf);
int i = 0;
for (int i2 = 0; i2 < m5775getSizeimpl; i2++) {
i += selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(sumOf, i2))).intValue();
}
return i;
}
private static final int sumOfInt(short[] sumOf, Function1<? super UShort, Integer> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sumOf);
int i = 0;
for (int i2 = 0; i2 < m6038getSizeimpl; i2++) {
i += selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(sumOf, i2))).intValue();
}
return i;
}
private static final long sumOfLong(int[] sumOf, Function1<? super UInt, Long> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(sumOf);
long j = 0;
for (int i = 0; i < m5854getSizeimpl; i++) {
j += selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(sumOf, i))).longValue();
}
return j;
}
private static final long sumOfLong(long[] sumOf, Function1<? super ULong, Long> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(sumOf);
long j = 0;
for (int i = 0; i < m5933getSizeimpl; i++) {
j += selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(sumOf, i))).longValue();
}
return j;
}
private static final long sumOfLong(byte[] sumOf, Function1<? super UByte, Long> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sumOf);
long j = 0;
for (int i = 0; i < m5775getSizeimpl; i++) {
j += selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(sumOf, i))).longValue();
}
return j;
}
private static final long sumOfLong(short[] sumOf, Function1<? super UShort, Long> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sumOf);
long j = 0;
for (int i = 0; i < m6038getSizeimpl; i++) {
j += selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(sumOf, i))).longValue();
}
return j;
}
private static final int sumOfUInt(int[] sumOf, Function1<? super UInt, UInt> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5793constructorimpl = UInt.m5793constructorimpl(0);
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(sumOf);
for (int i = 0; i < m5854getSizeimpl; i++) {
m5793constructorimpl = UInt.m5793constructorimpl(m5793constructorimpl + selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(sumOf, i))).getData());
}
return m5793constructorimpl;
}
private static final int sumOfUInt(long[] sumOf, Function1<? super ULong, UInt> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5793constructorimpl = UInt.m5793constructorimpl(0);
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(sumOf);
for (int i = 0; i < m5933getSizeimpl; i++) {
m5793constructorimpl = UInt.m5793constructorimpl(m5793constructorimpl + selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(sumOf, i))).getData());
}
return m5793constructorimpl;
}
private static final int sumOfUInt(byte[] sumOf, Function1<? super UByte, UInt> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5793constructorimpl = UInt.m5793constructorimpl(0);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sumOf);
for (int i = 0; i < m5775getSizeimpl; i++) {
m5793constructorimpl = UInt.m5793constructorimpl(m5793constructorimpl + selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(sumOf, i))).getData());
}
return m5793constructorimpl;
}
private static final int sumOfUInt(short[] sumOf, Function1<? super UShort, UInt> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
int m5793constructorimpl = UInt.m5793constructorimpl(0);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sumOf);
for (int i = 0; i < m6038getSizeimpl; i++) {
m5793constructorimpl = UInt.m5793constructorimpl(m5793constructorimpl + selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(sumOf, i))).getData());
}
return m5793constructorimpl;
}
private static final long sumOfULong(int[] sumOf, Function1<? super UInt, ULong> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
long m5872constructorimpl = ULong.m5872constructorimpl(0L);
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(sumOf);
for (int i = 0; i < m5854getSizeimpl; i++) {
m5872constructorimpl = ULong.m5872constructorimpl(m5872constructorimpl + selector.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(sumOf, i))).getData());
}
return m5872constructorimpl;
}
private static final long sumOfULong(long[] sumOf, Function1<? super ULong, ULong> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
long m5872constructorimpl = ULong.m5872constructorimpl(0L);
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(sumOf);
for (int i = 0; i < m5933getSizeimpl; i++) {
m5872constructorimpl = ULong.m5872constructorimpl(m5872constructorimpl + selector.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(sumOf, i))).getData());
}
return m5872constructorimpl;
}
private static final long sumOfULong(byte[] sumOf, Function1<? super UByte, ULong> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
long m5872constructorimpl = ULong.m5872constructorimpl(0L);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sumOf);
for (int i = 0; i < m5775getSizeimpl; i++) {
m5872constructorimpl = ULong.m5872constructorimpl(m5872constructorimpl + selector.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(sumOf, i))).getData());
}
return m5872constructorimpl;
}
private static final long sumOfULong(short[] sumOf, Function1<? super UShort, ULong> selector) {
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
Intrinsics.checkNotNullParameter(selector, "selector");
long m5872constructorimpl = ULong.m5872constructorimpl(0L);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sumOf);
for (int i = 0; i < m6038getSizeimpl; i++) {
m5872constructorimpl = ULong.m5872constructorimpl(m5872constructorimpl + selector.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(sumOf, i))).getData());
}
return m5872constructorimpl;
}
/* renamed from: zip-C-E_24M, reason: not valid java name */
public static final <R> List<Pair<UInt, R>> m6856zipCE_24M(int[] zip, R[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(UIntArray.m5854getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(zip, i);
arrayList.add(TuplesKt.to(UInt.m5787boximpl(m5853getpVg5ArA), other[i]));
}
return arrayList;
}
/* renamed from: zip-f7H3mmw, reason: not valid java name */
public static final <R> List<Pair<ULong, R>> m6870zipf7H3mmw(long[] zip, R[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(ULongArray.m5933getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(zip, i);
arrayList.add(TuplesKt.to(ULong.m5866boximpl(m5932getsVKNKU), other[i]));
}
return arrayList;
}
/* renamed from: zip-nl983wc, reason: not valid java name */
public static final <R> List<Pair<UByte, R>> m6875zipnl983wc(byte[] zip, R[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(UByteArray.m5775getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(zip, i);
arrayList.add(TuplesKt.to(UByte.m5710boximpl(m5774getw2LRezQ), other[i]));
}
return arrayList;
}
/* renamed from: zip-uaTIQ5s, reason: not valid java name */
public static final <R> List<Pair<UShort, R>> m6876zipuaTIQ5s(short[] zip, R[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(UShortArray.m6038getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(zip, i);
arrayList.add(TuplesKt.to(UShort.m5973boximpl(m6037getMh2AYeg), other[i]));
}
return arrayList;
}
/* renamed from: zip-ZjwqOic, reason: not valid java name */
private static final <R, V> List<V> m6867zipZjwqOic(int[] zip, R[] other, Function2<? super UInt, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(UIntArray.m5854getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(zip, i)), other[i]));
}
return arrayList;
}
/* renamed from: zip-8LME4QE, reason: not valid java name */
private static final <R, V> List<V> m6855zip8LME4QE(long[] zip, R[] other, Function2<? super ULong, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(ULongArray.m5933getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(zip, i)), other[i]));
}
return arrayList;
}
/* renamed from: zip-LuipOMY, reason: not valid java name */
private static final <R, V> List<V> m6863zipLuipOMY(byte[] zip, R[] other, Function2<? super UByte, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(UByteArray.m5775getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(zip, i)), other[i]));
}
return arrayList;
}
/* renamed from: zip-ePBmRWY, reason: not valid java name */
private static final <R, V> List<V> m6869zipePBmRWY(short[] zip, R[] other, Function2<? super UShort, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(UShortArray.m6038getSizeimpl(zip), other.length);
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(zip, i)), other[i]));
}
return arrayList;
}
/* renamed from: zip-HwE9HBo, reason: not valid java name */
public static final <R> List<Pair<UInt, R>> m6858zipHwE9HBo(int[] zip, Iterable<? extends R> other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m5854getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m5854getSizeimpl) {
break;
}
arrayList.add(TuplesKt.to(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-F7u83W8, reason: not valid java name */
public static final <R> List<Pair<ULong, R>> m6857zipF7u83W8(long[] zip, Iterable<? extends R> other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m5933getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m5933getSizeimpl) {
break;
}
arrayList.add(TuplesKt.to(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-JQknh5Q, reason: not valid java name */
public static final <R> List<Pair<UByte, R>> m6861zipJQknh5Q(byte[] zip, Iterable<? extends R> other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m5775getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m5775getSizeimpl) {
break;
}
arrayList.add(TuplesKt.to(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-JGPC0-M, reason: not valid java name */
public static final <R> List<Pair<UShort, R>> m6860zipJGPC0M(short[] zip, Iterable<? extends R> other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m6038getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m6038getSizeimpl) {
break;
}
arrayList.add(TuplesKt.to(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-7znnbtw, reason: not valid java name */
private static final <R, V> List<V> m6854zip7znnbtw(int[] zip, Iterable<? extends R> other, Function2<? super UInt, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5854getSizeimpl = UIntArray.m5854getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m5854getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m5854getSizeimpl) {
break;
}
arrayList.add(transform.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-TUPTUsU, reason: not valid java name */
private static final <R, V> List<V> m6865zipTUPTUsU(long[] zip, Iterable<? extends R> other, Function2<? super ULong, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5933getSizeimpl = ULongArray.m5933getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m5933getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m5933getSizeimpl) {
break;
}
arrayList.add(transform.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-UCnP4_w, reason: not valid java name */
private static final <R, V> List<V> m6866zipUCnP4_w(byte[] zip, Iterable<? extends R> other, Function2<? super UByte, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m5775getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m5775getSizeimpl) {
break;
}
arrayList.add(transform.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-kBb4a-s, reason: not valid java name */
private static final <R, V> List<V> m6872zipkBb4as(short[] zip, Iterable<? extends R> other, Function2<? super UShort, ? super R, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(zip);
ArrayList arrayList = new ArrayList(Math.min(CollectionsKt.collectionSizeOrDefault(other, 10), m6038getSizeimpl));
int i = 0;
for (R r : other) {
if (i >= m6038getSizeimpl) {
break;
}
arrayList.add(transform.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(zip, i)), r));
i++;
}
return arrayList;
}
/* renamed from: zip-ctEhBpI, reason: not valid java name */
public static final List<Pair<UInt, UInt>> m6868zipctEhBpI(int[] zip, int[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(UIntArray.m5854getSizeimpl(zip), UIntArray.m5854getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(TuplesKt.to(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(zip, i)), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(other, i))));
}
return arrayList;
}
/* renamed from: zip-us8wMrg, reason: not valid java name */
public static final List<Pair<ULong, ULong>> m6877zipus8wMrg(long[] zip, long[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(ULongArray.m5933getSizeimpl(zip), ULongArray.m5933getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(TuplesKt.to(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(zip, i)), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(other, i))));
}
return arrayList;
}
/* renamed from: zip-kdPth3s, reason: not valid java name */
public static final List<Pair<UByte, UByte>> m6873zipkdPth3s(byte[] zip, byte[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(UByteArray.m5775getSizeimpl(zip), UByteArray.m5775getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(TuplesKt.to(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(zip, i)), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(other, i))));
}
return arrayList;
}
/* renamed from: zip-mazbYpA, reason: not valid java name */
public static final List<Pair<UShort, UShort>> m6874zipmazbYpA(short[] zip, short[] other) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
int min = Math.min(UShortArray.m6038getSizeimpl(zip), UShortArray.m6038getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(TuplesKt.to(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(zip, i)), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(other, i))));
}
return arrayList;
}
/* renamed from: zip-L83TJbI, reason: not valid java name */
private static final <V> List<V> m6862zipL83TJbI(int[] zip, int[] other, Function2<? super UInt, ? super UInt, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(UIntArray.m5854getSizeimpl(zip), UIntArray.m5854getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(zip, i)), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(other, i))));
}
return arrayList;
}
/* renamed from: zip-PabeH-Q, reason: not valid java name */
private static final <V> List<V> m6864zipPabeHQ(long[] zip, long[] other, Function2<? super ULong, ? super ULong, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(ULongArray.m5933getSizeimpl(zip), ULongArray.m5933getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(zip, i)), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(other, i))));
}
return arrayList;
}
/* renamed from: zip-JAKpvQM, reason: not valid java name */
private static final <V> List<V> m6859zipJAKpvQM(byte[] zip, byte[] other, Function2<? super UByte, ? super UByte, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(UByteArray.m5775getSizeimpl(zip), UByteArray.m5775getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(zip, i)), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(other, i))));
}
return arrayList;
}
/* renamed from: zip-gVVukQo, reason: not valid java name */
private static final <V> List<V> m6871zipgVVukQo(short[] zip, short[] other, Function2<? super UShort, ? super UShort, ? extends V> transform) {
Intrinsics.checkNotNullParameter(zip, "$this$zip");
Intrinsics.checkNotNullParameter(other, "other");
Intrinsics.checkNotNullParameter(transform, "transform");
int min = Math.min(UShortArray.m6038getSizeimpl(zip), UShortArray.m6038getSizeimpl(other));
ArrayList arrayList = new ArrayList(min);
for (int i = 0; i < min; i++) {
arrayList.add(transform.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(zip, i)), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(other, i))));
}
return arrayList;
}
public static final int sumOfUInt(UInt[] uIntArr) {
Intrinsics.checkNotNullParameter(uIntArr, "<this>");
int i = 0;
for (UInt uInt : uIntArr) {
i = UInt.m5793constructorimpl(i + uInt.getData());
}
return i;
}
public static final long sumOfULong(ULong[] uLongArr) {
Intrinsics.checkNotNullParameter(uLongArr, "<this>");
long j = 0;
for (ULong uLong : uLongArr) {
j = ULong.m5872constructorimpl(j + uLong.getData());
}
return j;
}
public static final int sumOfUByte(UByte[] uByteArr) {
Intrinsics.checkNotNullParameter(uByteArr, "<this>");
int i = 0;
for (UByte uByte : uByteArr) {
i = UInt.m5793constructorimpl(i + UInt.m5793constructorimpl(uByte.getData() & 255));
}
return i;
}
public static final int sumOfUShort(UShort[] uShortArr) {
Intrinsics.checkNotNullParameter(uShortArr, "<this>");
int i = 0;
for (UShort uShort : uShortArr) {
i = UInt.m5793constructorimpl(i + UInt.m5793constructorimpl(uShort.getData() & UShort.MAX_VALUE));
}
return i;
}
/* renamed from: sum--ajY-9A, reason: not valid java name */
private static final int m6814sumajY9A(int[] sum) {
Intrinsics.checkNotNullParameter(sum, "$this$sum");
return UInt.m5793constructorimpl(ArraysKt.sum(sum));
}
/* renamed from: sum-QwZRm1k, reason: not valid java name */
private static final long m6816sumQwZRm1k(long[] sum) {
Intrinsics.checkNotNullParameter(sum, "$this$sum");
return ULong.m5872constructorimpl(ArraysKt.sum(sum));
}
/* renamed from: sum-GBYM_sE, reason: not valid java name */
private static final int m6815sumGBYM_sE(byte[] sum) {
Intrinsics.checkNotNullParameter(sum, "$this$sum");
int m5793constructorimpl = UInt.m5793constructorimpl(0);
int m5775getSizeimpl = UByteArray.m5775getSizeimpl(sum);
for (int i = 0; i < m5775getSizeimpl; i++) {
m5793constructorimpl = UInt.m5793constructorimpl(m5793constructorimpl + UInt.m5793constructorimpl(UByteArray.m5774getw2LRezQ(sum, i) & 255));
}
return m5793constructorimpl;
}
/* renamed from: sum-rL5Bavg, reason: not valid java name */
private static final int m6817sumrL5Bavg(short[] sum) {
Intrinsics.checkNotNullParameter(sum, "$this$sum");
int m5793constructorimpl = UInt.m5793constructorimpl(0);
int m6038getSizeimpl = UShortArray.m6038getSizeimpl(sum);
for (int i = 0; i < m6038getSizeimpl; i++) {
m5793constructorimpl = UInt.m5793constructorimpl(m5793constructorimpl + UInt.m5793constructorimpl(UShortArray.m6037getMh2AYeg(sum, i) & UShort.MAX_VALUE));
}
return m5793constructorimpl;
}
/* renamed from: elementAtOrElse-QxvSvLU, reason: not valid java name */
private static final int m6319elementAtOrElseQxvSvLU(int[] elementAtOrElse, int i, Function1<? super Integer, UInt> defaultValue) {
Intrinsics.checkNotNullParameter(elementAtOrElse, "$this$elementAtOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(elementAtOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : UIntArray.m5853getpVg5ArA(elementAtOrElse, i);
}
/* renamed from: elementAtOrElse-Xw8i6dc, reason: not valid java name */
private static final long m6320elementAtOrElseXw8i6dc(long[] elementAtOrElse, int i, Function1<? super Integer, ULong> defaultValue) {
Intrinsics.checkNotNullParameter(elementAtOrElse, "$this$elementAtOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(elementAtOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : ULongArray.m5932getsVKNKU(elementAtOrElse, i);
}
/* renamed from: elementAtOrElse-cO-VybQ, reason: not valid java name */
private static final byte m6321elementAtOrElsecOVybQ(byte[] elementAtOrElse, int i, Function1<? super Integer, UByte> defaultValue) {
Intrinsics.checkNotNullParameter(elementAtOrElse, "$this$elementAtOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(elementAtOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : UByteArray.m5774getw2LRezQ(elementAtOrElse, i);
}
/* renamed from: elementAtOrElse-CVVdw08, reason: not valid java name */
private static final short m6318elementAtOrElseCVVdw08(short[] elementAtOrElse, int i, Function1<? super Integer, UShort> defaultValue) {
Intrinsics.checkNotNullParameter(elementAtOrElse, "$this$elementAtOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(elementAtOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : UShortArray.m6037getMh2AYeg(elementAtOrElse, i);
}
/* renamed from: getOrElse-QxvSvLU, reason: not valid java name */
private static final int m6439getOrElseQxvSvLU(int[] getOrElse, int i, Function1<? super Integer, UInt> defaultValue) {
Intrinsics.checkNotNullParameter(getOrElse, "$this$getOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(getOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : UIntArray.m5853getpVg5ArA(getOrElse, i);
}
/* renamed from: getOrElse-Xw8i6dc, reason: not valid java name */
private static final long m6440getOrElseXw8i6dc(long[] getOrElse, int i, Function1<? super Integer, ULong> defaultValue) {
Intrinsics.checkNotNullParameter(getOrElse, "$this$getOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(getOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : ULongArray.m5932getsVKNKU(getOrElse, i);
}
/* renamed from: getOrElse-cO-VybQ, reason: not valid java name */
private static final byte m6441getOrElsecOVybQ(byte[] getOrElse, int i, Function1<? super Integer, UByte> defaultValue) {
Intrinsics.checkNotNullParameter(getOrElse, "$this$getOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(getOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : UByteArray.m5774getw2LRezQ(getOrElse, i);
}
/* renamed from: getOrElse-CVVdw08, reason: not valid java name */
private static final short m6438getOrElseCVVdw08(short[] getOrElse, int i, Function1<? super Integer, UShort> defaultValue) {
Intrinsics.checkNotNullParameter(getOrElse, "$this$getOrElse");
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
return (i < 0 || i > ArraysKt.getLastIndex(getOrElse)) ? defaultValue.invoke(Integer.valueOf(i)).getData() : UShortArray.m6037getMh2AYeg(getOrElse, i);
}
/* renamed from: getOrNull-qFRl0hI, reason: not valid java name */
public static final UInt m6444getOrNullqFRl0hI(int[] getOrNull, int i) {
Intrinsics.checkNotNullParameter(getOrNull, "$this$getOrNull");
if (i < 0 || i > ArraysKt.getLastIndex(getOrNull)) {
return null;
}
return UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(getOrNull, i));
}
/* renamed from: getOrNull-r7IrZao, reason: not valid java name */
public static final ULong m6445getOrNullr7IrZao(long[] getOrNull, int i) {
Intrinsics.checkNotNullParameter(getOrNull, "$this$getOrNull");
if (i < 0 || i > ArraysKt.getLastIndex(getOrNull)) {
return null;
}
return ULong.m5866boximpl(ULongArray.m5932getsVKNKU(getOrNull, i));
}
/* renamed from: getOrNull-PpDY95g, reason: not valid java name */
public static final UByte m6442getOrNullPpDY95g(byte[] getOrNull, int i) {
Intrinsics.checkNotNullParameter(getOrNull, "$this$getOrNull");
if (i < 0 || i > ArraysKt.getLastIndex(getOrNull)) {
return null;
}
return UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(getOrNull, i));
}
/* renamed from: getOrNull-nggk6HY, reason: not valid java name */
public static final UShort m6443getOrNullnggk6HY(short[] getOrNull, int i) {
Intrinsics.checkNotNullParameter(getOrNull, "$this$getOrNull");
if (i < 0 || i > ArraysKt.getLastIndex(getOrNull)) {
return null;
}
return UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(getOrNull, i));
}
/* renamed from: indexOfFirst-jgv0xPQ, reason: not valid java name */
private static final int m6468indexOfFirstjgv0xPQ(int[] indexOfFirst, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfFirst, "$this$indexOfFirst");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfFirst.length;
for (int i = 0; i < length; i++) {
if (predicate.invoke(UInt.m5787boximpl(UInt.m5793constructorimpl(indexOfFirst[i]))).booleanValue()) {
return i;
}
}
return -1;
}
/* renamed from: indexOfFirst-MShoTSo, reason: not valid java name */
private static final int m6467indexOfFirstMShoTSo(long[] indexOfFirst, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfFirst, "$this$indexOfFirst");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfFirst.length;
for (int i = 0; i < length; i++) {
if (predicate.invoke(ULong.m5866boximpl(ULong.m5872constructorimpl(indexOfFirst[i]))).booleanValue()) {
return i;
}
}
return -1;
}
/* renamed from: indexOfFirst-JOV_ifY, reason: not valid java name */
private static final int m6466indexOfFirstJOV_ifY(byte[] indexOfFirst, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfFirst, "$this$indexOfFirst");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfFirst.length;
for (int i = 0; i < length; i++) {
if (predicate.invoke(UByte.m5710boximpl(UByte.m5716constructorimpl(indexOfFirst[i]))).booleanValue()) {
return i;
}
}
return -1;
}
/* renamed from: indexOfFirst-xTcfx_M, reason: not valid java name */
private static final int m6469indexOfFirstxTcfx_M(short[] indexOfFirst, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfFirst, "$this$indexOfFirst");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfFirst.length;
for (int i = 0; i < length; i++) {
if (predicate.invoke(UShort.m5973boximpl(UShort.m5979constructorimpl(indexOfFirst[i]))).booleanValue()) {
return i;
}
}
return -1;
}
/* renamed from: indexOfLast-jgv0xPQ, reason: not valid java name */
private static final int m6472indexOfLastjgv0xPQ(int[] indexOfLast, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfLast, "$this$indexOfLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfLast.length - 1;
if (length < 0) {
return -1;
}
while (true) {
int i = length - 1;
if (predicate.invoke(UInt.m5787boximpl(UInt.m5793constructorimpl(indexOfLast[length]))).booleanValue()) {
return length;
}
if (i < 0) {
return -1;
}
length = i;
}
}
/* renamed from: indexOfLast-MShoTSo, reason: not valid java name */
private static final int m6471indexOfLastMShoTSo(long[] indexOfLast, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfLast, "$this$indexOfLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfLast.length - 1;
if (length < 0) {
return -1;
}
while (true) {
int i = length - 1;
if (predicate.invoke(ULong.m5866boximpl(ULong.m5872constructorimpl(indexOfLast[length]))).booleanValue()) {
return length;
}
if (i < 0) {
return -1;
}
length = i;
}
}
/* renamed from: indexOfLast-JOV_ifY, reason: not valid java name */
private static final int m6470indexOfLastJOV_ifY(byte[] indexOfLast, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfLast, "$this$indexOfLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfLast.length - 1;
if (length < 0) {
return -1;
}
while (true) {
int i = length - 1;
if (predicate.invoke(UByte.m5710boximpl(UByte.m5716constructorimpl(indexOfLast[length]))).booleanValue()) {
return length;
}
if (i < 0) {
return -1;
}
length = i;
}
}
/* renamed from: indexOfLast-xTcfx_M, reason: not valid java name */
private static final int m6473indexOfLastxTcfx_M(short[] indexOfLast, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(indexOfLast, "$this$indexOfLast");
Intrinsics.checkNotNullParameter(predicate, "predicate");
int length = indexOfLast.length - 1;
if (length < 0) {
return -1;
}
while (true) {
int i = length - 1;
if (predicate.invoke(UShort.m5973boximpl(UShort.m5979constructorimpl(indexOfLast[length]))).booleanValue()) {
return length;
}
if (i < 0) {
return -1;
}
length = i;
}
}
/* renamed from: dropLastWhile-jgv0xPQ, reason: not valid java name */
private static final List<UInt> m6312dropLastWhilejgv0xPQ(int[] dropLastWhile, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropLastWhile, "$this$dropLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(dropLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(dropLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6828takeqFRl0hI(dropLastWhile, lastIndex + 1);
}
}
return CollectionsKt.emptyList();
}
/* renamed from: dropLastWhile-MShoTSo, reason: not valid java name */
private static final List<ULong> m6311dropLastWhileMShoTSo(long[] dropLastWhile, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropLastWhile, "$this$dropLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(dropLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(dropLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6829taker7IrZao(dropLastWhile, lastIndex + 1);
}
}
return CollectionsKt.emptyList();
}
/* renamed from: dropLastWhile-JOV_ifY, reason: not valid java name */
private static final List<UByte> m6310dropLastWhileJOV_ifY(byte[] dropLastWhile, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropLastWhile, "$this$dropLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(dropLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(dropLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6826takePpDY95g(dropLastWhile, lastIndex + 1);
}
}
return CollectionsKt.emptyList();
}
/* renamed from: dropLastWhile-xTcfx_M, reason: not valid java name */
private static final List<UShort> m6313dropLastWhilexTcfx_M(short[] dropLastWhile, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(dropLastWhile, "$this$dropLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(dropLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(dropLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6827takenggk6HY(dropLastWhile, lastIndex + 1);
}
}
return CollectionsKt.emptyList();
}
/* renamed from: takeLastWhile-jgv0xPQ, reason: not valid java name */
private static final List<UInt> m6836takeLastWhilejgv0xPQ(int[] takeLastWhile, Function1<? super UInt, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeLastWhile, "$this$takeLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(takeLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(takeLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6304dropqFRl0hI(takeLastWhile, lastIndex + 1);
}
}
return CollectionsKt.toList(UIntArray.m5846boximpl(takeLastWhile));
}
/* renamed from: takeLastWhile-MShoTSo, reason: not valid java name */
private static final List<ULong> m6835takeLastWhileMShoTSo(long[] takeLastWhile, Function1<? super ULong, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeLastWhile, "$this$takeLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(takeLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(takeLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6305dropr7IrZao(takeLastWhile, lastIndex + 1);
}
}
return CollectionsKt.toList(ULongArray.m5925boximpl(takeLastWhile));
}
/* renamed from: takeLastWhile-JOV_ifY, reason: not valid java name */
private static final List<UByte> m6834takeLastWhileJOV_ifY(byte[] takeLastWhile, Function1<? super UByte, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeLastWhile, "$this$takeLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(takeLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(takeLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6302dropPpDY95g(takeLastWhile, lastIndex + 1);
}
}
return CollectionsKt.toList(UByteArray.m5767boximpl(takeLastWhile));
}
/* renamed from: takeLastWhile-xTcfx_M, reason: not valid java name */
private static final List<UShort> m6837takeLastWhilexTcfx_M(short[] takeLastWhile, Function1<? super UShort, Boolean> predicate) {
Intrinsics.checkNotNullParameter(takeLastWhile, "$this$takeLastWhile");
Intrinsics.checkNotNullParameter(predicate, "predicate");
for (int lastIndex = ArraysKt.getLastIndex(takeLastWhile); -1 < lastIndex; lastIndex--) {
if (!predicate.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(takeLastWhile, lastIndex))).booleanValue()) {
return UArraysKt.m6303dropnggk6HY(takeLastWhile, lastIndex + 1);
}
}
return CollectionsKt.toList(UShortArray.m6030boximpl(takeLastWhile));
}
/* renamed from: shuffle-2D5oskM, reason: not valid java name */
public static final void m6739shuffle2D5oskM(int[] shuffle, Random random) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
Intrinsics.checkNotNullParameter(random, "random");
for (int lastIndex = ArraysKt.getLastIndex(shuffle); lastIndex > 0; lastIndex--) {
int nextInt = random.nextInt(lastIndex + 1);
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(shuffle, lastIndex);
UIntArray.m5858setVXSXFK8(shuffle, lastIndex, UIntArray.m5853getpVg5ArA(shuffle, nextInt));
UIntArray.m5858setVXSXFK8(shuffle, nextInt, m5853getpVg5ArA);
}
}
/* renamed from: shuffle-JzugnMA, reason: not valid java name */
public static final void m6741shuffleJzugnMA(long[] shuffle, Random random) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
Intrinsics.checkNotNullParameter(random, "random");
for (int lastIndex = ArraysKt.getLastIndex(shuffle); lastIndex > 0; lastIndex--) {
int nextInt = random.nextInt(lastIndex + 1);
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(shuffle, lastIndex);
ULongArray.m5937setk8EXiF4(shuffle, lastIndex, ULongArray.m5932getsVKNKU(shuffle, nextInt));
ULongArray.m5937setk8EXiF4(shuffle, nextInt, m5932getsVKNKU);
}
}
/* renamed from: shuffle-oSF2wD8, reason: not valid java name */
public static final void m6743shuffleoSF2wD8(byte[] shuffle, Random random) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
Intrinsics.checkNotNullParameter(random, "random");
for (int lastIndex = ArraysKt.getLastIndex(shuffle); lastIndex > 0; lastIndex--) {
int nextInt = random.nextInt(lastIndex + 1);
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(shuffle, lastIndex);
UByteArray.m5779setVurrAj0(shuffle, lastIndex, UByteArray.m5774getw2LRezQ(shuffle, nextInt));
UByteArray.m5779setVurrAj0(shuffle, nextInt, m5774getw2LRezQ);
}
}
/* renamed from: shuffle-s5X_as8, reason: not valid java name */
public static final void m6745shuffles5X_as8(short[] shuffle, Random random) {
Intrinsics.checkNotNullParameter(shuffle, "$this$shuffle");
Intrinsics.checkNotNullParameter(random, "random");
for (int lastIndex = ArraysKt.getLastIndex(shuffle); lastIndex > 0; lastIndex--) {
int nextInt = random.nextInt(lastIndex + 1);
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(shuffle, lastIndex);
UShortArray.m6042set01HTLdE(shuffle, lastIndex, UShortArray.m6037getMh2AYeg(shuffle, nextInt));
UShortArray.m6042set01HTLdE(shuffle, nextInt, m6037getMh2AYeg);
}
}
/* renamed from: foldRight-zi1B2BA, reason: not valid java name */
private static final <R> R m6408foldRightzi1B2BA(int[] foldRight, R r, Function2<? super UInt, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRight, "$this$foldRight");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRight); lastIndex >= 0; lastIndex--) {
r = operation.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(foldRight, lastIndex)), r);
}
return r;
}
/* renamed from: foldRight-A8wKCXQ, reason: not valid java name */
private static final <R> R m6406foldRightA8wKCXQ(long[] foldRight, R r, Function2<? super ULong, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRight, "$this$foldRight");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRight); lastIndex >= 0; lastIndex--) {
r = operation.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(foldRight, lastIndex)), r);
}
return r;
}
/* renamed from: foldRight-yXmHNn8, reason: not valid java name */
private static final <R> R m6407foldRightyXmHNn8(byte[] foldRight, R r, Function2<? super UByte, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRight, "$this$foldRight");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRight); lastIndex >= 0; lastIndex--) {
r = operation.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(foldRight, lastIndex)), r);
}
return r;
}
/* renamed from: foldRight-zww5nb8, reason: not valid java name */
private static final <R> R m6409foldRightzww5nb8(short[] foldRight, R r, Function2<? super UShort, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRight, "$this$foldRight");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRight); lastIndex >= 0; lastIndex--) {
r = operation.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(foldRight, lastIndex)), r);
}
return r;
}
/* renamed from: foldRightIndexed-yVwIW0Q, reason: not valid java name */
private static final <R> R m6413foldRightIndexedyVwIW0Q(int[] foldRightIndexed, R r, Function3<? super Integer, ? super UInt, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRightIndexed, "$this$foldRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRightIndexed); lastIndex >= 0; lastIndex--) {
r = operation.invoke(Integer.valueOf(lastIndex), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(foldRightIndexed, lastIndex)), r);
}
return r;
}
/* renamed from: foldRightIndexed-mwnnOCs, reason: not valid java name */
private static final <R> R m6412foldRightIndexedmwnnOCs(long[] foldRightIndexed, R r, Function3<? super Integer, ? super ULong, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRightIndexed, "$this$foldRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRightIndexed); lastIndex >= 0; lastIndex--) {
r = operation.invoke(Integer.valueOf(lastIndex), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(foldRightIndexed, lastIndex)), r);
}
return r;
}
/* renamed from: foldRightIndexed-3iWJZGE, reason: not valid java name */
private static final <R> R m6410foldRightIndexed3iWJZGE(byte[] foldRightIndexed, R r, Function3<? super Integer, ? super UByte, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRightIndexed, "$this$foldRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRightIndexed); lastIndex >= 0; lastIndex--) {
r = operation.invoke(Integer.valueOf(lastIndex), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(foldRightIndexed, lastIndex)), r);
}
return r;
}
/* renamed from: foldRightIndexed-bzxtMww, reason: not valid java name */
private static final <R> R m6411foldRightIndexedbzxtMww(short[] foldRightIndexed, R r, Function3<? super Integer, ? super UShort, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(foldRightIndexed, "$this$foldRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
for (int lastIndex = ArraysKt.getLastIndex(foldRightIndexed); lastIndex >= 0; lastIndex--) {
r = operation.invoke(Integer.valueOf(lastIndex), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(foldRightIndexed, lastIndex)), r);
}
return r;
}
/* renamed from: reduceRight-WyvcNBI, reason: not valid java name */
private static final int m6683reduceRightWyvcNBI(int[] reduceRight, Function2<? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduceRight, "$this$reduceRight");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRight);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduceRight, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5853getpVg5ArA = operation.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduceRight, i)), UInt.m5787boximpl(m5853getpVg5ArA)).getData();
}
return m5853getpVg5ArA;
}
/* renamed from: reduceRight-s8dVfGU, reason: not valid java name */
private static final long m6684reduceRights8dVfGU(long[] reduceRight, Function2<? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduceRight, "$this$reduceRight");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRight);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduceRight, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5932getsVKNKU = operation.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduceRight, i)), ULong.m5866boximpl(m5932getsVKNKU)).getData();
}
return m5932getsVKNKU;
}
/* renamed from: reduceRight-ELGow60, reason: not valid java name */
private static final byte m6682reduceRightELGow60(byte[] reduceRight, Function2<? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduceRight, "$this$reduceRight");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRight);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduceRight, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5774getw2LRezQ = operation.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduceRight, i)), UByte.m5710boximpl(m5774getw2LRezQ)).getData();
}
return m5774getw2LRezQ;
}
/* renamed from: reduceRight-xzaTVY8, reason: not valid java name */
private static final short m6685reduceRightxzaTVY8(short[] reduceRight, Function2<? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduceRight, "$this$reduceRight");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRight);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduceRight, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m6037getMh2AYeg = operation.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduceRight, i)), UShort.m5973boximpl(m6037getMh2AYeg)).getData();
}
return m6037getMh2AYeg;
}
/* renamed from: reduceRightIndexed-D40WMg8, reason: not valid java name */
private static final int m6686reduceRightIndexedD40WMg8(int[] reduceRightIndexed, Function3<? super Integer, ? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexed, "$this$reduceRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexed);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduceRightIndexed, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5853getpVg5ArA = operation.invoke(Integer.valueOf(i), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduceRightIndexed, i)), UInt.m5787boximpl(m5853getpVg5ArA)).getData();
}
return m5853getpVg5ArA;
}
/* renamed from: reduceRightIndexed-z1zDJgo, reason: not valid java name */
private static final long m6689reduceRightIndexedz1zDJgo(long[] reduceRightIndexed, Function3<? super Integer, ? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexed, "$this$reduceRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexed);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduceRightIndexed, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5932getsVKNKU = operation.invoke(Integer.valueOf(i), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduceRightIndexed, i)), ULong.m5866boximpl(m5932getsVKNKU)).getData();
}
return m5932getsVKNKU;
}
/* renamed from: reduceRightIndexed-EOyYB1Y, reason: not valid java name */
private static final byte m6687reduceRightIndexedEOyYB1Y(byte[] reduceRightIndexed, Function3<? super Integer, ? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexed, "$this$reduceRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexed);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduceRightIndexed, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5774getw2LRezQ = operation.invoke(Integer.valueOf(i), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduceRightIndexed, i)), UByte.m5710boximpl(m5774getw2LRezQ)).getData();
}
return m5774getw2LRezQ;
}
/* renamed from: reduceRightIndexed-aLgx1Fo, reason: not valid java name */
private static final short m6688reduceRightIndexedaLgx1Fo(short[] reduceRightIndexed, Function3<? super Integer, ? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexed, "$this$reduceRightIndexed");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexed);
if (lastIndex < 0) {
throw new UnsupportedOperationException("Empty array can't be reduced.");
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduceRightIndexed, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m6037getMh2AYeg = operation.invoke(Integer.valueOf(i), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduceRightIndexed, i)), UShort.m5973boximpl(m6037getMh2AYeg)).getData();
}
return m6037getMh2AYeg;
}
/* renamed from: reduceRightIndexedOrNull-D40WMg8, reason: not valid java name */
private static final UInt m6690reduceRightIndexedOrNullD40WMg8(int[] reduceRightIndexedOrNull, Function3<? super Integer, ? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexedOrNull, "$this$reduceRightIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexedOrNull);
if (lastIndex < 0) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduceRightIndexedOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5853getpVg5ArA = operation.invoke(Integer.valueOf(i), UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduceRightIndexedOrNull, i)), UInt.m5787boximpl(m5853getpVg5ArA)).getData();
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* renamed from: reduceRightIndexedOrNull-z1zDJgo, reason: not valid java name */
private static final ULong m6693reduceRightIndexedOrNullz1zDJgo(long[] reduceRightIndexedOrNull, Function3<? super Integer, ? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexedOrNull, "$this$reduceRightIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexedOrNull);
if (lastIndex < 0) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduceRightIndexedOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5932getsVKNKU = operation.invoke(Integer.valueOf(i), ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduceRightIndexedOrNull, i)), ULong.m5866boximpl(m5932getsVKNKU)).getData();
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* renamed from: reduceRightIndexedOrNull-EOyYB1Y, reason: not valid java name */
private static final UByte m6691reduceRightIndexedOrNullEOyYB1Y(byte[] reduceRightIndexedOrNull, Function3<? super Integer, ? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexedOrNull, "$this$reduceRightIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexedOrNull);
if (lastIndex < 0) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduceRightIndexedOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5774getw2LRezQ = operation.invoke(Integer.valueOf(i), UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduceRightIndexedOrNull, i)), UByte.m5710boximpl(m5774getw2LRezQ)).getData();
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* renamed from: reduceRightIndexedOrNull-aLgx1Fo, reason: not valid java name */
private static final UShort m6692reduceRightIndexedOrNullaLgx1Fo(short[] reduceRightIndexedOrNull, Function3<? super Integer, ? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduceRightIndexedOrNull, "$this$reduceRightIndexedOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightIndexedOrNull);
if (lastIndex < 0) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduceRightIndexedOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m6037getMh2AYeg = operation.invoke(Integer.valueOf(i), UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduceRightIndexedOrNull, i)), UShort.m5973boximpl(m6037getMh2AYeg)).getData();
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
/* renamed from: reduceRightOrNull-WyvcNBI, reason: not valid java name */
private static final UInt m6695reduceRightOrNullWyvcNBI(int[] reduceRightOrNull, Function2<? super UInt, ? super UInt, UInt> operation) {
Intrinsics.checkNotNullParameter(reduceRightOrNull, "$this$reduceRightOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightOrNull);
if (lastIndex < 0) {
return null;
}
int m5853getpVg5ArA = UIntArray.m5853getpVg5ArA(reduceRightOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5853getpVg5ArA = operation.invoke(UInt.m5787boximpl(UIntArray.m5853getpVg5ArA(reduceRightOrNull, i)), UInt.m5787boximpl(m5853getpVg5ArA)).getData();
}
return UInt.m5787boximpl(m5853getpVg5ArA);
}
/* renamed from: reduceRightOrNull-s8dVfGU, reason: not valid java name */
private static final ULong m6696reduceRightOrNulls8dVfGU(long[] reduceRightOrNull, Function2<? super ULong, ? super ULong, ULong> operation) {
Intrinsics.checkNotNullParameter(reduceRightOrNull, "$this$reduceRightOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightOrNull);
if (lastIndex < 0) {
return null;
}
long m5932getsVKNKU = ULongArray.m5932getsVKNKU(reduceRightOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5932getsVKNKU = operation.invoke(ULong.m5866boximpl(ULongArray.m5932getsVKNKU(reduceRightOrNull, i)), ULong.m5866boximpl(m5932getsVKNKU)).getData();
}
return ULong.m5866boximpl(m5932getsVKNKU);
}
/* renamed from: reduceRightOrNull-ELGow60, reason: not valid java name */
private static final UByte m6694reduceRightOrNullELGow60(byte[] reduceRightOrNull, Function2<? super UByte, ? super UByte, UByte> operation) {
Intrinsics.checkNotNullParameter(reduceRightOrNull, "$this$reduceRightOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightOrNull);
if (lastIndex < 0) {
return null;
}
byte m5774getw2LRezQ = UByteArray.m5774getw2LRezQ(reduceRightOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m5774getw2LRezQ = operation.invoke(UByte.m5710boximpl(UByteArray.m5774getw2LRezQ(reduceRightOrNull, i)), UByte.m5710boximpl(m5774getw2LRezQ)).getData();
}
return UByte.m5710boximpl(m5774getw2LRezQ);
}
/* renamed from: reduceRightOrNull-xzaTVY8, reason: not valid java name */
private static final UShort m6697reduceRightOrNullxzaTVY8(short[] reduceRightOrNull, Function2<? super UShort, ? super UShort, UShort> operation) {
Intrinsics.checkNotNullParameter(reduceRightOrNull, "$this$reduceRightOrNull");
Intrinsics.checkNotNullParameter(operation, "operation");
int lastIndex = ArraysKt.getLastIndex(reduceRightOrNull);
if (lastIndex < 0) {
return null;
}
short m6037getMh2AYeg = UShortArray.m6037getMh2AYeg(reduceRightOrNull, lastIndex);
for (int i = lastIndex - 1; i >= 0; i--) {
m6037getMh2AYeg = operation.invoke(UShort.m5973boximpl(UShortArray.m6037getMh2AYeg(reduceRightOrNull, i)), UShort.m5973boximpl(m6037getMh2AYeg)).getData();
}
return UShort.m5973boximpl(m6037getMh2AYeg);
}
}