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


# instance fields
.field public final a:Z

.field public final b:I

.field public final c:I

.field public final d:I

.field public final e:I

.field public final f:I

.field public final g:I

.field public final h:I

.field public final i:Z

.field public final j:I

.field public final k:Z

.field public final l:Z

.field public final m:Z


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .registers 4

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

    const/4 v0, 0x0

    if-eqz p1, :cond_c

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

    invoke-direct {v1, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_b
    .catch Lorg/json/JSONException; {:try_start_6 .. :try_end_b} :catch_c

    move-object v0, v1

    :catch_c
    :cond_c
    sget-object p1, Lz5/so;->A:Lz5/no;

    const-string v1, "aggressive_media_codec_release"

    invoke-static {v0, v1, p1}, Lz5/g60;->a(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/g60;->a:Z

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

    const-string v1, "byte_buffer_precache_limit"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->b:I

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

    const-string v1, "exo_cache_buffer_size"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->c:I

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

    const-string v1, "exo_connect_timeout_millis"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->d:I

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

    const-string v1, "exo_player_version"

    if-eqz v0, :cond_3e

    :try_start_3a
    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
    :try_end_3d
    .catch Lorg/json/JSONException; {:try_start_3a .. :try_end_3d} :catch_3e

    goto :goto_48

    .line 1
    :catch_3e
    :cond_3e
    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, p1}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

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

    const-string v1, "exo_read_timeout_millis"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->e:I

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

    const-string v1, "load_check_interval_bytes"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->f:I

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

    const-string v1, "player_precache_limit"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->g:I

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

    const-string v1, "socket_receive_buffer_size"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->h:I

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

    const-string v1, "use_cache_data_source"

    invoke-static {v0, v1, p1}, Lz5/g60;->a(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/g60;->i:Z

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

    const-string v1, "min_retry_count"

    invoke-static {v0, v1, p1}, Lz5/g60;->b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I

    move-result p1

    iput p1, p0, Lz5/g60;->j:I

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

    const-string v1, "treat_load_exception_as_non_fatal"

    invoke-static {v0, v1, p1}, Lz5/g60;->a(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/g60;->k:Z

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

    const-string v1, "using_official_simple_exo_player"

    invoke-static {v0, v1, p1}, Lz5/g60;->a(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/g60;->l:Z

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

    const-string v1, "enable_multiple_video_playback"

    invoke-static {v0, v1, p1}, Lz5/g60;->a(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)Z

    move-result p1

    iput-boolean p1, p0, Lz5/g60;->m:Z

    return-void
.end method

.method public static final a(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/json/JSONObject;",
            "Ljava/lang/String;",
            "Lz5/no<",
            "Ljava/lang/Boolean;",
            ">;)Z"
        }
    .end annotation

    .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, p2}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Ljava/lang/Boolean;

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

    move-result p2

    if-eqz p0, :cond_14

    :try_start_10
    invoke-virtual {p0, p1}, Lorg/json/JSONObject;->getBoolean(Ljava/lang/String;)Z

    move-result p2
    :try_end_14
    .catch Lorg/json/JSONException; {:try_start_10 .. :try_end_14} :catch_14

    :catch_14
    :cond_14
    return p2
.end method

.method public static final b(Lorg/json/JSONObject;Ljava/lang/String;Lz5/no;)I
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/json/JSONObject;",
            "Ljava/lang/String;",
            "Lz5/no<",
            "Ljava/lang/Integer;",
            ">;)I"
        }
    .end annotation

    if-eqz p0, :cond_7

    :try_start_2
    invoke-virtual {p0, p1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result p0
    :try_end_6
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_6} :catch_7

    return p0

    .line 1
    :catch_7
    :cond_7
    sget-object p0, Lz5/xk;->d:Lz5/xk;

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

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

    move-result-object p0

    check-cast p0, Ljava/lang/Integer;

    invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I

    move-result p0

    return p0
.end method
