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


# instance fields
.field public final a:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList<",
            "Lz5/f41<",
            "**>;>;"
        }
    .end annotation
.end field

.field public final b:I

.field public final c:I

.field public final d:Lz5/q41;


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

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

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lz5/a41;->a:Ljava/util/LinkedList;

    iput p1, p0, Lz5/a41;->b:I

    iput p2, p0, Lz5/a41;->c:I

    new-instance p1, Lz5/q41;

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

    iput-object p1, p0, Lz5/a41;->d:Lz5/q41;

    return-void
.end method


# virtual methods
.method public final a()Lz5/f41;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lz5/f41<",
            "**>;"
        }
    .end annotation

    iget-object v0, p0, Lz5/a41;->d:Lz5/q41;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzj()Lu5/c;

    move-result-object v1

    invoke-interface {v1}, Lu5/c;->b()J

    move-result-wide v1

    iput-wide v1, v0, Lz5/q41;->c:J

    iget v1, v0, Lz5/q41;->d:I

    const/4 v2, 0x1

    add-int/2addr v1, v2

    iput v1, v0, Lz5/q41;->d:I

    .line 2
    invoke-virtual {p0}, Lz5/a41;->c()V

    iget-object v0, p0, Lz5/a41;->a:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_22

    const/4 v0, 0x0

    return-object v0

    :cond_22
    iget-object v0, p0, Lz5/a41;->a:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->remove()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/f41;

    if-eqz v0, :cond_37

    iget-object v1, p0, Lz5/a41;->d:Lz5/q41;

    .line 3
    iget v3, v1, Lz5/q41;->e:I

    add-int/2addr v3, v2

    iput v3, v1, Lz5/q41;->e:I

    iget-object v1, v1, Lz5/q41;->b:Lz5/o41;

    iput-boolean v2, v1, Lz5/o41;->r:Z

    :cond_37
    return-object v0
.end method

.method public final b()I
    .registers 2

    invoke-virtual {p0}, Lz5/a41;->c()V

    iget-object v0, p0, Lz5/a41;->a:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->size()I

    move-result v0

    return v0
.end method

.method public final c()V
    .registers 6

    :goto_0
    iget-object v0, p0, Lz5/a41;->a:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_38

    iget-object v0, p0, Lz5/a41;->a:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->getFirst()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/f41;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzj()Lu5/c;

    move-result-object v1

    invoke-interface {v1}, Lu5/c;->b()J

    move-result-wide v1

    iget-wide v3, v0, Lz5/f41;->d:J

    sub-long/2addr v1, v3

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

    int-to-long v3, v0

    cmp-long v0, v1, v3

    if-ltz v0, :cond_38

    iget-object v0, p0, Lz5/a41;->d:Lz5/q41;

    .line 1
    iget v1, v0, Lz5/q41;->f:I

    add-int/lit8 v1, v1, 0x1

    iput v1, v0, Lz5/q41;->f:I

    iget-object v0, v0, Lz5/q41;->b:Lz5/o41;

    iget v1, v0, Lz5/o41;->s:I

    add-int/lit8 v1, v1, 0x1

    iput v1, v0, Lz5/o41;->s:I

    .line 2
    iget-object v0, p0, Lz5/a41;->a:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->remove()Ljava/lang/Object;

    goto :goto_0

    :cond_38
    return-void
.end method
