.class public final Lj6/m6;
.super Ljava/lang/Object;
.source ""


# instance fields
.field public a:Ljava/lang/String;

.field public b:Z

.field public c:Lg6/k3;

.field public d:Ljava/util/BitSet;

.field public e:Ljava/util/BitSet;

.field public f:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/Integer;",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation
.end field

.field public g:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/Integer;",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;>;"
        }
    .end annotation
.end field

.field public final synthetic h:Lj6/q6;


# direct methods
.method public synthetic constructor <init>(Lj6/q6;Ljava/lang/String;)V
    .registers 3

    iput-object p1, p0, Lj6/m6;->h:Lj6/q6;

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

    iput-object p2, p0, Lj6/m6;->a:Ljava/lang/String;

    const/4 p1, 0x1

    iput-boolean p1, p0, Lj6/m6;->b:Z

    new-instance p1, Ljava/util/BitSet;

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

    iput-object p1, p0, Lj6/m6;->d:Ljava/util/BitSet;

    new-instance p1, Ljava/util/BitSet;

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

    iput-object p1, p0, Lj6/m6;->e:Ljava/util/BitSet;

    new-instance p1, Lr/a;

    invoke-direct {p1}, Lr/a;-><init>()V

    iput-object p1, p0, Lj6/m6;->f:Ljava/util/Map;

    new-instance p1, Lr/a;

    invoke-direct {p1}, Lr/a;-><init>()V

    iput-object p1, p0, Lj6/m6;->g:Ljava/util/Map;

    return-void
.end method

