.class public final Lz5/i7;
.super Ljava/lang/Object;
.source ""


# instance fields
.field public final synthetic a:I

.field public b:[B

.field public c:I

.field public d:I

.field public e:I


# direct methods
.method public constructor <init>()V
    .registers 2

    const/4 v0, 0x0

    iput v0, p0, Lz5/i7;->a:I

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    sget-object v0, Lz5/r7;->f:[B

    iput-object v0, p0, Lz5/i7;->b:[B

    return-void
.end method

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

    const/4 v0, 0x4

    iput v0, p0, Lz5/i7;->a:I

    .line 2
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/i7;->b:[B

    array-length p1, p1

    iput p1, p0, Lz5/i7;->c:I

    return-void
.end method

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

    iput p3, p0, Lz5/i7;->a:I

    const/4 v0, 0x2

    if-eq p3, v0, :cond_d

    .line 3
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/i7;->b:[B

    iput p2, p0, Lz5/i7;->e:I

    return-void

    .line 4
    :cond_d
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/i7;->b:[B

    iput p2, p0, Lz5/i7;->e:I

    return-void
.end method

.method public constructor <init>([BIII)V
    .registers 7

    iput p4, p0, Lz5/i7;->a:I

    const/4 v0, 0x0

    const/4 v1, 0x3

    if-eq p4, v1, :cond_15

    .line 5
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 6
    iput-object p1, p0, Lz5/i7;->b:[B

    iput p2, p0, Lz5/i7;->d:I

    iput p3, p0, Lz5/i7;->c:I

    iput v0, p0, Lz5/i7;->e:I

    invoke-virtual {p0}, Lz5/i7;->B()V

    return-void

    .line 7
    :cond_15
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/i7;->b:[B

    iput p2, p0, Lz5/i7;->d:I

    iput p3, p0, Lz5/i7;->c:I

    iput v0, p0, Lz5/i7;->e:I

    invoke-virtual {p0}, Lz5/i7;->y()V

    return-void
.end method


# virtual methods
.method public A(I)Z
    .registers 5

    const/4 v0, 0x2

    if-lt p1, v0, :cond_1c

    iget v0, p0, Lz5/i7;->c:I

    if-ge p1, v0, :cond_1c

    iget-object v0, p0, Lz5/i7;->b:[B

    aget-byte v1, v0, p1

    const/4 v2, 0x3

    if-ne v1, v2, :cond_1c

    add-int/lit8 v1, p1, -0x2

    aget-byte v1, v0, v1

    if-nez v1, :cond_1c

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

    aget-byte p1, v0, p1

    if-nez p1, :cond_1c

    const/4 p1, 0x1

    return p1

    :cond_1c
    const/4 p1, 0x0

    return p1
.end method

.method public B()V
    .registers 5

    iget v0, p0, Lz5/i7;->a:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    packed-switch v0, :pswitch_data_2c

    goto :goto_18

    .line 1
    :pswitch_8
    iget v0, p0, Lz5/i7;->d:I

    if-nez v0, :cond_d

    goto :goto_17

    :cond_d
    iput v2, p0, Lz5/i7;->d:I

    iget v0, p0, Lz5/i7;->c:I

    add-int/2addr v0, v1

    iput v0, p0, Lz5/i7;->c:I

    invoke-virtual {p0}, Lz5/i7;->D()V

    :goto_17
    return-void

    .line 2
    :goto_18
    iget v0, p0, Lz5/i7;->d:I

    if-ltz v0, :cond_27

    iget v3, p0, Lz5/i7;->c:I

    if-lt v0, v3, :cond_28

    if-ne v0, v3, :cond_27

    iget v0, p0, Lz5/i7;->e:I

    if-nez v0, :cond_27

    goto :goto_28

    :cond_27
    move v1, v2

    :cond_28
    :goto_28
    invoke-static {v1}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    return-void

    :pswitch_data_2c
    .packed-switch 0x0
        :pswitch_8
    .end packed-switch
.end method

.method public C(I)V
    .registers 3

    iget v0, p0, Lz5/i7;->d:I

    if-nez v0, :cond_6

    const/4 v0, 0x1

    goto :goto_7

    :cond_6
    const/4 v0, 0x0

    :goto_7
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    iget v0, p0, Lz5/i7;->c:I

    add-int/2addr v0, p1

    iput v0, p0, Lz5/i7;->c:I

    invoke-virtual {p0}, Lz5/i7;->D()V

    return-void
.end method

.method public D()V
    .registers 5

    iget v0, p0, Lz5/i7;->c:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-ltz v0, :cond_11

    iget v3, p0, Lz5/i7;->e:I

    if-lt v0, v3, :cond_12

    if-ne v0, v3, :cond_11

    iget v0, p0, Lz5/i7;->d:I

    if-nez v0, :cond_11

    goto :goto_12

    :cond_11
    move v1, v2

    :cond_12
    :goto_12
    invoke-static {v1}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    return-void
.end method

.method public a(I)I
    .registers 12

    shr-int/lit8 v0, p1, 0x3

    const/4 v1, 0x0

    move v2, v1

    move v3, v2

    :goto_5
    const/4 v4, 0x1

    const/16 v5, 0xff

    if-ge v2, v0, :cond_33

    iget v6, p0, Lz5/i7;->d:I

    if-eqz v6, :cond_20

    iget-object v7, p0, Lz5/i7;->b:[B

    iget v8, p0, Lz5/i7;->c:I

    aget-byte v9, v7, v8

    and-int/2addr v9, v5

    shl-int/2addr v9, v6

    add-int/2addr v8, v4

    aget-byte v7, v7, v8

    and-int/2addr v7, v5

    rsub-int/lit8 v6, v6, 0x8

    ushr-int v6, v7, v6

    or-int/2addr v6, v9

    goto :goto_26

    :cond_20
    iget-object v6, p0, Lz5/i7;->b:[B

    iget v7, p0, Lz5/i7;->c:I

    aget-byte v6, v6, v7

    :goto_26
    add-int/lit8 p1, p1, -0x8

    and-int/2addr v5, v6

    shl-int/2addr v5, p1

    or-int/2addr v3, v5

    iget v5, p0, Lz5/i7;->c:I

    add-int/2addr v5, v4

    iput v5, p0, Lz5/i7;->c:I

    add-int/lit8 v2, v2, 0x1

    goto :goto_5

    :cond_33
    if-lez p1, :cond_6a

    iget v0, p0, Lz5/i7;->d:I

    add-int/2addr v0, p1

    const/16 v2, 0x8

    rsub-int/lit8 p1, p1, 0x8

    shr-int p1, v5, p1

    int-to-byte p1, p1

    iget-object v6, p0, Lz5/i7;->b:[B

    iget v7, p0, Lz5/i7;->c:I

    if-le v0, v2, :cond_59

    add-int/lit8 v8, v7, 0x1

    aget-byte v7, v6, v7

    and-int/2addr v7, v5

    add-int/lit8 v9, v0, -0x8

    shl-int/2addr v7, v9

    aget-byte v6, v6, v8

    and-int/2addr v5, v6

    rsub-int/lit8 v6, v0, 0x10

    shr-int/2addr v5, v6

    or-int/2addr v5, v7

    and-int/2addr p1, v5

    or-int/2addr p1, v3

    iput v8, p0, Lz5/i7;->c:I

    goto :goto_66

    :cond_59
    aget-byte v6, v6, v7

    and-int/2addr v5, v6

    rsub-int/lit8 v6, v0, 0x8

    shr-int/2addr v5, v6

    and-int/2addr p1, v5

    or-int/2addr p1, v3

    if-ne v0, v2, :cond_66

    add-int/2addr v7, v4

    iput v7, p0, Lz5/i7;->c:I

    :cond_66
    :goto_66
    move v3, p1

    rem-int/2addr v0, v2

    iput v0, p0, Lz5/i7;->d:I

    :cond_6a
    iget p1, p0, Lz5/i7;->c:I

    if-ltz p1, :cond_7b

    iget v0, p0, Lz5/i7;->d:I

    if-ltz v0, :cond_7b

    iget v2, p0, Lz5/i7;->e:I

    if-lt p1, v2, :cond_7a

    if-ne p1, v2, :cond_7b

    if-nez v0, :cond_7b

    :cond_7a
    move v1, v4

    :cond_7b
    invoke-static {v1}, Lcom/google/android/gms/internal/ads/r;->q(Z)V

    return v3
.end method

.method public b(I)V
    .registers 6

    iget v0, p0, Lz5/i7;->d:I

    shr-int/lit8 v1, p1, 0x3

    add-int/2addr v1, v0

    iput v1, p0, Lz5/i7;->d:I

    iget v2, p0, Lz5/i7;->e:I

    const/4 v3, 0x7

    and-int/2addr p1, v3

    add-int/2addr v2, p1

    iput v2, p0, Lz5/i7;->e:I

    if-le v2, v3, :cond_18

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lz5/i7;->d:I

    add-int/lit8 v2, v2, -0x8

    iput v2, p0, Lz5/i7;->e:I

    :cond_18
    :goto_18
    add-int/lit8 v0, v0, 0x1

    iget p1, p0, Lz5/i7;->d:I

    if-gt v0, p1, :cond_2d

    invoke-virtual {p0, v0}, Lz5/i7;->v(I)Z

    move-result p1

    if-eqz p1, :cond_18

    iget p1, p0, Lz5/i7;->d:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Lz5/i7;->d:I

    add-int/lit8 v0, v0, 0x2

    goto :goto_18

    :cond_2d
    invoke-virtual {p0}, Lz5/i7;->y()V

    return-void
.end method

.method public c([BI)V
    .registers 3

    iput-object p1, p0, Lz5/i7;->b:[B

    const/4 p1, 0x0

    iput p1, p0, Lz5/i7;->c:I

    iput p1, p0, Lz5/i7;->d:I

    iput p2, p0, Lz5/i7;->e:I

    return-void
.end method

.method public d()Z
    .registers 4

    iget-object v0, p0, Lz5/i7;->b:[B

    iget v1, p0, Lz5/i7;->d:I

    aget-byte v0, v0, v1

    iget v1, p0, Lz5/i7;->e:I

    const/4 v2, 0x1

    invoke-virtual {p0, v2}, Lz5/i7;->k(I)V

    and-int/lit16 v0, v0, 0xff

    shr-int/2addr v0, v1

    and-int/2addr v0, v2

    if-eq v2, v0, :cond_14

    const/4 v0, 0x0

    return v0

    :cond_14
    return v2
.end method

.method public e()I
    .registers 3

    iget v0, p0, Lz5/i7;->e:I

    iget v1, p0, Lz5/i7;->c:I

    sub-int/2addr v0, v1

    mul-int/lit8 v0, v0, 0x8

    iget v1, p0, Lz5/i7;->d:I

    sub-int/2addr v0, v1

    return v0
.end method

.method public f(I)I
    .registers 8

    iget v0, p0, Lz5/i7;->d:I

    iget v1, p0, Lz5/i7;->e:I

    rsub-int/lit8 v1, v1, 0x8

    invoke-static {p1, v1}, Ljava/lang/Math;->min(II)I

    move-result v1

    add-int/lit8 v2, v0, 0x1

    iget-object v3, p0, Lz5/i7;->b:[B

    aget-byte v0, v3, v0

    const/16 v3, 0xff

    and-int/2addr v0, v3

    iget v4, p0, Lz5/i7;->e:I

    shr-int/2addr v0, v4

    rsub-int/lit8 v4, v1, 0x8

    shr-int v4, v3, v4

    and-int/2addr v0, v4

    :goto_1b
    if-ge v1, p1, :cond_2a

    add-int/lit8 v4, v2, 0x1

    iget-object v5, p0, Lz5/i7;->b:[B

    aget-byte v2, v5, v2

    and-int/2addr v2, v3

    shl-int/2addr v2, v1

    or-int/2addr v0, v2

    add-int/lit8 v1, v1, 0x8

    move v2, v4

    goto :goto_1b

    :cond_2a
    invoke-virtual {p0, p1}, Lz5/i7;->k(I)V

    const/4 v1, -0x1

    rsub-int/lit8 p1, p1, 0x20

    ushr-int p1, v1, p1

    and-int/2addr p1, v0

    return p1
.end method

.method public g()V
    .registers 4

    iget v0, p0, Lz5/i7;->e:I

    const/4 v1, 0x1

    add-int/2addr v0, v1

    iput v0, p0, Lz5/i7;->e:I

    const/16 v2, 0x8

    if-ne v0, v2, :cond_1c

    const/4 v0, 0x0

    iput v0, p0, Lz5/i7;->e:I

    iget v0, p0, Lz5/i7;->d:I

    add-int/lit8 v2, v0, 0x1

    invoke-virtual {p0, v2}, Lz5/i7;->A(I)Z

    move-result v2

    if-eq v1, v2, :cond_18

    goto :goto_19

    :cond_18
    const/4 v1, 0x2

    :goto_19
    add-int/2addr v0, v1

    iput v0, p0, Lz5/i7;->d:I

    :cond_1c
    invoke-virtual {p0}, Lz5/i7;->B()V

    return-void
.end method

.method public h()Z
    .registers 3

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lz5/i7;->j(I)I

    move-result v1

    if-ne v1, v0, :cond_8

    return v0

    :cond_8
    const/4 v0, 0x0

    return v0
.end method

.method public i()I
    .registers 3

    iget v0, p0, Lz5/i7;->c:I

    mul-int/lit8 v0, v0, 0x8

    iget v1, p0, Lz5/i7;->d:I

    add-int/2addr v0, v1

    return v0
.end method

.method public j(I)I
    .registers 10

    shr-int/lit8 v0, p1, 0x3

    const/4 v1, 0x0

    move v2, v1

    :goto_4
    const/16 v3, 0xff

    if-ge v1, v0, :cond_40

    iget v4, p0, Lz5/i7;->d:I

    add-int/lit8 v4, v4, 0x1

    invoke-virtual {p0, v4}, Lz5/i7;->v(I)Z

    move-result v4

    if-eqz v4, :cond_17

    iget v4, p0, Lz5/i7;->d:I

    add-int/lit8 v4, v4, 0x2

    goto :goto_1b

    :cond_17
    iget v4, p0, Lz5/i7;->d:I

    add-int/lit8 v4, v4, 0x1

    :goto_1b
    iget v5, p0, Lz5/i7;->e:I

    if-eqz v5, :cond_30

    iget-object v6, p0, Lz5/i7;->b:[B

    iget v7, p0, Lz5/i7;->d:I

    aget-byte v7, v6, v7

    and-int/2addr v7, v3

    shl-int/2addr v7, v5

    aget-byte v6, v6, v4

    and-int/2addr v6, v3

    rsub-int/lit8 v5, v5, 0x8

    ushr-int v5, v6, v5

    or-int/2addr v5, v7

    goto :goto_36

    :cond_30
    iget-object v5, p0, Lz5/i7;->b:[B

    iget v6, p0, Lz5/i7;->d:I

    aget-byte v5, v5, v6

    :goto_36
    add-int/lit8 p1, p1, -0x8

    and-int/2addr v3, v5

    shl-int/2addr v3, p1

    or-int/2addr v2, v3

    iput v4, p0, Lz5/i7;->d:I

    add-int/lit8 v1, v1, 0x1

    goto :goto_4

    :cond_40
    if-lez p1, :cond_86

    iget v0, p0, Lz5/i7;->e:I

    add-int/2addr v0, p1

    const/16 v1, 0x8

    rsub-int/lit8 p1, p1, 0x8

    shr-int p1, v3, p1

    int-to-byte p1, p1

    iget v4, p0, Lz5/i7;->d:I

    add-int/lit8 v4, v4, 0x1

    invoke-virtual {p0, v4}, Lz5/i7;->v(I)Z

    move-result v4

    if-eqz v4, :cond_5b

    iget v4, p0, Lz5/i7;->d:I

    add-int/lit8 v4, v4, 0x2

    goto :goto_5f

    :cond_5b
    iget v4, p0, Lz5/i7;->d:I

    add-int/lit8 v4, v4, 0x1

    :goto_5f
    iget-object v5, p0, Lz5/i7;->b:[B

    iget v6, p0, Lz5/i7;->d:I

    if-le v0, v1, :cond_78

    aget-byte v6, v5, v6

    and-int/2addr v6, v3

    add-int/lit8 v7, v0, -0x8

    shl-int/2addr v6, v7

    aget-byte v5, v5, v4

    and-int/2addr v3, v5

    rsub-int/lit8 v5, v0, 0x10

    shr-int/2addr v3, v5

    or-int/2addr v3, v6

    and-int/2addr p1, v3

    or-int/2addr p1, v2

    :goto_74
    iput v4, p0, Lz5/i7;->d:I

    :cond_76
    move v2, p1

    goto :goto_83

    :cond_78
    aget-byte v5, v5, v6

    and-int/2addr v3, v5

    rsub-int/lit8 v5, v0, 0x8

    shr-int/2addr v3, v5

    and-int/2addr p1, v3

    or-int/2addr p1, v2

    if-ne v0, v1, :cond_76

    goto :goto_74

    :goto_83
    rem-int/2addr v0, v1

    iput v0, p0, Lz5/i7;->e:I

    :cond_86
    invoke-virtual {p0}, Lz5/i7;->y()V

    return v2
.end method

.method public k(I)V
    .registers 8

    iget v0, p0, Lz5/i7;->a:I

    const/4 v1, 0x1

    const/4 v2, 0x7

    packed-switch v0, :pswitch_data_62

    goto :goto_38

    .line 1
    :pswitch_8
    iget v0, p0, Lz5/i7;->d:I

    div-int/lit8 v3, p1, 0x8

    add-int v4, v0, v3

    iput v4, p0, Lz5/i7;->d:I

    iget v5, p0, Lz5/i7;->e:I

    mul-int/lit8 v3, v3, 0x8

    sub-int/2addr p1, v3

    add-int/2addr p1, v5

    iput p1, p0, Lz5/i7;->e:I

    if-le p1, v2, :cond_21

    add-int/2addr v4, v1

    iput v4, p0, Lz5/i7;->d:I

    add-int/lit8 p1, p1, -0x8

    iput p1, p0, Lz5/i7;->e:I

    :cond_21
    :goto_21
    add-int/2addr v0, v1

    iget p1, p0, Lz5/i7;->d:I

    if-gt v0, p1, :cond_34

    invoke-virtual {p0, v0}, Lz5/i7;->A(I)Z

    move-result p1

    if-eqz p1, :cond_21

    iget p1, p0, Lz5/i7;->d:I

    add-int/2addr p1, v1

    iput p1, p0, Lz5/i7;->d:I

    add-int/lit8 v0, v0, 0x2

    goto :goto_21

    :cond_34
    invoke-virtual {p0}, Lz5/i7;->B()V

    return-void

    .line 2
    :goto_38
    div-int/lit8 v0, p1, 0x8

    iget v3, p0, Lz5/i7;->d:I

    add-int/2addr v3, v0

    iput v3, p0, Lz5/i7;->d:I

    iget v4, p0, Lz5/i7;->e:I

    mul-int/lit8 v0, v0, 0x8

    sub-int/2addr p1, v0

    add-int/2addr p1, v4

    iput p1, p0, Lz5/i7;->e:I

    if-le p1, v2, :cond_51

    add-int/lit8 v3, v3, 0x1

    iput v3, p0, Lz5/i7;->d:I

    add-int/lit8 p1, p1, -0x8

    iput p1, p0, Lz5/i7;->e:I

    :cond_51
    const/4 v0, 0x0

    if-ltz v3, :cond_5d

    iget v2, p0, Lz5/i7;->c:I

    if-lt v3, v2, :cond_5e

    if-ne v3, v2, :cond_5d

    if-nez p1, :cond_5d

    goto :goto_5e

    :cond_5d
    move v1, v0

    :cond_5e
    :goto_5e
    invoke-static {v1}, Lcom/google/android/gms/internal/ads/d;->n(Z)V

    return-void

    :pswitch_data_62
    .packed-switch 0x1
        :pswitch_8
    .end packed-switch
.end method

.method public l()I
    .registers 3

    iget v0, p0, Lz5/i7;->a:I

    packed-switch v0, :pswitch_data_14

    goto :goto_b

    .line 1
    :pswitch_6
    invoke-virtual {p0}, Lz5/i7;->r()I

    move-result v0

    return v0

    .line 2
    :goto_b
    iget v0, p0, Lz5/i7;->d:I

    mul-int/lit8 v0, v0, 0x8

    iget v1, p0, Lz5/i7;->e:I

    add-int/2addr v0, v1

    return v0

    nop

    :pswitch_data_14
    .packed-switch 0x3
        :pswitch_6
    .end packed-switch
.end method

.method public m(I)V
    .registers 3

    div-int/lit8 v0, p1, 0x8

    iput v0, p0, Lz5/i7;->c:I

    mul-int/lit8 v0, v0, 0x8

    sub-int/2addr p1, v0

    iput p1, p0, Lz5/i7;->d:I

    invoke-virtual {p0}, Lz5/i7;->D()V

    return-void
.end method

.method public n()Z
    .registers 4

    iget-object v0, p0, Lz5/i7;->b:[B

    iget v1, p0, Lz5/i7;->d:I

    aget-byte v0, v0, v1

    iget v1, p0, Lz5/i7;->e:I

    const/16 v2, 0x80

    shr-int v1, v2, v1

    and-int/2addr v0, v1

    if-eqz v0, :cond_11

    const/4 v0, 0x1

    goto :goto_12

    :cond_11
    const/4 v0, 0x0

    :goto_12
    invoke-virtual {p0}, Lz5/i7;->g()V

    return v0
.end method

.method public o()I
    .registers 4

    invoke-virtual {p0}, Lz5/i7;->r()I

    move-result v0

    rem-int/lit8 v1, v0, 0x2

    const/4 v2, 0x1

    if-nez v1, :cond_b

    const/4 v1, -0x1

    goto :goto_c

    :cond_b
    move v1, v2

    :goto_c
    add-int/2addr v0, v2

    div-int/lit8 v0, v0, 0x2

    mul-int/2addr v0, v1

    return v0
.end method

.method public p(I)I
    .registers 11

    iget v0, p0, Lz5/i7;->e:I

    add-int/2addr v0, p1

    iput v0, p0, Lz5/i7;->e:I

    const/4 v0, 0x0

    move v1, v0

    :goto_7
    iget v2, p0, Lz5/i7;->e:I

    const/4 v3, 0x2

    const/16 v4, 0x8

    const/4 v5, 0x1

    if-le v2, v4, :cond_2b

    add-int/lit8 v2, v2, -0x8

    iput v2, p0, Lz5/i7;->e:I

    iget-object v4, p0, Lz5/i7;->b:[B

    iget v6, p0, Lz5/i7;->d:I

    aget-byte v4, v4, v6

    and-int/lit16 v4, v4, 0xff

    shl-int v2, v4, v2

    or-int/2addr v1, v2

    add-int/lit8 v2, v6, 0x1

    invoke-virtual {p0, v2}, Lz5/i7;->A(I)Z

    move-result v2

    if-eq v5, v2, :cond_27

    move v3, v5

    :cond_27
    add-int/2addr v6, v3

    iput v6, p0, Lz5/i7;->d:I

    goto :goto_7

    :cond_2b
    iget-object v6, p0, Lz5/i7;->b:[B

    iget v7, p0, Lz5/i7;->d:I

    aget-byte v6, v6, v7

    and-int/lit16 v6, v6, 0xff

    rsub-int/lit8 v8, v2, 0x8

    shr-int/2addr v6, v8

    or-int/2addr v1, v6

    const/4 v6, -0x1

    rsub-int/lit8 p1, p1, 0x20

    ushr-int p1, v6, p1

    and-int/2addr p1, v1

    if-ne v2, v4, :cond_4d

    iput v0, p0, Lz5/i7;->e:I

    add-int/lit8 v0, v7, 0x1

    invoke-virtual {p0, v0}, Lz5/i7;->A(I)Z

    move-result v0

    if-eq v5, v0, :cond_4a

    move v3, v5

    :cond_4a
    add-int/2addr v7, v3

    iput v7, p0, Lz5/i7;->d:I

    :cond_4d
    invoke-virtual {p0}, Lz5/i7;->B()V

    return p1
.end method

.method public q()V
    .registers 3

    iget v0, p0, Lz5/i7;->d:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lz5/i7;->d:I

    const/16 v1, 0x8

    if-ne v0, v1, :cond_13

    const/4 v0, 0x0

    iput v0, p0, Lz5/i7;->d:I

    iget v0, p0, Lz5/i7;->c:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lz5/i7;->c:I

    :cond_13
    invoke-virtual {p0}, Lz5/i7;->D()V

    return-void
.end method

.method public r()I
    .registers 4

    iget v0, p0, Lz5/i7;->a:I

    packed-switch v0, :pswitch_data_22

    goto :goto_b

    .line 1
    :pswitch_6
    invoke-virtual {p0}, Lz5/i7;->w()I

    move-result v0

    return v0

    :goto_b
    const/4 v0, 0x0

    move v1, v0

    .line 2
    :goto_d
    invoke-virtual {p0}, Lz5/i7;->h()Z

    move-result v2

    if-nez v2, :cond_16

    add-int/lit8 v1, v1, 0x1

    goto :goto_d

    :cond_16
    const/4 v2, 0x1

    shl-int/2addr v2, v1

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

    if-lez v1, :cond_20

    invoke-virtual {p0, v1}, Lz5/i7;->j(I)I

    move-result v0

    :cond_20
    add-int/2addr v2, v0

    return v2

    :pswitch_data_22
    .packed-switch 0x1
        :pswitch_6
    .end packed-switch
.end method

.method public s(I)V
    .registers 5

    div-int/lit8 v0, p1, 0x8

    iget v1, p0, Lz5/i7;->c:I

    add-int/2addr v1, v0

    iput v1, p0, Lz5/i7;->c:I

    iget v2, p0, Lz5/i7;->d:I

    mul-int/lit8 v0, v0, 0x8

    sub-int/2addr p1, v0

    add-int/2addr p1, v2

    iput p1, p0, Lz5/i7;->d:I

    const/4 v0, 0x7

    if-le p1, v0, :cond_1a

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lz5/i7;->c:I

    add-int/lit8 p1, p1, -0x8

    iput p1, p0, Lz5/i7;->d:I

    :cond_1a
    invoke-virtual {p0}, Lz5/i7;->D()V

    return-void
.end method

.method public t()I
    .registers 4

    invoke-virtual {p0}, Lz5/i7;->w()I

    move-result v0

    rem-int/lit8 v1, v0, 0x2

    const/4 v2, 0x1

    if-nez v1, :cond_b

    const/4 v1, -0x1

    goto :goto_c

    :cond_b
    move v1, v2

    :goto_c
    add-int/2addr v0, v2

    div-int/lit8 v0, v0, 0x2

    mul-int/2addr v0, v1

    return v0
.end method

.method public u()Z
    .registers 4

    iget-object v0, p0, Lz5/i7;->b:[B

    iget v1, p0, Lz5/i7;->c:I

    aget-byte v0, v0, v1

    iget v1, p0, Lz5/i7;->d:I

    const/16 v2, 0x80

    shr-int v1, v2, v1

    and-int/2addr v0, v1

    if-eqz v0, :cond_11

    const/4 v0, 0x1

    goto :goto_12

    :cond_11
    const/4 v0, 0x0

    :goto_12
    invoke-virtual {p0}, Lz5/i7;->q()V

    return v0
.end method

.method public v(I)Z
    .registers 5

    const/4 v0, 0x2

    if-lt p1, v0, :cond_1c

    iget v0, p0, Lz5/i7;->c:I

    if-ge p1, v0, :cond_1c

    iget-object v0, p0, Lz5/i7;->b:[B

    aget-byte v1, v0, p1

    const/4 v2, 0x3

    if-ne v1, v2, :cond_1c

    add-int/lit8 v1, p1, -0x2

    aget-byte v1, v0, v1

    if-nez v1, :cond_1c

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

    aget-byte p1, v0, p1

    if-nez p1, :cond_1c

    const/4 p1, 0x1

    return p1

    :cond_1c
    const/4 p1, 0x0

    return p1
.end method

.method public w()I
    .registers 4

    const/4 v0, 0x0

    move v1, v0

    :goto_2
    invoke-virtual {p0}, Lz5/i7;->n()Z

    move-result v2

    if-nez v2, :cond_b

    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_b
    const/4 v2, 0x1

    shl-int/2addr v2, v1

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

    if-lez v1, :cond_15

    invoke-virtual {p0, v1}, Lz5/i7;->p(I)I

    move-result v0

    :cond_15
    add-int/2addr v2, v0

    return v2
.end method

.method public x(I)I
    .registers 9

    const/4 v0, 0x0

    if-nez p1, :cond_4

    return v0

    :cond_4
    iget v1, p0, Lz5/i7;->d:I

    add-int/2addr v1, p1

    iput v1, p0, Lz5/i7;->d:I

    move v1, v0

    :goto_a
    iget v2, p0, Lz5/i7;->d:I

    const/16 v3, 0x8

    if-le v2, v3, :cond_24

    add-int/lit8 v2, v2, -0x8

    iput v2, p0, Lz5/i7;->d:I

    iget-object v3, p0, Lz5/i7;->b:[B

    iget v4, p0, Lz5/i7;->c:I

    add-int/lit8 v5, v4, 0x1

    iput v5, p0, Lz5/i7;->c:I

    aget-byte v3, v3, v4

    and-int/lit16 v3, v3, 0xff

    shl-int v2, v3, v2

    or-int/2addr v1, v2

    goto :goto_a

    :cond_24
    iget-object v4, p0, Lz5/i7;->b:[B

    iget v5, p0, Lz5/i7;->c:I

    aget-byte v4, v4, v5

    and-int/lit16 v4, v4, 0xff

    rsub-int/lit8 v6, v2, 0x8

    shr-int/2addr v4, v6

    or-int/2addr v1, v4

    const/4 v4, -0x1

    rsub-int/lit8 p1, p1, 0x20

    ushr-int p1, v4, p1

    and-int/2addr p1, v1

    if-ne v2, v3, :cond_3e

    iput v0, p0, Lz5/i7;->d:I

    add-int/lit8 v5, v5, 0x1

    iput v5, p0, Lz5/i7;->c:I

    :cond_3e
    invoke-virtual {p0}, Lz5/i7;->D()V

    return p1
.end method

.method public y()V
    .registers 6

    iget v0, p0, Lz5/i7;->d:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-ltz v0, :cond_17

    iget v3, p0, Lz5/i7;->e:I

    if-ltz v3, :cond_17

    const/16 v4, 0x8

    if-ge v3, v4, :cond_17

    iget v4, p0, Lz5/i7;->c:I

    if-lt v0, v4, :cond_18

    if-ne v0, v4, :cond_17

    if-nez v3, :cond_17

    goto :goto_18

    :cond_17
    move v1, v2

    :cond_18
    :goto_18
    invoke-static {v1}, Lcom/google/android/gms/internal/ads/r;->q(Z)V

    return-void
.end method

.method public z([BII)V
    .registers 12

    shr-int/lit8 p2, p3, 0x3

    const/4 v0, 0x0

    move v1, v0

    :goto_4
    const/16 v2, 0xff

    const/16 v3, 0x8

    if-ge v1, p2, :cond_26

    iget-object v4, p0, Lz5/i7;->b:[B

    iget v5, p0, Lz5/i7;->c:I

    add-int/lit8 v6, v5, 0x1

    iput v6, p0, Lz5/i7;->c:I

    aget-byte v5, v4, v5

    iget v7, p0, Lz5/i7;->d:I

    shl-int/2addr v5, v7

    int-to-byte v5, v5

    aput-byte v5, p1, v1

    aget-byte v4, v4, v6

    and-int/2addr v2, v4

    sub-int/2addr v3, v7

    shr-int/2addr v2, v3

    or-int/2addr v2, v5

    int-to-byte v2, v2

    aput-byte v2, p1, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_4

    :cond_26
    and-int/lit8 p3, p3, 0x7

    if-nez p3, :cond_2b

    return-void

    :cond_2b
    aget-byte v1, p1, p2

    shr-int v4, v2, p3

    and-int/2addr v1, v4

    int-to-byte v1, v1

    aput-byte v1, p1, p2

    iget v4, p0, Lz5/i7;->d:I

    add-int v5, v4, p3

    if-le v5, v3, :cond_4b

    iget-object v5, p0, Lz5/i7;->b:[B

    iget v6, p0, Lz5/i7;->c:I

    add-int/lit8 v7, v6, 0x1

    iput v7, p0, Lz5/i7;->c:I

    aget-byte v5, v5, v6

    and-int/2addr v5, v2

    shl-int/2addr v5, v4

    or-int/2addr v1, v5

    int-to-byte v1, v1

    aput-byte v1, p1, p2

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

    :cond_4b
    add-int/2addr v4, p3

    iput v4, p0, Lz5/i7;->d:I

    iget-object v5, p0, Lz5/i7;->b:[B

    iget v6, p0, Lz5/i7;->c:I

    aget-byte v5, v5, v6

    and-int/2addr v2, v5

    rsub-int/lit8 v5, v4, 0x8

    shr-int/2addr v2, v5

    rsub-int/lit8 p3, p3, 0x8

    shl-int p3, v2, p3

    int-to-byte p3, p3

    or-int/2addr p3, v1

    int-to-byte p3, p3

    aput-byte p3, p1, p2

    if-ne v4, v3, :cond_69

    iput v0, p0, Lz5/i7;->d:I

    add-int/lit8 v6, v6, 0x1

    iput v6, p0, Lz5/i7;->c:I

    :cond_69
    invoke-virtual {p0}, Lz5/i7;->D()V

    return-void
.end method
