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


# instance fields
.field public final a:Lz5/oc;

.field public final b:Lz5/nc;

.field public final c:Lz5/j7;

.field public final d:Ljava/util/concurrent/atomic/AtomicInteger;

.field public e:Lz5/k7;

.field public f:Lz5/k7;

.field public g:Lz5/j8;

.field public h:J

.field public i:I

.field public j:Lz5/dc;

.field public final k:Lt0/c;


# direct methods
.method public constructor <init>(Lt0/c;)V
    .registers 6

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

    iput-object p1, p0, Lz5/qc;->k:Lt0/c;

    new-instance p1, Lz5/oc;

    invoke-direct {p1}, Lz5/oc;-><init>()V

    iput-object p1, p0, Lz5/qc;->a:Lz5/oc;

    new-instance p1, Lz5/nc;

    invoke-direct {p1}, Lz5/nc;-><init>()V

    iput-object p1, p0, Lz5/qc;->b:Lz5/nc;

    new-instance p1, Lz5/j7;

    const/16 v0, 0x20

    const/4 v1, 0x1

    invoke-direct {p1, v0, v1}, Lz5/j7;-><init>(II)V

    iput-object p1, p0, Lz5/qc;->c:Lz5/j7;

    new-instance p1, Ljava/util/concurrent/atomic/AtomicInteger;

    invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V

    iput-object p1, p0, Lz5/qc;->d:Ljava/util/concurrent/atomic/AtomicInteger;

    const/high16 p1, 0x10000

    iput p1, p0, Lz5/qc;->i:I

    new-instance p1, Lz5/k7;

    const-wide/16 v2, 0x0

    invoke-direct {p1, v2, v3, v1}, Lz5/k7;-><init>(JI)V

    iput-object p1, p0, Lz5/qc;->e:Lz5/k7;

    iput-object p1, p0, Lz5/qc;->f:Lz5/k7;

    return-void
.end method


