package com.google.android.gms.internal.gtm; import com.google.android.gms.common.internal.Preconditions; import org.simpleframework.xml.strategy.Name; /* loaded from: classes.dex */ public final class zziz extends zzhb { @Override // com.google.android.gms.internal.gtm.zzhb protected final zzoa zza(zzfl zzflVar, zzoa... zzoaVarArr) { zzoa zzac; Preconditions.checkArgument(true); Preconditions.checkArgument(zzoaVarArr.length == 2); zzoa zzoaVar = zzoaVarArr[0]; zzoa zzoaVar2 = zzoaVarArr[1]; boolean z = zzoaVar instanceof zzom; Preconditions.checkArgument(z || !zzoo.zzl(zzoaVar)); Preconditions.checkArgument(!zzoo.zzm(zzoaVar)); Preconditions.checkArgument(true ^ zzoo.zzm(zzoaVar2)); String zzd = zzha.zzd(zzoaVar2); if (zzoaVar instanceof zzoh) { zzoh zzohVar = (zzoh) zzoaVar; if (Name.LENGTH.equals(zzd)) { return new zzoe(Double.valueOf(zzohVar.value().size())); } double zzb = zzha.zzb(zzoaVar2); if (zzb == Math.floor(zzb)) { int i = (int) zzb; if (zzd.equals(Integer.toString(i)) && (zzac = zzohVar.zzac(i)) != zzog.zzaum) { return zzac; } } } else if (z) { zzom zzomVar = (zzom) zzoaVar; if (Name.LENGTH.equals(zzd)) { return new zzoe(Double.valueOf(zzomVar.value().length())); } double zzb2 = zzha.zzb(zzoaVar2); if (zzb2 == Math.floor(zzb2)) { int i2 = (int) zzb2; if (zzd.equals(Integer.toString(i2))) { return zzomVar.zzae(i2); } } return zzog.zzaum; } return zzoaVar.zzco(zzd); } }