apkfuckery/com.discord/smali_classes2/o0/b$a.smali
2020-07-20 19:00:44 +00:00

137 lines
2.3 KiB
Smali

.class public final Lo0/b$a;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lo0/b;
.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
.method public final a()Lo0/b;
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
const-class v0, Lo0/b;
sget-object v1, Lo0/b;->j:Lo0/b;
const/4 v2, 0x0
if-eqz v1, :cond_5
iget-object v1, v1, Lo0/b;->f:Lo0/b;
if-nez v1, :cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
sget-wide v5, Lo0/b;->h:J
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
sget-object v0, Lo0/b;->j:Lo0/b;
if-eqz v0, :cond_1
iget-object v0, v0, Lo0/b;->f:Lo0/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, Lo0/b;->i:J
cmp-long v5, v0, v3
if-ltz v5, :cond_0
sget-object v2, Lo0/b;->j:Lo0/b;
:cond_0
return-object v2
:cond_1
invoke-static {}, Lj0/o/c/h;->throwNpe()V
throw v2
:cond_2
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v3
iget-wide v5, v1, Lo0/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, Lo0/b;->j:Lo0/b;
if-eqz v0, :cond_4
iget-object v3, v1, Lo0/b;->f:Lo0/b;
iput-object v3, v0, Lo0/b;->f:Lo0/b;
iput-object v2, v1, Lo0/b;->f:Lo0/b;
return-object v1
:cond_4
invoke-static {}, Lj0/o/c/h;->throwNpe()V
throw v2
:cond_5
invoke-static {}, Lj0/o/c/h;->throwNpe()V
throw v2
.end method