.class public final synthetic Lz5/vp1;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic r:I

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

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

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

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

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

.field public final x:Z


# direct methods
.method public constructor <init>(Lj6/m5;Ljava/lang/String;Ljava/lang/String;Lj6/j6;ZLg6/t0;)V
    .registers 8

    const/4 v0, 0x1

    iput v0, p0, Lz5/vp1;->r:I

    .line 1
    iput-object p1, p0, Lz5/vp1;->w:Ljava/lang/Object;

    iput-object p2, p0, Lz5/vp1;->s:Ljava/lang/Object;

    iput-object p3, p0, Lz5/vp1;->t:Ljava/lang/Object;

    iput-object p4, p0, Lz5/vp1;->u:Ljava/lang/Object;

    iput-boolean p5, p0, Lz5/vp1;->x:Z

    iput-object p6, p0, Lz5/vp1;->v:Ljava/lang/Object;

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

    return-void
.end method

.method public constructor <init>(Lj6/m5;Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/lang/String;Lj6/j6;Z)V
    .registers 8

    const/4 v0, 0x2

    iput v0, p0, Lz5/vp1;->r:I

    .line 2
    iput-object p1, p0, Lz5/vp1;->w:Ljava/lang/Object;

    iput-object p2, p0, Lz5/vp1;->s:Ljava/lang/Object;

    iput-object p3, p0, Lz5/vp1;->t:Ljava/lang/Object;

    iput-object p4, p0, Lz5/vp1;->u:Ljava/lang/Object;

    iput-object p5, p0, Lz5/vp1;->v:Ljava/lang/Object;

    iput-boolean p6, p0, Lz5/vp1;->x:Z

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

    return-void
.end method

