Add Discord community version (64-bit only)

- 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
This commit is contained in:
2026-02-18 15:48:36 -08:00
parent c19eb3d7ff
commit c080f0d97f
26930 changed files with 2529574 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
enum zza {
RESPONSE_CODE_UNSPECIFIED(-999),
SERVICE_TIMEOUT(-3),
FEATURE_NOT_SUPPORTED(-2),
SERVICE_DISCONNECTED(-1),
OK(0),
USER_CANCELED(1),
SERVICE_UNAVAILABLE(2),
BILLING_UNAVAILABLE(3),
ITEM_UNAVAILABLE(4),
DEVELOPER_ERROR(5),
ERROR(6),
ITEM_ALREADY_OWNED(7),
ITEM_NOT_OWNED(8),
EXPIRED_OFFER_TOKEN(11),
NETWORK_ERROR(12);
private static final zzx zzp;
private final int zzr;
static {
zzw zzwVar = new zzw();
for (zza zzaVar : values()) {
zzwVar.zza(Integer.valueOf(zzaVar.zzr), zzaVar);
}
zzp = zzwVar.zzb();
}
zza(int i) {
this.zzr = i;
}
public static zza zza(int i) {
zzx zzxVar = zzp;
Integer valueOf = Integer.valueOf(i);
return !zzxVar.containsKey(valueOf) ? RESPONSE_CODE_UNSPECIFIED : (zza) zzxVar.get(valueOf);
}
}

View File

