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

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic r:I

.field public final synthetic s:Lz5/dc;


# direct methods
.method public constructor <init>(Lz5/dc;I)V
    .registers 4

    iput p2, p0, Lz5/ac;->r:I

    const/4 v0, 0x1

    if-eq p2, v0, :cond_b

    .line 1
    iput-object p1, p0, Lz5/ac;->s:Lz5/dc;

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

    return-void

    .line 2
    :cond_b
    iput-object p1, p0, Lz5/ac;->s:Lz5/dc;

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 10

    iget v0, p0, Lz5/ac;->r:I

    packed-switch v0, :pswitch_data_b6

    goto/16 :goto_aa

    .line 1
    :pswitch_7
    iget-object v0, p0, Lz5/ac;->s:Lz5/dc;

    .line 2
    iget-boolean v1, v0, Lz5/dc;->W:Z

    if-nez v1, :cond_a9

    iget-boolean v1, v0, Lz5/dc;->I:Z

    if-nez v1, :cond_a9

    iget-object v1, v0, Lz5/dc;->G:Lz5/ca;

    if-eqz v1, :cond_a9

    iget-boolean v1, v0, Lz5/dc;->H:Z

    if-nez v1, :cond_1b

    goto/16 :goto_a9

    :cond_1b
    iget-object v1, v0, Lz5/dc;->E:Landroid/util/SparseArray;

    invoke-virtual {v1}, Landroid/util/SparseArray;->size()I

    move-result v1

    const/4 v2, 0x0

    move v3, v2

    :goto_23
    if-ge v3, v1, :cond_36

    iget-object v4, v0, Lz5/dc;->E:Landroid/util/SparseArray;

    invoke-virtual {v4, v3}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lz5/qc;

    invoke-virtual {v4}, Lz5/qc;->g()Lz5/j8;

    move-result-object v4

    if-eqz v4, :cond_a9

    add-int/lit8 v3, v3, 0x1

    goto :goto_23

    :cond_36
    iget-object v3, v0, Lz5/dc;->A:Lz5/xd;

    .line 3
    monitor-enter v3

    :try_start_39
    iput-boolean v2, v3, Lz5/xd;->s:Z
    :try_end_3b
    .catchall {:try_start_39 .. :try_end_3b} :catchall_a6

    monitor-exit v3

    .line 4
    new-array v3, v1, [Lz5/tc;

    new-array v4, v1, [Z

    iput-object v4, v0, Lz5/dc;->P:[Z

    new-array v4, v1, [Z

    iput-object v4, v0, Lz5/dc;->O:[Z

    iget-object v4, v0, Lz5/dc;->G:Lz5/ca;

    invoke-interface {v4}, Lz5/ca;->zzb()J

    move-result-wide v4

    iput-wide v4, v0, Lz5/dc;->N:J

    move v4, v2

    :goto_4f
    const/4 v5, 0x1

    if-ge v4, v1, :cond_85

    iget-object v6, v0, Lz5/dc;->E:Landroid/util/SparseArray;

    invoke-virtual {v6, v4}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lz5/qc;

    invoke-virtual {v6}, Lz5/qc;->g()Lz5/j8;

    move-result-object v6

    new-instance v7, Lz5/tc;

    new-array v8, v5, [Lz5/j8;

    aput-object v6, v8, v2

    invoke-direct {v7, v8}, Lz5/tc;-><init>([Lz5/j8;)V

    aput-object v7, v3, v4

    iget-object v6, v6, Lz5/j8;->w:Ljava/lang/String;

    invoke-static {v6}, Lz5/vo;->h(Ljava/lang/String;)Z

    move-result v7

    if-nez v7, :cond_79

    invoke-static {v6}, Lz5/vo;->e(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_78

    goto :goto_79

    :cond_78
    move v5, v2

    :cond_79
    :goto_79
    iget-object v6, v0, Lz5/dc;->P:[Z

    aput-boolean v5, v6, v4

    iget-boolean v6, v0, Lz5/dc;->Q:Z

    or-int/2addr v5, v6

    iput-boolean v5, v0, Lz5/dc;->Q:Z

    add-int/lit8 v4, v4, 0x1

    goto :goto_4f

    :cond_85
    new-instance v1, Lz5/uc;

    invoke-direct {v1, v3}, Lz5/uc;-><init>([Lz5/tc;)V

    iput-object v1, v0, Lz5/dc;->M:Lz5/uc;

    iput-boolean v5, v0, Lz5/dc;->I:Z

    iget-object v1, v0, Lz5/dc;->w:Lz5/ic;

    new-instance v2, Lz5/sc;

    iget-wide v3, v0, Lz5/dc;->N:J

    iget-object v5, v0, Lz5/dc;->G:Lz5/ca;

    invoke-interface {v5}, Lz5/ca;->zza()Z

    invoke-direct {v2, v3, v4}, Lz5/sc;-><init>(J)V

    const/4 v3, 0x0

    invoke-interface {v1, v2, v3}, Lz5/ic;->c(Lz5/q8;Ljava/lang/Object;)V

    iget-object v1, v0, Lz5/dc;->F:Lz5/gc;

    invoke-interface {v1, v0}, Lz5/gc;->d(Lz5/hc;)V

    goto :goto_a9

    :catchall_a6
    move-exception v0

    .line 5
    monitor-exit v3

    throw v0

    :cond_a9
    :goto_a9
    return-void

    .line 6
    :goto_aa
    iget-object v0, p0, Lz5/ac;->s:Lz5/dc;

    .line 7
    iget-boolean v1, v0, Lz5/dc;->W:Z

    if-nez v1, :cond_b5

    .line 8
    iget-object v1, v0, Lz5/dc;->F:Lz5/gc;

    .line 9
    invoke-interface {v1, v0}, Lz5/gc;->a(Lz5/rc;)V

    :cond_b5
    return-void

    :pswitch_data_b6
    .packed-switch 0x0
        :pswitch_7
    .end packed-switch
.end method
