f.smali
.class public final Li6/f;
.super Ljava/lang/Object;
.source "State.java"
# static fields
.field public static final e:Li6/f;
# instance fields
.field public final a:I
.field public final b:Li6/g;
.field public final c:I
.field public final d:I
# direct methods
.method public static constructor <clinit>()V
.registers 3
new-instance v0, Li6/f;
sget-object v1, Li6/g;->b:Li6/g;
const/4 v2, 0x0
invoke-direct {v0, v1, v2, v2, v2}, Li6/f;-><init>(Li6/g;III)V
sput-object v0, Li6/f;->e:Li6/f;
return-void
.end method
.method public constructor <init>(Li6/g;III)V
.registers 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Li6/f;->b:Li6/g;
iput p2, p0, Li6/f;->a:I
iput p3, p0, Li6/f;->c:I
iput p4, p0, Li6/f;->d:I
return-void
.end method
.method public static b(Li6/f;)I
.registers 2
iget p0, p0, Li6/f;->c:I
const/16 v0, 0x3e
if-le p0, v0, :cond_9
const/16 p0, 0x15
return p0
:cond_9
const/16 v0, 0x1f
if-le p0, v0, :cond_10
const/16 p0, 0x14
return p0
:cond_10
if-lez p0, :cond_15
const/16 p0, 0xa
return p0
:cond_15
const/4 p0, 0x0
return p0
.end method
# virtual methods
.method public a()I
.registers 2
iget v0, p0, Li6/f;->c:I
return v0
.end method
.method public a(I)Li6/f;
.registers 8
iget-object v0, p0, Li6/f;->b:Li6/g;
iget v1, p0, Li6/f;->a:I
iget v2, p0, Li6/f;->d:I
const/4 v3, 0x0
const/4 v4, 0x4
if-eq v1, v4, :cond_d
const/4 v4, 0x2
if-ne v1, v4, :cond_1f
:cond_d
sget-object v4, Li6/d;->c:[[I
aget-object v1, v4, v1
aget v1, v1, v3
const v4, 0xffff
and-int/2addr v4, v1
shr-int/lit8 v1, v1, 0x10
invoke-virtual {v0, v4, v1}, Li6/g;->a(II)Li6/g;
move-result-object v0
add-int/2addr v2, v1
const/4 v1, 0x0
:cond_1f
iget v3, p0, Li6/f;->c:I
if-eqz v3, :cond_32
const/16 v4, 0x1f
if-ne v3, v4, :cond_28
goto :goto_32
:cond_28
const/16 v4, 0x3e
if-ne v3, v4, :cond_2f
const/16 v3, 0x9
goto :goto_34
:cond_2f
const/16 v3, 0x8
goto :goto_34
:cond_32
:goto_32
const/16 v3, 0x12
:goto_34
new-instance v4, Li6/f;
iget v5, p0, Li6/f;->c:I
add-int/lit8 v5, v5, 0x1
add-int/2addr v2, v3
invoke-direct {v4, v0, v1, v5, v2}, Li6/f;-><init>(Li6/g;III)V
iget v0, v4, Li6/f;->c:I
const/16 v1, 0x81e
if-ne v0, v1, :cond_4a
add-int/lit8 p1, p1, 0x1
invoke-virtual {v4, p1}, Li6/f;->b(I)Li6/f;
move-result-object v4
:cond_4a
return-object v4
.end method
.method public a(II)Li6/f;
.registers 7
iget v0, p0, Li6/f;->d:I
iget-object v1, p0, Li6/f;->b:Li6/g;
iget v2, p0, Li6/f;->a:I
if-eq p1, v2, :cond_19
sget-object v3, Li6/d;->c:[[I
aget-object v2, v3, v2
aget v2, v2, p1
const v3, 0xffff
and-int/2addr v3, v2
shr-int/lit8 v2, v2, 0x10
invoke-virtual {v1, v3, v2}, Li6/g;->a(II)Li6/g;
move-result-object v1
add-int/2addr v0, v2
:cond_19
const/4 v2, 0x2
if-ne p1, v2, :cond_1e
const/4 v2, 0x4
goto :goto_1f
:cond_1e
const/4 v2, 0x5
:goto_1f
invoke-virtual {v1, p2, v2}, Li6/g;->a(II)Li6/g;
move-result-object p2
new-instance v1, Li6/f;
const/4 v3, 0x0
add-int/2addr v0, v2
invoke-direct {v1, p2, p1, v3, v0}, Li6/f;-><init>(Li6/g;III)V
return-object v1
.end method
.method public a([B)Lj6/a;
.registers 5
new-instance v0, Ljava/util/LinkedList;
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
array-length v1, p1
invoke-virtual {p0, v1}, Li6/f;->b(I)Li6/f;
move-result-object v1
iget-object v1, v1, Li6/f;->b:Li6/g;
:goto_c
if-eqz v1, :cond_16
invoke-interface {v0, v1}, Ljava/util/Deque;->addFirst(Ljava/lang/Object;)V
invoke-virtual {v1}, Li6/g;->a()Li6/g;
move-result-object v1
goto :goto_c
:cond_16
new-instance v1, Lj6/a;
invoke-direct {v1}, Lj6/a;-><init>()V
invoke-interface {v0}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_1f
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2f
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Li6/g;
invoke-virtual {v2, v1, p1}, Li6/g;->a(Lj6/a;[B)V
goto :goto_1f
:cond_2f
return-object v1
.end method
.method public a(Li6/f;)Z
.registers 5
iget v0, p0, Li6/f;->d:I
sget-object v1, Li6/d;->c:[[I
iget v2, p0, Li6/f;->a:I
aget-object v1, v1, v2
iget v2, p1, Li6/f;->a:I
aget v1, v1, v2
shr-int/lit8 v1, v1, 0x10
add-int/2addr v0, v1
iget v1, p0, Li6/f;->c:I
iget v2, p1, Li6/f;->c:I
if-ge v1, v2, :cond_20
invoke-static {p1}, Li6/f;->b(Li6/f;)I
move-result v1
invoke-static {p0}, Li6/f;->b(Li6/f;)I
move-result v2
sub-int/2addr v1, v2
add-int/2addr v0, v1
goto :goto_26
:cond_20
if-le v1, v2, :cond_26
if-lez v2, :cond_26
add-int/lit8 v0, v0, 0xa
:cond_26
:goto_26
iget p1, p1, Li6/f;->d:I
if-gt v0, p1, :cond_2c
const/4 p1, 0x1
return p1
:cond_2c
const/4 p1, 0x0
return p1
.end method
.method public b()I
.registers 2
iget v0, p0, Li6/f;->d:I
return v0
.end method
.method public b(I)Li6/f;
.registers 6
iget v0, p0, Li6/f;->c:I
if-nez v0, :cond_5
return-object p0
:cond_5
iget-object v1, p0, Li6/f;->b:Li6/g;
sub-int/2addr p1, v0
invoke-virtual {v1, p1, v0}, Li6/g;->b(II)Li6/g;
move-result-object p1
new-instance v0, Li6/f;
iget v1, p0, Li6/f;->a:I
const/4 v2, 0x0
iget v3, p0, Li6/f;->d:I
invoke-direct {v0, p1, v1, v2, v3}, Li6/f;-><init>(Li6/g;III)V
return-object v0
.end method
.method public b(II)Li6/f;
.registers 8
iget-object v0, p0, Li6/f;->b:Li6/g;
iget v1, p0, Li6/f;->a:I
const/4 v2, 0x5
const/4 v3, 0x2
if-ne v1, v3, :cond_a
const/4 v1, 0x4
goto :goto_b
:cond_a
const/4 v1, 0x5
:goto_b
sget-object v3, Li6/d;->e:[[I
iget v4, p0, Li6/f;->a:I
aget-object v3, v3, v4
aget p1, v3, p1
invoke-virtual {v0, p1, v1}, Li6/g;->a(II)Li6/g;
move-result-object p1
invoke-virtual {p1, p2, v2}, Li6/g;->a(II)Li6/g;
move-result-object p1
new-instance p2, Li6/f;
iget v0, p0, Li6/f;->a:I
const/4 v3, 0x0
iget v4, p0, Li6/f;->d:I
add-int/2addr v4, v1
add-int/2addr v4, v2
invoke-direct {p2, p1, v0, v3, v4}, Li6/f;-><init>(Li6/g;III)V
return-object p2
.end method
.method public c()I
.registers 2
iget v0, p0, Li6/f;->a:I
return v0
.end method
.method public toString()Ljava/lang/String;
.registers 4
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/Object;
sget-object v1, Li6/d;->b:[Ljava/lang/String;
iget v2, p0, Li6/f;->a:I
aget-object v1, v1, v2
const/4 v2, 0x0
aput-object v1, v0, v2
iget v1, p0, Li6/f;->d:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x1
aput-object v1, v0, v2
iget v1, p0, Li6/f;->c:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x2
aput-object v1, v0, v2
const-string v1, "%s bits=%d bytes=%d"
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method