f.smali
.class public final Lcom/singbox/e/f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lokhttp3/u;
# direct methods
.method public constructor <init>()V
.registers 1
.line 12
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static a(B)I
.registers 2
and-int/lit8 v0, p0, 0x7f
int-to-byte v0, v0
if-gez p0, :cond_7
or-int/lit16 v0, v0, 0x80
:cond_7
return v0
.end method
# virtual methods
.method public final intercept(Lokhttp3/u$a;)Lokhttp3/ad;
.registers 11
const-string v0, "chain"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 14
invoke-interface {p1}, Lokhttp3/u$a;->request()Lokhttp3/aa;
move-result-object v0
const-string v1, "stat_id"
.line 15
invoke-virtual {v0, v1}, Lokhttp3/aa;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
.line 16
invoke-interface {p1}, Lokhttp3/u$a;->connection()Lokhttp3/i;
move-result-object v2
if-eqz v2, :cond_2a
invoke-interface {v2}, Lokhttp3/i;->a()Lokhttp3/af;
move-result-object v2
if-eqz v2, :cond_2a
.line 1072
iget-object v2, v2, Lokhttp3/af;->c:Ljava/net/InetSocketAddress;
if-eqz v2, :cond_2a
.line 16
invoke-virtual {v2}, Ljava/net/InetSocketAddress;->getAddress()Ljava/net/InetAddress;
move-result-object v2
if-eqz v2, :cond_2a
invoke-virtual {v2}, Ljava/net/InetAddress;->getAddress()[B
move-result-object v2
goto :goto_2b
:cond_2a
const/4 v2, 0x0
:goto_2b
if-eqz v1, :cond_67
if-eqz v2, :cond_67
.line 18
sget-object v3, Lcom/singbox/e/c;->b:Lcom/singbox/e/c;
const/4 v3, 0x1
new-array v4, v3, [Lkotlin/m;
const/4 v5, 0x0
.line 2032
aget-byte v6, v2, v5
invoke-static {v6}, Lcom/singbox/e/f;->a(B)I
move-result v6
.line 2033
aget-byte v3, v2, v3
invoke-static {v3}, Lcom/singbox/e/f;->a(B)I
move-result v3
const/4 v7, 0x2
.line 2034
aget-byte v7, v2, v7
invoke-static {v7}, Lcom/singbox/e/f;->a(B)I
move-result v7
const/4 v8, 0x3
.line 2035
aget-byte v2, v2, v8
invoke-static {v2}, Lcom/singbox/e/f;->a(B)I
move-result v2
shl-int/lit8 v2, v2, 0x18
shl-int/lit8 v7, v7, 0x10
or-int/2addr v2, v7
shl-int/lit8 v3, v3, 0x8
or-int/2addr v2, v3
or-int/2addr v2, v6
.line 18
invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v2
const-string v3, "s_ip"
invoke-static {v3, v2}, Lkotlin/s;->a(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/m;
move-result-object v2
aput-object v2, v4, v5
invoke-static {v1, v4}, Lcom/singbox/e/c;->a(Ljava/lang/String;[Lkotlin/m;)V
.line 20
:cond_67
invoke-interface {p1, v0}, Lokhttp3/u$a;->proceed(Lokhttp3/aa;)Lokhttp3/ad;
move-result-object p1
const-string v0, "chain.proceed(request)"
invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
return-object p1
.end method