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

625 lines
18 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.crypto.tink.shaded.protobuf.CodedOutputStream;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.RandomAccess;
import o.QWH;
import o.oZe;
import o.qAt;
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.fJo, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C12871fJo {
private static final Class<?> d = c();
private static final YlB<?, ?> c = a(false);
private static final YlB<?, ?> b = a(true);
private static final YlB<?, ?> e = new ArY();
public static void c(Class<?> cls) {
Class<?> cls2;
if (!AbstractC16345ndh.class.isAssignableFrom(cls) && (cls2 = d) != null && !cls2.isAssignableFrom(cls)) {
throw new IllegalArgumentException("Message classes must extend GeneratedMessageV3 or GeneratedMessageLite");
}
}
public static void e(int i, List<Double> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.a(i, list, z);
}
public static void j(int i, List<Float> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.f(i, list, z);
}
public static void h(int i, List<Long> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.i(i, list, z);
}
public static void k(int i, List<Long> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.o(i, list, z);
}
public static void l(int i, List<Long> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.k(i, list, z);
}
public static void a(int i, List<Long> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.b(i, list, z);
}
public static void i(int i, List<Long> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.h(i, list, z);
}
public static void g(int i, List<Integer> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.g(i, list, z);
}
public static void m(int i, List<Integer> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.l(i, list, z);
}
public static void n(int i, List<Integer> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.n(i, list, z);
}
public static void b(int i, List<Integer> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.c(i, list, z);
}
public static void f(int i, List<Integer> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.j(i, list, z);
}
public static void c(int i, List<Integer> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.d(i, list, z);
}
public static void d(int i, List<Boolean> list, MLB mlb, boolean z) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.e(i, list, z);
}
public static void d(int i, List<String> list, MLB mlb) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.c(i, list);
}
public static void b(int i, List<jra> list, MLB mlb) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.a(i, list);
}
public static void a(int i, List<?> list, MLB mlb, CSi cSi) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.c(i, list, cSi);
}
public static void d(int i, List<?> list, MLB mlb, CSi cSi) throws IOException {
if (list == null || list.isEmpty()) {
return;
}
mlb.a(i, list, cSi);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int j(List<Long> list) {
int size = list.size();
int i = 0;
if (size == 0) {
return 0;
}
if (list instanceof AVn) {
AVn aVn = (AVn) list;
for (int i2 = 0; i2 < size; i2++) {
aVn.b(i2);
i += CodedOutputStream.b(aVn.d[i2]);
}
} else {
for (int i3 = 0; i3 < size; i3++) {
i += CodedOutputStream.b(list.get(i3).longValue());
}
}
return i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int f(int i, List<Long> list) {
if (list.size() == 0) {
return 0;
}
return j(list) + (list.size() * CodedOutputStream.m(i));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int h(List<Long> list) {
int size = list.size();
int i = 0;
if (size == 0) {
return 0;
}
if (list instanceof AVn) {
AVn aVn = (AVn) list;
for (int i2 = 0; i2 < size; i2++) {
aVn.b(i2);
i += CodedOutputStream.a(aVn.d[i2]);
}
} else {
for (int i3 = 0; i3 < size; i3++) {
i += CodedOutputStream.a(list.get(i3).longValue());
}
}
return i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int o(int i, List<Long> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return h(list) + (size * CodedOutputStream.m(i));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int f(List<Long> list) {
int size = list.size();
int i = 0;
if (size == 0) {
return 0;
}
if (list instanceof AVn) {
AVn aVn = (AVn) list;
for (int i2 = 0; i2 < size; i2++) {
aVn.b(i2);
i += CodedOutputStream.c(aVn.d[i2]);
}
} else {
for (int i3 = 0; i3 < size; i3++) {
i += CodedOutputStream.c(list.get(i3).longValue());
}
}
return i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int g(int i, List<Long> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return f(list) + (size * CodedOutputStream.m(i));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int e(List<Integer> list) {
int size = list.size();
int i = 0;
if (size == 0) {
return 0;
}
if (list instanceof nBu) {
nBu nbu = (nBu) list;
for (int i2 = 0; i2 < size; i2++) {
nbu.e(i2);
i += CodedOutputStream.d(nbu.a[i2]);
}
} else {
for (int i3 = 0; i3 < size; i3++) {
i += CodedOutputStream.d(list.get(i3).intValue());
}
}
return i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int c(int i, List<Integer> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return e(list) + (size * CodedOutputStream.m(i));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int b(List<Integer> list) {
int size = list.size();
int i = 0;
if (size == 0) {
return 0;
}
if (list instanceof nBu) {
nBu nbu = (nBu) list;
for (int i2 = 0; i2 < size; i2++) {
nbu.e(i2);
i += CodedOutputStream.i(nbu.a[i2]);
}
} else {
for (int i3 = 0; i3 < size; i3++) {
i += CodedOutputStream.i(list.get(i3).intValue());
}
}
return i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int j(int i, List<Integer> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return b(list) + (size * CodedOutputStream.m(i));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int i(List<Integer> list) {
int size = list.size();
int i = 0;
if (size == 0) {
return 0;
}
if (list instanceof nBu) {
nBu nbu = (nBu) list;
for (int i2 = 0; i2 < size; i2++) {
nbu.e(i2);
i += CodedOutputStream.l(nbu.a[i2]);
}
} else {
for (int i3 = 0; i3 < size; i3++) {
i += CodedOutputStream.l(list.get(i3).intValue());
}
}
return i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int l(int i, List<Integer> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return i(list) + (size * CodedOutputStream.m(i));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int g(List<Integer> list) {
int size = list.size();
int i = 0;
if (size == 0) {
return 0;
}
if (list instanceof nBu) {
nBu nbu = (nBu) list;
for (int i2 = 0; i2 < size; i2++) {
nbu.e(i2);
i += CodedOutputStream.k(nbu.a[i2]);
}
} else {
for (int i3 = 0; i3 < size; i3++) {
i += CodedOutputStream.k(list.get(i3).intValue());
}
}
return i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int i(int i, List<Integer> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return g(list) + (size * CodedOutputStream.m(i));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int d(List<?> list) {
return list.size() << 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int d(int i, List<?> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return size * CodedOutputStream.a(i);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int c(List<?> list) {
return list.size() << 3;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int a(int i, List<?> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return size * CodedOutputStream.b(i);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int a(List<?> list) {
return list.size();
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int e(int i, List<?> list) {
int size = list.size();
if (size == 0) {
return 0;
}
return size * CodedOutputStream.e(i);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int h(int i, List<?> list) {
int b2;
int b3;
int size = list.size();
int i2 = 0;
if (size == 0) {
return 0;
}
int m = CodedOutputStream.m(i) * size;
if (list instanceof dMQ) {
dMQ dmq = (dMQ) list;
while (i2 < size) {
Object d2 = dmq.d(i2);
if (d2 instanceof jra) {
b3 = CodedOutputStream.c((jra) d2);
} else {
b3 = CodedOutputStream.b((String) d2);
}
m += b3;
i2++;
}
} else {
while (i2 < size) {
Object obj = list.get(i2);
if (obj instanceof jra) {
b2 = CodedOutputStream.c((jra) obj);
} else {
b2 = CodedOutputStream.b((String) obj);
}
m += b2;
i2++;
}
}
return m;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int e(int i, Object obj, CSi cSi) {
if (obj instanceof GAv) {
return CodedOutputStream.a(i, (GAv) obj);
}
return CodedOutputStream.c(i, (vAr) obj, cSi);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int e(int i, List<?> list, CSi cSi) {
int c2;
int size = list.size();
if (size == 0) {
return 0;
}
int m = CodedOutputStream.m(i) * size;
for (int i2 = 0; i2 < size; i2++) {
Object obj = list.get(i2);
if (obj instanceof GAv) {
c2 = CodedOutputStream.b((GAv) obj);
} else {
c2 = CodedOutputStream.c((vAr) obj, cSi);
}
m += c2;
}
return m;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int b(int i, List<jra> list) {
int size = list.size();
if (size == 0) {
return 0;
}
int m = size * CodedOutputStream.m(i);
for (int i2 = 0; i2 < list.size(); i2++) {
m += CodedOutputStream.c(list.get(i2));
}
return m;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int c(int i, List<vAr> list, CSi cSi) {
int size = list.size();
if (size == 0) {
return 0;
}
int i2 = 0;
for (int i3 = 0; i3 < size; i3++) {
i2 += CodedOutputStream.d(i, list.get(i3), cSi);
}
return i2;
}
private static YlB<?, ?> a(boolean z) {
try {
Class<?> a = a();
if (a == null) {
return null;
}
return (YlB) a.getConstructor(Boolean.TYPE).newInstance(Boolean.valueOf(z));
} catch (Throwable unused) {
return null;
}
}
private static Class<?> c() {
try {
return Class.forName("com.google.crypto.tink.shaded.protobuf.GeneratedMessageV3");
} catch (Throwable unused) {
return null;
}
}
private static Class<?> a() {
try {
return Class.forName("com.google.crypto.tink.shaded.protobuf.UnknownFieldSetSchema");
} catch (Throwable unused) {
return null;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static boolean a(Object obj, Object obj2) {
return obj == obj2 || (obj != null && obj.equals(obj2));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <T> void c(YVe yVe, T t, T t2, long j) {
C1609aJC.b(t, j, yVe.e(C1609aJC.g(t, j), C1609aJC.g(t2, j)));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <T, FT extends QWH.IeS<FT>> void b(yvZ<FT> yvz, T t, T t2) {
Iterable entrySet;
QWH<FT> c2 = yvz.c(t2);
if (c2.d.isEmpty()) {
return;
}
QWH<FT> d2 = yvz.d(t);
for (int i = 0; i < c2.d.c.size(); i++) {
d2.c(c2.d.c.get(i));
}
qAt<FT, Object> qat = c2.d;
if (qat.a.isEmpty()) {
entrySet = qAt.HBt.c();
} else {
entrySet = qat.a.entrySet();
}
Iterator<T> it = entrySet.iterator();
while (it.hasNext()) {
d2.c((Map.Entry) it.next());
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <T, UT, UB> void d(YlB<UT, UB> ylB, T t, T t2) {
ylB.d(t, ylB.a(ylB.b(t), ylB.b(t2)));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <UT, UB> UB b(int i, List<Integer> list, oZe.RVV rvv, UB ub, YlB<UT, UB> ylB) {
if (rvv == null) {
return ub;
}
if (list instanceof RandomAccess) {
int size = list.size();
int i2 = 0;
for (int i3 = 0; i3 < size; i3++) {
int intValue = list.get(i3).intValue();
if (rvv.a()) {
if (i3 != i2) {
list.set(i2, Integer.valueOf(intValue));
}
i2++;
} else {
if (ub == null) {
ub = ylB.d();
}
ylB.a((YlB<UT, UB>) ub, i, intValue);
}
}
if (i2 != size) {
list.subList(i2, size).clear();
}
} else {
Iterator<Integer> it = list.iterator();
while (it.hasNext()) {
int intValue2 = it.next().intValue();
if (!rvv.a()) {
if (ub == null) {
ub = ylB.d();
}
ylB.a((YlB<UT, UB>) ub, i, intValue2);
it.remove();
}
}
}
return ub;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <UT, UB> UB d(int i, int i2, UB ub, YlB<UT, UB> ylB) {
if (ub == null) {
ub = ylB.d();
}
ylB.a((YlB<UT, UB>) ub, i, i2);
return ub;
}
public static YlB<?, ?> d() {
return e;
}
public static YlB<?, ?> e() {
return b;
}
public static YlB<?, ?> b() {
return c;
}
}