.class public Lt0/c;
.super Ljava/lang/Object;
.source ""


# instance fields
.field public final synthetic a:I

.field public b:I

.field public c:Ljava/lang/Object;

.field public d:I

.field public e:I

.field public f:Ljava/lang/Object;


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

    iput p1, p0, Lt0/c;->a:I

    const/16 v0, 0x64

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eq p1, v2, :cond_2c

    const/4 v3, 0x2

    if-eq p1, v3, :cond_1e

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

    .line 2
    sget-object p1, Lt0/d;->a:Lt0/d;

    if-nez p1, :cond_19

    new-instance p1, Lt0/d;

    invoke-direct {p1}, Lt0/d;-><init>()V

    sput-object p1, Lt0/d;->a:Lt0/d;

    :cond_19
    sget-object p1, Lt0/d;->a:Lt0/d;

    .line 3
    iput-object p1, p0, Lt0/c;->f:Ljava/lang/Object;

    return-void

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

    iput v1, p0, Lt0/c;->e:I

    new-array p1, v0, [Lz5/or1;

    iput-object p1, p0, Lt0/c;->f:Ljava/lang/Object;

    new-array p1, v2, [Lz5/or1;

    iput-object p1, p0, Lt0/c;->c:Ljava/lang/Object;

    return-void

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

    iput v1, p0, Lt0/c;->e:I

    new-array p1, v0, [Lz5/id;

    iput-object p1, p0, Lt0/c;->f:Ljava/lang/Object;

    new-array p1, v2, [Lz5/id;

    iput-object p1, p0, Lt0/c;->c:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public a(I)I
    .registers 4

    iget v0, p0, Lt0/c;->e:I

    if-ge p1, v0, :cond_10

    iget-object v0, p0, Lt0/c;->c:Ljava/lang/Object;

    check-cast v0, Ljava/nio/ByteBuffer;

    iget v1, p0, Lt0/c;->d:I

    add-int/2addr v1, p1

    invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->getShort(I)S

    move-result p1

    goto :goto_11

    :cond_10
    const/4 p1, 0x0

    :goto_11
    return p1
.end method

.method public b(ILjava/nio/ByteBuffer;)V
    .registers 4

    iput-object p2, p0, Lt0/c;->c:Ljava/lang/Object;

    move-object v0, p2

    check-cast v0, Ljava/nio/ByteBuffer;

    if-eqz v0, :cond_1b

    iput p1, p0, Lt0/c;->b:I

    check-cast p2, Ljava/nio/ByteBuffer;

    invoke-virtual {p2, p1}, Ljava/nio/ByteBuffer;->getInt(I)I

    move-result p2

    sub-int/2addr p1, p2

    iput p1, p0, Lt0/c;->d:I

    iget-object p2, p0, Lt0/c;->c:Ljava/lang/Object;

    check-cast p2, Ljava/nio/ByteBuffer;

    invoke-virtual {p2, p1}, Ljava/nio/ByteBuffer;->getShort(I)S

    move-result p1

    goto :goto_20

    :cond_1b
    const/4 p1, 0x0

    iput p1, p0, Lt0/c;->b:I

    iput p1, p0, Lt0/c;->d:I

    :goto_20
    iput p1, p0, Lt0/c;->e:I

    return-void
.end method

.method public c(I)I
    .registers 3

    iget v0, p0, Lt0/c;->b:I

    add-int/2addr p1, v0

    iget-object v0, p0, Lt0/c;->c:Ljava/lang/Object;

    check-cast v0, Ljava/nio/ByteBuffer;

    invoke-virtual {v0, p1}, Ljava/nio/ByteBuffer;->getInt(I)I

    move-result v0

    add-int/2addr v0, p1

    iget-object p1, p0, Lt0/c;->c:Ljava/lang/Object;

    check-cast p1, Ljava/nio/ByteBuffer;

    invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->getInt(I)I

    move-result p1

    return p1
.end method

.method public declared-synchronized d()V
    .registers 3

    iget v0, p0, Lt0/c;->a:I

    const/4 v1, 0x0

    packed-switch v0, :pswitch_data_1a

    goto :goto_10

    .line 1
    :pswitch_7
    monitor-enter p0

    :try_start_8
    invoke-virtual {p0, v1}, Lt0/c;->e(I)V
    :try_end_b
    .catchall {:try_start_8 .. :try_end_b} :catchall_d

    monitor-exit p0

    return-void

    :catchall_d
    move-exception v0

    monitor-exit p0

    throw v0

    .line 2
    :goto_10
    monitor-enter p0

    :try_start_11
    invoke-virtual {p0, v1}, Lt0/c;->e(I)V
    :try_end_14
    .catchall {:try_start_11 .. :try_end_14} :catchall_16

    monitor-exit p0

    return-void

    :catchall_16
    move-exception v0

    monitor-exit p0

    throw v0

    nop

    :pswitch_data_1a
    .packed-switch 0x1
        :pswitch_7
    .end packed-switch
.end method

.method public declared-synchronized e(I)V
    .registers 3

    iget v0, p0, Lt0/c;->a:I

    packed-switch v0, :pswitch_data_24

    goto :goto_15

    .line 1
    :pswitch_6
    monitor-enter p0

    :try_start_7
    iget v0, p0, Lt0/c;->b:I

    iput p1, p0, Lt0/c;->b:I

    if-ge p1, v0, :cond_10

    invoke-virtual {p0}, Lt0/c;->i()V
    :try_end_10
    .catchall {:try_start_7 .. :try_end_10} :catchall_12

    :cond_10
    monitor-exit p0

    return-void

    :catchall_12
    move-exception p1

    monitor-exit p0

    throw p1

    .line 2
    :goto_15
    monitor-enter p0

    :try_start_16
    iget v0, p0, Lt0/c;->b:I

    iput p1, p0, Lt0/c;->b:I

    if-ge p1, v0, :cond_1f

    invoke-virtual {p0}, Lt0/c;->i()V
    :try_end_1f
    .catchall {:try_start_16 .. :try_end_1f} :catchall_21

    :cond_1f
    monitor-exit p0

    return-void

    :catchall_21
    move-exception p1

    monitor-exit p0

    throw p1

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

.method public declared-synchronized f(Lz5/id;)V
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lt0/c;->c:Ljava/lang/Object;

    check-cast v0, [Lz5/id;

    const/4 v1, 0x0

    aput-object p1, v0, v1

    invoke-virtual {p0, v0}, Lt0/c;->g([Lz5/id;)V
    :try_end_b
    .catchall {:try_start_1 .. :try_end_b} :catchall_d

    monitor-exit p0

    return-void

    :catchall_d
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public declared-synchronized g([Lz5/id;)V
    .registers 8

    monitor-enter p0

    :try_start_1
    iget v0, p0, Lt0/c;->e:I

    array-length v1, p1

    add-int/2addr v0, v1

    iget-object v2, p0, Lt0/c;->f:Ljava/lang/Object;

    check-cast v2, [Lz5/id;

    array-length v3, v2

    const/4 v4, 0x0

    if-lt v0, v3, :cond_1a

    add-int/2addr v3, v3

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

    move-result v0

    invoke-static {v2, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lz5/id;

    iput-object v0, p0, Lt0/c;->f:Ljava/lang/Object;

    :cond_1a
    :goto_1a
    if-ge v4, v1, :cond_2f

    aget-object v0, p1, v4

    iget-object v2, v0, Lz5/id;->a:[B

    iget-object v2, p0, Lt0/c;->f:Ljava/lang/Object;

    check-cast v2, [Lz5/id;

    iget v3, p0, Lt0/c;->e:I

    add-int/lit8 v5, v3, 0x1

    iput v5, p0, Lt0/c;->e:I

    aput-object v0, v2, v3

    add-int/lit8 v4, v4, 0x1

    goto :goto_1a

    :cond_2f
    iget v0, p0, Lt0/c;->d:I

    array-length p1, p1

    sub-int/2addr v0, p1

    iput v0, p0, Lt0/c;->d:I

    invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
    :try_end_38
    .catchall {:try_start_1 .. :try_end_38} :catchall_3a

    monitor-exit p0

    return-void

    :catchall_3a
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public declared-synchronized h([Lz5/or1;)V
    .registers 8

    monitor-enter p0

    :try_start_1
    iget v0, p0, Lt0/c;->e:I

    array-length v1, p1

    add-int/2addr v0, v1

    iget-object v2, p0, Lt0/c;->f:Ljava/lang/Object;

    check-cast v2, [Lz5/or1;

    array-length v3, v2

    const/4 v4, 0x0

    if-lt v0, v3, :cond_1a

    add-int/2addr v3, v3

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

    move-result v0

    invoke-static {v2, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lz5/or1;

    iput-object v0, p0, Lt0/c;->f:Ljava/lang/Object;

    :cond_1a
    :goto_1a
    if-ge v4, v1, :cond_2d

    aget-object v0, p1, v4

    iget-object v2, p0, Lt0/c;->f:Ljava/lang/Object;

    check-cast v2, [Lz5/or1;

    iget v3, p0, Lt0/c;->e:I

    add-int/lit8 v5, v3, 0x1

    iput v5, p0, Lt0/c;->e:I

    aput-object v0, v2, v3

    add-int/lit8 v4, v4, 0x1

    goto :goto_1a

    :cond_2d
    iget v0, p0, Lt0/c;->d:I

    array-length p1, p1

    sub-int/2addr v0, p1

    iput v0, p0, Lt0/c;->d:I

    invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
    :try_end_36
    .catchall {:try_start_1 .. :try_end_36} :catchall_38

    monitor-exit p0

    return-void

    :catchall_38
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public declared-synchronized i()V
    .registers 5

    iget v0, p0, Lt0/c;->a:I

    const/4 v1, 0x0

    const/high16 v2, 0x10000

    const/4 v3, 0x0

    packed-switch v0, :pswitch_data_4c

    goto :goto_2b

    .line 1
    :pswitch_a
    monitor-enter p0

    :try_start_b
    iget v0, p0, Lt0/c;->b:I

    invoke-static {v0, v2}, Lz5/be;->b(II)I

    move-result v0

    iget v2, p0, Lt0/c;->d:I

    sub-int/2addr v0, v2

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

    move-result v0

    iget v2, p0, Lt0/c;->e:I

    if-lt v0, v2, :cond_1d

    goto :goto_26

    :cond_1d
    iget-object v3, p0, Lt0/c;->f:Ljava/lang/Object;

    check-cast v3, [Lz5/id;

    invoke-static {v3, v0, v2, v1}, Ljava/util/Arrays;->fill([Ljava/lang/Object;IILjava/lang/Object;)V

    iput v0, p0, Lt0/c;->e:I
    :try_end_26
    .catchall {:try_start_b .. :try_end_26} :catchall_28

    :goto_26
    monitor-exit p0

    return-void

    :catchall_28
    move-exception v0

    monitor-exit p0

    throw v0

    .line 2
    :goto_2b
    monitor-enter p0

    :try_start_2c
    iget v0, p0, Lt0/c;->b:I

    invoke-static {v0, v2}, Lz5/r7;->u(II)I

    move-result v0

    iget v2, p0, Lt0/c;->d:I

    sub-int/2addr v0, v2

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

    move-result v0

    iget v2, p0, Lt0/c;->e:I

    if-lt v0, v2, :cond_3e

    goto :goto_47

    :cond_3e
    iget-object v3, p0, Lt0/c;->f:Ljava/lang/Object;

    check-cast v3, [Lz5/or1;

    invoke-static {v3, v0, v2, v1}, Ljava/util/Arrays;->fill([Ljava/lang/Object;IILjava/lang/Object;)V

    iput v0, p0, Lt0/c;->e:I
    :try_end_47
    .catchall {:try_start_2c .. :try_end_47} :catchall_49

    :goto_47
    monitor-exit p0

    return-void

    :catchall_49
    move-exception v0

    monitor-exit p0

    throw v0

    :pswitch_data_4c
    .packed-switch 0x1
        :pswitch_a
    .end packed-switch
.end method

.method public declared-synchronized j()I
    .registers 3

    iget v0, p0, Lt0/c;->a:I

    const/high16 v1, 0x10000

    packed-switch v0, :pswitch_data_1a

    goto :goto_11

    .line 1
    :pswitch_8
    monitor-enter p0

    :try_start_9
    iget v0, p0, Lt0/c;->d:I
    :try_end_b
    .catchall {:try_start_9 .. :try_end_b} :catchall_e

    mul-int/2addr v0, v1

    monitor-exit p0

    return v0

    :catchall_e
    move-exception v0

    monitor-exit p0

    throw v0

    .line 2
    :goto_11
    monitor-enter p0

    :try_start_12
    iget v0, p0, Lt0/c;->d:I
    :try_end_14
    .catchall {:try_start_12 .. :try_end_14} :catchall_17

    mul-int/2addr v0, v1

    monitor-exit p0

    return v0

    :catchall_17
    move-exception v0

    monitor-exit p0

    throw v0

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