Rabbit-R1/switch port/smali/smali_classes3/kotlin/collections/ArraysKt__ArraysKt.smali
2024-05-21 17:08:36 -04:00

1083 lines
24 KiB
Smali

.class Lkotlin/collections/ArraysKt__ArraysKt;
.super Lkotlin/collections/ArraysKt__ArraysJVMKt;
.source "Arrays.kt"
# annotations
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nArrays.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Arrays.kt\nkotlin/collections/ArraysKt__ArraysKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,161:1\n1#2:162\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000H\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0011\n\u0002\u0008\u0004\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010!\n\u0002\u0008\u0003\n\u0002\u0010 \n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u001a5\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u000c\u0012\u0006\u0008\u0001\u0012\u0002H\u0002\u0018\u00010\u00032\u0010\u0010\u0004\u001a\u000c\u0012\u0006\u0008\u0001\u0012\u0002H\u0002\u0018\u00010\u0003H\u0001\u00a2\u0006\u0004\u0008\u0005\u0010\u0006\u001a#\u0010\u0007\u001a\u00020\u0008\"\u0004\u0008\u0000\u0010\u0002*\u000c\u0012\u0006\u0008\u0001\u0012\u0002H\u0002\u0018\u00010\u0003H\u0001\u00a2\u0006\u0004\u0008\t\u0010\n\u001a?\u0010\u000b\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00032\n\u0010\r\u001a\u00060\u000ej\u0002`\u000f2\u0010\u0010\u0010\u001a\u000c\u0012\u0008\u0012\u0006\u0012\u0002\u0008\u00030\u00030\u0011H\u0002\u00a2\u0006\u0004\u0008\u0012\u0010\u0013\u001a+\u0010\u0014\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0015\"\u0004\u0008\u0000\u0010\u0002*\u0012\u0012\u000e\u0008\u0001\u0012\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00030\u0003\u00a2\u0006\u0002\u0010\u0016\u001a;\u0010\u0017\u001a\u0002H\u0018\"\u0010\u0008\u0000\u0010\u0019*\u0006\u0012\u0002\u0008\u00030\u0003*\u0002H\u0018\"\u0004\u0008\u0001\u0010\u0018*\u0002H\u00192\u000c\u0010\u001a\u001a\u0008\u0012\u0004\u0012\u0002H\u00180\u001bH\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u001c\u001a)\u0010\u001d\u001a\u00020\u0001*\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u0003H\u0087\u0008\u0082\u0002\u000e\n\u000c\u0008\u0000\u0012\u0002\u0018\u0001\u001a\u0004\u0008\u0003\u0010\u0000\u00a2\u0006\u0002\u0010\u001e\u001aG\u0010\u001f\u001a\u001a\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u00020\u0015\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u00180\u00150 \"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0018*\u0016\u0012\u0012\u0008\u0001\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00180 0\u0003\u00a2\u0006\u0002\u0010!\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\""
}
d2 = {
"contentDeepEqualsImpl",
"",
"T",
"",
"other",
"contentDeepEquals",
"([Ljava/lang/Object;[Ljava/lang/Object;)Z",
"contentDeepToStringImpl",
"",
"contentDeepToString",
"([Ljava/lang/Object;)Ljava/lang/String;",
"contentDeepToStringInternal",
"",
"result",
"Ljava/lang/StringBuilder;",
"Lkotlin/text/StringBuilder;",
"processed",
"",
"contentDeepToStringInternal$ArraysKt__ArraysKt",
"([Ljava/lang/Object;Ljava/lang/StringBuilder;Ljava/util/List;)V",
"flatten",
"",
"([[Ljava/lang/Object;)Ljava/util/List;",
"ifEmpty",
"R",
"C",
"defaultValue",
"Lkotlin/Function0;",
"([Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;",
"isNullOrEmpty",
"([Ljava/lang/Object;)Z",
"unzip",
"Lkotlin/Pair;",
"([Lkotlin/Pair;)Lkotlin/Pair;",
"kotlin-stdlib"
}
k = 0x5
mv = {
0x1,
0x9,
0x0
}
xi = 0x31
xs = "kotlin/collections/ArraysKt"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/collections/ArraysKt__ArraysJVMKt;-><init>()V
return-void
.end method
.method public static final contentDeepEquals([Ljava/lang/Object;[Ljava/lang/Object;)Z
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;[TT;)Z"
}
.end annotation
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-eqz p0, :cond_14
if-eqz p1, :cond_14
.line 77
array-length v2, p0
array-length v3, p1
if-eq v2, v3, :cond_1
goto/16 :goto_3
.line 79
:cond_1
array-length v2, p0
move v3, v1
:goto_0
if-ge v3, v2, :cond_13
.line 80
aget-object v4, p0, v3
.line 81
aget-object v5, p1, v3
if-ne v4, v5, :cond_2
goto/16 :goto_1
:cond_2
if-eqz v4, :cond_12
if-nez v5, :cond_3
goto/16 :goto_2
.line 90
:cond_3
instance-of v6, v4, [Ljava/lang/Object;
if-eqz v6, :cond_4
instance-of v6, v5, [Ljava/lang/Object;
if-eqz v6, :cond_4
check-cast v4, [Ljava/lang/Object;
check-cast v5, [Ljava/lang/Object;
invoke-static {v4, v5}, Lkotlin/collections/ArraysKt;->contentDeepEquals([Ljava/lang/Object;[Ljava/lang/Object;)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 91
:cond_4
instance-of v6, v4, [B
if-eqz v6, :cond_5
instance-of v6, v5, [B
if-eqz v6, :cond_5
check-cast v4, [B
check-cast v5, [B
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([B[B)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 92
:cond_5
instance-of v6, v4, [S
if-eqz v6, :cond_6
instance-of v6, v5, [S
if-eqz v6, :cond_6
check-cast v4, [S
check-cast v5, [S
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([S[S)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 93
:cond_6
instance-of v6, v4, [I
if-eqz v6, :cond_7
instance-of v6, v5, [I
if-eqz v6, :cond_7
check-cast v4, [I
check-cast v5, [I
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([I[I)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 94
:cond_7
instance-of v6, v4, [J
if-eqz v6, :cond_8
instance-of v6, v5, [J
if-eqz v6, :cond_8
check-cast v4, [J
check-cast v5, [J
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([J[J)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 95
:cond_8
instance-of v6, v4, [F
if-eqz v6, :cond_9
instance-of v6, v5, [F
if-eqz v6, :cond_9
check-cast v4, [F
check-cast v5, [F
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([F[F)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 96
:cond_9
instance-of v6, v4, [D
if-eqz v6, :cond_a
instance-of v6, v5, [D
if-eqz v6, :cond_a
check-cast v4, [D
check-cast v5, [D
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([D[D)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 97
:cond_a
instance-of v6, v4, [C
if-eqz v6, :cond_b
instance-of v6, v5, [C
if-eqz v6, :cond_b
check-cast v4, [C
check-cast v5, [C
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([C[C)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 98
:cond_b
instance-of v6, v4, [Z
if-eqz v6, :cond_c
instance-of v6, v5, [Z
if-eqz v6, :cond_c
check-cast v4, [Z
check-cast v5, [Z
invoke-static {v4, v5}, Ljava/util/Arrays;->equals([Z[Z)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 100
:cond_c
instance-of v6, v4, Lkotlin/UByteArray;
if-eqz v6, :cond_d
instance-of v6, v5, Lkotlin/UByteArray;
if-eqz v6, :cond_d
check-cast v4, Lkotlin/UByteArray;
invoke-virtual {v4}, Lkotlin/UByteArray;->unbox-impl()[B
move-result-object v4
check-cast v5, Lkotlin/UByteArray;
invoke-virtual {v5}, Lkotlin/UByteArray;->unbox-impl()[B
move-result-object v5
invoke-static {v4, v5}, Lkotlin/collections/unsigned/UArraysKt;->contentEquals-kV0jMPg([B[B)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 101
:cond_d
instance-of v6, v4, Lkotlin/UShortArray;
if-eqz v6, :cond_e
instance-of v6, v5, Lkotlin/UShortArray;
if-eqz v6, :cond_e
check-cast v4, Lkotlin/UShortArray;
invoke-virtual {v4}, Lkotlin/UShortArray;->unbox-impl()[S
move-result-object v4
check-cast v5, Lkotlin/UShortArray;
invoke-virtual {v5}, Lkotlin/UShortArray;->unbox-impl()[S
move-result-object v5
invoke-static {v4, v5}, Lkotlin/collections/unsigned/UArraysKt;->contentEquals-FGO6Aew([S[S)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 102
:cond_e
instance-of v6, v4, Lkotlin/UIntArray;
if-eqz v6, :cond_f
instance-of v6, v5, Lkotlin/UIntArray;
if-eqz v6, :cond_f
check-cast v4, Lkotlin/UIntArray;
invoke-virtual {v4}, Lkotlin/UIntArray;->unbox-impl()[I
move-result-object v4
check-cast v5, Lkotlin/UIntArray;
invoke-virtual {v5}, Lkotlin/UIntArray;->unbox-impl()[I
move-result-object v5
invoke-static {v4, v5}, Lkotlin/collections/unsigned/UArraysKt;->contentEquals-KJPZfPQ([I[I)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 103
:cond_f
instance-of v6, v4, Lkotlin/ULongArray;
if-eqz v6, :cond_10
instance-of v6, v5, Lkotlin/ULongArray;
if-eqz v6, :cond_10
check-cast v4, Lkotlin/ULongArray;
invoke-virtual {v4}, Lkotlin/ULongArray;->unbox-impl()[J
move-result-object v4
check-cast v5, Lkotlin/ULongArray;
invoke-virtual {v5}, Lkotlin/ULongArray;->unbox-impl()[J
move-result-object v5
invoke-static {v4, v5}, Lkotlin/collections/unsigned/UArraysKt;->contentEquals-lec5QzE([J[J)Z
move-result v4
if-nez v4, :cond_11
return v1
.line 105
:cond_10
invoke-static {v4, v5}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v4
if-nez v4, :cond_11
return v1
:cond_11
:goto_1
add-int/lit8 v3, v3, 0x1
goto/16 :goto_0
:cond_12
:goto_2
return v1
:cond_13
return v0
:cond_14
:goto_3
return v1
.end method
.method public static final contentDeepToString([Ljava/lang/Object;)Ljava/lang/String;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Ljava/lang/String;"
}
.end annotation
if-nez p0, :cond_0
const-string p0, "null"
return-object p0
.line 118
:cond_0
array-length v0, p0
const v1, 0x19999999
invoke-static {v0, v1}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result v0
mul-int/lit8 v0, v0, 0x5
add-int/lit8 v0, v0, 0x2
.line 119
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1, v0}, Ljava/lang/StringBuilder;-><init>(I)V
.line 120
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/List;
invoke-static {p0, v1, v0}, Lkotlin/collections/ArraysKt__ArraysKt;->contentDeepToStringInternal$ArraysKt__ArraysKt([Ljava/lang/Object;Ljava/lang/StringBuilder;Ljava/util/List;)V
.line 119
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
const-string v0, "toString(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method private static final contentDeepToStringInternal$ArraysKt__ArraysKt([Ljava/lang/Object;Ljava/lang/StringBuilder;Ljava/util/List;)V
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;",
"Ljava/lang/StringBuilder;",
"Ljava/util/List<",
"[",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.line 126
invoke-interface {p2, p0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const-string p0, "[...]"
.line 127
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
return-void
.line 130
:cond_0
invoke-interface {p2, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
const/16 v0, 0x5b
.line 131
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
.line 133
array-length v0, p0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_14
if-eqz v1, :cond_1
const-string v2, ", "
.line 135
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 137
:cond_1
aget-object v2, p0, v1
if-nez v2, :cond_2
const-string v2, "null"
.line 139
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_1
.line 140
:cond_2
instance-of v3, v2, [Ljava/lang/Object;
if-eqz v3, :cond_3
check-cast v2, [Ljava/lang/Object;
invoke-static {v2, p1, p2}, Lkotlin/collections/ArraysKt__ArraysKt;->contentDeepToStringInternal$ArraysKt__ArraysKt([Ljava/lang/Object;Ljava/lang/StringBuilder;Ljava/util/List;)V
goto/16 :goto_1
.line 141
:cond_3
instance-of v3, v2, [B
const-string v4, "toString(...)"
if-eqz v3, :cond_4
check-cast v2, [B
invoke-static {v2}, Ljava/util/Arrays;->toString([B)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_1
.line 142
:cond_4
instance-of v3, v2, [S
if-eqz v3, :cond_5
check-cast v2, [S
invoke-static {v2}, Ljava/util/Arrays;->toString([S)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_1
.line 143
:cond_5
instance-of v3, v2, [I
if-eqz v3, :cond_6
check-cast v2, [I
invoke-static {v2}, Ljava/util/Arrays;->toString([I)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_1
.line 144
:cond_6
instance-of v3, v2, [J
if-eqz v3, :cond_7
check-cast v2, [J
invoke-static {v2}, Ljava/util/Arrays;->toString([J)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_1
.line 145
:cond_7
instance-of v3, v2, [F
if-eqz v3, :cond_8
check-cast v2, [F
invoke-static {v2}, Ljava/util/Arrays;->toString([F)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_1
.line 146
:cond_8
instance-of v3, v2, [D
if-eqz v3, :cond_9
check-cast v2, [D
invoke-static {v2}, Ljava/util/Arrays;->toString([D)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto/16 :goto_1
.line 147
:cond_9
instance-of v3, v2, [C
if-eqz v3, :cond_a
check-cast v2, [C
invoke-static {v2}, Ljava/util/Arrays;->toString([C)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_1
.line 148
:cond_a
instance-of v3, v2, [Z
if-eqz v3, :cond_b
check-cast v2, [Z
invoke-static {v2}, Ljava/util/Arrays;->toString([Z)Ljava/lang/String;
move-result-object v2
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_1
.line 150
:cond_b
instance-of v3, v2, Lkotlin/UByteArray;
const/4 v4, 0x0
if-eqz v3, :cond_d
check-cast v2, Lkotlin/UByteArray;
if-eqz v2, :cond_c
invoke-virtual {v2}, Lkotlin/UByteArray;->unbox-impl()[B
move-result-object v4
:cond_c
invoke-static {v4}, Lkotlin/collections/unsigned/UArraysKt;->contentToString-2csIQuQ([B)Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_1
.line 151
:cond_d
instance-of v3, v2, Lkotlin/UShortArray;
if-eqz v3, :cond_f
check-cast v2, Lkotlin/UShortArray;
if-eqz v2, :cond_e
invoke-virtual {v2}, Lkotlin/UShortArray;->unbox-impl()[S
move-result-object v4
:cond_e
invoke-static {v4}, Lkotlin/collections/unsigned/UArraysKt;->contentToString-d-6D3K8([S)Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_1
.line 152
:cond_f
instance-of v3, v2, Lkotlin/UIntArray;
if-eqz v3, :cond_11
check-cast v2, Lkotlin/UIntArray;
if-eqz v2, :cond_10
invoke-virtual {v2}, Lkotlin/UIntArray;->unbox-impl()[I
move-result-object v4
:cond_10
invoke-static {v4}, Lkotlin/collections/unsigned/UArraysKt;->contentToString-XUkPCBk([I)Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_1
.line 153
:cond_11
instance-of v3, v2, Lkotlin/ULongArray;
if-eqz v3, :cond_13
check-cast v2, Lkotlin/ULongArray;
if-eqz v2, :cond_12
invoke-virtual {v2}, Lkotlin/ULongArray;->unbox-impl()[J
move-result-object v4
:cond_12
invoke-static {v4}, Lkotlin/collections/unsigned/UArraysKt;->contentToString-uLth9ew([J)Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_1
.line 155
:cond_13
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:goto_1
add-int/lit8 v1, v1, 0x1
goto/16 :goto_0
:cond_14
const/16 p0, 0x5d
.line 159
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
.line 160
invoke-static {p2}, Lkotlin/collections/CollectionsKt;->getLastIndex(Ljava/util/List;)I
move-result p0
invoke-interface {p2, p0}, Ljava/util/List;->remove(I)Ljava/lang/Object;
return-void
.end method
.method public static final flatten([[Ljava/lang/Object;)Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([[TT;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 20
move-object v0, p0
check-cast v0, [Ljava/lang/Object;
array-length v1, v0
const/4 v2, 0x0
move v3, v2
move v4, v3
:goto_0
if-ge v3, v1, :cond_0
aget-object v5, v0, v3
check-cast v5, [Ljava/lang/Object;
array-length v5, v5
add-int/2addr v4, v5
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_0
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1, v4}, Ljava/util/ArrayList;-><init>(I)V
.line 21
array-length v0, v0
:goto_1
if-ge v2, v0, :cond_1
aget-object v3, p0, v2
.line 22
move-object v4, v1
check-cast v4, Ljava/util/Collection;
invoke-static {v4, v3}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_1
.line 24
:cond_1
check-cast v1, Ljava/util/List;
return-object v1
.end method
.method private static final ifEmpty([Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<C:[",
"Ljava/lang/Object;",
":TR;R:",
"Ljava/lang/Object;",
">(TC;",
"Lkotlin/jvm/functions/Function0<",
"+TR;>;)TR;"
}
.end annotation
const-string v0, "defaultValue"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 67
array-length v0, p0
if-nez v0, :cond_0
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
move-result-object p0
:cond_0
return-object p0
.end method
.method private static final isNullOrEmpty([Ljava/lang/Object;)Z
.locals 0
if-eqz p0, :cond_1
.line 54
array-length p0, p0
if-nez p0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p0, 0x1
:goto_1
return p0
.end method
.method public static final unzip([Lkotlin/Pair;)Lkotlin/Pair;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">([",
"Lkotlin/Pair<",
"+TT;+TR;>;)",
"Lkotlin/Pair<",
"Ljava/util/List<",
"TT;>;",
"Ljava/util/List<",
"TR;>;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 34
new-instance v0, Ljava/util/ArrayList;
array-length v1, p0
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
.line 35
new-instance v1, Ljava/util/ArrayList;
array-length v2, p0
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
.line 36
array-length v2, p0
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_0
aget-object v4, p0, v3
.line 37
invoke-virtual {v4}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
move-result-object v5
invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 38
invoke-virtual {v4}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
move-result-object v4
invoke-virtual {v1, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 40
:cond_0
invoke-static {v0, v1}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
move-result-object p0
return-object p0
.end method