package com.google.android.gms.internal.gtm; import com.google.android.gms.common.internal.Preconditions; import java.util.ArrayList; import java.util.List; /* loaded from: classes.dex */ public final class zzhj extends zzhb { @Override // com.google.android.gms.internal.gtm.zzhb protected final zzoa zza(zzfl zzflVar, zzoa... zzoaVarArr) { zzoa zzoaVar; Preconditions.checkNotNull(zzoaVarArr); Preconditions.checkArgument(zzoaVarArr.length == 2); Preconditions.checkArgument(zzoaVarArr[0] instanceof zzoh); Preconditions.checkArgument(zzoaVarArr[1] instanceof zzof); zzoh zzohVar = (zzoh) zzoaVarArr[0]; zzof zzofVar = (zzof) zzoaVarArr[1]; List> value = zzohVar.value(); int size = value.size(); ArrayList arrayList = new ArrayList(); for (int i = 0; i < size && i < zzohVar.value().size(); i++) { if (zzohVar.zzad(i)) { zzoaVar = zzofVar.value().zzb(zzflVar, value.get(i), new zzoe(Double.valueOf(i)), zzohVar); Preconditions.checkState(!zzoo.zzm(zzoaVar)); } else { zzoaVar = null; } arrayList.add(zzoaVar); } return new zzoh(arrayList); } }