what-the-bank/sources/o/oQI.java

518 lines
15 KiB
Java

package o;
import com.google.protobuf.CodedOutputStream;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import o.InterfaceC16095lEl;
import o.xdS;
/* loaded from: classes2.dex */
public final class oQI implements InterfaceC16095lEl {
private final CodedOutputStream d;
/* JADX INFO: Access modifiers changed from: package-private */
public oQI(CodedOutputStream codedOutputStream) {
CodedOutputStream codedOutputStream2 = (CodedOutputStream) MTP.c(codedOutputStream, "output");
this.d = codedOutputStream2;
codedOutputStream2.d = this;
}
@Override // o.InterfaceC16095lEl
public final InterfaceC16095lEl.Sts d() {
return InterfaceC16095lEl.Sts.ASCENDING;
}
@Override // o.InterfaceC16095lEl
public final void e(int i, long j) throws IOException {
this.d.e(i, j);
}
@Override // o.InterfaceC16095lEl
public final void a(int i, int i2) throws IOException {
this.d.h(i, i2);
}
@Override // o.InterfaceC16095lEl
public final void c(int i, long j) throws IOException {
this.d.b(i, j);
}
@Override // o.InterfaceC16095lEl
public final void e(int i, int i2) throws IOException {
this.d.c(i, i2);
}
@Override // o.InterfaceC16095lEl
public final void c(int i, boolean z) throws IOException {
this.d.c(i, z);
}
@Override // o.InterfaceC16095lEl
public final void a(int i, String str) throws IOException {
this.d.a(i, str);
}
@Override // o.InterfaceC16095lEl
public final void e(int i, QwV qwV) throws IOException {
this.d.d(i, qwV);
}
@Override // o.InterfaceC16095lEl
public final void h(int i, int i2) throws IOException {
this.d.f(i, i2);
}
@Override // o.InterfaceC16095lEl
public final void d(int i, Object obj, Wnq wnq) throws IOException {
this.d.e(i, (InterfaceC16581pUl) obj, wnq);
}
@Override // o.InterfaceC16095lEl
public final void c(int i, Object obj, Wnq wnq) throws IOException {
CodedOutputStream codedOutputStream = this.d;
codedOutputStream.g(i, 3);
wnq.a((Wnq) obj, (InterfaceC16095lEl) codedOutputStream.d);
codedOutputStream.g(i, 4);
}
@Override // o.InterfaceC16095lEl
public final void e(int i) throws IOException {
this.d.g(i, 3);
}
@Override // o.InterfaceC16095lEl
public final void b(int i) throws IOException {
this.d.g(i, 4);
}
@Override // o.InterfaceC16095lEl
public final void d(int i, Object obj) throws IOException {
if (obj instanceof QwV) {
this.d.b(i, (QwV) obj);
} else {
this.d.a(i, (InterfaceC16581pUl) obj);
}
}
@Override // o.InterfaceC16095lEl
public final void h(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.g(list.get(i4).intValue());
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.t(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.h(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void a(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.b();
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.p(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.c(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void f(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.b(list.get(i4).longValue());
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.a(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.e(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void m(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.d(list.get(i4).longValue());
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.a(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.e(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void e(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.e();
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.e(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.b(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void g(int i, List<Float> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.h();
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.p(Float.floatToRawIntBits(list.get(i2).floatValue()));
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.c(i, Float.floatToRawIntBits(list.get(i2).floatValue()));
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void b(int i, List<Double> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.d();
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.e(Double.doubleToRawLongBits(list.get(i2).doubleValue()));
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.b(i, Double.doubleToRawLongBits(list.get(i2).doubleValue()));
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void d(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.c(list.get(i4).intValue());
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.t(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.h(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void c(int i, List<Boolean> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.c();
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.a(list.get(i2).booleanValue() ? (byte) 1 : (byte) 0);
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.c(i, list.get(i2).booleanValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void e(int i, List<String> list) throws IOException {
int i2 = 0;
if (list instanceof VWY) {
VWY vwy = (VWY) list;
while (i2 < list.size()) {
Object c = vwy.c(i2);
if (c instanceof String) {
this.d.a(i, (String) c);
} else {
this.d.d(i, (QwV) c);
}
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.a(i, list.get(i2));
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void c(int i, List<QwV> list) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
this.d.d(i, list.get(i2));
}
}
@Override // o.InterfaceC16095lEl
public final void n(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.k(list.get(i4).intValue());
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.r(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.f(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void i(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.j();
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.p(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.c(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void j(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.g();
}
this.d.r(i3);
while (i2 < list.size()) {
this.d.e(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.d.b(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void l(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.m(list.get(i4).intValue());
}
this.d.r(i3);
while (i2 < list.size()) {
CodedOutputStream codedOutputStream = this.d;
int intValue = list.get(i2).intValue();
codedOutputStream.r((intValue << 1) ^ (intValue >> 31));
i2++;
}
return;
}
while (i2 < list.size()) {
CodedOutputStream codedOutputStream2 = this.d;
int intValue2 = list.get(i2).intValue();
codedOutputStream2.f(i, (intValue2 << 1) ^ (intValue2 >> 31));
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void o(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.d.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.c(list.get(i4).longValue());
}
this.d.r(i3);
while (i2 < list.size()) {
CodedOutputStream codedOutputStream = this.d;
long longValue = list.get(i2).longValue();
codedOutputStream.a((longValue << 1) ^ (longValue >> 63));
i2++;
}
return;
}
while (i2 < list.size()) {
CodedOutputStream codedOutputStream2 = this.d;
long longValue2 = list.get(i2).longValue();
codedOutputStream2.e(i, (longValue2 << 1) ^ (longValue2 >> 63));
i2++;
}
}
@Override // o.InterfaceC16095lEl
public final void b(int i, List<?> list, Wnq wnq) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
this.d.e(i, (InterfaceC16581pUl) list.get(i2), wnq);
}
}
@Override // o.InterfaceC16095lEl
public final void a(int i, List<?> list, Wnq wnq) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
c(i, list.get(i2), wnq);
}
}
@Override // o.InterfaceC16095lEl
public final void b(int i, double d) throws IOException {
this.d.b(i, Double.doubleToRawLongBits(d));
}
@Override // o.InterfaceC16095lEl
public final void c(int i, int i2) throws IOException {
this.d.h(i, i2);
}
@Override // o.InterfaceC16095lEl
public final void b(int i, float f) throws IOException {
this.d.c(i, Float.floatToRawIntBits(f));
}
@Override // o.InterfaceC16095lEl
public final void d(int i, long j) throws IOException {
this.d.e(i, j);
}
@Override // o.InterfaceC16095lEl
public final <K, V> void c(int i, xdS.IeS<K, V> ieS, Map<K, V> map) throws IOException {
boolean z = this.d.e;
for (Map.Entry<K, V> entry : map.entrySet()) {
this.d.g(i, 2);
this.d.r(Rkw.b(ieS.d, 1, entry.getKey()) + Rkw.b(ieS.b, 2, entry.getValue()));
CodedOutputStream codedOutputStream = this.d;
K key = entry.getKey();
V value = entry.getValue();
Rkw.b(codedOutputStream, ieS.d, 1, key);
Rkw.b(codedOutputStream, ieS.b, 2, value);
}
}
@Override // o.InterfaceC16095lEl
public final void d(int i, int i2) throws IOException {
this.d.c(i, i2);
}
@Override // o.InterfaceC16095lEl
public final void b(int i, long j) throws IOException {
this.d.b(i, j);
}
@Override // o.InterfaceC16095lEl
public final void b(int i, int i2) throws IOException {
this.d.f(i, (i2 << 1) ^ (i2 >> 31));
}
@Override // o.InterfaceC16095lEl
public final void a(int i, long j) throws IOException {
this.d.e(i, (j << 1) ^ (j >> 63));
}
}