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

138 lines
2.3 KiB
Smali
Raw Normal View History

2020-09-29 21:44:44 +00:00
.class public final Lg0/b$a;
2020-09-02 04:07:20 +00:00
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-29 21:44:44 +00:00
value = Lg0/b;
2020-09-02 04:07:20 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-09-29 21:44:44 +00:00
.method public final a()Lg0/b;
2020-09-02 04:07:20 +00:00
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
2020-09-29 21:44:44 +00:00
const-class v0, Lg0/b;
2020-09-02 04:07:20 +00:00
2020-09-29 21:44:44 +00:00
sget-object v1, Lg0/b;->j:Lg0/b;
2020-09-02 04:07:20 +00:00
const/4 v2, 0x0
if-eqz v1, :cond_5
2020-09-29 21:44:44 +00:00
iget-object v1, v1, Lg0/b;->f:Lg0/b;
2020-09-02 04:07:20 +00:00
if-nez v1, :cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
2020-09-29 21:44:44 +00:00
sget-wide v5, Lg0/b;->h:J
2020-09-02 04:07:20 +00:00
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
2020-09-29 21:44:44 +00:00
sget-object v0, Lg0/b;->j:Lg0/b;
2020-09-02 04:07:20 +00:00
if-eqz v0, :cond_1
2020-09-29 21:44:44 +00:00
iget-object v0, v0, Lg0/b;->f:Lg0/b;
2020-09-02 04:07:20 +00:00
if-nez v0, :cond_0
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
sub-long/2addr v0, v3
2020-09-29 21:44:44 +00:00
sget-wide v3, Lg0/b;->i:J
2020-09-02 04:07:20 +00:00
cmp-long v5, v0, v3
if-ltz v5, :cond_0
2020-09-29 21:44:44 +00:00
sget-object v2, Lg0/b;->j:Lg0/b;
2020-09-02 04:07:20 +00:00
:cond_0
return-object v2
:cond_1
2020-09-29 21:44:44 +00:00
invoke-static {}, Lb0/n/c/j;->throwNpe()V
2020-09-02 04:07:20 +00:00
throw v2
:cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
2020-09-29 21:44:44 +00:00
iget-wide v5, v1, Lg0/b;->g:J
2020-09-02 04:07:20 +00:00
sub-long/2addr v5, v3
const-wide/16 v3, 0x0
cmp-long v7, v5, v3
if-lez v7, :cond_3
const-wide/32 v3, 0xf4240
div-long v7, v5, v3
mul-long v3, v3, v7
sub-long/2addr v5, v3
long-to-int v1, v5
invoke-virtual {v0, v7, v8, v1}, Ljava/lang/Object;->wait(JI)V
return-object v2
:cond_3
2020-09-29 21:44:44 +00:00
sget-object v0, Lg0/b;->j:Lg0/b;
2020-09-02 04:07:20 +00:00
if-eqz v0, :cond_4
2020-09-29 21:44:44 +00:00
iget-object v3, v1, Lg0/b;->f:Lg0/b;
2020-09-02 04:07:20 +00:00
2020-09-29 21:44:44 +00:00
iput-object v3, v0, Lg0/b;->f:Lg0/b;
2020-09-02 04:07:20 +00:00
2020-09-29 21:44:44 +00:00
iput-object v2, v1, Lg0/b;->f:Lg0/b;
2020-09-02 04:07:20 +00:00
return-object v1
:cond_4
2020-09-29 21:44:44 +00:00
invoke-static {}, Lb0/n/c/j;->throwNpe()V
2020-09-02 04:07:20 +00:00
throw v2
:cond_5
2020-09-29 21:44:44 +00:00
invoke-static {}, Lb0/n/c/j;->throwNpe()V
2020-09-02 04:07:20 +00:00
throw v2
.end method