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


# instance fields
.field public final a:I

.field public final b:Lz5/rp1;

.field public final c:Ljava/util/concurrent/CopyOnWriteArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/CopyOnWriteArrayList<",
            "Lz5/v21;",
            ">;"
        }
    .end annotation
.end field


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

    const/4 v0, 0x0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eq p1, v2, :cond_e

    .line 1
    new-instance p1, Ljava/util/concurrent/CopyOnWriteArrayList;

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

    invoke-direct {p0, p1, v1, v0, v1}, Lz5/c31;-><init>(Ljava/util/concurrent/CopyOnWriteArrayList;ILz5/rp1;I)V

    return-void

    .line 2
    :cond_e
    new-instance p1, Ljava/util/concurrent/CopyOnWriteArrayList;

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

    invoke-direct {p0, p1, v1, v0, v2}, Lz5/c31;-><init>(Ljava/util/concurrent/CopyOnWriteArrayList;ILz5/rp1;I)V

    return-void
.end method

.method public constructor <init>(Ljava/util/concurrent/CopyOnWriteArrayList;ILz5/rp1;I)V
    .registers 6

    const/4 v0, 0x1

    if-eq p4, v0, :cond_d

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

    iput-object p1, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    iput p2, p0, Lz5/c31;->a:I

    iput-object p3, p0, Lz5/c31;->b:Lz5/rp1;

    return-void

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

    iput-object p1, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    iput p2, p0, Lz5/c31;->a:I

    iput-object p3, p0, Lz5/c31;->b:Lz5/rp1;

    return-void
.end method

.method public static final h(J)J
    .registers 5

    invoke-static {p0, p1}, Lz5/v1;->a(J)J

    move-result-wide p0

    const-wide v0, -0x7fffffffffffffffL    # -4.9E-324

    cmp-long v2, p0, v0

    if-nez v2, :cond_e

    return-wide v0

    :cond_e
    return-wide p0
.end method


# virtual methods
.method public a(ILz5/rp1;)Lz5/c31;
    .registers 6

    new-instance v0, Lz5/c31;

    iget-object v1, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    const/4 v2, 0x0

    invoke-direct {v0, v1, p1, p2, v2}, Lz5/c31;-><init>(Ljava/util/concurrent/CopyOnWriteArrayList;ILz5/rp1;I)V

    return-object v0
.end method

.method public b(ILz5/rp1;)Lz5/c31;
    .registers 6

    new-instance v0, Lz5/c31;

    iget-object v1, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    const/4 v2, 0x1

    invoke-direct {v0, v1, p1, p2, v2}, Lz5/c31;-><init>(Ljava/util/concurrent/CopyOnWriteArrayList;ILz5/rp1;I)V

    return-object v0
.end method

.method public c(Lz5/lp1;Lz5/g61;)V
    .registers 12

    iget-object v0, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_6
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_24

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/wp1;

    iget-object v4, v1, Lz5/wp1;->b:Lz5/xp1;

    iget-object v1, v1, Lz5/wp1;->a:Landroid/os/Handler;

    new-instance v8, Lz5/up1;

    const/4 v7, 0x0

    move-object v2, v8

    move-object v3, p0

    move-object v5, p1

    move-object v6, p2

    invoke-direct/range {v2 .. v7}, Lz5/up1;-><init>(Lz5/c31;Lz5/xp1;Lz5/lp1;Lz5/g61;I)V

    invoke-static {v1, v8}, Lz5/r7;->o(Landroid/os/Handler;Ljava/lang/Runnable;)Z

    goto :goto_6

    :cond_24
    return-void
.end method

.method public d(Lz5/lp1;Lz5/g61;)V
    .registers 12

    iget-object v0, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_6
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_24

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/wp1;

    iget-object v4, v1, Lz5/wp1;->b:Lz5/xp1;

    iget-object v1, v1, Lz5/wp1;->a:Landroid/os/Handler;

    new-instance v8, Lz5/up1;

    const/4 v7, 0x1

    move-object v2, v8

    move-object v3, p0

    move-object v5, p1

    move-object v6, p2

    invoke-direct/range {v2 .. v7}, Lz5/up1;-><init>(Lz5/c31;Lz5/xp1;Lz5/lp1;Lz5/g61;I)V

    invoke-static {v1, v8}, Lz5/r7;->o(Landroid/os/Handler;Ljava/lang/Runnable;)Z

    goto :goto_6

    :cond_24
    return-void
.end method

.method public e(Lz5/lp1;Lz5/g61;)V
    .registers 12

    iget-object v0, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_6
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_24

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/wp1;

    iget-object v4, v1, Lz5/wp1;->b:Lz5/xp1;

    iget-object v1, v1, Lz5/wp1;->a:Landroid/os/Handler;

    new-instance v8, Lz5/up1;

    const/4 v7, 0x2

    move-object v2, v8

    move-object v3, p0

    move-object v5, p1

    move-object v6, p2

    invoke-direct/range {v2 .. v7}, Lz5/up1;-><init>(Lz5/c31;Lz5/xp1;Lz5/lp1;Lz5/g61;I)V

    invoke-static {v1, v8}, Lz5/r7;->o(Landroid/os/Handler;Ljava/lang/Runnable;)Z

    goto :goto_6

    :cond_24
    return-void
.end method

.method public f(Lz5/lp1;Lz5/g61;Ljava/io/IOException;Z)V
    .registers 15

    iget-object v0, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_6
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_25

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/wp1;

    iget-object v4, v1, Lz5/wp1;->b:Lz5/xp1;

    iget-object v1, v1, Lz5/wp1;->a:Landroid/os/Handler;

    new-instance v9, Lz5/vp1;

    move-object v2, v9

    move-object v3, p0

    move-object v5, p1

    move-object v6, p2

    move-object v7, p3

    move v8, p4

    invoke-direct/range {v2 .. v8}, Lz5/vp1;-><init>(Lz5/c31;Lz5/xp1;Lz5/lp1;Lz5/g61;Ljava/io/IOException;Z)V

    invoke-static {v1, v9}, Lz5/r7;->o(Landroid/os/Handler;Ljava/lang/Runnable;)Z

    goto :goto_6

    :cond_25
    return-void
.end method

.method public g(Lz5/g61;)V
    .registers 6

    iget-object v0, p0, Lz5/c31;->c:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_6
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1f

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/wp1;

    iget-object v2, v1, Lz5/wp1;->b:Lz5/xp1;

    iget-object v1, v1, Lz5/wp1;->a:Landroid/os/Handler;

    new-instance v3, Lz5/i3;

    invoke-direct {v3, p0, v2, p1}, Lz5/i3;-><init>(Lz5/c31;Lz5/xp1;Lz5/g61;)V

    invoke-static {v1, v3}, Lz5/r7;->o(Landroid/os/Handler;Ljava/lang/Runnable;)Z

    goto :goto_6

    :cond_1f
    return-void
.end method
