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

# interfaces
.implements Lz5/rr0;
.implements Lz5/kr0;


# instance fields
.field public final a:Lz5/qr0;

.field public final b:Lcom/google/android/gms/internal/ads/q3;

.field public final c:Lcom/google/android/gms/internal/ads/k3;

.field public final d:Lz5/nr0;

.field public final e:Lz5/jr0;

.field public final f:Ljava/lang/String;

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

.field public h:Ljava/lang/String;

.field public i:Ljava/lang/String;

.field public j:J

.field public k:Lcom/google/android/gms/internal/ads/m3;

.field public l:Z

.field public m:I

.field public n:Z

.field public o:Lcom/google/android/gms/internal/ads/p3;


# direct methods
.method public constructor <init>(Lz5/qr0;Lcom/google/android/gms/internal/ads/q3;Lcom/google/android/gms/internal/ads/k3;Landroid/content/Context;Lz5/g50;Lz5/nr0;)V
    .registers 9

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

    const-string v0, "{}"

    iput-object v0, p0, Lz5/pr0;->h:Ljava/lang/String;

    const-string v0, ""

    iput-object v0, p0, Lz5/pr0;->i:Ljava/lang/String;

    const-wide v0, 0x7fffffffffffffffL

    iput-wide v0, p0, Lz5/pr0;->j:J

    sget-object v0, Lcom/google/android/gms/internal/ads/m3;->r:Lcom/google/android/gms/internal/ads/m3;

    iput-object v0, p0, Lz5/pr0;->k:Lcom/google/android/gms/internal/ads/m3;

    sget-object v0, Lcom/google/android/gms/internal/ads/p3;->r:Lcom/google/android/gms/internal/ads/p3;

    iput-object v0, p0, Lz5/pr0;->o:Lcom/google/android/gms/internal/ads/p3;

    iput-object p1, p0, Lz5/pr0;->a:Lz5/qr0;

    iput-object p2, p0, Lz5/pr0;->b:Lcom/google/android/gms/internal/ads/q3;

    iput-object p3, p0, Lz5/pr0;->c:Lcom/google/android/gms/internal/ads/k3;

    new-instance p1, Ljava/util/HashMap;

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

    iput-object p1, p0, Lz5/pr0;->g:Ljava/util/Map;

    new-instance p1, Lz5/jr0;

    invoke-direct {p1, p4}, Lz5/jr0;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lz5/pr0;->e:Lz5/jr0;

    iget-object p1, p5, Lz5/g50;->r:Ljava/lang/String;

    iput-object p1, p0, Lz5/pr0;->f:Ljava/lang/String;

    iput-object p6, p0, Lz5/pr0;->d:Lz5/nr0;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzm()Lcom/google/android/gms/ads/internal/util/zzaz;

    move-result-object p1

    invoke-virtual {p1, p0}, Lcom/google/android/gms/ads/internal/util/zzaz;->zza(Lz5/pr0;)V

    return-void
.end method


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

    sget-object v0, Lz5/so;->L5:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v2, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v2, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    if-nez v0, :cond_13

    return-void

    :cond_13
    sget-object v0, Lz5/so;->a6:Lz5/no;

    .line 3
    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 4
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    if-eqz v0, :cond_36

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/u1;->f()Lcom/google/android/gms/ads/internal/util/zzg;

    move-result-object v0

    invoke-interface {v0}, Lcom/google/android/gms/ads/internal/util/zzg;->zzI()Z

    move-result v0

    if-nez v0, :cond_32

    goto :goto_36

    :cond_32
    invoke-virtual {p0}, Lz5/pr0;->h()V

    return-void

    :cond_36
    :goto_36
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/u1;->f()Lcom/google/android/gms/ads/internal/util/zzg;

    move-result-object v0

    invoke-interface {v0}, Lcom/google/android/gms/ads/internal/util/zzg;->zzG()Ljava/lang/String;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_49

    return-void

    :cond_49
    :try_start_49
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v0, "isTestMode"

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_5a

    invoke-virtual {p0}, Lz5/pr0;->h()V
    :try_end_5a
    .catch Lorg/json/JSONException; {:try_start_49 .. :try_end_5a} :catch_5a

    :catch_5a
    :cond_5a
    return-void
