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

# interfaces
.implements Lz5/f01;


# instance fields
.field public final synthetic a:I

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


# direct methods
.method public constructor <init>(Lcom/google/android/gms/internal/ads/y4;)V
    .registers 3

    const/4 v0, 0x2

    iput v0, p0, Lz5/az0;->a:I

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

    iput-object p1, p0, Lz5/az0;->b:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Ljava/lang/Boolean;)V
    .registers 3

    const/4 v0, 0x1

    iput v0, p0, Lz5/az0;->a:I

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

    iput-object p1, p0, Lz5/az0;->b:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Ljava/util/List;)V
    .registers 3

    const/4 v0, 0x4

    iput v0, p0, Lz5/az0;->a:I

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

    iput-object p1, p0, Lz5/az0;->b:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Ljava/util/Map;)V
    .registers 3

    const/4 v0, 0x5

    iput v0, p0, Lz5/az0;->a:I

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

    iput-object p1, p0, Lz5/az0;->b:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/jy0;)V
    .registers 3

    const/4 v0, 0x0

    iput v0, p0, Lz5/az0;->a:I

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

    iput-object p1, p0, Lz5/az0;->b:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/v01;)V
    .registers 3

    const/4 v0, 0x3

    iput v0, p0, Lz5/az0;->a:I

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

    iput-object p1, p0, Lz5/az0;->b:Ljava/lang/Object;

    return-void
.end method


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

    iget v0, p0, Lz5/az0;->a:I

    packed-switch v0, :pswitch_data_ca

    goto/16 :goto_97

    .line 1
    :pswitch_7
    check-cast p1, Lorg/json/JSONObject;

    :try_start_9
    const-string v0, "eid"

    const-string v1, ","

    iget-object v2, p0, Lz5/az0;->b:Ljava/lang/Object;

    check-cast v2, Ljava/util/List;

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

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_18
    .catch Lorg/json/JSONException; {:try_start_9 .. :try_end_18} :catch_19

    goto :goto_1e

    :catch_19
    const-string p1, "Failed putting experiment ids."

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

    :goto_1e
    return-void

    .line 2
    :pswitch_1f
    iget-object v0, p0, Lz5/az0;->b:Ljava/lang/Object;

    check-cast v0, Lz5/v01;

    check-cast p1, Lorg/json/JSONObject;

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

    :try_start_28
    const-string v1, "gms_sdk_env"

    .line 3
    iget-object v0, v0, Lz5/v01;->a:Lorg/json/JSONObject;

    invoke-virtual {p1, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_2f
    .catch Lorg/json/JSONException; {:try_start_28 .. :try_end_2f} :catch_30

    goto :goto_35

    :catch_30
    const-string p1, "Failed putting version constants."

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

    :goto_35
    return-void

    .line 4
    :pswitch_36
    check-cast p1, Landroid/os/Bundle;

    iget-object v0, p0, Lz5/az0;->b:Ljava/lang/Object;

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

    if-eqz v0, :cond_72

    const-string v1, "render_in_browser"

    .line 5
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/y4;->b:Ljava/lang/Object;

    monitor-enter v2

    :try_start_43
    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/y4;->a()V

    iget v0, v0, Lcom/google/android/gms/internal/ads/y4;->d:I

    const/4 v3, 0x2

    const/4 v4, 0x1

    const/4 v5, 0x0

    if-ne v0, v3, :cond_4f

    move v0, v4

    goto :goto_50

    :cond_4f
    move v0, v5

    :goto_50
    monitor-exit v2
    :try_end_51
    .catchall {:try_start_43 .. :try_end_51} :catchall_6f

    .line 6
    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const-string v0, "disable_ml"

    iget-object v1, p0, Lz5/az0;->b:Ljava/lang/Object;

    check-cast v1, Lcom/google/android/gms/internal/ads/y4;

    .line 7
    iget-object v3, v1, Lcom/google/android/gms/internal/ads/y4;->b:Ljava/lang/Object;

    monitor-enter v3

    :try_start_5d
    invoke-virtual {v1}, Lcom/google/android/gms/internal/ads/y4;->a()V

    iget v1, v1, Lcom/google/android/gms/internal/ads/y4;->d:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_66

    goto :goto_67

    :cond_66
    move v4, v5

    :goto_67
    monitor-exit v3
    :try_end_68
    .catchall {:try_start_5d .. :try_end_68} :catchall_6c

    .line 8
    invoke-virtual {p1, v0, v4}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    goto :goto_72

    :catchall_6c
    move-exception p1

    .line 9
    :try_start_6d
    monitor-exit v3
    :try_end_6e
    .catchall {:try_start_6d .. :try_end_6e} :catchall_6c

    throw p1

    :catchall_6f
    move-exception p1

    .line 10
    :try_start_70
    monitor-exit v2
    :try_end_71
    .catchall {:try_start_70 .. :try_end_71} :catchall_6f

    throw p1

    :cond_72
    :goto_72
    return-void

    .line 11
    :pswitch_73
    check-cast p1, Landroid/os/Bundle;

    iget-object v0, p0, Lz5/az0;->b:Ljava/lang/Object;

    check-cast v0, Ljava/lang/Boolean;

    if-eqz v0, :cond_84

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

    move-result v0

    const-string v1, "hw_accel"

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

    :cond_84
    return-void

    .line 12
    :pswitch_85
    iget-object v0, p0, Lz5/az0;->b:Ljava/lang/Object;

    check-cast v0, Lz5/jy0;

    check-cast p1, Landroid/os/Bundle;

    .line 13
    iget-object v0, v0, Lz5/jy0;->b:Ljava/lang/Object;

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

    .line 14
    iget-object v0, v0, Lcom/google/android/gms/internal/ads/n4;->a:Ljava/lang/String;

    const-string v1, "key_schema"

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

    return-void

    .line 16
    :goto_97
    check-cast p1, Lorg/json/JSONObject;

    :try_start_99
    const-string v0, "video_decoders"

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

    move-result-object v1

    iget-object v2, p0, Lz5/az0;->b:Ljava/lang/Object;

    check-cast v2, Ljava/util/Map;

    invoke-virtual {v1, v2}, Lcom/google/android/gms/ads/internal/util/zzs;->zzj(Ljava/util/Map;)Lorg/json/JSONObject;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_aa
    .catch Lorg/json/JSONException; {:try_start_99 .. :try_end_aa} :catch_ab

    goto :goto_c9

    :catch_ab
    move-exception p1

    invoke-virtual {p1}, Lorg/json/JSONException;->getMessage()Ljava/lang/String;

    move-result-object p1

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

    move-result-object p1

    const-string v0, "Could not encode video decoder properties: "

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

    move-result v1

    if-eqz v1, :cond_c1

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

    move-result-object p1

    goto :goto_c6

    :cond_c1
    new-instance p1, Ljava/lang/String;

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

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

    :goto_c9
    return-void

    :pswitch_data_ca
    .packed-switch 0x0
        :pswitch_85
        :pswitch_73
        :pswitch_36
        :pswitch_1f
        :pswitch_7
    .end packed-switch
.end method
