apkfuckery/com.discord/smali_classes2/h0/d.smali
2020-10-05 23:18:16 +00:00

207 lines
3.8 KiB
Smali

.class public final Lh0/d;
.super Ljava/lang/Object;
.source "AsyncTimeout.kt"
# interfaces
.implements Lh0/x;
# instance fields
.field public final synthetic d:Lh0/b;
.field public final synthetic e:Lh0/x;
# direct methods
.method public constructor <init>(Lh0/b;Lh0/x;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lh0/x;",
")V"
}
.end annotation
iput-object p1, p0, Lh0/d;->d:Lh0/b;
iput-object p2, p0, Lh0/d;->e:Lh0/x;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public G0(Lh0/e;J)J
.locals 2
const-string v0, "sink"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lh0/d;->d:Lh0/b;
invoke-virtual {v0}, Lh0/b;->i()V
:try_start_0
iget-object v1, p0, Lh0/d;->e:Lh0/x;
invoke-interface {v1, p1, p2, p3}, Lh0/x;->G0(Lh0/e;J)J
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
invoke-virtual {v0}, Lh0/b;->j()Z
move-result p3
if-nez p3, :cond_0
return-wide p1
:cond_0
const/4 p1, 0x0
invoke-virtual {v0, p1}, Lh0/b;->k(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object p1
throw p1
:catchall_0
move-exception p1
goto :goto_1
:catch_0
move-exception p1
:try_start_1
invoke-virtual {v0}, Lh0/b;->j()Z
move-result p2
if-nez p2, :cond_1
goto :goto_0
:cond_1
invoke-virtual {v0, p1}, Lh0/b;->k(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object p1
:goto_0
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_1
invoke-virtual {v0}, Lh0/b;->j()Z
move-result p2
throw p1
.end method
.method public close()V
.locals 3
iget-object v0, p0, Lh0/d;->d:Lh0/b;
invoke-virtual {v0}, Lh0/b;->i()V
:try_start_0
iget-object v1, p0, Lh0/d;->e:Lh0/x;
invoke-interface {v1}, Lh0/x;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v0}, Lh0/b;->j()Z
move-result v1
if-nez v1, :cond_0
return-void
:cond_0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lh0/b;->k(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
:catchall_0
move-exception v1
goto :goto_1
:catch_0
move-exception v1
:try_start_1
invoke-virtual {v0}, Lh0/b;->j()Z
move-result v2
if-nez v2, :cond_1
goto :goto_0
:cond_1
invoke-virtual {v0, v1}, Lh0/b;->k(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v1
:goto_0
throw v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_1
invoke-virtual {v0}, Lh0/b;->j()Z
move-result v0
throw v1
.end method
.method public timeout()Lh0/y;
.locals 1
iget-object v0, p0, Lh0/d;->d:Lh0/b;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "AsyncTimeout.source("
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lh0/d;->e:Lh0/x;
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