.end method

.method public final b(Z)V
    .registers 3

    iget-boolean v0, p0, Lz5/pr0;->n:Z

    if-nez v0, :cond_9

    if-eqz p1, :cond_9

    invoke-virtual {p0}, Lz5/pr0;->h()V

    :cond_9
    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lz5/pr0;->e(ZZ)V

    return-void
.end method

.method public final declared-synchronized c(Lcom/google/android/gms/internal/ads/b0;Lcom/google/android/gms/internal/ads/p3;)V
    .registers 6

    monitor-enter p0

    :try_start_1
    invoke-virtual {p0}, Lz5/pr0;->d()Z

    move-result v0
    :try_end_5
    .catchall {:try_start_1 .. :try_end_5} :catchall_4b

    const/4 v1, 0x0

    if-nez v0, :cond_1a

    const/16 p2, 0x12

    :try_start_a
    invoke-static {p2, v1, v1}, Lz5/vo;->k(ILjava/lang/String;Lz5/sj;)Lz5/sj;

    move-result-object p2

    invoke-interface {p1, p2}, Lcom/google/android/gms/internal/ads/b0;->zze(Lz5/sj;)V
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_a .. :try_end_11} :catch_13
    .catchall {:try_start_a .. :try_end_11} :catchall_4b

    monitor-exit p0

    return-void

    :catch_13
    :try_start_13
    const-string p1, "Ad inspector cannot be opened because the device is not in test mode. See https://developers.google.com/admob/android/test-ads#enable_test_devices for more information."

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V
    :try_end_18
    .catchall {:try_start_13 .. :try_end_18} :catchall_4b

    monitor-exit p0

    return-void

    :cond_1a
    :try_start_1a
    sget-object v0, Lz5/so;->L5:Lz5/no;

    .line 1
    sget-object v2, Lz5/xk;->d:Lz5/xk;

    iget-object v2, v2, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v2, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0
    :try_end_2a
    .catchall {:try_start_1a .. :try_end_2a} :catchall_4b

    if-nez v0, :cond_3d

    const/4 p2, 0x1

    :try_start_2d
    invoke-static {p2, v1, v1}, Lz5/vo;->k(ILjava/lang/String;Lz5/sj;)Lz5/sj;

    move-result-object p2

    invoke-interface {p1, p2}, Lcom/google/android/gms/internal/ads/b0;->zze(Lz5/sj;)V
    :try_end_34
    .catch Landroid/os/RemoteException; {:try_start_2d .. :try_end_34} :catch_36
    .catchall {:try_start_2d .. :try_end_34} :catchall_4b

    monitor-exit p0

    return-void

    :catch_36
    :try_start_36
    const-string p1, "Ad inspector had an internal error."

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V
    :try_end_3b
    .catchall {:try_start_36 .. :try_end_3b} :catchall_4b

    monitor-exit p0

    return-void

    :cond_3d
    :try_start_3d
    iput-object p2, p0, Lz5/pr0;->o:Lcom/google/android/gms/internal/ads/p3;

    iget-object p2, p0, Lz5/pr0;->a:Lz5/qr0;

    new-instance v0, Lz5/gt;

    invoke-direct {v0, p0}, Lz5/gt;-><init>(Lz5/pr0;)V

    invoke-virtual {p2, p1, v0}, Lz5/qr0;->a(Lcom/google/android/gms/internal/ads/b0;Lz5/gt;)V
    :try_end_49
    .catchall {:try_start_3d .. :try_end_49} :catchall_4b

    monitor-exit p0

    return-void

    :catchall_4b
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized d()Z
    .registers 3

    monitor-enter p0

    :try_start_1
    sget-object v0, Lz5/so;->a6:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    if-eqz v0, :cond_27

    iget-boolean v0, p0, Lz5/pr0;->l:Z

    if-nez v0, :cond_25

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzm()Lcom/google/android/gms/ads/internal/util/zzaz;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/ads/internal/util/zzaz;->zzk()Z

    move-result v0
    :try_end_1f
    .catchall {:try_start_1 .. :try_end_1f} :catchall_2b

    if-eqz v0, :cond_22

    goto :goto_25

    :cond_22
    const/4 v0, 0x0

    :goto_23
    monitor-exit p0

    return v0

    :cond_25
    :goto_25
    const/4 v0, 0x1

    goto :goto_23

    :cond_27
    :try_start_27
    iget-boolean v0, p0, Lz5/pr0;->l:Z
    :try_end_29
    .catchall {:try_start_27 .. :try_end_29} :catchall_2b

    monitor-exit p0

    return v0

    :catchall_2b
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized e(ZZ)V
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lz5/pr0;->l:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_3d

    if-ne v0, p1, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    :try_start_7
    iput-boolean p1, p0, Lz5/pr0;->l:Z

    if-eqz p1, :cond_2b

    sget-object p1, Lz5/so;->a6:Lz5/no;

    .line 1
    sget-object v0, Lz5/xk;->d:Lz5/xk;

    iget-object v0, v0, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v0, p1}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Boolean;

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

    move-result p1

    if-eqz p1, :cond_27

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzm()Lcom/google/android/gms/ads/internal/util/zzaz;

    move-result-object p1

    invoke-virtual {p1}, Lcom/google/android/gms/ads/internal/util/zzaz;->zzk()Z

    move-result p1

    if-nez p1, :cond_2b

    :cond_27
    invoke-virtual {p0}, Lz5/pr0;->i()V

    goto :goto_34

    :cond_2b
    invoke-virtual {p0}, Lz5/pr0;->d()Z

    move-result p1

    if-nez p1, :cond_34

    invoke-virtual {p0}, Lz5/pr0;->j()V

    :cond_34
    :goto_34
    if-eqz p2, :cond_3b

    invoke-virtual {p0}, Lz5/pr0;->k()V
    :try_end_39
    .catchall {:try_start_7 .. :try_end_39} :catchall_3d

    monitor-exit p0

    return-void

    :cond_3b
    monitor-exit p0

    return-void

    :catchall_3d
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized f(Lcom/google/android/gms/internal/ads/m3;Z)V
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lz5/pr0;->k:Lcom/google/android/gms/internal/ads/m3;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_24

    if-ne v0, p1, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    :try_start_7
    invoke-virtual {p0}, Lz5/pr0;->d()Z

    move-result v0

    if-eqz v0, :cond_10

    invoke-virtual {p0}, Lz5/pr0;->j()V

    :cond_10
    iput-object p1, p0, Lz5/pr0;->k:Lcom/google/android/gms/internal/ads/m3;

    invoke-virtual {p0}, Lz5/pr0;->d()Z

    move-result p1

    if-eqz p1, :cond_1b

    invoke-virtual {p0}, Lz5/pr0;->i()V

    :cond_1b
    if-eqz p2, :cond_22

    invoke-virtual {p0}, Lz5/pr0;->k()V
    :try_end_20
    .catchall {:try_start_7 .. :try_end_20} :catchall_24

    monitor-exit p0

    return-void

    :cond_22
    monitor-exit p0

    return-void

    :catchall_24
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized g()Lorg/json/JSONObject;
    .registers 9

    monitor-enter p0

    :try_start_1
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    iget-object v1, p0, Lz5/pr0;->g:Ljava/util/Map;

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

    move-result-object v1

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

    move-result-object v1

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

    move-result v2

    if-eqz v2, :cond_5a

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

    move-result-object v2

    check-cast v2, Ljava/util/Map$Entry;

    new-instance v3, Lorg/json/JSONArray;

    invoke-direct {v3}, Lorg/json/JSONArray;-><init>()V

    invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/List;

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

    move-result-object v4

    :cond_2b
    :goto_2b
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_4a

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

    move-result-object v5

    check-cast v5, Lz5/lr0;

    .line 1
    iget-object v6, v5, Lz5/lr0;->u:Lcom/google/android/gms/internal/ads/l3;

    sget-object v7, Lcom/google/android/gms/internal/ads/l3;->r:Lcom/google/android/gms/internal/ads/l3;

    if-eq v6, v7, :cond_3f

    const/4 v6, 0x1

    goto :goto_40

    :cond_3f
    const/4 v6, 0x0

    :goto_40
    if-eqz v6, :cond_2b

    .line 2
    invoke-virtual {v5}, Lz5/lr0;->a()Lorg/json/JSONObject;

    move-result-object v5

    invoke-virtual {v3, v5}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    goto :goto_2b

    :cond_4a
    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v4

    if-lez v4, :cond_10

    invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_59
    .catchall {:try_start_1 .. :try_end_59} :catchall_5c

    goto :goto_10

    :cond_5a
    monitor-exit p0

    return-object v0

    :catchall_5c
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final h()V
    .registers 5

    const/4 v0, 0x1

    iput-boolean v0, p0, Lz5/pr0;->n:Z

    iget-object v0, p0, Lz5/pr0;->d:Lz5/nr0;

    .line 1
    iget-object v1, v0, Lz5/nr0;->a:Lz5/ir0;

    new-instance v2, Lz5/jn;

    invoke-direct {v2, v0}, Lz5/jn;-><init>(Lz5/nr0;)V

    .line 2
    iget-object v0, v1, Lz5/ir0;->e:Lcom/google/android/gms/internal/ads/y1;

    new-instance v3, Ll5/l;

    invoke-direct {v3, v1, v2}, Ll5/l;-><init>(Lz5/ir0;Lz5/tv;)V

    iget-object v1, v1, Lz5/ir0;->j:Ljava/util/concurrent/Executor;

    invoke-virtual {v0, v3, v1}, Lcom/google/android/gms/internal/ads/y1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    .line 3
    iget-object v0, p0, Lz5/pr0;->a:Lz5/qr0;

    .line 4
    iput-object p0, v0, Lz5/qr0;->t:Lz5/pr0;

    .line 5
    iget-object v0, p0, Lz5/pr0;->b:Lcom/google/android/gms/internal/ads/q3;

    .line 6
    iput-object p0, v0, Lcom/google/android/gms/internal/ads/q3;->f:Lz5/rr0;

    .line 7
    iget-object v0, p0, Lz5/pr0;->c:Lcom/google/android/gms/internal/ads/k3;

    .line 8
    iput-object p0, v0, Lcom/google/android/gms/internal/ads/k3;->i:Lz5/kr0;

    .line 9
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/u1;->f()Lcom/google/android/gms/ads/internal/util/zzg;

    move-result-object v0

    invoke-interface {v0}, Lcom/google/android/gms/ads/internal/util/zzg;->zzG()Ljava/lang/String;

    move-result-object v0

    .line 10
    monitor-enter p0

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

    move-result v1
    :try_end_35
    .catchall {:try_start_31 .. :try_end_35} :catchall_73

    if-eqz v1, :cond_38

    goto :goto_71

    :cond_38
    :try_start_38
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v0, "isTestMode"

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result v0

    invoke-virtual {p0, v0, v2}, Lz5/pr0;->e(ZZ)V

    const-string v0, "gesture"

    const-string v3, "NONE"

    invoke-virtual {v1, v0, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 11
    const-class v3, Lcom/google/android/gms/internal/ads/m3;

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

    move-result-object v0

    check-cast v0, Lcom/google/android/gms/internal/ads/m3;

    .line 12
    invoke-virtual {p0, v0, v2}, Lz5/pr0;->f(Lcom/google/android/gms/internal/ads/m3;Z)V

    const-string v0, "networkExtras"

    const-string v2, "{}"

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lz5/pr0;->h:Ljava/lang/String;

    const-string v0, "networkExtrasExpirationSecs"

    const-wide v2, 0x7fffffffffffffffL

    invoke-virtual {v1, v0, v2, v3}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;J)J

    move-result-wide v0

    iput-wide v0, p0, Lz5/pr0;->j:J
    :try_end_71
    .catch Lorg/json/JSONException; {:try_start_38 .. :try_end_71} :catch_71
    .catchall {:try_start_38 .. :try_end_71} :catchall_73

    :catch_71
    :goto_71
    monitor-exit p0

    return-void

    :catchall_73
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized i()V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lz5/pr0;->k:Lcom/google/android/gms/internal/ads/m3;

    invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I

    move-result v0
    :try_end_7
    .catchall {:try_start_1 .. :try_end_7} :catchall_1d

    const/4 v1, 0x1

    if-eq v0, v1, :cond_16

    const/4 v1, 0x2

    if-eq v0, v1, :cond_f

    monitor-exit p0

    return-void

    :cond_f
    :try_start_f
    iget-object v0, p0, Lz5/pr0;->c:Lcom/google/android/gms/internal/ads/k3;

    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/k3;->a()V
    :try_end_14
    .catchall {:try_start_f .. :try_end_14} :catchall_1d

    monitor-exit p0

    return-void

    :cond_16
    :try_start_16
    iget-object v0, p0, Lz5/pr0;->b:Lcom/google/android/gms/internal/ads/q3;

    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/q3;->a()V
    :try_end_1b
    .catchall {:try_start_16 .. :try_end_1b} :catchall_1d

    monitor-exit p0

    return-void

    :catchall_1d
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized j()V
    .registers 5

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lz5/pr0;->k:Lcom/google/android/gms/internal/ads/m3;

    invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I

    move-result v0
    :try_end_7
    .catchall {:try_start_1 .. :try_end_7} :catchall_4c

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eq v0, v1, :cond_2f

    const/4 v1, 0x2

    if-eq v0, v1, :cond_10

    monitor-exit p0

    return-void

    :cond_10
    :try_start_10
    iget-object v0, p0, Lz5/pr0;->c:Lcom/google/android/gms/internal/ads/k3;

    .line 1
    monitor-enter v0
    :try_end_13
    .catchall {:try_start_10 .. :try_end_13} :catchall_4c

    :try_start_13
    iget-boolean v1, v0, Lcom/google/android/gms/internal/ads/k3;->j:Z

    if-eqz v1, :cond_29

    iget-object v1, v0, Lcom/google/android/gms/internal/ads/k3;->a:Landroid/hardware/SensorManager;

    if-eqz v1, :cond_29

    iget-object v3, v0, Lcom/google/android/gms/internal/ads/k3;->b:Landroid/hardware/Sensor;

    if-eqz v3, :cond_29

    invoke-virtual {v1, v0, v3}, Landroid/hardware/SensorManager;->unregisterListener(Landroid/hardware/SensorEventListener;Landroid/hardware/Sensor;)V

    iput-boolean v2, v0, Lcom/google/android/gms/internal/ads/k3;->j:Z

    const-string v1, "Stopped listening for flick gestures."

    invoke-static {v1}, Lcom/google/android/gms/ads/internal/util/zze;->zza(Ljava/lang/String;)V

    :cond_29
    monitor-exit v0
    :try_end_2a
    .catchall {:try_start_13 .. :try_end_2a} :catchall_2c

    .line 2
    monitor-exit p0

    return-void

    :catchall_2c
    move-exception v1

    .line 3
    :try_start_2d
    monitor-exit v0
    :try_end_2e
    .catchall {:try_start_2d .. :try_end_2e} :catchall_2c

    :try_start_2e
    throw v1

    .line 4
    :cond_2f
    iget-object v0, p0, Lz5/pr0;->b:Lcom/google/android/gms/internal/ads/q3;

    .line 5
    monitor-enter v0
    :try_end_32
    .catchall {:try_start_2e .. :try_end_32} :catchall_4c

    :try_start_32
    iget-boolean v1, v0, Lcom/google/android/gms/internal/ads/q3;->g:Z

    if-eqz v1, :cond_46

    iget-object v1, v0, Lcom/google/android/gms/internal/ads/q3;->b:Landroid/hardware/SensorManager;

    if-eqz v1, :cond_44

    iget-object v3, v0, Lcom/google/android/gms/internal/ads/q3;->c:Landroid/hardware/Sensor;

    invoke-virtual {v1, v0, v3}, Landroid/hardware/SensorManager;->unregisterListener(Landroid/hardware/SensorEventListener;Landroid/hardware/Sensor;)V

    const-string v1, "Stopped listening for shake gestures."

    invoke-static {v1}, Lcom/google/android/gms/ads/internal/util/zze;->zza(Ljava/lang/String;)V

    :cond_44
    iput-boolean v2, v0, Lcom/google/android/gms/internal/ads/q3;->g:Z

    :cond_46
    monitor-exit v0
    :try_end_47
    .catchall {:try_start_32 .. :try_end_47} :catchall_49

    .line 6
    monitor-exit p0

    return-void

    :catchall_49
    move-exception v1

    .line 7
    :try_start_4a
    monitor-exit v0
    :try_end_4b
    .catchall {:try_start_4a .. :try_end_4b} :catchall_49

    :try_start_4b
    throw v1
    :try_end_4c
    .catchall {:try_start_4b .. :try_end_4c} :catchall_4c

    :catchall_4c
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final k()V
    .registers 9

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/u1;->f()Lcom/google/android/gms/ads/internal/util/zzg;

    move-result-object v0

    .line 1
    monitor-enter p0

    :try_start_9
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
    :try_end_e
    .catchall {:try_start_9 .. :try_end_e} :catchall_44

    :try_start_e
    const-string v2, "isTestMode"

    iget-boolean v3, p0, Lz5/pr0;->l:Z

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string v2, "gesture"

    iget-object v3, p0, Lz5/pr0;->k:Lcom/google/android/gms/internal/ads/m3;

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    iget-wide v2, p0, Lz5/pr0;->j:J

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzj()Lu5/c;

    move-result-object v4

    invoke-interface {v4}, Lu5/c;->b()J

    move-result-wide v4

    const-wide/16 v6, 0x3e8

    div-long/2addr v4, v6

    cmp-long v2, v2, v4

    if-lez v2, :cond_3b

    const-string v2, "networkExtras"

    iget-object v3, p0, Lz5/pr0;->h:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "networkExtrasExpirationSecs"

    iget-wide v3, p0, Lz5/pr0;->j:J

    invoke-virtual {v1, v2, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
    :try_end_3b
    .catch Lorg/json/JSONException; {:try_start_e .. :try_end_3b} :catch_3b
    .catchall {:try_start_e .. :try_end_3b} :catchall_44

    :catch_3b
    :cond_3b
    :try_start_3b
    invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v1
    :try_end_3f
    .catchall {:try_start_3b .. :try_end_3f} :catchall_44

    monitor-exit p0

    .line 2
    invoke-interface {v0, v1}, Lcom/google/android/gms/ads/internal/util/zzg;->zzH(Ljava/lang/String;)V

    return-void

    :catchall_44
    move-exception v0

    .line 3
    monitor-exit p0

    throw v0
.end method
