apkfuckery/com.discord/smali_classes2/g0/k$a.smali

121 lines
2.1 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public final Lg0/k$a;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "CipherSuite.kt"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-10-05 23:18:16 +00:00
value = Lg0/k;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Ljava/lang/String;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 6
check-cast p1, Ljava/lang/String;
check-cast p2, Ljava/lang/String;
2020-09-16 23:45:23 +00:00
const-string v0, "a"
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "b"
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p2, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Ljava/lang/String;->length()I
2020-09-16 23:45:23 +00:00
move-result v0
2020-05-17 12:40:10 +00:00
invoke-virtual {p2}, Ljava/lang/String;->length()I
2020-09-16 23:45:23 +00:00
move-result v1
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
move-result v0
const/4 v1, 0x4
2020-05-17 12:40:10 +00:00
:goto_0
const/4 v2, -0x1
const/4 v3, 0x1
2020-09-16 23:45:23 +00:00
if-ge v1, v0, :cond_2
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C
2020-05-17 12:40:10 +00:00
move-result v4
2020-09-16 23:45:23 +00:00
invoke-virtual {p2, v1}, Ljava/lang/String;->charAt(I)C
2020-05-17 12:40:10 +00:00
move-result v5
if-eq v4, v5, :cond_1
if-ge v4, v5, :cond_0
goto :goto_1
:cond_0
const/4 v2, 0x1
goto :goto_1
:cond_1
2020-09-16 23:45:23 +00:00
add-int/lit8 v1, v1, 0x1
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_2
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p1
invoke-virtual {p2}, Ljava/lang/String;->length()I
move-result p2
if-eq p1, p2, :cond_3
if-ge p1, p2, :cond_0
goto :goto_1
:cond_3
const/4 v2, 0x0
:goto_1
return v2
.end method