.class public Lcom/google/android/gms/internal/ads/d6;
.super Ljava/util/AbstractCollection;
.source ""


# instance fields
.field public final r:Ljava/lang/Object;

.field public s:Ljava/util/Collection;

.field public final t:Lcom/google/android/gms/internal/ads/d6;
    .annotation runtime Ljavax/annotation/CheckForNull;
    .end annotation
.end field

.field public final u:Ljava/util/Collection;
    .annotation runtime Ljavax/annotation/CheckForNull;
    .end annotation
.end field

.field public final synthetic v:Lz5/y91;


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

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

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

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

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

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

    if-nez p4, :cond_f

    const/4 p1, 0x0

    goto :goto_11

    :cond_f
    iget-object p1, p4, Lcom/google/android/gms/internal/ads/d6;->s:Ljava/util/Collection;

    :goto_11
    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d6;->u:Ljava/util/Collection;

    return-void
.end method


# virtual methods
.method final a()V
    .registers 3

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

    if-eqz v0, :cond_16

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

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

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

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

    if-ne v0, v1, :cond_10

    goto :goto_2e

    :cond_10
    new-instance v0, Ljava/util/ConcurrentModificationException;

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

    throw v0

    :cond_16
    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

    if-eqz v0, :cond_2e

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

    .line 1
    iget-object v0, v0, Lz5/y91;->u:Ljava/util/Map;

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

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Collection;

    if-eqz v0, :cond_2e

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

    :cond_2e
    :goto_2e
    return-void
.end method

.method public final add(Ljava/lang/Object;)Z
    .registers 6

    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;

    invoke-interface {v1, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1f

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

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

    const/4 v3, 0x1

    add-int/2addr v2, v3

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

    if-eqz v0, :cond_1f

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

    return v3

    :cond_1f
    return p1
.end method

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

    invoke-interface {p1}, 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;

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

    move-result p1

    if-eqz p1, :cond_28

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

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

    move-result v1

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d6;->v:Lz5/y91;

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

    sub-int/2addr v1, v0

    add-int/2addr v1, v3

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

    if-nez v0, :cond_28

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

    const/4 p1, 0x1

    :cond_28
    return p1
.end method

.method final c()V
    .registers 4

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

    if-eqz v0, :cond_8

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

    return-void

    :cond_8
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->v:Lz5/y91;

    .line 1
    iget-object v0, v0, Lz5/y91;->u:Ljava/util/Map;

    .line 2
    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;

    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public final clear()V
    .registers 4

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

    move-result v0

    if-nez v0, :cond_7

    return-void

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

    invoke-interface {v1}, Ljava/util/Collection;->clear()V

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

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

    sub-int/2addr v2, v0

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

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

    return-void
.end method

.method public final contains(Ljava/lang/Object;)Z
    .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;

    invoke-interface {v0, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public final containsAll(Ljava/util/Collection;)Z
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection<",
            "*>;)Z"
        }
    .end annotation

    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, p1}, Ljava/util/Collection;->containsAll(Ljava/util/Collection;)Z

    move-result p1

    return p1
.end method

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

    if-ne p1, p0, :cond_4

    const/4 p1, 0x1

    return p1

    :cond_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;

    invoke-interface {v0, p1}, Ljava/util/Collection;->equals(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public final hashCode()I
    .registers 2

    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;->hashCode()I

    move-result v0

    return v0
.end method

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

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

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

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

    return-object v0
.end method

.method public final remove(Ljava/lang/Object;)Z
    .registers 4
    .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;

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

    move-result p1

    if-eqz p1, :cond_16

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d6;->v: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

    :cond_16
    return p1
.end method

.method public final removeAll(Ljava/util/Collection;)Z
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection<",
            "*>;)Z"
        }
    .end annotation

    invoke-interface {p1}, 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;

    invoke-interface {v1, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z

    move-result p1

    if-eqz p1, :cond_25

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

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

    move-result v1

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d6;->v:Lz5/y91;

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

    sub-int/2addr v1, v0

    add-int/2addr v1, v3

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

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

    :cond_25
    return p1
.end method

.method public final retainAll(Ljava/util/Collection;)Z
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection<",
            "*>;)Z"
        }
    .end annotation

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

    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;

    invoke-interface {v1, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z

    move-result p1

    if-eqz p1, :cond_20

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

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

    move-result v1

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d6;->v:Lz5/y91;

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

    sub-int/2addr v1, v0

    add-int/2addr v1, v3

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

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

    :cond_20
    return p1
.end method

.method public final size()I
    .registers 2

    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;->size()I

    move-result v0

    return v0
.end method

.method public final toString()Ljava/lang/String;
    .registers 2

    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-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method final zzb()V
    .registers 3

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

    if-eqz v0, :cond_8

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

    return-void

    :cond_8
    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

    if-eqz v0, :cond_19

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

    .line 1
    iget-object v0, v0, Lz5/y91;->u:Ljava/util/Map;

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

    invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_19
    return-void
.end method
