apkfuckery/com.discord/smali_classes2/d0/w$a.smali
2020-04-11 17:34:05 +02:00

149 lines
2.9 KiB
Smali

.class public final Ld0/w$a;
.super Ljava/lang/Object;
.source "Protocol.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ld0/w;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public synthetic 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;)Ld0/w;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-eqz p1, :cond_6
sget-object v0, Ld0/w;->d:Ld0/w;
iget-object v0, v0, Ld0/w;->protocol:Ljava/lang/String;
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
sget-object p1, Ld0/w;->d:Ld0/w;
goto :goto_0
:cond_0
sget-object v0, Ld0/w;->e:Ld0/w;
iget-object v0, v0, Ld0/w;->protocol:Ljava/lang/String;
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
sget-object p1, Ld0/w;->e:Ld0/w;
goto :goto_0
:cond_1
sget-object v0, Ld0/w;->h:Ld0/w;
iget-object v0, v0, Ld0/w;->protocol:Ljava/lang/String;
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_2
sget-object p1, Ld0/w;->h:Ld0/w;
goto :goto_0
:cond_2
sget-object v0, Ld0/w;->g:Ld0/w;
iget-object v0, v0, Ld0/w;->protocol:Ljava/lang/String;
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_3
sget-object p1, Ld0/w;->g:Ld0/w;
goto :goto_0
:cond_3
sget-object v0, Ld0/w;->f:Ld0/w;
iget-object v0, v0, Ld0/w;->protocol:Ljava/lang/String;
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_4
sget-object p1, Ld0/w;->f:Ld0/w;
goto :goto_0
:cond_4
sget-object v0, Ld0/w;->i:Ld0/w;
iget-object v0, v0, Ld0/w;->protocol:Ljava/lang/String;
invoke-static {p1, v0}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_5
sget-object p1, Ld0/w;->i:Ld0/w;
:goto_0
return-object p1
:cond_5
new-instance v0, Ljava/io/IOException;
const-string v1, "Unexpected protocol: "
invoke-static {v1, p1}, Lf/e/b/a/a;->a(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}, Lz/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method