apkfuckery/com.discord/smali_classes2/p0/d.smali

185 lines
3.5 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public final Lp0/d;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# interfaces
2020-09-16 21:45:36 +00:00
.implements Lp0/w;
2020-09-02 04:07:20 +00:00
# instance fields
.field public final synthetic d:Lp0/b;
2020-09-16 21:45:36 +00:00
.field public final synthetic e:Lp0/w;
2020-09-02 04:07:20 +00:00
# direct methods
2020-09-16 21:45:36 +00:00
.method public constructor <init>(Lp0/b;Lp0/w;)V
2020-09-02 04:07:20 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-09-16 21:45:36 +00:00
"Lp0/w;",
2020-09-02 04:07:20 +00:00
")V"
}
.end annotation
iput-object p1, p0, Lp0/d;->d:Lp0/b;
2020-09-16 21:45:36 +00:00
iput-object p2, p0, Lp0/d;->e:Lp0/w;
2020-09-02 04:07:20 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-09-16 21:45:36 +00:00
.method public B0(Lp0/e;J)J
2020-09-08 08:16:32 +00:00
.locals 2
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p1, :cond_0
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Lp0/d;->d:Lp0/b;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v1}, Lp0/b;->i()V
2020-09-02 04:07:20 +00:00
:try_start_0
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Lp0/d;->e:Lp0/w;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-interface {v1, p1, p2, p3}, Lp0/w;->B0(Lp0/e;J)J
2020-09-02 04:07:20 +00:00
move-result-wide p1
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-09-16 21:45:36 +00:00
const/4 p3, 0x1
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
iget-object v0, p0, Lp0/d;->d:Lp0/b;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, p3}, Lp0/b;->l(Z)V
2020-09-02 04:07:20 +00:00
return-wide p1
:catchall_0
move-exception p1
2020-09-16 21:45:36 +00:00
goto :goto_0
2020-09-02 04:07:20 +00:00
:catch_0
move-exception p1
:try_start_1
2020-09-16 21:45:36 +00:00
iget-object p2, p0, Lp0/d;->d:Lp0/b;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {p2, p1}, Lp0/b;->k(Ljava/io/IOException;)Ljava/io/IOException;
2020-09-02 04:07:20 +00:00
2020-09-09 19:21:20 +00:00
move-result-object p1
2020-09-08 08:16:32 +00:00
throw p1
2020-09-09 19:21:20 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-09-08 08:16:32 +00:00
2020-09-16 21:45:36 +00:00
:goto_0
iget-object p2, p0, Lp0/d;->d:Lp0/b;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {p2, v0}, Lp0/b;->l(Z)V
throw p1
:cond_0
const-string p1, "sink"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
2020-09-02 04:07:20 +00:00
throw p1
.end method
.method public close()V
.locals 3
iget-object v0, p0, Lp0/d;->d:Lp0/b;
invoke-virtual {v0}, Lp0/b;->i()V
:try_start_0
2020-09-16 21:45:36 +00:00
iget-object v0, p0, Lp0/d;->e:Lp0/w;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-interface {v0}, Lp0/w;->close()V
2020-09-02 04:07:20 +00:00
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-09-16 21:45:36 +00:00
const/4 v0, 0x1
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Lp0/d;->d:Lp0/b;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v1, v0}, Lp0/b;->l(Z)V
2020-09-02 04:07:20 +00:00
return-void
:catchall_0
2020-09-16 21:45:36 +00:00
move-exception v0
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_0
2020-09-02 04:07:20 +00:00
:catch_0
2020-09-16 21:45:36 +00:00
move-exception v0
2020-09-02 04:07:20 +00:00
:try_start_1
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Lp0/d;->d:Lp0/b;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v1, v0}, Lp0/b;->k(Ljava/io/IOException;)Ljava/io/IOException;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v0
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
throw v0
2020-09-09 19:21:20 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
:goto_0
iget-object v1, p0, Lp0/d;->d:Lp0/b;
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
const/4 v2, 0x0
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v1, v2}, Lp0/b;->l(Z)V
throw v0
2020-09-02 04:07:20 +00:00
.end method
2020-09-16 21:45:36 +00:00
.method public timeout()Lp0/x;
2020-09-02 04:07:20 +00:00
.locals 1
iget-object v0, p0, Lp0/d;->d:Lp0/b;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "AsyncTimeout.source("
2020-09-16 21:45:36 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
move-result-object v0
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Lp0/d;->e:Lp0/w;
2020-09-02 04:07:20 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method