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

46 lines
1.7 KiB
Java

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 zzja extends zzhb {
public static final zzja zzark = new zzja();
@Override // com.google.android.gms.internal.gtm.zzhb
protected final zzoa<?> zza(zzfl zzflVar, zzoa<?>... zzoaVarArr) {
Preconditions.checkArgument(true);
Preconditions.checkArgument(zzoaVarArr.length == 2);
zzoa<?> zzoaVar = zzoaVarArr[0];
zzoa<?> zzoaVar2 = zzoaVarArr[1];
Preconditions.checkArgument(!zzoo.zzm(zzoaVar));
Preconditions.checkArgument(true ^ zzoo.zzm(zzoaVar2));
String zzd = zzha.zzd(zzoaVar2);
if (zzoaVar instanceof zzoh) {
if (Name.LENGTH.equals(zzd)) {
return new zzod(true);
}
double zzb = zzha.zzb(zzoaVar2);
if (zzb == Math.floor(zzb)) {
int i = (int) zzb;
if (zzd.equals(Integer.toString(i)) && i >= 0 && i < ((zzoh) zzoaVar).value().size()) {
return new zzod(true);
}
}
} else if (zzoaVar instanceof zzom) {
if (Name.LENGTH.equals(zzd)) {
return new zzod(true);
}
double zzb2 = zzha.zzb(zzoaVar2);
if (zzb2 == Math.floor(zzb2)) {
int i2 = (int) zzb2;
if (zzd.equals(Integer.toString(i2)) && i2 >= 0 && i2 < ((zzom) zzoaVar).value().length()) {
return new zzod(true);
}
}
return new zzod(false);
}
return new zzod(Boolean.valueOf(zzoaVar.zzcn(zzd)));
}
}