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

322 lines
7.8 KiB
Smali

.class public final Lkotlin/Pair;
.super Ljava/lang/Object;
.source "Tuples.kt"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<A:",
"Ljava/lang/Object;",
"B:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/io/Serializable;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000,\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u000c\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000e\n\u0000\u0008\u0086\u0008\u0018\u0000*\u0006\u0008\u0000\u0010\u0001 \u0001*\u0006\u0008\u0001\u0010\u0002 \u00012\u00060\u0003j\u0002`\u0004B\u0015\u0012\u0006\u0010\u0005\u001a\u00028\u0000\u0012\u0006\u0010\u0006\u001a\u00028\u0001\u00a2\u0006\u0002\u0010\u0007J\u000e\u0010\u000c\u001a\u00028\u0000H\u00c6\u0003\u00a2\u0006\u0002\u0010\tJ\u000e\u0010\r\u001a\u00028\u0001H\u00c6\u0003\u00a2\u0006\u0002\u0010\tJ.\u0010\u000e\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u00002\u0008\u0008\u0002\u0010\u0005\u001a\u00028\u00002\u0008\u0008\u0002\u0010\u0006\u001a\u00028\u0001H\u00c6\u0001\u00a2\u0006\u0002\u0010\u000fJ\u0013\u0010\u0010\u001a\u00020\u00112\u0008\u0010\u0012\u001a\u0004\u0018\u00010\u0013H\u00d6\u0003J\t\u0010\u0014\u001a\u00020\u0015H\u00d6\u0001J\u0008\u0010\u0016\u001a\u00020\u0017H\u0016R\u0013\u0010\u0005\u001a\u00028\u0000\u00a2\u0006\n\n\u0002\u0010\n\u001a\u0004\u0008\u0008\u0010\tR\u0013\u0010\u0006\u001a\u00028\u0001\u00a2\u0006\n\n\u0002\u0010\n\u001a\u0004\u0008\u000b\u0010\t\u00a8\u0006\u0018"
}
d2 = {
"Lkotlin/Pair;",
"A",
"B",
"Ljava/io/Serializable;",
"Lkotlin/io/Serializable;",
"first",
"second",
"(Ljava/lang/Object;Ljava/lang/Object;)V",
"getFirst",
"()Ljava/lang/Object;",
"Ljava/lang/Object;",
"getSecond",
"component1",
"component2",
"copy",
"(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;",
"equals",
"",
"other",
"",
"hashCode",
"",
"toString",
"",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final first:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
.field private final second:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TB;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TA;TB;)V"
}
.end annotation
.line 26
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
iput-object p2, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
return-void
.end method
.method public static synthetic copy$default(Lkotlin/Pair;Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;)Lkotlin/Pair;
.locals 0
and-int/lit8 p4, p3, 0x1
if-eqz p4, :cond_0
iget-object p1, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
:cond_0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_1
iget-object p2, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
:cond_1
invoke-virtual {p0, p1, p2}, Lkotlin/Pair;->copy(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TA;"
}
.end annotation
iget-object p0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
return-object p0
.end method
.method public final component2()Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TB;"
}
.end annotation
iget-object p0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
return-object p0
.end method
.method public final copy(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TA;TB;)",
"Lkotlin/Pair<",
"TA;TB;>;"
}
.end annotation
new-instance p0, Lkotlin/Pair;
invoke-direct {p0, p1, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
instance-of v1, p1, Lkotlin/Pair;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
check-cast p1, Lkotlin/Pair;
iget-object v1, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
iget-object v3, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2
return v2
:cond_2
iget-object p0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
iget-object p1, p1, Lkotlin/Pair;->second:Ljava/lang/Object;
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_3
return v2
:cond_3
return v0
.end method
.method public final getFirst()Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TA;"
}
.end annotation
iget-object p0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
return-object p0
.end method
.method public final getSecond()Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TB;"
}
.end annotation
iget-object p0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
return-object p0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
const/4 v1, 0x0
if-nez v0, :cond_0
move v0, v1
goto :goto_0
:cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
:goto_0
mul-int/lit8 v0, v0, 0x1f
iget-object p0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
if-nez p0, :cond_1
goto :goto_1
:cond_1
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result v1
:goto_1
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 34
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "("
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object p0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
const/16 v0, 0x29
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method