.class public final Lj6/y3;
.super Lj6/y5;
.source ""

# interfaces
.implements Lj6/e;


# instance fields
.field public final d:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;>;"
        }
    .end annotation
.end field

.field public final e:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Boolean;",
            ">;>;"
        }
    .end annotation
.end field

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

.field public final g:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lg6/k2;",
            ">;"
        }
    .end annotation
.end field

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

.field public final i:Lr/f;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lr/f<",
            "Ljava/lang/String;",
            "Lg6/n0;",
            ">;"
        }
    .end annotation
.end field

.field public final j:Lj6/w3;

.field public final k:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lj6/b6;)V
    .registers 2

    invoke-direct {p0, p1}, Lj6/y5;-><init>(Lj6/b6;)V

    new-instance p1, Lr/a;

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

    iput-object p1, p0, Lj6/y3;->d:Ljava/util/Map;

    new-instance p1, Lr/a;

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

    iput-object p1, p0, Lj6/y3;->e:Ljava/util/Map;

    new-instance p1, Lr/a;

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

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

    new-instance p1, Lr/a;

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

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

    new-instance p1, Lr/a;

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

    iput-object p1, p0, Lj6/y3;->k:Ljava/util/Map;

    new-instance p1, Lr/a;

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

    iput-object p1, p0, Lj6/y3;->h:Ljava/util/Map;

    new-instance p1, Lj6/v3;

    invoke-direct {p1, p0}, Lj6/v3;-><init>(Lj6/y3;)V

    iput-object p1, p0, Lj6/y3;->i:Lr/f;

    new-instance p1, Lj6/w3;

    invoke-direct {p1, p0}, Lj6/w3;-><init>(Lj6/y3;)V

    iput-object p1, p0, Lj6/y3;->j:Lj6/w3;

    return-void
.end method

.method public static final z(Lg6/k2;)Ljava/util/Map;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lg6/k2;",
            ")",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    new-instance v0, Lr/a;

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

    invoke-virtual {p0}, Lg6/k2;->B()Ljava/util/List;

    move-result-object p0

    invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p0

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

    move-result v1

    if-eqz v1, :cond_25

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

    move-result-object v1

    check-cast v1, Lg6/m2;

    invoke-virtual {v1}, Lg6/m2;->s()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1}, Lg6/m2;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_d

    :cond_25
    return-object v0
.end method


# virtual methods
.method public final a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .registers 4

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-virtual {p0, p1}, Lj6/y3;->x(Ljava/lang/String;)V

    iget-object v0, p0, Lj6/y3;->d:Ljava/util/Map;

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

    move-result-object p1

    check-cast p1, Ljava/util/Map;

    if-eqz p1, :cond_17

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

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    return-object p1

    :cond_17
    const/4 p1, 0x0

    return-object p1
.end method

.method public final j()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public final k(Ljava/lang/String;Ljava/lang/String;)I
    .registers 4

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-virtual {p0, p1}, Lj6/y3;->x(Ljava/lang/String;)V

    iget-object v0, p0, Lj6/y3;->h:Ljava/util/Map;

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

    move-result-object p1

    check-cast p1, Ljava/util/Map;

    const/4 v0, 0x1

    if-eqz p1, :cond_1f

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

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

    if-nez p1, :cond_1a

    return v0

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

    move-result p1

    return p1

    :cond_1f
    return v0
.end method

