- 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
1469 lines
45 KiB
Java
1469 lines
45 KiB
Java
package com.fyber.inneractive.sdk.protobuf;
|
|
|
|
import androidx.work.WorkInfo;
|
|
import com.applovin.exoplayer2.common.base.Ascii;
|
|
import com.fyber.inneractive.sdk.protobuf.i;
|
|
import com.fyber.inneractive.sdk.protobuf.z;
|
|
import java.io.IOException;
|
|
import java.nio.ByteBuffer;
|
|
import java.util.List;
|
|
import kotlin.jvm.internal.ByteCompanionObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public abstract class f implements c1 {
|
|
|
|
public static final class a extends f {
|
|
public final boolean a;
|
|
public final byte[] b;
|
|
public int c;
|
|
public int d;
|
|
public int e;
|
|
public int f;
|
|
|
|
public a(ByteBuffer byteBuffer) {
|
|
super(0);
|
|
this.a = true;
|
|
this.b = byteBuffer.array();
|
|
this.c = byteBuffer.position() + byteBuffer.arrayOffset();
|
|
this.d = byteBuffer.limit() + byteBuffer.arrayOffset();
|
|
}
|
|
|
|
public final String a(boolean z) throws IOException {
|
|
c(2);
|
|
int w = w();
|
|
if (w == 0) {
|
|
return "";
|
|
}
|
|
a(w);
|
|
if (z) {
|
|
byte[] bArr = this.b;
|
|
int i = this.c;
|
|
if (!q1.a.b(bArr, i, i + w)) {
|
|
throw z.c();
|
|
}
|
|
}
|
|
String str = new String(this.b, this.c, w, y.a);
|
|
this.c += w;
|
|
return str;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int b() {
|
|
return this.e;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final long c() throws IOException {
|
|
c(0);
|
|
return x();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final long d() throws IOException {
|
|
c(1);
|
|
a(8);
|
|
return v();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int e() throws IOException {
|
|
c(0);
|
|
return j.b(w());
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final long f() throws IOException {
|
|
c(0);
|
|
return j.a(x());
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final String g() throws IOException {
|
|
return a(false);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int h() throws IOException {
|
|
c(5);
|
|
a(4);
|
|
return u();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final boolean i() throws IOException {
|
|
c(0);
|
|
return w() != 0;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int j() throws IOException {
|
|
if (t()) {
|
|
return Integer.MAX_VALUE;
|
|
}
|
|
int w = w();
|
|
this.e = w;
|
|
if (w == this.f) {
|
|
return Integer.MAX_VALUE;
|
|
}
|
|
int i = r1.a;
|
|
return w >>> 3;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final long k() throws IOException {
|
|
c(1);
|
|
a(8);
|
|
return v();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final i l() throws IOException {
|
|
i a;
|
|
c(2);
|
|
int w = w();
|
|
if (w == 0) {
|
|
return i.b;
|
|
}
|
|
a(w);
|
|
if (this.a) {
|
|
byte[] bArr = this.b;
|
|
int i = this.c;
|
|
i.h hVar = i.b;
|
|
a = new i.d(bArr, i, w);
|
|
} else {
|
|
a = i.a(this.b, this.c, w);
|
|
}
|
|
this.c += w;
|
|
return a;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int m() throws IOException {
|
|
c(0);
|
|
return w();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void n(List<Long> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (!(list instanceof f0)) {
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 1) {
|
|
do {
|
|
list.add(Long.valueOf(k()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
if (i5 != 2) {
|
|
throw z.d();
|
|
}
|
|
int w = w();
|
|
e(w);
|
|
int i6 = this.c + w;
|
|
while (this.c < i6) {
|
|
list.add(Long.valueOf(v()));
|
|
}
|
|
return;
|
|
}
|
|
f0 f0Var = (f0) list;
|
|
int i7 = this.e;
|
|
int i8 = r1.a;
|
|
int i9 = i7 & 7;
|
|
if (i9 == 1) {
|
|
do {
|
|
f0Var.a(k());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
if (i9 != 2) {
|
|
throw z.d();
|
|
}
|
|
int w2 = w();
|
|
e(w2);
|
|
int i10 = this.c + w2;
|
|
while (this.c < i10) {
|
|
f0Var.a(v());
|
|
}
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int o() throws IOException {
|
|
c(0);
|
|
return w();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final boolean p() throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (t() || (i = this.e) == (i2 = this.f)) {
|
|
return false;
|
|
}
|
|
int i3 = r1.a;
|
|
int i4 = i & 7;
|
|
if (i4 == 0) {
|
|
int i5 = this.d;
|
|
int i6 = this.c;
|
|
if (i5 - i6 >= 10) {
|
|
byte[] bArr = this.b;
|
|
int i7 = 0;
|
|
while (i7 < 10) {
|
|
int i8 = i6 + 1;
|
|
if (bArr[i6] >= 0) {
|
|
this.c = i8;
|
|
break;
|
|
}
|
|
i7++;
|
|
i6 = i8;
|
|
}
|
|
}
|
|
for (int i9 = 0; i9 < 10; i9++) {
|
|
int i10 = this.c;
|
|
if (i10 == this.d) {
|
|
throw z.i();
|
|
}
|
|
byte[] bArr2 = this.b;
|
|
this.c = i10 + 1;
|
|
if (bArr2[i10] >= 0) {
|
|
return true;
|
|
}
|
|
}
|
|
throw z.e();
|
|
}
|
|
if (i4 == 1) {
|
|
a(8);
|
|
this.c += 8;
|
|
return true;
|
|
}
|
|
if (i4 == 2) {
|
|
int w = w();
|
|
a(w);
|
|
this.c += w;
|
|
return true;
|
|
}
|
|
if (i4 != 3) {
|
|
if (i4 != 5) {
|
|
int i11 = z.a;
|
|
throw new z.a();
|
|
}
|
|
a(4);
|
|
this.c += 4;
|
|
return true;
|
|
}
|
|
this.f = r1.a(i >>> 3, 4);
|
|
while (j() != Integer.MAX_VALUE && p()) {
|
|
}
|
|
if (this.e != this.f) {
|
|
throw z.g();
|
|
}
|
|
this.f = i2;
|
|
return true;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int q() throws IOException {
|
|
c(5);
|
|
a(4);
|
|
return u();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final long r() throws IOException {
|
|
c(0);
|
|
return x();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final double readDouble() throws IOException {
|
|
c(1);
|
|
a(8);
|
|
return Double.longBitsToDouble(v());
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final float readFloat() throws IOException {
|
|
c(5);
|
|
a(4);
|
|
return Float.intBitsToFloat(u());
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final String s() throws IOException {
|
|
return a(true);
|
|
}
|
|
|
|
public final boolean t() {
|
|
return this.c == this.d;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final <T> T b(Class<T> cls, q qVar) throws IOException {
|
|
c(2);
|
|
return (T) d(z0.c.a(cls), qVar);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void g(List<String> list) throws IOException {
|
|
a(list, false);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void e(List<Integer> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof x) {
|
|
x xVar = (x) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 != 0) {
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
xVar.c(w());
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
xVar.c(m());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 != 0) {
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Integer.valueOf(w()));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(m()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void f(List<Boolean> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof g) {
|
|
g gVar = (g) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 != 0) {
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
gVar.a(w() != 0);
|
|
}
|
|
b(w);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
gVar.a(i());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 != 0) {
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Boolean.valueOf(w() != 0));
|
|
}
|
|
b(w2);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
list.add(Boolean.valueOf(i()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void i(List<String> list) throws IOException {
|
|
a(list, true);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void m(List<Long> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof f0) {
|
|
f0 f0Var = (f0) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 0) {
|
|
do {
|
|
f0Var.a(r());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
f0Var.a(x());
|
|
}
|
|
b(w);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 == 0) {
|
|
do {
|
|
list.add(Long.valueOf(r()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Long.valueOf(x()));
|
|
}
|
|
b(w2);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void o(List<Long> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof f0) {
|
|
f0 f0Var = (f0) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 1) {
|
|
do {
|
|
f0Var.a(d());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
if (i5 == 2) {
|
|
int w = w();
|
|
e(w);
|
|
int i6 = this.c + w;
|
|
while (this.c < i6) {
|
|
f0Var.a(v());
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i7 = this.e;
|
|
int i8 = r1.a;
|
|
int i9 = i7 & 7;
|
|
if (i9 == 1) {
|
|
do {
|
|
list.add(Long.valueOf(d()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
if (i9 == 2) {
|
|
int w2 = w();
|
|
e(w2);
|
|
int i10 = this.c + w2;
|
|
while (this.c < i10) {
|
|
list.add(Long.valueOf(v()));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
public final <T> T c(d1<T> d1Var, q qVar) throws IOException {
|
|
int i = this.f;
|
|
this.f = r1.a(this.e >>> 3, 4);
|
|
try {
|
|
T a = d1Var.a();
|
|
d1Var.a(a, this, qVar);
|
|
d1Var.a(a);
|
|
if (this.e == this.f) {
|
|
return a;
|
|
}
|
|
throw z.g();
|
|
} finally {
|
|
this.f = i;
|
|
}
|
|
}
|
|
|
|
public final <T> T d(d1<T> d1Var, q qVar) throws IOException {
|
|
int w = w();
|
|
a(w);
|
|
int i = this.d;
|
|
int i2 = this.c + w;
|
|
this.d = i2;
|
|
try {
|
|
T a = d1Var.a();
|
|
d1Var.a(a, this, qVar);
|
|
d1Var.a(a);
|
|
if (this.c == i2) {
|
|
return a;
|
|
}
|
|
throw z.g();
|
|
} finally {
|
|
this.d = i;
|
|
}
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void h(List<Long> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof f0) {
|
|
f0 f0Var = (f0) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 0) {
|
|
do {
|
|
f0Var.a(c());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
f0Var.a(x());
|
|
}
|
|
b(w);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 == 0) {
|
|
do {
|
|
list.add(Long.valueOf(c()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Long.valueOf(x()));
|
|
}
|
|
b(w2);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void k(List<i> list) throws IOException {
|
|
int i;
|
|
int i2 = this.e;
|
|
int i3 = r1.a;
|
|
if ((i2 & 7) == 2) {
|
|
do {
|
|
list.add(l());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void q(List<Integer> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof x) {
|
|
x xVar = (x) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 != 0) {
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
xVar.c(w());
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
xVar.c(a());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 != 0) {
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Integer.valueOf(w()));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(a()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
}
|
|
|
|
public final int u() {
|
|
int i = this.c;
|
|
byte[] bArr = this.b;
|
|
this.c = i + 4;
|
|
return ((bArr[i + 3] & 255) << 24) | (bArr[i] & 255) | ((bArr[i + 1] & 255) << 8) | ((bArr[i + 2] & 255) << 16);
|
|
}
|
|
|
|
public final long v() {
|
|
int i = this.c;
|
|
byte[] bArr = this.b;
|
|
this.c = i + 8;
|
|
return ((bArr[i + 7] & 255) << 56) | (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);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final <T> T b(d1<T> d1Var, q qVar) throws IOException {
|
|
c(3);
|
|
return (T) c(d1Var, qVar);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void b(List<Integer> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof x) {
|
|
x xVar = (x) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 2) {
|
|
int w = w();
|
|
d(w);
|
|
int i6 = this.c + w;
|
|
while (this.c < i6) {
|
|
xVar.c(u());
|
|
}
|
|
return;
|
|
}
|
|
if (i5 == 5) {
|
|
do {
|
|
xVar.c(h());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i7 = this.e;
|
|
int i8 = r1.a;
|
|
int i9 = i7 & 7;
|
|
if (i9 == 2) {
|
|
int w2 = w();
|
|
d(w2);
|
|
int i10 = this.c + w2;
|
|
while (this.c < i10) {
|
|
list.add(Integer.valueOf(u()));
|
|
}
|
|
return;
|
|
}
|
|
if (i9 == 5) {
|
|
do {
|
|
list.add(Integer.valueOf(h()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
public final int w() throws IOException {
|
|
int i;
|
|
int i2 = this.c;
|
|
int i3 = this.d;
|
|
if (i3 != i2) {
|
|
byte[] bArr = this.b;
|
|
int i4 = i2 + 1;
|
|
byte b = bArr[i2];
|
|
if (b >= 0) {
|
|
this.c = i4;
|
|
return b;
|
|
}
|
|
if (i3 - i4 < 9) {
|
|
long j = 0;
|
|
for (int i5 = 0; i5 < 64; i5 += 7) {
|
|
int i6 = this.c;
|
|
if (i6 == this.d) {
|
|
throw z.i();
|
|
}
|
|
byte[] bArr2 = this.b;
|
|
this.c = i6 + 1;
|
|
j |= (r3 & Byte.MAX_VALUE) << i5;
|
|
if ((bArr2[i6] & ByteCompanionObject.MIN_VALUE) == 0) {
|
|
return (int) j;
|
|
}
|
|
}
|
|
throw z.e();
|
|
}
|
|
int i7 = i2 + 2;
|
|
int i8 = (bArr[i4] << 7) ^ b;
|
|
if (i8 < 0) {
|
|
i = i8 ^ WorkInfo.STOP_REASON_FOREGROUND_SERVICE_TIMEOUT;
|
|
} else {
|
|
int i9 = i2 + 3;
|
|
int i10 = (bArr[i7] << Ascii.SO) ^ i8;
|
|
if (i10 >= 0) {
|
|
i = i10 ^ 16256;
|
|
} else {
|
|
int i11 = i2 + 4;
|
|
int i12 = i10 ^ (bArr[i9] << Ascii.NAK);
|
|
if (i12 < 0) {
|
|
i = (-2080896) ^ i12;
|
|
} else {
|
|
i9 = i2 + 5;
|
|
byte b2 = bArr[i11];
|
|
int i13 = (i12 ^ (b2 << Ascii.FS)) ^ 266354560;
|
|
if (b2 < 0) {
|
|
i11 = i2 + 6;
|
|
if (bArr[i9] < 0) {
|
|
i9 = i2 + 7;
|
|
if (bArr[i11] < 0) {
|
|
i11 = i2 + 8;
|
|
if (bArr[i9] < 0) {
|
|
i9 = i2 + 9;
|
|
if (bArr[i11] < 0) {
|
|
int i14 = i2 + 10;
|
|
if (bArr[i9] < 0) {
|
|
throw z.e();
|
|
}
|
|
i7 = i14;
|
|
i = i13;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
i = i13;
|
|
}
|
|
i = i13;
|
|
}
|
|
i7 = i11;
|
|
}
|
|
i7 = i9;
|
|
}
|
|
this.c = i7;
|
|
return i;
|
|
}
|
|
throw z.i();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void j(List<Float> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof v) {
|
|
v vVar = (v) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 2) {
|
|
int w = w();
|
|
d(w);
|
|
int i6 = this.c + w;
|
|
while (this.c < i6) {
|
|
vVar.a(Float.intBitsToFloat(u()));
|
|
}
|
|
return;
|
|
}
|
|
if (i5 == 5) {
|
|
do {
|
|
vVar.a(readFloat());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i7 = this.e;
|
|
int i8 = r1.a;
|
|
int i9 = i7 & 7;
|
|
if (i9 == 2) {
|
|
int w2 = w();
|
|
d(w2);
|
|
int i10 = this.c + w2;
|
|
while (this.c < i10) {
|
|
list.add(Float.valueOf(Float.intBitsToFloat(u())));
|
|
}
|
|
return;
|
|
}
|
|
if (i9 == 5) {
|
|
do {
|
|
list.add(Float.valueOf(readFloat()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
public final long x() throws IOException {
|
|
long j;
|
|
long j2;
|
|
long j3;
|
|
int i = this.c;
|
|
int i2 = this.d;
|
|
if (i2 != i) {
|
|
byte[] bArr = this.b;
|
|
int i3 = i + 1;
|
|
byte b = bArr[i];
|
|
if (b >= 0) {
|
|
this.c = i3;
|
|
return b;
|
|
}
|
|
long j4 = 0;
|
|
if (i2 - i3 < 9) {
|
|
for (int i4 = 0; i4 < 64; i4 += 7) {
|
|
int i5 = this.c;
|
|
if (i5 == this.d) {
|
|
throw z.i();
|
|
}
|
|
byte[] bArr2 = this.b;
|
|
this.c = i5 + 1;
|
|
j4 |= (r1 & Byte.MAX_VALUE) << i4;
|
|
if ((bArr2[i5] & ByteCompanionObject.MIN_VALUE) == 0) {
|
|
return j4;
|
|
}
|
|
}
|
|
throw z.e();
|
|
}
|
|
int i6 = i + 2;
|
|
int i7 = (bArr[i3] << 7) ^ b;
|
|
if (i7 < 0) {
|
|
j = i7 ^ WorkInfo.STOP_REASON_FOREGROUND_SERVICE_TIMEOUT;
|
|
} else {
|
|
int i8 = i + 3;
|
|
int i9 = (bArr[i6] << Ascii.SO) ^ i7;
|
|
if (i9 >= 0) {
|
|
j = i9 ^ 16256;
|
|
i6 = i8;
|
|
} else {
|
|
int i10 = i + 4;
|
|
int i11 = i9 ^ (bArr[i8] << Ascii.NAK);
|
|
if (i11 < 0) {
|
|
long j5 = (-2080896) ^ i11;
|
|
i6 = i10;
|
|
j = j5;
|
|
} else {
|
|
long j6 = i11;
|
|
i6 = i + 5;
|
|
long j7 = j6 ^ (bArr[i10] << 28);
|
|
if (j7 >= 0) {
|
|
j3 = 266354560;
|
|
} else {
|
|
int i12 = i + 6;
|
|
long j8 = j7 ^ (bArr[i6] << 35);
|
|
if (j8 < 0) {
|
|
j2 = -34093383808L;
|
|
} else {
|
|
i6 = i + 7;
|
|
j7 = j8 ^ (bArr[i12] << 42);
|
|
if (j7 >= 0) {
|
|
j3 = 4363953127296L;
|
|
} else {
|
|
i12 = i + 8;
|
|
j8 = j7 ^ (bArr[i6] << 49);
|
|
if (j8 < 0) {
|
|
j2 = -558586000294016L;
|
|
} else {
|
|
i6 = i + 9;
|
|
long j9 = (j8 ^ (bArr[i12] << 56)) ^ 71499008037633920L;
|
|
if (j9 < 0) {
|
|
int i13 = i + 10;
|
|
if (bArr[i6] < 0) {
|
|
throw z.e();
|
|
}
|
|
i6 = i13;
|
|
}
|
|
j = j9;
|
|
}
|
|
}
|
|
}
|
|
j = j8 ^ j2;
|
|
i6 = i12;
|
|
}
|
|
j = j7 ^ j3;
|
|
}
|
|
}
|
|
}
|
|
this.c = i6;
|
|
return j;
|
|
}
|
|
throw z.i();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final <T> T a(d1<T> d1Var, q qVar) throws IOException {
|
|
c(2);
|
|
return (T) d(d1Var, qVar);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void l(List<Double> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof n) {
|
|
n nVar = (n) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 1) {
|
|
do {
|
|
nVar.a(readDouble());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
if (i5 == 2) {
|
|
int w = w();
|
|
e(w);
|
|
int i6 = this.c + w;
|
|
while (this.c < i6) {
|
|
nVar.a(Double.longBitsToDouble(v()));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i7 = this.e;
|
|
int i8 = r1.a;
|
|
int i9 = i7 & 7;
|
|
if (i9 == 1) {
|
|
do {
|
|
list.add(Double.valueOf(readDouble()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
if (i9 == 2) {
|
|
int w2 = w();
|
|
e(w2);
|
|
int i10 = this.c + w2;
|
|
while (this.c < i10) {
|
|
list.add(Double.valueOf(Double.longBitsToDouble(v())));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final <T> T a(Class<T> cls, q qVar) throws IOException {
|
|
c(3);
|
|
return (T) c(z0.c.a(cls), qVar);
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final int a() throws IOException {
|
|
c(0);
|
|
return w();
|
|
}
|
|
|
|
public final void a(List<String> list, boolean z) throws IOException {
|
|
int i;
|
|
int i2;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
if ((i3 & 7) == 2) {
|
|
if ((list instanceof d0) && !z) {
|
|
d0 d0Var = (d0) list;
|
|
do {
|
|
d0Var.a(l());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
do {
|
|
list.add(a(z));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void c(List<Integer> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof x) {
|
|
x xVar = (x) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 2) {
|
|
int w = w();
|
|
d(w);
|
|
int i6 = this.c + w;
|
|
while (this.c < i6) {
|
|
xVar.c(u());
|
|
}
|
|
return;
|
|
}
|
|
if (i5 == 5) {
|
|
do {
|
|
xVar.c(q());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i7 = this.e;
|
|
int i8 = r1.a;
|
|
int i9 = i7 & 7;
|
|
if (i9 == 2) {
|
|
int w2 = w();
|
|
d(w2);
|
|
int i10 = this.c + w2;
|
|
while (this.c < i10) {
|
|
list.add(Integer.valueOf(u()));
|
|
}
|
|
return;
|
|
}
|
|
if (i9 == 5) {
|
|
do {
|
|
list.add(Integer.valueOf(q()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void d(List<Long> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof f0) {
|
|
f0 f0Var = (f0) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 != 0) {
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
f0Var.a(j.a(x()));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
f0Var.a(f());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 != 0) {
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Long.valueOf(j.a(x())));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
list.add(Long.valueOf(f()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void p(List<Integer> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof x) {
|
|
x xVar = (x) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 == 0) {
|
|
do {
|
|
xVar.c(o());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
xVar.c(w());
|
|
}
|
|
b(w);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 == 0) {
|
|
do {
|
|
list.add(Integer.valueOf(o()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Integer.valueOf(w()));
|
|
}
|
|
b(w2);
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final <T> void a(List<T> list, d1<T> d1Var, q qVar) throws IOException {
|
|
int i;
|
|
int i2 = this.e;
|
|
int i3 = r1.a;
|
|
if ((i2 & 7) == 3) {
|
|
do {
|
|
list.add(c(d1Var, qVar));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == i2);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
int i4 = z.a;
|
|
throw new z.a();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void a(List<Integer> list) throws IOException {
|
|
int i;
|
|
int i2;
|
|
if (list instanceof x) {
|
|
x xVar = (x) list;
|
|
int i3 = this.e;
|
|
int i4 = r1.a;
|
|
int i5 = i3 & 7;
|
|
if (i5 != 0) {
|
|
if (i5 == 2) {
|
|
int w = this.c + w();
|
|
while (this.c < w) {
|
|
xVar.c(j.b(w()));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
xVar.c(e());
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i2 = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i2;
|
|
return;
|
|
}
|
|
int i6 = this.e;
|
|
int i7 = r1.a;
|
|
int i8 = i6 & 7;
|
|
if (i8 != 0) {
|
|
if (i8 == 2) {
|
|
int w2 = this.c + w();
|
|
while (this.c < w2) {
|
|
list.add(Integer.valueOf(j.b(w())));
|
|
}
|
|
return;
|
|
}
|
|
throw z.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(e()));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == this.e);
|
|
this.c = i;
|
|
}
|
|
|
|
public final void e(int i) throws IOException {
|
|
a(i);
|
|
if ((i & 7) != 0) {
|
|
throw z.g();
|
|
}
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final void n() throws IOException {
|
|
c(2);
|
|
int w = w();
|
|
a(w);
|
|
int i = this.d;
|
|
this.d = this.c + w;
|
|
try {
|
|
throw null;
|
|
} catch (Throwable th) {
|
|
this.d = i;
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // com.fyber.inneractive.sdk.protobuf.c1
|
|
public final <T> void b(List<T> list, d1<T> d1Var, q qVar) throws IOException {
|
|
int i;
|
|
int i2 = this.e;
|
|
int i3 = r1.a;
|
|
if ((i2 & 7) == 2) {
|
|
do {
|
|
list.add(d(d1Var, qVar));
|
|
if (t()) {
|
|
return;
|
|
} else {
|
|
i = this.c;
|
|
}
|
|
} while (w() == i2);
|
|
this.c = i;
|
|
return;
|
|
}
|
|
int i4 = z.a;
|
|
throw new z.a();
|
|
}
|
|
|
|
public final void c(int i) throws IOException {
|
|
int i2 = this.e;
|
|
int i3 = r1.a;
|
|
if ((i2 & 7) != i) {
|
|
throw z.d();
|
|
}
|
|
}
|
|
|
|
public final void b(int i) throws IOException {
|
|
if (this.c != i) {
|
|
throw z.i();
|
|
}
|
|
}
|
|
|
|
public final void d(int i) throws IOException {
|
|
a(i);
|
|
if ((i & 3) != 0) {
|
|
throw z.g();
|
|
}
|
|
}
|
|
|
|
public final void a(int i) throws IOException {
|
|
if (i < 0 || i > this.d - this.c) {
|
|
throw z.i();
|
|
}
|
|
}
|
|
}
|
|
|
|
public f() {
|
|
}
|
|
|
|
public /* synthetic */ f(int i) {
|
|
this();
|
|
}
|
|
}
|