f.smali

.class final Lcom/sdk/plus/f/f;
.super Lcom/sdk/plus/f/d;


# static fields
.field static final synthetic g:Z

.field private static final h:[B

.field private static final i:[B


# instance fields
.field c:I

.field public final d:Z

.field public final e:Z

.field public final f:Z

.field private final j:[B

.field private k:I

.field private final l:[B


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

    const/16 v1, 0x40

    const-class v0, Lcom/sdk/plus/f/c;

    invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z

    move-result v0

    if-nez v0, :cond_1c

    const/4 v0, 0x1

    :goto_b
    sput-boolean v0, Lcom/sdk/plus/f/f;->g:Z

    new-array v0, v1, [B

    fill-array-data v0, :array_1e

    sput-object v0, Lcom/sdk/plus/f/f;->h:[B

    new-array v0, v1, [B

    fill-array-data v0, :array_42

    sput-object v0, Lcom/sdk/plus/f/f;->i:[B

    return-void

    :cond_1c
    const/4 v0, 0x0

    goto :goto_b

    :array_1e
    .array-data 1
        0x41t
        0x42t
        0x43t
        0x44t
        0x45t
        0x46t
        0x47t
        0x48t
        0x49t
        0x4at
        0x4bt
        0x4ct
        0x4dt
        0x4et
        0x4ft
        0x50t
        0x51t
        0x52t
        0x53t
        0x54t
        0x55t
        0x56t
        0x57t
        0x58t
        0x59t
        0x5at
        0x61t
        0x62t
        0x63t
        0x64t
        0x65t
        0x66t
        0x67t
        0x68t
        0x69t
        0x6at
        0x6bt
        0x6ct
        0x6dt
        0x6et
        0x6ft
        0x70t
        0x71t
        0x72t
        0x73t
        0x74t
        0x75t
        0x76t
        0x77t
        0x78t
        0x79t
        0x7at
        0x30t
        0x31t
        0x32t
        0x33t
        0x34t
        0x35t
        0x36t
        0x37t
        0x38t
        0x39t
        0x2bt
        0x2ft
    .end array-data

    :array_42
    .array-data 1
        0x41t
        0x42t
        0x43t
        0x44t
        0x45t
        0x46t
        0x47t
        0x48t
        0x49t
        0x4at
        0x4bt
        0x4ct
        0x4dt
        0x4et
        0x4ft
        0x50t
        0x51t
        0x52t
        0x53t
        0x54t
        0x55t
        0x56t
        0x57t
        0x58t
        0x59t
        0x5at
        0x61t
        0x62t
        0x63t
        0x64t
        0x65t
        0x66t
        0x67t
        0x68t
        0x69t
        0x6at
        0x6bt
        0x6ct
        0x6dt
        0x6et
        0x6ft
        0x70t
        0x71t
        0x72t
        0x73t
        0x74t
        0x75t
        0x76t
        0x77t
        0x78t
        0x79t
        0x7at
        0x30t
        0x31t
        0x32t
        0x33t
        0x34t
        0x35t
        0x36t
        0x37t
        0x38t
        0x39t
        0x2dt
        0x5ft
    .end array-data
.end method

.method public constructor <init>()V
    .registers 3

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/sdk/plus/f/d;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/sdk/plus/f/f;->a:[B

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/sdk/plus/f/f;->d:Z

    iput-boolean v1, p0, Lcom/sdk/plus/f/f;->e:Z

    iput-boolean v1, p0, Lcom/sdk/plus/f/f;->f:Z

    sget-object v0, Lcom/sdk/plus/f/f;->h:[B

    iput-object v0, p0, Lcom/sdk/plus/f/f;->l:[B

    const/4 v0, 0x2

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/sdk/plus/f/f;->j:[B

    iput v1, p0, Lcom/sdk/plus/f/f;->c:I

    iget-boolean v0, p0, Lcom/sdk/plus/f/f;->e:Z

    if-eqz v0, :cond_22

    const/16 v0, 0x13

    :goto_1f
    iput v0, p0, Lcom/sdk/plus/f/f;->k:I

    return-void

    :cond_22
    const/4 v0, -0x1

    goto :goto_1f
.end method


# virtual methods
.method public final a([BI)Z
    .registers 16

    const/4 v0, 0x2

    const/16 v12, 0xd

    const/16 v11, 0xa

    const/4 v2, 0x1

    const/4 v3, 0x0

    iget-object v7, p0, Lcom/sdk/plus/f/f;->l:[B

    iget-object v8, p0, Lcom/sdk/plus/f/f;->a:[B

    iget v4, p0, Lcom/sdk/plus/f/f;->k:I

    add-int/lit8 v9, p2, 0x0

    const/4 v1, -0x1

    iget v5, p0, Lcom/sdk/plus/f/f;->c:I

    packed-switch v5, :pswitch_data_1f6

    :cond_15
    move v5, v1

    move v1, v3

    :goto_17
    const/4 v6, -0x1

    if-eq v5, v6, :cond_1f2

    shr-int/lit8 v6, v5, 0x12

    and-int/lit8 v6, v6, 0x3f

    aget-byte v6, v7, v6

    aput-byte v6, v8, v3

    shr-int/lit8 v6, v5, 0xc

    and-int/lit8 v6, v6, 0x3f

    aget-byte v6, v7, v6

    aput-byte v6, v8, v2

    shr-int/lit8 v6, v5, 0x6

    and-int/lit8 v6, v6, 0x3f

    aget-byte v6, v7, v6

    aput-byte v6, v8, v0

    const/4 v6, 0x3

    const/4 v0, 0x4

    and-int/lit8 v5, v5, 0x3f

    aget-byte v5, v7, v5

    aput-byte v5, v8, v6

    add-int/lit8 v4, v4, -0x1

    if-nez v4, :cond_1ee

    iget-boolean v4, p0, Lcom/sdk/plus/f/f;->f:Z

    if-eqz v4, :cond_46

    const/4 v4, 0x4

    const/4 v0, 0x5

    aput-byte v12, v8, v4

    :cond_46
    add-int/lit8 v5, v0, 0x1

    aput-byte v11, v8, v0

    const/16 v0, 0x13

    move v6, v0

    :goto_4d
    add-int/lit8 v0, v1, 0x3

    if-gt v0, v9, :cond_e2

    aget-byte v0, p1, v1

    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v0, v0, 0x10

    add-int/lit8 v4, v1, 0x1

    aget-byte v4, p1, v4

    and-int/lit16 v4, v4, 0xff

    shl-int/lit8 v4, v4, 0x8

    or-int/2addr v0, v4

    add-int/lit8 v4, v1, 0x2

    aget-byte v4, p1, v4

    and-int/lit16 v4, v4, 0xff

    or-int/2addr v0, v4

    shr-int/lit8 v4, v0, 0x12

    and-int/lit8 v4, v4, 0x3f

    aget-byte v4, v7, v4

    aput-byte v4, v8, v5

    add-int/lit8 v4, v5, 0x1

    shr-int/lit8 v10, v0, 0xc

    and-int/lit8 v10, v10, 0x3f

    aget-byte v10, v7, v10

    aput-byte v10, v8, v4

    add-int/lit8 v4, v5, 0x2

    shr-int/lit8 v10, v0, 0x6

    and-int/lit8 v10, v10, 0x3f

    aget-byte v10, v7, v10

    aput-byte v10, v8, v4

    add-int/lit8 v4, v5, 0x3

    and-int/lit8 v0, v0, 0x3f

    aget-byte v0, v7, v0

    aput-byte v0, v8, v4

    add-int/lit8 v4, v1, 0x3

    add-int/lit8 v1, v5, 0x4

    add-int/lit8 v0, v6, -0x1

    if-nez v0, :cond_1e9

    iget-boolean v0, p0, Lcom/sdk/plus/f/f;->f:Z

    if-eqz v0, :cond_1e6

    add-int/lit8 v0, v1, 0x1

    aput-byte v12, v8, v1

    :goto_9b
    add-int/lit8 v5, v0, 0x1

    aput-byte v11, v8, v0

    const/16 v0, 0x13

    move v1, v4

    move v6, v0

    goto :goto_4d

    :pswitch_a4
    move v5, v1

    move v1, v3

    goto/16 :goto_17

    :pswitch_a8
    if-gt v0, v9, :cond_15

    iget-object v1, p0, Lcom/sdk/plus/f/f;->j:[B

    aget-byte v1, v1, v3

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x10

    aget-byte v5, p1, v3

    and-int/lit16 v5, v5, 0xff

    shl-int/lit8 v5, v5, 0x8

    or-int/2addr v1, v5

    aget-byte v5, p1, v2

    and-int/lit16 v5, v5, 0xff

    or-int/2addr v1, v5

    iput v3, p0, Lcom/sdk/plus/f/f;->c:I

    move v5, v1

    move v1, v0

    goto/16 :goto_17

    :pswitch_c4
    if-lez v9, :cond_15

    iget-object v1, p0, Lcom/sdk/plus/f/f;->j:[B

    aget-byte v1, v1, v3

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x10

    iget-object v5, p0, Lcom/sdk/plus/f/f;->j:[B

    aget-byte v5, v5, v2

    and-int/lit16 v5, v5, 0xff

    shl-int/lit8 v5, v5, 0x8

    or-int/2addr v1, v5

    aget-byte v5, p1, v3

    and-int/lit16 v5, v5, 0xff

    or-int/2addr v1, v5

    iput v3, p0, Lcom/sdk/plus/f/f;->c:I

    move v5, v1

    move v1, v2

    goto/16 :goto_17

    :cond_e2
    iget v0, p0, Lcom/sdk/plus/f/f;->c:I

    sub-int v0, v1, v0

    add-int/lit8 v4, v9, -0x1

    if-ne v0, v4, :cond_148

    iget v0, p0, Lcom/sdk/plus/f/f;->c:I

    if-lez v0, :cond_141

    iget-object v0, p0, Lcom/sdk/plus/f/f;->j:[B

    aget-byte v0, v0, v3

    move v3, v1

    move v1, v2

    :goto_f4
    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v4, v0, 0x4

    iget v0, p0, Lcom/sdk/plus/f/f;->c:I

    sub-int/2addr v0, v1

    iput v0, p0, Lcom/sdk/plus/f/f;->c:I

    add-int/lit8 v1, v5, 0x1

    shr-int/lit8 v0, v4, 0x6

    and-int/lit8 v0, v0, 0x3f

    aget-byte v0, v7, v0

    aput-byte v0, v8, v5

    add-int/lit8 v0, v1, 0x1

    and-int/lit8 v4, v4, 0x3f

    aget-byte v4, v7, v4

    aput-byte v4, v8, v1

    iget-boolean v1, p0, Lcom/sdk/plus/f/f;->d:Z

    if-eqz v1, :cond_11f

    add-int/lit8 v1, v0, 0x1

    const/16 v4, 0x3d

    aput-byte v4, v8, v0

    add-int/lit8 v0, v1, 0x1

    const/16 v4, 0x3d

    aput-byte v4, v8, v1

    :cond_11f
    iget-boolean v1, p0, Lcom/sdk/plus/f/f;->e:Z

    if-eqz v1, :cond_131

    iget-boolean v1, p0, Lcom/sdk/plus/f/f;->f:Z

    if-eqz v1, :cond_12c

    add-int/lit8 v1, v0, 0x1

    aput-byte v12, v8, v0

    move v0, v1

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

    aput-byte v11, v8, v0

    move v0, v1

    :cond_131
    move v1, v3

    move v5, v0

    :cond_133
    :goto_133
    sget-boolean v0, Lcom/sdk/plus/f/f;->g:Z

    if-nez v0, :cond_1d1

    iget v0, p0, Lcom/sdk/plus/f/f;->c:I

    if-eqz v0, :cond_1d1

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    :cond_141
    add-int/lit8 v4, v1, 0x1

    aget-byte v0, p1, v1

    move v1, v3

    move v3, v4

    goto :goto_f4

    :cond_148
    iget v0, p0, Lcom/sdk/plus/f/f;->c:I

    sub-int v0, v1, v0

    add-int/lit8 v4, v9, -0x2

    if-ne v0, v4, :cond_1b9

    iget v0, p0, Lcom/sdk/plus/f/f;->c:I

    if-le v0, v2, :cond_1ad

    iget-object v0, p0, Lcom/sdk/plus/f/f;->j:[B

    aget-byte v0, v0, v3

    move v3, v2

    :goto_159
    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v10, v0, 0xa

    iget v0, p0, Lcom/sdk/plus/f/f;->c:I

    if-lez v0, :cond_1b3

    iget-object v0, p0, Lcom/sdk/plus/f/f;->j:[B

    add-int/lit8 v4, v3, 0x1

    aget-byte v0, v0, v3

    move v3, v4

    :goto_168
    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v0, v0, 0x2

    or-int/2addr v0, v10

    iget v4, p0, Lcom/sdk/plus/f/f;->c:I

    sub-int v3, v4, v3

    iput v3, p0, Lcom/sdk/plus/f/f;->c:I

    add-int/lit8 v3, v5, 0x1

    shr-int/lit8 v4, v0, 0xc

    and-int/lit8 v4, v4, 0x3f

    aget-byte v4, v7, v4

    aput-byte v4, v8, v5

    add-int/lit8 v4, v3, 0x1

    shr-int/lit8 v5, v0, 0x6

    and-int/lit8 v5, v5, 0x3f

    aget-byte v5, v7, v5

    aput-byte v5, v8, v3

    add-int/lit8 v3, v4, 0x1

    and-int/lit8 v0, v0, 0x3f

    aget-byte v0, v7, v0

    aput-byte v0, v8, v4

    iget-boolean v0, p0, Lcom/sdk/plus/f/f;->d:Z

    if-eqz v0, :cond_1e4

    add-int/lit8 v0, v3, 0x1

    const/16 v4, 0x3d

    aput-byte v4, v8, v3

    :goto_199
    iget-boolean v3, p0, Lcom/sdk/plus/f/f;->e:Z

    if-eqz v3, :cond_1ab

    iget-boolean v3, p0, Lcom/sdk/plus/f/f;->f:Z

    if-eqz v3, :cond_1a6

    add-int/lit8 v3, v0, 0x1

    aput-byte v12, v8, v0

    move v0, v3

    :cond_1a6
    add-int/lit8 v3, v0, 0x1

    aput-byte v11, v8, v0

    move v0, v3

    :cond_1ab
    move v5, v0

    goto :goto_133

    :cond_1ad
    add-int/lit8 v4, v1, 0x1

    aget-byte v0, p1, v1

    move v1, v4

    goto :goto_159

    :cond_1b3
    add-int/lit8 v4, v1, 0x1

    aget-byte v0, p1, v1

    move v1, v4

    goto :goto_168

    :cond_1b9
    iget-boolean v0, p0, Lcom/sdk/plus/f/f;->e:Z

    if-eqz v0, :cond_133

    if-lez v5, :cond_133

    const/16 v0, 0x13

    if-eq v6, v0, :cond_133

    iget-boolean v0, p0, Lcom/sdk/plus/f/f;->f:Z

    if-eqz v0, :cond_1e2

    add-int/lit8 v0, v5, 0x1

    aput-byte v12, v8, v5

    :goto_1cb
    add-int/lit8 v5, v0, 0x1

    aput-byte v11, v8, v0

    goto/16 :goto_133

    :cond_1d1
    sget-boolean v0, Lcom/sdk/plus/f/f;->g:Z

    if-nez v0, :cond_1dd

    if-eq v1, v9, :cond_1dd

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    :cond_1dd
    iput v5, p0, Lcom/sdk/plus/f/f;->b:I

    iput v6, p0, Lcom/sdk/plus/f/f;->k:I

    return v2

    :cond_1e2
    move v0, v5

    goto :goto_1cb

    :cond_1e4
    move v0, v3

    goto :goto_199

    :cond_1e6
    move v0, v1

    goto/16 :goto_9b

    :cond_1e9
    move v6, v0

    move v5, v1

    move v1, v4

    goto/16 :goto_4d

    :cond_1ee
    move v6, v4

    move v5, v0

    goto/16 :goto_4d

    :cond_1f2
    move v6, v4

    move v5, v3

    goto/16 :goto_4d

    :pswitch_data_1f6
    .packed-switch 0x0
        :pswitch_a4
        :pswitch_a8
        :pswitch_c4
    .end packed-switch
.end method