package com.google.android.gms.internal.gtm; import com.google.android.gms.common.internal.Preconditions; import java.util.List; /* loaded from: classes.dex */ public final class zzjj implements zzgz { @Override // com.google.android.gms.internal.gtm.zzgz public final zzoa zzb(zzfl zzflVar, zzoa... zzoaVarArr) { Preconditions.checkArgument(zzoaVarArr != null); Preconditions.checkArgument(zzoaVarArr.length == 4); zzoa zza = zzoo.zza(zzflVar, zzoaVarArr[3]); Preconditions.checkArgument(zza instanceof zzoh); List> value = ((zzoh) zza).value(); zzoa zzoaVar = zzoaVarArr[2]; Preconditions.checkArgument(zzoaVar instanceof zzod); if (((zzod) zzoaVar).value().booleanValue()) { zzog zza2 = zzoo.zza(zzflVar, value); if (zza2 == zzog.zzauj) { return zzog.zzaum; } if (zza2.zzmh()) { return zza2; } } while (zzha.zza(zzoo.zza(zzflVar, zzoaVarArr[0]))) { zzog zza3 = zzoo.zza(zzflVar, value); if (zza3 == zzog.zzauj) { return zzog.zzaum; } if (zza3.zzmh()) { return zza3; } zzoo.zza(zzflVar, zzoaVarArr[1]); } return zzog.zzaum; } }