apkfuckery/com.discord/smali/f/d/a/o$a.smali
2020-04-17 19:35:24 +02:00

77 lines
1.4 KiB
Smali

.class public Lf/d/a/o$a;
.super Ljava/lang/Object;
.source "PerformanceTracker.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/d/a/o;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Landroidx/core/util/Pair<",
"Ljava/lang/String;",
"Ljava/lang/Float;",
">;>;"
}
.end annotation
# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
check-cast p1, Landroidx/core/util/Pair;
check-cast p2, Landroidx/core/util/Pair;
iget-object p1, p1, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
check-cast p1, Ljava/lang/Float;
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
move-result p1
iget-object p2, p2, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
check-cast p2, Ljava/lang/Float;
invoke-virtual {p2}, Ljava/lang/Float;->floatValue()F
move-result p2
cmpl-float v0, p2, p1
if-lez v0, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
cmpl-float p1, p1, p2
if-lez p1, :cond_1
const/4 p1, -0x1
goto :goto_0
:cond_1
const/4 p1, 0x0
:goto_0
return p1
.end method