ByteArrayKeyAnalyzer$Variable.smali

.class Lorg/ardverk/collection/ByteArrayKeyAnalyzer$Variable;
.super Lorg/ardverk/collection/ByteArrayKeyAnalyzer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lorg/ardverk/collection/ByteArrayKeyAnalyzer;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "Variable"
.end annotation


# static fields
.field private static final serialVersionUID:J = 0x4a6322402e7464baL


# direct methods
.method private constructor <init>()V
    .registers 1

    invoke-direct {p0}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lorg/ardverk/collection/ByteArrayKeyAnalyzer$1;)V
    .registers 2

    invoke-direct {p0}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer$Variable;-><init>()V

    return-void
.end method


# virtual methods
.method public bridge synthetic bitIndex(Ljava/lang/Object;Ljava/lang/Object;)I
    .registers 4

    check-cast p1, [B

    check-cast p2, [B

    invoke-virtual {p0, p1, p2}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer$Variable;->bitIndex([B[B)I

    move-result v0

    return v0
.end method

.method public bitIndex([B[B)I
    .registers 11

    const/4 v1, 0x0

    array-length v0, p1

    array-length v2, p2

    invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I

    move-result v4

    const/4 v0, 0x1

    move v3, v1

    :goto_9
    if-ge v3, v4, :cond_31

    invoke-static {p1, v3}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;->access$200([BI)B

    move-result v5

    invoke-static {p2, v3}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;->access$200([BI)B

    move-result v2

    if-eq v5, v2, :cond_2a

    xor-int v6, v5, v2

    move v2, v1

    :goto_18
    const/16 v7, 0x8

    if-ge v2, v7, :cond_2a

    invoke-static {v2}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;->access$100(I)I

    move-result v7

    and-int/2addr v7, v6

    if-eqz v7, :cond_27

    mul-int/lit8 v0, v3, 0x8

    add-int/2addr v0, v2

    :goto_26
    return v0

    :cond_27
    add-int/lit8 v2, v2, 0x1

    goto :goto_18

    :cond_2a
    if-eqz v5, :cond_2d

    move v0, v1

    :cond_2d
    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto :goto_9

    :cond_31
    if-eqz v0, :cond_35

    const/4 v0, -0x1

    goto :goto_26

    :cond_35
    const/4 v0, -0x2

    goto :goto_26
.end method

.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .registers 4

    check-cast p1, [B

    check-cast p2, [B

    invoke-super {p0, p1, p2}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;->compare([B[B)I

    move-result v0

    return v0
.end method

.method public bridge synthetic isBitSet(Ljava/lang/Object;I)Z
    .registers 4

    check-cast p1, [B

    invoke-virtual {p0, p1, p2}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer$Variable;->isBitSet([BI)Z

    move-result v0

    return v0
.end method

.method public isBitSet([BI)Z
    .registers 6

    const/4 v0, 0x0

    invoke-virtual {p0, p1}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer$Variable;->lengthInBits([B)I

    move-result v1

    if-lt p2, v1, :cond_8

    :cond_7
    :goto_7
    return v0

    :cond_8
    div-int/lit8 v1, p2, 0x8

    rem-int/lit8 v2, p2, 0x8

    aget-byte v1, p1, v1

    invoke-static {v2}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;->access$100(I)I

    move-result v2

    and-int/2addr v1, v2

    if-eqz v1, :cond_7

    const/4 v0, 0x1

    goto :goto_7
.end method

.method public bridge synthetic isPrefix(Ljava/lang/Object;Ljava/lang/Object;)Z
    .registers 4

    check-cast p1, [B

    check-cast p2, [B

    invoke-super {p0, p1, p2}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;->isPrefix([B[B)Z

    move-result v0

    return v0
.end method

.method public bridge synthetic lengthInBits(Ljava/lang/Object;)I
    .registers 3

    check-cast p1, [B

    invoke-super {p0, p1}, Lorg/ardverk/collection/ByteArrayKeyAnalyzer;->lengthInBits([B)I

    move-result v0

    return v0
.end method