what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zzaco.java

444 lines
13 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.p002firebaseauthapi;
import java.io.IOException;
import java.util.List;
/* loaded from: classes2.dex */
final class zzaco {
private final zzacn zza;
private zzaco(zzacn zzacnVar) {
zzadl.zzf(zzacnVar, "output");
this.zza = zzacnVar;
zzacnVar.zze = this;
}
public static zzaco zza(zzacn zzacnVar) {
zzaco zzacoVar = zzacnVar.zze;
return zzacoVar != null ? zzacoVar : new zzaco(zzacnVar);
}
public final void zzA(int i, int i2) throws IOException {
this.zza.zzr(i, (i2 + i2) ^ (i2 >> 31));
}
public final void zzC(int i, long j) throws IOException {
this.zza.zzt(i, (j + j) ^ (j >> 63));
}
@Deprecated
public final void zzE(int i) throws IOException {
this.zza.zzq(i, 3);
}
public final void zzF(int i, String str) throws IOException {
this.zza.zzo(i, str);
}
public final void zzG(int i, List list) throws IOException {
int i2 = 0;
if (!(list instanceof zzads)) {
while (i2 < list.size()) {
this.zza.zzo(i, (String) list.get(i2));
i2++;
}
return;
}
zzads zzadsVar = (zzads) list;
while (i2 < list.size()) {
Object zzf = zzadsVar.zzf(i2);
if (zzf instanceof String) {
this.zza.zzo(i, (String) zzf);
} else {
this.zza.zzQ(i, (zzacc) zzf);
}
i2++;
}
}
public final void zzH(int i, int i2) throws IOException {
this.zza.zzr(i, i2);
}
public final void zzJ(int i, long j) throws IOException {
this.zza.zzt(i, j);
}
public final void zzb(int i, boolean z) throws IOException {
this.zza.zzP(i, z);
}
public final void zzd(int i, zzacc zzaccVar) throws IOException {
this.zza.zzQ(i, zzaccVar);
}
public final void zze(int i, List list) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
this.zza.zzQ(i, (zzacc) list.get(i2));
}
}
public final void zzf(int i, double d) throws IOException {
this.zza.zzj(i, Double.doubleToRawLongBits(d));
}
@Deprecated
public final void zzh(int i) throws IOException {
this.zza.zzq(i, 4);
}
public final void zzi(int i, int i2) throws IOException {
this.zza.zzl(i, i2);
}
public final void zzk(int i, int i2) throws IOException {
this.zza.zzh(i, i2);
}
public final void zzm(int i, long j) throws IOException {
this.zza.zzj(i, j);
}
public final void zzo(int i, float f) throws IOException {
this.zza.zzh(i, Float.floatToRawIntBits(f));
}
public final void zzq(int i, Object obj, zzaew zzaewVar) throws IOException {
zzacn zzacnVar = this.zza;
zzacnVar.zzq(i, 3);
zzaewVar.zzn((zzaek) obj, zzacnVar.zze);
zzacnVar.zzq(i, 4);
}
public final void zzr(int i, int i2) throws IOException {
this.zza.zzl(i, i2);
}
public final void zzt(int i, long j) throws IOException {
this.zza.zzt(i, j);
}
public final void zzv(int i, Object obj, zzaew zzaewVar) throws IOException {
this.zza.zzn(i, (zzaek) obj, zzaewVar);
}
public final void zzw(int i, int i2) throws IOException {
this.zza.zzh(i, i2);
}
public final void zzy(int i, long j) throws IOException {
this.zza.zzj(i, j);
}
public final void zzB(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
zzacn zzacnVar = this.zza;
int intValue = ((Integer) list.get(i2)).intValue();
zzacnVar.zzr(i, (intValue + intValue) ^ (intValue >> 31));
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
int intValue2 = ((Integer) list.get(i4)).intValue();
i3 += zzacn.zzE((intValue2 + intValue2) ^ (intValue2 >> 31));
}
this.zza.zzs(i3);
while (i2 < list.size()) {
zzacn zzacnVar2 = this.zza;
int intValue3 = ((Integer) list.get(i2)).intValue();
zzacnVar2.zzs((intValue3 + intValue3) ^ (intValue3 >> 31));
i2++;
}
}
public final void zzD(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
zzacn zzacnVar = this.zza;
long longValue = ((Long) list.get(i2)).longValue();
zzacnVar.zzt(i, (longValue + longValue) ^ (longValue >> 63));
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
long longValue2 = ((Long) list.get(i4)).longValue();
i3 += zzacn.zzF((longValue2 + longValue2) ^ (longValue2 >> 63));
}
this.zza.zzs(i3);
while (i2 < list.size()) {
zzacn zzacnVar2 = this.zza;
long longValue3 = ((Long) list.get(i2)).longValue();
zzacnVar2.zzu((longValue3 + longValue3) ^ (longValue3 >> 63));
i2++;
}
}
public final void zzI(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzr(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzacn.zzE(((Integer) list.get(i4)).intValue());
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzs(((Integer) list.get(i2)).intValue());
i2++;
}
}
public final void zzK(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzt(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzacn.zzF(((Long) list.get(i4)).longValue());
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzu(((Long) list.get(i2)).longValue());
i2++;
}
}
public final void zzc(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzP(i, ((Boolean) list.get(i2)).booleanValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Boolean) list.get(i4)).booleanValue();
i3++;
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzO(((Boolean) list.get(i2)).booleanValue() ? (byte) 1 : (byte) 0);
i2++;
}
}
public final void zzj(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzl(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzacn.zzy(((Integer) list.get(i4)).intValue());
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzm(((Integer) list.get(i2)).intValue());
i2++;
}
}
public final void zzl(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzh(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Integer) list.get(i4)).intValue();
i3 += 4;
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzi(((Integer) list.get(i2)).intValue());
i2++;
}
}
public final void zzn(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzj(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Long) list.get(i4)).longValue();
i3 += 8;
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzk(((Long) list.get(i2)).longValue());
i2++;
}
}
public final void zzs(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzl(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzacn.zzy(((Integer) list.get(i4)).intValue());
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzm(((Integer) list.get(i2)).intValue());
i2++;
}
}
public final void zzu(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzt(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzacn.zzF(((Long) list.get(i4)).longValue());
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzu(((Long) list.get(i2)).longValue());
i2++;
}
}
public final void zzx(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzh(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Integer) list.get(i4)).intValue();
i3 += 4;
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzi(((Integer) list.get(i2)).intValue());
i2++;
}
}
public final void zzz(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzj(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Long) list.get(i4)).longValue();
i3 += 8;
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzk(((Long) list.get(i2)).longValue());
i2++;
}
}
public final void zzg(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzj(i, Double.doubleToRawLongBits(((Double) list.get(i2)).doubleValue()));
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Double) list.get(i4)).doubleValue();
i3 += 8;
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzk(Double.doubleToRawLongBits(((Double) list.get(i2)).doubleValue()));
i2++;
}
}
public final void zzp(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzh(i, Float.floatToRawIntBits(((Float) list.get(i2)).floatValue()));
i2++;
}
return;
}
this.zza.zzq(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Float) list.get(i4)).floatValue();
i3 += 4;
}
this.zza.zzs(i3);
while (i2 < list.size()) {
this.zza.zzi(Float.floatToRawIntBits(((Float) list.get(i2)).floatValue()));
i2++;
}
}
}