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

52 lines
1.9 KiB
Java
Raw Permalink 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 org.simpleframework.xml.strategy.Name;
/* loaded from: classes.dex */
public final class zzjf extends zzhb {
@Override // com.google.android.gms.internal.gtm.zzhb
protected final zzoa<?> zza(zzfl zzflVar, zzoa<?>... zzoaVarArr) {
Preconditions.checkArgument(true);
Preconditions.checkArgument(zzoaVarArr.length == 3);
zzoa<?> zzoaVar = zzoaVarArr[0];
zzoa<?> zzoaVar2 = zzoaVarArr[1];
zzoa<?> zzoaVar3 = zzoaVarArr[2];
Preconditions.checkArgument(zzoaVar != zzog.zzaul);
Preconditions.checkArgument(zzoaVar != zzog.zzaum);
Preconditions.checkArgument(!zzoo.zzm(zzoaVar));
Preconditions.checkArgument(!zzoo.zzm(zzoaVar2));
Preconditions.checkArgument(!zzoo.zzm(zzoaVar3));
if (zzoo.zzl(zzoaVar)) {
return zzoaVar3;
}
String zzd = zzha.zzd(zzoaVar2);
if (zzoaVar instanceof zzok) {
zzok zzokVar = (zzok) zzoaVar;
if (!zzokVar.isImmutable()) {
zzokVar.zzc(zzd, zzoaVar3);
}
return zzoaVar3;
}
if (zzoaVar instanceof zzoh) {
zzoh zzohVar = (zzoh) zzoaVar;
if (Name.LENGTH.equals(zzd)) {
double zzb = zzha.zzb(zzoaVar3);
Preconditions.checkArgument(!Double.isInfinite(zzb) && zzb == Math.floor(zzb));
zzohVar.setSize((int) zzb);
return zzoaVar3;
}
double zzb2 = zzha.zzb(zzoaVar2);
if (!Double.isInfinite(zzb2) && zzb2 >= 0.0d) {
int i = (int) zzb2;
if (zzd.equals(Integer.toString(i))) {
zzohVar.zza(i, zzoaVar3);
return zzoaVar3;
}
}
}
zzoaVar.zzc(zzd, zzoaVar3);
return zzoaVar3;
}
}