apkfuckery/com.discord/smali_classes2/c0/z$a.smali
2020-11-16 22:05:17 +00:00

142 lines
2.8 KiB
Smali

.class public final Lc0/z$a;
.super Ljava/lang/Object;
.source "Protocol.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lc0/z;
.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;)Lc0/z;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "protocol"
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lc0/z;->d:Lc0/z;
invoke-static {v0}, Lc0/z;->f(Lc0/z;)Ljava/lang/String;
move-result-object v1
invoke-static {p1, v1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
:cond_0
sget-object v0, Lc0/z;->e:Lc0/z;
invoke-static {v0}, Lc0/z;->f(Lc0/z;)Ljava/lang/String;
move-result-object v1
invoke-static {p1, v1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
goto :goto_0
:cond_1
sget-object v0, Lc0/z;->h:Lc0/z;
invoke-static {v0}, Lc0/z;->f(Lc0/z;)Ljava/lang/String;
move-result-object v1
invoke-static {p1, v1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
goto :goto_0
:cond_2
sget-object v0, Lc0/z;->g:Lc0/z;
invoke-static {v0}, Lc0/z;->f(Lc0/z;)Ljava/lang/String;
move-result-object v1
invoke-static {p1, v1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
goto :goto_0
:cond_3
sget-object v0, Lc0/z;->f:Lc0/z;
invoke-static {v0}, Lc0/z;->f(Lc0/z;)Ljava/lang/String;
move-result-object v1
invoke-static {p1, v1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_4
goto :goto_0
:cond_4
sget-object v0, Lc0/z;->i:Lc0/z;
invoke-static {v0}, Lc0/z;->f(Lc0/z;)Ljava/lang/String;
move-result-object v1
invoke-static {p1, v1}, Ly/m/c/j;->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/c/a/a;->r(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
.end method