122 lines
2.1 KiB
Smali
122 lines
2.1 KiB
Smali
.class public final Lf/k/a/b/d1/a0/e;
|
|
.super Ljava/lang/Object;
|
|
.source "Sniffer.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lf/k/a/b/l1/u;
|
|
|
|
.field public b:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Lf/k/a/b/l1/u;
|
|
|
|
const/16 v1, 0x8
|
|
|
|
invoke-direct {v0, v1}, Lf/k/a/b/l1/u;-><init>(I)V
|
|
|
|
iput-object v0, p0, Lf/k/a/b/d1/a0/e;->a:Lf/k/a/b/l1/u;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lf/k/a/b/d1/e;)J
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;,
|
|
Ljava/lang/InterruptedException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/k/a/b/d1/a0/e;->a:Lf/k/a/b/l1/u;
|
|
|
|
iget-object v0, v0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {p1, v0, v2, v1, v2}, Lf/k/a/b/d1/e;->a([BIIZ)Z
|
|
|
|
iget-object v0, p0, Lf/k/a/b/d1/a0/e;->a:Lf/k/a/b/l1/u;
|
|
|
|
iget-object v0, v0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
aget-byte v0, v0, v2
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
const/16 v3, 0x80
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
and-int v5, v0, v3
|
|
|
|
if-nez v5, :cond_1
|
|
|
|
shr-int/lit8 v3, v3, 0x1
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
not-int v3, v3
|
|
|
|
and-int/2addr v0, v3
|
|
|
|
iget-object v3, p0, Lf/k/a/b/d1/a0/e;->a:Lf/k/a/b/l1/u;
|
|
|
|
iget-object v3, v3, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
invoke-virtual {p1, v3, v1, v4, v2}, Lf/k/a/b/d1/e;->a([BIIZ)Z
|
|
|
|
:goto_1
|
|
if-ge v2, v4, :cond_2
|
|
|
|
shl-int/lit8 p1, v0, 0x8
|
|
|
|
iget-object v0, p0, Lf/k/a/b/d1/a0/e;->a:Lf/k/a/b/l1/u;
|
|
|
|
iget-object v0, v0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
aget-byte v0, v0, v2
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
add-int/2addr v0, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
iget p1, p0, Lf/k/a/b/d1/a0/e;->b:I
|
|
|
|
add-int/2addr v4, v1
|
|
|
|
add-int/2addr v4, p1
|
|
|
|
iput v4, p0, Lf/k/a/b/d1/a0/e;->b:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
return-wide v0
|
|
.end method
|