147 lines
2.8 KiB
Smali
147 lines
2.8 KiB
Smali
.class public final Lm0/y$a;
|
|
.super Ljava/lang/Object;
|
|
.source "Protocol.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lm0/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;)Lm0/y;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Lm0/y;->i:Lm0/y;
|
|
|
|
sget-object v1, Lm0/y;->f:Lm0/y;
|
|
|
|
sget-object v2, Lm0/y;->g:Lm0/y;
|
|
|
|
sget-object v3, Lm0/y;->h:Lm0/y;
|
|
|
|
sget-object v4, Lm0/y;->e:Lm0/y;
|
|
|
|
sget-object v5, Lm0/y;->d:Lm0/y;
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
iget-object v6, v5, Lm0/y;->protocol:Ljava/lang/String;
|
|
|
|
invoke-static {p1, v6}, Li0/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, Lm0/y;->protocol:Ljava/lang/String;
|
|
|
|
invoke-static {p1, v5}, Li0/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, Lm0/y;->protocol:Ljava/lang/String;
|
|
|
|
invoke-static {p1, v4}, Li0/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, Lm0/y;->protocol:Ljava/lang/String;
|
|
|
|
invoke-static {p1, v3}, Li0/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, Lm0/y;->protocol:Ljava/lang/String;
|
|
|
|
invoke-static {p1, v2}, Li0/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, Lm0/y;->protocol:Ljava/lang/String;
|
|
|
|
invoke-static {p1, v1}, Li0/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}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|