- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
429 lines
12 KiB
Java
429 lines
12 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import java.io.IOException;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import java.util.RandomAccess;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzgzx {
|
|
public static final /* synthetic */ int zza = 0;
|
|
private static final zzhah zzb;
|
|
|
|
static {
|
|
int i = zzgzm.zza;
|
|
zzb = new zzhaj();
|
|
}
|
|
|
|
public static void zzA(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzu(i, list, z);
|
|
}
|
|
|
|
public static void zzB(int i, List list, zzhaw zzhawVar, zzgzv zzgzvVar) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
for (int i2 = 0; i2 < list.size(); i2++) {
|
|
((zzgwx) zzhawVar).zzv(i, list.get(i2), zzgzvVar);
|
|
}
|
|
}
|
|
|
|
public static void zzC(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzy(i, list, z);
|
|
}
|
|
|
|
public static void zzD(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzA(i, list, z);
|
|
}
|
|
|
|
public static void zzE(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzC(i, list, z);
|
|
}
|
|
|
|
public static void zzF(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzE(i, list, z);
|
|
}
|
|
|
|
public static void zzG(int i, List list, zzhaw zzhawVar) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzH(i, list);
|
|
}
|
|
|
|
public static void zzH(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzJ(i, list, z);
|
|
}
|
|
|
|
public static void zzI(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzL(i, list, z);
|
|
}
|
|
|
|
public static boolean zzJ(Object obj, Object obj2) {
|
|
if (obj != obj2) {
|
|
return obj != null && obj.equals(obj2);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public static int zza(List list) {
|
|
int i;
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
if (list instanceof zzgxs) {
|
|
zzgxs zzgxsVar = (zzgxs) list;
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(zzgxsVar.zzd(i2));
|
|
i2++;
|
|
}
|
|
} else {
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(((Integer) list.get(i2)).intValue());
|
|
i2++;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static int zzb(int i, List list, boolean z) {
|
|
int size = list.size();
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
return size * (zzgww.zzD(i << 3) + 4);
|
|
}
|
|
|
|
public static int zzc(List list) {
|
|
return list.size() * 4;
|
|
}
|
|
|
|
public static int zzd(int i, List list, boolean z) {
|
|
int size = list.size();
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
return size * (zzgww.zzD(i << 3) + 8);
|
|
}
|
|
|
|
public static int zze(List list) {
|
|
return list.size() * 8;
|
|
}
|
|
|
|
public static int zzf(List list) {
|
|
int i;
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
if (list instanceof zzgxs) {
|
|
zzgxs zzgxsVar = (zzgxs) list;
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(zzgxsVar.zzd(i2));
|
|
i2++;
|
|
}
|
|
} else {
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(((Integer) list.get(i2)).intValue());
|
|
i2++;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static int zzg(List list) {
|
|
int i;
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
if (list instanceof zzgyr) {
|
|
zzgyr zzgyrVar = (zzgyr) list;
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(zzgyrVar.zza(i2));
|
|
i2++;
|
|
}
|
|
} else {
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(((Long) list.get(i2)).longValue());
|
|
i2++;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static int zzh(int i, Object obj, zzgzv zzgzvVar) {
|
|
int i2 = i << 3;
|
|
if (!(obj instanceof zzgyn)) {
|
|
return zzgww.zzD(i2) + zzgww.zzA((zzgzc) obj, zzgzvVar);
|
|
}
|
|
int zzD = zzgww.zzD(i2);
|
|
int zza2 = ((zzgyn) obj).zza();
|
|
return zzD + zzgww.zzD(zza2) + zza2;
|
|
}
|
|
|
|
public static int zzi(List list) {
|
|
int i;
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
if (list instanceof zzgxs) {
|
|
zzgxs zzgxsVar = (zzgxs) list;
|
|
i = 0;
|
|
while (i2 < size) {
|
|
int zzd = zzgxsVar.zzd(i2);
|
|
i += zzgww.zzD((zzd >> 31) ^ (zzd + zzd));
|
|
i2++;
|
|
}
|
|
} else {
|
|
i = 0;
|
|
while (i2 < size) {
|
|
int intValue = ((Integer) list.get(i2)).intValue();
|
|
i += zzgww.zzD((intValue >> 31) ^ (intValue + intValue));
|
|
i2++;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static int zzj(List list) {
|
|
int i;
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
if (list instanceof zzgyr) {
|
|
zzgyr zzgyrVar = (zzgyr) list;
|
|
i = 0;
|
|
while (i2 < size) {
|
|
long zza2 = zzgyrVar.zza(i2);
|
|
i += zzgww.zzE((zza2 >> 63) ^ (zza2 + zza2));
|
|
i2++;
|
|
}
|
|
} else {
|
|
i = 0;
|
|
while (i2 < size) {
|
|
long longValue = ((Long) list.get(i2)).longValue();
|
|
i += zzgww.zzE((longValue >> 63) ^ (longValue + longValue));
|
|
i2++;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static int zzk(List list) {
|
|
int i;
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
if (list instanceof zzgxs) {
|
|
zzgxs zzgxsVar = (zzgxs) list;
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzD(zzgxsVar.zzd(i2));
|
|
i2++;
|
|
}
|
|
} else {
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzD(((Integer) list.get(i2)).intValue());
|
|
i2++;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static int zzl(List list) {
|
|
int i;
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
if (size == 0) {
|
|
return 0;
|
|
}
|
|
if (list instanceof zzgyr) {
|
|
zzgyr zzgyrVar = (zzgyr) list;
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(zzgyrVar.zza(i2));
|
|
i2++;
|
|
}
|
|
} else {
|
|
i = 0;
|
|
while (i2 < size) {
|
|
i += zzgww.zzE(((Long) list.get(i2)).longValue());
|
|
i2++;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static zzhah zzm() {
|
|
return zzb;
|
|
}
|
|
|
|
public static Object zzn(Object obj, int i, List list, zzgxx zzgxxVar, Object obj2, zzhah zzhahVar) {
|
|
if (zzgxxVar == null) {
|
|
return obj2;
|
|
}
|
|
if (list instanceof RandomAccess) {
|
|
int size = list.size();
|
|
int i2 = 0;
|
|
for (int i3 = 0; i3 < size; i3++) {
|
|
int intValue = ((Integer) list.get(i3)).intValue();
|
|
if (zzgxxVar.zza(intValue)) {
|
|
if (i3 != i2) {
|
|
list.set(i2, Integer.valueOf(intValue));
|
|
}
|
|
i2++;
|
|
} else {
|
|
obj2 = zzo(obj, i, intValue, obj2, zzhahVar);
|
|
}
|
|
}
|
|
if (i2 != size) {
|
|
list.subList(i2, size).clear();
|
|
return obj2;
|
|
}
|
|
} else {
|
|
Iterator it = list.iterator();
|
|
while (it.hasNext()) {
|
|
int intValue2 = ((Integer) it.next()).intValue();
|
|
if (!zzgxxVar.zza(intValue2)) {
|
|
obj2 = zzo(obj, i, intValue2, obj2, zzhahVar);
|
|
it.remove();
|
|
}
|
|
}
|
|
}
|
|
return obj2;
|
|
}
|
|
|
|
public static Object zzo(Object obj, int i, int i2, Object obj2, zzhah zzhahVar) {
|
|
if (obj2 == null) {
|
|
obj2 = zzhahVar.zza(obj);
|
|
}
|
|
zzhahVar.zzh(obj2, i, i2);
|
|
return obj2;
|
|
}
|
|
|
|
public static void zzp(zzgxc zzgxcVar, Object obj, Object obj2) {
|
|
if (((zzgxn) obj2).zza.zza.isEmpty()) {
|
|
return;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
public static void zzq(zzhah zzhahVar, Object obj, Object obj2) {
|
|
zzgxr zzgxrVar = (zzgxr) obj;
|
|
zzhai zzhaiVar = zzgxrVar.zzt;
|
|
zzhai zzhaiVar2 = ((zzgxr) obj2).zzt;
|
|
if (!zzhai.zzc().equals(zzhaiVar2)) {
|
|
if (zzhai.zzc().equals(zzhaiVar)) {
|
|
zzhaiVar = zzhai.zze(zzhaiVar, zzhaiVar2);
|
|
} else {
|
|
zzhaiVar.zzd(zzhaiVar2);
|
|
}
|
|
}
|
|
zzgxrVar.zzt = zzhaiVar;
|
|
}
|
|
|
|
public static void zzr(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzc(i, list, z);
|
|
}
|
|
|
|
public static void zzs(int i, List list, zzhaw zzhawVar) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zze(i, list);
|
|
}
|
|
|
|
public static void zzt(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzg(i, list, z);
|
|
}
|
|
|
|
public static void zzu(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzj(i, list, z);
|
|
}
|
|
|
|
public static void zzv(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzl(i, list, z);
|
|
}
|
|
|
|
public static void zzw(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzn(i, list, z);
|
|
}
|
|
|
|
public static void zzx(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzp(i, list, z);
|
|
}
|
|
|
|
public static void zzy(int i, List list, zzhaw zzhawVar, zzgzv zzgzvVar) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
for (int i2 = 0; i2 < list.size(); i2++) {
|
|
((zzgwx) zzhawVar).zzq(i, list.get(i2), zzgzvVar);
|
|
}
|
|
}
|
|
|
|
public static void zzz(int i, List list, zzhaw zzhawVar, boolean z) throws IOException {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
zzhawVar.zzs(i, list, z);
|
|
}
|
|
}
|