package com.google.android.gms.internal.p002firebaseauthapi; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes.dex */ public final class zzaep extends zzael { private static final String zza = "zzaep"; private String zzb; @Override // com.google.android.gms.internal.p002firebaseauthapi.zzael, com.google.android.gms.internal.p002firebaseauthapi.zzabd public final /* bridge */ /* synthetic */ zzabd zza(String str) { zzd(str); return this; } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzael /* renamed from: zzb */ public final /* bridge */ /* synthetic */ zzael zza(String str) { zzd(str); return this; } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzael public final String zzc() { return this.zzb; } public final zzaep zzd(String str) { try { JSONObject optJSONObject = new JSONObject(str).optJSONObject("phoneSessionInfo"); if (optJSONObject != null) { this.zzb = zzac.zza(optJSONObject.optString("sessionInfo")); } return this; } catch (NullPointerException | JSONException e10) { throw zzafg.zza(e10, zza, str); } } }