.method public constructor <init>(Lz5/c31;Lz5/xp1;Lz5/lp1;Lz5/g61;Ljava/io/IOException;Z)V
    .registers 8

    const/4 v0, 0x0

    iput v0, p0, Lz5/vp1;->r:I

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

    iput-object p1, p0, Lz5/vp1;->s:Ljava/lang/Object;

    iput-object p2, p0, Lz5/vp1;->t:Ljava/lang/Object;

    iput-object p3, p0, Lz5/vp1;->u:Ljava/lang/Object;

    iput-object p4, p0, Lz5/vp1;->v:Ljava/lang/Object;

    iput-object p5, p0, Lz5/vp1;->w:Ljava/lang/Object;

    iput-boolean p6, p0, Lz5/vp1;->x:Z

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 10

    iget v0, p0, Lz5/vp1;->r:I

    packed-switch v0, :pswitch_data_1b8

    goto/16 :goto_105

    .line 1
    :pswitch_7
    new-instance v0, Landroid/os/Bundle;

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

    :try_start_c
    iget-object v1, p0, Lz5/vp1;->w:Ljava/lang/Object;

    move-object v2, v1

    check-cast v2, Lj6/m5;

    .line 2
    iget-object v2, v2, Lj6/m5;->d:Lj6/y2;

    if-nez v2, :cond_3f

    .line 3
    check-cast v1, Lj6/m5;

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

    move-result-object v1

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

    const-string v2, "Failed to get user properties; not connected to service"

    .line 5
    iget-object v3, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v3, Ljava/lang/String;

    iget-object v4, p0, Lz5/vp1;->t:Ljava/lang/Object;

    check-cast v4, Ljava/lang/String;

    invoke-virtual {v1, v2, v3, v4}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_2c
    .catch Landroid/os/RemoteException; {:try_start_c .. :try_end_2c} :catch_a4
    .catchall {:try_start_c .. :try_end_2c} :catchall_a2

    iget-object v1, p0, Lz5/vp1;->w:Ljava/lang/Object;

    check-cast v1, Lj6/m5;

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

    move-result-object v1

    iget-object v2, p0, Lz5/vp1;->v:Ljava/lang/Object;

    check-cast v2, Lg6/t0;

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

    goto/16 :goto_cd

    :cond_3f
    :try_start_3f
    iget-object v1, p0, Lz5/vp1;->u:Ljava/lang/Object;

    check-cast v1, Lj6/j6;

    const-string v3, "null reference"

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

    .line 7
    iget-object v1, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    iget-object v3, p0, Lz5/vp1;->t:Ljava/lang/Object;

    check-cast v3, Ljava/lang/String;

    iget-boolean v4, p0, Lz5/vp1;->x:Z

    iget-object v5, p0, Lz5/vp1;->u:Ljava/lang/Object;

    check-cast v5, Lj6/j6;

    invoke-interface {v2, v1, v3, v4, v5}, Lj6/y2;->N1(Ljava/lang/String;Ljava/lang/String;ZLj6/j6;)Ljava/util/List;

    move-result-object v1

    new-instance v2, Landroid/os/Bundle;

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

    if-nez v1, :cond_62

    goto :goto_98

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

    move-result-object v1

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

    move-result v3

    if-eqz v3, :cond_98

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

    move-result-object v3

    check-cast v3, Lj6/e6;

    iget-object v4, v3, Lj6/e6;->v:Ljava/lang/String;

    if-eqz v4, :cond_7c

    iget-object v3, v3, Lj6/e6;->s:Ljava/lang/String;

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

    goto :goto_66

    :cond_7c
    iget-object v4, v3, Lj6/e6;->u:Ljava/lang/Long;

    if-eqz v4, :cond_8a

    iget-object v3, v3, Lj6/e6;->s:Ljava/lang/String;

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

    move-result-wide v4

    invoke-virtual {v2, v3, v4, v5}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V

    goto :goto_66

    :cond_8a
    iget-object v4, v3, Lj6/e6;->x:Ljava/lang/Double;

    if-eqz v4, :cond_66

    iget-object v3, v3, Lj6/e6;->s:Ljava/lang/String;

    invoke-virtual {v4}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    invoke-virtual {v2, v3, v4, v5}, Landroid/os/Bundle;->putDouble(Ljava/lang/String;D)V
    :try_end_97
    .catch Landroid/os/RemoteException; {:try_start_3f .. :try_end_97} :catch_a4
    .catchall {:try_start_3f .. :try_end_97} :catchall_a2

    goto :goto_66

    :cond_98
    :goto_98
    :try_start_98
    iget-object v0, p0, Lz5/vp1;->w:Ljava/lang/Object;

    check-cast v0, Lj6/m5;

    .line 8
    invoke-virtual {v0}, Lj6/m5;->t()V
    :try_end_9f
    .catch Landroid/os/RemoteException; {:try_start_98 .. :try_end_9f} :catch_a0
    .catchall {:try_start_98 .. :try_end_9f} :catchall_ce

    goto :goto_bc

    :catch_a0
    move-exception v0

    goto :goto_a7

    :catchall_a2
    move-exception v1

    goto :goto_d1

    :catch_a4
    move-exception v1

    move-object v2, v0

    move-object v0, v1

    .line 9
    :goto_a7
    :try_start_a7
    iget-object v1, p0, Lz5/vp1;->w:Ljava/lang/Object;

    check-cast v1, Lj6/m5;

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

    move-result-object v1

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

    const-string v3, "Failed to get user properties; remote exception"

    .line 11
    iget-object v4, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v4, Ljava/lang/String;

    invoke-virtual {v1, v3, v4, v0}, Lj6/e3;->e(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
    :try_end_bc
    .catchall {:try_start_a7 .. :try_end_bc} :catchall_ce

    :goto_bc
    iget-object v0, p0, Lz5/vp1;->w:Ljava/lang/Object;

    check-cast v0, Lj6/m5;

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

    move-result-object v0

    iget-object v1, p0, Lz5/vp1;->v:Ljava/lang/Object;

    check-cast v1, Lg6/t0;

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

    :goto_cd
    return-void

    :catchall_ce
    move-exception v0

    move-object v1, v0

    move-object v0, v2

    :goto_d1
    iget-object v2, p0, Lz5/vp1;->w:Ljava/lang/Object;

    check-cast v2, Lj6/m5;

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

    move-result-object v2

    iget-object v3, p0, Lz5/vp1;->v:Ljava/lang/Object;

    check-cast v3, Lg6/t0;

    invoke-virtual {v2, v3, v0}, Lcom/google/android/gms/measurement/internal/f;->E(Lg6/t0;Landroid/os/Bundle;)V

    throw v1

    .line 12
    :pswitch_e3
    iget-object v0, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v0, Lz5/c31;

    iget-object v1, p0, Lz5/vp1;->t:Ljava/lang/Object;

    move-object v2, v1

    check-cast v2, Lz5/xp1;

    iget-object v1, p0, Lz5/vp1;->u:Ljava/lang/Object;

    move-object v5, v1

    check-cast v5, Lz5/lp1;

    iget-object v1, p0, Lz5/vp1;->v:Ljava/lang/Object;

    move-object v6, v1

    check-cast v6, Lz5/g61;

    iget-object v1, p0, Lz5/vp1;->w:Ljava/lang/Object;

    move-object v7, v1

    check-cast v7, Ljava/io/IOException;

    iget-boolean v8, p0, Lz5/vp1;->x:Z

    iget v3, v0, Lz5/c31;->a:I

    iget-object v4, v0, Lz5/c31;->b:Lz5/rp1;

    invoke-interface/range {v2 .. v8}, Lz5/xp1;->G(ILz5/rp1;Lz5/lp1;Lz5/g61;Ljava/io/IOException;Z)V

    return-void

    .line 13
    :goto_105
    iget-object v0, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v0, Ljava/util/concurrent/atomic/AtomicReference;

    monitor-enter v0

    const/4 v1, 0x0

    :try_start_10b
    iget-object v2, p0, Lz5/vp1;->w:Ljava/lang/Object;

    move-object v3, v2

    check-cast v3, Lj6/m5;

    .line 14
    iget-object v3, v3, Lj6/m5;->d:Lj6/y2;

    if-nez v3, :cond_13e

    .line 15
    check-cast v2, Lj6/m5;

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

    const-string v3, "(legacy) Failed to get user properties; not connected to service"

    .line 17
    iget-object v4, p0, Lz5/vp1;->t:Ljava/lang/Object;

    check-cast v4, Ljava/lang/String;

    iget-object v5, p0, Lz5/vp1;->u:Ljava/lang/Object;

    check-cast v5, Ljava/lang/String;

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

    iget-object v2, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v2, Ljava/util/concurrent/atomic/AtomicReference;

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

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
    :try_end_136
    .catch Landroid/os/RemoteException; {:try_start_10b .. :try_end_136} :catch_185
    .catchall {:try_start_10b .. :try_end_136} :catchall_183

    :try_start_136
    iget-object v1, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v1, Ljava/util/concurrent/atomic/AtomicReference;

    :goto_13a
    invoke-virtual {v1}, Ljava/lang/Object;->notify()V
    :try_end_13d
    .catchall {:try_start_136 .. :try_end_13d} :catchall_1b4

    goto :goto_1aa

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

    move-result v2

    if-eqz v2, :cond_164

    iget-object v2, p0, Lz5/vp1;->v:Ljava/lang/Object;

    check-cast v2, Lj6/j6;

    const-string v4, "null reference"

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

    .line 19
    iget-object v2, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v2, Ljava/util/concurrent/atomic/AtomicReference;

    iget-object v4, p0, Lz5/vp1;->t:Ljava/lang/Object;

    check-cast v4, Ljava/lang/String;

    iget-object v5, p0, Lz5/vp1;->u:Ljava/lang/Object;

    check-cast v5, Ljava/lang/String;

    iget-boolean v6, p0, Lz5/vp1;->x:Z

    iget-object v7, p0, Lz5/vp1;->v:Ljava/lang/Object;

    check-cast v7, Lj6/j6;

    invoke-interface {v3, v4, v5, v6, v7}, Lj6/y2;->N1(Ljava/lang/String;Ljava/lang/String;ZLj6/j6;)Ljava/util/List;

    move-result-object v3

    goto :goto_176

    :cond_164
    iget-object v2, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v2, Ljava/util/concurrent/atomic/AtomicReference;

    iget-object v4, p0, Lz5/vp1;->t:Ljava/lang/Object;

    check-cast v4, Ljava/lang/String;

    iget-object v5, p0, Lz5/vp1;->u:Ljava/lang/Object;

    check-cast v5, Ljava/lang/String;

    iget-boolean v6, p0, Lz5/vp1;->x:Z

    invoke-interface {v3, v1, v4, v5, v6}, Lj6/y2;->u0(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/util/List;

    move-result-object v3

    :goto_176
    invoke-virtual {v2, v3}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V

    iget-object v2, p0, Lz5/vp1;->w:Ljava/lang/Object;

    check-cast v2, Lj6/m5;

    .line 20
    invoke-virtual {v2}, Lj6/m5;->t()V
    :try_end_180
    .catch Landroid/os/RemoteException; {:try_start_13e .. :try_end_180} :catch_185
    .catchall {:try_start_13e .. :try_end_180} :catchall_183

    .line 21
    :goto_180
    :try_start_180
    iget-object v1, p0, Lz5/vp1;->s:Ljava/lang/Object;
    :try_end_182
    .catchall {:try_start_180 .. :try_end_182} :catchall_1b4

    goto :goto_1a7

    :catchall_183
    move-exception v1

    goto :goto_1ac

    :catch_185
    move-exception v2

    :try_start_186
    iget-object v3, p0, Lz5/vp1;->w:Ljava/lang/Object;

    check-cast v3, Lj6/m5;

    iget-object v3, v3, 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;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v3

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

    const-string v4, "(legacy) Failed to get user properties; remote exception"

    .line 23
    iget-object v5, p0, Lz5/vp1;->t:Ljava/lang/Object;

    check-cast v5, Ljava/lang/String;

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

    iget-object v1, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v1, Ljava/util/concurrent/atomic/AtomicReference;

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

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
    :try_end_1a6
    .catchall {:try_start_186 .. :try_end_1a6} :catchall_183

    goto :goto_180

    :goto_1a7
    :try_start_1a7
    check-cast v1, Ljava/util/concurrent/atomic/AtomicReference;

    goto :goto_13a

    :goto_1aa
    monitor-exit v0

    return-void

    :goto_1ac
    iget-object v2, p0, Lz5/vp1;->s:Ljava/lang/Object;

    check-cast v2, Ljava/util/concurrent/atomic/AtomicReference;

    invoke-virtual {v2}, Ljava/lang/Object;->notify()V

    throw v1

    :catchall_1b4
    move-exception v1

    monitor-exit v0
    :try_end_1b6
    .catchall {:try_start_1a7 .. :try_end_1b6} :catchall_1b4

    throw v1

    nop

    :pswitch_data_1b8
    .packed-switch 0x0
        :pswitch_e3
        :pswitch_7
    .end packed-switch
.end method
