package com.google.android.recaptcha.internal;

import A4.d;
import C4.j;
import J4.e;
import com.google.android.recaptcha.RecaptchaAction;
import m3.AbstractC2467b;
import w4.C3137A;
import w4.n;

/* JADX INFO: loaded from: classes3.dex */
final class zzcz extends j implements e {
    int zza;
    final /* synthetic */ zzdc zzb;
    final /* synthetic */ long zzc;
    final /* synthetic */ RecaptchaAction zzd;
    final /* synthetic */ String zze;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public zzcz(zzdc zzdcVar, long j4, RecaptchaAction recaptchaAction, String str, d dVar) {
        super(2, dVar);
        this.zzb = zzdcVar;
        this.zzc = j4;
        this.zzd = recaptchaAction;
        this.zze = str;
    }

    @Override // C4.a
    public final d create(Object obj, d dVar) {
        return new zzcz(this.zzb, this.zzc, this.zzd, this.zze, dVar);
    }

    @Override // J4.e
    public final /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
        return ((zzcz) create((zzek) obj, (d) obj2)).invokeSuspend(C3137A.f25453a);
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) throws zzbd {
        B4.a aVar = B4.a.f492a;
        int i6 = this.zza;
        AbstractC2467b.l(obj);
        if (i6 == 0) {
            zzdc.zze(this.zzb, this.zzc, this.zzd);
            zzdc zzdcVar = this.zzb;
            String str = this.zze;
            RecaptchaAction recaptchaAction = this.zzd;
            long j4 = this.zzc;
            zzcn zzcnVar = zzdcVar.zzb;
            this.zza = 1;
            obj = zzcnVar.zza(str, recaptchaAction, j4, this);
            if (obj == aVar) {
                return aVar;
            }
        }
        return new n((String) obj);
    }
}
