.class public final Lj6/x4;
.super Lj6/q3;
.source ""


# instance fields
.field public c:Lj6/w4;

.field public d:Landroidx/appcompat/widget/d0;

.field public final e:Ljava/util/Set;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Set<",
            "Lj6/n4;",
            ">;"
        }
    .end annotation
.end field

.field public f:Z

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

.field public final h:Ljava/lang/Object;

.field public i:Lj6/g;

.field public j:I

.field public final k:Ljava/util/concurrent/atomic/AtomicLong;

.field public l:J

.field public m:I

.field public final n:Lj6/l6;

.field public o:Z

.field public final p:Lj6/h6;


# direct methods
.method public constructor <init>(Lcom/google/android/gms/measurement/internal/d;)V
    .registers 5

    invoke-direct {p0, p1}, Lj6/q3;-><init>(Lcom/google/android/gms/measurement/internal/d;)V

    new-instance v0, Ljava/util/concurrent/CopyOnWriteArraySet;

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

    iput-object v0, p0, Lj6/x4;->e:Ljava/util/Set;

    new-instance v0, Ljava/lang/Object;

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

    iput-object v0, p0, Lj6/x4;->h:Ljava/lang/Object;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lj6/x4;->o:Z

    new-instance v0, Lj6/w3;

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

    iput-object v0, p0, Lj6/x4;->p:Lj6/h6;

    new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;

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

    iput-object v0, p0, Lj6/x4;->g:Ljava/util/concurrent/atomic/AtomicReference;

    new-instance v0, Lj6/g;

    const/4 v1, 0x0

    invoke-direct {v0, v1, v1}, Lj6/g;-><init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)V

    iput-object v0, p0, Lj6/x4;->i:Lj6/g;

    const/16 v0, 0x64

    iput v0, p0, Lj6/x4;->j:I

    const-wide/16 v1, -0x1

    iput-wide v1, p0, Lj6/x4;->l:J

    iput v0, p0, Lj6/x4;->m:I

    new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;

    const-wide/16 v1, 0x0

    invoke-direct {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;-><init>(J)V

    iput-object v0, p0, Lj6/x4;->k:Ljava/util/concurrent/atomic/AtomicLong;

    new-instance v0, Lj6/l6;

    invoke-direct {v0, p1}, Lj6/l6;-><init>(Lcom/google/android/gms/measurement/internal/d;)V

    iput-object v0, p0, Lj6/x4;->n:Lj6/l6;

    return-void
.end method

.method public static H(Lj6/x4;Lj6/g;IJZZ)V
    .registers 9

    invoke-virtual {p0}, Lj6/w2;->g()V

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

    iget-wide v0, p0, Lj6/x4;->l:J

    cmp-long v0, p3, v0

    if-gtz v0, :cond_23

    iget v0, p0, Lj6/x4;->m:I

    invoke-static {v0, p2}, Lj6/g;->h(II)Z

    move-result v0

    if-nez v0, :cond_15

    goto :goto_23

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

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

    move-result-object p0

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

    const-string p2, "Dropped out-of-date consent setting, proposed settings"

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

    return-void

    :cond_23
    :goto_23
    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v0

    iget-object v1, 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/e;->g()V

    invoke-virtual {v0, p2}, Lcom/google/android/gms/measurement/internal/c;->v(I)Z

    move-result v1

    if-eqz v1, :cond_90

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/c;->n()Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-virtual {p1}, Lj6/g;->e()Ljava/lang/String;

    move-result-object p1

    const-string v1, "consent_settings"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    const-string p1, "consent_source"

    invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V

    iput-wide p3, p0, Lj6/x4;->l:J

    iput p2, p0, Lj6/x4;->m:I

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->y()Lj6/m5;

    move-result-object p1

    .line 3
    invoke-virtual {p1}, Lj6/w2;->g()V

    invoke-virtual {p1}, Lj6/q3;->h()V

    if-eqz p5, :cond_6b

    invoke-virtual {p1}, Lj6/m5;->v()Z

    iget-object p2, p1, 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;->p()Lj6/a3;

    move-result-object p2

    invoke-virtual {p2}, Lj6/a3;->l()V

    :cond_6b
    invoke-virtual {p1}, Lj6/m5;->n()Z

    move-result p2

    if-eqz p2, :cond_7f

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Lj6/m5;->p(Z)Lj6/j6;

    move-result-object p2

    new-instance p3, Lj6/i5;

    const/4 p4, 0x1

    invoke-direct {p3, p1, p2, p4}, Lj6/i5;-><init>(Lj6/m5;Lj6/j6;I)V

    invoke-virtual {p1, p3}, Lj6/m5;->u(Ljava/lang/Runnable;)V

    :cond_7f
    if-eqz p6, :cond_8f

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

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/internal/d;->y()Lj6/m5;

    move-result-object p0

    new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;

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

    invoke-virtual {p0, p1}, Lj6/m5;->z(Ljava/util/concurrent/atomic/AtomicReference;)V

    :cond_8f
    return-void

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

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

    move-result-object p0

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

    .line 6
    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    const-string p2, "Lower precedence consent source ignored, proposed source"

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

    return-void
.end method


# virtual methods
.method public final A(Ljava/lang/Object;)V
    .registers 10

    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;->n:Lu5/c;

    .line 2
    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v6

    const-string v2, "auto"

    const-string v3, "_ldl"

    const/4 v5, 0x1

    move-object v1, p0

    move-object v4, p1

    invoke-virtual/range {v1 .. v7}, Lj6/x4;->B(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;ZJ)V

    return-void
.end method

.method public final B(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;ZJ)V
    .registers 22

    move-object v6, p0

    move-object/from16 v2, p2

    move-object/from16 v0, p3

    if-nez p1, :cond_a

    const-string v1, "app"

    goto :goto_c

    :cond_a
    move-object/from16 v1, p1

    :goto_c
    const/4 v3, 0x6

    const/4 v4, 0x0

    const/16 v5, 0x18

    if-eqz p4, :cond_1e

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

    invoke-virtual {v3}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v3

    invoke-virtual {v3, v2}, Lcom/google/android/gms/measurement/internal/f;->l0(Ljava/lang/String;)I

    move-result v3

    :goto_1c
    move v11, v3

    goto :goto_46

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

    invoke-virtual {v7}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v7

    const-string v8, "user property"

    invoke-virtual {v7, v8, v2}, Lcom/google/android/gms/measurement/internal/f;->Q(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v9

    if-nez v9, :cond_2d

    :goto_2c
    goto :goto_1c

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

    const/4 v10, 0x0

    invoke-virtual {v7, v8, v9, v10, v2}, Lcom/google/android/gms/measurement/internal/f;->M(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Z

    move-result v9

    if-nez v9, :cond_39

    const/16 v3, 0xf

    goto :goto_1c

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

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

    invoke-virtual {v7, v8, v5, v2}, Lcom/google/android/gms/measurement/internal/f;->L(Ljava/lang/String;ILjava/lang/String;)Z

    move-result v7

    if-nez v7, :cond_45

    goto :goto_2c

    :cond_45
    move v11, v4

    :goto_46
    const/4 v3, 0x1

    if-eqz v11, :cond_6e

    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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v0

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

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

    invoke-virtual {v0, v2, v5, v3}, Lcom/google/android/gms/measurement/internal/f;->p(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v13

    if-eqz v2, :cond_5e

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

    move-result v4

    :cond_5e
    move v14, v4

    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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v8

    iget-object v9, v6, Lj6/x4;->p:Lj6/h6;

    const/4 v10, 0x0

    const-string v12, "_ev"

    invoke-virtual/range {v8 .. v14}, Lcom/google/android/gms/measurement/internal/f;->A(Lj6/h6;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V

    return-void

    :cond_6e
    if-eqz v0, :cond_c0

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

    invoke-virtual {v7}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v7

    invoke-virtual {v7, v2, v0}, Lcom/google/android/gms/measurement/internal/f;->h0(Ljava/lang/String;Ljava/lang/Object;)I

    move-result v11

    if-eqz v11, :cond_ab

    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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

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

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

    invoke-virtual {v1, v2, v5, v3}, Lcom/google/android/gms/measurement/internal/f;->p(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v13

    instance-of v1, v0, Ljava/lang/String;

    if-nez v1, :cond_93

    instance-of v1, v0, Ljava/lang/CharSequence;

    if-eqz v1, :cond_9b

    :cond_93
    invoke-virtual/range {p3 .. p3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

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

    move-result v4

    :cond_9b
    move v14, v4

    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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v8

    iget-object v9, v6, Lj6/x4;->p:Lj6/h6;

    const/4 v10, 0x0

    const-string v12, "_ev"

    invoke-virtual/range {v8 .. v14}, Lcom/google/android/gms/measurement/internal/f;->A(Lj6/h6;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V

    return-void

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

    invoke-virtual {v3}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v3

    invoke-virtual {v3, v2, v0}, Lcom/google/android/gms/measurement/internal/f;->o(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    if-eqz v5, :cond_bf

    move-object v0, p0

    move-object/from16 v2, p2

    move-wide/from16 v3, p5

    invoke-virtual/range {v0 .. v5}, Lj6/x4;->u(Ljava/lang/String;Ljava/lang/String;JLjava/lang/Object;)V

    :cond_bf
    return-void

    :cond_c0
    const/4 v5, 0x0

    move-object v0, p0

    move-object/from16 v2, p2

    move-wide/from16 v3, p5

    invoke-virtual/range {v0 .. v5}, Lj6/x4;->u(Ljava/lang/String;Ljava/lang/String;JLjava/lang/Object;)V

    return-void
.end method

.method public final C(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V
    .registers 15

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

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

    invoke-virtual {p0}, Lj6/w2;->g()V

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

    const-string v0, "allow_personalized_ads"

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

    move-result v0

    const/4 v1, 0x1

    const-string v2, "_npa"

    if-eqz v0, :cond_65

    instance-of v0, p3, Ljava/lang/String;

    if-eqz v0, :cond_53

    move-object v0, p3

    check-cast v0, Ljava/lang/String;

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

    move-result v3

    if-nez v3, :cond_53

    sget-object p2, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-virtual {v0, p2}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;

    move-result-object p2

    const-string p3, "false"

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

    move-result p2

    const-wide/16 v3, 0x1

    if-eq v1, p2, :cond_37

    const-wide/16 v5, 0x0

    goto :goto_38

    :cond_37
    move-wide v5, v3

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

    move-result-object p2

    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v0

    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/c;->l:Lj6/p3;

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

    move-result-wide v5

    cmp-long v3, v5, v3

    if-nez v3, :cond_4e

    const-string p3, "true"

    :cond_4e
    invoke-virtual {v0, p3}, Lj6/p3;->b(Ljava/lang/String;)V

    move-object v7, p2

    goto :goto_63

    :cond_53
    if-nez p3, :cond_65

    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object p2

    iget-object p2, p2, Lcom/google/android/gms/measurement/internal/c;->l:Lj6/p3;

    const-string v0, "unset"

    invoke-virtual {p2, v0}, Lj6/p3;->b(Ljava/lang/String;)V

    move-object v7, p3

    :goto_63
    move-object v4, v2

    goto :goto_67

    :cond_65
    move-object v4, p2

    move-object v7, p3

    :goto_67
    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;->e()Z

    move-result p2

    if-nez p2, :cond_7d

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

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

    move-result-object p1

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

    const-string p2, "User property not set since app measurement is disabled"

    .line 2
    invoke-virtual {p1, p2}, Lj6/e3;->c(Ljava/lang/String;)V

    return-void

    :cond_7d
    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;->g()Z

    move-result p2

    if-nez p2, :cond_86

    return-void

    :cond_86
    new-instance p2, Lj6/e6;

    move-object v3, p2

    move-wide v5, p4

    move-object v8, p1

    invoke-direct/range {v3 .. v8}, Lj6/e6;-><init>(Ljava/lang/String;JLjava/lang/Object;Ljava/lang/String;)V

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->y()Lj6/m5;

    move-result-object p1

    .line 3
    invoke-virtual {p1}, Lj6/w2;->g()V

    invoke-virtual {p1}, Lj6/q3;->h()V

    invoke-virtual {p1}, Lj6/m5;->v()Z

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

    invoke-virtual {p3}, Lcom/google/android/gms/measurement/internal/d;->p()Lj6/a3;

    move-result-object p3

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

    .line 4
    invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;

    move-result-object p4

    const/4 p5, 0x0

    invoke-static {p2, p4, p5}, Lj6/f6;->a(Lj6/e6;Landroid/os/Parcel;I)V

    invoke-virtual {p4}, Landroid/os/Parcel;->marshall()[B

    move-result-object v0

    invoke-virtual {p4}, Landroid/os/Parcel;->recycle()V

    array-length p4, v0

    const/high16 v2, 0x20000

    if-le p4, v2, :cond_c8

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

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

    move-result-object p3

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

    const-string p4, "User property too long for local database. Sending directly to service"

    .line 6
    invoke-virtual {p3, p4}, Lj6/e3;->c(Ljava/lang/String;)V

    goto :goto_cc

    :cond_c8
    invoke-virtual {p3, v1, v0}, Lj6/a3;->n(I[B)Z

    move-result p5

    .line 7
    :goto_cc
    invoke-virtual {p1, v1}, Lj6/m5;->p(Z)Lj6/j6;

    move-result-object p3

    new-instance p4, Lj6/h5;

    invoke-direct {p4, p1, p3, p5, p2}, Lj6/h5;-><init>(Lj6/m5;Lj6/j6;ZLj6/e6;)V

    invoke-virtual {p1, p4}, Lj6/m5;->u(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final D(Landroid/os/Bundle;J)V
    .registers 7

    invoke-static {}, Lg6/x9;->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;->n0:Lj6/t2;

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

    move-result v0

    if-eqz v0, :cond_2f

    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;->o()Lcom/google/android/gms/measurement/internal/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/a;->m()Ljava/lang/String;

    move-result-object v0

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

    move-result v0

    if-eqz v0, :cond_21

    goto :goto_2f

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

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

    move-result-object p1

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

    const-string p2, "Using developer consent only; google app id found"

    .line 4
    invoke-virtual {p1, p2}, Lj6/e3;->c(Ljava/lang/String;)V

    return-void

    :cond_2f
    :goto_2f
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0, p2, p3}, Lj6/x4;->w(Landroid/os/Bundle;IJ)V

    return-void
.end method

.method public final E(Ljava/lang/Boolean;Z)V
    .registers 5

    invoke-virtual {p0}, Lj6/w2;->g()V

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

    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;->m:Lj6/e3;

    const-string v1, "Setting app measurement enabled (FE)"

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

    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/google/android/gms/measurement/internal/c;->r(Ljava/lang/Boolean;)V

    if-eqz p2, :cond_43

    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object p2

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

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

    invoke-virtual {p2}, Lcom/google/android/gms/measurement/internal/c;->n()Landroid/content/SharedPreferences;

    move-result-object p2

    invoke-interface {p2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object p2

    const-string v0, "measurement_enabled_from_api"

    if-eqz p1, :cond_3d

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

    move-result v1

    invoke-interface {p2, v0, v1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    goto :goto_40

    :cond_3d
    invoke-interface {p2, v0}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    :goto_40
    invoke-interface {p2}, Landroid/content/SharedPreferences$Editor;->apply()V

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

    .line 3
    invoke-virtual {p2}, Lcom/google/android/gms/measurement/internal/d;->c()Lj6/d4;

    move-result-object v0

    invoke-virtual {v0}, Lj6/d4;->g()V

    iget-boolean p2, p2, Lcom/google/android/gms/measurement/internal/d;->D:Z

    if-nez p2, :cond_5a

    if-eqz p1, :cond_59

    .line 4
    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-nez p1, :cond_59

    goto :goto_5a

    :cond_59
    return-void

    :cond_5a
    :goto_5a
    invoke-virtual {p0}, Lj6/x4;->F()V

    return-void
.end method

.method public final F()V
    .registers 11

    invoke-virtual {p0}, Lj6/w2;->g()V

    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v0

    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/c;->l:Lj6/p3;

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

    move-result-object v0

    const/4 v1, 0x1

    if-eqz v0, :cond_4d

    const-string v2, "unset"

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

    move-result v2

    if-eqz v2, :cond_2c

    const/4 v6, 0x0

    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;->n:Lu5/c;

    .line 2
    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v7

    const-string v4, "app"

    const-string v5, "_npa"

    move-object v3, p0

    invoke-virtual/range {v3 .. v8}, Lj6/x4;->C(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V

    goto :goto_4d

    :cond_2c
    const-string v2, "true"

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

    move-result v0

    if-eq v1, v0, :cond_37

    const-wide/16 v2, 0x0

    goto :goto_39

    :cond_37
    const-wide/16 v2, 0x1

    :goto_39
    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v7

    iget-object v0, p0, 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;->n:Lu5/c;

    .line 4
    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v8

    const-string v5, "app"

    const-string v6, "_npa"

    move-object v4, p0

    invoke-virtual/range {v4 .. v9}, Lj6/x4;->C(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V

    :cond_4d
    :goto_4d
    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;->e()Z

    move-result v0

    if-eqz v0, :cond_93

    iget-boolean v0, p0, Lj6/x4;->o:Z

    if-eqz v0, :cond_93

    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 5
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->m:Lj6/e3;

    const-string v2, "Recording app launch after enabling measurement for the first time (FE)"

    .line 6
    invoke-virtual {v0, v2}, Lj6/e3;->c(Ljava/lang/String;)V

    invoke-virtual {p0}, Lj6/x4;->I()V

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

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

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

    const/4 v2, 0x0

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

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

    move-result v0

    if-eqz v0, :cond_84

    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;->z()Lj6/u5;

    move-result-object v0

    iget-object v0, v0, Lj6/u5;->d:Lj6/t5;

    invoke-virtual {v0}, Lj6/t5;->a()V

    :cond_84
    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;->c()Lj6/d4;

    move-result-object v0

    new-instance v2, Lj6/p4;

    invoke-direct {v2, p0, v1}, Lj6/p4;-><init>(Lj6/x4;I)V

    invoke-virtual {v0, v2}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    return-void

    :cond_93
    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 9
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->m:Lj6/e3;

    const-string v2, "Updating Scion state (FE)"

    .line 10
    invoke-virtual {v0, v2}, Lj6/e3;->c(Ljava/lang/String;)V

    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;->y()Lj6/m5;

    move-result-object v0

    .line 11
    invoke-virtual {v0}, Lj6/w2;->g()V

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

    invoke-virtual {v0, v1}, Lj6/m5;->p(Z)Lj6/j6;

    move-result-object v1

    new-instance v2, Lz5/w8;

    invoke-direct {v2, v0, v1}, Lz5/w8;-><init>(Lj6/m5;Lj6/j6;)V

    invoke-virtual {v0, v2}, Lj6/m5;->u(Ljava/lang/Runnable;)V

    return-void
.end method

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

    iget-object v0, p0, Lj6/x4;->g:Ljava/util/concurrent/atomic/AtomicReference;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    return-object v0
.end method

.method public final I()V
    .registers 8

    invoke-virtual {p0}, Lj6/w2;->g()V

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

    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;->g()Z

    move-result v0

    if-eqz v0, :cond_d3

    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;

    .line 2
    sget-object v1, Lj6/u2;->Y:Lj6/t2;

    const/4 v2, 0x0

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

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_4e

    iget-object v0, p0, 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 v3, v0, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

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

    const-string v3, "google_analytics_deferred_deep_link_enabled"

    invoke-virtual {v0, v3}, Lj6/f;->t(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object v0

    if-eqz v0, :cond_4e

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

    move-result v0

    if-eqz v0, :cond_4e

    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 5
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->m:Lj6/e3;

    const-string v3, "Deferred Deep Link feature enabled."

    .line 6
    invoke-virtual {v0, v3}, Lj6/e3;->c(Ljava/lang/String;)V

    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;->c()Lj6/d4;

    move-result-object v0

    new-instance v3, Lj6/p4;

    invoke-direct {v3, p0, v1}, Lj6/p4;-><init>(Lj6/x4;I)V

    invoke-virtual {v0, v3}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    :cond_4e
    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;->y()Lj6/m5;

    move-result-object v0

    .line 7
    invoke-virtual {v0}, Lj6/w2;->g()V

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

    const/4 v3, 0x1

    invoke-virtual {v0, v3}, Lj6/m5;->p(Z)Lj6/j6;

    move-result-object v3

    iget-object v4, v0, 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;->p()Lj6/a3;

    move-result-object v4

    new-array v5, v1, [B

    const/4 v6, 0x3

    .line 8
    invoke-virtual {v4, v6, v5}, Lj6/a3;->n(I[B)Z

    .line 9
    new-instance v4, Ll5/l;

    invoke-direct {v4, v0, v3}, Ll5/l;-><init>(Lj6/m5;Lj6/j6;)V

    invoke-virtual {v0, v4}, Lj6/m5;->u(Ljava/lang/Runnable;)V

    .line 10
    iput-boolean v1, p0, Lj6/x4;->o:Z

    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v0

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

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/c;->n()Landroid/content/SharedPreferences;

    move-result-object v1

    const-string v3, "previous_os_version"

    invoke-interface {v1, v3, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

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

    invoke-virtual {v2}, Lcom/google/android/gms/measurement/internal/d;->n()Lj6/l;

    move-result-object v2

    invoke-virtual {v2}, Lj6/i4;->j()V

    sget-object v2, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

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

    move-result v4

    if-nez v4, :cond_ad

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

    move-result v4

    if-nez v4, :cond_ad

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/c;->n()Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0, v3, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V

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

    move-result v0

    if-nez v0, :cond_d3

    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;->n()Lj6/l;

    move-result-object v0

    invoke-virtual {v0}, Lj6/i4;->j()V

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

    move-result v0

    if-nez v0, :cond_d3

    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    const-string v2, "_po"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "auto"

    const-string v2, "_ou"

    invoke-virtual {p0, v1, v2, v0}, Lj6/x4;->n(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V

    :cond_d3
    return-void
.end method

.method public final J(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
    .registers 8

    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;->n:Lu5/c;

    .line 2
    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v0

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

    new-instance v2, Landroid/os/Bundle;

    invoke-direct {v2}, Landroid/os/Bundle;-><init>()V

    const-string v3, "name"

    invoke-virtual {v2, v3, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, "creation_timestamp"

    invoke-virtual {v2, p1, v0, v1}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V

    if-eqz p2, :cond_26

    const-string p1, "expired_event_name"

    invoke-virtual {v2, p1, p2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string p1, "expired_event_params"

    invoke-virtual {v2, p1, p3}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->c()Lj6/d4;

    move-result-object p1

    new-instance p2, Ll5/l;

    invoke-direct {p2, p0, v2}, Ll5/l;-><init>(Lj6/x4;Landroid/os/Bundle;)V

    invoke-virtual {p1, p2}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final j()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public final k()V
    .registers 3

    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;->a:Landroid/content/Context;

    .line 2
    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Landroid/app/Application;

    if-eqz v0, :cond_1f

    iget-object v0, p0, Lj6/x4;->c:Lj6/w4;

    if-eqz v0, :cond_1f

    iget-object v0, p0, 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;->a:Landroid/content/Context;

    .line 4
    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Application;

    iget-object v1, p0, Lj6/x4;->c:Lj6/w4;

    invoke-virtual {v0, v1}, Landroid/app/Application;->unregisterActivityLifecycleCallbacks(Landroid/app/Application$ActivityLifecycleCallbacks;)V

    :cond_1f
    return-void
.end method

.method public final l(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
    .registers 13

    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;->n:Lu5/c;

    .line 2
    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v7

    const/4 v5, 0x1

    const/4 v6, 0x1

    move-object v1, p0

    move-object v2, p1

    move-object v3, p2

    move-object v4, p3

    invoke-virtual/range {v1 .. v8}, Lj6/x4;->m(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;ZZJ)V

    return-void
.end method

.method public final m(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;ZZJ)V
    .registers 28

    move-object/from16 v11, p0

    if-nez p1, :cond_8

    const-string v0, "app"

    move-object v2, v0

    goto :goto_a

    :cond_8
    move-object/from16 v2, p1

    :goto_a
    if-nez p3, :cond_12

    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    goto :goto_14

    :cond_12
    move-object/from16 v0, p3

    :goto_14
    const-string v1, "screen_view"

    move-object/from16 v3, p2

    invoke-static {v3, v1}, Lcom/google/android/gms/measurement/internal/f;->Z(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v1

    const/4 v4, 0x0

    if-eqz v1, :cond_13e

    iget-object v1, v11, 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;->x()Lj6/g5;

    move-result-object v1

    .line 1
    iget-object v5, v1, Lj6/g5;->l:Ljava/lang/Object;

    monitor-enter v5

    :try_start_28
    iget-boolean v2, v1, Lj6/g5;->k:Z

    if-nez v2, :cond_3c

    iget-object v0, v1, 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 2
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->k:Lj6/e3;

    const-string v1, "Cannot log screen view event when the app is in the background."

    .line 3
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    :goto_39
    monitor-exit v5

    goto/16 :goto_13a

    :cond_3c
    const-string v2, "screen_name"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v13

    const/16 v2, 0x64

    if-eqz v13, :cond_6d

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

    move-result v3

    if-lez v3, :cond_57

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

    move-result v3

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

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

    if-le v3, v2, :cond_6d

    :cond_57
    iget-object v0, v1, 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 4
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->k:Lj6/e3;

    const-string v1, "Invalid screen name length for screen view. Length"

    .line 5
    invoke-virtual {v13}, Ljava/lang/String;->length()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

    goto :goto_39

    :cond_6d
    const-string v3, "screen_class"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_9c

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

    move-result v6

    if-lez v6, :cond_86

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

    move-result v6

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

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

    if-le v6, v2, :cond_9c

    :cond_86
    iget-object v0, v1, 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 6
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->k:Lj6/e3;

    const-string v1, "Invalid screen class length for screen view. Length"

    .line 7
    invoke-virtual {v3}, Ljava/lang/String;->length()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

    goto :goto_39

    :cond_9c
    if-nez v3, :cond_b1

    iget-object v2, v1, Lj6/g5;->g:Landroid/app/Activity;

    if-eqz v2, :cond_ad

    invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    const-string v3, "Activity"

    invoke-virtual {v1, v2, v3}, Lj6/g5;->o(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto :goto_af

    :cond_ad
    const-string v2, "Activity"

    :goto_af
    move-object v14, v2

    goto :goto_b2

    :cond_b1
    move-object v14, v3

    :goto_b2
    iget-object v2, v1, Lj6/g5;->c:Lj6/d5;

    iget-boolean v3, v1, Lj6/g5;->h:Z

    if-eqz v3, :cond_db

    if-eqz v2, :cond_db

    iput-boolean v4, v1, Lj6/g5;->h:Z

    iget-object v3, v2, Lj6/d5;->b:Ljava/lang/String;

    invoke-static {v3, v14}, Lcom/google/android/gms/measurement/internal/f;->Z(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v3

    iget-object v2, v2, Lj6/d5;->a:Ljava/lang/String;

    invoke-static {v2, v13}, Lcom/google/android/gms/measurement/internal/f;->Z(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v2

    if-eqz v3, :cond_db

    if-eqz v2, :cond_db

    iget-object v0, v1, 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 8
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->k:Lj6/e3;

    const-string v1, "Ignoring call to log screen view event with duplicate parameters."

    .line 9
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    goto/16 :goto_39

    :cond_db
    monitor-exit v5
    :try_end_dc
    .catchall {:try_start_28 .. :try_end_dc} :catchall_13b

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

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

    move-result-object v2

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

    if-nez v13, :cond_e9

    const-string v3, "null"

    goto :goto_ea

    :cond_e9
    move-object v3, v13

    :goto_ea
    if-nez v14, :cond_ef

    const-string v4, "null"

    goto :goto_f0

    :cond_ef
    move-object v4, v14

    :goto_f0
    const-string v5, "Logging screen view with name, class"

    .line 11
    invoke-virtual {v2, v5, v3, v4}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    iget-object v2, v1, Lj6/g5;->c:Lj6/d5;

    if-nez v2, :cond_fc

    iget-object v2, v1, Lj6/g5;->d:Lj6/d5;

    goto :goto_fe

    :cond_fc
    iget-object v2, v1, Lj6/g5;->c:Lj6/d5;

    :goto_fe
    new-instance v3, Lj6/d5;

    iget-object v4, v1, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v4

    invoke-virtual {v4}, Lcom/google/android/gms/measurement/internal/f;->o0()J

    move-result-wide v15

    const/16 v17, 0x1

    move-object v12, v3

    move-wide/from16 v18, p6

    invoke-direct/range {v12 .. v19}, Lj6/d5;-><init>(Ljava/lang/String;Ljava/lang/String;JZJ)V

    iput-object v3, v1, Lj6/g5;->c:Lj6/d5;

    iput-object v2, v1, Lj6/g5;->d:Lj6/d5;

    iput-object v3, v1, Lj6/g5;->i:Lj6/d5;

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

    .line 12
    iget-object v4, v4, Lcom/google/android/gms/measurement/internal/d;->n:Lu5/c;

    .line 13
    invoke-interface {v4}, Lu5/c;->c()J

    move-result-wide v4

    iget-object v6, v1, 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;->c()Lj6/d4;

    move-result-object v6

    new-instance v7, Lz5/gr0;

    move-object/from16 p1, v7

    move-object/from16 p2, v1

    move-object/from16 p3, v0

    move-object/from16 p4, v3

    move-object/from16 p5, v2

    move-wide/from16 p6, v4

    invoke-direct/range {p1 .. p7}, Lz5/gr0;-><init>(Lj6/g5;Landroid/os/Bundle;Lj6/d5;Lj6/d5;J)V

    invoke-virtual {v6, v7}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    :goto_13a
    return-void

    :catchall_13b
    move-exception v0

    :try_start_13c
    monitor-exit v5
    :try_end_13d
    .catchall {:try_start_13c .. :try_end_13d} :catchall_13b

    throw v0

    :cond_13e
    const/4 v1, 0x1

    if-eqz p5, :cond_14e

    .line 14
    iget-object v5, v11, Lj6/x4;->d:Landroidx/appcompat/widget/d0;

    if-eqz v5, :cond_14e

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

    move-result v5

    if-eqz v5, :cond_14c

    goto :goto_14e

    :cond_14c
    move v8, v4

    goto :goto_14f

    :cond_14e
    :goto_14e
    move v8, v1

    :goto_14f
    const/4 v10, 0x0

    move-object/from16 v1, p0

    move-object/from16 v3, p2

    move-wide/from16 v4, p6

    move-object v6, v0

    move/from16 v7, p5

    move/from16 v9, p4

    invoke-virtual/range {v1 .. v10}, Lj6/x4;->t(Ljava/lang/String;Ljava/lang/String;JLandroid/os/Bundle;ZZZLjava/lang/String;)V

    return-void
.end method

.method public final n(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
    .registers 11

    invoke-virtual {p0}, Lj6/w2;->g()V

    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;->n:Lu5/c;

    .line 2
    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v4

    move-object v1, p0

    move-object v2, p1

    move-object v3, p2

    move-object v6, p3

    invoke-virtual/range {v1 .. v6}, Lj6/x4;->o(Ljava/lang/String;Ljava/lang/String;JLandroid/os/Bundle;)V

    return-void
.end method

.method public final o(Ljava/lang/String;Ljava/lang/String;JLandroid/os/Bundle;)V
    .registers 17

    invoke-virtual {p0}, Lj6/w2;->g()V

    move-object v10, p0

    iget-object v0, v10, Lj6/x4;->d:Landroidx/appcompat/widget/d0;

    const/4 v1, 0x1

    if-eqz v0, :cond_13

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

    move-result v0

    if-eqz v0, :cond_10

    goto :goto_13

    :cond_10
    const/4 v0, 0x0

    move v7, v0

    goto :goto_14

    :cond_13
    :goto_13
    move v7, v1

    :goto_14
    const/4 v6, 0x1

    const/4 v8, 0x1

    const/4 v9, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-wide v3, p3

    move-object/from16 v5, p5

    invoke-virtual/range {v0 .. v9}, Lj6/x4;->p(Ljava/lang/String;Ljava/lang/String;JLandroid/os/Bundle;ZZZLjava/lang/String;)V

    return-void
.end method

.method public final p(Ljava/lang/String;Ljava/lang/String;JLandroid/os/Bundle;ZZZLjava/lang/String;)V
    .registers 34

    move-object/from16 v7, p0

    move-object/from16 v8, p1

    move-object/from16 v9, p2

    move-wide/from16 v10, p3

    move-object/from16 v12, p5

    const-string v0, "com.google.android.gms.tagmanager.TagManagerService"

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

    const-string v13, "null reference"

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

    .line 2
    invoke-virtual/range {p0 .. p0}, Lj6/w2;->g()V

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

    iget-object v1, v7, 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;->e()Z

    move-result v1

    if-eqz v1, :cond_560

    iget-object v1, v7, 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;->o()Lcom/google/android/gms/measurement/internal/a;

    move-result-object v1

    .line 3
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/a;->i:Ljava/util/List;

    if-eqz v1, :cond_41

    .line 4
    invoke-interface {v1, v9}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_33

    goto :goto_41

    :cond_33
    iget-object v0, v7, 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;->m:Lj6/e3;

    const-string v1, "Dropping non-safelisted event. event name, origin"

    .line 6
    invoke-virtual {v0, v1, v9, v8}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

    return-void

    :cond_41
    :goto_41
    iget-boolean v1, v7, Lj6/x4;->f:Z

    const/4 v14, 0x0

    const/4 v15, 0x1

    const/4 v5, 0x0

    if-nez v1, :cond_93

    iput-boolean v15, v7, Lj6/x4;->f:Z

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

    .line 7
    iget-boolean v2, v1, Lcom/google/android/gms/measurement/internal/d;->e:Z

    if-nez v2, :cond_5b

    .line 8
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->a:Landroid/content/Context;

    .line 9
    invoke-virtual {v1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v1

    invoke-static {v0, v15, v1}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;

    move-result-object v0

    goto :goto_5f

    :cond_5b
    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0
    :try_end_5f
    .catch Ljava/lang/ClassNotFoundException; {:try_start_4a .. :try_end_5f} :catch_86

    :goto_5f
    :try_start_5f
    new-array v1, v15, [Ljava/lang/Class;

    const-class v2, Landroid/content/Context;

    aput-object v2, v1, v5

    const-string v2, "initialize"

    invoke-virtual {v0, v2, v1}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v0

    new-array v1, v15, [Ljava/lang/Object;

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

    .line 10
    iget-object v2, v2, Lcom/google/android/gms/measurement/internal/d;->a:Landroid/content/Context;

    aput-object v2, v1, v5

    .line 11
    invoke-virtual {v0, v14, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_76
    .catch Ljava/lang/Exception; {:try_start_5f .. :try_end_76} :catch_77

    goto :goto_93

    :catch_77
    move-exception v0

    :try_start_78
    iget-object v1, v7, 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 12
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v2, "Failed to invoke Tag Manager\'s initialize() method"

    .line 13
    invoke-virtual {v1, v2, v0}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_85
    .catch Ljava/lang/ClassNotFoundException; {:try_start_78 .. :try_end_85} :catch_86

    goto :goto_93

    :catch_86
    iget-object v0, v7, 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 14
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->l:Lj6/e3;

    const-string v1, "Tag Manager is not found and thus will not be used"

    .line 15
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    :cond_93
    :goto_93
    const-string v0, "_cmp"

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

    move-result v0

    if-eqz v0, :cond_c1

    const-string v0, "gclid"

    invoke-virtual {v12, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_c1

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

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

    invoke-virtual {v12, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

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

    .line 16
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/d;->n:Lu5/c;

    .line 17
    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v16

    const-string v2, "auto"

    const-string v3, "_lgclid"

    move-object/from16 v1, p0

    move v14, v5

    move-wide/from16 v5, v16

    invoke-virtual/range {v1 .. v6}, Lj6/x4;->C(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V

    goto :goto_c2

    :cond_c1
    move v14, v5

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

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

    if-eqz p6, :cond_e9

    .line 18
    sget-object v0, Lcom/google/android/gms/measurement/internal/f;->h:[Ljava/lang/String;

    aget-object v0, v0, v14

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

    move-result v0

    xor-int/2addr v0, v15

    if-eqz v0, :cond_e9

    .line 19
    iget-object v0, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v0

    iget-object v1, v7, 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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v1

    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/c;->v:Lj6/m3;

    invoke-virtual {v1}, Lj6/m3;->a()Landroid/os/Bundle;

    move-result-object v1

    invoke-virtual {v0, v12, v1}, Lcom/google/android/gms/measurement/internal/f;->y(Landroid/os/Bundle;Landroid/os/Bundle;)V

    :cond_e9
    const/16 v0, 0x28

    if-nez p8, :cond_16e

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

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

    const-string v1, "_iap"

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

    move-result v1

    if-nez v1, :cond_16e

    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

    const-string v2, "event"

    invoke-virtual {v1, v2, v9}, Lcom/google/android/gms/measurement/internal/f;->Q(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v3

    const/4 v5, 0x2

    if-nez v3, :cond_10a

    goto :goto_124

    :cond_10a
    sget-object v3, Lj6/k4;->a:[Ljava/lang/String;

    sget-object v4, Lj6/k4;->b:[Ljava/lang/String;

    invoke-virtual {v1, v2, v3, v4, v9}, Lcom/google/android/gms/measurement/internal/f;->M(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_117

    const/16 v5, 0xd

    goto :goto_124

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

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

    invoke-virtual {v1, v2, v0, v9}, Lcom/google/android/gms/measurement/internal/f;->L(Ljava/lang/String;ILjava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_123

    goto :goto_124

    :cond_123
    move v5, v14

    :goto_124
    if-eqz v5, :cond_16e

    iget-object v1, v7, 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 20
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->h:Lj6/e3;

    .line 21
    iget-object v2, v7, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

    .line 22
    iget-object v2, v2, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 23
    invoke-virtual {v2, v9}, Lj6/b3;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "Invalid public event name. Event will not be logged (FE)"

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

    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

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

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

    invoke-virtual {v1, v9, v0, v15}, Lcom/google/android/gms/measurement/internal/f;->p(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    if-eqz v9, :cond_151

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

    move-result v1

    move v14, v1

    :cond_151
    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

    iget-object v2, v7, Lj6/x4;->p:Lj6/h6;

    const/4 v3, 0x0

    const-string v4, "_ev"

    move-object/from16 p1, v1

    move-object/from16 p2, v2

    move-object/from16 p3, v3

    move/from16 p4, v5

    move-object/from16 p5, v4

    move-object/from16 p6, v0

    move/from16 p7, v14

    invoke-virtual/range {p1 .. p7}, Lcom/google/android/gms/measurement/internal/f;->A(Lj6/h6;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V

    return-void

    .line 24
    :cond_16e
    sget-object v1, Lg6/ob;->s:Lg6/ob;

    invoke-virtual {v1}, Lg6/ob;->a()Lg6/pb;

    move-result-object v1

    invoke-interface {v1}, Lg6/pb;->zza()Z

    .line 25
    iget-object v1, v7, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

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

    .line 27
    sget-object v2, Lj6/u2;->v0:Lj6/t2;

    const/4 v3, 0x0

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

    move-result v1

    const-string v2, "_sc"

    if-eqz v1, :cond_1a4

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

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

    iget-object v1, v7, 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;->x()Lj6/g5;

    move-result-object v1

    invoke-virtual {v1, v14}, Lj6/g5;->n(Z)Lj6/d5;

    move-result-object v1

    if-eqz v1, :cond_19f

    invoke-virtual {v12, v2}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_19f

    iput-boolean v15, v1, Lj6/d5;->d:Z

    :cond_19f
    if-eqz p6, :cond_1c3

    if-nez p8, :cond_1c3

    goto :goto_1c1

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

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

    iget-object v1, v7, 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;->x()Lj6/g5;

    move-result-object v1

    invoke-virtual {v1, v14}, Lj6/g5;->n(Z)Lj6/d5;

    move-result-object v1

    if-eqz v1, :cond_1bd

    invoke-virtual {v12, v2}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_1bd

    iput-boolean v15, v1, Lj6/d5;->d:Z

    :cond_1bd
    if-eqz p6, :cond_1c3

    if-nez p8, :cond_1c3

    :goto_1c1
    move v5, v15

    goto :goto_1c4

    :cond_1c3
    move v5, v14

    :goto_1c4
    invoke-static {v1, v12, v5}, Lcom/google/android/gms/measurement/internal/f;->x(Lj6/d5;Landroid/os/Bundle;Z)V

    const-string v1, "am"

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

    move-result v1

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

    move-result v3

    if-eqz p6, :cond_22b

    iget-object v4, v7, Lj6/x4;->d:Landroidx/appcompat/widget/d0;

    if-eqz v4, :cond_22b

    if-nez v3, :cond_22b

    if-eqz v1, :cond_1de

    move/from16 v16, v15

    goto :goto_22d

    :cond_1de
    iget-object v0, v7, 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 28
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->m:Lj6/e3;

    .line 29
    iget-object v1, v7, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

    .line 30
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 31
    invoke-virtual {v1, v9}, Lj6/b3;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

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

    .line 32
    iget-object v2, v2, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 33
    invoke-virtual {v2, v12}, Lj6/b3;->b(Landroid/os/Bundle;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "Passing event to registered event handler (FE)"

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

    iget-object v0, v7, Lj6/x4;->d:Landroidx/appcompat/widget/d0;

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

    .line 35
    iget-object v13, v7, Lj6/x4;->d:Landroidx/appcompat/widget/d0;

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

    .line 36
    :try_start_205
    iget-object v0, v13, Landroidx/appcompat/widget/d0;->r:Ljava/lang/Object;

    move-object v1, v0

    check-cast v1, Lg6/v0;

    move-object/from16 v2, p1

    move-object/from16 v3, p2

    move-object/from16 v4, p5

    move-wide/from16 v5, p3

    invoke-interface/range {v1 .. v6}, Lg6/v0;->T(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;J)V
    :try_end_215
    .catch Landroid/os/RemoteException; {:try_start_205 .. :try_end_215} :catch_216

    goto :goto_22a

    :catch_216
    move-exception v0

    iget-object v1, v13, Landroidx/appcompat/widget/d0;->s:Ljava/lang/Object;

    check-cast v1, Lcom/google/android/gms/measurement/internal/AppMeasurementDynamiteService;

    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/AppMeasurementDynamiteService;->r:Lcom/google/android/gms/measurement/internal/d;

    if-eqz v1, :cond_22a

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

    move-result-object v1

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

    const-string v2, "Event interceptor threw exception"

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

    :cond_22a
    :goto_22a
    return-void

    :cond_22b
    move/from16 v16, v1

    .line 39
    :goto_22d
    iget-object v1, v7, 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;->g()Z

    move-result v1

    if-eqz v1, :cond_55f

    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

    invoke-virtual {v1, v9}, Lcom/google/android/gms/measurement/internal/f;->i0(Ljava/lang/String;)I

    move-result v1

    if-eqz v1, :cond_288

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

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

    move-result-object v2

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

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

    .line 42
    iget-object v3, v3, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 43
    invoke-virtual {v3, v9}, Lj6/b3;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "Invalid event name. Event will not be logged (FE)"

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

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

    invoke-virtual {v2}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v2

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

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

    invoke-virtual {v2, v9, v0, v15}, Lcom/google/android/gms/measurement/internal/f;->p(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    if-eqz v9, :cond_26c

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

    move-result v5

    move v14, v5

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

    invoke-virtual {v2}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v2

    iget-object v3, v7, Lj6/x4;->p:Lj6/h6;

    const-string v4, "_ev"

    move-object/from16 p1, v2

    move-object/from16 p2, v3

    move-object/from16 p3, p9

    move/from16 p4, v1

    move-object/from16 p5, v4

    move-object/from16 p6, v0

    move/from16 p7, v14

    invoke-virtual/range {p1 .. p7}, Lcom/google/android/gms/measurement/internal/f;->A(Lj6/h6;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V

    return-void

    :cond_288
    const-string v0, "_o"

    const-string v1, "_sn"

    const-string v3, "_si"

    filled-new-array {v0, v1, v2, v3}, [Ljava/lang/String;

    move-result-object v1

    .line 44
    invoke-static {v1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

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

    move-result-object v5

    .line 45
    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

    move-object/from16 v2, p9

    move-object/from16 v3, p2

    move-object/from16 v4, p5

    move/from16 v6, p8

    invoke-virtual/range {v1 .. v6}, Lcom/google/android/gms/measurement/internal/f;->s0(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;Ljava/util/List;Z)Landroid/os/Bundle;

    move-result-object v12

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

    .line 47
    iget-object v1, v7, Lcom/google/android/gms/measurement/internal/e;->a:Lcom/google/android/gms/measurement/internal/d;

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

    iget-object v1, v7, 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;->x()Lj6/g5;

    move-result-object v1

    invoke-virtual {v1, v14}, Lj6/g5;->n(Z)Lj6/d5;

    move-result-object v1

    const-wide/16 v5, 0x0

    const-string v13, "_ae"

    if-eqz v1, :cond_2f1

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

    move-result v1

    if-eqz v1, :cond_2f1

    iget-object v1, v7, 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;->z()Lj6/u5;

    move-result-object v1

    iget-object v1, v1, Lj6/u5;->e:Lz5/hw1;

    iget-object v2, v1, Lz5/hw1;->s:Ljava/lang/Object;

    check-cast v2, Lj6/u5;

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

    .line 48
    iget-object v2, v2, Lcom/google/android/gms/measurement/internal/d;->n:Lu5/c;

    .line 49
    invoke-interface {v2}, Lu5/c;->c()J

    move-result-wide v2

    iget-wide v14, v1, Lz5/hw1;->u:J

    sub-long v14, v2, v14

    iput-wide v2, v1, Lz5/hw1;->u:J

    cmp-long v1, v14, v5

    if-lez v1, :cond_2f1

    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

    invoke-virtual {v1, v12, v14, v15}, Lcom/google/android/gms/measurement/internal/f;->v(Landroid/os/Bundle;J)V

    :cond_2f1
    invoke-static {}, Lg6/u9;->b()Z

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

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

    .line 51
    sget-object v2, Lj6/u2;->g0:Lj6/t2;

    const/4 v14, 0x0

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

    move-result v1

    if-eqz v1, :cond_378

    const-string v1, "auto"

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

    move-result v1

    const-string v2, "_ffr"

    if-nez v1, :cond_357

    const-string v1, "_ssr"

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

    move-result v1

    if-eqz v1, :cond_357

    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

    invoke-virtual {v12, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lu5/k;->a(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_325

    move-object v3, v14

    goto :goto_32b

    :cond_325
    if-eqz v3, :cond_32b

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

    move-result-object v3

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

    invoke-virtual {v2}, Lcom/google/android/gms/measurement/internal/d;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v2

    iget-object v2, v2, Lcom/google/android/gms/measurement/internal/c;->s:Lj6/p3;

    invoke-virtual {v2}, Lj6/p3;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v3, v2}, Lcom/google/android/gms/measurement/internal/f;->Z(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_349

    iget-object v1, v1, 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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v1

    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/c;->s:Lj6/p3;

    invoke-virtual {v1, v3}, Lj6/p3;->b(Ljava/lang/String;)V

    goto :goto_378

    :cond_349
    iget-object v0, v1, 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 52
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->m:Lj6/e3;

    const-string v1, "Not logging duplicate session_start_with_rollout event"

    .line 53
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    return-void

    :cond_357
    invoke-virtual {v13, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_378

    iget-object v1, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v1

    iget-object v1, v1, 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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v1

    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/c;->s:Lj6/p3;

    invoke-virtual {v1}, Lj6/p3;->a()Ljava/lang/String;

    move-result-object v1

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

    move-result v3

    if-nez v3, :cond_378

    invoke-virtual {v12, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_378
    :goto_378
    new-instance v15, Ljava/util/ArrayList;

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

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

    iget-object v1, v7, 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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v1

    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/c;->n:Lj6/n3;

    invoke-virtual {v1}, Lj6/n3;->a()J

    move-result-wide v1

    cmp-long v1, v1, v5

    if-lez v1, :cond_3f1

    iget-object v1, v7, 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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v1

    invoke-virtual {v1, v10, v11}, Lcom/google/android/gms/measurement/internal/c;->u(J)Z

    move-result v1

    if-eqz v1, :cond_3f1

    iget-object v1, v7, 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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v1

    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/c;->p:Lj6/l3;

    invoke-virtual {v1}, Lj6/l3;->b()Z

    move-result v1

    if-eqz v1, :cond_3f1

    iget-object v1, v7, 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;->n:Lj6/e3;

    const-string v2, "Current session is expired, remove the session number, ID, and engagement time"

    .line 55
    invoke-virtual {v1, v2}, Lj6/e3;->c(Ljava/lang/String;)V

    const/4 v4, 0x0

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

    .line 56
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->n:Lu5/c;

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

    move-result-wide v18

    const-string v2, "auto"

    const-string v3, "_sid"

    move-object/from16 v1, p0

    move-object/from16 p5, v15

    move-wide v14, v5

    move-wide/from16 v5, v18

    invoke-virtual/range {v1 .. v6}, Lj6/x4;->C(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V

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

    .line 58
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->n:Lu5/c;

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

    move-result-wide v5

    const-string v2, "auto"

    const-string v3, "_sno"

    move-object/from16 v1, p0

    invoke-virtual/range {v1 .. v6}, Lj6/x4;->C(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V

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

    .line 60
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->n:Lu5/c;

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

    move-result-wide v5

    const-string v2, "auto"

    const-string v3, "_se"

    move-object/from16 v1, p0

    invoke-virtual/range {v1 .. v6}, Lj6/x4;->C(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V

    goto :goto_3f4

    :cond_3f1
    move-object/from16 p5, v15

    move-wide v14, v5

    :goto_3f4
    const-string v1, "extend_session"

    invoke-virtual {v12, v1, v14, v15}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J

    move-result-wide v1

    const-wide/16 v3, 0x1

    cmp-long v1, v1, v3

    if-nez v1, :cond_419

    iget-object v1, v7, 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 62
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v2, "EXTEND_SESSION param attached: initiate a new session or extend the current active session"

    .line 63
    invoke-virtual {v1, v2}, Lj6/e3;->c(Ljava/lang/String;)V

    iget-object v1, v7, 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;->z()Lj6/u5;

    move-result-object v1

    iget-object v1, v1, Lj6/u5;->d:Lj6/t5;

    const/4 v2, 0x1

    invoke-virtual {v1, v10, v11, v2}, Lj6/t5;->b(JZ)V

    :cond_419
    new-instance v1, Ljava/util/ArrayList;

    invoke-virtual {v12}, Landroid/os/Bundle;->keySet()Ljava/util/Set;

    move-result-object v2

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

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

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

    move-result v2

    const/4 v5, 0x0

    :goto_42a
    if-ge v5, v2, :cond_475

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

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    if-eqz v3, :cond_472

    iget-object v4, v7, 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;->A()Lcom/google/android/gms/measurement/internal/f;

    invoke-virtual {v12, v3}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    instance-of v6, v4, Landroid/os/Bundle;

    if-eqz v6, :cond_44a

    const/4 v6, 0x1

    new-array v14, v6, [Landroid/os/Bundle;

    check-cast v4, Landroid/os/Bundle;

    const/4 v6, 0x0

    aput-object v4, v14, v6

    goto :goto_46d

    :cond_44a
    instance-of v6, v4, [Landroid/os/Parcelable;

    if-eqz v6, :cond_458

    check-cast v4, [Landroid/os/Parcelable;

    array-length v6, v4

    const-class v14, [Landroid/os/Bundle;

    invoke-static {v4, v6, v14}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;

    move-result-object v4

    goto :goto_468

    :cond_458
    instance-of v6, v4, Ljava/util/ArrayList;

    if-eqz v6, :cond_46c

    check-cast v4, Ljava/util/ArrayList;

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

    move-result v6

    new-array v6, v6, [Landroid/os/Bundle;

    invoke-virtual {v4, v6}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v4

    :goto_468
    check-cast v4, [Landroid/os/Bundle;

    move-object v14, v4

    goto :goto_46d

    :cond_46c
    const/4 v14, 0x0

    :goto_46d
    if-eqz v14, :cond_472

    invoke-virtual {v12, v3, v14}, Landroid/os/Bundle;->putParcelableArray(Ljava/lang/String;[Landroid/os/Parcelable;)V

    :cond_472
    add-int/lit8 v5, v5, 0x1

    goto :goto_42a

    :cond_475
    const/4 v12, 0x0

    :goto_476
    invoke-virtual/range {p5 .. p5}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v12, v1, :cond_533

    move-object/from16 v14, p5

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

    move-result-object v1

    check-cast v1, Landroid/os/Bundle;

    if-eqz v12, :cond_489

    const-string v2, "_ep"

    goto :goto_48a

    :cond_489
    move-object v2, v9

    :goto_48a
    invoke-virtual {v1, v0, v8}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    if-eqz p7, :cond_499

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

    invoke-virtual {v3}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object v3

    invoke-virtual {v3, v1}, Lcom/google/android/gms/measurement/internal/f;->r0(Landroid/os/Bundle;)Landroid/os/Bundle;

    move-result-object v1

    :cond_499
    move-object v15, v1

    new-instance v5, Lj6/q;

    new-instance v3, Lj6/o;

    invoke-direct {v3, v15}, Lj6/o;-><init>(Landroid/os/Bundle;)V

    move-object v1, v5

    move-object/from16 v4, p1

    move-object/from16 p6, v0

    move-object v0, v5

    move-wide/from16 v5, p3

    invoke-direct/range {v1 .. v6}, Lj6/q;-><init>(Ljava/lang/String;Lj6/o;Ljava/lang/String;J)V

    iget-object v1, v7, 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;->y()Lj6/m5;

    move-result-object v1

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

    .line 64
    invoke-virtual {v1}, Lj6/w2;->g()V

    invoke-virtual {v1}, Lj6/q3;->h()V

    invoke-virtual {v1}, Lj6/m5;->v()Z

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

    invoke-virtual {v2}, Lcom/google/android/gms/measurement/internal/d;->p()Lj6/a3;

    move-result-object v2

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

    .line 65
    invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;

    move-result-object v3

    const/4 v4, 0x0

    invoke-static {v0, v3, v4}, Lj6/r;->a(Lj6/q;Landroid/os/Parcel;I)V

    invoke-virtual {v3}, Landroid/os/Parcel;->marshall()[B

    move-result-object v4

    invoke-virtual {v3}, Landroid/os/Parcel;->recycle()V

    array-length v3, v4

    const/high16 v5, 0x20000

    if-le v3, v5, :cond_4ec

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

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

    move-result-object v2

    .line 66
    iget-object v2, v2, Lcom/google/android/gms/measurement/internal/b;->g:Lj6/e3;

    const-string v3, "Event is too long for local database. Sending event directly to service"

    .line 67
    invoke-virtual {v2, v3}, Lj6/e3;->c(Ljava/lang/String;)V

    const/4 v2, 0x1

    const/16 v21, 0x0

    goto :goto_4f4

    :cond_4ec
    const/4 v3, 0x0

    invoke-virtual {v2, v3, v4}, Lj6/a3;->n(I[B)Z

    move-result v5

    move/from16 v21, v5

    const/4 v2, 0x1

    .line 68
    :goto_4f4
    invoke-virtual {v1, v2}, Lj6/m5;->p(Z)Lj6/j6;

    move-result-object v20

    new-instance v2, Ll5/i;

    move-object/from16 v18, v2

    move-object/from16 v19, v1

    move-object/from16 v22, v0

    move-object/from16 v23, p9

    invoke-direct/range {v18 .. v23}, Ll5/i;-><init>(Lj6/m5;Lj6/j6;ZLj6/q;Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Lj6/m5;->u(Ljava/lang/Runnable;)V

    if-nez v16, :cond_52b

    .line 69
    iget-object v0, v7, Lj6/x4;->e:Ljava/util/Set;

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

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_52b

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

    move-result-object v1

    check-cast v1, Lj6/n4;

    new-instance v4, Landroid/os/Bundle;

    invoke-direct {v4, v15}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V

    move-object/from16 v2, p1

    move-object/from16 v3, p2

    move-wide/from16 v5, p3

    invoke-interface/range {v1 .. v6}, Lj6/n4;->a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;J)V

    goto :goto_510

    :cond_52b
    add-int/lit8 v12, v12, 0x1

    move-object/from16 v0, p6

    move-object/from16 p5, v14

    goto/16 :goto_476

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

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

    iget-object v0, v7, 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;->x()Lj6/g5;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lj6/g5;->n(Z)Lj6/d5;

    move-result-object v0

    if-eqz v0, :cond_55f

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

    move-result v0

    if-eqz v0, :cond_55f

    iget-object v0, v7, 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;->z()Lj6/u5;

    move-result-object v0

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

    .line 70
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->n:Lu5/c;

    .line 71
    invoke-interface {v1}, Lu5/c;->c()J

    move-result-wide v1

    iget-object v0, v0, Lj6/u5;->e:Lz5/hw1;

    const/4 v3, 0x1

    invoke-virtual {v0, v3, v3, v1, v2}, Lz5/hw1;->c(ZZJ)Z

    :cond_55f
    return-void

    :cond_560
    iget-object v0, v7, 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 72
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->m:Lj6/e3;

    const-string v1, "Event not sent since app measurement is disabled"

    .line 73
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    return-void
.end method

.method public final r(JZ)V
    .registers 9

    invoke-virtual {p0}, Lj6/w2;->g()V

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

    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;->m:Lj6/e3;

    const-string v1, "Resetting analytics data (FE)"

    .line 2
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    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;->z()Lj6/u5;

    move-result-object v0

    invoke-virtual {v0}, Lj6/w2;->g()V

    iget-object v0, v0, Lj6/u5;->e:Lz5/hw1;

    .line 3
    iget-object v1, v0, Lz5/hw1;->r:Ljava/lang/Object;

    check-cast v1, Lj6/k;

    invoke-virtual {v1}, Lj6/k;->a()V

    const-wide/16 v1, 0x0

    iput-wide v1, v0, Lz5/hw1;->t:J

    iput-wide v1, v0, Lz5/hw1;->u:J

    .line 4
    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;->e()Z

    move-result v0

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

    invoke-virtual {v3}, Lcom/google/android/gms/measurement/internal/d;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v3

    iget-object v4, v3, Lcom/google/android/gms/measurement/internal/c;->e:Lj6/n3;

    invoke-virtual {v4, p1, p2}, Lj6/n3;->b(J)V

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object p1

    iget-object p1, p1, Lcom/google/android/gms/measurement/internal/c;->s:Lj6/p3;

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

    move-result-object p1

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

    move-result p1

    const/4 p2, 0x0

    if-nez p1, :cond_54

    iget-object p1, v3, Lcom/google/android/gms/measurement/internal/c;->s:Lj6/p3;

    invoke-virtual {p1, p2}, Lj6/p3;->b(Ljava/lang/String;)V

    :cond_54
    invoke-static {}, Lg6/da;->b()Z

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

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

    .line 6
    sget-object v4, Lj6/u2;->h0:Lj6/t2;

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

    move-result p1

    if-eqz p1, :cond_68

    iget-object p1, v3, Lcom/google/android/gms/measurement/internal/c;->n:Lj6/n3;

    invoke-virtual {p1, v1, v2}, Lj6/n3;->b(J)V

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

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

    .line 8
    invoke-virtual {p1}, Lj6/f;->x()Z

    move-result p1

    if-nez p1, :cond_77

    xor-int/lit8 p1, v0, 0x1

    invoke-virtual {v3, p1}, Lcom/google/android/gms/measurement/internal/c;->t(Z)V

    :cond_77
    iget-object p1, v3, Lcom/google/android/gms/measurement/internal/c;->t:Lj6/p3;

    invoke-virtual {p1, p2}, Lj6/p3;->b(Ljava/lang/String;)V

    iget-object p1, v3, Lcom/google/android/gms/measurement/internal/c;->u:Lj6/n3;

    invoke-virtual {p1, v1, v2}, Lj6/n3;->b(J)V

    iget-object p1, v3, Lcom/google/android/gms/measurement/internal/c;->v:Lj6/m3;

    invoke-virtual {p1, p2}, Lj6/m3;->b(Landroid/os/Bundle;)V

    if-eqz p3, :cond_ad

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->y()Lj6/m5;

    move-result-object p1

    .line 9
    invoke-virtual {p1}, Lj6/w2;->g()V

    invoke-virtual {p1}, Lj6/q3;->h()V

    const/4 p3, 0x0

    invoke-virtual {p1, p3}, Lj6/m5;->p(Z)Lj6/j6;

    move-result-object v1

    invoke-virtual {p1}, Lj6/m5;->v()Z

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

    invoke-virtual {v2}, Lcom/google/android/gms/measurement/internal/d;->p()Lj6/a3;

    move-result-object v2

    invoke-virtual {v2}, Lj6/a3;->l()V

    new-instance v2, Lj6/i5;

    invoke-direct {v2, p1, v1, p3}, Lj6/i5;-><init>(Lj6/m5;Lj6/j6;I)V

    invoke-virtual {p1, v2}, Lj6/m5;->u(Ljava/lang/Runnable;)V

    .line 10
    :cond_ad
    invoke-static {}, Lg6/da;->b()Z

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

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

    .line 12
    invoke-virtual {p1, p2, v4}, Lj6/f;->v(Ljava/lang/String;Lj6/t2;)Z

    move-result p1

    if-eqz p1, :cond_c5

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->z()Lj6/u5;

    move-result-object p1

    iget-object p1, p1, Lj6/u5;->d:Lj6/t5;

    invoke-virtual {p1}, Lj6/t5;->a()V

    :cond_c5
    xor-int/lit8 p1, v0, 0x1

    iput-boolean p1, p0, Lj6/x4;->o:Z

    return-void
.end method

.method public final t(Ljava/lang/String;Ljava/lang/String;JLandroid/os/Bundle;ZZZLjava/lang/String;)V
    .registers 24

    new-instance v6, Landroid/os/Bundle;

    move-object/from16 v0, p5

    invoke-direct {v6, v0}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V

    invoke-virtual {v6}, Landroid/os/Bundle;->keySet()Ljava/util/Set;

    move-result-object v0

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

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_6b

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

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v6, v1}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    instance-of v3, v2, Landroid/os/Bundle;

    if-eqz v3, :cond_2e

    new-instance v3, Landroid/os/Bundle;

    check-cast v2, Landroid/os/Bundle;

    invoke-direct {v3, v2}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V

    invoke-virtual {v6, v1, v3}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V

    goto :goto_f

    :cond_2e
    instance-of v1, v2, [Landroid/os/Parcelable;

    const/4 v3, 0x0

    if-eqz v1, :cond_4a

    check-cast v2, [Landroid/os/Parcelable;

    :goto_35
    array-length v1, v2

    if-ge v3, v1, :cond_f

    aget-object v1, v2, v3

    instance-of v4, v1, Landroid/os/Bundle;

    if-eqz v4, :cond_47

    new-instance v4, Landroid/os/Bundle;

    check-cast v1, Landroid/os/Bundle;

    invoke-direct {v4, v1}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V

    aput-object v4, v2, v3

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

    goto :goto_35

    :cond_4a
    instance-of v1, v2, Ljava/util/List;

    if-eqz v1, :cond_f

    check-cast v2, Ljava/util/List;

    :goto_50
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v1

    if-ge v3, v1, :cond_f

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

    move-result-object v1

    instance-of v4, v1, Landroid/os/Bundle;

    if-eqz v4, :cond_68

    new-instance v4, Landroid/os/Bundle;

    check-cast v1, Landroid/os/Bundle;

    invoke-direct {v4, v1}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V

    invoke-interface {v2, v3, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

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

    goto :goto_50

    :cond_6b
    move-object v11, p0

    iget-object v0, v11, 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;->c()Lj6/d4;

    move-result-object v12

    new-instance v13, Lj6/s4;

    const/4 v10, 0x0

    move-object v0, v13

    move-object v1, p0

    move-object v2, p1

    move-object/from16 v3, p2

    move-wide/from16 v4, p3

    move/from16 v7, p6

    move/from16 v8, p7

    move/from16 v9, p8

    invoke-direct/range {v0 .. v10}, Lj6/s4;-><init>(Lj6/x4;Ljava/lang/String;Ljava/lang/String;JLandroid/os/Bundle;ZZZLjava/lang/String;)V

    invoke-virtual {v12, v13}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final u(Ljava/lang/String;Ljava/lang/String;JLjava/lang/Object;)V
    .registers 15

    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;->c()Lj6/d4;

    move-result-object v0

    new-instance v8, Lz5/gr0;

    move-object v1, v8

    move-object v2, p0

    move-object v3, p1

    move-object v4, p2

    move-object v5, p5

    move-wide v6, p3

    invoke-direct/range {v1 .. v7}, Lz5/gr0;-><init>(Lj6/x4;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;J)V

    invoke-virtual {v0, v8}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final v(Landroid/os/Bundle;J)V
    .registers 16

    .line 1
    const-class v0, Ljava/lang/Long;

    const-class v1, Ljava/lang/String;

    const-string v2, "null reference"

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

    .line 2
    new-instance v3, Landroid/os/Bundle;

    invoke-direct {v3, p1}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V

    const-string p1, "app_id"

    invoke-virtual {v3, p1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

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

    move-result v4

    if-nez v4, :cond_27

    iget-object v4, p0, 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 3
    iget-object v4, v4, Lcom/google/android/gms/measurement/internal/b;->i:Lj6/e3;

    const-string v5, "Package name should be null when calling setConditionalUserProperty"

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

    :cond_27
    invoke-virtual {v3, p1}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V

    const/4 v4, 0x0

    invoke-static {v3, p1, v1, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-string p1, "origin"

    invoke-static {v3, p1, v1, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v5, "name"

    invoke-static {v3, v5, v1, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-class v6, Ljava/lang/Object;

    const-string v7, "value"

    invoke-static {v3, v7, v6, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "trigger_event_name"

    invoke-static {v3, v6, v1, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-wide/16 v8, 0x0

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

    move-result-object v8

    const-string v9, "trigger_timeout"

    invoke-static {v3, v9, v0, v8}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v10, "timed_out_event_name"

    invoke-static {v3, v10, v1, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-class v10, Landroid/os/Bundle;

    const-string v11, "timed_out_event_params"

    invoke-static {v3, v11, v10, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v10, "triggered_event_name"

    invoke-static {v3, v10, v1, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-class v10, Landroid/os/Bundle;

    const-string v11, "triggered_event_params"

    invoke-static {v3, v11, v10, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v10, "time_to_live"

    invoke-static {v3, v10, v0, v8}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "expired_event_name"

    invoke-static {v3, v0, v1, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    const-class v0, Landroid/os/Bundle;

    const-string v1, "expired_event_params"

    invoke-static {v3, v1, v0, v4}, Lp/e;->j(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v3, v5}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

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

    invoke-virtual {v3, p1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    invoke-virtual {v3, v7}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

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

    const-string p1, "creation_timestamp"

    .line 6
    invoke-virtual {v3, p1, p2, p3}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V

    invoke-virtual {v3, v5}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v3, v7}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p2

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

    invoke-virtual {p3}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object p3

    invoke-virtual {p3, p1}, Lcom/google/android/gms/measurement/internal/f;->l0(Ljava/lang/String;)I

    move-result p3

    if-nez p3, :cond_164

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

    invoke-virtual {p3}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object p3

    invoke-virtual {p3, p1, p2}, Lcom/google/android/gms/measurement/internal/f;->h0(Ljava/lang/String;Ljava/lang/Object;)I

    move-result p3

    if-nez p3, :cond_14e

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

    invoke-virtual {p3}, Lcom/google/android/gms/measurement/internal/d;->A()Lcom/google/android/gms/measurement/internal/f;

    move-result-object p3

    invoke-virtual {p3, p1, p2}, Lcom/google/android/gms/measurement/internal/f;->o(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p3

    if-nez p3, :cond_d4

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

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

    move-result-object p3

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

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

    .line 9
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 10
    invoke-virtual {v0, p1}, Lj6/b3;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "Unable to normalize conditional user property value"

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

    return-void

    :cond_d4
    invoke-static {v3, p3}, Lp/e;->o(Landroid/os/Bundle;Ljava/lang/Object;)V

    invoke-virtual {v3, v9}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J

    move-result-wide p2

    invoke-virtual {v3, v6}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

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

    move-result v0

    const-wide/16 v1, 0x1

    const-wide v4, 0x39ef8b000L

    if-nez v0, :cond_113

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

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

    cmp-long v0, p2, v4

    if-gtz v0, :cond_f9

    cmp-long v0, p2, v1

    if-gez v0, :cond_113

    :cond_f9
    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 11
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

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

    .line 13
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 14
    invoke-virtual {v1, p1}, Lj6/b3;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    move-result-object p2

    const-string p3, "Invalid conditional user property timeout"

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

    return-void

    :cond_113
    invoke-virtual {v3, v10}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J

    move-result-wide p2

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

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

    cmp-long v0, p2, v4

    if-gtz v0, :cond_134

    cmp-long v0, p2, v1

    if-gez v0, :cond_125

    goto :goto_134

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->c()Lj6/d4;

    move-result-object p1

    new-instance p2, Lz5/j2;

    invoke-direct {p2, p0, v3}, Lz5/j2;-><init>(Lj6/x4;Landroid/os/Bundle;)V

    invoke-virtual {p1, p2}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    return-void

    :cond_134
    :goto_134
    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 15
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

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

    .line 17
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 18
    invoke-virtual {v1, p1}, Lj6/b3;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    move-result-object p2

    const-string p3, "Invalid conditional user property time to live"

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

    return-void

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

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

    move-result-object p3

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

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

    .line 21
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 22
    invoke-virtual {v0, p1}, Lj6/b3;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "Invalid conditional user property value"

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

    return-void

    :cond_164
    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 23
    iget-object p2, p2, Lcom/google/android/gms/measurement/internal/b;->f:Lj6/e3;

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

    .line 25
    iget-object p3, p3, Lcom/google/android/gms/measurement/internal/d;->m:Lj6/b3;

    .line 26
    invoke-virtual {p3, p1}, Lj6/b3;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string p3, "Invalid conditional user property name"

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

    return-void
.end method

.method public final w(Landroid/os/Bundle;IJ)V
    .registers 8

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

    const-string v0, "ad_storage"

    .line 1
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_11

    invoke-static {v0}, Lj6/g;->k(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object v1

    if-eqz v1, :cond_21

    :cond_11
    const-string v0, "analytics_storage"

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_20

    invoke-static {v0}, Lj6/g;->k(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object v1

    if-nez v1, :cond_20

    goto :goto_21

    :cond_20
    const/4 v0, 0x0

    :cond_21
    :goto_21
    if-eqz v0, :cond_3d

    .line 2
    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
    iget-object v1, v1, Lcom/google/android/gms/measurement/internal/b;->k:Lj6/e3;

    const-string v2, "Ignoring invalid consent setting"

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

    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 5
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->k:Lj6/e3;

    const-string v1, "Valid consent values are \'granted\', \'denied\'"

    .line 6
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    :cond_3d
    invoke-static {p1}, Lj6/g;->a(Landroid/os/Bundle;)Lj6/g;

    move-result-object p1

    invoke-virtual {p0, p1, p2, p3, p4}, Lj6/x4;->x(Lj6/g;IJ)V

    return-void
.end method

.method public final x(Lj6/g;IJ)V
    .registers 19

    move-object v10, p0

    move-object v0, p1

    move/from16 v6, p2

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

    const/16 v1, -0xa

    if-eq v6, v1, :cond_22

    .line 1
    iget-object v2, v0, Lj6/g;->a:Ljava/lang/Boolean;

    if-nez v2, :cond_22

    .line 2
    iget-object v2, v0, Lj6/g;->b:Ljava/lang/Boolean;

    if-eqz v2, :cond_14

    goto :goto_22

    .line 3
    :cond_14
    iget-object v0, v10, 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 4
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->k:Lj6/e3;

    const-string v1, "Discarding empty consent settings"

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

    return-void

    :cond_22
    :goto_22
    iget-object v2, v10, Lj6/x4;->h:Ljava/lang/Object;

    monitor-enter v2

    :try_start_25
    iget v3, v10, Lj6/x4;->j:I

    invoke-static {v6, v3}, Lj6/g;->h(II)Z

    move-result v3

    const/4 v4, 0x0

    const/4 v11, 0x1

    if-eqz v3, :cond_60

    iget-object v3, v10, Lj6/x4;->i:Lj6/g;

    invoke-virtual {p1, v3}, Lj6/g;->i(Lj6/g;)Z

    move-result v3

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

    move-result v5

    if-eqz v5, :cond_44

    iget-object v5, v10, Lj6/x4;->i:Lj6/g;

    invoke-virtual {v5}, Lj6/g;->g()Z

    move-result v5

    if-nez v5, :cond_44

    move v4, v11

    :cond_44
    iget-object v5, v10, Lj6/x4;->i:Lj6/g;

    .line 6
    new-instance v7, Lj6/g;

    iget-object v8, v0, Lj6/g;->a:Ljava/lang/Boolean;

    if-nez v8, :cond_4e

    iget-object v8, v5, Lj6/g;->a:Ljava/lang/Boolean;

    :cond_4e
    iget-object v0, v0, Lj6/g;->b:Ljava/lang/Boolean;

    if-nez v0, :cond_54

    iget-object v0, v5, Lj6/g;->b:Ljava/lang/Boolean;

    :cond_54
    invoke-direct {v7, v8, v0}, Lj6/g;-><init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)V

    .line 7
    iput-object v7, v10, Lj6/x4;->i:Lj6/g;

    iput v6, v10, Lj6/x4;->j:I

    move v0, v3

    move v9, v4

    move-object v3, v7

    move v4, v11

    goto :goto_63

    :cond_60
    move-object v3, v0

    move v0, v4

    move v9, v0

    :goto_63
    monitor-exit v2
    :try_end_64
    .catchall {:try_start_25 .. :try_end_64} :catchall_e0

    if-nez v4, :cond_74

    iget-object v0, v10, 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 8
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->l:Lj6/e3;

    const-string v1, "Ignoring lower-priority consent settings, proposed settings"

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

    return-void

    :cond_74
    iget-object v2, v10, Lj6/x4;->k:Ljava/util/concurrent/atomic/AtomicLong;

    invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicLong;->getAndIncrement()J

    move-result-wide v7

    if-eqz v0, :cond_a1

    iget-object v0, v10, Lj6/x4;->g:Ljava/util/concurrent/atomic/AtomicReference;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V

    iget-object v0, v10, 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;->c()Lj6/d4;

    move-result-object v0

    new-instance v12, Lj6/u4;

    move-object v1, v12

    move-object v2, p0

    move-wide/from16 v4, p3

    move/from16 v6, p2

    invoke-direct/range {v1 .. v9}, Lj6/u4;-><init>(Lj6/x4;Lj6/g;JIJZ)V

    .line 10
    invoke-virtual {v0}, Lj6/i4;->j()V

    new-instance v1, Lj6/b4;

    const-string v2, "Task exception on worker thread"

    invoke-direct {v1, v0, v12, v11, v2}, Lj6/b4;-><init>(Lj6/d4;Ljava/lang/Runnable;ZLjava/lang/String;)V

    invoke-virtual {v0, v1}, Lj6/d4;->v(Lj6/b4;)V

    return-void

    :cond_a1
    const/16 v0, 0x1e

    if-eq v6, v0, :cond_bf

    if-ne v6, v1, :cond_a8

    goto :goto_bf

    .line 11
    :cond_a8
    iget-object v0, v10, 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;->c()Lj6/d4;

    move-result-object v0

    new-instance v11, Lj6/v4;

    const/4 v12, 0x1

    move-object v1, v11

    move-object v2, p0

    move/from16 v4, p2

    move-wide v5, v7

    move v7, v9

    move v8, v12

    invoke-direct/range {v1 .. v8}, Lj6/v4;-><init>(Lj6/x4;Lj6/g;IJZI)V

    invoke-virtual {v0, v11}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    return-void

    :cond_bf
    :goto_bf
    iget-object v0, v10, 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;->c()Lj6/d4;

    move-result-object v0

    new-instance v12, Lj6/v4;

    const/4 v13, 0x0

    move-object v1, v12

    move-object v2, p0

    move/from16 v4, p2

    move-wide v5, v7

    move v7, v9

    move v8, v13

    invoke-direct/range {v1 .. v8}, Lj6/v4;-><init>(Lj6/x4;Lj6/g;IJZI)V

    .line 12
    invoke-virtual {v0}, Lj6/i4;->j()V

    new-instance v1, Lj6/b4;

    const-string v2, "Task exception on worker thread"

    invoke-direct {v1, v0, v12, v11, v2}, Lj6/b4;-><init>(Lj6/d4;Ljava/lang/Runnable;ZLjava/lang/String;)V

    invoke-virtual {v0, v1}, Lj6/d4;->v(Lj6/b4;)V

    return-void

    :catchall_e0
    move-exception v0

    .line 13
    :try_start_e1
    monitor-exit v2
    :try_end_e2
    .catchall {:try_start_e1 .. :try_end_e2} :catchall_e0

    throw v0
.end method

.method public final y(Landroidx/appcompat/widget/d0;)V
    .registers 4

    invoke-virtual {p0}, Lj6/w2;->g()V

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

    if-eqz p1, :cond_16

    iget-object v0, p0, Lj6/x4;->d:Landroidx/appcompat/widget/d0;

    if-eq p1, v0, :cond_16

    if-nez v0, :cond_10

    const/4 v0, 0x1

    goto :goto_11

    :cond_10
    const/4 v0, 0x0

    :goto_11
    const-string v1, "EventInterceptor already set."

    invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/d;->k(ZLjava/lang/Object;)V

    :cond_16
    iput-object p1, p0, Lj6/x4;->d:Landroidx/appcompat/widget/d0;

    return-void
.end method

.method public final z(Lj6/g;)V
    .registers 7

    invoke-virtual {p0}, Lj6/w2;->g()V

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

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_11

    invoke-virtual {p1}, Lj6/g;->f()Z

    move-result p1

    if-nez p1, :cond_1d

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

    invoke-virtual {p1}, Lcom/google/android/gms/measurement/internal/d;->y()Lj6/m5;

    move-result-object p1

    invoke-virtual {p1}, Lj6/m5;->n()Z

    move-result p1

    if-eqz p1, :cond_1f

    :cond_1d
    move p1, v2

    goto :goto_20

    :cond_1f
    move p1, v1

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

    .line 1
    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->c()Lj6/d4;

    move-result-object v3

    invoke-virtual {v3}, Lj6/d4;->g()V

    iget-boolean v0, v0, Lcom/google/android/gms/measurement/internal/d;->D:Z

    if-eq p1, v0, :cond_6e

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

    .line 3
    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->c()Lj6/d4;

    move-result-object v3

    invoke-virtual {v3}, Lj6/d4;->g()V

    iput-boolean p1, v0, Lcom/google/android/gms/measurement/internal/d;->D:Z

    .line 4
    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;->t()Lcom/google/android/gms/measurement/internal/c;

    move-result-object v0

    iget-object v3, 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/e;->g()V

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/c;->n()Landroid/content/SharedPreferences;

    move-result-object v3

    const-string v4, "measurement_enabled_from_api"

    invoke-interface {v3, v4}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_5c

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/c;->n()Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0, v4, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

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

    move-result-object v0

    goto :goto_5d

    :cond_5c
    const/4 v0, 0x0

    :goto_5d
    if-eqz p1, :cond_67

    if-eqz v0, :cond_67

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

    move-result v0

    if-eqz v0, :cond_6e

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

    move-result-object p1

    invoke-virtual {p0, p1, v1}, Lj6/x4;->E(Ljava/lang/Boolean;Z)V

    :cond_6e
    return-void
.end method
