what-the-bank/sources/com/google/android/gms/internal/gtm/zzhg.java

36 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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 zzhg extends zzhb {
@Override // com.google.android.gms.internal.gtm.zzhb
protected final zzoa<?> zza(zzfl zzflVar, zzoa<?>... zzoaVarArr) {
Preconditions.checkNotNull(zzoaVarArr);
int i = 0;
Preconditions.checkArgument(zzoaVarArr.length > 0 && zzoaVarArr.length <= 3);
Preconditions.checkArgument(zzoaVarArr[0] instanceof zzoh);
zzoh zzohVar = (zzoh) zzoaVarArr[0];
zzoa<?> zzoaVar = zzoaVarArr.length < 2 ? zzog.zzaum : zzoaVarArr[1];
zzoa<?> zzoaVar2 = zzoaVarArr.length < 3 ? zzog.zzaum : zzoaVarArr[2];
List<zzoa<?>> value = zzohVar.value();
int size = value.size();
if (zzoaVar2 != zzog.zzaum) {
int zzc = (int) zzha.zzc(zzoaVar2);
i = zzc < 0 ? Math.max(size - Math.abs(zzc), 0) : zzc;
}
while (true) {
if (i >= size) {
i = -1;
break;
}
if (zzohVar.zzad(i) && zzha.zzd(zzoaVar, value.get(i))) {
break;
}
i++;
}
return new zzoe(Double.valueOf(i));
}
}