# virtual methods
.method public final a(Lz5/j8;)V
    .registers 6

    if-nez p1, :cond_3

    const/4 p1, 0x0

    :cond_3
    iget-object v0, p0, Lz5/qc;->a:Lz5/oc;

    .line 1
    monitor-enter v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-nez p1, :cond_f

    :try_start_a
    iput-boolean v1, v0, Lz5/oc;->p:Z
    :try_end_c
    .catchall {:try_start_a .. :try_end_c} :catchall_2b

    :goto_c
    monitor-exit v0

    move v1, v2

    goto :goto_1d

    :cond_f
    :try_start_f
    iput-boolean v2, v0, Lz5/oc;->p:Z

    iget-object v3, v0, Lz5/oc;->q:Lz5/j8;

    invoke-static {p1, v3}, Lz5/be;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1a

    goto :goto_c

    :cond_1a
    iput-object p1, v0, Lz5/oc;->q:Lz5/j8;
    :try_end_1c
    .catchall {:try_start_f .. :try_end_1c} :catchall_2b

    monitor-exit v0

    .line 2
    :goto_1d
    iget-object p1, p0, Lz5/qc;->j:Lz5/dc;

    if-eqz p1, :cond_2a

    if-eqz v1, :cond_2a

    .line 3
    iget-object v0, p1, Lz5/dc;->D:Landroid/os/Handler;

    iget-object p1, p1, Lz5/dc;->B:Ljava/lang/Runnable;

    invoke-virtual {v0, p1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_2a
    return-void

    :catchall_2b
    move-exception p1

    .line 4
    monitor-exit v0

    throw p1
.end method

.method public final b(Lz5/j7;I)V
    .registers 8

    invoke-virtual {p0}, Lz5/qc;->l()Z

    move-result v0

    if-eqz v0, :cond_2a

    :goto_6
    if-lez p2, :cond_26

    invoke-virtual {p0, p2}, Lz5/qc;->o(I)I

    move-result v0

    iget-object v1, p0, Lz5/qc;->f:Lz5/k7;

    iget-object v1, v1, Lz5/k7;->r:Ljava/lang/Object;

    check-cast v1, Lz5/id;

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

    iget v2, p0, Lz5/qc;->i:I

    invoke-virtual {p1, v1, v2, v0}, Lz5/j7;->v([BII)V

    iget v1, p0, Lz5/qc;->i:I

    add-int/2addr v1, v0

    iput v1, p0, Lz5/qc;->i:I

    iget-wide v1, p0, Lz5/qc;->h:J

    int-to-long v3, v0

    add-long/2addr v1, v3

    iput-wide v1, p0, Lz5/qc;->h:J

    sub-int/2addr p2, v0

    goto :goto_6

    :cond_26
    invoke-virtual {p0}, Lz5/qc;->m()V

    return-void

    .line 1
    :cond_2a
    iget v0, p1, Lz5/j7;->c:I

    add-int/2addr v0, p2

    invoke-virtual {p1, v0}, Lz5/j7;->r(I)V

    return-void
.end method

.method public final c(JIILz5/da;)V
    .registers 18

    move-object v1, p0

    invoke-virtual {p0}, Lz5/qc;->l()Z

    move-result v0

    if-eqz v0, :cond_22

    :try_start_7
    iget-wide v2, v1, Lz5/qc;->h:J

    move/from16 v0, p4

    int-to-long v4, v0

    sub-long v8, v2, v4

    iget-object v4, v1, Lz5/qc;->a:Lz5/oc;

    move-wide v5, p1

    move v7, p3

    move/from16 v10, p4

    move-object/from16 v11, p5

    invoke-virtual/range {v4 .. v11}, Lz5/oc;->b(JIJILz5/da;)V
    :try_end_19
    .catchall {:try_start_7 .. :try_end_19} :catchall_1d

    invoke-virtual {p0}, Lz5/qc;->m()V

    return-void

    :catchall_1d
    move-exception v0

    invoke-virtual {p0}, Lz5/qc;->m()V

    throw v0

    :cond_22
    iget-object v2, v1, Lz5/qc;->a:Lz5/oc;

    .line 1
    monitor-enter v2

    :try_start_25
    iget-wide v3, v2, Lz5/oc;->n:J

    move-wide v5, p1

    invoke-static {v3, v4, p1, p2}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v3

    iput-wide v3, v2, Lz5/oc;->n:J
    :try_end_2e
    .catchall {:try_start_25 .. :try_end_2e} :catchall_30

    monitor-exit v2

    return-void

    :catchall_30
    move-exception v0

    monitor-exit v2

    throw v0
.end method

.method public final d(Lz5/w9;IZ)I
    .registers 11

    invoke-virtual {p0}, Lz5/qc;->l()Z

    move-result p3

    const/4 v0, -0x1

    if-nez p3, :cond_2e

    .line 1
    iget p3, p1, Lz5/w9;->f:I

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

    move-result p3

    invoke-virtual {p1, p3}, Lz5/w9;->e(I)V

    if-nez p3, :cond_22

    .line 2
    sget-object v2, Lz5/w9;->g:[B

    const/4 v3, 0x0

    const/16 p3, 0x1000

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

    move-result v4

    const/4 v5, 0x0

    const/4 v6, 0x1

    move-object v1, p1

    invoke-virtual/range {v1 .. v6}, Lz5/w9;->f([BIIIZ)I

    move-result p3

    :cond_22
    invoke-virtual {p1, p3}, Lz5/w9;->g(I)V

    if-eq p3, v0, :cond_28

    return p3

    .line 3
    :cond_28
    new-instance p1, Ljava/io/EOFException;

    invoke-direct {p1}, Ljava/io/EOFException;-><init>()V

    throw p1

    :cond_2e
    :try_start_2e
    invoke-virtual {p0, p2}, Lz5/qc;->o(I)I

    move-result v4

    iget-object p2, p0, Lz5/qc;->f:Lz5/k7;

    iget-object p2, p2, Lz5/k7;->r:Ljava/lang/Object;

    check-cast p2, Lz5/id;

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

    iget v3, p0, Lz5/qc;->i:I

    .line 4
    iget p2, p1, Lz5/w9;->f:I

    const/4 p3, 0x0

    if-nez p2, :cond_42

    goto :goto_4f

    :cond_42
    invoke-static {p2, v4}, Ljava/lang/Math;->min(II)I

    move-result p2

    iget-object v1, p1, Lz5/w9;->d:[B

    invoke-static {v1, p3, v2, v3, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    invoke-virtual {p1, p2}, Lz5/w9;->e(I)V

    move p3, p2

    :goto_4f
    if-nez p3, :cond_58

    const/4 v5, 0x0

    const/4 v6, 0x1

    move-object v1, p1

    .line 5
    invoke-virtual/range {v1 .. v6}, Lz5/w9;->f([BIIIZ)I

    move-result p3

    :cond_58
    invoke-virtual {p1, p3}, Lz5/w9;->g(I)V

    if-eq p3, v0, :cond_6c

    .line 6
    iget p1, p0, Lz5/qc;->i:I

    add-int/2addr p1, p3

    iput p1, p0, Lz5/qc;->i:I

    iget-wide p1, p0, Lz5/qc;->h:J

    int-to-long v0, p3

    add-long/2addr p1, v0

    iput-wide p1, p0, Lz5/qc;->h:J
    :try_end_68
    .catchall {:try_start_2e .. :try_end_68} :catchall_72

    invoke-virtual {p0}, Lz5/qc;->m()V

    return p3

    :cond_6c
    :try_start_6c
    new-instance p1, Ljava/io/EOFException;

    invoke-direct {p1}, Ljava/io/EOFException;-><init>()V

    throw p1
    :try_end_72
    .catchall {:try_start_6c .. :try_end_72} :catchall_72

    :catchall_72
    move-exception p1

    invoke-virtual {p0}, Lz5/qc;->m()V

    throw p1
.end method

.method public final e(Z)V
    .registers 6

    iget-object v0, p0, Lz5/qc;->d:Ljava/util/concurrent/atomic/AtomicInteger;

    const/4 v1, 0x2

    const/4 v2, 0x1

    if-eq v2, p1, :cond_8

    move p1, v1

    goto :goto_9

    :cond_8
    const/4 p1, 0x0

    :goto_9
    invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndSet(I)I

    move-result p1

    invoke-virtual {p0}, Lz5/qc;->n()V

    iget-object v0, p0, Lz5/qc;->a:Lz5/oc;

    const-wide/high16 v2, -0x8000000000000000L

    .line 1
    iput-wide v2, v0, Lz5/oc;->m:J

    iput-wide v2, v0, Lz5/oc;->n:J

    if-ne p1, v1, :cond_1d

    const/4 p1, 0x0

    .line 2
    iput-object p1, p0, Lz5/qc;->g:Lz5/j8;

    :cond_1d
    return-void
.end method

.method public final f()V
    .registers 3

    iget-object v0, p0, Lz5/qc;->d:Ljava/util/concurrent/atomic/AtomicInteger;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndSet(I)I

    move-result v0

    if-nez v0, :cond_c

    invoke-virtual {p0}, Lz5/qc;->n()V

    :cond_c
    return-void
.end method

.method public final g()Lz5/j8;
    .registers 3

    iget-object v0, p0, Lz5/qc;->a:Lz5/oc;

    .line 1
    monitor-enter v0

    :try_start_3
    iget-boolean v1, v0, Lz5/oc;->p:Z
    :try_end_5
    .catchall {:try_start_3 .. :try_end_5} :catchall_e

    if-eqz v1, :cond_a

    const/4 v1, 0x0

    :goto_8
    monitor-exit v0

    goto :goto_d

    :cond_a
    :try_start_a
    iget-object v1, v0, Lz5/oc;->q:Lz5/j8;
    :try_end_c
    .catchall {:try_start_a .. :try_end_c} :catchall_e

    goto :goto_8

    :goto_d
    return-object v1

    :catchall_e
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public final h()J
    .registers 6

    iget-object v0, p0, Lz5/qc;->a:Lz5/oc;

    .line 1
    monitor-enter v0

    :try_start_3
    iget-wide v1, v0, Lz5/oc;->m:J

    iget-wide v3, v0, Lz5/oc;->n:J

    invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v1
    :try_end_b
    .catchall {:try_start_3 .. :try_end_b} :catchall_d

    monitor-exit v0

    return-wide v1

    :catchall_d
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public final i(JZ)Z
    .registers 15

    iget-object v0, p0, Lz5/qc;->a:Lz5/oc;

    .line 1
    monitor-enter v0

    :try_start_3
    invoke-virtual {v0}, Lz5/oc;->a()Z

    move-result v1

    const/4 v2, 0x0

    const-wide/16 v3, -0x1

    const/4 v5, 0x1

    if-eqz v1, :cond_5b

    iget-object v1, v0, Lz5/oc;->f:[J

    iget v6, v0, Lz5/oc;->k:I

    aget-wide v7, v1, v6

    cmp-long v1, p1, v7

    if-gez v1, :cond_18

    goto :goto_5b

    :cond_18
    iget-wide v7, v0, Lz5/oc;->n:J

    cmp-long v1, p1, v7

    const/4 v7, -0x1

    if-lez v1, :cond_21

    if-eqz p3, :cond_5b

    :cond_21
    move v1, v2

    move p3, v7

    :goto_23
    iget v8, v0, Lz5/oc;->l:I

    if-eq v6, v8, :cond_40

    iget-object v8, v0, Lz5/oc;->f:[J

    aget-wide v9, v8, v6

    cmp-long v8, v9, p1

    if-lez v8, :cond_30

    goto :goto_40

    :cond_30
    iget-object v8, v0, Lz5/oc;->e:[I

    aget v8, v8, v6

    and-int/2addr v8, v5

    if-ne v5, v8, :cond_38

    move p3, v1

    :cond_38
    add-int/lit8 v6, v6, 0x1

    iget v8, v0, Lz5/oc;->a:I

    rem-int/2addr v6, v8

    add-int/lit8 v1, v1, 0x1

    goto :goto_23

    :cond_40
    :goto_40
    if-ne p3, v7, :cond_43

    goto :goto_5b

    :cond_43
    iget p1, v0, Lz5/oc;->k:I

    add-int/2addr p1, p3

    iget p2, v0, Lz5/oc;->a:I

    rem-int/2addr p1, p2

    iput p1, v0, Lz5/oc;->k:I

    iget p2, v0, Lz5/oc;->j:I

    add-int/2addr p2, p3

    iput p2, v0, Lz5/oc;->j:I

    iget p2, v0, Lz5/oc;->i:I

    sub-int/2addr p2, p3

    iput p2, v0, Lz5/oc;->i:I

    iget-object p2, v0, Lz5/oc;->c:[J

    aget-wide p1, p2, p1
    :try_end_59
    .catchall {:try_start_3 .. :try_end_59} :catchall_66

    monitor-exit v0

    goto :goto_5d

    :cond_5b
    :goto_5b
    monitor-exit v0

    move-wide p1, v3

    :goto_5d
    cmp-long p3, p1, v3

    if-nez p3, :cond_62

    return v2

    .line 2
    :cond_62
    invoke-virtual {p0, p1, p2}, Lz5/qc;->k(J)V

    return v5

    :catchall_66
    move-exception p1

    .line 3
    monitor-exit v0

    throw p1
.end method

.method public final j(J[BI)V
    .registers 11

    invoke-virtual {p0, p1, p2}, Lz5/qc;->k(J)V

    const/4 v0, 0x0

    :cond_4
    :goto_4
    if-ge v0, p4, :cond_3d

    iget-object v1, p0, Lz5/qc;->e:Lz5/k7;

    iget-wide v1, v1, Lz5/k7;->t:J

    sub-long v1, p1, v1

    long-to-int v1, v1

    sub-int v2, p4, v0

    const/high16 v3, 0x10000

    sub-int/2addr v3, v1

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

    move-result v2

    iget-object v3, p0, Lz5/qc;->e:Lz5/k7;

    iget-object v3, v3, Lz5/k7;->r:Ljava/lang/Object;

    check-cast v3, Lz5/id;

    iget-object v4, v3, Lz5/id;->a:[B

    invoke-static {v4, v1, p3, v0, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    int-to-long v4, v2

    add-long/2addr p1, v4

    add-int/2addr v0, v2

    iget-object v1, p0, Lz5/qc;->e:Lz5/k7;

    iget-wide v1, v1, Lz5/k7;->u:J

    cmp-long v1, p1, v1

    if-nez v1, :cond_4

    iget-object v1, p0, Lz5/qc;->k:Lt0/c;

    invoke-virtual {v1, v3}, Lt0/c;->f(Lz5/id;)V

    iget-object v1, p0, Lz5/qc;->e:Lz5/k7;

    const/4 v2, 0x0

    iput-object v2, v1, Lz5/k7;->r:Ljava/lang/Object;

    iget-object v1, v1, Lz5/k7;->v:Ljava/lang/Object;

    check-cast v1, Lz5/k7;

    iput-object v1, p0, Lz5/qc;->e:Lz5/k7;

    goto :goto_4

    :cond_3d
    return-void
.end method

.method public final k(J)V
    .registers 6

    :goto_0
    iget-object v0, p0, Lz5/qc;->e:Lz5/k7;

    iget-wide v1, v0, Lz5/k7;->u:J

    cmp-long v1, p1, v1

    if-ltz v1, :cond_1d

    iget-object v1, p0, Lz5/qc;->k:Lt0/c;

    iget-object v0, v0, Lz5/k7;->r:Ljava/lang/Object;

    check-cast v0, Lz5/id;

    invoke-virtual {v1, v0}, Lt0/c;->f(Lz5/id;)V

    iget-object v0, p0, Lz5/qc;->e:Lz5/k7;

    const/4 v1, 0x0

    iput-object v1, v0, Lz5/k7;->r:Ljava/lang/Object;

    iget-object v0, v0, Lz5/k7;->v:Ljava/lang/Object;

    check-cast v0, Lz5/k7;

    iput-object v0, p0, Lz5/qc;->e:Lz5/k7;

    goto :goto_0

    :cond_1d
    return-void
.end method

.method public final l()Z
    .registers 4

    iget-object v0, p0, Lz5/qc;->d:Ljava/util/concurrent/atomic/AtomicInteger;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z

    move-result v0

    return v0
.end method

.method public final m()V
    .registers 4

    iget-object v0, p0, Lz5/qc;->d:Ljava/util/concurrent/atomic/AtomicInteger;

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z

    move-result v0

    if-nez v0, :cond_d

    invoke-virtual {p0}, Lz5/qc;->n()V

    :cond_d
    return-void
.end method

.method public final n()V
    .registers 11

    iget-object v0, p0, Lz5/qc;->a:Lz5/oc;

    const/4 v1, 0x0

    .line 1
    iput v1, v0, Lz5/oc;->j:I

    iput v1, v0, Lz5/oc;->k:I

    iput v1, v0, Lz5/oc;->l:I

    iput v1, v0, Lz5/oc;->i:I

    const/4 v2, 0x1

    iput-boolean v2, v0, Lz5/oc;->o:Z

    .line 2
    iget-object v0, p0, Lz5/qc;->e:Lz5/k7;

    iget-boolean v3, v0, Lz5/k7;->s:Z

    const/high16 v4, 0x10000

    if-nez v3, :cond_17

    goto :goto_3c

    :cond_17
    iget-object v3, p0, Lz5/qc;->f:Lz5/k7;

    iget-boolean v5, v3, Lz5/k7;->s:Z

    iget-wide v6, v3, Lz5/k7;->t:J

    iget-wide v8, v0, Lz5/k7;->t:J

    sub-long/2addr v6, v8

    long-to-int v3, v6

    div-int/2addr v3, v4

    add-int/2addr v3, v5

    new-array v5, v3, [Lz5/id;

    :goto_25
    if-ge v1, v3, :cond_37

    iget-object v6, v0, Lz5/k7;->r:Ljava/lang/Object;

    check-cast v6, Lz5/id;

    aput-object v6, v5, v1

    const/4 v6, 0x0

    iput-object v6, v0, Lz5/k7;->r:Ljava/lang/Object;

    iget-object v0, v0, Lz5/k7;->v:Ljava/lang/Object;

    check-cast v0, Lz5/k7;

    add-int/lit8 v1, v1, 0x1

    goto :goto_25

    :cond_37
    iget-object v0, p0, Lz5/qc;->k:Lt0/c;

    invoke-virtual {v0, v5}, Lt0/c;->g([Lz5/id;)V

    :goto_3c
    new-instance v0, Lz5/k7;

    const-wide/16 v5, 0x0

    invoke-direct {v0, v5, v6, v2}, Lz5/k7;-><init>(JI)V

    iput-object v0, p0, Lz5/qc;->e:Lz5/k7;

    iput-object v0, p0, Lz5/qc;->f:Lz5/k7;

    iput-wide v5, p0, Lz5/qc;->h:J

    iput v4, p0, Lz5/qc;->i:I

    iget-object v0, p0, Lz5/qc;->k:Lt0/c;

    invoke-virtual {v0}, Lt0/c;->i()V

    return-void
.end method

.method public final o(I)I
    .registers 11

    iget v0, p0, Lz5/qc;->i:I

    const/high16 v1, 0x10000

    if-ne v0, v1, :cond_4d

    const/4 v0, 0x0

    iput v0, p0, Lz5/qc;->i:I

    iget-object v0, p0, Lz5/qc;->f:Lz5/k7;

    iget-boolean v2, v0, Lz5/k7;->s:Z

    if-eqz v2, :cond_15

    iget-object v0, v0, Lz5/k7;->v:Ljava/lang/Object;

    check-cast v0, Lz5/k7;

    iput-object v0, p0, Lz5/qc;->f:Lz5/k7;

    :cond_15
    iget-object v0, p0, Lz5/qc;->f:Lz5/k7;

    iget-object v2, p0, Lz5/qc;->k:Lt0/c;

    .line 1
    monitor-enter v2

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

    const/4 v4, 0x1

    add-int/2addr v3, v4

    iput v3, v2, Lt0/c;->d:I

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

    if-lez v3, :cond_32

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

    check-cast v5, [Lz5/id;

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

    iput v3, v2, Lt0/c;->e:I

    aget-object v6, v5, v3

    const/4 v7, 0x0

    aput-object v7, v5, v3

    goto :goto_39

    :cond_32
    new-instance v6, Lz5/id;

    new-array v3, v1, [B

    invoke-direct {v6, v3}, Lz5/id;-><init>([B)V
    :try_end_39
    .catchall {:try_start_1a .. :try_end_39} :catchall_4a

    :goto_39
    monitor-exit v2

    .line 2
    new-instance v2, Lz5/k7;

    iget-object v3, p0, Lz5/qc;->f:Lz5/k7;

    iget-wide v7, v3, Lz5/k7;->u:J

    invoke-direct {v2, v7, v8, v4}, Lz5/k7;-><init>(JI)V

    iput-object v6, v0, Lz5/k7;->r:Ljava/lang/Object;

    iput-object v2, v0, Lz5/k7;->v:Ljava/lang/Object;

    iput-boolean v4, v0, Lz5/k7;->s:Z

    goto :goto_4d

    :catchall_4a
    move-exception p1

    .line 3
    monitor-exit v2

    throw p1

    .line 4
    :cond_4d
    :goto_4d
    iget v0, p0, Lz5/qc;->i:I

    sub-int/2addr v1, v0

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

    move-result p1

    return p1
.end method
