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

525 lines
15 KiB
Java

package o;
import com.google.crypto.tink.shaded.protobuf.CodedOutputStream;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import o.C15775iXO;
import o.MLB;
import o.xLv;
/* renamed from: o.diG, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C9356diG implements MLB {
private final CodedOutputStream e;
/* JADX INFO: Access modifiers changed from: package-private */
public C9356diG(CodedOutputStream codedOutputStream) {
CodedOutputStream codedOutputStream2 = (CodedOutputStream) oZe.a(codedOutputStream, "output");
this.e = codedOutputStream2;
codedOutputStream2.e = this;
}
@Override // o.MLB
public final MLB.Sts d() {
return MLB.Sts.ASCENDING;
}
@Override // o.MLB
public final void c(int i, long j) throws IOException {
this.e.c(i, j);
}
@Override // o.MLB
public final void b(int i, int i2) throws IOException {
this.e.i(i, i2);
}
@Override // o.MLB
public final void a(int i, long j) throws IOException {
this.e.b(i, j);
}
@Override // o.MLB
public final void e(int i, int i2) throws IOException {
this.e.e(i, i2);
}
@Override // o.MLB
public final void d(int i, boolean z) throws IOException {
this.e.b(i, z);
}
@Override // o.MLB
public final void b(int i, String str) throws IOException {
this.e.d(i, str);
}
@Override // o.MLB
public final void d(int i, jra jraVar) throws IOException {
this.e.a(i, jraVar);
}
@Override // o.MLB
public final void h(int i, int i2) throws IOException {
this.e.j(i, i2);
}
@Override // o.MLB
public final void d(int i, Object obj, CSi cSi) throws IOException {
this.e.e(i, (vAr) obj, cSi);
}
@Override // o.MLB
public final void e(int i, Object obj, CSi cSi) throws IOException {
CodedOutputStream codedOutputStream = this.e;
codedOutputStream.g(i, 3);
cSi.b((vAr) obj, codedOutputStream.e);
codedOutputStream.g(i, 4);
}
@Override // o.MLB
public final void d(int i) throws IOException {
this.e.g(i, 3);
}
@Override // o.MLB
public final void c(int i) throws IOException {
this.e.g(i, 4);
}
@Override // o.MLB
public final void e(int i, Object obj) throws IOException {
if (obj instanceof jra) {
this.e.e(i, (jra) obj);
} else {
this.e.d(i, (vAr) obj);
}
}
@Override // o.MLB
public final void g(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.i(list.get(i4).intValue());
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.q(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.i(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.MLB
public final void c(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.d();
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.o(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.e(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.MLB
public final void i(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.b(list.get(i4).longValue());
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.e(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.c(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.MLB
public final void o(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.a(list.get(i4).longValue());
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.e(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.c(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.MLB
public final void b(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.a();
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.d(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.b(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.MLB
public final void f(int i, List<Float> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.f();
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.o(Float.floatToRawIntBits(list.get(i2).floatValue()));
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.e(i, Float.floatToRawIntBits(list.get(i2).floatValue()));
i2++;
}
}
@Override // o.MLB
public final void a(int i, List<Double> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.c();
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.d(Double.doubleToRawLongBits(list.get(i2).doubleValue()));
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.b(i, Double.doubleToRawLongBits(list.get(i2).doubleValue()));
i2++;
}
}
@Override // o.MLB
public final void d(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.d(list.get(i4).intValue());
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.q(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.i(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.MLB
public final void e(int i, List<Boolean> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.e();
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.c(list.get(i2).booleanValue() ? (byte) 1 : (byte) 0);
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.b(i, list.get(i2).booleanValue());
i2++;
}
}
@Override // o.MLB
public final void c(int i, List<String> list) throws IOException {
int i2 = 0;
if (list instanceof dMQ) {
dMQ dmq = (dMQ) list;
while (i2 < list.size()) {
Object d = dmq.d(i2);
if (d instanceof String) {
this.e.d(i, (String) d);
} else {
this.e.a(i, (jra) d);
}
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.d(i, list.get(i2));
i2++;
}
}
@Override // o.MLB
public final void a(int i, List<jra> list) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
this.e.a(i, list.get(i2));
}
}
@Override // o.MLB
public final void l(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.l(list.get(i4).intValue());
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.r(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.j(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.MLB
public final void j(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.g();
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.o(list.get(i2).intValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.e(i, list.get(i2).intValue());
i2++;
}
}
@Override // o.MLB
public final void h(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
list.get(i4);
i3 += CodedOutputStream.h();
}
this.e.r(i3);
while (i2 < list.size()) {
this.e.d(list.get(i2).longValue());
i2++;
}
return;
}
while (i2 < list.size()) {
this.e.b(i, list.get(i2).longValue());
i2++;
}
}
@Override // o.MLB
public final void n(int i, List<Integer> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.k(list.get(i4).intValue());
}
this.e.r(i3);
while (i2 < list.size()) {
CodedOutputStream codedOutputStream = this.e;
int intValue = list.get(i2).intValue();
codedOutputStream.r((intValue << 1) ^ (intValue >> 31));
i2++;
}
return;
}
while (i2 < list.size()) {
CodedOutputStream codedOutputStream2 = this.e;
int intValue2 = list.get(i2).intValue();
codedOutputStream2.j(i, (intValue2 << 1) ^ (intValue2 >> 31));
i2++;
}
}
@Override // o.MLB
public final void k(int i, List<Long> list, boolean z) throws IOException {
int i2 = 0;
if (z) {
this.e.g(i, 2);
int i3 = 0;
for (int i4 = 0; i4 < list.size(); i4++) {
i3 += CodedOutputStream.c(list.get(i4).longValue());
}
this.e.r(i3);
while (i2 < list.size()) {
CodedOutputStream codedOutputStream = this.e;
long longValue = list.get(i2).longValue();
codedOutputStream.e((longValue << 1) ^ (longValue >> 63));
i2++;
}
return;
}
while (i2 < list.size()) {
CodedOutputStream codedOutputStream2 = this.e;
long longValue2 = list.get(i2).longValue();
codedOutputStream2.c(i, (longValue2 << 1) ^ (longValue2 >> 63));
i2++;
}
}
@Override // o.MLB
public final void c(int i, List<?> list, CSi cSi) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
this.e.e(i, (vAr) list.get(i2), cSi);
}
}
@Override // o.MLB
public final void a(int i, List<?> list, CSi cSi) throws IOException {
for (int i2 = 0; i2 < list.size(); i2++) {
e(i, list.get(i2), cSi);
}
}
@Override // o.MLB
public final void a(int i, double d) throws IOException {
this.e.b(i, Double.doubleToRawLongBits(d));
}
@Override // o.MLB
public final void a(int i, int i2) throws IOException {
this.e.i(i, i2);
}
@Override // o.MLB
public final void e(int i, float f) throws IOException {
this.e.e(i, Float.floatToRawIntBits(f));
}
@Override // o.MLB
public final void d(int i, long j) throws IOException {
this.e.c(i, j);
}
@Override // o.MLB
public final <K, V> void b(int i, xLv.IeS<K, V> ieS, Map<K, V> map) throws IOException {
boolean z = this.e.b;
for (Map.Entry<K, V> entry : map.entrySet()) {
this.e.g(i, 2);
CodedOutputStream codedOutputStream = this.e;
K key = entry.getKey();
V value = entry.getValue();
int b = QWH.b(ieS.d, 1, key);
C15775iXO.RVV rvv = ieS.e;
codedOutputStream.r(b + QWH.b(null, 2, value));
CodedOutputStream codedOutputStream2 = this.e;
K key2 = entry.getKey();
V value2 = entry.getValue();
QWH.d(codedOutputStream2, ieS.d, 1, key2);
QWH.d(codedOutputStream2, ieS.e, 2, value2);
}
}
@Override // o.MLB
public final void d(int i, int i2) throws IOException {
this.e.e(i, i2);
}
@Override // o.MLB
public final void e(int i, long j) throws IOException {
this.e.b(i, j);
}
@Override // o.MLB
public final void c(int i, int i2) throws IOException {
this.e.j(i, (i2 << 1) ^ (i2 >> 31));
}
@Override // o.MLB
public final void b(int i, long j) throws IOException {
this.e.c(i, (j << 1) ^ (j >> 63));
}
}