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


# instance fields
.field public final synthetic a:Lj6/u5;


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

    iput-object p1, p0, Lj6/t5;->a:Lj6/u5;

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

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 4

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

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

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

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

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

    move-result-object v0

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

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

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

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

    move-result-wide v1

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

    move-result v0

    if-eqz v0, :cond_56

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

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

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

    move-result-object v0

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

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lj6/l3;->a(Z)V

    new-instance v0, Landroid/app/ActivityManager$RunningAppProcessInfo;

    invoke-direct {v0}, Landroid/app/ActivityManager$RunningAppProcessInfo;-><init>()V

    invoke-static {v0}, Landroid/app/ActivityManager;->getMyMemoryState(Landroid/app/ActivityManager$RunningAppProcessInfo;)V

    iget v0, v0, Landroid/app/ActivityManager$RunningAppProcessInfo;->importance:I

    const/16 v1, 0x64

    if-ne v0, v1, :cond_56

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

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

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

    move-result-object v0

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

    const-string v1, "Detected application was in foreground"

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

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

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

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

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

    move-result-wide v0

    const/4 v2, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lj6/t5;->c(JZ)V

    :cond_56
    return-void
.end method

.method public final b(JZ)V
    .registers 6

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

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

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

    .line 1
    invoke-virtual {v0}, Lj6/u5;->k()V

    .line 2
    iget-object v0, p0, Lj6/t5;->a:Lj6/u5;

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

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

    move-result-object v0

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

    move-result v0

    if-eqz v0, :cond_26

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

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

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

    move-result-object v0

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

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lj6/l3;->a(Z)V

    :cond_26
    iget-object v0, p0, Lj6/t5;->a:Lj6/u5;

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

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

    move-result-object v0

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

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

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

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

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

    move-result-object v0

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

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

    move-result v0

    if-eqz v0, :cond_46

    invoke-virtual {p0, p1, p2, p3}, Lj6/t5;->c(JZ)V

    :cond_46
    return-void
.end method

.method public final c(JZ)V
    .registers 13

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

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

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

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

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

    move-result v0

    if-nez v0, :cond_10

    return-void

    :cond_10
    iget-object v0, p0, Lj6/t5;->a:Lj6/u5;

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

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

    move-result-object v0

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

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

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

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

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

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

    move-result-wide v0

    iget-object v2, p0, Lj6/t5;->a:Lj6/u5;

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

    .line 4
    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    const-string v1, "Session started, time"

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

    const-wide/16 v0, 0x3e8

    div-long v0, p1, v0

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

    move-result-object v0

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

    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;->v()Lj6/x4;

    move-result-object v2

    const-string v3, "auto"

    const-string v4, "_sid"

    move-object v5, v0

    move-wide v6, p1

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

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

    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;->k:Lj6/l3;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lj6/l3;->a(Z)V

    new-instance v8, Landroid/os/Bundle;

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

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

    move-result-wide v0

    const-string v2, "_sid"

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

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

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

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

    .line 6
    sget-object v1, Lj6/u2;->c0:Lj6/t2;

    const/4 v2, 0x0

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

    move-result v0

    if-eqz v0, :cond_87

    if-eqz p3, :cond_87

    const-wide/16 v0, 0x1

    const-string p3, "_aib"

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

    :cond_87
    iget-object p3, p0, Lj6/t5;->a:Lj6/u5;

    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;->v()Lj6/x4;

    move-result-object v3

    const-string v4, "auto"

    const-string v5, "_s"

    move-wide v6, p1

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

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

    iget-object p3, p0, Lj6/t5;->a:Lj6/u5;

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

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

    .line 8
    sget-object v0, Lj6/u2;->g0:Lj6/t2;

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

    move-result p3

    if-eqz p3, :cond_d6

    iget-object p3, p0, Lj6/t5;->a:Lj6/u5;

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

    move-result-object p3

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

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

    move-result-object p3

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

    move-result v0

    if-nez v0, :cond_d6

    new-instance v6, Landroid/os/Bundle;

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

    const-string v0, "_ffr"

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

    iget-object p3, p0, Lj6/t5;->a:Lj6/u5;

    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;->v()Lj6/x4;

    move-result-object v1

    const-string v2, "auto"

    const-string v3, "_ssr"

    move-wide v4, p1

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

    :cond_d6
    return-void
.end method
