apkfuckery/com.discord/smali_classes2/n0/y$a.smali
2020-07-25 00:57:58 +00:00

147 lines
2.8 KiB
Smali

.class public final Ln0/y$a;
.super Ljava/lang/Object;
.source "Protocol.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ln0/y;
.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(Ljava/lang/String;)Ln0/y;
.locals 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Ln0/y;->i:Ln0/y;
sget-object v1, Ln0/y;->f:Ln0/y;
sget-object v2, Ln0/y;->g:Ln0/y;
sget-object v3, Ln0/y;->h:Ln0/y;
sget-object v4, Ln0/y;->e:Ln0/y;
sget-object v5, Ln0/y;->d:Ln0/y;
if-eqz p1, :cond_6
iget-object v6, v5, Ln0/y;->protocol:Ljava/lang/String;
invoke-static {p1, v6}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_0
move-object v0, v5
goto :goto_0
:cond_0
iget-object v5, v4, Ln0/y;->protocol:Ljava/lang/String;
invoke-static {p1, v5}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v5
if-eqz v5, :cond_1
move-object v0, v4
goto :goto_0
:cond_1
iget-object v4, v3, Ln0/y;->protocol:Ljava/lang/String;
invoke-static {p1, v4}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_2
move-object v0, v3
goto :goto_0
:cond_2
iget-object v3, v2, Ln0/y;->protocol:Ljava/lang/String;
invoke-static {p1, v3}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_3
move-object v0, v2
goto :goto_0
:cond_3
iget-object v2, v1, Ln0/y;->protocol:Ljava/lang/String;
invoke-static {p1, v2}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_4
move-object v0, v1
goto :goto_0
:cond_4
iget-object v1, v0, Ln0/y;->protocol:Ljava/lang/String;
invoke-static {p1, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
:goto_0
return-object v0
:cond_5
new-instance v0, Ljava/io/IOException;
const-string v1, "Unexpected protocol: "
invoke-static {v1, p1}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:cond_6
const-string p1, "protocol"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method