package com.google.android.gms.internal.p002firebaseauthapi; import com.google.android.gms.common.util.Strings; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes2.dex */ public final class zzaav implements zzxn { private static final String zza = "zzaav"; private String zzb; @Override // com.google.android.gms.internal.p002firebaseauthapi.zzxn public final /* synthetic */ zzxn zza(String str) throws zzvg { try { JSONObject optJSONObject = new JSONObject(str).optJSONObject("phoneResponseInfo"); if (optJSONObject != null) { this.zzb = Strings.emptyToNull(optJSONObject.optString("sessionInfo")); } return this; } catch (NullPointerException | JSONException e) { throw zzabk.zza(e, zza, str); } } public final String zzb() { return this.zzb; } }