apkfuckery/com.discord/smali_classes2/o0/a0$a.smali
2020-09-18 16:51:32 +00:00

140 lines
2.8 KiB
Smali

.class public final Lo0/a0$a;
.super Ljava/lang/Object;
.source "Protocol.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lo0/a0;
.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;)Lo0/a0;
.locals 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lo0/a0;->i:Lo0/a0;
sget-object v1, Lo0/a0;->f:Lo0/a0;
sget-object v2, Lo0/a0;->g:Lo0/a0;
sget-object v3, Lo0/a0;->h:Lo0/a0;
sget-object v4, Lo0/a0;->e:Lo0/a0;
sget-object v5, Lo0/a0;->d:Lo0/a0;
const-string v6, "protocol"
invoke-static {p1, v6}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v6, v5, Lo0/a0;->protocol:Ljava/lang/String;
invoke-static {p1, v6}, Lk0/n/c/i;->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, Lo0/a0;->protocol:Ljava/lang/String;
invoke-static {p1, v5}, Lk0/n/c/i;->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, Lo0/a0;->protocol:Ljava/lang/String;
invoke-static {p1, v4}, Lk0/n/c/i;->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, Lo0/a0;->protocol:Ljava/lang/String;
invoke-static {p1, v3}, Lk0/n/c/i;->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, Lo0/a0;->protocol:Ljava/lang/String;
invoke-static {p1, v2}, Lk0/n/c/i;->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, Lo0/a0;->protocol:Ljava/lang/String;
invoke-static {p1, v1}, Lk0/n/c/i;->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;->q(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