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

# interfaces
.implements Lz5/f01;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lz5/f01<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic a:I

.field public final b:Lorg/json/JSONObject;


# direct methods
.method public constructor <init>(Lorg/json/JSONObject;I)V
    .registers 4

    iput p2, p0, Lz5/s01;->a:I

    const/4 v0, 0x1

    if-eq p2, v0, :cond_b

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

    iput-object p1, p0, Lz5/s01;->b:Lorg/json/JSONObject;

    return-void

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

    iput-object p1, p0, Lz5/s01;->b:Lorg/json/JSONObject;

    return-void
.end method


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

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

    packed-switch v0, :pswitch_data_3e

    goto :goto_2e

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

    :try_start_8
    const-string v0, "content_info"

    invoke-static {p1, v0}, Lcom/google/android/gms/ads/internal/util/zzbx;->zzg(Lorg/json/JSONObject;Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object p1

    iget-object v0, p0, Lz5/s01;->b:Lorg/json/JSONObject;

    invoke-virtual {v0}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;

    move-result-object v1

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

    move-result v2

    if-eqz v2, :cond_2d

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

    move-result-object v2

    check-cast v2, Ljava/lang/String;

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

    move-result-object v3

    invoke-virtual {p1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_27
    .catch Lorg/json/JSONException; {:try_start_8 .. :try_end_27} :catch_28

    goto :goto_14

    :catch_28
    const-string p1, "Failed putting app indexing json."

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

    :cond_2d
    return-void

    .line 2
    :goto_2e
    check-cast p1, Lorg/json/JSONObject;

    :try_start_30
    const-string v0, "cache_state"

    iget-object v1, p0, Lz5/s01;->b:Lorg/json/JSONObject;

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

    goto :goto_3d

    :catch_38
    const-string p1, "Unable to get cache_state"

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

    :goto_3d
    return-void

    :pswitch_data_3e
    .packed-switch 0x0
        :pswitch_6
    .end packed-switch
.end method