.method public synthetic constructor <init>(Lj6/q6;Ljava/lang/String;Lg6/k3;Ljava/util/BitSet;Ljava/util/BitSet;Ljava/util/Map;Ljava/util/Map;)V
    .registers 8

    iput-object p1, p0, Lj6/m6;->h:Lj6/q6;

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

    iput-object p2, p0, Lj6/m6;->a:Ljava/lang/String;

    iput-object p4, p0, Lj6/m6;->d:Ljava/util/BitSet;

    iput-object p5, p0, Lj6/m6;->e:Ljava/util/BitSet;

    iput-object p6, p0, Lj6/m6;->f:Ljava/util/Map;

    new-instance p1, Lr/a;

    invoke-direct {p1}, Lr/a;-><init>()V

    iput-object p1, p0, Lj6/m6;->g:Ljava/util/Map;

    move-object p1, p7

    check-cast p1, Lr/a;

    invoke-virtual {p1}, Lr/a;->keySet()Ljava/util/Set;

    move-result-object p1

    check-cast p1, Lr/g$c;

    invoke-virtual {p1}, Lr/g$c;->iterator()Ljava/util/Iterator;

    move-result-object p1

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

    move-result p2

    if-eqz p2, :cond_44

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

    move-result-object p2

    check-cast p2, Ljava/lang/Integer;

    new-instance p4, Ljava/util/ArrayList;

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

    move-object p5, p7

    check-cast p5, Lr/h;

    invoke-virtual {p5, p2}, Lr/h;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p5

    check-cast p5, Ljava/lang/Long;

    invoke-virtual {p4, p5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object p5, p0, Lj6/m6;->g:Ljava/util/Map;

    invoke-interface {p5, p2, p4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_21

    :cond_44
    const/4 p1, 0x0

    iput-boolean p1, p0, Lj6/m6;->b:Z

    iput-object p3, p0, Lj6/m6;->c:Lg6/k3;

    return-void
.end method


# virtual methods
.method public final a(I)Lg6/r2;
    .registers 10

    invoke-static {}, Lg6/r2;->s()Lg6/q2;

    move-result-object v0

    .line 1
    iget-boolean v1, v0, Lg6/c6;->t:Z

    const/4 v2, 0x0

    if-eqz v1, :cond_e

    invoke-virtual {v0}, Lg6/c6;->d()V

    iput-boolean v2, v0, Lg6/c6;->t:Z

    :cond_e
    iget-object v1, v0, Lg6/c6;->s:Lg6/f6;

    check-cast v1, Lg6/r2;

    invoke-static {v1, p1}, Lg6/r2;->w(Lg6/r2;I)V

    .line 2
    iget-boolean p1, p0, Lj6/m6;->b:Z

    .line 3
    iget-boolean v1, v0, Lg6/c6;->t:Z

    if-eqz v1, :cond_20

    invoke-virtual {v0}, Lg6/c6;->d()V

    iput-boolean v2, v0, Lg6/c6;->t:Z

    :cond_20
    iget-object v1, v0, Lg6/c6;->s:Lg6/f6;

    check-cast v1, Lg6/r2;

    invoke-static {v1, p1}, Lg6/r2;->z(Lg6/r2;Z)V

    .line 4
    iget-object p1, p0, Lj6/m6;->c:Lg6/k3;

    if-eqz p1, :cond_3b

    .line 5
    iget-boolean v1, v0, Lg6/c6;->t:Z

    if-eqz v1, :cond_34

    invoke-virtual {v0}, Lg6/c6;->d()V

    iput-boolean v2, v0, Lg6/c6;->t:Z

    :cond_34
    iget-object v1, v0, Lg6/c6;->s:Lg6/f6;

    check-cast v1, Lg6/r2;

    invoke-static {v1, p1}, Lg6/r2;->y(Lg6/r2;Lg6/k3;)V

    .line 6
    :cond_3b
    invoke-static {}, Lg6/k3;->w()Lg6/j3;

    move-result-object p1

    iget-object v1, p0, Lj6/m6;->d:Ljava/util/BitSet;

    invoke-static {v1}, Lj6/d6;->I(Ljava/util/BitSet;)Ljava/util/List;

    move-result-object v1

    .line 7
    iget-boolean v3, p1, Lg6/c6;->t:Z

    if-eqz v3, :cond_4e

    invoke-virtual {p1}, Lg6/c6;->d()V

    iput-boolean v2, p1, Lg6/c6;->t:Z

    :cond_4e
    iget-object v3, p1, Lg6/c6;->s:Lg6/f6;

    check-cast v3, Lg6/k3;

    invoke-static {v3, v1}, Lg6/k3;->G(Lg6/k3;Ljava/lang/Iterable;)V

    .line 8
    iget-object v1, p0, Lj6/m6;->e:Ljava/util/BitSet;

    invoke-static {v1}, Lj6/d6;->I(Ljava/util/BitSet;)Ljava/util/List;

    move-result-object v1

    .line 9
    iget-boolean v3, p1, Lg6/c6;->t:Z

    if-eqz v3, :cond_64

    invoke-virtual {p1}, Lg6/c6;->d()V

    iput-boolean v2, p1, Lg6/c6;->t:Z

    :cond_64
    iget-object v3, p1, Lg6/c6;->s:Lg6/f6;

    check-cast v3, Lg6/k3;

    invoke-static {v3, v1}, Lg6/k3;->E(Lg6/k3;Ljava/lang/Iterable;)V

    .line 10
    iget-object v1, p0, Lj6/m6;->f:Ljava/util/Map;

    if-nez v1, :cond_71

    const/4 v1, 0x0

    goto :goto_d5

    :cond_71
    new-instance v3, Ljava/util/ArrayList;

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

    move-result v1

    invoke-direct {v3, v1}, Ljava/util/ArrayList;-><init>(I)V

    iget-object v1, p0, Lj6/m6;->f:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_84
    :goto_84
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_d4

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

    move-result-object v4

    check-cast v4, Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v4

    iget-object v5, p0, Lj6/m6;->f:Ljava/util/Map;

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

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

    move-result-object v5

    check-cast v5, Ljava/lang/Long;

    if-eqz v5, :cond_84

    invoke-static {}, Lg6/t2;->t()Lg6/s2;

    move-result-object v6

    .line 11
    iget-boolean v7, v6, Lg6/c6;->t:Z

    if-eqz v7, :cond_af

    invoke-virtual {v6}, Lg6/c6;->d()V

    iput-boolean v2, v6, Lg6/c6;->t:Z

    :cond_af
    iget-object v7, v6, Lg6/c6;->s:Lg6/f6;

    check-cast v7, Lg6/t2;

    invoke-static {v7, v4}, Lg6/t2;->v(Lg6/t2;I)V

    .line 12
    invoke-virtual {v5}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    .line 13
    iget-boolean v7, v6, Lg6/c6;->t:Z

    if-eqz v7, :cond_c3

    invoke-virtual {v6}, Lg6/c6;->d()V

    iput-boolean v2, v6, Lg6/c6;->t:Z

    :cond_c3
    iget-object v7, v6, Lg6/c6;->s:Lg6/f6;

    check-cast v7, Lg6/t2;

    invoke-static {v7, v4, v5}, Lg6/t2;->w(Lg6/t2;J)V

    .line 14
    invoke-virtual {v6}, Lg6/c6;->b()Lg6/f6;

    move-result-object v4

    check-cast v4, Lg6/t2;

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_84

    :cond_d4
    move-object v1, v3

    :goto_d5
    if-eqz v1, :cond_e7

    .line 15
    iget-boolean v3, p1, Lg6/c6;->t:Z

    if-eqz v3, :cond_e0

    invoke-virtual {p1}, Lg6/c6;->d()V

    iput-boolean v2, p1, Lg6/c6;->t:Z

    :cond_e0
    iget-object v3, p1, Lg6/c6;->s:Lg6/f6;

    check-cast v3, Lg6/k3;

    invoke-static {v3, v1}, Lg6/k3;->I(Lg6/k3;Ljava/lang/Iterable;)V

    .line 16
    :cond_e7
    iget-object v1, p0, Lj6/m6;->g:Ljava/util/Map;

    if-nez v1, :cond_f0

    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object v1

    goto :goto_14f

    :cond_f0
    new-instance v3, Ljava/util/ArrayList;

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

    move-result v1

    invoke-direct {v3, v1}, Ljava/util/ArrayList;-><init>(I)V

    iget-object v1, p0, Lj6/m6;->g:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v4

    if-eqz v4, :cond_14e

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

    move-result-object v4

    check-cast v4, Ljava/lang/Integer;

    invoke-static {}, Lg6/m3;->u()Lg6/l3;

    move-result-object v5

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v6

    .line 17
    iget-boolean v7, v5, Lg6/c6;->t:Z

    if-eqz v7, :cond_120

    invoke-virtual {v5}, Lg6/c6;->d()V

    iput-boolean v2, v5, Lg6/c6;->t:Z

    :cond_120
    iget-object v7, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v7, Lg6/m3;

    invoke-static {v7, v6}, Lg6/m3;->x(Lg6/m3;I)V

    .line 18
    iget-object v6, p0, Lj6/m6;->g:Ljava/util/Map;

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

    move-result-object v4

    check-cast v4, Ljava/util/List;

    if-eqz v4, :cond_144

    invoke-static {v4}, Ljava/util/Collections;->sort(Ljava/util/List;)V

    .line 19
    iget-boolean v6, v5, Lg6/c6;->t:Z

    if-eqz v6, :cond_13d

    invoke-virtual {v5}, Lg6/c6;->d()V

    iput-boolean v2, v5, Lg6/c6;->t:Z

    :cond_13d
    iget-object v6, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v6, Lg6/m3;

    invoke-static {v6, v4}, Lg6/m3;->y(Lg6/m3;Ljava/lang/Iterable;)V

    .line 20
    :cond_144
    invoke-virtual {v5}, Lg6/c6;->b()Lg6/f6;

    move-result-object v4

    check-cast v4, Lg6/m3;

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_103

    :cond_14e
    move-object v1, v3

    .line 21
    :goto_14f
    iget-boolean v3, p1, Lg6/c6;->t:Z

    if-eqz v3, :cond_158

    invoke-virtual {p1}, Lg6/c6;->d()V

    iput-boolean v2, p1, Lg6/c6;->t:Z

    :cond_158
    iget-object v3, p1, Lg6/c6;->s:Lg6/f6;

    check-cast v3, Lg6/k3;

    invoke-static {v3, v1}, Lg6/k3;->K(Lg6/k3;Ljava/lang/Iterable;)V

    .line 22
    iget-boolean v1, v0, Lg6/c6;->t:Z

    if-eqz v1, :cond_168

    invoke-virtual {v0}, Lg6/c6;->d()V

    iput-boolean v2, v0, Lg6/c6;->t:Z

    :cond_168
    iget-object v1, v0, Lg6/c6;->s:Lg6/f6;

    check-cast v1, Lg6/r2;

    invoke-virtual {p1}, Lg6/c6;->b()Lg6/f6;

    move-result-object p1

    check-cast p1, Lg6/k3;

    invoke-static {v1, p1}, Lg6/r2;->x(Lg6/r2;Lg6/k3;)V

    .line 23
    invoke-virtual {v0}, Lg6/c6;->b()Lg6/f6;

    move-result-object p1

    check-cast p1, Lg6/r2;

    return-object p1
.end method

.method public final b(Lj6/o6;)V
    .registers 11

    invoke-virtual {p1}, Lj6/o6;->a()I

    move-result v0

    iget-object v1, p1, Lj6/o6;->c:Ljava/lang/Boolean;

    if-eqz v1, :cond_11

    iget-object v2, p0, Lj6/m6;->e:Ljava/util/BitSet;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v2, v0, v1}, Ljava/util/BitSet;->set(IZ)V

    :cond_11
    iget-object v1, p1, Lj6/o6;->d:Ljava/lang/Boolean;

    if-eqz v1, :cond_1e

    iget-object v2, p0, Lj6/m6;->d:Ljava/util/BitSet;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v2, v0, v1}, Ljava/util/BitSet;->set(IZ)V

    :cond_1e
    iget-object v1, p1, Lj6/o6;->e:Ljava/lang/Long;

    const-wide/16 v2, 0x3e8

    if-eqz v1, :cond_4a

    iget-object v1, p0, Lj6/m6;->f:Ljava/util/Map;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

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

    move-result-object v1

    check-cast v1, Ljava/lang/Long;

    iget-object v5, p1, Lj6/o6;->e:Ljava/lang/Long;

    invoke-virtual {v5}, Ljava/lang/Long;->longValue()J

    move-result-wide v5

    div-long/2addr v5, v2

    if-eqz v1, :cond_41

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v7

    cmp-long v1, v5, v7

    if-lez v1, :cond_4a

    :cond_41
    iget-object v1, p0, Lj6/m6;->f:Ljava/util/Map;

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

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

    :cond_4a
    iget-object v1, p1, Lj6/o6;->f:Ljava/lang/Long;

    if-eqz v1, :cond_b4

    iget-object v1, p0, Lj6/m6;->g:Ljava/util/Map;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

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

    move-result-object v1

    check-cast v1, Ljava/util/List;

    if-nez v1, :cond_66

    new-instance v1, Ljava/util/ArrayList;

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

    iget-object v4, p0, Lj6/m6;->g:Ljava/util/Map;

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

    :cond_66
    invoke-virtual {p1}, Lj6/o6;->c()Z

    move-result v0

    if-eqz v0, :cond_6f

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

    :cond_6f
    invoke-static {}, Lg6/aa;->b()Z

    iget-object v0, p0, Lj6/m6;->h:Lj6/q6;

    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

    .line 1
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/d;->g:Lj6/f;

    .line 2
    iget-object v4, p0, Lj6/m6;->a:Ljava/lang/String;

    sget-object v5, Lj6/u2;->X:Lj6/t2;

    invoke-virtual {v0, v4, v5}, Lj6/f;->v(Ljava/lang/String;Lj6/t2;)Z

    move-result v0

    if-eqz v0, :cond_8b

    invoke-virtual {p1}, Lj6/o6;->b()Z

    move-result v0

    if-eqz v0, :cond_8b

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

    :cond_8b
    invoke-static {}, Lg6/aa;->b()Z

    iget-object v0, p0, Lj6/m6;->h:Lj6/q6;

    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

    .line 3
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/d;->g:Lj6/f;

    .line 4
    iget-object v4, p0, Lj6/m6;->a:Ljava/lang/String;

    invoke-virtual {v0, v4, v5}, Lj6/f;->v(Ljava/lang/String;Lj6/t2;)Z

    move-result v0

    iget-object p1, p1, Lj6/o6;->f:Ljava/lang/Long;

    invoke-virtual {p1}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    div-long/2addr v4, v2

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    if-eqz v0, :cond_b1

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

    move-result v0

    if-nez v0, :cond_b4

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

    return-void

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

    :cond_b4
    return-void
.end method
