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

138 lines
2.3 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Ln0/b$a;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
2020-07-14 22:43:59 +00:00
.source "AsyncTimeout.kt"
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-07-08 16:44:49 +00:00
value = Ln0/b;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
2020-07-14 22:43:59 +00:00
name = "a"
2020-05-17 12:40:10 +00:00
.end annotation
# direct methods
2020-07-14 22:43:59 +00:00
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-05-17 12:40:10 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-07-14 22:43:59 +00:00
.method public final a()Ln0/b;
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
const-class v0, Ln0/b;
sget-object v1, Ln0/b;->j:Ln0/b;
const/4 v2, 0x0
if-eqz v1, :cond_5
iget-object v1, v1, Ln0/b;->f:Ln0/b;
if-nez v1, :cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
sget-wide v5, Ln0/b;->h:J
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
sget-object v0, Ln0/b;->j:Ln0/b;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
if-eqz v0, :cond_1
iget-object v0, v0, Ln0/b;->f:Ln0/b;
if-nez v0, :cond_0
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
sub-long/2addr v0, v3
sget-wide v3, Ln0/b;->i:J
cmp-long v5, v0, v3
if-ltz v5, :cond_0
sget-object v2, Ln0/b;->j:Ln0/b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
2020-07-14 22:43:59 +00:00
return-object v2
:cond_1
invoke-static {}, Li0/n/c/h;->throwNpe()V
throw v2
:cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
iget-wide v5, v1, Ln0/b;->g:J
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
sget-object v0, Ln0/b;->j:Ln0/b;
if-eqz v0, :cond_4
iget-object v3, v1, Ln0/b;->f:Ln0/b;
iput-object v3, v0, Ln0/b;->f:Ln0/b;
iput-object v2, v1, Ln0/b;->f:Ln0/b;
return-object v1
:cond_4
invoke-static {}, Li0/n/c/h;->throwNpe()V
throw v2
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
:cond_5
invoke-static {}, Li0/n/c/h;->throwNpe()V
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
throw v2
2020-05-17 12:40:10 +00:00
.end method