g.smali
.class public final Lsg/bigo/bigohttp/stat/g;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lokhttp3/u;
# direct methods
.method public constructor <init>()V
.registers 1
.line 10
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
if-gez p0, :cond_6
or-int/lit16 v0, v0, 0x80
:cond_6
return v0
.end method
# virtual methods
.method public final intercept(Lokhttp3/u$a;)Lokhttp3/ad;
.registers 10
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 13
invoke-interface {p1}, Lokhttp3/u$a;->request()Lokhttp3/aa;
move-result-object v0
.line 14
invoke-static {}, Lsg/bigo/bigohttp/stat/f;->a()Lsg/bigo/bigohttp/stat/f;
move-result-object v1
invoke-virtual {v1}, Lsg/bigo/bigohttp/stat/f;->c()Lsg/bigo/bigohttp/stat/h;
move-result-object v1
if-eqz v1, :cond_76
.line 16
invoke-interface {p1}, Lokhttp3/u$a;->connection()Lokhttp3/i;
move-result-object v2
if-eqz v2, :cond_76
invoke-interface {p1}, Lokhttp3/u$a;->connection()Lokhttp3/i;
move-result-object v2
invoke-interface {v2}, Lokhttp3/i;->a()Lokhttp3/af;
move-result-object v2
if-eqz v2, :cond_76
.line 17
invoke-interface {p1}, Lokhttp3/u$a;->connection()Lokhttp3/i;
move-result-object v2
invoke-interface {v2}, Lokhttp3/i;->a()Lokhttp3/af;
move-result-object v2
.line 1072
iget-object v2, v2, Lokhttp3/af;->c:Ljava/net/InetSocketAddress;
if-eqz v2, :cond_76
.line 18
invoke-interface {p1}, Lokhttp3/u$a;->connection()Lokhttp3/i;
move-result-object v2
invoke-interface {v2}, Lokhttp3/i;->a()Lokhttp3/af;
move-result-object v2
.line 2072
iget-object v2, v2, Lokhttp3/af;->c:Ljava/net/InetSocketAddress;
.line 18
invoke-virtual {v2}, Ljava/net/InetSocketAddress;->getAddress()Ljava/net/InetAddress;
move-result-object v2
if-eqz v2, :cond_76
const/4 v2, 0x0
.line 20
:try_start_3b
invoke-interface {p1}, Lokhttp3/u$a;->connection()Lokhttp3/i;
move-result-object v3
invoke-interface {v3}, Lokhttp3/i;->a()Lokhttp3/af;
move-result-object v3
.line 3072
iget-object v3, v3, Lokhttp3/af;->c:Ljava/net/InetSocketAddress;
.line 20
invoke-virtual {v3}, Ljava/net/InetSocketAddress;->getAddress()Ljava/net/InetAddress;
move-result-object v3
invoke-virtual {v3}, Ljava/net/InetAddress;->getAddress()[B
move-result-object v3
.line 4039
aget-byte v4, v3, v2
invoke-static {v4}, Lsg/bigo/bigohttp/stat/g;->a(B)I
move-result v4
const/4 v5, 0x1
.line 4040
aget-byte v5, v3, v5
invoke-static {v5}, Lsg/bigo/bigohttp/stat/g;->a(B)I
move-result v5
const/4 v6, 0x2
.line 4041
aget-byte v6, v3, v6
invoke-static {v6}, Lsg/bigo/bigohttp/stat/g;->a(B)I
move-result v6
const/4 v7, 0x3
.line 4042
aget-byte v3, v3, v7
invoke-static {v3}, Lsg/bigo/bigohttp/stat/g;->a(B)I
move-result v3
shl-int/lit8 v3, v3, 0x18
shl-int/lit8 v6, v6, 0x10
or-int/2addr v3, v6
shl-int/lit8 v5, v5, 0x8
or-int/2addr v3, v5
or-int/2addr v3, v4
.line 21
iput v3, v1, Lsg/bigo/bigohttp/stat/h;->i:I
:try_end_73
.catch Ljava/lang/Exception; {:try_start_3b .. :try_end_73} :catch_74
goto :goto_76
.line 23
:catch_74
iput v2, v1, Lsg/bigo/bigohttp/stat/h;->i:I
.line 27
:cond_76
:goto_76
invoke-interface {p1, v0}, Lokhttp3/u$a;->proceed(Lokhttp3/aa;)Lokhttp3/ad;
move-result-object p1
return-object p1
.end method