.class public Lcom/google/android/gms/internal/ads/f6;
.super Lcom/google/android/gms/internal/ads/d6;
.source ""

# interfaces
.implements Ljava/util/List;


# instance fields
.field public final synthetic w:Lz5/y91;


# direct methods
.method public constructor <init>(Lz5/y91;Ljava/lang/Object;Ljava/util/List;Lcom/google/android/gms/internal/ads/d6;)V
    .registers 5
    .param p3    # Ljava/util/List;
        .annotation runtime Ljavax/annotation/CheckForNull;
        .end annotation
    .end param

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/f6;->w:Lz5/y91;

    invoke-direct {p0, p1, p2, p3, p4}, Lcom/google/android/gms/internal/ads/d6;-><init>(Lz5/y91;Ljava/lang/Object;Ljava/util/Collection;Lcom/google/android/gms/internal/ads/d6;)V

    return-void
.end method


# virtual methods
.method public final add(ILjava/lang/Object;)V
    .registers 5

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z

    move-result v0

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v1, Ljava/util/List;

    invoke-interface {v1, p1, p2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/f6;->w:Lz5/y91;

    .line 1
    iget p2, p1, Lz5/y91;->v:I

    add-int/lit8 p2, p2, 0x1

    .line 2
    iput p2, p1, Lz5/y91;->v:I

    if-eqz v0, :cond_1d

    .line 3
    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->c()V

    :cond_1d
    return-void
.end method

.method public final addAll(ILjava/util/Collection;)Z
    .registers 6

    invoke-interface {p2}, Ljava/util/Collection;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_8

    const/4 p1, 0x0

    return p1

    :cond_8
    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->size()I

    move-result v0

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v1, Ljava/util/List;

    invoke-interface {v1, p1, p2}, Ljava/util/List;->addAll(ILjava/util/Collection;)Z

    move-result p1

    if-eqz p1, :cond_2a

    iget-object p2, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    invoke-interface {p2}, Ljava/util/Collection;->size()I

    move-result p2

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/f6;->w:Lz5/y91;

    .line 1
    iget v2, v1, Lz5/y91;->v:I

    sub-int/2addr p2, v0

    add-int/2addr p2, v2

    .line 2
    iput p2, v1, Lz5/y91;->v:I

    if-nez v0, :cond_2a

    .line 3
    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->c()V

    const/4 p1, 0x1

    :cond_2a
    return p1
.end method

.method public final get(I)Ljava/lang/Object;
    .registers 3

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v0, Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public final indexOf(Ljava/lang/Object;)I
    .registers 3
    .param p1    # Ljava/lang/Object;
        .annotation runtime Ljavax/annotation/CheckForNull;
        .end annotation
    .end param

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v0, Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result p1

    return p1
.end method

.method public final lastIndexOf(Ljava/lang/Object;)I
    .registers 3
    .param p1    # Ljava/lang/Object;
        .annotation runtime Ljavax/annotation/CheckForNull;
        .end annotation
    .end param

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v0, Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->lastIndexOf(Ljava/lang/Object;)I

    move-result p1

    return p1
.end method

.method public final listIterator()Ljava/util/ListIterator;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ListIterator;"
        }
    .end annotation

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    new-instance v0, Lcom/google/android/gms/internal/ads/e6;

    invoke-direct {v0, p0}, Lcom/google/android/gms/internal/ads/e6;-><init>(Lcom/google/android/gms/internal/ads/f6;)V

    return-object v0
.end method

.method public final listIterator(I)Ljava/util/ListIterator;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Ljava/util/ListIterator;"
        }
    .end annotation

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    new-instance v0, Lcom/google/android/gms/internal/ads/e6;

    invoke-direct {v0, p0, p1}, Lcom/google/android/gms/internal/ads/e6;-><init>(Lcom/google/android/gms/internal/ads/f6;I)V

    return-object v0
.end method

.method public final remove(I)Ljava/lang/Object;
    .registers 4

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v0, Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    move-result-object p1

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/f6;->w:Lz5/y91;

    .line 1
    iget v1, v0, Lz5/y91;->v:I

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

    .line 2
    iput v1, v0, Lz5/y91;->v:I

    .line 3
    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->zzb()V

    return-object p1
.end method

.method public final set(ILjava/lang/Object;)Ljava/lang/Object;
    .registers 4

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v0, Ljava/util/List;

    invoke-interface {v0, p1, p2}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public final subList(II)Ljava/util/List;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(II)",
            "Ljava/util/List;"
        }
    .end annotation

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d6;->a()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/f6;->w:Lz5/y91;

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d6;->r:Ljava/lang/Object;

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    check-cast v2, Ljava/util/List;

    invoke-interface {v2, p1, p2}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object p1

    iget-object p2, p0, Lcom/google/android/gms/internal/ads/d6;->t:Lcom/google/android/gms/internal/ads/d6;

    if-eqz p2, :cond_14

    goto :goto_15

    :cond_14
    move-object p2, p0

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

    .line 1
    instance-of v2, p1, Ljava/util/RandomAccess;

    if-eqz v2, :cond_22

    new-instance v2, Lcom/google/android/gms/internal/ads/z5;

    invoke-direct {v2, v0, v1, p1, p2}, Lcom/google/android/gms/internal/ads/z5;-><init>(Lz5/y91;Ljava/lang/Object;Ljava/util/List;Lcom/google/android/gms/internal/ads/d6;)V

    goto :goto_27

    :cond_22
    new-instance v2, Lcom/google/android/gms/internal/ads/f6;

    invoke-direct {v2, v0, v1, p1, p2}, Lcom/google/android/gms/internal/ads/f6;-><init>(Lz5/y91;Ljava/lang/Object;Ljava/util/List;Lcom/google/android/gms/internal/ads/d6;)V

    :goto_27
    return-object v2
.end method
