j.smali

.class Lcom/tencent/wxop/stat/common/j;
.super Lcom/tencent/wxop/stat/common/i;


# static fields
.field private static final c:[I

.field private static final d:[I


# instance fields
.field private e:I

.field private f:I

.field private final g:[I


# direct methods
.method static constructor <clinit>()V
    .registers 2

    const/16 v1, 0x100

    new-array v0, v1, [I

    fill-array-data v0, :array_12

    sput-object v0, Lcom/tencent/wxop/stat/common/j;->c:[I

    new-array v0, v1, [I

    fill-array-data v0, :array_216

    sput-object v0, Lcom/tencent/wxop/stat/common/j;->d:[I

    return-void

    nop

    :array_12
    .array-data 4
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        0x3e
        -0x1
        -0x1
        -0x1
        0x3f
        0x34
        0x35
        0x36
        0x37
        0x38
        0x39
        0x3a
        0x3b
        0x3c
        0x3d
        -0x1
        -0x1
        -0x1
        -0x2
        -0x1
        -0x1
        -0x1
        0x0
        0x1
        0x2
        0x3
        0x4
        0x5
        0x6
        0x7
        0x8
        0x9
        0xa
        0xb
        0xc
        0xd
        0xe
        0xf
        0x10
        0x11
        0x12
        0x13
        0x14
        0x15
        0x16
        0x17
        0x18
        0x19
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        0x1a
        0x1b
        0x1c
        0x1d
        0x1e
        0x1f
        0x20
        0x21
        0x22
        0x23
        0x24
        0x25
        0x26
        0x27
        0x28
        0x29
        0x2a
        0x2b
        0x2c
        0x2d
        0x2e
        0x2f
        0x30
        0x31
        0x32
        0x33
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
    .end array-data

    :array_216
    .array-data 4
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        0x3e
        -0x1
        -0x1
        0x34
        0x35
        0x36
        0x37
        0x38
        0x39
        0x3a
        0x3b
        0x3c
        0x3d
        -0x1
        -0x1
        -0x1
        -0x2
        -0x1
        -0x1
        -0x1
        0x0
        0x1
        0x2
        0x3
        0x4
        0x5
        0x6
        0x7
        0x8
        0x9
        0xa
        0xb
        0xc
        0xd
        0xe
        0xf
        0x10
        0x11
        0x12
        0x13
        0x14
        0x15
        0x16
        0x17
        0x18
        0x19
        -0x1
        -0x1
        -0x1
        -0x1
        0x3f
        -0x1
        0x1a
        0x1b
        0x1c
        0x1d
        0x1e
        0x1f
        0x20
        0x21
        0x22
        0x23
        0x24
        0x25
        0x26
        0x27
        0x28
        0x29
        0x2a
        0x2b
        0x2c
        0x2d
        0x2e
        0x2f
        0x30
        0x31
        0x32
        0x33
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
        -0x1
    .end array-data
.end method

.method public constructor <init>(I[B)V
    .registers 5

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/tencent/wxop/stat/common/i;-><init>()V

    iput-object p2, p0, Lcom/tencent/wxop/stat/common/j;->a:[B

    and-int/lit8 v0, p1, 0x8

    if-nez v0, :cond_13

    sget-object v0, Lcom/tencent/wxop/stat/common/j;->c:[I

    :goto_c
    iput-object v0, p0, Lcom/tencent/wxop/stat/common/j;->g:[I

    iput v1, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    iput v1, p0, Lcom/tencent/wxop/stat/common/j;->f:I

    return-void

    :cond_13
    sget-object v0, Lcom/tencent/wxop/stat/common/j;->d:[I

    goto :goto_c
.end method


# virtual methods
.method public a([BIIZ)Z
    .registers 14

    iget v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v1, 0x6

    if-ne v0, v1, :cond_7

    const/4 v0, 0x0

    :goto_6
    return v0

    :cond_7
    add-int v4, p3, p2

    iget v2, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    iget v1, p0, Lcom/tencent/wxop/stat/common/j;->f:I

    const/4 v0, 0x0

    iget-object v5, p0, Lcom/tencent/wxop/stat/common/j;->a:[B

    iget-object v6, p0, Lcom/tencent/wxop/stat/common/j;->g:[I

    move v3, v2

    move v2, p2

    :goto_14
    if-ge v2, v4, :cond_108

    if-nez v3, :cond_5d

    :goto_18
    add-int/lit8 v7, v2, 0x4

    if-gt v7, v4, :cond_5b

    aget-byte v1, p1, v2

    and-int/lit16 v1, v1, 0xff

    aget v1, v6, v1

    shl-int/lit8 v1, v1, 0x12

    add-int/lit8 v7, v2, 0x1

    aget-byte v7, p1, v7

    and-int/lit16 v7, v7, 0xff

    aget v7, v6, v7

    shl-int/lit8 v7, v7, 0xc

    or-int/2addr v1, v7

    add-int/lit8 v7, v2, 0x2

    aget-byte v7, p1, v7

    and-int/lit16 v7, v7, 0xff

    aget v7, v6, v7

    shl-int/lit8 v7, v7, 0x6

    or-int/2addr v1, v7

    add-int/lit8 v7, v2, 0x3

    aget-byte v7, p1, v7

    and-int/lit16 v7, v7, 0xff

    aget v7, v6, v7

    or-int/2addr v1, v7

    if-ltz v1, :cond_5b

    add-int/lit8 v7, v0, 0x2

    int-to-byte v8, v1

    aput-byte v8, v5, v7

    add-int/lit8 v7, v0, 0x1

    shr-int/lit8 v8, v1, 0x8

    int-to-byte v8, v8

    aput-byte v8, v5, v7

    shr-int/lit8 v7, v1, 0x10

    int-to-byte v7, v7

    aput-byte v7, v5, v0

    add-int/lit8 v0, v0, 0x3

    add-int/lit8 v2, v2, 0x4

    goto :goto_18

    :cond_5b
    if-ge v2, v4, :cond_108

    :cond_5d
    add-int/lit8 p2, v2, 0x1

    aget-byte v2, p1, v2

    and-int/lit16 v2, v2, 0xff

    aget v2, v6, v2

    packed-switch v3, :pswitch_data_142

    :cond_68
    move v2, p2

    goto :goto_14

    :pswitch_6a
    if-ltz v2, :cond_72

    add-int/lit8 v1, v3, 0x1

    move v3, v1

    move v1, v2

    move v2, p2

    goto :goto_14

    :cond_72
    const/4 v7, -0x1

    if-eq v2, v7, :cond_68

    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto :goto_6

    :pswitch_7a
    if-ltz v2, :cond_84

    shl-int/lit8 v1, v1, 0x6

    or-int/2addr v1, v2

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    move v2, p2

    goto :goto_14

    :cond_84
    const/4 v7, -0x1

    if-eq v2, v7, :cond_68

    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto/16 :goto_6

    :pswitch_8d
    if-ltz v2, :cond_98

    shl-int/lit8 v1, v1, 0x6

    or-int/2addr v1, v2

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    move v2, p2

    goto/16 :goto_14

    :cond_98
    const/4 v7, -0x2

    if-ne v2, v7, :cond_a8

    add-int/lit8 v2, v0, 0x1

    shr-int/lit8 v3, v1, 0x4

    int-to-byte v3, v3

    aput-byte v3, v5, v0

    const/4 v0, 0x4

    move v3, v0

    move v0, v2

    move v2, p2

    goto/16 :goto_14

    :cond_a8
    const/4 v7, -0x1

    if-eq v2, v7, :cond_68

    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto/16 :goto_6

    :pswitch_b1
    if-ltz v2, :cond_ce

    shl-int/lit8 v1, v1, 0x6

    or-int/2addr v1, v2

    add-int/lit8 v2, v0, 0x2

    int-to-byte v3, v1

    aput-byte v3, v5, v2

    add-int/lit8 v2, v0, 0x1

    shr-int/lit8 v3, v1, 0x8

    int-to-byte v3, v3

    aput-byte v3, v5, v2

    shr-int/lit8 v2, v1, 0x10

    int-to-byte v2, v2

    aput-byte v2, v5, v0

    add-int/lit8 v0, v0, 0x3

    const/4 v2, 0x0

    move v3, v2

    move v2, p2

    goto/16 :goto_14

    :cond_ce
    const/4 v7, -0x2

    if-ne v2, v7, :cond_e4

    add-int/lit8 v2, v0, 0x1

    shr-int/lit8 v3, v1, 0x2

    int-to-byte v3, v3

    aput-byte v3, v5, v2

    shr-int/lit8 v2, v1, 0xa

    int-to-byte v2, v2

    aput-byte v2, v5, v0

    add-int/lit8 v0, v0, 0x2

    const/4 v2, 0x5

    move v3, v2

    move v2, p2

    goto/16 :goto_14

    :cond_e4
    const/4 v7, -0x1

    if-eq v2, v7, :cond_68

    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto/16 :goto_6

    :pswitch_ed
    const/4 v7, -0x2

    if-ne v2, v7, :cond_f6

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    move v2, p2

    goto/16 :goto_14

    :cond_f6
    const/4 v7, -0x1

    if-eq v2, v7, :cond_68

    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto/16 :goto_6

    :pswitch_ff
    const/4 v7, -0x1

    if-eq v2, v7, :cond_68

    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto/16 :goto_6

    :cond_108
    move v2, v1

    if-nez p4, :cond_114

    iput v3, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    iput v2, p0, Lcom/tencent/wxop/stat/common/j;->f:I

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->b:I

    const/4 v0, 0x1

    goto/16 :goto_6

    :cond_114
    packed-switch v3, :pswitch_data_152

    :goto_117
    :pswitch_117
    iput v3, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->b:I

    const/4 v0, 0x1

    goto/16 :goto_6

    :pswitch_11e
    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto/16 :goto_6

    :pswitch_124
    add-int/lit8 v1, v0, 0x1

    shr-int/lit8 v2, v2, 0x4

    int-to-byte v2, v2

    aput-byte v2, v5, v0

    move v0, v1

    goto :goto_117

    :pswitch_12d
    add-int/lit8 v1, v0, 0x1

    shr-int/lit8 v4, v2, 0xa

    int-to-byte v4, v4

    aput-byte v4, v5, v0

    add-int/lit8 v0, v1, 0x1

    shr-int/lit8 v2, v2, 0x2

    int-to-byte v2, v2

    aput-byte v2, v5, v1

    goto :goto_117

    :pswitch_13c
    const/4 v0, 0x6

    iput v0, p0, Lcom/tencent/wxop/stat/common/j;->e:I

    const/4 v0, 0x0

    goto/16 :goto_6

    :pswitch_data_142
    .packed-switch 0x0
        :pswitch_6a
        :pswitch_7a
        :pswitch_8d
        :pswitch_b1
        :pswitch_ed
        :pswitch_ff
    .end packed-switch

    :pswitch_data_152
    .packed-switch 0x0
        :pswitch_117
        :pswitch_11e
        :pswitch_124
        :pswitch_12d
        :pswitch_13c
    .end packed-switch
.end method