1305 lines
41 KiB
Java
1305 lines
41 KiB
Java
package o;
|
|
|
|
import com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException;
|
|
import java.io.IOException;
|
|
import java.util.List;
|
|
import o.C15775iXO;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes2.dex */
|
|
public final class JpZ implements InterfaceC16982srS {
|
|
private int a = 0;
|
|
private final SXg b;
|
|
private int c;
|
|
private int e;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public JpZ(SXg sXg) {
|
|
SXg sXg2 = (SXg) oZe.a(sXg, "input");
|
|
this.b = sXg2;
|
|
sXg2.b = this;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int b() throws IOException {
|
|
int i = this.a;
|
|
if (i != 0) {
|
|
this.c = i;
|
|
this.a = 0;
|
|
} else {
|
|
this.c = this.b.r();
|
|
}
|
|
int i2 = this.c;
|
|
if (i2 == 0 || i2 == this.e) {
|
|
return Integer.MAX_VALUE;
|
|
}
|
|
return C15775iXO.d(i2);
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final boolean s() throws IOException {
|
|
int i;
|
|
if (this.b.b() || (i = this.c) == this.e) {
|
|
return false;
|
|
}
|
|
return this.b.a(i);
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final double c() throws IOException {
|
|
if (C15775iXO.e(this.c) == 1) {
|
|
return this.b.i();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final float j() throws IOException {
|
|
if (C15775iXO.e(this.c) == 5) {
|
|
return this.b.f();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final long r() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.v();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final long l() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.n();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int f() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.l();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final long h() throws IOException {
|
|
if (C15775iXO.e(this.c) == 1) {
|
|
return this.b.h();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int g() throws IOException {
|
|
if (C15775iXO.e(this.c) == 5) {
|
|
return this.b.g();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final boolean e() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.c();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final String q() throws IOException {
|
|
if (C15775iXO.e(this.c) == 2) {
|
|
return this.b.t();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final String t() throws IOException {
|
|
if (C15775iXO.e(this.c) == 2) {
|
|
return this.b.p();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final <T> T b(CSi<T> cSi, C1458aEp c1458aEp) throws IOException {
|
|
if (C15775iXO.e(this.c) == 2) {
|
|
return (T) e(cSi, c1458aEp);
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final <T> T c(CSi<T> cSi, C1458aEp c1458aEp) throws IOException {
|
|
if (C15775iXO.e(this.c) == 3) {
|
|
return (T) d(cSi, c1458aEp);
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
private <T> T e(CSi<T> cSi, C1458aEp c1458aEp) throws IOException {
|
|
int y = this.b.y();
|
|
if (this.b.a >= this.b.d) {
|
|
throw InvalidProtocolBufferException.g();
|
|
}
|
|
int e = this.b.e(y);
|
|
T b = cSi.b();
|
|
this.b.a++;
|
|
cSi.c(b, this, c1458aEp);
|
|
cSi.c(b);
|
|
this.b.a();
|
|
SXg sXg = this.b;
|
|
sXg.a--;
|
|
this.b.d(e);
|
|
return b;
|
|
}
|
|
|
|
private <T> T d(CSi<T> cSi, C1458aEp c1458aEp) throws IOException {
|
|
int i = this.e;
|
|
this.e = C15775iXO.b(C15775iXO.d(this.c), 4);
|
|
try {
|
|
T b = cSi.b();
|
|
cSi.c(b, this, c1458aEp);
|
|
cSi.c(b);
|
|
if (this.c == this.e) {
|
|
return b;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
} finally {
|
|
this.e = i;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final jra d() throws IOException {
|
|
if (C15775iXO.e(this.c) == 2) {
|
|
return this.b.e();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int p() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.y();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int i() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.j();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int o() throws IOException {
|
|
if (C15775iXO.e(this.c) == 5) {
|
|
return this.b.k();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final long k() throws IOException {
|
|
if (C15775iXO.e(this.c) == 1) {
|
|
return this.b.m();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int m() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.s();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final long n() throws IOException {
|
|
if (C15775iXO.e(this.c) == 0) {
|
|
return this.b.q();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void b(List<Double> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof WRU) {
|
|
WRU wru = (WRU) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 1) {
|
|
if (e == 2) {
|
|
int y = this.b.y();
|
|
if ((y & 7) == 0) {
|
|
int d = this.b.d();
|
|
do {
|
|
wru.c(this.b.i());
|
|
} while (this.b.d() < d + y);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
wru.c(this.b.i());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 1) {
|
|
if (e2 == 2) {
|
|
int y2 = this.b.y();
|
|
if ((y2 & 7) == 0) {
|
|
int d2 = this.b.d();
|
|
do {
|
|
list.add(Double.valueOf(this.b.i()));
|
|
} while (this.b.d() < d2 + y2);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Double.valueOf(this.b.i()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void j(List<Float> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof Yhh) {
|
|
Yhh yhh = (Yhh) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e == 2) {
|
|
int y = this.b.y();
|
|
if ((y & 3) == 0) {
|
|
int d = this.b.d();
|
|
do {
|
|
yhh.a(this.b.f());
|
|
} while (this.b.d() < d + y);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
if (e != 5) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
yhh.a(this.b.f());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 == 2) {
|
|
int y2 = this.b.y();
|
|
if ((y2 & 3) == 0) {
|
|
int d2 = this.b.d();
|
|
do {
|
|
list.add(Float.valueOf(this.b.f()));
|
|
} while (this.b.d() < d2 + y2);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
if (e2 != 5) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Float.valueOf(this.b.f()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void q(List<Long> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof AVn) {
|
|
AVn aVn = (AVn) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
aVn.c(this.b.v());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
aVn.c(this.b.v());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Long.valueOf(this.b.v()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Long.valueOf(this.b.v()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void g(List<Long> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof AVn) {
|
|
AVn aVn = (AVn) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
aVn.c(this.b.n());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
aVn.c(this.b.n());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Long.valueOf(this.b.n()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Long.valueOf(this.b.n()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void h(List<Integer> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof nBu) {
|
|
nBu nbu = (nBu) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
nbu.d(this.b.l());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
nbu.d(this.b.l());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Integer.valueOf(this.b.l()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(this.b.l()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void f(List<Long> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof AVn) {
|
|
AVn aVn = (AVn) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 1) {
|
|
if (e == 2) {
|
|
int y = this.b.y();
|
|
if ((y & 7) == 0) {
|
|
int d = this.b.d();
|
|
do {
|
|
aVn.c(this.b.h());
|
|
} while (this.b.d() < d + y);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
aVn.c(this.b.h());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 1) {
|
|
if (e2 == 2) {
|
|
int y2 = this.b.y();
|
|
if ((y2 & 7) == 0) {
|
|
int d2 = this.b.d();
|
|
do {
|
|
list.add(Long.valueOf(this.b.h()));
|
|
} while (this.b.d() < d2 + y2);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Long.valueOf(this.b.h()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void d(List<Integer> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof nBu) {
|
|
nBu nbu = (nBu) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e == 2) {
|
|
int y = this.b.y();
|
|
if ((y & 3) == 0) {
|
|
int d = this.b.d();
|
|
do {
|
|
nbu.d(this.b.g());
|
|
} while (this.b.d() < d + y);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
if (e != 5) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
nbu.d(this.b.g());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 == 2) {
|
|
int y2 = this.b.y();
|
|
if ((y2 & 3) == 0) {
|
|
int d2 = this.b.d();
|
|
do {
|
|
list.add(Integer.valueOf(this.b.g()));
|
|
} while (this.b.d() < d2 + y2);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
if (e2 != 5) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(this.b.g()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void e(List<Boolean> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof XBu) {
|
|
XBu xBu = (XBu) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
xBu.b(this.b.c());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
xBu.b(this.b.c());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Boolean.valueOf(this.b.c()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Boolean.valueOf(this.b.c()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void l(List<String> list) throws IOException {
|
|
b(list, false);
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void m(List<String> list) throws IOException {
|
|
b(list, true);
|
|
}
|
|
|
|
private void b(List<String> list, boolean z) throws IOException {
|
|
String t;
|
|
int r;
|
|
if (C15775iXO.e(this.c) != 2) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
if ((list instanceof dMQ) && !z) {
|
|
dMQ dmq = (dMQ) list;
|
|
while (C15775iXO.e(this.c) == 2) {
|
|
dmq.a(this.b.e());
|
|
if (this.b.b()) {
|
|
return;
|
|
}
|
|
int r2 = this.b.r();
|
|
if (r2 != this.c) {
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
if (z) {
|
|
if (C15775iXO.e(this.c) != 2) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
t = this.b.p();
|
|
} else {
|
|
if (C15775iXO.e(this.c) != 2) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
t = this.b.t();
|
|
}
|
|
list.add(t);
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // o.InterfaceC16982srS
|
|
public final <T> void e(List<T> list, CSi<T> cSi, C1458aEp c1458aEp) throws IOException {
|
|
int r;
|
|
if (C15775iXO.e(this.c) != 2) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
int i = this.c;
|
|
do {
|
|
list.add(e(cSi, c1458aEp));
|
|
if (this.b.b() || this.a != 0) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == i);
|
|
this.a = r;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // o.InterfaceC16982srS
|
|
public final <T> void a(List<T> list, CSi<T> cSi, C1458aEp c1458aEp) throws IOException {
|
|
int r;
|
|
if (C15775iXO.e(this.c) != 3) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
int i = this.c;
|
|
do {
|
|
list.add(d(cSi, c1458aEp));
|
|
if (this.b.b() || this.a != 0) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == i);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void a(List<jra> list) throws IOException {
|
|
if (C15775iXO.e(this.c) != 2) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
while (C15775iXO.e(this.c) == 2) {
|
|
list.add(this.b.e());
|
|
if (this.b.b()) {
|
|
return;
|
|
}
|
|
int r = this.b.r();
|
|
if (r != this.c) {
|
|
this.a = r;
|
|
return;
|
|
}
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void p(List<Integer> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof nBu) {
|
|
nBu nbu = (nBu) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
nbu.d(this.b.y());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
nbu.d(this.b.y());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Integer.valueOf(this.b.y()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(this.b.y()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void c(List<Integer> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof nBu) {
|
|
nBu nbu = (nBu) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
nbu.d(this.b.j());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
nbu.d(this.b.j());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Integer.valueOf(this.b.j()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(this.b.j()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void i(List<Integer> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof nBu) {
|
|
nBu nbu = (nBu) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e == 2) {
|
|
int y = this.b.y();
|
|
if ((y & 3) == 0) {
|
|
int d = this.b.d();
|
|
do {
|
|
nbu.d(this.b.k());
|
|
} while (this.b.d() < d + y);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
if (e != 5) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
nbu.d(this.b.k());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 == 2) {
|
|
int y2 = this.b.y();
|
|
if ((y2 & 3) == 0) {
|
|
int d2 = this.b.d();
|
|
do {
|
|
list.add(Integer.valueOf(this.b.k()));
|
|
} while (this.b.d() < d2 + y2);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
if (e2 != 5) {
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(this.b.k()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void k(List<Long> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof AVn) {
|
|
AVn aVn = (AVn) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 1) {
|
|
if (e == 2) {
|
|
int y = this.b.y();
|
|
if ((y & 7) == 0) {
|
|
int d = this.b.d();
|
|
do {
|
|
aVn.c(this.b.m());
|
|
} while (this.b.d() < d + y);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
aVn.c(this.b.m());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 1) {
|
|
if (e2 == 2) {
|
|
int y2 = this.b.y();
|
|
if ((y2 & 7) == 0) {
|
|
int d2 = this.b.d();
|
|
do {
|
|
list.add(Long.valueOf(this.b.m()));
|
|
} while (this.b.d() < d2 + y2);
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.f();
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Long.valueOf(this.b.m()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void n(List<Integer> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof nBu) {
|
|
nBu nbu = (nBu) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
nbu.d(this.b.s());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
nbu.d(this.b.s());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Integer.valueOf(this.b.s()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Integer.valueOf(this.b.s()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final void o(List<Long> list) throws IOException {
|
|
int r;
|
|
int r2;
|
|
if (list instanceof AVn) {
|
|
AVn aVn = (AVn) list;
|
|
int e = C15775iXO.e(this.c);
|
|
if (e != 0) {
|
|
if (e == 2) {
|
|
int d = this.b.d() + this.b.y();
|
|
do {
|
|
aVn.c(this.b.q());
|
|
} while (this.b.d() < d);
|
|
if (this.b.d() != d) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
aVn.c(this.b.q());
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r2 = this.b.r();
|
|
}
|
|
} while (r2 == this.c);
|
|
this.a = r2;
|
|
return;
|
|
}
|
|
int e2 = C15775iXO.e(this.c);
|
|
if (e2 != 0) {
|
|
if (e2 == 2) {
|
|
int d2 = this.b.d() + this.b.y();
|
|
do {
|
|
list.add(Long.valueOf(this.b.q()));
|
|
} while (this.b.d() < d2);
|
|
if (this.b.d() != d2) {
|
|
throw InvalidProtocolBufferException.h();
|
|
}
|
|
return;
|
|
}
|
|
throw InvalidProtocolBufferException.d();
|
|
}
|
|
do {
|
|
list.add(Long.valueOf(this.b.q()));
|
|
if (this.b.b()) {
|
|
return;
|
|
} else {
|
|
r = this.b.r();
|
|
}
|
|
} while (r == this.c);
|
|
this.a = r;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:36:0x005f, code lost:
|
|
|
|
r7.put(r2, null);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:38:0x0068, code lost:
|
|
|
|
return;
|
|
*/
|
|
@Override // o.InterfaceC16982srS
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final <K, V> void d(java.util.Map<K, V> r7, o.xLv.IeS<K, V> r8) throws java.io.IOException {
|
|
/*
|
|
r6 = this;
|
|
int r0 = r6.c
|
|
int r0 = o.C15775iXO.e(r0)
|
|
r1 = 2
|
|
if (r0 != r1) goto L70
|
|
o.SXg r0 = r6.b
|
|
int r0 = r0.y()
|
|
o.SXg r2 = r6.b
|
|
int r0 = r2.e(r0)
|
|
K r2 = r8.a
|
|
V r3 = r8.b
|
|
L19:
|
|
int r3 = r6.b() // Catch: java.lang.Throwable -> L69
|
|
r4 = 2147483647(0x7fffffff, float:NaN)
|
|
if (r3 == r4) goto L5f
|
|
o.SXg r4 = r6.b // Catch: java.lang.Throwable -> L69
|
|
boolean r4 = r4.b() // Catch: java.lang.Throwable -> L69
|
|
if (r4 != 0) goto L5f
|
|
r4 = 1
|
|
java.lang.String r5 = "Unable to parse map entry."
|
|
if (r3 == r4) goto L48
|
|
if (r3 == r1) goto L3e
|
|
boolean r3 = r6.s() // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
if (r3 == 0) goto L38
|
|
goto L19
|
|
L38:
|
|
com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException r3 = new com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
r3.<init>(r5) // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
throw r3 // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
L3e:
|
|
o.iXO$RVV r3 = r8.e // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
V r3 = r8.b // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
java.lang.NullPointerException r3 = new java.lang.NullPointerException // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
r3.<init>() // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
throw r3 // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
L48:
|
|
o.iXO$RVV r3 = r8.d // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
int[] r3 = o.JpZ.AnonymousClass2.c // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
java.lang.NullPointerException r3 = new java.lang.NullPointerException // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
r3.<init>() // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
throw r3 // Catch: com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.InvalidWireTypeException -> L52 java.lang.Throwable -> L69
|
|
L52:
|
|
boolean r3 = r6.s() // Catch: java.lang.Throwable -> L69
|
|
if (r3 == 0) goto L59
|
|
goto L19
|
|
L59:
|
|
com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException r7 = new com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException // Catch: java.lang.Throwable -> L69
|
|
r7.<init>(r5) // Catch: java.lang.Throwable -> L69
|
|
throw r7 // Catch: java.lang.Throwable -> L69
|
|
L5f:
|
|
r8 = 0
|
|
r7.put(r2, r8) // Catch: java.lang.Throwable -> L69
|
|
o.SXg r7 = r6.b
|
|
r7.d(r0)
|
|
return
|
|
L69:
|
|
r7 = move-exception
|
|
o.SXg r8 = r6.b
|
|
r8.d(r0)
|
|
throw r7
|
|
L70:
|
|
com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException$InvalidWireTypeException r7 = com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException.d()
|
|
throw r7
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.JpZ.d(java.util.Map, o.xLv$IeS):void");
|
|
}
|
|
|
|
/* renamed from: o.JpZ$2, reason: invalid class name */
|
|
/* loaded from: classes2.dex */
|
|
static /* synthetic */ class AnonymousClass2 {
|
|
static final int[] c;
|
|
|
|
static {
|
|
int[] iArr = new int[C15775iXO.RVV.values().length];
|
|
c = iArr;
|
|
try {
|
|
iArr[C15775iXO.RVV.BOOL.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.BYTES.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.DOUBLE.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.ENUM.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.FIXED32.ordinal()] = 5;
|
|
} catch (NoSuchFieldError unused5) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.FIXED64.ordinal()] = 6;
|
|
} catch (NoSuchFieldError unused6) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.FLOAT.ordinal()] = 7;
|
|
} catch (NoSuchFieldError unused7) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.INT32.ordinal()] = 8;
|
|
} catch (NoSuchFieldError unused8) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.INT64.ordinal()] = 9;
|
|
} catch (NoSuchFieldError unused9) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.MESSAGE.ordinal()] = 10;
|
|
} catch (NoSuchFieldError unused10) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.SFIXED32.ordinal()] = 11;
|
|
} catch (NoSuchFieldError unused11) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.SFIXED64.ordinal()] = 12;
|
|
} catch (NoSuchFieldError unused12) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.SINT32.ordinal()] = 13;
|
|
} catch (NoSuchFieldError unused13) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.SINT64.ordinal()] = 14;
|
|
} catch (NoSuchFieldError unused14) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.STRING.ordinal()] = 15;
|
|
} catch (NoSuchFieldError unused15) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.UINT32.ordinal()] = 16;
|
|
} catch (NoSuchFieldError unused16) {
|
|
}
|
|
try {
|
|
c[C15775iXO.RVV.UINT64.ordinal()] = 17;
|
|
} catch (NoSuchFieldError unused17) {
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC16982srS
|
|
public final int a() {
|
|
return this.c;
|
|
}
|
|
}
|