@@ -0,0 +1,52 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzaa extends zzu {
static final zzu zza = new zzaa(new Object[0], 0);
final transient Object[] zzb;
private final transient int zzc;
public zzaa(Object[] objArr, int i) {
this.zzb = objArr;
this.zzc = i;
}
@Override // java.util.List
public final Object get(int i) {
zzm.zza(i, this.zzc, "index");
Object obj = this.zzb[i];
obj.getClass();
return obj;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzu, com.google.android.gms.internal.play_billing.zzr
public final int zza(Object[] objArr, int i) {
System.arraycopy(this.zzb, 0, objArr, 0, this.zzc);
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final int zzb() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final int zzc() {
return 0;
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final boolean zzf() {
return false;
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final Object[] zzg() {
return this.zzb;
}
}

View File

@@ -0,0 +1,42 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractMap;
/* loaded from: classes3.dex */
final class zzab extends zzu {
final /* synthetic */ zzac zza;
public zzab(zzac zzacVar) {
this.zza = zzacVar;
}
@Override // java.util.List
public final /* bridge */ /* synthetic */ Object get(int i) {
int i2;
Object[] objArr;
Object[] objArr2;
i2 = this.zza.zzc;
zzm.zza(i, i2, "index");
zzac zzacVar = this.zza;
objArr = zzacVar.zzb;
int i3 = i + i;
Object obj = objArr[i3];
obj.getClass();
objArr2 = zzacVar.zzb;
Object obj2 = objArr2[i3 + 1];
obj2.getClass();
return new AbstractMap.SimpleImmutableEntry(obj, obj2);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
int i;
i = this.zza.zzc;
return i;
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final boolean zzf() {
return true;
}
}

View File

@@ -0,0 +1,61 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
import java.util.Map;
/* loaded from: classes3.dex */
final class zzac extends zzy {
private final transient zzx zza;
private final transient Object[] zzb;
private final transient int zzc;
public zzac(zzx zzxVar, Object[] objArr, int i, int i2) {
this.zza = zzxVar;
this.zzb = objArr;
this.zzc = i2;
}
@Override // com.google.android.gms.internal.play_billing.zzr, java.util.AbstractCollection, java.util.Collection, java.util.Set
public final boolean contains(Object obj) {
if (obj instanceof Map.Entry) {
Map.Entry entry = (Map.Entry) obj;
Object key = entry.getKey();
Object value = entry.getValue();
if (value != null && value.equals(this.zza.get(key))) {
return true;
}
}
return false;
}
@Override // com.google.android.gms.internal.play_billing.zzy, com.google.android.gms.internal.play_billing.zzr, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set
public final /* synthetic */ Iterator iterator() {
return zzd().listIterator(0);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final int zza(Object[] objArr, int i) {
return zzd().zza(objArr, 0);
}
@Override // com.google.android.gms.internal.play_billing.zzy, com.google.android.gms.internal.play_billing.zzr
/* renamed from: zze */
public final zzah iterator() {
return zzd().listIterator(0);
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final boolean zzf() {
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzy
public final zzu zzh() {
return new zzab(this);
}
}

View File

@@ -0,0 +1,50 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
/* loaded from: classes3.dex */
final class zzad extends zzy {
private final transient zzx zza;
private final transient zzu zzb;
public zzad(zzx zzxVar, zzu zzuVar) {
this.zza = zzxVar;
this.zzb = zzuVar;
}
@Override // com.google.android.gms.internal.play_billing.zzr, java.util.AbstractCollection, java.util.Collection, java.util.Set
public final boolean contains(Object obj) {
return this.zza.get(obj) != null;
}
@Override // com.google.android.gms.internal.play_billing.zzy, com.google.android.gms.internal.play_billing.zzr, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set
public final /* synthetic */ Iterator iterator() {
return this.zzb.listIterator(0);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
public final int size() {
return this.zza.size();
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final int zza(Object[] objArr, int i) {
return this.zzb.zza(objArr, 0);
}
@Override // com.google.android.gms.internal.play_billing.zzy, com.google.android.gms.internal.play_billing.zzr
public final zzu zzd() {
return this.zzb;
}
@Override // com.google.android.gms.internal.play_billing.zzy, com.google.android.gms.internal.play_billing.zzr
/* renamed from: zze */
public final zzah iterator() {
return this.zzb.listIterator(0);
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final boolean zzf() {
throw null;
}
}

View File

@@ -0,0 +1,32 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzae extends zzu {
private final transient Object[] zza;
private final transient int zzb;
private final transient int zzc;
public zzae(Object[] objArr, int i, int i2) {
this.zza = objArr;
this.zzb = i;
this.zzc = i2;
}
@Override // java.util.List
public final Object get(int i) {
zzm.zza(i, this.zzc, "index");
Object obj = this.zza[i + i + this.zzb];
obj.getClass();
return obj;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzr
public final boolean zzf() {
return true;
}
}

View File

@@ -0,0 +1,336 @@
package com.google.android.gms.internal.play_billing;
import java.util.Arrays;
/* loaded from: classes3.dex */
final class zzaf extends zzx {
static final zzx zza = new zzaf(null, new Object[0], 0);
final transient Object[] zzb;
private final transient Object zzc;
private final transient int zzd;
private zzaf(Object obj, Object[] objArr, int i) {
this.zzc = obj;
this.zzb = objArr;
this.zzd = i;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r14v8 */
/* JADX WARN: Type inference failed for: r15v0 */
/* JADX WARN: Type inference failed for: r7v3, types: [int[], java.lang.Object] */
/* JADX WARN: Type inference failed for: r7v5 */
public static zzaf zzf(int i, Object[] objArr, zzw zzwVar) {
int i2;
byte[] bArr;
int i3 = i;
Object[] objArr2 = objArr;
if (i3 == 0) {
return (zzaf) zza;
}
Object obj = null;
if (i3 == 1) {
Object obj2 = objArr2[0];
obj2.getClass();
Object obj3 = objArr2[1];
obj3.getClass();
zzp.zza(obj2, obj3);
return new zzaf(null, objArr2, 1);
}
zzm.zzb(i3, objArr2.length >> 1, "index");
int max = Math.max(i3, 2);
if (max < 751619276) {
i2 = Integer.highestOneBit(max - 1);
do {
i2 += i2;
} while (i2 * 0.7d < max);
} else {
i2 = 1073741824;
if (max >= 1073741824) {
throw new IllegalArgumentException("collection too large");
}
}
if (i3 == 1) {
Object obj4 = objArr2[0];
obj4.getClass();
Object obj5 = objArr2[1];
obj5.getClass();
zzp.zza(obj4, obj5);
} else {
int i4 = i2 - 1;
char c = 65535;
if (i2 <= 128) {
bArr = new byte[i2];
Arrays.fill(bArr, (byte) -1);
int i5 = 0;
for (int i6 = 0; i6 < i3; i6++) {
int i7 = i5 + i5;
int i8 = i6 + i6;
Object obj6 = objArr2[i8];
obj6.getClass();
Object obj7 = objArr2[i8 ^ 1];
obj7.getClass();
zzp.zza(obj6, obj7);
int zza2 = zzq.zza(obj6.hashCode());
while (true) {
int i9 = zza2 & i4;
int i10 = bArr[i9] & 255;
if (i10 == 255) {
bArr[i9] = (byte) i7;
if (i5 < i6) {
objArr2[i7] = obj6;
objArr2[i7 ^ 1] = obj7;
}
i5++;
} else {
if (obj6.equals(objArr2[i10])) {
int i11 = i10 ^ 1;
Object obj8 = objArr2[i11];
obj8.getClass();
zzv zzvVar = new zzv(obj6, obj7, obj8);
objArr2[i11] = obj7;
obj = zzvVar;
break;
}
zza2 = i9 + 1;
}
}
}
if (i5 != i3) {
obj = new Object[]{bArr, Integer.valueOf(i5), obj};
}
obj = bArr;
} else if (i2 <= 32768) {
bArr = new short[i2];
Arrays.fill(bArr, (short) -1);
int i12 = 0;
for (int i13 = 0; i13 < i3; i13++) {
int i14 = i12 + i12;
int i15 = i13 + i13;
Object obj9 = objArr2[i15];
obj9.getClass();
Object obj10 = objArr2[i15 ^ 1];
obj10.getClass();
zzp.zza(obj9, obj10);
int zza3 = zzq.zza(obj9.hashCode());
while (true) {
int i16 = zza3 & i4;
char c2 = (char) bArr[i16];
if (c2 == 65535) {
bArr[i16] = (short) i14;
if (i12 < i13) {
objArr2[i14] = obj9;
objArr2[i14 ^ 1] = obj10;
}
i12++;
} else {
if (obj9.equals(objArr2[c2])) {
int i17 = c2 ^ 1;
Object obj11 = objArr2[i17];
obj11.getClass();
zzv zzvVar2 = new zzv(obj9, obj10, obj11);
objArr2[i17] = obj10;
obj = zzvVar2;
break;
}
zza3 = i16 + 1;
}
}
}
if (i12 != i3) {
obj = new Object[]{bArr, Integer.valueOf(i12), obj};
}
obj = bArr;
} else {
bArr = new int[i2];
Arrays.fill((int[]) bArr, -1);
int i18 = 0;
int i19 = 0;
while (i18 < i3) {
int i20 = i19 + i19;
int i21 = i18 + i18;
Object obj12 = objArr2[i21];
obj12.getClass();
Object obj13 = objArr2[i21 ^ 1];
obj13.getClass();
zzp.zza(obj12, obj13);
int zza4 = zzq.zza(obj12.hashCode());
while (true) {
int i22 = zza4 & i4;
?? r15 = bArr[i22];
if (r15 == c) {
bArr[i22] = i20;
if (i19 < i18) {
objArr2[i20] = obj12;
objArr2[i20 ^ 1] = obj13;
}
i19++;
} else {
if (obj12.equals(objArr2[r15])) {
int i23 = r15 ^ 1;
Object obj14 = objArr2[i23];
obj14.getClass();
zzv zzvVar3 = new zzv(obj12, obj13, obj14);
objArr2[i23] = obj13;
obj = zzvVar3;
break;
}
zza4 = i22 + 1;
c = 65535;
}
}
i18++;
c = 65535;
}
if (i19 != i3) {
obj = new Object[]{bArr, Integer.valueOf(i19), obj};
}
obj = bArr;
}
}
if (obj instanceof Object[]) {
Object[] objArr3 = (Object[]) obj;
zzwVar.zzc = (zzv) objArr3[2];
Object obj15 = objArr3[0];
int intValue = ((Integer) objArr3[1]).intValue();
objArr2 = Arrays.copyOf(objArr2, intValue + intValue);
obj = obj15;
i3 = intValue;
}
return new zzaf(obj, objArr2, i3);
}
/* JADX WARN: Removed duplicated region for block: B:5:0x009e A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:7:0x009f A[RETURN] */
@Override // com.google.android.gms.internal.play_billing.zzx, java.util.Map
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.Object get(java.lang.Object r10) {
/*
r9 = this;
java.lang.Object r0 = r9.zzc
java.lang.Object[] r1 = r9.zzb
int r2 = r9.zzd
r3 = 0
if (r10 != 0) goto Lc
L9:
r10 = r3
goto L9c
Lc:
r4 = 1
if (r2 != r4) goto L22
r0 = 0
r0 = r1[r0]
r0.getClass()
boolean r10 = r0.equals(r10)
if (r10 == 0) goto L9
r10 = r1[r4]
r10.getClass()
goto L9c
L22:
if (r0 != 0) goto L25
goto L9
L25:
boolean r2 = r0 instanceof byte[]
r5 = -1
if (r2 == 0) goto L51
r2 = r0
byte[] r2 = (byte[]) r2
int r0 = r2.length
int r6 = r0 + (-1)
int r0 = r10.hashCode()
int r0 = com.google.android.gms.internal.play_billing.zzq.zza(r0)
L38:
r0 = r0 & r6
r5 = r2[r0]
r7 = 255(0xff, float:3.57E-43)
r5 = r5 & r7
if (r5 != r7) goto L41
goto L9
L41:
r7 = r1[r5]
boolean r7 = r10.equals(r7)
if (r7 == 0) goto L4e
r10 = r5 ^ 1
r10 = r1[r10]
goto L9c
L4e:
int r0 = r0 + 1
goto L38
L51:
boolean r2 = r0 instanceof short[]
if (r2 == 0) goto L7d
r2 = r0
short[] r2 = (short[]) r2
int r0 = r2.length
int r6 = r0 + (-1)
int r0 = r10.hashCode()
int r0 = com.google.android.gms.internal.play_billing.zzq.zza(r0)
L63:
r0 = r0 & r6
short r5 = r2[r0]
char r5 = (char) r5
r7 = 65535(0xffff, float:9.1834E-41)
if (r5 != r7) goto L6d
goto L9
L6d:
r7 = r1[r5]
boolean r7 = r10.equals(r7)
if (r7 == 0) goto L7a
r10 = r5 ^ 1
r10 = r1[r10]
goto L9c
L7a:
int r0 = r0 + 1
goto L63
L7d:
int[] r0 = (int[]) r0
int r2 = r0.length
int r2 = r2 + r5
int r6 = r10.hashCode()
int r6 = com.google.android.gms.internal.play_billing.zzq.zza(r6)
L89:
r6 = r6 & r2
r7 = r0[r6]
if (r7 != r5) goto L90
goto L9
L90:
r8 = r1[r7]
boolean r8 = r10.equals(r8)
if (r8 == 0) goto La0
r10 = r7 ^ 1
r10 = r1[r10]
L9c:
if (r10 != 0) goto L9f
return r3
L9f:
return r10
La0:
int r6 = r6 + 1
goto L89
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.play_billing.zzaf.get(java.lang.Object):java.lang.Object");
}
@Override // java.util.Map
public final int size() {
return this.zzd;
}
@Override // com.google.android.gms.internal.play_billing.zzx
public final zzr zza() {
return new zzae(this.zzb, 1, this.zzd);
}
@Override // com.google.android.gms.internal.play_billing.zzx
public final zzy zzc() {
return new zzac(this, this.zzb, 0, this.zzd);
}
@Override // com.google.android.gms.internal.play_billing.zzx
public final zzy zzd() {
return new zzad(this, new zzae(this.zzb, 0, this.zzd));
}
}

View File

@@ -0,0 +1,17 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
import java.util.Set;
/* loaded from: classes3.dex */
public final class zzag {
public static int zza(Set set) {
Iterator it = set.iterator();
int i = 0;
while (it.hasNext()) {
Object next = it.next();
i += next != null ? next.hashCode() : 0;
}
return i;
}
}

View File

@@ -0,0 +1,12 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
/* loaded from: classes3.dex */
public abstract class zzah implements Iterator {
@Override // java.util.Iterator
@Deprecated
public final void remove() {
throw new UnsupportedOperationException();
}
}

View File

@@ -0,0 +1,18 @@
package com.google.android.gms.internal.play_billing;
import java.util.ListIterator;
/* loaded from: classes3.dex */
public abstract class zzai extends zzah implements ListIterator {
@Override // java.util.ListIterator
@Deprecated
public final void add(Object obj) {
throw new UnsupportedOperationException();
}
@Override // java.util.ListIterator
@Deprecated
public final void set(Object obj) {
throw new UnsupportedOperationException();
}
}

View File

@@ -0,0 +1,11 @@
package com.google.android.gms.internal.play_billing;
import com.google.android.gms.internal.play_billing.zzaj;
import com.google.android.gms.internal.play_billing.zzak;
/* loaded from: classes3.dex */
public abstract class zzaj<MessageType extends zzak<MessageType, BuilderType>, BuilderType extends zzaj<MessageType, BuilderType>> implements zzde {
@Override //
/* renamed from: zza, reason: merged with bridge method [inline-methods] */
public abstract zzaj clone();
}

View File

@@ -0,0 +1,42 @@
package com.google.android.gms.internal.play_billing;
import com.google.android.gms.internal.play_billing.zzaj;
import com.google.android.gms.internal.play_billing.zzak;
import java.io.IOException;
/* loaded from: classes3.dex */
public abstract class zzak<MessageType extends zzak<MessageType, BuilderType>, BuilderType extends zzaj<MessageType, BuilderType>> implements zzdf {
protected int zza = 0;
public int zza(zzdp zzdpVar) {
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzdf
public final zzba zzb() {
try {
int zze = zze();
zzba zzbaVar = zzba.zzb;
byte[] bArr = new byte[zze];
zzbi zzz = zzbi.zzz(bArr, 0, zze);
zzr(zzz);
zzz.zzA();
return new zzax(bArr);
} catch (IOException e) {
throw new RuntimeException("Serializing " + getClass().getName() + " to a ByteString threw an IOException (should never happen).", e);
}
}
public final byte[] zzc() {
try {
int zze = zze();
byte[] bArr = new byte[zze];
zzbi zzz = zzbi.zzz(bArr, 0, zze);
zzr(zzz);
zzz.zzA();
return bArr;
} catch (IOException e) {
throw new RuntimeException("Serializing " + getClass().getName() + " to a byte array threw an IOException (should never happen).", e);
}
}
}

View File

@@ -0,0 +1,132 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractList;
import java.util.Collection;
import java.util.List;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
abstract class zzal extends AbstractList implements zzcf {
private boolean zza;
public zzal(boolean z) {
this.zza = z;
}
@Override // java.util.AbstractList, java.util.List
public void add(int i, Object obj) {
zza();
super.add(i, obj);
}
@Override // java.util.AbstractList, java.util.List
public boolean addAll(int i, Collection collection) {
zza();
return super.addAll(i, collection);
}
@Override // java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public void clear() {
zza();
super.clear();
}
@Override // java.util.AbstractList, java.util.Collection, java.util.List
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof List)) {
return false;
}
if (!(obj instanceof RandomAccess)) {
return super.equals(obj);
}
List list = (List) obj;
int size = size();
if (size != list.size()) {
return false;
}
for (int i = 0; i < size; i++) {
if (!get(i).equals(list.get(i))) {
return false;
}
}
return true;
}
@Override // java.util.AbstractList, java.util.Collection, java.util.List
public int hashCode() {
int size = size();
int i = 1;
for (int i2 = 0; i2 < size; i2++) {
i = (i * 31) + get(i2).hashCode();
}
return i;
}
@Override // java.util.AbstractList, java.util.List
public Object remove(int i) {
zza();
return super.remove(i);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean removeAll(Collection collection) {
zza();
return super.removeAll(collection);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean retainAll(Collection collection) {
zza();
return super.retainAll(collection);
}
@Override // java.util.AbstractList, java.util.List
public Object set(int i, Object obj) {
zza();
return super.set(i, obj);
}
public final void zza() {
if (!this.zza) {
throw new UnsupportedOperationException();
}
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final void zzb() {
if (this.zza) {
this.zza = false;
}
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final boolean zzc() {
return this.zza;
}
@Override // java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public boolean add(Object obj) {
zza();
return super.add(obj);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public boolean addAll(Collection collection) {
zza();
return super.addAll(collection);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean remove(Object obj) {
zza();
int indexOf = indexOf(obj);
if (indexOf == -1) {
return false;
}
remove(indexOf);
return true;
}
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzam {
public static final /* synthetic */ int zza = 0;
}

View File

@@ -0,0 +1,19 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzan {
public int zza;
public long zzb;
public Object zzc;
public final zzbn zzd;
public zzan() {
int i = zzbn.zzb;
throw null;
}
public zzan(zzbn zzbnVar) {
zzbnVar.getClass();
this.zzd = zzbnVar;
}
}

View File

@@ -0,0 +1,339 @@
package com.google.android.gms.internal.play_billing;
import com.applovin.exoplayer2.common.base.Ascii;
import java.io.IOException;
/* loaded from: classes3.dex */
final class zzao {
public static int zza(byte[] bArr, int i, zzan zzanVar) throws zzci {
int zzj = zzj(bArr, i, zzanVar);
int i2 = zzanVar.zza;
if (i2 < 0) {
throw zzci.zzd();
}
if (i2 > bArr.length - zzj) {
throw zzci.zzg();
}
if (i2 == 0) {
zzanVar.zzc = zzba.zzb;
return zzj;
}
zzanVar.zzc = zzba.zzl(bArr, zzj, i2);
return zzj + i2;
}
public static int zzb(byte[] bArr, int i) {
int i2 = bArr[i] & 255;
int i3 = bArr[i + 1] & 255;
int i4 = bArr[i + 2] & 255;
return ((bArr[i + 3] & 255) << 24) | (i3 << 8) | i2 | (i4 << 16);
}
public static int zzc(zzdp zzdpVar, byte[] bArr, int i, int i2, int i3, zzan zzanVar) throws IOException {
Object zze = zzdpVar.zze();
int zzn = zzn(zze, zzdpVar, bArr, i, i2, i3, zzanVar);
zzdpVar.zzf(zze);
zzanVar.zzc = zze;
return zzn;
}
public static int zzd(zzdp zzdpVar, byte[] bArr, int i, int i2, zzan zzanVar) throws IOException {
Object zze = zzdpVar.zze();
int zzo = zzo(zze, zzdpVar, bArr, i, i2, zzanVar);
zzdpVar.zzf(zze);
zzanVar.zzc = zze;
return zzo;
}
public static int zze(zzdp zzdpVar, int i, byte[] bArr, int i2, int i3, zzcf zzcfVar, zzan zzanVar) throws IOException {
int zzd = zzd(zzdpVar, bArr, i2, i3, zzanVar);
zzcfVar.add(zzanVar.zzc);
while (zzd < i3) {
int zzj = zzj(bArr, zzd, zzanVar);
if (i != zzanVar.zza) {
break;
}
zzd = zzd(zzdpVar, bArr, zzj, i3, zzanVar);
zzcfVar.add(zzanVar.zzc);
}
return zzd;
}
public static int zzf(byte[] bArr, int i, zzcf zzcfVar, zzan zzanVar) throws IOException {
zzcc zzccVar = (zzcc) zzcfVar;
int zzj = zzj(bArr, i, zzanVar);
int i2 = zzanVar.zza + zzj;
while (zzj < i2) {
zzj = zzj(bArr, zzj, zzanVar);
zzccVar.zzf(zzanVar.zza);
}
if (zzj == i2) {
return zzj;
}
throw zzci.zzg();
}
public static int zzg(byte[] bArr, int i, zzan zzanVar) throws zzci {
int zzj = zzj(bArr, i, zzanVar);
int i2 = zzanVar.zza;
if (i2 < 0) {
throw zzci.zzd();
}
if (i2 == 0) {
zzanVar.zzc = "";
return zzj;
}
zzanVar.zzc = new String(bArr, zzj, i2, zzcg.zzb);
return zzj + i2;
}
public static int zzh(byte[] bArr, int i, zzan zzanVar) throws zzci {
int zzj = zzj(bArr, i, zzanVar);
int i2 = zzanVar.zza;
if (i2 < 0) {
throw zzci.zzd();
}
if (i2 == 0) {
zzanVar.zzc = "";
return zzj;
}
int i3 = zzev.zza;
int length = bArr.length;
if ((((length - zzj) - i2) | zzj | i2) < 0) {
throw new ArrayIndexOutOfBoundsException(String.format("buffer length=%d, index=%d, size=%d", Integer.valueOf(length), Integer.valueOf(zzj), Integer.valueOf(i2)));
}
int i4 = zzj + i2;
char[] cArr = new char[i2];
int i5 = 0;
while (zzj < i4) {
byte b = bArr[zzj];
if (!zzer.zzd(b)) {
break;
}
zzj++;
cArr[i5] = (char) b;
i5++;
}
int i6 = i5;
while (zzj < i4) {
int i7 = zzj + 1;
byte b2 = bArr[zzj];
if (zzer.zzd(b2)) {
cArr[i6] = (char) b2;
i6++;
zzj = i7;
while (zzj < i4) {
byte b3 = bArr[zzj];
if (zzer.zzd(b3)) {
zzj++;
cArr[i6] = (char) b3;
i6++;
}
}
} else if (b2 < -32) {
if (i7 >= i4) {
throw zzci.zzc();
}
zzj += 2;
zzer.zzc(b2, bArr[i7], cArr, i6);
i6++;
} else if (b2 < -16) {
if (i7 >= i4 - 1) {
throw zzci.zzc();
}
int i8 = zzj + 2;
zzj += 3;
zzer.zzb(b2, bArr[i7], bArr[i8], cArr, i6);
i6++;
} else {
if (i7 >= i4 - 2) {
throw zzci.zzc();
}
byte b4 = bArr[i7];
int i9 = zzj + 3;
byte b5 = bArr[zzj + 2];
zzj += 4;
zzer.zza(b2, b4, b5, bArr[i9], cArr, i6);
i6 += 2;
}
}
zzanVar.zzc = new String(cArr, 0, i6);
return i4;
}
public static int zzi(int i, byte[] bArr, int i2, int i3, zzeh zzehVar, zzan zzanVar) throws zzci {
if ((i >>> 3) == 0) {
throw zzci.zzb();
}
int i4 = i & 7;
if (i4 == 0) {
int zzm = zzm(bArr, i2, zzanVar);
zzehVar.zzj(i, Long.valueOf(zzanVar.zzb));
return zzm;
}
if (i4 == 1) {
zzehVar.zzj(i, Long.valueOf(zzp(bArr, i2)));
return i2 + 8;
}
if (i4 == 2) {
int zzj = zzj(bArr, i2, zzanVar);
int i5 = zzanVar.zza;
if (i5 < 0) {
throw zzci.zzd();
}
if (i5 > bArr.length - zzj) {
throw zzci.zzg();
}
if (i5 == 0) {
zzehVar.zzj(i, zzba.zzb);
} else {
zzehVar.zzj(i, zzba.zzl(bArr, zzj, i5));
}
return zzj + i5;
}
if (i4 != 3) {
if (i4 != 5) {
throw zzci.zzb();
}
zzehVar.zzj(i, Integer.valueOf(zzb(bArr, i2)));
return i2 + 4;
}
int i6 = (i & (-8)) | 4;
zzeh zzf = zzeh.zzf();
int i7 = 0;
while (true) {
if (i2 >= i3) {
break;
}
int zzj2 = zzj(bArr, i2, zzanVar);
int i8 = zzanVar.zza;
i7 = i8;
if (i8 == i6) {
i2 = zzj2;
break;
}
int zzi = zzi(i7, bArr, zzj2, i3, zzf, zzanVar);
i7 = i8;
i2 = zzi;
}
if (i2 > i3 || i7 != i6) {
throw zzci.zze();
}
zzehVar.zzj(i, zzf);
return i2;
}
public static int zzj(byte[] bArr, int i, zzan zzanVar) {
int i2 = i + 1;
byte b = bArr[i];
if (b < 0) {
return zzk(b, bArr, i2, zzanVar);
}
zzanVar.zza = b;
return i2;
}
public static int zzk(int i, byte[] bArr, int i2, zzan zzanVar) {
byte b = bArr[i2];
int i3 = i2 + 1;
int i4 = i & 127;
if (b >= 0) {
zzanVar.zza = i4 | (b << 7);
return i3;
}
int i5 = i4 | ((b & Byte.MAX_VALUE) << 7);
int i6 = i2 + 2;
byte b2 = bArr[i3];
if (b2 >= 0) {
zzanVar.zza = i5 | (b2 << Ascii.SO);
return i6;
}
int i7 = i5 | ((b2 & Byte.MAX_VALUE) << 14);
int i8 = i2 + 3;
byte b3 = bArr[i6];
if (b3 >= 0) {
zzanVar.zza = i7 | (b3 << Ascii.NAK);
return i8;
}
int i9 = i7 | ((b3 & Byte.MAX_VALUE) << 21);
int i10 = i2 + 4;
byte b4 = bArr[i8];
if (b4 >= 0) {
zzanVar.zza = i9 | (b4 << Ascii.FS);
return i10;
}
int i11 = i9 | ((b4 & Byte.MAX_VALUE) << 28);
while (true) {
int i12 = i10 + 1;
if (bArr[i10] >= 0) {
zzanVar.zza = i11;
return i12;
}
i10 = i12;
}
}
public static int zzl(int i, byte[] bArr, int i2, int i3, zzcf zzcfVar, zzan zzanVar) {
zzcc zzccVar = (zzcc) zzcfVar;
int zzj = zzj(bArr, i2, zzanVar);
zzccVar.zzf(zzanVar.zza);
while (zzj < i3) {
int zzj2 = zzj(bArr, zzj, zzanVar);
if (i != zzanVar.zza) {
break;
}
zzj = zzj(bArr, zzj2, zzanVar);
zzccVar.zzf(zzanVar.zza);
}
return zzj;
}
public static int zzm(byte[] bArr, int i, zzan zzanVar) {
long j = bArr[i];
int i2 = i + 1;
if (j >= 0) {
zzanVar.zzb = j;
return i2;
}
int i3 = i + 2;
byte b = bArr[i2];
long j2 = (j & 127) | ((b & Byte.MAX_VALUE) << 7);
int i4 = 7;
while (b < 0) {
int i5 = i3 + 1;
i4 += 7;
j2 |= (r10 & Byte.MAX_VALUE) << i4;
b = bArr[i3];
i3 = i5;
}
zzanVar.zzb = j2;
return i3;
}
public static int zzn(Object obj, zzdp zzdpVar, byte[] bArr, int i, int i2, int i3, zzan zzanVar) throws IOException {
int zzc = ((zzdi) zzdpVar).zzc(obj, bArr, i, i2, i3, zzanVar);
zzanVar.zzc = obj;
return zzc;
}
public static int zzo(Object obj, zzdp zzdpVar, byte[] bArr, int i, int i2, zzan zzanVar) throws IOException {
int i3 = i + 1;
int i4 = bArr[i];
if (i4 < 0) {
i3 = zzk(i4, bArr, i3, zzanVar);
i4 = zzanVar.zza;
}
int i5 = i3;
if (i4 < 0 || i4 > i2 - i5) {
throw zzci.zzg();
}
int i6 = i4 + i5;
zzdpVar.zzh(obj, bArr, i5, i6, zzanVar);
zzanVar.zzc = obj;
return i6;
}
public static long zzp(byte[] bArr, int i) {
return (bArr[i] & 255) | ((bArr[i + 1] & 255) << 8) | ((bArr[i + 2] & 255) << 16) | ((bArr[i + 3] & 255) << 24) | ((bArr[i + 4] & 255) << 32) | ((bArr[i + 5] & 255) << 40) | ((bArr[i + 6] & 255) << 48) | ((bArr[i + 7] & 255) << 56);
}
}

View File

@@ -0,0 +1,210 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractList;
import java.util.Arrays;
import java.util.Collection;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
final class zzap extends zzal implements RandomAccess, zzcf, zzdm {
private static final zzap zza = new zzap(new boolean[0], 0, false);
private boolean[] zzb;
private int zzc;
public zzap() {
this(new boolean[10], 0, true);
}
private final String zzf(int i) {
return "Index:" + i + ", Size:" + this.zzc;
}
private final void zzg(int i) {
if (i < 0 || i >= this.zzc) {
throw new IndexOutOfBoundsException(zzf(i));
}
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* synthetic */ void add(int i, Object obj) {
int i2;
boolean booleanValue = ((Boolean) obj).booleanValue();
zza();
if (i < 0 || i > (i2 = this.zzc)) {
throw new IndexOutOfBoundsException(zzf(i));
}
boolean[] zArr = this.zzb;
if (i2 < zArr.length) {
System.arraycopy(zArr, i, zArr, i + 1, i2 - i);
} else {
boolean[] zArr2 = new boolean[((i2 * 3) / 2) + 1];
System.arraycopy(zArr, 0, zArr2, 0, i);
System.arraycopy(this.zzb, i, zArr2, i + 1, this.zzc - i);
this.zzb = zArr2;
}
this.zzb[i] = booleanValue;
this.zzc++;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean addAll(Collection collection) {
zza();
byte[] bArr = zzcg.zzd;
collection.getClass();
if (!(collection instanceof zzap)) {
return super.addAll(collection);
}
zzap zzapVar = (zzap) collection;
int i = zzapVar.zzc;
if (i == 0) {
return false;
}
int i2 = this.zzc;
if (Integer.MAX_VALUE - i2 < i) {
throw new OutOfMemoryError();
}
int i3 = i2 + i;
boolean[] zArr = this.zzb;
if (i3 > zArr.length) {
this.zzb = Arrays.copyOf(zArr, i3);
}
System.arraycopy(zzapVar.zzb, 0, this.zzb, this.zzc, zzapVar.zzc);
this.zzc = i3;
((AbstractList) this).modCount++;
return true;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean contains(Object obj) {
return indexOf(obj) != -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzap)) {
return super.equals(obj);
}
zzap zzapVar = (zzap) obj;
if (this.zzc != zzapVar.zzc) {
return false;
}
boolean[] zArr = zzapVar.zzb;
for (int i = 0; i < this.zzc; i++) {
if (this.zzb[i] != zArr[i]) {
return false;
}
}
return true;
}
@Override // java.util.AbstractList, java.util.List
public final /* synthetic */ Object get(int i) {
zzg(i);
return Boolean.valueOf(this.zzb[i]);
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final int hashCode() {
int i = 1;
for (int i2 = 0; i2 < this.zzc; i2++) {
i = (i * 31) + zzcg.zza(this.zzb[i2]);
}
return i;
}
@Override // java.util.AbstractList, java.util.List
public final int indexOf(Object obj) {
if (!(obj instanceof Boolean)) {
return -1;
}
boolean booleanValue = ((Boolean) obj).booleanValue();
int i = this.zzc;
for (int i2 = 0; i2 < i; i2++) {
if (this.zzb[i2] == booleanValue) {
return i2;
}
}
return -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object remove(int i) {
zza();
zzg(i);
boolean[] zArr = this.zzb;
boolean z = zArr[i];
if (i < this.zzc - 1) {
System.arraycopy(zArr, i + 1, zArr, i, (r2 - i) - 1);
}
this.zzc--;
((AbstractList) this).modCount++;
return Boolean.valueOf(z);
}
@Override // java.util.AbstractList
public final void removeRange(int i, int i2) {
zza();
if (i2 < i) {
throw new IndexOutOfBoundsException("toIndex < fromIndex");
}
boolean[] zArr = this.zzb;
System.arraycopy(zArr, i2, zArr, i, this.zzc - i2);
this.zzc -= i2 - i;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object set(int i, Object obj) {
boolean booleanValue = ((Boolean) obj).booleanValue();
zza();
zzg(i);
boolean[] zArr = this.zzb;
boolean z = zArr[i];
zArr[i] = booleanValue;
return Boolean.valueOf(z);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final /* bridge */ /* synthetic */ zzcf zzd(int i) {
if (i >= this.zzc) {
return new zzap(Arrays.copyOf(this.zzb, i), this.zzc, true);
}
throw new IllegalArgumentException();
}
public final void zze(boolean z) {
zza();
int i = this.zzc;
boolean[] zArr = this.zzb;
if (i == zArr.length) {
boolean[] zArr2 = new boolean[((i * 3) / 2) + 1];
System.arraycopy(zArr, 0, zArr2, 0, i);
this.zzb = zArr2;
}
boolean[] zArr3 = this.zzb;
int i2 = this.zzc;
this.zzc = i2 + 1;
zArr3[i2] = z;
}
private zzap(boolean[] zArr, int i, boolean z) {
super(z);
this.zzb = zArr;
this.zzc = i;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ /* synthetic */ boolean add(Object obj) {
zze(((Boolean) obj).booleanValue());
return true;
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public class zzaq {
}

View File

@@ -0,0 +1,30 @@
package com.google.android.gms.internal.play_billing;
import java.util.NoSuchElementException;
/* loaded from: classes3.dex */
final class zzar extends zzat {
final /* synthetic */ zzba zza;
private int zzb = 0;
private final int zzc;
public zzar(zzba zzbaVar) {
this.zza = zzbaVar;
this.zzc = zzbaVar.zzd();
}
@Override // java.util.Iterator
public final boolean hasNext() {
return this.zzb < this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzav
public final byte zza() {
int i = this.zzb;
if (i >= this.zzc) {
throw new NoSuchElementException();
}
this.zzb = i + 1;
return this.zza.zzb(i);
}
}

View File

@@ -0,0 +1,21 @@
package com.google.android.gms.internal.play_billing;
import java.util.Comparator;
/* loaded from: classes3.dex */
final class zzas implements Comparator {
@Override // java.util.Comparator
public final /* synthetic */ int compare(Object obj, Object obj2) {
zzba zzbaVar = (zzba) obj;
zzba zzbaVar2 = (zzba) obj2;
zzar zzarVar = new zzar(zzbaVar);
zzar zzarVar2 = new zzar(zzbaVar2);
while (zzarVar.hasNext() && zzarVar2.hasNext()) {
int compareTo = Integer.valueOf(zzarVar.zza() & 255).compareTo(Integer.valueOf(zzarVar2.zza() & 255));
if (compareTo != 0) {
return compareTo;
}
}
return Integer.valueOf(zzbaVar.zzd()).compareTo(Integer.valueOf(zzbaVar2.zzd()));
}
}

View File

@@ -0,0 +1,14 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
abstract class zzat implements zzav {
@Override // java.util.Iterator
public final /* synthetic */ Object next() {
return Byte.valueOf(zza());
}
@Override // java.util.Iterator
public final void remove() {
throw new UnsupportedOperationException();
}
}

View File

@@ -0,0 +1,39 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzau extends zzax {
private final int zzc;
public zzau(byte[] bArr, int i, int i2) {
super(bArr);
zzba.zzj(0, i2, bArr.length);
this.zzc = i2;
}
@Override // com.google.android.gms.internal.play_billing.zzax, com.google.android.gms.internal.play_billing.zzba
public final byte zzb(int i) {
return this.zza[i];
}
@Override // com.google.android.gms.internal.play_billing.zzax
public final int zzc() {
return 0;
}
@Override // com.google.android.gms.internal.play_billing.zzax, com.google.android.gms.internal.play_billing.zzba
public final int zzd() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzax, com.google.android.gms.internal.play_billing.zzba
public final byte zza(int i) {
int i2 = this.zzc;
if (((i2 - (i + 1)) | i) >= 0) {
return this.zza[i];
}
if (i < 0) {
throw new ArrayIndexOutOfBoundsException("Index < 0: " + i);
}
throw new ArrayIndexOutOfBoundsException("Index > length: " + i + ", " + i2);
}
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
/* loaded from: classes3.dex */
public interface zzav extends Iterator {
byte zza();
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
abstract class zzaw extends zzba {
}

View File

@@ -0,0 +1,101 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
import java.nio.charset.Charset;
/* loaded from: classes3.dex */
class zzax extends zzaw {
protected final byte[] zza;
public zzax(byte[] bArr) {
bArr.getClass();
this.zza = bArr;
}
@Override // com.google.android.gms.internal.play_billing.zzba
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof zzba) || zzd() != ((zzba) obj).zzd()) {
return false;
}
if (zzd() == 0) {
return true;
}
if (!(obj instanceof zzax)) {
return obj.equals(this);
}
zzax zzaxVar = (zzax) obj;
int zzk = zzk();
int zzk2 = zzaxVar.zzk();
if (zzk != 0 && zzk2 != 0 && zzk != zzk2) {
return false;
}
int zzd = zzd();
if (zzd > zzaxVar.zzd()) {
throw new IllegalArgumentException("Length too large: " + zzd + zzd());
}
if (zzd > zzaxVar.zzd()) {
throw new IllegalArgumentException("Ran off end of other: 0, " + zzd + ", " + zzaxVar.zzd());
}
byte[] bArr = this.zza;
byte[] bArr2 = zzaxVar.zza;
zzaxVar.zzc();
int i = 0;
int i2 = 0;
while (i < zzd) {
if (bArr[i] != bArr2[i2]) {
return false;
}
i++;
i2++;
}
return true;
}
@Override // com.google.android.gms.internal.play_billing.zzba
public byte zza(int i) {
return this.zza[i];
}
@Override // com.google.android.gms.internal.play_billing.zzba
public byte zzb(int i) {
return this.zza[i];
}
public int zzc() {
return 0;
}
@Override // com.google.android.gms.internal.play_billing.zzba
public int zzd() {
return this.zza.length;
}
@Override // com.google.android.gms.internal.play_billing.zzba
public final int zze(int i, int i2, int i3) {
return zzcg.zzb(i, this.zza, 0, i3);
}
@Override // com.google.android.gms.internal.play_billing.zzba
public final zzba zzf(int i, int i2) {
int zzj = zzba.zzj(0, i2, zzd());
return zzj == 0 ? zzba.zzb : new zzau(this.zza, 0, zzj);
}
@Override // com.google.android.gms.internal.play_billing.zzba
public final String zzg(Charset charset) {
return new String(this.zza, 0, zzd(), charset);
}
@Override // com.google.android.gms.internal.play_billing.zzba
public final void zzh(zzaq zzaqVar) throws IOException {
((zzbf) zzaqVar).zzc(this.zza, 0, zzd());
}
@Override // com.google.android.gms.internal.play_billing.zzba
public final boolean zzi() {
return zzev.zze(this.zza, 0, zzd());
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzaz {
private zzaz() {
}
public /* synthetic */ zzaz(zzay zzayVar) {
}
}

View File

@@ -0,0 +1,162 @@
package com.google.android.gms.internal.play_billing;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import androidx.annotation.Nullable;
import com.android.billingclient.api.BillingResult;
import com.android.billingclient.api.InAppMessageResult;
import com.android.billingclient.api.Purchase;
import com.firemonkeys.cloudcellapi.Consts;
import com.google.android.gms.auth.blockstore.BlockstoreStatusCodes;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONException;
/* loaded from: classes3.dex */
public final class zzb {
public static final int zza = Runtime.getRuntime().availableProcessors();
public static int zza(Intent intent, String str) {
if (intent != null) {
return zzl(intent.getExtras(), "ProxyBillingActivity");
}
zzj("ProxyBillingActivity", "Got null intent!");
return 0;
}
public static int zzb(Bundle bundle, String str) {
if (bundle == null) {
zzj(str, "Unexpected null bundle received!");
return 6;
}
Object obj = bundle.get("RESPONSE_CODE");
if (obj == null) {
zzi(str, "getResponseCodeFromBundle() got null response code, assuming OK");
return 0;
}
if (obj instanceof Integer) {
return ((Integer) obj).intValue();
}
zzj(str, "Unexpected type for bundle response code: ".concat(obj.getClass().getName()));
return 6;
}
public static Bundle zzc(boolean z, boolean z2, boolean z3, boolean z4, String str) {
Bundle bundle = new Bundle();
bundle.putString("playBillingLibraryVersion", str);
if (z) {
bundle.putBoolean("enablePendingPurchases", true);
}
return bundle;
}
public static BillingResult zzd(Intent intent, String str) {
if (intent != null) {
BillingResult.Builder newBuilder = BillingResult.newBuilder();
newBuilder.setResponseCode(zzb(intent.getExtras(), str));
newBuilder.setDebugMessage(zzf(intent.getExtras(), str));
return newBuilder.build();
}
zzj("BillingHelper", "Got null intent!");
BillingResult.Builder newBuilder2 = BillingResult.newBuilder();
newBuilder2.setResponseCode(6);
newBuilder2.setDebugMessage("An internal error occurred.");
return newBuilder2.build();
}
public static InAppMessageResult zze(Bundle bundle, String str) {
return bundle == null ? new InAppMessageResult(0, null) : new InAppMessageResult(zzl(bundle, "BillingClient"), bundle.getString("IN_APP_MESSAGE_PURCHASE_TOKEN"));
}
public static String zzf(Bundle bundle, String str) {
if (bundle == null) {
zzj(str, "Unexpected null bundle received!");
return "";
}
Object obj = bundle.get("DEBUG_MESSAGE");
if (obj == null) {
zzi(str, "getDebugMessageFromBundle() got null response code, assuming OK");
return "";
}
if (obj instanceof String) {
return (String) obj;
}
zzj(str, "Unexpected type for debug message: ".concat(obj.getClass().getName()));
return "";
}
public static String zzg(int i) {
return zza.zza(i).toString();
}
@Nullable
public static List zzh(Bundle bundle) {
ArrayList<String> stringArrayList = bundle.getStringArrayList(Consts.RESPONSE_INAPP_PURCHASE_DATA_LIST);
ArrayList<String> stringArrayList2 = bundle.getStringArrayList(Consts.RESPONSE_INAPP_SIGNATURE_LIST);
ArrayList arrayList = new ArrayList();
if (stringArrayList == null || stringArrayList2 == null) {
Purchase zzm = zzm(bundle.getString(Consts.RESPONSE_INAPP_PURCHASE_DATA), bundle.getString(Consts.RESPONSE_INAPP_SIGNATURE));
if (zzm == null) {
zzi("BillingHelper", "Couldn't find single purchase data as well.");
return null;
}
arrayList.add(zzm);
} else {
zzi("BillingHelper", "Found purchase list of " + stringArrayList.size() + " items");
for (int i = 0; i < stringArrayList.size() && i < stringArrayList2.size(); i++) {
Purchase zzm2 = zzm(stringArrayList.get(i), stringArrayList2.get(i));
if (zzm2 != null) {
arrayList.add(zzm2);
}
}
}
return arrayList;
}
public static void zzi(String str, String str2) {
if (!Log.isLoggable(str, 2) || str2.isEmpty()) {
return;
}
int i = BlockstoreStatusCodes.MAX_SIZE_EXCEEDED;
while (!str2.isEmpty() && i > 0) {
int min = Math.min(str2.length(), Math.min(4000, i));
str2 = str2.substring(min);
i -= min;
}
}
public static void zzj(String str, String str2) {
if (Log.isLoggable(str, 5)) {
Log.w(str, str2);
}
}
public static void zzk(String str, String str2, Throwable th) {
if (Log.isLoggable(str, 5)) {
Log.w(str, str2, th);
}
}
private static int zzl(Bundle bundle, String str) {
if (bundle != null) {
return bundle.getInt("IN_APP_MESSAGE_RESPONSE_CODE", 0);
}
zzj(str, "Unexpected null bundle received!");
return 0;
}
@Nullable
private static Purchase zzm(String str, String str2) {
if (str == null || str2 == null) {
zzi("BillingHelper", "Received a null purchase data.");
return null;
}
try {
return new Purchase(str, str2);
} catch (JSONException e) {
zzj("BillingHelper", "Got JSONException while parsing purchase data: ".concat(e.toString()));
return null;
}
}
}

View File

@@ -0,0 +1,96 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
import java.io.Serializable;
import java.nio.charset.Charset;
import java.util.Comparator;
import java.util.Iterator;
import java.util.Locale;
/* loaded from: classes3.dex */
public abstract class zzba implements Iterable, Serializable {
private static final Comparator zza;
public static final zzba zzb = new zzax(zzcg.zzd);
private static final zzaz zzd;
private int zzc = 0;
static {
int i = zzam.zza;
zzd = new zzaz(null);
zza = new zzas();
}
public static zzba zzl(byte[] bArr, int i, int i2) {
zzj(i, i + i2, bArr.length);
byte[] bArr2 = new byte[i2];
System.arraycopy(bArr, i, bArr2, 0, i2);
return new zzax(bArr2);
}
public abstract boolean equals(Object obj);
public final int hashCode() {
int i = this.zzc;
if (i == 0) {
int zzd2 = zzd();
i = zze(zzd2, 0, zzd2);
if (i == 0) {
i = 1;
}
this.zzc = i;
}
return i;
}
@Override // java.lang.Iterable
public final /* synthetic */ Iterator iterator() {
return new zzar(this);
}
public final String toString() {
Locale locale = Locale.ROOT;
Object[] objArr = new Object[3];
objArr[0] = Integer.toHexString(System.identityHashCode(this));
objArr[1] = Integer.valueOf(zzd());
objArr[2] = zzd() <= 50 ? zzee.zza(this) : zzee.zza(zzf(0, 47)).concat("...");
return String.format(locale, "<ByteString@%s size=%d contents=\"%s\">", objArr);
}
public abstract byte zza(int i);
public abstract byte zzb(int i);
public abstract int zzd();
public abstract int zze(int i, int i2, int i3);
public abstract zzba zzf(int i, int i2);
public abstract String zzg(Charset charset);
public abstract void zzh(zzaq zzaqVar) throws IOException;
public abstract boolean zzi();
public final int zzk() {
return this.zzc;
}
public final String zzm(Charset charset) {
return zzd() == 0 ? "" : zzg(charset);
}
public static int zzj(int i, int i2, int i3) {
int i4 = i2 - i;
if ((i | i2 | i4 | (i3 - i2)) >= 0) {
return i4;
}
if (i < 0) {
throw new IndexOutOfBoundsException("Beginning index: " + i + " < 0");
}
if (i2 < i) {
throw new IndexOutOfBoundsException("Beginning index larger than ending index: " + i + ", " + i2);
}
throw new IndexOutOfBoundsException("End index: " + i2 + " >= " + i3);
}
}

View File

@@ -0,0 +1,30 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzbc extends zzbe {
private final byte[] zzb;
private int zzc;
private int zzd;
private int zze;
public /* synthetic */ zzbc(byte[] bArr, int i, int i2, boolean z, zzbb zzbbVar) {
super(null);
this.zze = Integer.MAX_VALUE;
this.zzb = bArr;
this.zzc = 0;
}
public final int zza(int i) throws zzci {
int i2 = this.zze;
this.zze = 0;
int i3 = this.zzc + this.zzd;
this.zzc = i3;
if (i3 > 0) {
this.zzd = i3;
this.zzc = i3 - i3;
} else {
this.zzd = 0;
}
return i2;
}
}

View File

@@ -0,0 +1,18 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public class zzbe {
public static final /* synthetic */ int zza = 0;
private static volatile int zzb = 100;
public /* synthetic */ zzbe(zzbd zzbdVar) {
}
public static int zzb(int i) {
return (i >>> 1) ^ (-(i & 1));
}
public static long zzc(long j) {
return (j >>> 1) ^ (-(1 & j));
}
}

View File

@@ -0,0 +1,230 @@
package com.google.android.gms.internal.play_billing;
import androidx.work.WorkInfo;
import java.io.IOException;
/* loaded from: classes3.dex */
final class zzbf extends zzbi {
private final byte[] zzc;
private final int zzd;
private int zze;
public zzbf(byte[] bArr, int i, int i2) {
super(null);
int length = bArr.length;
if (((length - i2) | i2) < 0) {
throw new IllegalArgumentException(String.format("Array range is invalid. Buffer.length=%d, offset=%d, length=%d", Integer.valueOf(length), 0, Integer.valueOf(i2)));
}
this.zzc = bArr;
this.zze = 0;
this.zzd = i2;
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final int zza() {
return this.zzd - this.zze;
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzb(byte b) throws IOException {
try {
byte[] bArr = this.zzc;
int i = this.zze;
this.zze = i + 1;
bArr[i] = b;
} catch (IndexOutOfBoundsException e) {
throw new zzbg(String.format("Pos: %d, limit: %d, len: %d", Integer.valueOf(this.zze), Integer.valueOf(this.zzd), 1), e);
}
}
public final void zzc(byte[] bArr, int i, int i2) throws IOException {
try {
System.arraycopy(bArr, 0, this.zzc, this.zze, i2);
this.zze += i2;
} catch (IndexOutOfBoundsException e) {
throw new zzbg(String.format("Pos: %d, limit: %d, len: %d", Integer.valueOf(this.zze), Integer.valueOf(this.zzd), Integer.valueOf(i2)), e);
}
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzd(int i, boolean z) throws IOException {
zzq(i << 3);
zzb(z ? (byte) 1 : (byte) 0);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zze(int i, zzba zzbaVar) throws IOException {
zzq((i << 3) | 2);
zzq(zzbaVar.zzd());
zzbaVar.zzh(this);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzf(int i, int i2) throws IOException {
zzq((i << 3) | 5);
zzg(i2);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzg(int i) throws IOException {
try {
byte[] bArr = this.zzc;
int i2 = this.zze;
bArr[i2] = (byte) (i & 255);
bArr[i2 + 1] = (byte) ((i >> 8) & 255);
bArr[i2 + 2] = (byte) ((i >> 16) & 255);
this.zze = i2 + 4;
bArr[i2 + 3] = (byte) ((i >> 24) & 255);
} catch (IndexOutOfBoundsException e) {
throw new zzbg(String.format("Pos: %d, limit: %d, len: %d", Integer.valueOf(this.zze), Integer.valueOf(this.zzd), 1), e);
}
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzh(int i, long j) throws IOException {
zzq((i << 3) | 1);
zzi(j);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzi(long j) throws IOException {
try {
byte[] bArr = this.zzc;
int i = this.zze;
bArr[i] = (byte) (((int) j) & 255);
bArr[i + 1] = (byte) (((int) (j >> 8)) & 255);
bArr[i + 2] = (byte) (((int) (j >> 16)) & 255);
bArr[i + 3] = (byte) (((int) (j >> 24)) & 255);
bArr[i + 4] = (byte) (((int) (j >> 32)) & 255);
bArr[i + 5] = (byte) (((int) (j >> 40)) & 255);
bArr[i + 6] = (byte) (((int) (j >> 48)) & 255);
this.zze = i + 8;
bArr[i + 7] = (byte) (((int) (j >> 56)) & 255);
} catch (IndexOutOfBoundsException e) {
throw new zzbg(String.format("Pos: %d, limit: %d, len: %d", Integer.valueOf(this.zze), Integer.valueOf(this.zzd), 1), e);
}
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzj(int i, int i2) throws IOException {
zzq(i << 3);
zzk(i2);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzk(int i) throws IOException {
if (i >= 0) {
zzq(i);
} else {
zzs(i);
}
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzl(byte[] bArr, int i, int i2) throws IOException {
zzc(bArr, 0, i2);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzm(int i, String str) throws IOException {
zzq((i << 3) | 2);
zzn(str);
}
public final void zzn(String str) throws IOException {
int i = this.zze;
try {
int zzx = zzbi.zzx(str.length() * 3);
int zzx2 = zzbi.zzx(str.length());
if (zzx2 != zzx) {
zzq(zzev.zzc(str));
byte[] bArr = this.zzc;
int i2 = this.zze;
this.zze = zzev.zzb(str, bArr, i2, this.zzd - i2);
return;
}
int i3 = i + zzx2;
this.zze = i3;
int zzb = zzev.zzb(str, this.zzc, i3, this.zzd - i3);
this.zze = i;
zzq((zzb - i) - zzx2);
this.zze = zzb;
} catch (zzeu e) {
this.zze = i;
zzB(str, e);
} catch (IndexOutOfBoundsException e2) {
throw new zzbg(e2);
}
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzo(int i, int i2) throws IOException {
zzq((i << 3) | i2);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzp(int i, int i2) throws IOException {
zzq(i << 3);
zzq(i2);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzr(int i, long j) throws IOException {
zzq(i << 3);
zzs(j);
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzq(int i) throws IOException {
while ((i & WorkInfo.STOP_REASON_FOREGROUND_SERVICE_TIMEOUT) != 0) {
try {
byte[] bArr = this.zzc;
int i2 = this.zze;
this.zze = i2 + 1;
bArr[i2] = (byte) ((i & 127) | 128);
i >>>= 7;
} catch (IndexOutOfBoundsException e) {
throw new zzbg(String.format("Pos: %d, limit: %d, len: %d", Integer.valueOf(this.zze), Integer.valueOf(this.zzd), 1), e);
}
}
byte[] bArr2 = this.zzc;
int i3 = this.zze;
this.zze = i3 + 1;
bArr2[i3] = (byte) i;
}
@Override // com.google.android.gms.internal.play_billing.zzbi
public final void zzs(long j) throws IOException {
boolean z;
z = zzbi.zzd;
if (z && this.zzd - this.zze >= 10) {
while ((j & (-128)) != 0) {
byte[] bArr = this.zzc;
int i = this.zze;
this.zze = i + 1;
zzeq.zzn(bArr, i, (byte) ((((int) j) & 127) | 128));
j >>>= 7;
}
byte[] bArr2 = this.zzc;
int i2 = this.zze;
this.zze = i2 + 1;
zzeq.zzn(bArr2, i2, (byte) j);
return;
}
while ((j & (-128)) != 0) {
try {
byte[] bArr3 = this.zzc;
int i3 = this.zze;
this.zze = i3 + 1;
bArr3[i3] = (byte) ((((int) j) & 127) | 128);
j >>>= 7;
} catch (IndexOutOfBoundsException e) {
throw new zzbg(String.format("Pos: %d, limit: %d, len: %d", Integer.valueOf(this.zze), Integer.valueOf(this.zzd), 1), e);
}
}
byte[] bArr4 = this.zzc;
int i4 = this.zze;
this.zze = i4 + 1;
bArr4[i4] = (byte) j;
}
}

View File

@@ -0,0 +1,18 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
/* loaded from: classes3.dex */
public final class zzbg extends IOException {
public zzbg() {
super("CodedOutputStream was writing to a flat byte array and ran out of space.");
}
public zzbg(String str, Throwable th) {
super("CodedOutputStream was writing to a flat byte array and ran out of space.: ".concat(String.valueOf(str)), th);
}
public zzbg(Throwable th) {
super("CodedOutputStream was writing to a flat byte array and ran out of space.", th);
}
}

View File

@@ -0,0 +1,139 @@
package com.google.android.gms.internal.play_billing;
import androidx.work.WorkInfo;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/* loaded from: classes3.dex */
public abstract class zzbi extends zzaq {
public static final /* synthetic */ int zzb = 0;
private static final Logger zzc = Logger.getLogger(zzbi.class.getName());
private static final boolean zzd = zzeq.zzx();
zzbj zza;
private zzbi() {
}
public /* synthetic */ zzbi(zzbh zzbhVar) {
}
@Deprecated
public static int zzt(int i, zzdf zzdfVar, zzdp zzdpVar) {
int zza = ((zzak) zzdfVar).zza(zzdpVar);
int zzx = zzx(i << 3);
return zzx + zzx + zza;
}
public static int zzu(int i) {
if (i >= 0) {
return zzx(i);
}
return 10;
}
public static int zzv(zzdf zzdfVar, zzdp zzdpVar) {
int zza = ((zzak) zzdfVar).zza(zzdpVar);
return zzx(zza) + zza;
}
public static int zzw(String str) {
int length;
try {
length = zzev.zzc(str);
} catch (zzeu unused) {
length = str.getBytes(zzcg.zzb).length;
}
return zzx(length) + length;
}
public static int zzx(int i) {
if ((i & WorkInfo.STOP_REASON_FOREGROUND_SERVICE_TIMEOUT) == 0) {
return 1;
}
if ((i & (-16384)) == 0) {
return 2;
}
if (((-2097152) & i) == 0) {
return 3;
}
return (i & (-268435456)) == 0 ? 4 : 5;
}
public static int zzy(long j) {
int i;
if (((-128) & j) == 0) {
return 1;
}
if (j < 0) {
return 10;
}
if (((-34359738368L) & j) != 0) {
j >>>= 28;
i = 6;
} else {
i = 2;
}
if (((-2097152) & j) != 0) {
j >>>= 14;
i += 2;
}
return (j & (-16384)) != 0 ? i + 1 : i;
}
public static zzbi zzz(byte[] bArr, int i, int i2) {
return new zzbf(bArr, 0, i2);
}
public final void zzA() {
if (zza() != 0) {
throw new IllegalStateException("Did not write as much data as expected.");
}
}
public final void zzB(String str, zzeu zzeuVar) throws IOException {
zzc.logp(Level.WARNING, "com.google.protobuf.CodedOutputStream", "inefficientWriteStringNoTag", "Converting ill-formed UTF-16. Your Protocol Buffer will not round trip correctly!", (Throwable) zzeuVar);
byte[] bytes = str.getBytes(zzcg.zzb);
try {
int length = bytes.length;
zzq(length);
zzl(bytes, 0, length);
} catch (IndexOutOfBoundsException e) {
throw new zzbg(e);
}
}
public abstract int zza();
public abstract void zzb(byte b) throws IOException;
public abstract void zzd(int i, boolean z) throws IOException;
public abstract void zze(int i, zzba zzbaVar) throws IOException;
public abstract void zzf(int i, int i2) throws IOException;
public abstract void zzg(int i) throws IOException;
public abstract void zzh(int i, long j) throws IOException;
public abstract void zzi(long j) throws IOException;
public abstract void zzj(int i, int i2) throws IOException;
public abstract void zzk(int i) throws IOException;
public abstract void zzl(byte[] bArr, int i, int i2) throws IOException;
public abstract void zzm(int i, String str) throws IOException;
public abstract void zzo(int i, int i2) throws IOException;
public abstract void zzp(int i, int i2) throws IOException;
public abstract void zzq(int i) throws IOException;
public abstract void zzr(int i, long j) throws IOException;
public abstract void zzs(long j) throws IOException;
}

View File

@@ -0,0 +1,483 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
import java.util.List;
/* loaded from: classes3.dex */
final class zzbj implements zzey {
private final zzbi zza;
private zzbj(zzbi zzbiVar) {
byte[] bArr = zzcg.zzd;
this.zza = zzbiVar;
zzbiVar.zza = this;
}
public static zzbj zza(zzbi zzbiVar) {
zzbj zzbjVar = zzbiVar.zza;
return zzbjVar != null ? zzbjVar : new zzbj(zzbiVar);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzA(int i, int i2) throws IOException {
this.zza.zzp(i, (i2 >> 31) ^ (i2 + i2));
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzC(int i, long j) throws IOException {
this.zza.zzr(i, (j >> 63) ^ (j + j));
}
@Override // com.google.android.gms.internal.play_billing.zzey
@Deprecated
public final void zzE(int i) throws IOException {
this.zza.zzo(i, 3);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzF(int i, String str) throws IOException {
this.zza.zzm(i, str);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzH(int i, int i2) throws IOException {
this.zza.zzp(i, i2);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzJ(int i, long j) throws IOException {
this.zza.zzr(i, j);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzb(int i, boolean z) throws IOException {
this.zza.zzd(i, z);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzd(int i, zzba zzbaVar) throws IOException {
this.zza.zze(i, zzbaVar);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zze(int i, List list) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
this.zza.zze(i, (zzba) list.get(i2));
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzf(int i, double d) throws IOException {
this.zza.zzh(i, Double.doubleToRawLongBits(d));
}
@Override // com.google.android.gms.internal.play_billing.zzey
@Deprecated
public final void zzh(int i) throws IOException {
this.zza.zzo(i, 4);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzi(int i, int i2) throws IOException {
this.zza.zzj(i, i2);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzk(int i, int i2) throws IOException {
this.zza.zzf(i, i2);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzm(int i, long j) throws IOException {
this.zza.zzh(i, j);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzo(int i, float f) throws IOException {
this.zza.zzf(i, Float.floatToRawIntBits(f));
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzq(int i, Object obj, zzdp zzdpVar) throws IOException {
zzbi zzbiVar = this.zza;
zzbiVar.zzo(i, 3);
zzdpVar.zzi((zzdf) obj, zzbiVar.zza);
zzbiVar.zzo(i, 4);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzr(int i, int i2) throws IOException {
this.zza.zzj(i, i2);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzt(int i, long j) throws IOException {
this.zza.zzr(i, j);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzv(int i, Object obj, zzdp zzdpVar) throws IOException {
zzdf zzdfVar = (zzdf) obj;
zzbf zzbfVar = (zzbf) this.zza;
zzbfVar.zzq((i << 3) | 2);
zzbfVar.zzq(((zzak) zzdfVar).zza(zzdpVar));
zzdpVar.zzi(zzdfVar, zzbfVar.zza);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzw(int i, int i2) throws IOException {
this.zza.zzf(i, i2);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzy(int i, long j) throws IOException {
this.zza.zzh(i, j);
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzG(int i, List list) throws IOException {
int i2 = 0;
if (!(list instanceof zzcn)) {
while (i2 < list.size()) {
this.zza.zzm(i, (String) list.get(i2));
i2++;
}
return;
}
zzcn zzcnVar = (zzcn) list;
while (i2 < list.size()) {
Object zzf = zzcnVar.zzf(i2);
if (zzf instanceof String) {
this.zza.zzm(i, (String) zzf);
} else {
this.zza.zze(i, (zzba) zzf);
}
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzI(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzp(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzbi.zzx(((Integer) list.get(i4)).intValue());
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzq(((Integer) list.get(i2)).intValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzK(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzr(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzbi.zzy(((Long) list.get(i4)).longValue());
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzs(((Long) list.get(i2)).longValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzc(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzd(i, ((Boolean) list.get(i2)).booleanValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Boolean) list.get(i4)).booleanValue();
i3++;
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzb(((Boolean) list.get(i2)).booleanValue() ? (byte) 1 : (byte) 0);
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzl(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzf(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Integer) list.get(i4)).intValue();
i3 += 4;
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzg(((Integer) list.get(i2)).intValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzn(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzh(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Long) list.get(i4)).longValue();
i3 += 8;
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzi(((Long) list.get(i2)).longValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzs(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzj(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzbi.zzu(((Integer) list.get(i4)).intValue());
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzk(((Integer) list.get(i2)).intValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzB(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
zzbi zzbiVar = this.zza;
int intValue = ((Integer) list.get(i2)).intValue();
zzbiVar.zzp(i, (intValue >> 31) ^ (intValue + intValue));
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
int intValue2 = ((Integer) list.get(i4)).intValue();
i3 += zzbi.zzx((intValue2 >> 31) ^ (intValue2 + intValue2));
}
this.zza.zzq(i3);
while (i2 < list.size()) {
zzbi zzbiVar2 = this.zza;
int intValue3 = ((Integer) list.get(i2)).intValue();
zzbiVar2.zzq((intValue3 >> 31) ^ (intValue3 + intValue3));
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzD(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
zzbi zzbiVar = this.zza;
long longValue = ((Long) list.get(i2)).longValue();
zzbiVar.zzr(i, (longValue >> 63) ^ (longValue + longValue));
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
long longValue2 = ((Long) list.get(i4)).longValue();
i3 += zzbi.zzy((longValue2 >> 63) ^ (longValue2 + longValue2));
}
this.zza.zzq(i3);
while (i2 < list.size()) {
zzbi zzbiVar2 = this.zza;
long longValue3 = ((Long) list.get(i2)).longValue();
zzbiVar2.zzs((longValue3 >> 63) ^ (longValue3 + longValue3));
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzg(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzh(i, Double.doubleToRawLongBits(((Double) list.get(i2)).doubleValue()));
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Double) list.get(i4)).doubleValue();
i3 += 8;
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzi(Double.doubleToRawLongBits(((Double) list.get(i2)).doubleValue()));
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzj(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzj(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzbi.zzu(((Integer) list.get(i4)).intValue());
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzk(((Integer) list.get(i2)).intValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzp(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzf(i, Float.floatToRawIntBits(((Float) list.get(i2)).floatValue()));
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Float) list.get(i4)).floatValue();
i3 += 4;
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzg(Float.floatToRawIntBits(((Float) list.get(i2)).floatValue()));
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzu(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzr(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += zzbi.zzy(((Long) list.get(i4)).longValue());
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzs(((Long) list.get(i2)).longValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzx(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzf(i, ((Integer) list.get(i2)).intValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Integer) list.get(i4)).intValue();
i3 += 4;
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzg(((Integer) list.get(i2)).intValue());
i2++;
}
}
@Override // com.google.android.gms.internal.play_billing.zzey
public final void zzz(int i, List list, boolean z) throws IOException {
int i2 = 0;
if (!z) {
while (i2 < list.size()) {
this.zza.zzh(i, ((Long) list.get(i2)).longValue());
i2++;
}
return;
}
this.zza.zzo(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
((Long) list.get(i4)).longValue();
i3 += 8;
}
this.zza.zzq(i3);
while (i2 < list.size()) {
this.zza.zzi(((Long) list.get(i2)).longValue());
i2++;
}
}
}

View File

@@ -0,0 +1,212 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractList;
import java.util.Arrays;
import java.util.Collection;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
final class zzbk extends zzal implements RandomAccess, zzcf, zzdm {
private static final zzbk zza = new zzbk(new double[0], 0, false);
private double[] zzb;
private int zzc;
public zzbk() {
this(new double[10], 0, true);
}
private final String zzf(int i) {
return "Index:" + i + ", Size:" + this.zzc;
}
private final void zzg(int i) {
if (i < 0 || i >= this.zzc) {
throw new IndexOutOfBoundsException(zzf(i));
}
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* synthetic */ void add(int i, Object obj) {
int i2;
double doubleValue = ((Double) obj).doubleValue();
zza();
if (i < 0 || i > (i2 = this.zzc)) {
throw new IndexOutOfBoundsException(zzf(i));
}
double[] dArr = this.zzb;
if (i2 < dArr.length) {
System.arraycopy(dArr, i, dArr, i + 1, i2 - i);
} else {
double[] dArr2 = new double[((i2 * 3) / 2) + 1];
System.arraycopy(dArr, 0, dArr2, 0, i);
System.arraycopy(this.zzb, i, dArr2, i + 1, this.zzc - i);
this.zzb = dArr2;
}
this.zzb[i] = doubleValue;
this.zzc++;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean addAll(Collection collection) {
zza();
byte[] bArr = zzcg.zzd;
collection.getClass();
if (!(collection instanceof zzbk)) {
return super.addAll(collection);
}
zzbk zzbkVar = (zzbk) collection;
int i = zzbkVar.zzc;
if (i == 0) {
return false;
}
int i2 = this.zzc;
if (Integer.MAX_VALUE - i2 < i) {
throw new OutOfMemoryError();
}
int i3 = i2 + i;
double[] dArr = this.zzb;
if (i3 > dArr.length) {
this.zzb = Arrays.copyOf(dArr, i3);
}
System.arraycopy(zzbkVar.zzb, 0, this.zzb, this.zzc, zzbkVar.zzc);
this.zzc = i3;
((AbstractList) this).modCount++;
return true;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean contains(Object obj) {
return indexOf(obj) != -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzbk)) {
return super.equals(obj);
}
zzbk zzbkVar = (zzbk) obj;
if (this.zzc != zzbkVar.zzc) {
return false;
}
double[] dArr = zzbkVar.zzb;
for (int i = 0; i < this.zzc; i++) {
if (Double.doubleToLongBits(this.zzb[i]) != Double.doubleToLongBits(dArr[i])) {
return false;
}
}
return true;
}
@Override // java.util.AbstractList, java.util.List
public final /* synthetic */ Object get(int i) {
zzg(i);
return Double.valueOf(this.zzb[i]);
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final int hashCode() {
int i = 1;
for (int i2 = 0; i2 < this.zzc; i2++) {
long doubleToLongBits = Double.doubleToLongBits(this.zzb[i2]);
byte[] bArr = zzcg.zzd;
i = (i * 31) + ((int) (doubleToLongBits ^ (doubleToLongBits >>> 32)));
}
return i;
}
@Override // java.util.AbstractList, java.util.List
public final int indexOf(Object obj) {
if (!(obj instanceof Double)) {
return -1;
}
double doubleValue = ((Double) obj).doubleValue();
int i = this.zzc;
for (int i2 = 0; i2 < i; i2++) {
if (this.zzb[i2] == doubleValue) {
return i2;
}
}
return -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object remove(int i) {
zza();
zzg(i);
double[] dArr = this.zzb;
double d = dArr[i];
if (i < this.zzc - 1) {
System.arraycopy(dArr, i + 1, dArr, i, (r3 - i) - 1);
}
this.zzc--;
((AbstractList) this).modCount++;
return Double.valueOf(d);
}
@Override // java.util.AbstractList
public final void removeRange(int i, int i2) {
zza();
if (i2 < i) {
throw new IndexOutOfBoundsException("toIndex < fromIndex");
}
double[] dArr = this.zzb;
System.arraycopy(dArr, i2, dArr, i, this.zzc - i2);
this.zzc -= i2 - i;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object set(int i, Object obj) {
double doubleValue = ((Double) obj).doubleValue();
zza();
zzg(i);
double[] dArr = this.zzb;
double d = dArr[i];
dArr[i] = doubleValue;
return Double.valueOf(d);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final /* bridge */ /* synthetic */ zzcf zzd(int i) {
if (i >= this.zzc) {
return new zzbk(Arrays.copyOf(this.zzb, i), this.zzc, true);
}
throw new IllegalArgumentException();
}
public final void zze(double d) {
zza();
int i = this.zzc;
double[] dArr = this.zzb;
if (i == dArr.length) {
double[] dArr2 = new double[((i * 3) / 2) + 1];
System.arraycopy(dArr, 0, dArr2, 0, i);
this.zzb = dArr2;
}
double[] dArr3 = this.zzb;
int i2 = this.zzc;
this.zzc = i2 + 1;
dArr3[i2] = d;
}
private zzbk(double[] dArr, int i, boolean z) {
super(z);
this.zzb = dArr;
this.zzc = i;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ /* synthetic */ boolean add(Object obj) {
zze(((Double) obj).doubleValue());
return true;
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public class zzbl {
}

View File

@@ -0,0 +1,26 @@
package com.google.android.gms.internal.play_billing;
import androidx.core.internal.view.SupportMenu;
/* loaded from: classes3.dex */
final class zzbm {
private final Object zza;
private final int zzb;
public zzbm(Object obj, int i) {
this.zza = obj;
this.zzb = i;
}
public final boolean equals(Object obj) {
if (!(obj instanceof zzbm)) {
return false;
}
zzbm zzbmVar = (zzbm) obj;
return this.zza == zzbmVar.zza && this.zzb == zzbmVar.zzb;
}
public final int hashCode() {
return (System.identityHashCode(this.zza) * SupportMenu.USER_MASK) + this.zzb;
}
}

View File

@@ -0,0 +1,46 @@
package com.google.android.gms.internal.play_billing;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes3.dex */
public final class zzbn {
static final zzbn zza = new zzbn(true);
public static final /* synthetic */ int zzb = 0;
private static volatile boolean zzc;
private static volatile zzbn zzd;
private final Map zze;
public zzbn() {
this.zze = new HashMap();
}
public final zzbz zzb(zzdf zzdfVar, int i) {
return (zzbz) this.zze.get(new zzbm(zzdfVar, i));
}
public zzbn(boolean z) {
this.zze = Collections.emptyMap();
}
public static zzbn zza() {
zzbn zzbnVar = zzd;
if (zzbnVar != null) {
return zzbnVar;
}
synchronized (zzbn.class) {
try {
zzbn zzbnVar2 = zzd;
if (zzbnVar2 != null) {
return zzbnVar2;
}
zzbn zzb2 = zzbv.zzb(zzbn.class);
zzd = zzb2;
return zzb2;
} catch (Throwable th) {
throw th;
}
}
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
abstract class zzbo {
public abstract zzbs zza(Object obj);
public abstract void zzb(Object obj);
public abstract boolean zzc(zzdf zzdfVar);
}

View File

@@ -0,0 +1,21 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzbp extends zzbo {
@Override // com.google.android.gms.internal.play_billing.zzbo
public final zzbs zza(Object obj) {
zzbs zzbsVar = ((zzby) obj).zzb;
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzbo
public final void zzb(Object obj) {
zzbs zzbsVar = ((zzby) obj).zzb;
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzbo
public final boolean zzc(zzdf zzdfVar) {
return zzdfVar instanceof zzby;
}
}

View File

@@ -0,0 +1,29 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzbq {
private static final zzbo zza = new zzbp();
private static final zzbo zzb;
static {
zzbo zzboVar;
try {
zzboVar = (zzbo) Class.forName("com.google.protobuf.ExtensionSchemaFull").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
} catch (Exception unused) {
zzboVar = null;
}
zzb = zzboVar;
}
public static zzbo zza() {
zzbo zzboVar = zzb;
if (zzboVar != null) {
return zzboVar;
}
throw new IllegalStateException("Protobuf runtime is not correctly loaded.");
}
public static zzbo zzb() {
return zza;
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public interface zzbr extends Comparable {
int zza();
zzew zzb();
boolean zzc();
}

View File

@@ -0,0 +1,172 @@
package com.google.android.gms.internal.play_billing;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/* loaded from: classes3.dex */
final class zzbs {
private static final zzbs zzb = new zzbs(true);
final zzec zza = new zzds(16);
private boolean zzc;
private boolean zzd;
private zzbs() {
}
public static zzbs zza() {
throw null;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Removed duplicated region for block: B:24:? A[RETURN, SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static final void zzd(com.google.android.gms.internal.play_billing.zzbr r2, java.lang.Object r3) {
/*
com.google.android.gms.internal.play_billing.zzew r0 = r2.zzb()
byte[] r1 = com.google.android.gms.internal.play_billing.zzcg.zzd
r3.getClass()
com.google.android.gms.internal.play_billing.zzew r1 = com.google.android.gms.internal.play_billing.zzew.zza
com.google.android.gms.internal.play_billing.zzex r1 = com.google.android.gms.internal.play_billing.zzex.INT
com.google.android.gms.internal.play_billing.zzex r0 = r0.zza()
int r0 = r0.ordinal()
switch(r0) {
case 0: goto L43;
case 1: goto L40;
case 2: goto L3d;
case 3: goto L3a;
case 4: goto L37;
case 5: goto L34;
case 6: goto L2b;
case 7: goto L22;
case 8: goto L19;
default: goto L18;
}
L18:
goto L48
L19:
boolean r0 = r3 instanceof com.google.android.gms.internal.play_billing.zzdf
if (r0 != 0) goto L47
boolean r0 = r3 instanceof com.google.android.gms.internal.play_billing.zzck
if (r0 == 0) goto L48
goto L47
L22:
boolean r0 = r3 instanceof java.lang.Integer
if (r0 != 0) goto L47
boolean r0 = r3 instanceof com.google.android.gms.internal.play_billing.zzfp
if (r0 == 0) goto L48
goto L47
L2b:
boolean r0 = r3 instanceof com.google.android.gms.internal.play_billing.zzba
if (r0 != 0) goto L47
boolean r0 = r3 instanceof byte[]
if (r0 == 0) goto L48
goto L47
L34:
boolean r0 = r3 instanceof java.lang.String
goto L45
L37:
boolean r0 = r3 instanceof java.lang.Boolean
goto L45
L3a:
boolean r0 = r3 instanceof java.lang.Double
goto L45
L3d:
boolean r0 = r3 instanceof java.lang.Float
goto L45
L40:
boolean r0 = r3 instanceof java.lang.Long
goto L45
L43:
boolean r0 = r3 instanceof java.lang.Integer
L45:
if (r0 == 0) goto L48
L47:
return
L48:
java.lang.IllegalArgumentException r0 = new java.lang.IllegalArgumentException
int r1 = r2.zza()
java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
com.google.android.gms.internal.play_billing.zzew r2 = r2.zzb()
com.google.android.gms.internal.play_billing.zzex r2 = r2.zza()
java.lang.Class r3 = r3.getClass()
java.lang.String r3 = r3.getName()
java.lang.Object[] r2 = new java.lang.Object[]{r1, r2, r3}
java.lang.String r3 = "Wrong object type used with protocol message reflection.\nField number: %d, field java type: %s, value type: %s\n"
java.lang.String r2 = java.lang.String.format(r3, r2)
r0.<init>(r2)
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.play_billing.zzbs.zzd(com.google.android.gms.internal.play_billing.zzbr, java.lang.Object):void");
}
public final /* bridge */ /* synthetic */ Object clone() throws CloneNotSupportedException {
zzbs zzbsVar = new zzbs();
for (int i = 0; i < this.zza.zzb(); i++) {
Map.Entry zzg = this.zza.zzg(i);
zzbsVar.zzc((zzbr) zzg.getKey(), zzg.getValue());
}
for (Map.Entry entry : this.zza.zzc()) {
zzbsVar.zzc((zzbr) entry.getKey(), entry.getValue());
}
zzbsVar.zzd = this.zzd;
return zzbsVar;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj instanceof zzbs) {
return this.zza.equals(((zzbs) obj).zza);
}
return false;
}
public final int hashCode() {
return this.zza.hashCode();
}
public final void zzb() {
if (this.zzc) {
return;
}
for (int i = 0; i < this.zza.zzb(); i++) {
Map.Entry zzg = this.zza.zzg(i);
if (zzg.getValue() instanceof zzcb) {
((zzcb) zzg.getValue()).zzn();
}
}
this.zza.zza();
this.zzc = true;
}
public final void zzc(zzbr zzbrVar, Object obj) {
if (!zzbrVar.zzc()) {
zzd(zzbrVar, obj);
} else {
if (!(obj instanceof List)) {
throw new IllegalArgumentException("Wrong object type used with protocol message reflection.");
}
ArrayList arrayList = new ArrayList();
arrayList.addAll((List) obj);
int size = arrayList.size();
for (int i = 0; i < size; i++) {
zzd(zzbrVar, arrayList.get(i));
}
obj = arrayList;
}
if (obj instanceof zzck) {
this.zzd = true;
}
this.zza.put(zzbrVar, obj);
}
private zzbs(boolean z) {
zzb();
zzb();
}
}

View File

@@ -0,0 +1,216 @@
package com.google.android.gms.internal.play_billing;
/* JADX WARN: Enum visitor error
jadx.core.utils.exceptions.JadxRuntimeException: Init of enum field 'zza' uses external variables
at jadx.core.dex.visitors.EnumVisitor.createEnumFieldByConstructor(EnumVisitor.java:451)
at jadx.core.dex.visitors.EnumVisitor.processEnumFieldByRegister(EnumVisitor.java:395)
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromFilledArray(EnumVisitor.java:324)
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromInsn(EnumVisitor.java:262)
at jadx.core.dex.visitors.EnumVisitor.convertToEnum(EnumVisitor.java:151)
at jadx.core.dex.visitors.EnumVisitor.visit(EnumVisitor.java:100)
*/
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* loaded from: classes3.dex */
public final class zzbt {
public static final zzbt zzA;
public static final zzbt zzB;
public static final zzbt zzC;
public static final zzbt zzD;
public static final zzbt zzE;
public static final zzbt zzF;
public static final zzbt zzG;
public static final zzbt zzH;
public static final zzbt zzI;
public static final zzbt zzJ;
public static final zzbt zzK;
public static final zzbt zzL;
public static final zzbt zzM;
public static final zzbt zzN;
public static final zzbt zzO;
public static final zzbt zzP;
public static final zzbt zzQ;
public static final zzbt zzR;
public static final zzbt zzS;
public static final zzbt zzT;
public static final zzbt zzU;
public static final zzbt zzV;
public static final zzbt zzW;
public static final zzbt zzX;
public static final zzbt zzY;
private static final zzbt[] zzZ;
public static final zzbt zza;
private static final /* synthetic */ zzbt[] zzaa;
public static final zzbt zzb;
public static final zzbt zzc;
public static final zzbt zzd;
public static final zzbt zze;
public static final zzbt zzf;
public static final zzbt zzg;
public static final zzbt zzh;
public static final zzbt zzi;
public static final zzbt zzj;
public static final zzbt zzk;
public static final zzbt zzl;
public static final zzbt zzm;
public static final zzbt zzn;
public static final zzbt zzo;
public static final zzbt zzp;
public static final zzbt zzq;
public static final zzbt zzr;
public static final zzbt zzs;
public static final zzbt zzt;
public static final zzbt zzu;
public static final zzbt zzv;
public static final zzbt zzw;
public static final zzbt zzx;
public static final zzbt zzy;
public static final zzbt zzz;
private final zzcj zzab;
private final int zzac;
private final Class zzad;
static {
zzcj zzcjVar = zzcj.zze;
zzbt zzbtVar = new zzbt("DOUBLE", 0, 0, 1, zzcjVar);
zza = zzbtVar;
zzcj zzcjVar2 = zzcj.zzd;
zzbt zzbtVar2 = new zzbt("FLOAT", 1, 1, 1, zzcjVar2);
zzb = zzbtVar2;
zzcj zzcjVar3 = zzcj.zzc;
zzbt zzbtVar3 = new zzbt("INT64", 2, 2, 1, zzcjVar3);
zzc = zzbtVar3;
zzbt zzbtVar4 = new zzbt("UINT64", 3, 3, 1, zzcjVar3);
zzd = zzbtVar4;
zzcj zzcjVar4 = zzcj.zzb;
zzbt zzbtVar5 = new zzbt("INT32", 4, 4, 1, zzcjVar4);
zze = zzbtVar5;
zzbt zzbtVar6 = new zzbt("FIXED64", 5, 5, 1, zzcjVar3);
zzf = zzbtVar6;
zzbt zzbtVar7 = new zzbt("FIXED32", 6, 6, 1, zzcjVar4);
zzg = zzbtVar7;
zzcj zzcjVar5 = zzcj.zzf;
zzbt zzbtVar8 = new zzbt("BOOL", 7, 7, 1, zzcjVar5);
zzh = zzbtVar8;
zzcj zzcjVar6 = zzcj.zzg;
zzbt zzbtVar9 = new zzbt("STRING", 8, 8, 1, zzcjVar6);
zzi = zzbtVar9;
zzcj zzcjVar7 = zzcj.zzj;
zzbt zzbtVar10 = new zzbt("MESSAGE", 9, 9, 1, zzcjVar7);
zzj = zzbtVar10;
zzcj zzcjVar8 = zzcj.zzh;
zzbt zzbtVar11 = new zzbt("BYTES", 10, 10, 1, zzcjVar8);
zzk = zzbtVar11;
zzbt zzbtVar12 = new zzbt("UINT32", 11, 11, 1, zzcjVar4);
zzl = zzbtVar12;
zzcj zzcjVar9 = zzcj.zzi;
zzbt zzbtVar13 = new zzbt("ENUM", 12, 12, 1, zzcjVar9);
zzm = zzbtVar13;
zzbt zzbtVar14 = new zzbt("SFIXED32", 13, 13, 1, zzcjVar4);
zzn = zzbtVar14;
zzbt zzbtVar15 = new zzbt("SFIXED64", 14, 14, 1, zzcjVar3);
zzo = zzbtVar15;
zzbt zzbtVar16 = new zzbt("SINT32", 15, 15, 1, zzcjVar4);
zzp = zzbtVar16;
zzbt zzbtVar17 = new zzbt("SINT64", 16, 16, 1, zzcjVar3);
zzq = zzbtVar17;
zzbt zzbtVar18 = new zzbt("GROUP", 17, 17, 1, zzcjVar7);
zzr = zzbtVar18;
zzbt zzbtVar19 = new zzbt("DOUBLE_LIST", 18, 18, 2, zzcjVar);
zzs = zzbtVar19;
zzbt zzbtVar20 = new zzbt("FLOAT_LIST", 19, 19, 2, zzcjVar2);
zzt = zzbtVar20;
zzbt zzbtVar21 = new zzbt("INT64_LIST", 20, 20, 2, zzcjVar3);
zzu = zzbtVar21;
zzbt zzbtVar22 = new zzbt("UINT64_LIST", 21, 21, 2, zzcjVar3);
zzv = zzbtVar22;
zzbt zzbtVar23 = new zzbt("INT32_LIST", 22, 22, 2, zzcjVar4);
zzw = zzbtVar23;
zzbt zzbtVar24 = new zzbt("FIXED64_LIST", 23, 23, 2, zzcjVar3);
zzx = zzbtVar24;
zzbt zzbtVar25 = new zzbt("FIXED32_LIST", 24, 24, 2, zzcjVar4);
zzy = zzbtVar25;
zzbt zzbtVar26 = new zzbt("BOOL_LIST", 25, 25, 2, zzcjVar5);
zzz = zzbtVar26;
zzbt zzbtVar27 = new zzbt("STRING_LIST", 26, 26, 2, zzcjVar6);
zzA = zzbtVar27;
zzbt zzbtVar28 = new zzbt("MESSAGE_LIST", 27, 27, 2, zzcjVar7);
zzB = zzbtVar28;
zzbt zzbtVar29 = new zzbt("BYTES_LIST", 28, 28, 2, zzcjVar8);
zzC = zzbtVar29;
zzbt zzbtVar30 = new zzbt("UINT32_LIST", 29, 29, 2, zzcjVar4);
zzD = zzbtVar30;
zzbt zzbtVar31 = new zzbt("ENUM_LIST", 30, 30, 2, zzcjVar9);
zzE = zzbtVar31;
zzbt zzbtVar32 = new zzbt("SFIXED32_LIST", 31, 31, 2, zzcjVar4);
zzF = zzbtVar32;
zzbt zzbtVar33 = new zzbt("SFIXED64_LIST", 32, 32, 2, zzcjVar3);
zzG = zzbtVar33;
zzbt zzbtVar34 = new zzbt("SINT32_LIST", 33, 33, 2, zzcjVar4);
zzH = zzbtVar34;
zzbt zzbtVar35 = new zzbt("SINT64_LIST", 34, 34, 2, zzcjVar3);
zzI = zzbtVar35;
zzbt zzbtVar36 = new zzbt("DOUBLE_LIST_PACKED", 35, 35, 3, zzcjVar);
zzJ = zzbtVar36;
zzbt zzbtVar37 = new zzbt("FLOAT_LIST_PACKED", 36, 36, 3, zzcjVar2);
zzK = zzbtVar37;
zzbt zzbtVar38 = new zzbt("INT64_LIST_PACKED", 37, 37, 3, zzcjVar3);
zzL = zzbtVar38;
zzbt zzbtVar39 = new zzbt("UINT64_LIST_PACKED", 38, 38, 3, zzcjVar3);
zzM = zzbtVar39;
zzbt zzbtVar40 = new zzbt("INT32_LIST_PACKED", 39, 39, 3, zzcjVar4);
zzN = zzbtVar40;
zzbt zzbtVar41 = new zzbt("FIXED64_LIST_PACKED", 40, 40, 3, zzcjVar3);
zzO = zzbtVar41;
zzbt zzbtVar42 = new zzbt("FIXED32_LIST_PACKED", 41, 41, 3, zzcjVar4);
zzP = zzbtVar42;
zzbt zzbtVar43 = new zzbt("BOOL_LIST_PACKED", 42, 42, 3, zzcjVar5);
zzQ = zzbtVar43;
zzbt zzbtVar44 = new zzbt("UINT32_LIST_PACKED", 43, 43, 3, zzcjVar4);
zzR = zzbtVar44;
zzbt zzbtVar45 = new zzbt("ENUM_LIST_PACKED", 44, 44, 3, zzcjVar9);
zzS = zzbtVar45;
zzbt zzbtVar46 = new zzbt("SFIXED32_LIST_PACKED", 45, 45, 3, zzcjVar4);
zzT = zzbtVar46;
zzbt zzbtVar47 = new zzbt("SFIXED64_LIST_PACKED", 46, 46, 3, zzcjVar3);
zzU = zzbtVar47;
zzbt zzbtVar48 = new zzbt("SINT32_LIST_PACKED", 47, 47, 3, zzcjVar4);
zzV = zzbtVar48;
zzbt zzbtVar49 = new zzbt("SINT64_LIST_PACKED", 48, 48, 3, zzcjVar3);
zzW = zzbtVar49;
zzbt zzbtVar50 = new zzbt("GROUP_LIST", 49, 49, 2, zzcjVar7);
zzX = zzbtVar50;
zzbt zzbtVar51 = new zzbt("MAP", 50, 50, 4, zzcj.zza);
zzY = zzbtVar51;
zzaa = new zzbt[]{zzbtVar, zzbtVar2, zzbtVar3, zzbtVar4, zzbtVar5, zzbtVar6, zzbtVar7, zzbtVar8, zzbtVar9, zzbtVar10, zzbtVar11, zzbtVar12, zzbtVar13, zzbtVar14, zzbtVar15, zzbtVar16, zzbtVar17, zzbtVar18, zzbtVar19, zzbtVar20, zzbtVar21, zzbtVar22, zzbtVar23, zzbtVar24, zzbtVar25, zzbtVar26, zzbtVar27, zzbtVar28, zzbtVar29, zzbtVar30, zzbtVar31, zzbtVar32, zzbtVar33, zzbtVar34, zzbtVar35, zzbtVar36, zzbtVar37, zzbtVar38, zzbtVar39, zzbtVar40, zzbtVar41, zzbtVar42, zzbtVar43, zzbtVar44, zzbtVar45, zzbtVar46, zzbtVar47, zzbtVar48, zzbtVar49, zzbtVar50, zzbtVar51};
zzbt[] values = values();
zzZ = new zzbt[values.length];
for (zzbt zzbtVar52 : values) {
zzZ[zzbtVar52.zzac] = zzbtVar52;
}
}
private zzbt(String str, int i, int i2, int i3, zzcj zzcjVar) {
this.zzac = i2;
this.zzab = zzcjVar;
int i4 = i3 - 1;
if (i4 == 1) {
this.zzad = zzcjVar.zza();
} else if (i4 != 3) {
this.zzad = null;
} else {
this.zzad = zzcjVar.zza();
}
if (i3 == 1) {
zzcj zzcjVar2 = zzcj.zza;
zzcjVar.ordinal();
}
}
public static zzbt[] values() {
return (zzbt[]) zzaa.clone();
}
public final int zza() {
return this.zzac;
}
}

View File

@@ -0,0 +1,210 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractList;
import java.util.Arrays;
import java.util.Collection;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
final class zzbu extends zzal implements RandomAccess, zzcf, zzdm {
private static final zzbu zza = new zzbu(new float[0], 0, false);
private float[] zzb;
private int zzc;
public zzbu() {
this(new float[10], 0, true);
}
private final String zzf(int i) {
return "Index:" + i + ", Size:" + this.zzc;
}
private final void zzg(int i) {
if (i < 0 || i >= this.zzc) {
throw new IndexOutOfBoundsException(zzf(i));
}
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* synthetic */ void add(int i, Object obj) {
int i2;
float floatValue = ((Float) obj).floatValue();
zza();
if (i < 0 || i > (i2 = this.zzc)) {
throw new IndexOutOfBoundsException(zzf(i));
}
float[] fArr = this.zzb;
if (i2 < fArr.length) {
System.arraycopy(fArr, i, fArr, i + 1, i2 - i);
} else {
float[] fArr2 = new float[((i2 * 3) / 2) + 1];
System.arraycopy(fArr, 0, fArr2, 0, i);
System.arraycopy(this.zzb, i, fArr2, i + 1, this.zzc - i);
this.zzb = fArr2;
}
this.zzb[i] = floatValue;
this.zzc++;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean addAll(Collection collection) {
zza();
byte[] bArr = zzcg.zzd;
collection.getClass();
if (!(collection instanceof zzbu)) {
return super.addAll(collection);
}
zzbu zzbuVar = (zzbu) collection;
int i = zzbuVar.zzc;
if (i == 0) {
return false;
}
int i2 = this.zzc;
if (Integer.MAX_VALUE - i2 < i) {
throw new OutOfMemoryError();
}
int i3 = i2 + i;
float[] fArr = this.zzb;
if (i3 > fArr.length) {
this.zzb = Arrays.copyOf(fArr, i3);
}
System.arraycopy(zzbuVar.zzb, 0, this.zzb, this.zzc, zzbuVar.zzc);
this.zzc = i3;
((AbstractList) this).modCount++;
return true;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean contains(Object obj) {
return indexOf(obj) != -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzbu)) {
return super.equals(obj);
}
zzbu zzbuVar = (zzbu) obj;
if (this.zzc != zzbuVar.zzc) {
return false;
}
float[] fArr = zzbuVar.zzb;
for (int i = 0; i < this.zzc; i++) {
if (Float.floatToIntBits(this.zzb[i]) != Float.floatToIntBits(fArr[i])) {
return false;
}
}
return true;
}
@Override // java.util.AbstractList, java.util.List
public final /* synthetic */ Object get(int i) {
zzg(i);
return Float.valueOf(this.zzb[i]);
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final int hashCode() {
int i = 1;
for (int i2 = 0; i2 < this.zzc; i2++) {
i = (i * 31) + Float.floatToIntBits(this.zzb[i2]);
}
return i;
}
@Override // java.util.AbstractList, java.util.List
public final int indexOf(Object obj) {
if (!(obj instanceof Float)) {
return -1;
}
float floatValue = ((Float) obj).floatValue();
int i = this.zzc;
for (int i2 = 0; i2 < i; i2++) {
if (this.zzb[i2] == floatValue) {
return i2;
}
}
return -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object remove(int i) {
zza();
zzg(i);
float[] fArr = this.zzb;
float f = fArr[i];
if (i < this.zzc - 1) {
System.arraycopy(fArr, i + 1, fArr, i, (r2 - i) - 1);
}
this.zzc--;
((AbstractList) this).modCount++;
return Float.valueOf(f);
}
@Override // java.util.AbstractList
public final void removeRange(int i, int i2) {
zza();
if (i2 < i) {
throw new IndexOutOfBoundsException("toIndex < fromIndex");
}
float[] fArr = this.zzb;
System.arraycopy(fArr, i2, fArr, i, this.zzc - i2);
this.zzc -= i2 - i;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object set(int i, Object obj) {
float floatValue = ((Float) obj).floatValue();
zza();
zzg(i);
float[] fArr = this.zzb;
float f = fArr[i];
fArr[i] = floatValue;
return Float.valueOf(f);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final /* bridge */ /* synthetic */ zzcf zzd(int i) {
if (i >= this.zzc) {
return new zzbu(Arrays.copyOf(this.zzb, i), this.zzc, true);
}
throw new IllegalArgumentException();
}
public final void zze(float f) {
zza();
int i = this.zzc;
float[] fArr = this.zzb;
if (i == fArr.length) {
float[] fArr2 = new float[((i * 3) / 2) + 1];
System.arraycopy(fArr, 0, fArr2, 0, i);
this.zzb = fArr2;
}
float[] fArr3 = this.zzb;
int i2 = this.zzc;
this.zzc = i2 + 1;
fArr3[i2] = f;
}
private zzbu(float[] fArr, int i, boolean z) {
super(z);
this.zzb = fArr;
this.zzc = i;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ /* synthetic */ boolean add(Object obj) {
zze(((Float) obj).floatValue());
return true;
}
}

View File

@@ -0,0 +1,71 @@
package com.google.android.gms.internal.play_billing;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.ServiceConfigurationError;
import java.util.ServiceLoader;
import java.util.logging.Level;
import java.util.logging.Logger;
/* loaded from: classes3.dex */
abstract class zzbv {
private static final Logger zza = Logger.getLogger(zzbi.class.getName());
private static final String zzb = "com.google.protobuf.BlazeGeneratedExtensionRegistryLiteLoader";
public static zzbn zzb(Class cls) {
String format;
ClassLoader classLoader = zzbv.class.getClassLoader();
if (cls.equals(zzbn.class)) {
format = zzb;
} else {
if (!cls.getPackage().equals(zzbv.class.getPackage())) {
throw new IllegalArgumentException(cls.getName());
}
format = String.format("%s.BlazeGenerated%sLoader", cls.getPackage().getName(), cls.getSimpleName());
}
try {
try {
try {
return (zzbn) cls.cast(((zzbv) Class.forName(format, true, classLoader).getConstructor(new Class[0]).newInstance(new Object[0])).zza());
} catch (IllegalAccessException e) {
throw new IllegalStateException(e);
} catch (InvocationTargetException e2) {
throw new IllegalStateException(e2);
}
} catch (InstantiationException e3) {
throw new IllegalStateException(e3);
} catch (NoSuchMethodException e4) {
throw new IllegalStateException(e4);
}
} catch (ClassNotFoundException unused) {
Iterator it = ServiceLoader.load(zzbv.class, classLoader).iterator();
ArrayList arrayList = new ArrayList();
while (it.hasNext()) {
try {
arrayList.add((zzbn) cls.cast(((zzbv) it.next()).zza()));
} catch (ServiceConfigurationError e5) {
zza.logp(Level.SEVERE, "com.google.protobuf.GeneratedExtensionRegistryLoader", "load", "Unable to load ".concat(cls.getSimpleName()), (Throwable) e5);
}
}
if (arrayList.size() == 1) {
return (zzbn) arrayList.get(0);
}
if (arrayList.size() == 0) {
return null;
}
try {
return (zzbn) cls.getMethod("combine", Collection.class).invoke(null, arrayList);
} catch (IllegalAccessException e6) {
throw new IllegalStateException(e6);
} catch (NoSuchMethodException e7) {
throw new IllegalStateException(e7);
} catch (InvocationTargetException e8) {
throw new IllegalStateException(e8);
}
}
}
public abstract zzbn zza();
}

View File

@@ -0,0 +1,30 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzbw implements zzdd {
private static final zzbw zza = new zzbw();
private zzbw() {
}
public static zzbw zza() {
return zza;
}
@Override // com.google.android.gms.internal.play_billing.zzdd
public final zzdc zzb(Class cls) {
if (!zzcb.class.isAssignableFrom(cls)) {
throw new IllegalArgumentException("Unsupported message type: ".concat(cls.getName()));
}
try {
return (zzdc) zzcb.zzh(cls.asSubclass(zzcb.class)).zzu(3, null, null);
} catch (Exception e) {
throw new RuntimeException("Unable to get message info for ".concat(cls.getName()), e);
}
}
@Override // com.google.android.gms.internal.play_billing.zzdd
public final boolean zzc(Class cls) {
return zzcb.class.isAssignableFrom(cls);
}
}

View File

@@ -0,0 +1,62 @@
package com.google.android.gms.internal.play_billing;
import com.google.android.gms.internal.play_billing.zzbx;
import com.google.android.gms.internal.play_billing.zzcb;
/* loaded from: classes3.dex */
public class zzbx<MessageType extends zzcb<MessageType, BuilderType>, BuilderType extends zzbx<MessageType, BuilderType>> extends zzaj<MessageType, BuilderType> {
protected zzcb zza;
private final zzcb zzb;
public zzbx(MessageType messagetype) {
this.zzb = messagetype;
if (messagetype.zzt()) {
throw new IllegalArgumentException("Default instance must be immutable.");
}
this.zza = messagetype.zzi();
}
@Override // com.google.android.gms.internal.play_billing.zzaj
/* renamed from: zzb, reason: merged with bridge method [inline-methods] */
public final zzbx clone() {
zzbx zzbxVar = (zzbx) this.zzb.zzu(5, null, null);
zzbxVar.zza = zze();
return zzbxVar;
}
public final MessageType zzc() {
MessageType zze = zze();
if (zze.zzs()) {
return zze;
}
throw new zzef(zze);
}
@Override // com.google.android.gms.internal.play_billing.zzde
/* renamed from: zzd, reason: merged with bridge method [inline-methods] */
public MessageType zze() {
if (!this.zza.zzt()) {
return (MessageType) this.zza;
}
this.zza.zzn();
return (MessageType) this.zza;
}
@Override // com.google.android.gms.internal.play_billing.zzdg
public final /* bridge */ /* synthetic */ zzdf zzf() {
throw null;
}
public final void zzg() {
if (this.zza.zzt()) {
return;
}
zzh();
}
public void zzh() {
zzcb zzi = this.zzb.zzi();
zzdn.zza().zzb(zzi.getClass()).zzg(zzi, this.zza);
this.zza = zzi;
}
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public abstract class zzby extends zzcb implements zzdg {
protected final zzbs zzb = zzbs.zza();
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public final class zzbz extends zzbl {
}

View File

@@ -0,0 +1,184 @@
package com.google.android.gms.internal.play_billing;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Parcel;
import android.os.RemoteException;
/* loaded from: classes3.dex */
public final class zzc extends zzh implements zze {
public zzc(IBinder iBinder) {
super(iBinder, "com.android.vending.billing.IInAppBillingService");
}
@Override // com.google.android.gms.internal.play_billing.zze
public final int zza(int i, String str, String str2) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(3);
zzn.writeString(str);
zzn.writeString(str2);
Parcel zzo = zzo(5, zzn);
int readInt = zzo.readInt();
zzo.recycle();
return readInt;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final int zzc(int i, String str, String str2, Bundle bundle) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(i);
zzn.writeString(str);
zzn.writeString(str2);
zzj.zzb(zzn, bundle);
Parcel zzo = zzo(10, zzn);
int readInt = zzo.readInt();
zzo.recycle();
return readInt;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzd(int i, String str, String str2, Bundle bundle) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(9);
zzn.writeString(str);
zzn.writeString(str2);
zzj.zzb(zzn, bundle);
Parcel zzo = zzo(902, zzn);
Bundle bundle2 = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle2;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zze(int i, String str, String str2, Bundle bundle) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(9);
zzn.writeString(str);
zzn.writeString(str2);
zzj.zzb(zzn, bundle);
Parcel zzo = zzo(12, zzn);
Bundle bundle2 = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle2;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzf(int i, String str, String str2, String str3, String str4) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(3);
zzn.writeString(str);
zzn.writeString(str2);
zzn.writeString(str3);
zzn.writeString(null);
Parcel zzo = zzo(3, zzn);
Bundle bundle = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzg(int i, String str, String str2, String str3, String str4, Bundle bundle) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(i);
zzn.writeString(str);
zzn.writeString(str2);
zzn.writeString(str3);
zzn.writeString(null);
zzj.zzb(zzn, bundle);
Parcel zzo = zzo(8, zzn);
Bundle bundle2 = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle2;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzh(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(6);
zzn.writeString(str);
zzn.writeString(str2);
zzn.writeString(str3);
zzj.zzb(zzn, bundle);
Parcel zzo = zzo(9, zzn);
Bundle bundle2 = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle2;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzi(int i, String str, String str2, String str3) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(3);
zzn.writeString(str);
zzn.writeString(str2);
zzn.writeString(str3);
Parcel zzo = zzo(4, zzn);
Bundle bundle = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzj(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(i);
zzn.writeString(str);
zzn.writeString(str2);
zzn.writeString(str3);
zzj.zzb(zzn, bundle);
Parcel zzo = zzo(11, zzn);
Bundle bundle2 = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle2;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzk(int i, String str, String str2, Bundle bundle) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(3);
zzn.writeString(str);
zzn.writeString(str2);
zzj.zzb(zzn, bundle);
Parcel zzo = zzo(2, zzn);
Bundle bundle2 = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle2;
}
@Override // com.google.android.gms.internal.play_billing.zze
public final Bundle zzl(int i, String str, String str2, Bundle bundle, Bundle bundle2) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(i);
zzn.writeString(str);
zzn.writeString(str2);
zzj.zzb(zzn, bundle);
zzj.zzb(zzn, bundle2);
Parcel zzo = zzo(901, zzn);
Bundle bundle3 = (Bundle) zzj.zza(zzo, Bundle.CREATOR);
zzo.recycle();
return bundle3;
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.internal.play_billing.zze
public final void zzm(int i, String str, Bundle bundle, zzg zzgVar) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(12);
zzn.writeString(str);
zzj.zzb(zzn, bundle);
zzn.writeStrongBinder(zzgVar);
zzp(1201, zzn);
}
@Override // com.google.android.gms.internal.play_billing.zze
public final int zzq(int i, String str, String str2) throws RemoteException {
Parcel zzn = zzn();
zzn.writeInt(i);
zzn.writeString(str);
zzn.writeString(str2);
Parcel zzo = zzo(1, zzn);
int readInt = zzo.readInt();
zzo.recycle();
return readInt;
}
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public final class zzca {
public static int[] zza() {
return new int[]{1, 2, 3, 4, 5, 6, 7};
}
}

View File

@@ -0,0 +1,233 @@
package com.google.android.gms.internal.play_billing;
import com.google.android.gms.internal.play_billing.zzbx;
import com.google.android.gms.internal.play_billing.zzcb;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/* loaded from: classes3.dex */
public abstract class zzcb<MessageType extends zzcb<MessageType, BuilderType>, BuilderType extends zzbx<MessageType, BuilderType>> extends zzak<MessageType, BuilderType> {
private static final Map zzb = new ConcurrentHashMap();
private int zzd = -1;
protected zzeh zzc = zzeh.zzc();
public static zzcb zzh(Class cls) {
Map map = zzb;
zzcb zzcbVar = (zzcb) map.get(cls);
if (zzcbVar == null) {
try {
Class.forName(cls.getName(), true, cls.getClassLoader());
zzcbVar = (zzcb) map.get(cls);
} catch (ClassNotFoundException e) {
throw new IllegalStateException("Class initialization cannot fail.", e);
}
}
if (zzcbVar == null) {
zzcbVar = (zzcb) ((zzcb) zzeq.zze(cls)).zzu(6, null, null);
if (zzcbVar == null) {
throw new IllegalStateException();
}
map.put(cls, zzcbVar);
}
return zzcbVar;
}
public static zzcb zzj(zzcb zzcbVar, byte[] bArr, zzbn zzbnVar) throws zzci {
zzcb zzw = zzw(zzcbVar, bArr, 0, bArr.length, zzbnVar);
if (zzw == null || zzw.zzs()) {
return zzw;
}
zzci zza = new zzef(zzw).zza();
zza.zzf(zzw);
throw zza;
}
public static Object zzl(Method method, Object obj, Object... objArr) {
try {
return method.invoke(obj, objArr);
} catch (IllegalAccessException e) {
throw new RuntimeException("Couldn't use Java reflection to implement protocol message reflection.", e);
} catch (InvocationTargetException e2) {
Throwable cause = e2.getCause();
if (cause instanceof RuntimeException) {
throw ((RuntimeException) cause);
}
if (cause instanceof Error) {
throw ((Error) cause);
}
throw new RuntimeException("Unexpected exception thrown by generated accessor method.", cause);
}
}
public static Object zzm(zzdf zzdfVar, String str, Object[] objArr) {
return new zzdo(zzdfVar, str, objArr);
}
public static void zzp(Class cls, zzcb zzcbVar) {
zzcbVar.zzo();
zzb.put(cls, zzcbVar);
}
private final int zzv(zzdp zzdpVar) {
return zzdn.zza().zzb(getClass()).zza(this);
}
private static zzcb zzw(zzcb zzcbVar, byte[] bArr, int i, int i2, zzbn zzbnVar) throws zzci {
zzcb zzi = zzcbVar.zzi();
try {
zzdp zzb2 = zzdn.zza().zzb(zzi.getClass());
zzb2.zzh(zzi, bArr, 0, i2, new zzan(zzbnVar));
zzb2.zzf(zzi);
return zzi;
} catch (zzci e) {
e.zzf(zzi);
throw e;
} catch (zzef e2) {
zzci zza = e2.zza();
zza.zzf(zzi);
throw zza;
} catch (IOException e3) {
if (e3.getCause() instanceof zzci) {
throw ((zzci) e3.getCause());
}
zzci zzciVar = new zzci(e3);
zzciVar.zzf(zzi);
throw zzciVar;
} catch (IndexOutOfBoundsException unused) {
zzci zzg = zzci.zzg();
zzg.zzf(zzi);
throw zzg;
}
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
return zzdn.zza().zzb(getClass()).zzj(this, (zzcb) obj);
}
public final int hashCode() {
if (zzt()) {
return zzd();
}
int i = this.zza;
if (i != 0) {
return i;
}
int zzd = zzd();
this.zza = zzd;
return zzd;
}
public final String toString() {
return zzdh.zza(this, super.toString());
}
@Override // com.google.android.gms.internal.play_billing.zzak
public final int zza(zzdp zzdpVar) {
if (zzt()) {
int zza = zzdpVar.zza(this);
if (zza >= 0) {
return zza;
}
throw new IllegalStateException("serialized size must be non-negative, was " + zza);
}
int i = this.zzd & Integer.MAX_VALUE;
if (i != Integer.MAX_VALUE) {
return i;
}
int zza2 = zzdpVar.zza(this);
if (zza2 >= 0) {
this.zzd = (this.zzd & Integer.MIN_VALUE) | zza2;
return zza2;
}
throw new IllegalStateException("serialized size must be non-negative, was " + zza2);
}
public final int zzd() {
return zzdn.zza().zzb(getClass()).zzb(this);
}
@Override // com.google.android.gms.internal.play_billing.zzdg
public final /* synthetic */ zzdf zzf() {
return (zzcb) zzu(6, null, null);
}
public final zzbx zzg() {
return (zzbx) zzu(5, null, null);
}
public final zzcb zzi() {
return (zzcb) zzu(4, null, null);
}
@Override // com.google.android.gms.internal.play_billing.zzdf
public final /* synthetic */ zzde zzk() {
return (zzbx) zzu(5, null, null);
}
public final void zzn() {
zzdn.zza().zzb(getClass()).zzf(this);
zzo();
}
public final void zzo() {
this.zzd &= Integer.MAX_VALUE;
}
public final void zzq(int i) {
this.zzd = (this.zzd & Integer.MIN_VALUE) | Integer.MAX_VALUE;
}
@Override // com.google.android.gms.internal.play_billing.zzdf
public final void zzr(zzbi zzbiVar) throws IOException {
zzdn.zza().zzb(getClass()).zzi(this, zzbj.zza(zzbiVar));
}
public final boolean zzt() {
return (this.zzd & Integer.MIN_VALUE) != 0;
}
public abstract Object zzu(int i, Object obj, Object obj2);
public final boolean zzs() {
byte byteValue = ((Byte) zzu(1, null, null)).byteValue();
if (byteValue == 1) {
return true;
}
if (byteValue == 0) {
return false;
}
boolean zzk = zzdn.zza().zzb(getClass()).zzk(this);
zzu(2, true != zzk ? null : this, null);
return zzk;
}
@Override // com.google.android.gms.internal.play_billing.zzdf
public final int zze() {
int i;
if (zzt()) {
i = zzv(null);
if (i < 0) {
throw new IllegalStateException("serialized size must be non-negative, was " + i);
}
} else {
i = this.zzd & Integer.MAX_VALUE;
if (i == Integer.MAX_VALUE) {
i = zzv(null);
if (i < 0) {
throw new IllegalStateException("serialized size must be non-negative, was " + i);
}
this.zzd = (this.zzd & Integer.MIN_VALUE) | i;
}
}
return i;
}
}

View File

@@ -0,0 +1,215 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractList;
import java.util.Arrays;
import java.util.Collection;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
final class zzcc extends zzal implements RandomAccess, zzcf, zzdm {
private static final zzcc zza = new zzcc(new int[0], 0, false);
private int[] zzb;
private int zzc;
public zzcc() {
this(new int[10], 0, true);
}
private final String zzg(int i) {
return "Index:" + i + ", Size:" + this.zzc;
}
private final void zzh(int i) {
if (i < 0 || i >= this.zzc) {
throw new IndexOutOfBoundsException(zzg(i));
}
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* synthetic */ void add(int i, Object obj) {
int i2;
int intValue = ((Integer) obj).intValue();
zza();
if (i < 0 || i > (i2 = this.zzc)) {
throw new IndexOutOfBoundsException(zzg(i));
}
int[] iArr = this.zzb;
if (i2 < iArr.length) {
System.arraycopy(iArr, i, iArr, i + 1, i2 - i);
} else {
int[] iArr2 = new int[((i2 * 3) / 2) + 1];
System.arraycopy(iArr, 0, iArr2, 0, i);
System.arraycopy(this.zzb, i, iArr2, i + 1, this.zzc - i);
this.zzb = iArr2;
}
this.zzb[i] = intValue;
this.zzc++;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean addAll(Collection collection) {
zza();
byte[] bArr = zzcg.zzd;
collection.getClass();
if (!(collection instanceof zzcc)) {
return super.addAll(collection);
}
zzcc zzccVar = (zzcc) collection;
int i = zzccVar.zzc;
if (i == 0) {
return false;
}
int i2 = this.zzc;
if (Integer.MAX_VALUE - i2 < i) {
throw new OutOfMemoryError();
}
int i3 = i2 + i;
int[] iArr = this.zzb;
if (i3 > iArr.length) {
this.zzb = Arrays.copyOf(iArr, i3);
}
System.arraycopy(zzccVar.zzb, 0, this.zzb, this.zzc, zzccVar.zzc);
this.zzc = i3;
((AbstractList) this).modCount++;
return true;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean contains(Object obj) {
return indexOf(obj) != -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzcc)) {
return super.equals(obj);
}
zzcc zzccVar = (zzcc) obj;
if (this.zzc != zzccVar.zzc) {
return false;
}
int[] iArr = zzccVar.zzb;
for (int i = 0; i < this.zzc; i++) {
if (this.zzb[i] != iArr[i]) {
return false;
}
}
return true;
}
@Override // java.util.AbstractList, java.util.List
public final /* synthetic */ Object get(int i) {
zzh(i);
return Integer.valueOf(this.zzb[i]);
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final int hashCode() {
int i = 1;
for (int i2 = 0; i2 < this.zzc; i2++) {
i = (i * 31) + this.zzb[i2];
}
return i;
}
@Override // java.util.AbstractList, java.util.List
public final int indexOf(Object obj) {
if (!(obj instanceof Integer)) {
return -1;
}
int intValue = ((Integer) obj).intValue();
int i = this.zzc;
for (int i2 = 0; i2 < i; i2++) {
if (this.zzb[i2] == intValue) {
return i2;
}
}
return -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object remove(int i) {
zza();
zzh(i);
int[] iArr = this.zzb;
int i2 = iArr[i];
if (i < this.zzc - 1) {
System.arraycopy(iArr, i + 1, iArr, i, (r2 - i) - 1);
}
this.zzc--;
((AbstractList) this).modCount++;
return Integer.valueOf(i2);
}
@Override // java.util.AbstractList
public final void removeRange(int i, int i2) {
zza();
if (i2 < i) {
throw new IndexOutOfBoundsException("toIndex < fromIndex");
}
int[] iArr = this.zzb;
System.arraycopy(iArr, i2, iArr, i, this.zzc - i2);
this.zzc -= i2 - i;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object set(int i, Object obj) {
int intValue = ((Integer) obj).intValue();
zza();
zzh(i);
int[] iArr = this.zzb;
int i2 = iArr[i];
iArr[i] = intValue;
return Integer.valueOf(i2);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final /* bridge */ /* synthetic */ zzcf zzd(int i) {
if (i >= this.zzc) {
return new zzcc(Arrays.copyOf(this.zzb, i), this.zzc, true);
}
throw new IllegalArgumentException();
}
public final int zze(int i) {
zzh(i);
return this.zzb[i];
}
public final void zzf(int i) {
zza();
int i2 = this.zzc;
int[] iArr = this.zzb;
if (i2 == iArr.length) {
int[] iArr2 = new int[((i2 * 3) / 2) + 1];
System.arraycopy(iArr, 0, iArr2, 0, i2);
this.zzb = iArr2;
}
int[] iArr3 = this.zzb;
int i3 = this.zzc;
this.zzc = i3 + 1;
iArr3[i3] = i;
}
private zzcc(int[] iArr, int i, boolean z) {
super(z);
this.zzb = iArr;
this.zzc = i;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ /* synthetic */ boolean add(Object obj) {
zzf(((Integer) obj).intValue());
return true;
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public interface zzcd {
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public interface zzce {
boolean zza(int i);
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.internal.play_billing;
import java.util.List;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
public interface zzcf extends List, RandomAccess {
void zzb();
boolean zzc();
zzcf zzd(int i);
}

View File

@@ -0,0 +1,50 @@
package com.google.android.gms.internal.play_billing;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
/* loaded from: classes3.dex */
public final class zzcg {
static final Charset zza = Charset.forName("US-ASCII");
static final Charset zzb = Charset.forName("UTF-8");
static final Charset zzc = Charset.forName("ISO-8859-1");
public static final byte[] zzd;
public static final ByteBuffer zze;
public static final zzbe zzf;
static {
byte[] bArr = new byte[0];
zzd = bArr;
zze = ByteBuffer.wrap(bArr);
int i = zzbe.zza;
zzbc zzbcVar = new zzbc(bArr, 0, 0, false, null);
try {
zzbcVar.zza(0);
zzf = zzbcVar;
} catch (zzci e) {
throw new IllegalArgumentException(e);
}
}
public static int zza(boolean z) {
return z ? 1231 : 1237;
}
public static int zzb(int i, byte[] bArr, int i2, int i3) {
for (int i4 = 0; i4 < i3; i4++) {
i = (i * 31) + bArr[i4];
}
return i;
}
public static Object zzc(Object obj, String str) {
if (obj != null) {
return obj;
}
throw new NullPointerException("messageType");
}
public static String zzd(byte[] bArr) {
return new String(bArr, zzb);
}
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public final class zzch extends zzci {
public zzch(String str) {
super("Protocol message tag had invalid wire type.");
}
}

View File

@@ -0,0 +1,47 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
/* loaded from: classes3.dex */
public class zzci extends IOException {
private zzdf zza;
public zzci(IOException iOException) {
super(iOException.getMessage(), iOException);
this.zza = null;
}
public static zzch zza() {
return new zzch("Protocol message tag had invalid wire type.");
}
public static zzci zzb() {
return new zzci("Protocol message contained an invalid tag (zero).");
}
public static zzci zzc() {
return new zzci("Protocol message had invalid UTF-8.");
}
public static zzci zzd() {
return new zzci("CodedInputStream encountered an embedded string or message which claimed to have negative size.");
}
public static zzci zze() {
return new zzci("Failed to parse the message.");
}
public static zzci zzg() {
return new zzci("While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.");
}
public final zzci zzf(zzdf zzdfVar) {
this.zza = zzdfVar;
return this;
}
public zzci(String str) {
super(str);
this.zza = null;
}
}

View File

@@ -0,0 +1,68 @@
package com.google.android.gms.internal.play_billing;
/* JADX WARN: Enum visitor error
jadx.core.utils.exceptions.JadxRuntimeException: Init of enum field 'zzb' uses external variables
at jadx.core.dex.visitors.EnumVisitor.createEnumFieldByConstructor(EnumVisitor.java:451)
at jadx.core.dex.visitors.EnumVisitor.processEnumFieldByRegister(EnumVisitor.java:395)
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromFilledArray(EnumVisitor.java:324)
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromInsn(EnumVisitor.java:262)
at jadx.core.dex.visitors.EnumVisitor.convertToEnum(EnumVisitor.java:151)
at jadx.core.dex.visitors.EnumVisitor.visit(EnumVisitor.java:100)
*/
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* loaded from: classes3.dex */
public final class zzcj {
public static final zzcj zza;
public static final zzcj zzb;
public static final zzcj zzc;
public static final zzcj zzd;
public static final zzcj zze;
public static final zzcj zzf;
public static final zzcj zzg;
public static final zzcj zzh;
public static final zzcj zzi;
public static final zzcj zzj;
private static final /* synthetic */ zzcj[] zzk;
private final Class zzl;
private final Class zzm;
private final Object zzn;
static {
zzcj zzcjVar = new zzcj("VOID", 0, Void.class, Void.class, null);
zza = zzcjVar;
Class cls = Integer.TYPE;
zzcj zzcjVar2 = new zzcj("INT", 1, cls, Integer.class, 0);
zzb = zzcjVar2;
zzcj zzcjVar3 = new zzcj("LONG", 2, Long.TYPE, Long.class, 0L);
zzc = zzcjVar3;
zzcj zzcjVar4 = new zzcj("FLOAT", 3, Float.TYPE, Float.class, Float.valueOf(0.0f));
zzd = zzcjVar4;
zzcj zzcjVar5 = new zzcj("DOUBLE", 4, Double.TYPE, Double.class, Double.valueOf(0.0d));
zze = zzcjVar5;
zzcj zzcjVar6 = new zzcj("BOOLEAN", 5, Boolean.TYPE, Boolean.class, Boolean.FALSE);
zzf = zzcjVar6;
zzcj zzcjVar7 = new zzcj("STRING", 6, String.class, String.class, "");
zzg = zzcjVar7;
zzcj zzcjVar8 = new zzcj("BYTE_STRING", 7, zzba.class, zzba.class, zzba.zzb);
zzh = zzcjVar8;
zzcj zzcjVar9 = new zzcj("ENUM", 8, cls, Integer.class, null);
zzi = zzcjVar9;
zzcj zzcjVar10 = new zzcj("MESSAGE", 9, Object.class, Object.class, null);
zzj = zzcjVar10;
zzk = new zzcj[]{zzcjVar, zzcjVar2, zzcjVar3, zzcjVar4, zzcjVar5, zzcjVar6, zzcjVar7, zzcjVar8, zzcjVar9, zzcjVar10};
}
private zzcj(String str, int i, Class cls, Class cls2, Object obj) {
this.zzl = cls;
this.zzm = cls2;
this.zzn = obj;
}
public static zzcj[] values() {
return (zzcj[]) zzk.clone();
}
public final Class zza() {
return this.zzm;
}
}

View File

@@ -0,0 +1,18 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public final class zzck extends zzcl {
@Override // com.google.android.gms.internal.play_billing.zzcl
public final boolean equals(Object obj) {
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzcl
public final int hashCode() {
throw null;
}
public final String toString() {
throw null;
}
}

View File

@@ -0,0 +1,84 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public class zzcl {
private static final zzbn zzb = zzbn.zza;
protected volatile zzdf zza;
private volatile zzba zzc;
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzcl)) {
return false;
}
zzcl zzclVar = (zzcl) obj;
zzdf zzdfVar = this.zza;
zzdf zzdfVar2 = zzclVar.zza;
if (zzdfVar == null && zzdfVar2 == null) {
return zzb().equals(zzclVar.zzb());
}
if (zzdfVar != null && zzdfVar2 != null) {
return zzdfVar.equals(zzdfVar2);
}
if (zzdfVar != null) {
zzclVar.zzc(zzdfVar.zzf());
return zzdfVar.equals(zzclVar.zza);
}
zzc(zzdfVar2.zzf());
return this.zza.equals(zzdfVar2);
}
public int hashCode() {
return 1;
}
public final int zza() {
if (this.zzc != null) {
return ((zzax) this.zzc).zza.length;
}
if (this.zza != null) {
return this.zza.zze();
}
return 0;
}
public final zzba zzb() {
if (this.zzc != null) {
return this.zzc;
}
synchronized (this) {
try {
if (this.zzc != null) {
return this.zzc;
}
if (this.zza == null) {
this.zzc = zzba.zzb;
} else {
this.zzc = this.zza.zzb();
}
return this.zzc;
} catch (Throwable th) {
throw th;
}
}
}
public final void zzc(zzdf zzdfVar) {
if (this.zza != null) {
return;
}
synchronized (this) {
if (this.zza == null) {
try {
this.zza = zzdfVar;
this.zzc = zzba.zzb;
} catch (zzci unused) {
this.zza = zzdfVar;
this.zzc = zzba.zzb;
}
}
}
}
}

View File

@@ -0,0 +1,145 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
public final class zzcm extends zzal implements RandomAccess, zzcn {
@Deprecated
public static final zzcn zza;
private static final zzcm zzb;
private final List zzc;
static {
zzcm zzcmVar = new zzcm(false);
zzb = zzcmVar;
zza = zzcmVar;
}
public zzcm() {
this(10);
}
private static String zzi(Object obj) {
return obj instanceof String ? (String) obj : obj instanceof zzba ? ((zzba) obj).zzm(zzcg.zzb) : zzcg.zzd((byte[]) obj);
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ void add(int i, Object obj) {
zza();
this.zzc.add(i, (String) obj);
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final boolean addAll(int i, Collection collection) {
zza();
if (collection instanceof zzcn) {
collection = ((zzcn) collection).zzh();
}
boolean addAll = this.zzc.addAll(i, collection);
((AbstractList) this).modCount++;
return addAll;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final void clear() {
zza();
this.zzc.clear();
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object remove(int i) {
zza();
Object remove = this.zzc.remove(i);
((AbstractList) this).modCount++;
return zzi(remove);
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object set(int i, Object obj) {
zza();
return zzi(this.zzc.set(i, (String) obj));
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc.size();
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final /* bridge */ /* synthetic */ zzcf zzd(int i) {
if (i < size()) {
throw new IllegalArgumentException();
}
ArrayList arrayList = new ArrayList(i);
arrayList.addAll(this.zzc);
return new zzcm(arrayList);
}
@Override // com.google.android.gms.internal.play_billing.zzcn
public final zzcn zze() {
return zzc() ? new zzel(this) : this;
}
@Override // com.google.android.gms.internal.play_billing.zzcn
public final Object zzf(int i) {
return this.zzc.get(i);
}
@Override // java.util.AbstractList, java.util.List
/* renamed from: zzg, reason: merged with bridge method [inline-methods] */
public final String get(int i) {
Object obj = this.zzc.get(i);
if (obj instanceof String) {
return (String) obj;
}
if (obj instanceof zzba) {
zzba zzbaVar = (zzba) obj;
String zzm = zzbaVar.zzm(zzcg.zzb);
if (zzbaVar.zzi()) {
this.zzc.set(i, zzm);
}
return zzm;
}
byte[] bArr = (byte[]) obj;
String zzd = zzcg.zzd(bArr);
if (zzev.zzd(bArr)) {
this.zzc.set(i, zzd);
}
return zzd;
}
@Override // com.google.android.gms.internal.play_billing.zzcn
public final List zzh() {
return Collections.unmodifiableList(this.zzc);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public zzcm(int i) {
super(true);
ArrayList arrayList = new ArrayList(i);
this.zzc = arrayList;
}
private zzcm(ArrayList arrayList) {
super(true);
this.zzc = arrayList;
}
private zzcm(boolean z) {
super(false);
this.zzc = Collections.emptyList();
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean addAll(Collection collection) {
return addAll(size(), collection);
}
}

View File

@@ -0,0 +1,12 @@
package com.google.android.gms.internal.play_billing;
import java.util.List;
/* loaded from: classes3.dex */
public interface zzcn extends List {
zzcn zze();
Object zzf(int i);
List zzh();
}

View File

@@ -0,0 +1,82 @@
package com.google.android.gms.internal.play_billing;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/* loaded from: classes3.dex */
final class zzcp extends zzct {
private static final Class zza = Collections.unmodifiableList(Collections.emptyList()).getClass();
private zzcp() {
super(null);
}
public /* synthetic */ zzcp(zzco zzcoVar) {
super(null);
}
@Override // com.google.android.gms.internal.play_billing.zzct
public final void zza(Object obj, long j) {
Object unmodifiableList;
List list = (List) zzeq.zzf(obj, j);
if (list instanceof zzcn) {
unmodifiableList = ((zzcn) list).zze();
} else {
if (zza.isAssignableFrom(list.getClass())) {
return;
}
if ((list instanceof zzdm) && (list instanceof zzcf)) {
zzcf zzcfVar = (zzcf) list;
if (zzcfVar.zzc()) {
zzcfVar.zzb();
return;
}
return;
}
unmodifiableList = Collections.unmodifiableList(list);
}
zzeq.zzs(obj, j, unmodifiableList);
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.internal.play_billing.zzct
public final void zzb(Object obj, Object obj2, long j) {
zzcm zzcmVar;
List list = (List) zzeq.zzf(obj2, j);
int size = list.size();
List list2 = (List) zzeq.zzf(obj, j);
if (list2.isEmpty()) {
list2 = list2 instanceof zzcn ? new zzcm(size) : ((list2 instanceof zzdm) && (list2 instanceof zzcf)) ? ((zzcf) list2).zzd(size) : new ArrayList(size);
zzeq.zzs(obj, j, list2);
} else {
if (zza.isAssignableFrom(list2.getClass())) {
ArrayList arrayList = new ArrayList(list2.size() + size);
arrayList.addAll(list2);
zzeq.zzs(obj, j, arrayList);
zzcmVar = arrayList;
} else if (list2 instanceof zzel) {
zzcm zzcmVar2 = new zzcm(list2.size() + size);
zzcmVar2.addAll(zzcmVar2.size(), (zzel) list2);
zzeq.zzs(obj, j, zzcmVar2);
zzcmVar = zzcmVar2;
} else if ((list2 instanceof zzdm) && (list2 instanceof zzcf)) {
zzcf zzcfVar = (zzcf) list2;
if (!zzcfVar.zzc()) {
list2 = zzcfVar.zzd(list2.size() + size);
zzeq.zzs(obj, j, list2);
}
}
list2 = zzcmVar;
}
int size2 = list2.size();
int size3 = list.size();
if (size2 > 0 && size3 > 0) {
list2.addAll(list);
}
if (size2 > 0) {
list = list2;
}
zzeq.zzs(obj, j, list);
}
}

View File

@@ -0,0 +1,35 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzcr extends zzct {
private zzcr() {
super(null);
}
public /* synthetic */ zzcr(zzcq zzcqVar) {
super(null);
}
@Override // com.google.android.gms.internal.play_billing.zzct
public final void zza(Object obj, long j) {
((zzcf) zzeq.zzf(obj, j)).zzb();
}
@Override // com.google.android.gms.internal.play_billing.zzct
public final void zzb(Object obj, Object obj2, long j) {
zzcf zzcfVar = (zzcf) zzeq.zzf(obj, j);
zzcf zzcfVar2 = (zzcf) zzeq.zzf(obj2, j);
int size = zzcfVar.size();
int size2 = zzcfVar2.size();
if (size > 0 && size2 > 0) {
if (!zzcfVar.zzc()) {
zzcfVar = zzcfVar.zzd(size2 + size);
}
zzcfVar.addAll(zzcfVar2);
}
if (size > 0) {
zzcfVar2 = zzcfVar;
}
zzeq.zzs(obj, j, zzcfVar2);
}
}

View File

@@ -0,0 +1,22 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
abstract class zzct {
private static final zzct zza = new zzcp(null);
private static final zzct zzb = new zzcr(0 == true ? 1 : 0);
public /* synthetic */ zzct(zzcs zzcsVar) {
}
public static zzct zzc() {
return zza;
}
public static zzct zzd() {
return zzb;
}
public abstract void zza(Object obj, long j);
public abstract void zzb(Object obj, Object obj2, long j);
}

View File

@@ -0,0 +1,217 @@
package com.google.android.gms.internal.play_billing;
import java.util.AbstractList;
import java.util.Arrays;
import java.util.Collection;
import java.util.RandomAccess;
/* loaded from: classes3.dex */
final class zzcu extends zzal implements RandomAccess, zzcf, zzdm {
private static final zzcu zza = new zzcu(new long[0], 0, false);
private long[] zzb;
private int zzc;
public zzcu() {
this(new long[10], 0, true);
}
private final String zzg(int i) {
return "Index:" + i + ", Size:" + this.zzc;
}
private final void zzh(int i) {
if (i < 0 || i >= this.zzc) {
throw new IndexOutOfBoundsException(zzg(i));
}
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* synthetic */ void add(int i, Object obj) {
int i2;
long longValue = ((Long) obj).longValue();
zza();
if (i < 0 || i > (i2 = this.zzc)) {
throw new IndexOutOfBoundsException(zzg(i));
}
long[] jArr = this.zzb;
if (i2 < jArr.length) {
System.arraycopy(jArr, i, jArr, i + 1, i2 - i);
} else {
long[] jArr2 = new long[((i2 * 3) / 2) + 1];
System.arraycopy(jArr, 0, jArr2, 0, i);
System.arraycopy(this.zzb, i, jArr2, i + 1, this.zzc - i);
this.zzb = jArr2;
}
this.zzb[i] = longValue;
this.zzc++;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean addAll(Collection collection) {
zza();
byte[] bArr = zzcg.zzd;
collection.getClass();
if (!(collection instanceof zzcu)) {
return super.addAll(collection);
}
zzcu zzcuVar = (zzcu) collection;
int i = zzcuVar.zzc;
if (i == 0) {
return false;
}
int i2 = this.zzc;
if (Integer.MAX_VALUE - i2 < i) {
throw new OutOfMemoryError();
}
int i3 = i2 + i;
long[] jArr = this.zzb;
if (i3 > jArr.length) {
this.zzb = Arrays.copyOf(jArr, i3);
}
System.arraycopy(zzcuVar.zzb, 0, this.zzb, this.zzc, zzcuVar.zzc);
this.zzc = i3;
((AbstractList) this).modCount++;
return true;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean contains(Object obj) {
return indexOf(obj) != -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzcu)) {
return super.equals(obj);
}
zzcu zzcuVar = (zzcu) obj;
if (this.zzc != zzcuVar.zzc) {
return false;
}
long[] jArr = zzcuVar.zzb;
for (int i = 0; i < this.zzc; i++) {
if (this.zzb[i] != jArr[i]) {
return false;
}
}
return true;
}
@Override // java.util.AbstractList, java.util.List
public final /* synthetic */ Object get(int i) {
zzh(i);
return Long.valueOf(this.zzb[i]);
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.Collection, java.util.List
public final int hashCode() {
int i = 1;
for (int i2 = 0; i2 < this.zzc; i2++) {
long j = this.zzb[i2];
byte[] bArr = zzcg.zzd;
i = (i * 31) + ((int) (j ^ (j >>> 32)));
}
return i;
}
@Override // java.util.AbstractList, java.util.List
public final int indexOf(Object obj) {
if (!(obj instanceof Long)) {
return -1;
}
long longValue = ((Long) obj).longValue();
int i = this.zzc;
for (int i2 = 0; i2 < i; i2++) {
if (this.zzb[i2] == longValue) {
return i2;
}
}
return -1;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object remove(int i) {
zza();
zzh(i);
long[] jArr = this.zzb;
long j = jArr[i];
if (i < this.zzc - 1) {
System.arraycopy(jArr, i + 1, jArr, i, (r3 - i) - 1);
}
this.zzc--;
((AbstractList) this).modCount++;
return Long.valueOf(j);
}
@Override // java.util.AbstractList
public final void removeRange(int i, int i2) {
zza();
if (i2 < i) {
throw new IndexOutOfBoundsException("toIndex < fromIndex");
}
long[] jArr = this.zzb;
System.arraycopy(jArr, i2, jArr, i, this.zzc - i2);
this.zzc -= i2 - i;
((AbstractList) this).modCount++;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.List
public final /* bridge */ /* synthetic */ Object set(int i, Object obj) {
long longValue = ((Long) obj).longValue();
zza();
zzh(i);
long[] jArr = this.zzb;
long j = jArr[i];
jArr[i] = longValue;
return Long.valueOf(j);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzc;
}
@Override // com.google.android.gms.internal.play_billing.zzcf
public final /* bridge */ /* synthetic */ zzcf zzd(int i) {
if (i >= this.zzc) {
return new zzcu(Arrays.copyOf(this.zzb, i), this.zzc, true);
}
throw new IllegalArgumentException();
}
public final long zze(int i) {
zzh(i);
return this.zzb[i];
}
public final void zzf(long j) {
zza();
int i = this.zzc;
long[] jArr = this.zzb;
if (i == jArr.length) {
long[] jArr2 = new long[((i * 3) / 2) + 1];
System.arraycopy(jArr, 0, jArr2, 0, i);
this.zzb = jArr2;
}
long[] jArr3 = this.zzb;
int i2 = this.zzc;
this.zzc = i2 + 1;
jArr3[i2] = j;
}
private zzcu(long[] jArr, int i, boolean z) {
super(z);
this.zzb = jArr;
this.zzc = i;
}
@Override // com.google.android.gms.internal.play_billing.zzal, java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ /* synthetic */ boolean add(Object obj) {
zzf(((Long) obj).longValue());
return true;
}
}

View File

@@ -0,0 +1,14 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzcv implements zzdd {
@Override // com.google.android.gms.internal.play_billing.zzdd
public final zzdc zzb(Class cls) {
throw new IllegalStateException("This should never be called.");
}
@Override // com.google.android.gms.internal.play_billing.zzdd
public final boolean zzc(Class cls) {
return false;
}
}

View File

@@ -0,0 +1,33 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzcw implements zzdd {
private final zzdd[] zza;
public zzcw(zzdd... zzddVarArr) {
this.zza = zzddVarArr;
}
@Override // com.google.android.gms.internal.play_billing.zzdd
public final zzdc zzb(Class cls) {
zzdd[] zzddVarArr = this.zza;
for (int i = 0; i < 2; i++) {
zzdd zzddVar = zzddVarArr[i];
if (zzddVar.zzc(cls)) {
return zzddVar.zzb(cls);
}
}
throw new UnsupportedOperationException("No factory is available for message type: ".concat(cls.getName()));
}
@Override // com.google.android.gms.internal.play_billing.zzdd
public final boolean zzc(Class cls) {
zzdd[] zzddVarArr = this.zza;
for (int i = 0; i < 2; i++) {
if (zzddVarArr[i].zzc(cls)) {
return true;
}
}
return false;
}
}

View File

@@ -0,0 +1,33 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzcx implements zzdq {
private static final zzdd zza = new zzcv();
private final zzdd zzb;
public zzcx() {
zzdd zzddVar;
zzdd[] zzddVarArr = new zzdd[2];
zzddVarArr[0] = zzbw.zza();
try {
zzddVar = (zzdd) Class.forName("com.google.protobuf.DescriptorMessageInfoFactory").getDeclaredMethod("getInstance", new Class[0]).invoke(null, new Object[0]);
} catch (Exception unused) {
zzddVar = zza;
}
zzddVarArr[1] = zzddVar;
zzcw zzcwVar = new zzcw(zzddVarArr);
byte[] bArr = zzcg.zzd;
this.zzb = zzcwVar;
}
private static boolean zzb(zzdc zzdcVar) {
return zzdcVar.zzc() + (-1) != 1;
}
@Override // com.google.android.gms.internal.play_billing.zzdq
public final zzdp zza(Class cls) {
zzdr.zzC(cls);
zzdc zzb = this.zzb.zzb(cls);
return zzb.zzb() ? zzcb.class.isAssignableFrom(cls) ? zzdj.zzc(zzdr.zzz(), zzbq.zzb(), zzb.zza()) : zzdj.zzc(zzdr.zzy(), zzbq.zza(), zzb.zza()) : zzcb.class.isAssignableFrom(cls) ? zzb(zzb) ? zzdi.zzl(cls, zzb, zzdl.zzb(), zzct.zzd(), zzdr.zzz(), zzbq.zzb(), zzdb.zzb()) : zzdi.zzl(cls, zzb, zzdl.zzb(), zzct.zzd(), zzdr.zzz(), null, zzdb.zzb()) : zzb(zzb) ? zzdi.zzl(cls, zzb, zzdl.zza(), zzct.zzc(), zzdr.zzy(), zzbq.zza(), zzdb.zza()) : zzdi.zzl(cls, zzb, zzdl.zza(), zzct.zzc(), zzdr.zzy(), null, zzdb.zza());
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public final class zzcy {
}

View File

@@ -0,0 +1,151 @@
package com.google.android.gms.internal.play_billing;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
/* loaded from: classes3.dex */
public final class zzcz extends LinkedHashMap {
private static final zzcz zza;
private boolean zzb;
static {
zzcz zzczVar = new zzcz();
zza = zzczVar;
zzczVar.zzb = false;
}
private zzcz() {
this.zzb = true;
}
public static zzcz zza() {
return zza;
}
private static int zzf(Object obj) {
if (!(obj instanceof byte[])) {
if (obj instanceof zzfp) {
throw new UnsupportedOperationException();
}
return obj.hashCode();
}
byte[] bArr = (byte[]) obj;
byte[] bArr2 = zzcg.zzd;
int length = bArr.length;
int zzb = zzcg.zzb(length, bArr, 0, length);
if (zzb == 0) {
return 1;
}
return zzb;
}
private final void zzg() {
if (!this.zzb) {
throw new UnsupportedOperationException();
}
}
@Override // java.util.LinkedHashMap, java.util.HashMap, java.util.AbstractMap, java.util.Map
public final void clear() {
zzg();
super.clear();
}
@Override // java.util.LinkedHashMap, java.util.HashMap, java.util.AbstractMap, java.util.Map
public final Set entrySet() {
return isEmpty() ? Collections.emptySet() : super.entrySet();
}
@Override // java.util.AbstractMap, java.util.Map
public final boolean equals(Object obj) {
if (!(obj instanceof Map)) {
return false;
}
Map map = (Map) obj;
if (this == map) {
return true;
}
if (size() != map.size()) {
return false;
}
Iterator it = entrySet().iterator();
while (it.hasNext()) {
Map.Entry entry = (Map.Entry) it.next();
if (!map.containsKey(entry.getKey())) {
return false;
}
Object value = entry.getValue();
Object obj2 = map.get(entry.getKey());
if (!(((value instanceof byte[]) && (obj2 instanceof byte[])) ? Arrays.equals((byte[]) value, (byte[]) obj2) : value.equals(obj2))) {
return false;
}
}
return true;
}
@Override // java.util.AbstractMap, java.util.Map
public final int hashCode() {
Iterator it = entrySet().iterator();
int i = 0;
while (it.hasNext()) {
Map.Entry entry = (Map.Entry) it.next();
i += zzf(entry.getValue()) ^ zzf(entry.getKey());
}
return i;
}
@Override // java.util.HashMap, java.util.AbstractMap, java.util.Map
public final Object put(Object obj, Object obj2) {
zzg();
byte[] bArr = zzcg.zzd;
obj.getClass();
obj2.getClass();
return super.put(obj, obj2);
}
@Override // java.util.HashMap, java.util.AbstractMap, java.util.Map
public final void putAll(Map map) {
zzg();
for (Object obj : map.keySet()) {
byte[] bArr = zzcg.zzd;
obj.getClass();
map.get(obj).getClass();
}
super.putAll(map);
}
@Override // java.util.HashMap, java.util.AbstractMap, java.util.Map
public final Object remove(Object obj) {
zzg();
return super.remove(obj);
}
public final zzcz zzb() {
return isEmpty() ? new zzcz() : new zzcz(this);
}
public final void zzc() {
this.zzb = false;
}
public final void zzd(zzcz zzczVar) {
zzg();
if (zzczVar.isEmpty()) {
return;
}
putAll(zzczVar);
}
public final boolean zze() {
return this.zzb;
}
private zzcz(Map map) {
super(map);
this.zzb = true;
}
}

View File

@@ -0,0 +1,15 @@
package com.google.android.gms.internal.play_billing;
import android.os.IBinder;
import android.os.IInterface;
/* loaded from: classes3.dex */
public abstract class zzd extends zzi implements zze {
public static zze zzn(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.android.vending.billing.IInAppBillingService");
return queryLocalInterface instanceof zze ? (zze) queryLocalInterface : new zzc(iBinder);
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
import java.util.Map;
/* loaded from: classes3.dex */
final class zzda {
public static final int zza(int i, Object obj, Object obj2) {
zzcz zzczVar = (zzcz) obj;
if (zzczVar.isEmpty()) {
return 0;
}
Iterator it = zzczVar.entrySet().iterator();
if (!it.hasNext()) {
return 0;
}
Map.Entry entry = (Map.Entry) it.next();
entry.getKey();
entry.getValue();
throw null;
}
public static final Object zzb(Object obj, Object obj2) {
zzcz zzczVar = (zzcz) obj;
zzcz zzczVar2 = (zzcz) obj2;
if (!zzczVar2.isEmpty()) {
if (!zzczVar.zze()) {
zzczVar = zzczVar.zzb();
}
zzczVar.zzd(zzczVar2);
}
return zzczVar;
}
}

View File

@@ -0,0 +1,26 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzdb {
private static final zzda zza;
private static final zzda zzb;
static {
zzda zzdaVar;
try {
zzdaVar = (zzda) Class.forName("com.google.protobuf.MapFieldSchemaFull").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
} catch (Exception unused) {
zzdaVar = null;
}
zza = zzdaVar;
zzb = new zzda();
}
public static zzda zza() {
return zza;
}
public static zzda zzb() {
return zzb;
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
interface zzdc {
zzdf zza();
boolean zzb();
int zzc();
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
interface zzdd {
zzdc zzb(Class cls);
boolean zzc(Class cls);
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public interface zzde extends Cloneable, zzdg {
zzdf zze();
}

View File

@@ -0,0 +1,14 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
/* loaded from: classes3.dex */
public interface zzdf extends zzdg {
zzba zzb();
int zze();
zzde zzk();
void zzr(zzbi zzbiVar) throws IOException;
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
public interface zzdg {
zzdf zzf();
}

View File

@@ -0,0 +1,198 @@
package com.google.android.gms.internal.play_billing;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
/* loaded from: classes3.dex */
final class zzdh {
private static final char[] zza;
static {
char[] cArr = new char[80];
zza = cArr;
Arrays.fill(cArr, ' ');
}
public static String zza(zzdf zzdfVar, String str) {
StringBuilder sb = new StringBuilder();
sb.append("# ");
sb.append(str);
zzd(zzdfVar, sb, 0);
return sb.toString();
}
public static void zzb(StringBuilder sb, int i, String str, Object obj) {
if (obj instanceof List) {
Iterator it = ((List) obj).iterator();
while (it.hasNext()) {
zzb(sb, i, str, it.next());
}
return;
}
if (obj instanceof Map) {
Iterator it2 = ((Map) obj).entrySet().iterator();
while (it2.hasNext()) {
zzb(sb, i, str, (Map.Entry) it2.next());
}
return;
}
sb.append('\n');
zzc(i, sb);
if (!str.isEmpty()) {
StringBuilder sb2 = new StringBuilder();
sb2.append(Character.toLowerCase(str.charAt(0)));
for (int i2 = 1; i2 < str.length(); i2++) {
char charAt = str.charAt(i2);
if (Character.isUpperCase(charAt)) {
sb2.append("_");
}
sb2.append(Character.toLowerCase(charAt));
}
str = sb2.toString();
}
sb.append(str);
if (obj instanceof String) {
sb.append(": \"");
sb.append(zzee.zza(new zzax(((String) obj).getBytes(zzcg.zzb))));
sb.append('\"');
return;
}
if (obj instanceof zzba) {
sb.append(": \"");
sb.append(zzee.zza((zzba) obj));
sb.append('\"');
return;
}
if (obj instanceof zzcb) {
sb.append(" {");
zzd((zzcb) obj, sb, i + 2);
sb.append("\n");
zzc(i, sb);
sb.append("}");
return;
}
if (!(obj instanceof Map.Entry)) {
sb.append(": ");
sb.append(obj);
return;
}
sb.append(" {");
Map.Entry entry = (Map.Entry) obj;
int i3 = i + 2;
zzb(sb, i3, "key", entry.getKey());
zzb(sb, i3, "value", entry.getValue());
sb.append("\n");
zzc(i, sb);
sb.append("}");
}
private static void zzc(int i, StringBuilder sb) {
while (i > 0) {
int i2 = 80;
if (i <= 80) {
i2 = i;
}
sb.append(zza, 0, i2);
i -= i2;
}
}
private static void zzd(zzdf zzdfVar, StringBuilder sb, int i) {
int i2;
boolean equals;
Method method;
Method method2;
HashSet hashSet = new HashSet();
HashMap hashMap = new HashMap();
TreeMap treeMap = new TreeMap();
Method[] declaredMethods = zzdfVar.getClass().getDeclaredMethods();
int length = declaredMethods.length;
int i3 = 0;
while (true) {
i2 = 3;
if (i3 >= length) {
break;
}
Method method3 = declaredMethods[i3];
if (!Modifier.isStatic(method3.getModifiers()) && method3.getName().length() >= 3) {
if (method3.getName().startsWith("set")) {
hashSet.add(method3.getName());
} else if (Modifier.isPublic(method3.getModifiers()) && method3.getParameterTypes().length == 0) {
if (method3.getName().startsWith("has")) {
hashMap.put(method3.getName(), method3);
} else if (method3.getName().startsWith("get")) {
treeMap.put(method3.getName(), method3);
}
}
}
i3++;
}
for (Map.Entry entry : treeMap.entrySet()) {
String substring = ((String) entry.getKey()).substring(i2);
if (substring.endsWith("List") && !substring.endsWith("OrBuilderList") && !substring.equals("List") && (method2 = (Method) entry.getValue()) != null && method2.getReturnType().equals(List.class)) {
zzb(sb, i, substring.substring(0, substring.length() - 4), zzcb.zzl(method2, zzdfVar, new Object[0]));
} else if (substring.endsWith("Map") && !substring.equals("Map") && (method = (Method) entry.getValue()) != null && method.getReturnType().equals(Map.class) && !method.isAnnotationPresent(Deprecated.class) && Modifier.isPublic(method.getModifiers())) {
zzb(sb, i, substring.substring(0, substring.length() - 3), zzcb.zzl(method, zzdfVar, new Object[0]));
} else if (hashSet.contains("set".concat(substring)) && (!substring.endsWith("Bytes") || !treeMap.containsKey("get".concat(String.valueOf(substring.substring(0, substring.length() - 5)))))) {
Method method4 = (Method) entry.getValue();
Method method5 = (Method) hashMap.get("has".concat(substring));
if (method4 != null) {
Object zzl = zzcb.zzl(method4, zzdfVar, new Object[0]);
if (method5 != null) {
if (!((Boolean) zzcb.zzl(method5, zzdfVar, new Object[0])).booleanValue()) {
}
zzb(sb, i, substring, zzl);
} else if (zzl instanceof Boolean) {
if (!((Boolean) zzl).booleanValue()) {
}
zzb(sb, i, substring, zzl);
} else if (zzl instanceof Integer) {
if (((Integer) zzl).intValue() == 0) {
}
zzb(sb, i, substring, zzl);
} else if (zzl instanceof Float) {
if (Float.floatToRawIntBits(((Float) zzl).floatValue()) == 0) {
}
zzb(sb, i, substring, zzl);
} else if (zzl instanceof Double) {
if (Double.doubleToRawLongBits(((Double) zzl).doubleValue()) == 0) {
}
zzb(sb, i, substring, zzl);
} else {
if (zzl instanceof String) {
equals = zzl.equals("");
} else if (zzl instanceof zzba) {
equals = zzl.equals(zzba.zzb);
} else if (zzl instanceof zzdf) {
if (zzl == ((zzdf) zzl).zzf()) {
}
zzb(sb, i, substring, zzl);
} else {
if ((zzl instanceof Enum) && ((Enum) zzl).ordinal() == 0) {
}
zzb(sb, i, substring, zzl);
}
if (equals) {
}
zzb(sb, i, substring, zzl);
}
}
}
i2 = 3;
}
if (zzdfVar instanceof zzby) {
throw null;
}
zzeh zzehVar = ((zzcb) zzdfVar).zzc;
if (zzehVar != null) {
zzehVar.zzi(sb, i);
}
}
}

View File

@@ -0,0 +1,98 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
/* loaded from: classes3.dex */
final class zzdj implements zzdp {
private final zzdf zza;
private final zzeg zzb;
private final boolean zzc;
private final zzbo zzd;
private zzdj(zzeg zzegVar, zzbo zzboVar, zzdf zzdfVar) {
this.zzb = zzegVar;
this.zzc = zzboVar.zzc(zzdfVar);
this.zzd = zzboVar;
this.zza = zzdfVar;
}
public static zzdj zzc(zzeg zzegVar, zzbo zzboVar, zzdf zzdfVar) {
return new zzdj(zzegVar, zzboVar, zzdfVar);
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final int zza(Object obj) {
zzeg zzegVar = this.zzb;
int zzb = zzegVar.zzb(zzegVar.zzd(obj));
if (!this.zzc) {
return zzb;
}
this.zzd.zza(obj);
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final int zzb(Object obj) {
int hashCode = this.zzb.zzd(obj).hashCode();
if (!this.zzc) {
return hashCode;
}
this.zzd.zza(obj);
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final Object zze() {
zzdf zzdfVar = this.zza;
return zzdfVar instanceof zzcb ? ((zzcb) zzdfVar).zzi() : zzdfVar.zzk().zze();
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final void zzf(Object obj) {
this.zzb.zzg(obj);
this.zzd.zzb(obj);
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final void zzg(Object obj, Object obj2) {
zzdr.zzB(this.zzb, obj, obj2);
if (this.zzc) {
this.zzd.zza(obj2);
throw null;
}
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final void zzh(Object obj, byte[] bArr, int i, int i2, zzan zzanVar) throws IOException {
zzcb zzcbVar = (zzcb) obj;
if (zzcbVar.zzc == zzeh.zzc()) {
zzcbVar.zzc = zzeh.zzf();
}
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final void zzi(Object obj, zzey zzeyVar) throws IOException {
this.zzd.zza(obj);
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final boolean zzj(Object obj, Object obj2) {
if (!this.zzb.zzd(obj).equals(this.zzb.zzd(obj2))) {
return false;
}
if (!this.zzc) {
return true;
}
this.zzd.zza(obj);
this.zzd.zza(obj2);
throw null;
}
@Override // com.google.android.gms.internal.play_billing.zzdp
public final boolean zzk(Object obj) {
this.zzd.zza(obj);
throw null;
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzdk {
}

View File

@@ -0,0 +1,26 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzdl {
private static final zzdk zza;
private static final zzdk zzb;
static {
zzdk zzdkVar;
try {
zzdkVar = (zzdk) Class.forName("com.google.protobuf.NewInstanceSchemaFull").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
} catch (Exception unused) {
zzdkVar = null;
}
zza = zzdkVar;
zzb = new zzdk();
}
public static zzdk zza() {
return zza;
}
public static zzdk zzb() {
return zzb;
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
interface zzdm {
}

View File

@@ -0,0 +1,32 @@
package com.google.android.gms.internal.play_billing;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
/* loaded from: classes3.dex */
final class zzdn {
private static final zzdn zza = new zzdn();
private final ConcurrentMap zzc = new ConcurrentHashMap();
private final zzdq zzb = new zzcx();
private zzdn() {
}
public static zzdn zza() {
return zza;
}
public final zzdp zzb(Class cls) {
zzcg.zzc(cls, "messageType");
zzdp zzdpVar = (zzdp) this.zzc.get(cls);
if (zzdpVar == null) {
zzdpVar = this.zzb.zza(cls);
zzcg.zzc(cls, "messageType");
zzdp zzdpVar2 = (zzdp) this.zzc.putIfAbsent(cls, zzdpVar);
if (zzdpVar2 != null) {
return zzdpVar2;
}
}
return zzdpVar;
}
}

View File

@@ -0,0 +1,58 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
final class zzdo implements zzdc {
private final zzdf zza;
private final String zzb;
private final Object[] zzc;
private final int zzd;
public zzdo(zzdf zzdfVar, String str, Object[] objArr) {
this.zza = zzdfVar;
this.zzb = str;
this.zzc = objArr;
char charAt = str.charAt(0);
if (charAt < 55296) {
this.zzd = charAt;
return;
}
int i = charAt & 8191;
int i2 = 1;
int i3 = 13;
while (true) {
int i4 = i2 + 1;
char charAt2 = str.charAt(i2);
if (charAt2 < 55296) {
this.zzd = i | (charAt2 << i3);
return;
} else {
i |= (charAt2 & 8191) << i3;
i3 += 13;
i2 = i4;
}
}
}
@Override // com.google.android.gms.internal.play_billing.zzdc
public final zzdf zza() {
return this.zza;
}
@Override // com.google.android.gms.internal.play_billing.zzdc
public final boolean zzb() {
return (this.zzd & 2) == 2;
}
@Override // com.google.android.gms.internal.play_billing.zzdc
public final int zzc() {
return (this.zzd & 1) != 0 ? 1 : 2;
}
public final String zzd() {
return this.zzb;
}
public final Object[] zze() {
return this.zzc;
}
}

View File

@@ -0,0 +1,24 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
/* loaded from: classes3.dex */
interface zzdp<T> {
int zza(Object obj);
int zzb(Object obj);
Object zze();
void zzf(Object obj);
void zzg(Object obj, Object obj2);
void zzh(Object obj, byte[] bArr, int i, int i2, zzan zzanVar) throws IOException;
void zzi(Object obj, zzey zzeyVar) throws IOException;
boolean zzj(Object obj, Object obj2);
boolean zzk(Object obj);
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.internal.play_billing;
/* loaded from: classes3.dex */
interface zzdq {
zzdp zza(Class cls);
}

View File

@@ -0,0 +1,547 @@
package com.google.android.gms.internal.play_billing;
import java.io.IOException;
import java.util.List;
/* loaded from: classes3.dex */
final class zzdr {
public static final /* synthetic */ int zza = 0;
private static final Class zzb;
private static final zzeg zzc;
private static final zzeg zzd;
static {
Class<?> cls;
Class<?> cls2;
zzeg zzegVar = null;
try {
cls = Class.forName("com.google.protobuf.GeneratedMessage");
} catch (Throwable unused) {
cls = null;
}
zzb = cls;
try {
cls2 = Class.forName("com.google.protobuf.UnknownFieldSetSchema");
} catch (Throwable unused2) {
cls2 = null;
}
if (cls2 != null) {
try {
zzegVar = (zzeg) cls2.getConstructor(new Class[0]).newInstance(new Object[0]);
} catch (Throwable unused3) {
}
}
zzc = zzegVar;
zzd = new zzei();
}
public static Object zzA(Object obj, int i, int i2, Object obj2, zzeg zzegVar) {
if (obj2 == null) {
obj2 = zzegVar.zzc(obj);
}
zzegVar.zzf(obj2, i, i2);
return obj2;
}
public static void zzB(zzeg zzegVar, Object obj, Object obj2) {
zzegVar.zzh(obj, zzegVar.zze(zzegVar.zzd(obj), zzegVar.zzd(obj2)));
}
public static void zzC(Class cls) {
Class cls2;
if (!zzcb.class.isAssignableFrom(cls) && (cls2 = zzb) != null && !cls2.isAssignableFrom(cls)) {
throw new IllegalArgumentException("Message classes must extend GeneratedMessage or GeneratedMessageLite");
}
}
public static void zzD(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzc(i, list, z);
}
public static void zzE(int i, List list, zzey zzeyVar) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zze(i, list);
}
public static void zzF(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzg(i, list, z);
}
public static void zzG(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzj(i, list, z);
}
public static void zzH(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzl(i, list, z);
}
public static void zzI(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzn(i, list, z);
}
public static void zzJ(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzp(i, list, z);
}
public static void zzK(int i, List list, zzey zzeyVar, zzdp zzdpVar) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
for (int i2 = 0; i2 < list.size(); i2++) {
((zzbj) zzeyVar).zzq(i, list.get(i2), zzdpVar);
}
}
public static void zzL(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzs(i, list, z);
}
public static void zzM(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzu(i, list, z);
}
public static void zzN(int i, List list, zzey zzeyVar, zzdp zzdpVar) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
for (int i2 = 0; i2 < list.size(); i2++) {
((zzbj) zzeyVar).zzv(i, list.get(i2), zzdpVar);
}
}
public static void zzO(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzx(i, list, z);
}
public static void zzP(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzz(i, list, z);
}
public static void zzQ(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzB(i, list, z);
}
public static void zzR(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzD(i, list, z);
}
public static void zzS(int i, List list, zzey zzeyVar) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzG(i, list);
}
public static void zzT(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzI(i, list, z);
}
public static void zzU(int i, List list, zzey zzeyVar, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
zzeyVar.zzK(i, list, z);
}
public static boolean zzV(Object obj, Object obj2) {
if (obj != obj2) {
return obj != null && obj.equals(obj2);
}
return true;
}
public static int zza(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return size * (zzbi.zzx(i << 3) + 1);
}
public static int zzb(int i, List list) {
int size = list.size();
if (size == 0) {
return 0;
}
int zzx = size * zzbi.zzx(i << 3);
for (int i2 = 0; i2 < list.size(); i2++) {
int zzd2 = ((zzba) list.get(i2)).zzd();
zzx += zzbi.zzx(zzd2) + zzd2;
}
return zzx;
}
public static int zzc(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return zzd(list) + (size * zzbi.zzx(i << 3));
}
public static int zzd(List list) {
int i;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
if (list instanceof zzcc) {
zzcc zzccVar = (zzcc) list;
i = 0;
while (i2 < size) {
i += zzbi.zzu(zzccVar.zze(i2));
i2++;
}
} else {
i = 0;
while (i2 < size) {
i += zzbi.zzu(((Integer) list.get(i2)).intValue());
i2++;
}
}
return i;
}
public static int zze(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return size * (zzbi.zzx(i << 3) + 4);
}
public static int zzf(List list) {
return list.size() * 4;
}
public static int zzg(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return size * (zzbi.zzx(i << 3) + 8);
}
public static int zzh(List list) {
return list.size() * 8;
}
public static int zzi(int i, List list, zzdp zzdpVar) {
int size = list.size();
if (size == 0) {
return 0;
}
int i2 = 0;
for (int i3 = 0; i3 < size; i3++) {
i2 += zzbi.zzt(i, (zzdf) list.get(i3), zzdpVar);
}
return i2;
}
public static int zzj(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return zzk(list) + (size * zzbi.zzx(i << 3));
}
public static int zzk(List list) {
int i;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
if (list instanceof zzcc) {
zzcc zzccVar = (zzcc) list;
i = 0;
while (i2 < size) {
i += zzbi.zzu(zzccVar.zze(i2));
i2++;
}
} else {
i = 0;
while (i2 < size) {
i += zzbi.zzu(((Integer) list.get(i2)).intValue());
i2++;
}
}
return i;
}
public static int zzl(int i, List list, boolean z) {
if (list.size() == 0) {
return 0;
}
return zzm(list) + (list.size() * zzbi.zzx(i << 3));
}
public static int zzm(List list) {
int i;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
if (list instanceof zzcu) {
zzcu zzcuVar = (zzcu) list;
i = 0;
while (i2 < size) {
i += zzbi.zzy(zzcuVar.zze(i2));
i2++;
}
} else {
i = 0;
while (i2 < size) {
i += zzbi.zzy(((Long) list.get(i2)).longValue());
i2++;
}
}
return i;
}
public static int zzn(int i, Object obj, zzdp zzdpVar) {
if (!(obj instanceof zzcl)) {
return zzbi.zzx(i << 3) + zzbi.zzv((zzdf) obj, zzdpVar);
}
int i2 = zzbi.zzb;
int zza2 = ((zzcl) obj).zza();
return zzbi.zzx(i << 3) + zzbi.zzx(zza2) + zza2;
}
public static int zzo(int i, List list, zzdp zzdpVar) {
int size = list.size();
if (size == 0) {
return 0;
}
int zzx = zzbi.zzx(i << 3) * size;
for (int i2 = 0; i2 < size; i2++) {
Object obj = list.get(i2);
if (obj instanceof zzcl) {
int zza2 = ((zzcl) obj).zza();
zzx += zzbi.zzx(zza2) + zza2;
} else {
zzx += zzbi.zzv((zzdf) obj, zzdpVar);
}
}
return zzx;
}
public static int zzp(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return zzq(list) + (size * zzbi.zzx(i << 3));
}
public static int zzq(List list) {
int i;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
if (list instanceof zzcc) {
zzcc zzccVar = (zzcc) list;
i = 0;
while (i2 < size) {
int zze = zzccVar.zze(i2);
i += zzbi.zzx((zze >> 31) ^ (zze + zze));
i2++;
}
} else {
i = 0;
while (i2 < size) {
int intValue = ((Integer) list.get(i2)).intValue();
i += zzbi.zzx((intValue >> 31) ^ (intValue + intValue));
i2++;
}
}
return i;
}
public static int zzr(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return zzs(list) + (size * zzbi.zzx(i << 3));
}
public static int zzs(List list) {
int i;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
if (list instanceof zzcu) {
zzcu zzcuVar = (zzcu) list;
i = 0;
while (i2 < size) {
long zze = zzcuVar.zze(i2);
i += zzbi.zzy((zze >> 63) ^ (zze + zze));
i2++;
}
} else {
i = 0;
while (i2 < size) {
long longValue = ((Long) list.get(i2)).longValue();
i += zzbi.zzy((longValue >> 63) ^ (longValue + longValue));
i2++;
}
}
return i;
}
public static int zzt(int i, List list) {
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
boolean z = list instanceof zzcn;
int zzx = zzbi.zzx(i << 3) * size;
if (z) {
zzcn zzcnVar = (zzcn) list;
while (i2 < size) {
Object zzf = zzcnVar.zzf(i2);
if (zzf instanceof zzba) {
int zzd2 = ((zzba) zzf).zzd();
zzx += zzbi.zzx(zzd2) + zzd2;
} else {
zzx += zzbi.zzw((String) zzf);
}
i2++;
}
} else {
while (i2 < size) {
Object obj = list.get(i2);
if (obj instanceof zzba) {
int zzd3 = ((zzba) obj).zzd();
zzx += zzbi.zzx(zzd3) + zzd3;
} else {
zzx += zzbi.zzw((String) obj);
}
i2++;
}
}
return zzx;
}
public static int zzu(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return zzv(list) + (size * zzbi.zzx(i << 3));
}
public static int zzv(List list) {
int i;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
if (list instanceof zzcc) {
zzcc zzccVar = (zzcc) list;
i = 0;
while (i2 < size) {
i += zzbi.zzx(zzccVar.zze(i2));
i2++;
}
} else {
i = 0;
while (i2 < size) {
i += zzbi.zzx(((Integer) list.get(i2)).intValue());
i2++;
}
}
return i;
}
public static int zzw(int i, List list, boolean z) {
int size = list.size();
if (size == 0) {
return 0;
}
return zzx(list) + (size * zzbi.zzx(i << 3));
}
public static int zzx(List list) {
int i;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
if (list instanceof zzcu) {
zzcu zzcuVar = (zzcu) list;
i = 0;
while (i2 < size) {
i += zzbi.zzy(zzcuVar.zze(i2));
i2++;
}
} else {
i = 0;
while (i2 < size) {
i += zzbi.zzy(((Long) list.get(i2)).longValue());
i2++;
}
}
return i;
}
public static zzeg zzy() {
return zzc;
}
public static zzeg zzz() {
return zzd;
}
}

View File

@@ -0,0 +1,30 @@
package com.google.android.gms.internal.play_billing;
import java.util.Collections;
import java.util.List;
import java.util.Map;
/* loaded from: classes3.dex */
final class zzds extends zzec {
public zzds(int i) {
super(i, null);
}
@Override // com.google.android.gms.internal.play_billing.zzec
public final void zza() {
if (!zzj()) {
for (int i = 0; i < zzb(); i++) {
Map.Entry zzg = zzg(i);
if (((zzbr) zzg.getKey()).zzc()) {
zzg.setValue(Collections.unmodifiableList((List) zzg.getValue()));
}
}
for (Map.Entry entry : zzc()) {
if (((zzbr) entry.getKey()).zzc()) {
entry.setValue(Collections.unmodifiableList((List) entry.getValue()));
}
}
}
super.zza();
}
}

View File

@@ -0,0 +1,22 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
import java.util.NoSuchElementException;
/* loaded from: classes3.dex */
final class zzdt implements Iterator {
@Override // java.util.Iterator
public final boolean hasNext() {
return false;
}
@Override // java.util.Iterator
public final Object next() {
throw new NoSuchElementException();
}
@Override // java.util.Iterator
public final void remove() {
throw new UnsupportedOperationException();
}
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
/* loaded from: classes3.dex */
final class zzdu implements Iterable {
@Override // java.lang.Iterable
public final Iterator iterator() {
Iterator it;
it = zzdv.zza;
return it;
}
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
/* loaded from: classes3.dex */
final class zzdv {
private static final Iterator zza = new zzdt();
private static final Iterable zzb = new zzdu();
public static Iterable zza() {
return zzb;
}
}

View File

@@ -0,0 +1,72 @@
package com.google.android.gms.internal.play_billing;
import com.ironsource.v8;
import java.util.Map;
/* loaded from: classes3.dex */
final class zzdw implements Map.Entry, Comparable {
final /* synthetic */ zzec zza;
private final Comparable zzb;
private Object zzc;
public zzdw(zzec zzecVar, Comparable comparable, Object obj) {
this.zza = zzecVar;
this.zzb = comparable;
this.zzc = obj;
}
private static final boolean zzb(Object obj, Object obj2) {
return obj == null ? obj2 == null : obj.equals(obj2);
}
@Override // java.lang.Comparable
public final /* bridge */ /* synthetic */ int compareTo(Object obj) {
return this.zzb.compareTo(((zzdw) obj).zzb);
}
@Override // java.util.Map.Entry
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof Map.Entry)) {
return false;
}
Map.Entry entry = (Map.Entry) obj;
return zzb(this.zzb, entry.getKey()) && zzb(this.zzc, entry.getValue());
}
@Override // java.util.Map.Entry
public final /* synthetic */ Object getKey() {
return this.zzb;
}
@Override // java.util.Map.Entry
public final Object getValue() {
return this.zzc;
}
@Override // java.util.Map.Entry
public final int hashCode() {
Comparable comparable = this.zzb;
int hashCode = comparable == null ? 0 : comparable.hashCode();
Object obj = this.zzc;
return hashCode ^ (obj != null ? obj.hashCode() : 0);
}
@Override // java.util.Map.Entry
public final Object setValue(Object obj) {
this.zza.zzn();
Object obj2 = this.zzc;
this.zzc = obj;
return obj2;
}
public final String toString() {
return String.valueOf(this.zzb) + v8.i.b + String.valueOf(this.zzc);
}
public final Comparable zza() {
return this.zzb;
}
}

View File

@@ -0,0 +1,74 @@
package com.google.android.gms.internal.play_billing;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
/* loaded from: classes3.dex */
final class zzdy implements Iterator {
final /* synthetic */ zzec zza;
private int zzb = -1;
private boolean zzc;
private Iterator zzd;
public /* synthetic */ zzdy(zzec zzecVar, zzdx zzdxVar) {
this.zza = zzecVar;
}
private final Iterator zza() {
Map map;
if (this.zzd == null) {
map = this.zza.zzc;
this.zzd = map.entrySet().iterator();
}
return this.zzd;
}
@Override // java.util.Iterator
public final boolean hasNext() {
List list;
Map map;
int i = this.zzb + 1;
list = this.zza.zzb;
if (i < list.size()) {
return true;
}
map = this.zza.zzc;
return !map.isEmpty() && zza().hasNext();
}
@Override // java.util.Iterator
public final /* bridge */ /* synthetic */ Object next() {
List list;
List list2;
this.zzc = true;
int i = this.zzb + 1;
this.zzb = i;
list = this.zza.zzb;
if (i >= list.size()) {
return (Map.Entry) zza().next();
}
list2 = this.zza.zzb;
return (Map.Entry) list2.get(this.zzb);
}
@Override // java.util.Iterator
public final void remove() {
List list;
if (!this.zzc) {
throw new IllegalStateException("remove() was called before next()");
}
this.zzc = false;
this.zza.zzn();
int i = this.zzb;
list = this.zza.zzb;
if (i >= list.size()) {
zza().remove();
return;
}
zzec zzecVar = this.zza;
int i2 = this.zzb;
this.zzb = i2 - 1;
zzecVar.zzl(i2);
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.gms.internal.play_billing;
import android.os.Bundle;
import android.os.IInterface;
import android.os.RemoteException;
/* loaded from: classes3.dex */
public interface zze extends IInterface {
int zza(int i, String str, String str2) throws RemoteException;
int zzc(int i, String str, String str2, Bundle bundle) throws RemoteException;
Bundle zzd(int i, String str, String str2, Bundle bundle) throws RemoteException;
Bundle zze(int i, String str, String str2, Bundle bundle) throws RemoteException;
Bundle zzf(int i, String str, String str2, String str3, String str4) throws RemoteException;
Bundle zzg(int i, String str, String str2, String str3, String str4, Bundle bundle) throws RemoteException;
Bundle zzh(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException;
Bundle zzi(int i, String str, String str2, String str3) throws RemoteException;
Bundle zzj(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException;
Bundle zzk(int i, String str, String str2, Bundle bundle) throws RemoteException;
Bundle zzl(int i, String str, String str2, Bundle bundle, Bundle bundle2) throws RemoteException;
void zzm(int i, String str, Bundle bundle, zzg zzgVar) throws RemoteException;
int zzq(int i, String str, String str2) throws RemoteException;
}

Some files were not shown because too many files have changed in this diff Show More