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