.method public final l(Ljava/lang/String;)Lg6/k2;
    .registers 3

    invoke-virtual {p0}, Lj6/y5;->h()V

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static {p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual {p0, p1}, Lj6/y3;->x(Ljava/lang/String;)V

    iget-object v0, p0, Lj6/y3;->g:Ljava/util/Map;

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

    move-result-object p1

    check-cast p1, Lg6/k2;

    return-object p1
.end method

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

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-virtual {p0, p1}, Lj6/y3;->l(Ljava/lang/String;)Lg6/k2;

    move-result-object p1

    if-nez p1, :cond_b

    const/4 p1, 0x0

    return p1

    :cond_b
    invoke-virtual {p1}, Lg6/k2;->E()Z

    move-result p1

    return p1
.end method

.method public final n(Ljava/lang/String;)Z
    .registers 5

    invoke-static {}, Lg6/fb;->b()Z

    iget-object v0, p0, 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;

    const/4 v1, 0x0

    .line 2
    sget-object v2, Lj6/u2;->p0:Lj6/t2;

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

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_2b

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_18

    return v1

    :cond_18
    iget-object v0, p0, Lj6/y3;->g:Ljava/util/Map;

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

    move-result-object p1

    check-cast p1, Lg6/k2;

    if-nez p1, :cond_23

    return v1

    :cond_23
    invoke-virtual {p1}, Lg6/k2;->o()I

    move-result p1

    if-eqz p1, :cond_2b

    const/4 p1, 0x1

    return p1

    :cond_2b
    return v1
.end method

.method public final o(Ljava/lang/String;)Z
    .registers 3

    const-string v0, "measurement.upload.blacklist_internal"

    invoke-virtual {p0, p1, v0}, Lj6/y3;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public final p(Ljava/lang/String;Ljava/lang/String;)Z
    .registers 5

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-virtual {p0, p1}, Lj6/y3;->x(Ljava/lang/String;)V

    const-string v0, "ecommerce_purchase"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_10

    return v1

    :cond_10
    const-string v0, "purchase"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3b

    const-string v0, "refund"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_21

    goto :goto_3b

    :cond_21
    iget-object v0, p0, Lj6/y3;->f:Ljava/util/Map;

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

    move-result-object p1

    check-cast p1, Ljava/util/Map;

    const/4 v0, 0x0

    if-eqz p1, :cond_3a

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

    move-result-object p1

    check-cast p1, Ljava/lang/Boolean;

    if-nez p1, :cond_35

    return v0

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

    move-result p1

    return p1

    :cond_3a
    return v0

    :cond_3b
    :goto_3b
    return v1
.end method

.method public final r(Ljava/lang/String;Ljava/lang/String;)Z
    .registers 6

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-virtual {p0, p1}, Lj6/y3;->x(Ljava/lang/String;)V

    const-string v0, "measurement.upload.blacklist_internal"

    .line 1
    invoke-virtual {p0, p1, v0}, Lj6/y3;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v2, 0x1

    if-eqz v0, :cond_1d

    .line 2
    invoke-static {p2}, Lcom/google/android/gms/measurement/internal/f;->V(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1c

    goto :goto_1d

    :cond_1c
    return v2

    :cond_1d
    :goto_1d
    const-string v0, "measurement.upload.blacklist_public"

    .line 3
    invoke-virtual {p0, p1, v0}, Lj6/y3;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_31

    .line 4
    invoke-static {p2}, Lcom/google/android/gms/measurement/internal/f;->W(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_30

    goto :goto_31

    :cond_30
    return v2

    :cond_31
    :goto_31
    iget-object v0, p0, Lj6/y3;->e:Ljava/util/Map;

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

    move-result-object p1

    check-cast p1, Ljava/util/Map;

    const/4 v0, 0x0

    if-eqz p1, :cond_4a

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

    move-result-object p1

    check-cast p1, Ljava/lang/Boolean;

    if-nez p1, :cond_45

    return v0

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

    move-result p1

    return p1

    :cond_4a
    return v0
.end method

.method public final t(Ljava/lang/String;)Z
    .registers 3

    const-string v0, "measurement.upload.blacklist_public"

    invoke-virtual {p0, p1, v0}, Lj6/y3;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public final u(Ljava/lang/String;[BLjava/lang/String;)Z
    .registers 30

    move-object/from16 v1, p0

    move-object/from16 v2, p1

    invoke-virtual/range {p0 .. p0}, Lj6/y5;->h()V

    invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual/range {p0 .. p2}, Lj6/y3;->v(Ljava/lang/String;[B)Lg6/k2;

    move-result-object v0

    invoke-virtual {v0}, Lg6/f6;->k()Lg6/c6;

    move-result-object v0

    move-object v3, v0

    check-cast v3, Lg6/j2;

    invoke-virtual {v1, v2, v3}, Lj6/y3;->w(Ljava/lang/String;Lg6/j2;)V

    invoke-static {}, Lg6/fb;->b()Z

    iget-object v0, v1, 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
    sget-object v4, Lj6/u2;->p0:Lj6/t2;

    const/4 v5, 0x0

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

    move-result v0

    if-eqz v0, :cond_34

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

    move-result-object v0

    check-cast v0, Lg6/k2;

    invoke-virtual {v1, v2, v0}, Lj6/y3;->y(Ljava/lang/String;Lg6/k2;)V

    :cond_34
    iget-object v0, v1, Lj6/y3;->g:Ljava/util/Map;

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

    move-result-object v4

    check-cast v4, Lg6/k2;

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

    iget-object v0, v1, Lj6/y3;->k:Ljava/util/Map;

    move-object/from16 v4, p3

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

    iget-object v0, v1, Lj6/y3;->d:Ljava/util/Map;

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

    move-result-object v6

    check-cast v6, Lg6/k2;

    invoke-static {v6}, Lj6/y3;->z(Lg6/k2;)Ljava/util/Map;

    move-result-object v6

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

    iget-object v0, v1, Lj6/x5;->b:Lj6/b6;

    .line 3
    iget-object v6, v0, Lj6/b6;->c:Lj6/j;

    invoke-static {v6}, Lj6/b6;->I(Lj6/y5;)Lj6/y5;

    .line 4
    new-instance v7, Ljava/util/ArrayList;

    .line 5
    iget-object v0, v3, Lg6/c6;->s:Lg6/f6;

    check-cast v0, Lg6/k2;

    invoke-virtual {v0}, Lg6/k2;->z()Ljava/util/List;

    move-result-object v0

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

    move-result-object v0

    .line 6
    invoke-direct {v7, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    const-string v8, "app_id=? and audience_id=?"

    const-string v0, "app_id=?"

    const-string v9, "event_filters"

    const-string v10, "property_filters"

    const-string v11, "null reference"

    const/4 v13, 0x0

    .line 7
    :goto_78
    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v14

    if-ge v13, v14, :cond_1ff

    invoke-virtual {v7, v13}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v14

    check-cast v14, Lg6/r1;

    invoke-virtual {v14}, Lg6/f6;->k()Lg6/c6;

    move-result-object v14

    check-cast v14, Lg6/q1;

    .line 8
    iget-object v5, v14, Lg6/c6;->s:Lg6/f6;

    check-cast v5, Lg6/r1;

    invoke-virtual {v5}, Lg6/r1;->s()I

    move-result v5

    if-eqz v5, :cond_17e

    move-object v5, v14

    const/4 v15, 0x0

    :goto_96
    iget-object v12, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v12, Lg6/r1;

    invoke-virtual {v12}, Lg6/r1;->s()I

    move-result v12

    if-ge v15, v12, :cond_175

    .line 9
    iget-object v12, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v12, Lg6/r1;

    invoke-virtual {v12, v15}, Lg6/r1;->v(I)Lg6/t1;

    move-result-object v12

    .line 10
    invoke-virtual {v12}, Lg6/f6;->k()Lg6/c6;

    move-result-object v12

    check-cast v12, Lg6/s1;

    invoke-virtual {v12}, Lg6/c6;->f()Lg6/c6;

    move-result-object v16

    move-object/from16 v4, v16

    check-cast v4, Lg6/s1;

    .line 11
    iget-object v1, v12, Lg6/c6;->s:Lg6/f6;

    check-cast v1, Lg6/t1;

    invoke-virtual {v1}, Lg6/t1;->x()Ljava/lang/String;

    move-result-object v1

    .line 12
    invoke-static {v1}, Lj6/k4;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_d9

    move-object/from16 v16, v3

    .line 13
    iget-boolean v3, v4, Lg6/c6;->t:Z

    if-eqz v3, :cond_d0

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

    const/4 v3, 0x0

    iput-boolean v3, v4, Lg6/c6;->t:Z

    :cond_d0
    iget-object v3, v4, Lg6/c6;->s:Lg6/f6;

    check-cast v3, Lg6/t1;

    invoke-static {v3, v1}, Lg6/t1;->z(Lg6/t1;Ljava/lang/String;)V

    const/4 v1, 0x1

    goto :goto_dc

    :cond_d9
    move-object/from16 v16, v3

    const/4 v1, 0x0

    :goto_dc
    move-object/from16 v17, v8

    const/4 v3, 0x0

    .line 14
    :goto_df
    iget-object v8, v12, Lg6/c6;->s:Lg6/f6;

    check-cast v8, Lg6/t1;

    invoke-virtual {v8}, Lg6/t1;->o()I

    move-result v8

    if-ge v3, v8, :cond_13e

    .line 15
    iget-object v8, v12, Lg6/c6;->s:Lg6/f6;

    check-cast v8, Lg6/t1;

    invoke-virtual {v8, v3}, Lg6/t1;->v(I)Lg6/v1;

    move-result-object v8

    move-object/from16 v18, v12

    .line 16
    invoke-virtual {v8}, Lg6/v1;->v()Ljava/lang/String;

    move-result-object v12

    move-object/from16 v19, v11

    sget-object v11, Lj6/l4;->a:[Ljava/lang/String;

    move-object/from16 v20, v9

    sget-object v9, Lj6/l4;->b:[Ljava/lang/String;

    invoke-static {v12, v11, v9}, Le/d;->l(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    if-eqz v9, :cond_135

    invoke-virtual {v8}, Lg6/f6;->k()Lg6/c6;

    move-result-object v1

    check-cast v1, Lg6/u1;

    .line 17
    iget-boolean v8, v1, Lg6/c6;->t:Z

    if-eqz v8, :cond_116

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

    const/4 v8, 0x0

    iput-boolean v8, v1, Lg6/c6;->t:Z

    goto :goto_117

    :cond_116
    const/4 v8, 0x0

    :goto_117
    iget-object v11, v1, Lg6/c6;->s:Lg6/f6;

    check-cast v11, Lg6/v1;

    invoke-static {v11, v9}, Lg6/v1;->w(Lg6/v1;Ljava/lang/String;)V

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

    move-result-object v1

    check-cast v1, Lg6/v1;

    .line 19
    iget-boolean v9, v4, Lg6/c6;->t:Z

    if-eqz v9, :cond_12d

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

    iput-boolean v8, v4, Lg6/c6;->t:Z

    :cond_12d
    iget-object v8, v4, Lg6/c6;->s:Lg6/f6;

    check-cast v8, Lg6/t1;

    invoke-static {v8, v3, v1}, Lg6/t1;->A(Lg6/t1;ILg6/v1;)V

    const/4 v1, 0x1

    :cond_135
    add-int/lit8 v3, v3, 0x1

    move-object/from16 v12, v18

    move-object/from16 v11, v19

    move-object/from16 v9, v20

    goto :goto_df

    :cond_13e
    move-object/from16 v20, v9

    move-object/from16 v19, v11

    if-eqz v1, :cond_165

    .line 20
    iget-boolean v1, v5, Lg6/c6;->t:Z

    if-eqz v1, :cond_14e

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

    const/4 v1, 0x0

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

    :cond_14e
    iget-object v1, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v1, Lg6/r1;

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

    move-result-object v3

    check-cast v3, Lg6/t1;

    invoke-static {v1, v15, v3}, Lg6/r1;->A(Lg6/r1;ILg6/t1;)V

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

    move-result-object v1

    check-cast v1, Lg6/r1;

    invoke-virtual {v7, v13, v1}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    move-object v5, v14

    :cond_165
    add-int/lit8 v15, v15, 0x1

    move-object/from16 v1, p0

    move-object/from16 v4, p3

    move-object/from16 v3, v16

    move-object/from16 v8, v17

    move-object/from16 v11, v19

    move-object/from16 v9, v20

    goto/16 :goto_96

    :cond_175
    move-object/from16 v16, v3

    move-object/from16 v17, v8

    move-object/from16 v20, v9

    move-object/from16 v19, v11

    goto :goto_187

    :cond_17e
    move-object/from16 v16, v3

    move-object/from16 v17, v8

    move-object/from16 v20, v9

    move-object/from16 v19, v11

    move-object v5, v14

    .line 22
    :goto_187
    iget-object v1, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v1, Lg6/r1;

    invoke-virtual {v1}, Lg6/r1;->t()I

    move-result v1

    if-eqz v1, :cond_1ee

    const/4 v1, 0x0

    :goto_192
    iget-object v3, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v3, Lg6/r1;

    invoke-virtual {v3}, Lg6/r1;->t()I

    move-result v3

    if-ge v1, v3, :cond_1ee

    .line 23
    iget-object v3, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v3, Lg6/r1;

    invoke-virtual {v3, v1}, Lg6/r1;->w(I)Lg6/b2;

    move-result-object v3

    .line 24
    invoke-virtual {v3}, Lg6/b2;->v()Ljava/lang/String;

    move-result-object v4

    sget-object v8, Lj6/m4;->a:[Ljava/lang/String;

    sget-object v9, Lj6/m4;->b:[Ljava/lang/String;

    invoke-static {v4, v8, v9}, Le/d;->l(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    if-eqz v4, :cond_1eb

    invoke-virtual {v3}, Lg6/f6;->k()Lg6/c6;

    move-result-object v3

    check-cast v3, Lg6/a2;

    .line 25
    iget-boolean v8, v3, Lg6/c6;->t:Z

    if-eqz v8, :cond_1c3

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

    const/4 v8, 0x0

    iput-boolean v8, v3, Lg6/c6;->t:Z

    goto :goto_1c4

    :cond_1c3
    const/4 v8, 0x0

    :goto_1c4
    iget-object v9, v3, Lg6/c6;->s:Lg6/f6;

    check-cast v9, Lg6/b2;

    invoke-static {v9, v4}, Lg6/b2;->w(Lg6/b2;Ljava/lang/String;)V

    .line 26
    iget-boolean v4, v5, Lg6/c6;->t:Z

    if-eqz v4, :cond_1d4

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

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

    :cond_1d4
    iget-object v4, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v4, Lg6/r1;

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

    move-result-object v3

    check-cast v3, Lg6/b2;

    invoke-static {v4, v1, v3}, Lg6/r1;->z(Lg6/r1;ILg6/b2;)V

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

    move-result-object v3

    check-cast v3, Lg6/r1;

    invoke-virtual {v7, v13, v3}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    move-object v5, v14

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

    goto :goto_192

    :cond_1ee
    add-int/lit8 v13, v13, 0x1

    move-object/from16 v1, p0

    move-object/from16 v4, p3

    move-object/from16 v3, v16

    move-object/from16 v8, v17

    move-object/from16 v11, v19

    move-object/from16 v9, v20

    const/4 v5, 0x0

    goto/16 :goto_78

    :cond_1ff
    move-object/from16 v16, v3

    move-object/from16 v17, v8

    move-object/from16 v20, v9

    move-object/from16 v19, v11

    invoke-virtual {v6}, Lj6/y5;->h()V

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual {v6}, Lj6/j;->D()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V

    :try_start_217
    invoke-virtual {v6}, Lj6/y5;->h()V

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual {v6}, Lj6/j;->D()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v3

    const/4 v4, 0x1

    new-array v5, v4, [Ljava/lang/String;

    const/4 v8, 0x0

    aput-object v2, v5, v8

    invoke-virtual {v3, v10, v0, v5}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    new-array v5, v4, [Ljava/lang/String;

    aput-object v2, v5, v8

    move-object/from16 v4, v20

    invoke-virtual {v3, v4, v0, v5}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    invoke-virtual {v7}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

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

    move-result v0
    :try_end_23e
    .catchall {:try_start_217 .. :try_end_23e} :catchall_61e

    if-eqz v0, :cond_4be

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

    move-result-object v0

    check-cast v0, Lg6/r1;

    invoke-virtual {v6}, Lj6/y5;->h()V

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    move-object/from16 v8, v19

    .line 28
    invoke-static {v0, v8}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 29
    invoke-virtual {v0}, Lg6/r1;->B()Z

    move-result v9
    :try_end_258
    .catchall {:try_start_240 .. :try_end_258} :catchall_4b9

    if-nez v9, :cond_273

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 30
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v5, "Audience with no ID. appId"

    .line 31
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v9

    invoke-virtual {v0, v5, v9}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_26b
    .catchall {:try_start_25a .. :try_end_26b} :catchall_61e

    :goto_26b
    move-object/from16 v22, v1

    move-object/from16 v19, v3

    :cond_26f
    move-object/from16 v11, v17

    goto/16 :goto_4af

    :cond_273
    :try_start_273
    invoke-virtual {v0}, Lg6/r1;->o()I

    move-result v9

    invoke-virtual {v0}, Lg6/r1;->x()Ljava/util/List;

    move-result-object v11

    invoke-interface {v11}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v11

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

    move-result v12
    :try_end_283
    .catchall {:try_start_273 .. :try_end_283} :catchall_4b9

    if-eqz v12, :cond_2a0

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

    move-result-object v12

    check-cast v12, Lg6/t1;

    invoke-virtual {v12}, Lg6/t1;->F()Z

    move-result v12

    if-nez v12, :cond_27f

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 32
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v5, "Event filter with no ID. Audience definition ignored. appId, audienceId"

    .line 33
    :goto_29b
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v11
    :try_end_29f
    .catchall {:try_start_285 .. :try_end_29f} :catchall_61e

    goto :goto_2c5

    :cond_2a0
    :try_start_2a0
    invoke-virtual {v0}, Lg6/r1;->y()Ljava/util/List;

    move-result-object v11

    invoke-interface {v11}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v11

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

    move-result v12
    :try_end_2ac
    .catchall {:try_start_2a0 .. :try_end_2ac} :catchall_4b9

    if-eqz v12, :cond_2cd

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

    move-result-object v12

    check-cast v12, Lg6/b2;

    invoke-virtual {v12}, Lg6/b2;->A()Z

    move-result v12

    if-nez v12, :cond_2a8

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 34
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v5, "Property filter with no ID. Audience definition ignored. appId, audienceId"

    goto :goto_29b

    .line 35
    :goto_2c5
    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v9

    invoke-virtual {v0, v5, v11, v9}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_2cc
    .catchall {:try_start_2ae .. :try_end_2cc} :catchall_61e

    goto :goto_26b

    :cond_2cd
    :try_start_2cd
    invoke-virtual {v0}, Lg6/r1;->x()Ljava/util/List;

    move-result-object v11

    invoke-interface {v11}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v11

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

    move-result v12
    :try_end_2d9
    .catchall {:try_start_2cd .. :try_end_2d9} :catchall_4b9

    const-string v13, "data"

    const-string v14, "session_scoped"

    const-string v15, "filter_id"

    const-string v5, "audience_id"

    move-object/from16 v19, v3

    const-string v3, "app_id"

    const-wide/16 v20, -0x1

    move-object/from16 v22, v1

    if-eqz v12, :cond_3ad

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

    move-result-object v12

    check-cast v12, Lg6/t1;

    invoke-virtual {v6}, Lj6/y5;->h()V

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    .line 36
    invoke-static {v12, v8}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 37
    invoke-virtual {v12}, Lg6/t1;->x()Ljava/lang/String;

    move-result-object v23

    invoke-static/range {v23 .. v23}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v23

    if-eqz v23, :cond_332

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 38
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v1, "Event filter had no event name. Audience definition ignored. appId, audienceId, filterId"

    .line 39
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

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

    move-result-object v5

    invoke-virtual {v12}, Lg6/t1;->F()Z

    move-result v11

    if-eqz v11, :cond_328

    invoke-virtual {v12}, Lg6/t1;->s()I

    move-result v11

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

    move-result-object v11

    goto :goto_329

    :cond_328
    const/4 v11, 0x0

    :goto_329
    invoke-static {v11}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v0, v1, v3, v5, v11}, Lj6/e3;->f(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V

    goto/16 :goto_483

    :cond_332
    invoke-virtual {v12}, Lg6/b5;->e()[B

    move-result-object v1

    move-object/from16 v24, v11

    new-instance v11, Landroid/content/ContentValues;

    invoke-direct {v11}, Landroid/content/ContentValues;-><init>()V

    invoke-virtual {v11, v3, v2}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

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

    move-result-object v3

    invoke-virtual {v11, v5, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    invoke-virtual {v12}, Lg6/t1;->F()Z

    move-result v3

    if-eqz v3, :cond_356

    invoke-virtual {v12}, Lg6/t1;->s()I

    move-result v3

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

    move-result-object v3

    goto :goto_357

    :cond_356
    const/4 v3, 0x0

    :goto_357
    invoke-virtual {v11, v15, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    const-string v3, "event_name"

    invoke-virtual {v12}, Lg6/t1;->x()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v11, v3, v5}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v12}, Lg6/t1;->G()Z

    move-result v3

    if-eqz v3, :cond_372

    invoke-virtual {v12}, Lg6/t1;->D()Z

    move-result v3

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    goto :goto_373

    :cond_372
    const/4 v3, 0x0

    :goto_373
    invoke-virtual {v11, v14, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v11, v13, v1}, Landroid/content/ContentValues;->put(Ljava/lang/String;[B)V
    :try_end_379
    .catchall {:try_start_2eb .. :try_end_379} :catchall_61a

    :try_start_379
    invoke-virtual {v6}, Lj6/j;->D()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const/4 v3, 0x5

    const/4 v5, 0x0

    invoke-virtual {v1, v4, v5, v11, v3}, Landroid/database/sqlite/SQLiteDatabase;->insertWithOnConflict(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;I)J

    move-result-wide v11

    cmp-long v1, v11, v20

    if-nez v1, :cond_398

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    .line 40
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v3, "Failed to insert event filter (got -1). appId"

    .line 41
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {v1, v3, v5}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_398
    .catch Landroid/database/sqlite/SQLiteException; {:try_start_379 .. :try_end_398} :catch_3a0
    .catchall {:try_start_379 .. :try_end_398} :catchall_61a

    :cond_398
    move-object/from16 v3, v19

    move-object/from16 v1, v22

    move-object/from16 v11, v24

    goto/16 :goto_2d5

    :catch_3a0
    move-exception v0

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    .line 42
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v3, "Error storing event filter. appId"

    goto/16 :goto_47c

    .line 43
    :cond_3ad
    invoke-virtual {v0}, Lg6/r1;->y()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_26f

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

    move-result-object v1

    check-cast v1, Lg6/b2;

    invoke-virtual {v6}, Lj6/y5;->h()V

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    .line 44
    invoke-static {v1, v8}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 45
    invoke-virtual {v1}, Lg6/b2;->v()Ljava/lang/String;

    move-result-object v11

    invoke-static {v11}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v11

    if-eqz v11, :cond_402

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 46
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v3, "Property filter had no property name. Audience definition ignored. appId, audienceId, filterId"

    .line 47
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

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

    move-result-object v11

    invoke-virtual {v1}, Lg6/b2;->A()Z

    move-result v12

    if-eqz v12, :cond_3f8

    invoke-virtual {v1}, Lg6/b2;->o()I

    move-result v1

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

    move-result-object v1

    goto :goto_3f9

    :cond_3f8
    const/4 v1, 0x0

    :goto_3f9
    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v3, v5, v11, v1}, Lj6/e3;->f(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V

    goto/16 :goto_483

    :cond_402
    invoke-virtual {v1}, Lg6/b5;->e()[B

    move-result-object v11

    new-instance v12, Landroid/content/ContentValues;

    invoke-direct {v12}, Landroid/content/ContentValues;-><init>()V

    invoke-virtual {v12, v3, v2}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    move-object/from16 v24, v0

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

    move-result-object v0

    invoke-virtual {v12, v5, v0}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    invoke-virtual {v1}, Lg6/b2;->A()Z

    move-result v0

    if-eqz v0, :cond_426

    invoke-virtual {v1}, Lg6/b2;->o()I

    move-result v0

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

    move-result-object v0

    goto :goto_427

    :cond_426
    const/4 v0, 0x0

    :goto_427
    invoke-virtual {v12, v15, v0}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    const-string v0, "property_name"

    move-object/from16 v25, v3

    invoke-virtual {v1}, Lg6/b2;->v()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v12, v0, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v1}, Lg6/b2;->B()Z

    move-result v0

    if-eqz v0, :cond_444

    invoke-virtual {v1}, Lg6/b2;->z()Z

    move-result v0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto :goto_445

    :cond_444
    const/4 v0, 0x0

    :goto_445
    invoke-virtual {v12, v14, v0}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v12, v13, v11}, Landroid/content/ContentValues;->put(Ljava/lang/String;[B)V
    :try_end_44b
    .catchall {:try_start_3a1 .. :try_end_44b} :catchall_61a

    :try_start_44b
    invoke-virtual {v6}, Lj6/j;->D()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    const/4 v1, 0x5

    const/4 v3, 0x0

    invoke-virtual {v0, v10, v3, v12, v1}, Landroid/database/sqlite/SQLiteDatabase;->insertWithOnConflict(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;I)J

    move-result-wide v11

    cmp-long v0, v11, v20

    if-nez v0, :cond_46b

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 48
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v1, "Failed to insert property filter (got -1). appId"

    .line 49
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v0, v1, v3}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_46a
    .catch Landroid/database/sqlite/SQLiteException; {:try_start_44b .. :try_end_46a} :catch_471
    .catchall {:try_start_44b .. :try_end_46a} :catchall_61a

    goto :goto_483

    :cond_46b
    move-object/from16 v0, v24

    move-object/from16 v3, v25

    goto/16 :goto_3b5

    :catch_471
    move-exception v0

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    .line 50
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v3, "Error storing property filter. appId"

    .line 51
    :goto_47c
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {v1, v3, v5, v0}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    :goto_483
    invoke-virtual {v6}, Lj6/y5;->h()V

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual {v6}, Lj6/j;->D()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    const/4 v1, 0x2

    new-array v3, v1, [Ljava/lang/String;

    const/4 v5, 0x0

    aput-object v2, v3, v5

    invoke-static {v9}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v11

    const/4 v12, 0x1

    aput-object v11, v3, v12

    move-object/from16 v11, v17

    invoke-virtual {v0, v10, v11, v3}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    new-array v1, v1, [Ljava/lang/String;

    aput-object v2, v1, v5

    invoke-static {v9}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v12

    invoke-virtual {v0, v4, v11, v1}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    :goto_4af
    move-object/from16 v17, v11

    move-object/from16 v3, v19

    move-object/from16 v1, v22

    move-object/from16 v19, v8

    goto/16 :goto_23a

    :catchall_4b9
    move-exception v0

    move-object/from16 v22, v1

    goto/16 :goto_61b

    :cond_4be
    move-object/from16 v22, v1

    new-instance v0, Ljava/util/ArrayList;

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

    invoke-virtual {v7}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v3

    if-eqz v3, :cond_4e9

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

    move-result-object v3

    check-cast v3, Lg6/r1;

    invoke-virtual {v3}, Lg6/r1;->B()Z

    move-result v4

    if-eqz v4, :cond_4e4

    invoke-virtual {v3}, Lg6/r1;->o()I

    move-result v3

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

    move-result-object v5

    goto :goto_4e5

    :cond_4e4
    const/4 v5, 0x0

    :goto_4e5
    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_4c9

    :cond_4e9
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual {v6}, Lj6/y5;->h()V

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-virtual {v6}, Lj6/j;->D()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1
    :try_end_4f6
    .catchall {:try_start_472 .. :try_end_4f6} :catchall_61a

    const/4 v3, 0x1

    :try_start_4f7
    new-array v4, v3, [Ljava/lang/String;

    const/4 v3, 0x0

    aput-object v2, v4, v3

    const-string v3, "select count(1) from audience_filter_values where app_id=?"

    invoke-virtual {v6, v3, v4}, Lj6/j;->z(Ljava/lang/String;[Ljava/lang/String;)J

    move-result-wide v3
    :try_end_502
    .catch Landroid/database/sqlite/SQLiteException; {:try_start_4f7 .. :try_end_502} :catch_595
    .catchall {:try_start_4f7 .. :try_end_502} :catchall_61a

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

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

    const/16 v6, 0x7d0

    .line 53
    sget-object v7, Lj6/u2;->E:Lj6/t2;

    invoke-virtual {v5, v2, v7}, Lj6/f;->m(Ljava/lang/String;Lj6/t2;)I

    move-result v5

    invoke-static {v6, v5}, Ljava/lang/Math;->min(II)I

    move-result v5

    const/4 v6, 0x0

    invoke-static {v6, v5}, Ljava/lang/Math;->max(II)I

    move-result v5

    int-to-long v6, v5

    cmp-long v3, v3, v6

    if-gtz v3, :cond_51e

    goto/16 :goto_5a7

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

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

    const/4 v4, 0x0

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

    move-result v6

    if-ge v4, v6, :cond_540

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/Integer;

    if-eqz v6, :cond_5a7

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

    move-result v6

    invoke-static {v6}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v6

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

    add-int/lit8 v4, v4, 0x1

    goto :goto_524

    :cond_540
    const-string v0, ","

    invoke-static {v0, v3}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    const/4 v4, 0x2

    add-int/2addr v3, v4

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4, v3}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string v3, "("

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, ")"

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v3, "audience_filter_values"

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    add-int/lit16 v4, v4, 0x8c

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6, v4}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string v4, "audience_id in (select audience_id from audience_filter_values where app_id=? and audience_id not in "

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, " order by rowid desc limit -1 offset ?)"

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/4 v4, 0x2

    new-array v0, v4, [Ljava/lang/String;

    const/4 v4, 0x0

    aput-object v2, v0, v4

    invoke-static {v5}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v4

    const/4 v5, 0x1

    aput-object v4, v0, v5

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4, v0}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    goto :goto_5a7

    :catch_595
    move-exception v0

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    .line 54
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v3, "Database error querying filters. appId"

    .line 55
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v1, v3, v4, v0}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    :cond_5a7
    :goto_5a7
    invoke-virtual/range {v22 .. v22}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
    :try_end_5aa
    .catchall {:try_start_502 .. :try_end_5aa} :catchall_61a

    invoke-virtual/range {v22 .. v22}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    move-object/from16 v1, v16

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

    if-eqz v0, :cond_5b9

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

    const/4 v3, 0x0

    iput-boolean v3, v1, Lg6/c6;->t:Z

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

    check-cast v0, Lg6/k2;

    invoke-static {v0}, Lg6/k2;->D(Lg6/k2;)V

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

    move-result-object v0

    check-cast v0, Lg6/k2;

    invoke-virtual {v0}, Lg6/b5;->e()[B

    move-result-object v0
    :try_end_5ca
    .catch Ljava/lang/RuntimeException; {:try_start_5af .. :try_end_5ca} :catch_5cd

    move-object/from16 v3, p0

    goto :goto_5e3

    :catch_5cd
    move-exception v0

    move-object/from16 v3, p0

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

    invoke-virtual {v4}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v4

    .line 58
    iget-object v4, v4, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    .line 59
    invoke-static/range {p1 .. p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    const-string v6, "Unable to serialize reduced-size config. Storing full config instead. appId"

    invoke-virtual {v4, v6, v5, v0}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    move-object/from16 v0, p2

    .line 60
    :goto_5e3
    sget-object v4, Lg6/ya;->s:Lg6/ya;

    invoke-virtual {v4}, Lg6/ya;->a()Lg6/za;

    move-result-object v4

    invoke-interface {v4}, Lg6/za;->zza()Z

    .line 61
    iget-object v4, v3, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

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

    .line 63
    sget-object v5, Lj6/u2;->m0:Lj6/t2;

    const/4 v6, 0x0

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

    move-result v4

    if-eqz v4, :cond_603

    iget-object v4, v3, Lj6/x5;->b:Lj6/b6;

    .line 64
    iget-object v4, v4, Lj6/b6;->c:Lj6/j;

    invoke-static {v4}, Lj6/b6;->I(Lj6/y5;)Lj6/y5;

    move-object/from16 v6, p3

    goto :goto_60a

    .line 65
    :cond_603
    iget-object v4, v3, Lj6/x5;->b:Lj6/b6;

    .line 66
    iget-object v4, v4, Lj6/b6;->c:Lj6/j;

    invoke-static {v4}, Lj6/b6;->I(Lj6/y5;)Lj6/y5;

    .line 67
    :goto_60a
    invoke-virtual {v4, v2, v0, v6}, Lj6/j;->p(Ljava/lang/String;[BLjava/lang/String;)V

    iget-object v0, v3, Lj6/y3;->g:Ljava/util/Map;

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

    move-result-object v1

    check-cast v1, Lg6/k2;

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

    const/4 v1, 0x1

    return v1

    :catchall_61a
    move-exception v0

    :goto_61b
    move-object/from16 v3, p0

    goto :goto_623

    :catchall_61e
    move-exception v0

    move-object/from16 v3, p0

    move-object/from16 v22, v1

    .line 68
    :goto_623
    invoke-virtual/range {v22 .. v22}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    throw v0
.end method

.method public final v(Ljava/lang/String;[B)Lg6/k2;
    .registers 10

    const-string v0, "Unable to merge remote config. appId"

    if-nez p2, :cond_9

    invoke-static {}, Lg6/k2;->x()Lg6/k2;

    move-result-object p1

    return-object p1

    :cond_9
    :try_start_9
    invoke-static {}, Lg6/k2;->v()Lg6/j2;

    move-result-object v1

    invoke-static {v1, p2}, Lj6/d6;->D(Lg6/a5;[B)Lg6/a5;

    move-result-object p2

    check-cast p2, Lg6/j2;

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

    move-result-object p2

    check-cast p2, Lg6/k2;

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    .line 1
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v2, "Parsed config. version, gmp_app_id"

    .line 2
    invoke-virtual {p2}, Lg6/k2;->G()Z

    move-result v3

    const/4 v4, 0x0

    if-eqz v3, :cond_33

    invoke-virtual {p2}, Lg6/k2;->t()J

    move-result-wide v5

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

    move-result-object v3

    goto :goto_34

    :cond_33
    move-object v3, v4

    :goto_34
    invoke-virtual {p2}, Lg6/k2;->F()Z

    move-result v5

    if-eqz v5, :cond_3e

    invoke-virtual {p2}, Lg6/k2;->y()Ljava/lang/String;

    move-result-object v4

    :cond_3e
    invoke-virtual {v1, v2, v3, v4}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_41
    .catch Lg6/o6; {:try_start_9 .. :try_end_41} :catch_57
    .catch Ljava/lang/RuntimeException; {:try_start_9 .. :try_end_41} :catch_42

    return-object p2

    :catch_42
    move-exception p2

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    .line 3
    :goto_49
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    .line 4
    invoke-static {p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    invoke-virtual {v1, v0, p1, p2}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    invoke-static {}, Lg6/k2;->x()Lg6/k2;

    move-result-object p1

    return-object p1

    :catch_57
    move-exception p2

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    goto :goto_49
.end method

.method public final w(Ljava/lang/String;Lg6/j2;)V
    .registers 14

    new-instance v0, Lr/a;

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

    new-instance v1, Lr/a;

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

    new-instance v2, Lr/a;

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

    const/4 v3, 0x0

    move v4, v3

    .line 1
    :goto_11
    iget-object v5, p2, Lg6/c6;->s:Lg6/f6;

    check-cast v5, Lg6/k2;

    invoke-virtual {v5}, Lg6/k2;->s()I

    move-result v5

    if-ge v4, v5, :cond_13d

    .line 2
    iget-object v5, p2, Lg6/c6;->s:Lg6/f6;

    check-cast v5, Lg6/k2;

    invoke-virtual {v5, v4}, Lg6/k2;->u(I)Lg6/i2;

    move-result-object v5

    .line 3
    invoke-virtual {v5}, Lg6/f6;->k()Lg6/c6;

    move-result-object v5

    check-cast v5, Lg6/g2;

    invoke-virtual {v5}, Lg6/g2;->l()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-eqz v6, :cond_42

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

    invoke-virtual {v5}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v5

    .line 4
    iget-object v5, v5, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v6, "EventConfig contained null event name"

    .line 5
    invoke-virtual {v5, v6}, Lj6/e3;->c(Ljava/lang/String;)V

    goto/16 :goto_139

    :cond_42
    invoke-virtual {v5}, Lg6/g2;->l()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5}, Lg6/g2;->l()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lj6/k4;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v8

    if-nez v8, :cond_7a

    .line 6
    iget-boolean v8, v5, Lg6/c6;->t:Z

    if-eqz v8, :cond_5d

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

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

    :cond_5d
    iget-object v8, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v8, Lg6/i2;

    invoke-static {v8, v7}, Lg6/i2;->u(Lg6/i2;Ljava/lang/String;)V

    .line 7
    iget-boolean v7, p2, Lg6/c6;->t:Z

    if-eqz v7, :cond_6d

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

    iput-boolean v3, p2, Lg6/c6;->t:Z

    :cond_6d
    iget-object v7, p2, Lg6/c6;->s:Lg6/f6;

    check-cast v7, Lg6/k2;

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

    move-result-object v8

    check-cast v8, Lg6/i2;

    invoke-static {v7, v4, v8}, Lg6/k2;->C(Lg6/k2;ILg6/i2;)V

    .line 8
    :cond_7a
    sget-object v7, Lg6/l9;->s:Lg6/l9;

    invoke-virtual {v7}, Lg6/l9;->a()Lg6/m9;

    move-result-object v8

    invoke-interface {v8}, Lg6/m9;->zza()Z

    .line 9
    iget-object v8, p0, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

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

    .line 11
    sget-object v9, Lj6/u2;->x0:Lj6/t2;

    const/4 v10, 0x0

    invoke-virtual {v8, v10, v9}, Lj6/f;->v(Ljava/lang/String;Lj6/t2;)Z

    move-result v8

    if-nez v8, :cond_9d

    .line 12
    iget-object v8, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v8, Lg6/i2;

    invoke-virtual {v8}, Lg6/i2;->v()Z

    move-result v8

    .line 13
    invoke-static {v8}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v8

    goto :goto_b3

    .line 14
    :cond_9d
    iget-object v8, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v8, Lg6/i2;

    invoke-virtual {v8}, Lg6/i2;->x()Z

    move-result v8

    if-eqz v8, :cond_b6

    .line 15
    iget-object v8, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v8, Lg6/i2;

    invoke-virtual {v8}, Lg6/i2;->v()Z

    move-result v8

    if-eqz v8, :cond_b6

    .line 16
    sget-object v8, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    :goto_b3
    invoke-virtual {v0, v6, v8}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 17
    :cond_b6
    invoke-virtual {v7}, Lg6/l9;->a()Lg6/m9;

    move-result-object v6

    invoke-interface {v6}, Lg6/m9;->zza()Z

    .line 18
    iget-object v6, p0, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

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

    .line 20
    invoke-virtual {v6, v10, v9}, Lj6/f;->v(Ljava/lang/String;Lj6/t2;)Z

    move-result v6

    if-nez v6, :cond_d8

    invoke-virtual {v5}, Lg6/g2;->l()Ljava/lang/String;

    move-result-object v6

    .line 21
    iget-object v7, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v7, Lg6/i2;

    invoke-virtual {v7}, Lg6/i2;->w()Z

    move-result v7

    .line 22
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v7

    goto :goto_f2

    .line 23
    :cond_d8
    iget-object v6, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v6, Lg6/i2;

    invoke-virtual {v6}, Lg6/i2;->y()Z

    move-result v6

    if-eqz v6, :cond_f5

    .line 24
    iget-object v6, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v6, Lg6/i2;

    invoke-virtual {v6}, Lg6/i2;->w()Z

    move-result v6

    if-eqz v6, :cond_f5

    .line 25
    invoke-virtual {v5}, Lg6/g2;->l()Ljava/lang/String;

    move-result-object v6

    sget-object v7, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    :goto_f2
    invoke-virtual {v1, v6, v7}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 26
    :cond_f5
    iget-object v6, v5, Lg6/c6;->s:Lg6/f6;

    check-cast v6, Lg6/i2;

    invoke-virtual {v6}, Lg6/i2;->z()Z

    move-result v6

    if-eqz v6, :cond_139

    .line 27
    invoke-virtual {v5}, Lg6/g2;->j()I

    move-result v6

    const/4 v7, 0x2

    if-lt v6, v7, :cond_120

    invoke-virtual {v5}, Lg6/g2;->j()I

    move-result v6

    const v7, 0xffff

    if-le v6, v7, :cond_110

    goto :goto_120

    :cond_110
    invoke-virtual {v5}, Lg6/g2;->l()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5}, Lg6/g2;->j()I

    move-result v5

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

    move-result-object v5

    invoke-virtual {v2, v6, v5}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_139

    :cond_120
    :goto_120
    iget-object v6, p0, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

    invoke-virtual {v6}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v6

    .line 28
    iget-object v6, v6, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    .line 29
    invoke-virtual {v5}, Lg6/g2;->l()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5}, Lg6/g2;->j()I

    move-result v5

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

    move-result-object v5

    const-string v8, "Invalid sampling rate. Event name, sample rate"

    invoke-virtual {v6, v8, v7, v5}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    :cond_139
    :goto_139
    add-int/lit8 v4, v4, 0x1

    goto/16 :goto_11

    :cond_13d
    iget-object p2, p0, Lj6/y3;->e:Ljava/util/Map;

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

    iget-object p2, p0, Lj6/y3;->f:Ljava/util/Map;

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

    iget-object p2, p0, Lj6/y3;->h:Ljava/util/Map;

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

    return-void
.end method

.method public final x(Ljava/lang/String;)V
    .registers 14

    invoke-virtual {p0}, Lj6/y5;->h()V

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-static {p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lj6/y3;->g:Ljava/util/Map;

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

    move-result-object v0

    if-nez v0, :cond_11b

    iget-object v0, p0, Lj6/x5;->b:Lj6/b6;

    .line 1
    iget-object v0, v0, Lj6/b6;->c:Lj6/j;

    invoke-static {v0}, Lj6/b6;->I(Lj6/y5;)Lj6/y5;

    .line 2
    invoke-static {p1}, Lcom/google/android/gms/common/internal/d;->e(Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/e;->g()V

    invoke-virtual {v0}, Lj6/y5;->h()V

    const/4 v1, 0x0

    :try_start_22
    invoke-virtual {v0}, Lj6/j;->D()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v2

    const-string v3, "remote_config"

    const-string v4, "config_last_modified_time"

    filled-new-array {v3, v4}, [Ljava/lang/String;

    move-result-object v4

    const/4 v10, 0x1

    new-array v6, v10, [Ljava/lang/String;

    const/4 v11, 0x0

    aput-object p1, v6, v11

    const-string v3, "apps"

    const-string v5, "app_id=?"

    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x0

    invoke-virtual/range {v2 .. v9}, Landroid/database/sqlite/SQLiteDatabase;->query(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v2
    :try_end_3f
    .catch Landroid/database/sqlite/SQLiteException; {:try_start_22 .. :try_end_3f} :catch_76
    .catchall {:try_start_22 .. :try_end_3f} :catchall_73

    :try_start_3f
    invoke-interface {v2}, Landroid/database/Cursor;->moveToFirst()Z

    move-result v3

    if-nez v3, :cond_46

    goto :goto_8c

    :cond_46
    invoke-interface {v2, v11}, Landroid/database/Cursor;->getBlob(I)[B

    move-result-object v3

    invoke-interface {v2, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v2}, Landroid/database/Cursor;->moveToNext()Z

    move-result v5

    if-eqz v5, :cond_65

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

    invoke-virtual {v5}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v5

    .line 3
    iget-object v5, v5, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v6, "Got multiple records for app config, expected one. appId"

    .line 4
    invoke-static {p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V

    :cond_65
    if-nez v3, :cond_68

    goto :goto_8c

    :cond_68
    new-instance v5, Landroid/util/Pair;

    invoke-direct {v5, v3, v4}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_6d
    .catch Landroid/database/sqlite/SQLiteException; {:try_start_3f .. :try_end_6d} :catch_71
    .catchall {:try_start_3f .. :try_end_6d} :catchall_113

    invoke-interface {v2}, Landroid/database/Cursor;->close()V

    goto :goto_90

    :catch_71
    move-exception v3

    goto :goto_79

    :catchall_73
    move-exception p1

    goto/16 :goto_115

    :catch_76
    move-exception v2

    move-object v3, v2

    move-object v2, v1

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 5
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v4, "Error querying remote config. appId"

    .line 6
    invoke-static {p1}, Lcom/google/android/gms/measurement/internal/b;->u(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {v0, v4, v5, v3}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_8a
    .catchall {:try_start_79 .. :try_end_8a} :catchall_113

    if-eqz v2, :cond_8f

    :goto_8c
    invoke-interface {v2}, Landroid/database/Cursor;->close()V

    :cond_8f
    move-object v5, v1

    :goto_90
    if-nez v5, :cond_ae

    iget-object v0, p0, Lj6/y3;->d:Ljava/util/Map;

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

    iget-object v0, p0, Lj6/y3;->e:Ljava/util/Map;

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

    iget-object v0, p0, Lj6/y3;->f:Ljava/util/Map;

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

    iget-object v0, p0, Lj6/y3;->g:Ljava/util/Map;

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

    iget-object v0, p0, Lj6/y3;->k:Ljava/util/Map;

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

    iget-object v0, p0, Lj6/y3;->h:Ljava/util/Map;

    goto :goto_10f

    :cond_ae
    iget-object v0, v5, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v0, [B

    invoke-virtual {p0, p1, v0}, Lj6/y3;->v(Ljava/lang/String;[B)Lg6/k2;

    move-result-object v0

    invoke-virtual {v0}, Lg6/f6;->k()Lg6/c6;

    move-result-object v0

    check-cast v0, Lg6/j2;

    invoke-virtual {p0, p1, v0}, Lj6/y3;->w(Ljava/lang/String;Lg6/j2;)V

    iget-object v2, p0, Lj6/y3;->d:Ljava/util/Map;

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

    move-result-object v3

    check-cast v3, Lg6/k2;

    invoke-static {v3}, Lj6/y3;->z(Lg6/k2;)Ljava/util/Map;

    move-result-object v3

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

    iget-object v2, p0, Lj6/y3;->g:Ljava/util/Map;

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

    move-result-object v3

    check-cast v3, Lg6/k2;

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

    invoke-static {}, Lg6/fb;->b()Z

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

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

    .line 8
    sget-object v3, Lj6/u2;->p0:Lj6/t2;

    invoke-virtual {v2, v1, v3}, Lj6/f;->v(Ljava/lang/String;Lj6/t2;)Z

    move-result v2

    if-eqz v2, :cond_f1

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

    move-result-object v0

    check-cast v0, Lg6/k2;

    invoke-virtual {p0, p1, v0}, Lj6/y3;->y(Ljava/lang/String;Lg6/k2;)V

    .line 9
    :cond_f1
    sget-object v0, Lg6/ya;->s:Lg6/ya;

    invoke-virtual {v0}, Lg6/ya;->a()Lg6/za;

    move-result-object v0

    invoke-interface {v0}, Lg6/za;->zza()Z

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

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

    .line 12
    sget-object v2, Lj6/u2;->m0:Lj6/t2;

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

    move-result v0

    if-eqz v0, :cond_10d

    iget-object v0, p0, Lj6/y3;->k:Ljava/util/Map;

    iget-object v1, v5, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    goto :goto_10f

    :cond_10d
    iget-object v0, p0, Lj6/y3;->k:Ljava/util/Map;

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

    return-void

    :catchall_113
    move-exception p1

    move-object v1, v2

    :goto_115
    if-eqz v1, :cond_11a

    invoke-interface {v1}, Landroid/database/Cursor;->close()V

    :cond_11a
    throw p1

    :cond_11b
    return-void
.end method

.method public final y(Ljava/lang/String;Lg6/k2;)V
    .registers 7

    invoke-virtual {p2}, Lg6/k2;->o()I

    move-result v0

    if-eqz v0, :cond_b5

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 1
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v1, "EES programs found"

    .line 2
    invoke-virtual {p2}, Lg6/k2;->o()I

    move-result v2

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

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V

    invoke-virtual {p2}, Lg6/k2;->A()Ljava/util/List;

    move-result-object p2

    const/4 v0, 0x0

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

    move-result-object p2

    check-cast p2, Lg6/u3;

    :try_start_26
    new-instance v0, Lg6/n0;

    invoke-direct {v0}, Lg6/n0;-><init>()V

    const-string v1, "internal.remoteConfig"

    new-instance v2, Lz5/w10;

    invoke-direct {v2, p0, p1}, Lz5/w10;-><init>(Lj6/y3;Ljava/lang/String;)V

    .line 3
    iget-object v3, v0, Lg6/n0;->a:Lg6/h2;

    iget-object v3, v3, Lg6/h2;->d:Landroidx/lifecycle/s;

    .line 4
    iget-object v3, v3, Landroidx/lifecycle/s;->a:Ljava/util/Map;

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

    .line 5
    new-instance v1, Lz5/q0;

    invoke-direct {v1, p0, p1}, Lz5/q0;-><init>(Lj6/y3;Ljava/lang/String;)V

    const-string v2, "internal.appMetadata"

    .line 6
    iget-object v3, v0, Lg6/n0;->a:Lg6/h2;

    iget-object v3, v3, Lg6/h2;->d:Landroidx/lifecycle/s;

    .line 7
    iget-object v3, v3, Landroidx/lifecycle/s;->a:Ljava/util/Map;

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

    .line 8
    new-instance v1, Lz5/r01;

    invoke-direct {v1, p0}, Lz5/r01;-><init>(Lj6/y3;)V

    const-string v2, "internal.logger"

    .line 9
    iget-object v3, v0, Lg6/n0;->a:Lg6/h2;

    iget-object v3, v3, Lg6/h2;->d:Landroidx/lifecycle/s;

    .line 10
    iget-object v3, v3, Landroidx/lifecycle/s;->a:Ljava/util/Map;

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

    .line 11
    invoke-virtual {v0, p2}, Lg6/n0;->a(Lg6/u3;)V

    iget-object v1, p0, Lj6/y3;->i:Lr/f;

    invoke-virtual {v1, p1, v0}, Lr/f;->c(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 12
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v1, "EES program loaded for appId, activities"

    .line 13
    invoke-virtual {p2}, Lg6/u3;->o()Lg6/q3;

    move-result-object v2

    invoke-virtual {v2}, Lg6/q3;->o()I

    move-result v2

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

    move-result-object v2

    invoke-virtual {v0, v1, p1, v2}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    invoke-virtual {p2}, Lg6/u3;->o()Lg6/q3;

    move-result-object p2

    invoke-virtual {p2}, Lg6/q3;->u()Ljava/util/List;

    move-result-object p2

    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

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

    move-result v0

    if-eqz v0, :cond_a6

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

    move-result-object v0

    check-cast v0, Lg6/s3;

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

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    .line 14
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v2, "EES program activity"

    .line 15
    invoke-virtual {v0}, Lg6/s3;->s()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_a5
    .catch Lg6/g1; {:try_start_26 .. :try_end_a5} :catch_a7

    goto :goto_88

    :cond_a6
    return-void

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

    invoke-virtual {p2}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object p2

    .line 16
    iget-object p2, p2, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

    const-string v0, "Failed to load EES program. appId"

    .line 17
    invoke-virtual {p2, v0, p1}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V

    return-void

    :cond_b5
    iget-object p2, p0, Lj6/y3;->i:Lr/f;

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

    const-string v0, "key == null"

    .line 18
    invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    monitor-enter p2

    :try_start_c0
    iget-object v0, p2, Lr/f;->a:Ljava/util/LinkedHashMap;

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

    move-result-object p1

    if-eqz p1, :cond_ce

    iget p1, p2, Lr/f;->b:I

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

    iput p1, p2, Lr/f;->b:I

    :cond_ce
    monitor-exit p2

    return-void

    :catchall_d0
    move-exception p1

    monitor-exit p2
    :try_end_d2
    .catchall {:try_start_c0 .. :try_end_d2} :catchall_d0

    throw p1
.end method
