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