正在查看: klikUMKM v2.0.1 应用的 b.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: klikUMKM v2.0.1 应用的 b.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package gc;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.CompoundButton;
import android.widget.TextView;
import androidx.activity.R$id;
import androidx.activity.compose.f;
import androidx.activity.compose.g;
import androidx.activity.compose.h;
import androidx.activity.compose.o;
import androidx.activity.p0;
import androidx.activity.r0;
import androidx.compose.foundation.d0;
import androidx.compose.foundation.layout.FillElement;
import androidx.compose.foundation.layout.VerticalAlignElement;
import androidx.compose.foundation.layout.c2;
import androidx.compose.foundation.layout.d2;
import androidx.compose.foundation.layout.e2;
import androidx.compose.runtime.a2;
import androidx.compose.runtime.e1;
import androidx.compose.runtime.l;
import androidx.compose.runtime.m;
import androidx.compose.runtime.m1;
import androidx.compose.runtime.t;
import androidx.compose.runtime.u1;
import androidx.compose.ui.graphics.a0;
import androidx.compose.ui.input.pointer.PointerInputEventHandler;
import androidx.compose.ui.input.pointer.k0;
import androidx.compose.ui.layout.f0;
import androidx.compose.ui.node.n;
import androidx.compose.ui.node.q;
import androidx.compose.ui.node.r;
import androidx.compose.ui.p;
import androidx.compose.ui.platform.AndroidCompositionLocals_androidKt;
import androidx.compose.ui.platform.p4;
import androidx.compose.ui.s;
import androidx.compose.ui.text.font.u;
import androidx.compose.ui.text.font.v;
import androidx.compose.ui.text.font.w;
import androidx.compose.ui.text.u2;
import androidx.compose.ui.window.c0;
import androidx.lifecycle.x;
import com.google.firebase.encoders.json.BuildConfig;
import com.yx.credit.base.R$font;
import com.yx.credit.base.entity.Rsp;
import com.yx.credit.base.net.k;
import com.yx.credit.indonesia.http.entity.TermAmountDetail;
import com.yx.credit.indonesia.ui.delegate.cp.n2;
import com.yx.credit.indonesia.ui.delegate.cp.q2;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import qb.e0;
import w0.j;
public abstract class b {
public static String a;
public static Field f8563b;
public static boolean f8564c;
public static int A(Parcel parcel, int i10) {
parcel.writeInt(i10 | (-65536));
parcel.writeInt(0);
return parcel.dataPosition();
}
public static void B(Parcel parcel, int i10) {
int dataPosition = parcel.dataPosition();
parcel.setDataPosition(i10 - 4);
parcel.writeInt(dataPosition - i10);
parcel.setDataPosition(dataPosition);
}
public static void C(Parcel parcel, int i10, int i11) {
parcel.writeInt(i10 | (i11 << 16));
}
public static void a() {
t8.c cVar = z9.a.a;
Intrinsics.checkNotNullParameter("test_chanal", "k");
Intrinsics.checkNotNullExpressionValue(((SharedPreferences) z9.a.a.f11604b).getString("test_chanal", BuildConfig.FLAVOR), "getString(...)");
}
public static final void b(boolean z10, Function0 function0, m mVar, int i10, int i11) {
int i12;
t tVar = (t) mVar;
tVar.b0(-361453782);
int i13 = i11 & 1;
if (i13 != 0) {
i12 = i10 | 6;
} else if ((i10 & 6) == 0) {
i12 = (tVar.g(z10) ? 4 : 2) | i10;
} else {
i12 = i10;
}
if ((i11 & 2) != 0) {
i12 |= 48;
} else if ((i10 & 48) == 0) {
i12 |= tVar.h(function0) ? 32 : 16;
}
if ((i12 & 19) == 18 && tVar.E()) {
tVar.V();
} else {
if (i13 != 0) {
z10 = true;
}
m1 B = androidx.compose.runtime.b.B(function0, tVar);
Object P = tVar.P();
e1 e1Var = l.a;
if (P == e1Var) {
P = new h(B, z10);
tVar.j0(P);
}
h hVar = (h) P;
boolean z11 = (i12 & 14) == 4;
Object P2 = tVar.P();
if (z11 || P2 == e1Var) {
P2 = new androidx.activity.compose.e(hVar, z10);
tVar.j0(P2);
}
androidx.compose.runtime.b.g((Function0) P2, tVar);
r0 r0Var = (r0) tVar.j(o.a);
Object obj = null;
if (r0Var == null) {
tVar.a0(544166745);
View view = (View) tVar.j(AndroidCompositionLocals_androidKt.f3713f);
Intrinsics.checkNotNullParameter(view, "<this>");
while (true) {
if (view == null) {
r0Var = null;
break;
}
Object tag = view.getTag(R$id.view_tree_on_back_pressed_dispatcher_owner);
r0 r0Var2 = tag instanceof r0 ? (r0) tag : null;
if (r0Var2 != null) {
r0Var = r0Var2;
break;
} else {
Object j7 = androidx.constraintlayout.compose.a.j(view);
view = j7 instanceof View ? (View) j7 : null;
}
}
tVar.q(false);
} else {
tVar.a0(544164296);
tVar.q(false);
}
if (r0Var == null) {
tVar.a0(544168748);
Object obj2 = (Context) tVar.j(AndroidCompositionLocals_androidKt.f3709b);
while (true) {
if (!(obj2 instanceof ContextWrapper)) {
break;
}
if (obj2 instanceof r0) {
obj = obj2;
break;
}
obj2 = ((ContextWrapper) obj2).getBaseContext();
}
r0Var = (r0) obj;
tVar.q(false);
} else {
tVar.a0(544164377);
tVar.q(false);
}
if (r0Var == null) {
throw new IllegalStateException("No OnBackPressedDispatcherOwner was provided via LocalOnBackPressedDispatcherOwner");
}
p0 e10 = r0Var.e();
x xVar = (x) tVar.j(AndroidCompositionLocals_androidKt.getLocalLifecycleOwner());
boolean h10 = tVar.h(e10) | tVar.h(xVar);
Object P3 = tVar.P();
if (h10 || P3 == e1Var) {
P3 = new f(e10, xVar, hVar);
tVar.j0(P3);
}
androidx.compose.runtime.b.c(xVar, e10, (Function1) P3, tVar);
}
a2 u = tVar.u();
if (u != null) {
u.f2506d = new g(z10, function0, i10, i11);
}
}
public static final void c(List list, Function0 function0, m mVar, int i10) {
t tVar = (t) mVar;
tVar.b0(-1627157222);
if ((((tVar.h(list) ? 4 : 2) | i10) & 19) == 18 && tVar.E()) {
tVar.V();
} else {
tVar.X();
int i11 = i10 & 1;
e1 e1Var = l.a;
if (i11 != 0 && !tVar.B()) {
tVar.V();
}
tVar.r();
tVar.a0(5004770);
Object P = tVar.P();
if (P == e1Var) {
P = new n2(function0, 5);
tVar.j0(P);
}
tVar.q(false);
com.bumptech.glide.c.a((Function0) P, new c0(false), j.f(1127027363, new q2(1, function0, list), tVar), tVar, 432, 0);
}
a2 u = tVar.u();
if (u != null) {
u.f2506d = new com.yx.credit.indonesia.ui.camera.a(i10, 5, list, function0);
}
}
public static final void d(TermAmountDetail termAmountDetail, Function1 function1, m mVar, int i10) {
t tVar = (t) mVar;
tVar.b0(-1140926552);
if ((((tVar.h(termAmountDetail) ? 4 : 2) | i10) & 19) == 18 && tVar.E()) {
tVar.V();
} else {
e1 e1Var = l.a;
tVar.a0(1849434622);
Object P = tVar.P();
if (P == e1Var) {
P = androidx.compose.runtime.b.w(Boolean.FALSE);
tVar.j0(P);
}
m1 m1Var = (m1) P;
tVar.q(false);
p pVar = p.a;
float f8 = 8;
s c5 = e2.d(androidx.compose.foundation.layout.b.j(pVar, f8, 0.0f, 2).c(((Boolean) m1Var.getValue()).booleanValue() ? d0.h(pVar, androidx.compose.ui.graphics.t.c(a0.d(4278281555L), 0.05f), o0.f.a(f8)) : pVar), 40).c(e2.a);
Unit unit = Unit.a;
tVar.a0(-1746271574);
boolean h10 = tVar.h(termAmountDetail);
Object P2 = tVar.P();
if (h10 || P2 == e1Var) {
P2 = new com.yx.credit.indonesia.ui.withdraw.cp.b(m1Var, function1, termAmountDetail);
tVar.j0(P2);
}
tVar.q(false);
s a10 = k0.a(c5, unit, (PointerInputEventHandler) P2);
f0 d6 = androidx.compose.foundation.layout.m.d(androidx.compose.ui.c.a, false);
int n6 = androidx.compose.runtime.b.n(tVar);
u1 l6 = tVar.l();
s c10 = androidx.compose.ui.a.c(tVar, a10);
r.f3588i.getClass();
androidx.compose.ui.node.k0 k0Var = q.f3582b;
tVar.c0();
if (tVar.P) {
tVar.k(k0Var);
} else {
tVar.m0();
}
androidx.compose.ui.node.m mVar2 = q.f3586f;
androidx.compose.runtime.b.C(tVar, d6, mVar2);
androidx.compose.ui.node.o oVar = q.f3585e;
androidx.compose.runtime.b.C(tVar, l6, oVar);
androidx.compose.ui.node.l lVar = q.f3587g;
if (tVar.P || !Intrinsics.areEqual(tVar.P(), Integer.valueOf(n6))) {
a1.g.D(n6, tVar, n6, lVar);
}
n nVar = q.f3584d;
androidx.compose.runtime.b.C(tVar, c10, nVar);
FillElement fillElement = e2.f1859b;
c2 a11 = androidx.compose.foundation.layout.a2.a(androidx.compose.foundation.layout.h.a, androidx.compose.ui.c.f2862n, tVar, 0);
int n9 = androidx.compose.runtime.b.n(tVar);
u1 l7 = tVar.l();
s c11 = androidx.compose.ui.a.c(tVar, fillElement);
tVar.c0();
if (tVar.P) {
tVar.k(k0Var);
} else {
tVar.m0();
}
androidx.compose.runtime.b.C(tVar, a11, mVar2);
androidx.compose.runtime.b.C(tVar, l7, oVar);
if (tVar.P || !Intrinsics.areEqual(tVar.P(), Integer.valueOf(n9))) {
a1.g.D(n9, tVar, n9, lVar);
}
androidx.compose.runtime.b.C(tVar, c11, nVar);
float f10 = 16;
androidx.compose.material3.c2.a(termAmountDetail.getItemName(), androidx.compose.foundation.layout.b.l(pVar, f10, 0.0f, 0.0f, 0.0f, 14).c(new VerticalAlignElement()), 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new u2(a0.d(4288256409L), androidx.constraintlayout.compose.a.l(14), null, d7.a.a(e(R$font.opensans_regular)), 0L, 0, 0L, 0, 16777180), tVar, 0, 0, 65532);
androidx.compose.foundation.layout.b.b(tVar, d2.H(e2.m(pVar, 3)));
androidx.compose.material3.c2.a(a1.g.J("Rp ", j4.c0.z(termAmountDetail.getItemAmount())), androidx.compose.foundation.layout.b.l(new VerticalAlignElement(), 29, 0.0f, f10, 0.0f, 10), 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new u2(a0.d(4280427042L), androidx.constraintlayout.compose.a.l(14), null, d7.a.a(e(R$font.opensans_bold)), 0L, 0, 0L, 0, 16777180), tVar, 0, 0, 65532);
tVar = tVar;
tVar.q(true);
tVar.q(true);
}
a2 u = tVar.u();
if (u != null) {
u.f2506d = new com.yx.credit.indonesia.ui.camera.a(i10, 6, termAmountDetail, function1);
}
}
public static androidx.compose.ui.text.font.a0 e(int i10) {
return new androidx.compose.ui.text.font.a0(i10, w.f4084e, new v(new u[0]));
}
public static final z0.d f(float f8, float f10, float f11, float f12, long j7) {
float intBitsToFloat = Float.intBitsToFloat((int) (j7 >> 32));
float intBitsToFloat2 = Float.intBitsToFloat((int) (j7 & 4294967295L));
long floatToRawIntBits = (Float.floatToRawIntBits(intBitsToFloat) << 32) | (4294967295L & Float.floatToRawIntBits(intBitsToFloat2));
return new z0.d(f8, f10, f11, f12, floatToRawIntBits, floatToRawIntBits, floatToRawIntBits, floatToRawIntBits);
}
public static boolean g(String bankName, String bankNumber, List errorList) {
int i10;
Intrinsics.checkNotNullParameter(bankName, "bankName");
Intrinsics.checkNotNullParameter(bankNumber, "bankNumber");
Intrinsics.checkNotNullParameter(errorList, "errorList");
try {
Collections.fill(errorList, Boolean.FALSE);
if (!n(bankName)) {
errorList.set(0, Boolean.TRUE);
} else if (!n(bankNumber) || bankNumber.length() < 8) {
errorList.set(1, Boolean.TRUE);
}
Iterator it = errorList.iterator();
int i11 = 0;
while (true) {
if (!it.hasNext()) {
i11 = -1;
break;
}
if (((Boolean) it.next()).booleanValue()) {
break;
}
i11++;
}
if (i11 == 0) {
uc.m.y("Bank- salah");
} else if (i11 == 1) {
uc.m.y("Nomor Rekening Bank- salah");
}
Iterator it2 = errorList.iterator();
i10 = 0;
while (true) {
if (!it2.hasNext()) {
i10 = -1;
break;
}
if (((Boolean) it2.next()).booleanValue()) {
break;
}
i10++;
}
} catch (Exception unused) {
}
return i10 > -1;
}
public static int h(int i10) {
int i11 = (i10 & (~(i10 >> 31))) - 255;
return (i11 & (i11 >> 31)) + 255;
}
public static void i(androidx.compose.ui.contentcapture.f r6, android.util.LongSparseArray r7) {
throw new UnsupportedOperationException("Method not decompiled: gc.b.i(androidx.compose.ui.contentcapture.f, android.util.LongSparseArray):void");
}
public static final String j(String str) {
Intrinsics.checkNotNullParameter(str, "<this>");
if (str.length() <= 4) {
return str;
}
int i10 = 0;
String substring = str.substring(0, 4);
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
String substring2 = str.substring(4);
Intrinsics.checkNotNullExpressionValue(substring2, "substring(...)");
Intrinsics.checkNotNullParameter(substring2, "<this>");
Intrinsics.checkNotNullParameter(substring2, "<this>");
androidx.camera.lifecycle.b transform = new androidx.camera.lifecycle.b(13);
Intrinsics.checkNotNullParameter(substring2, "<this>");
Intrinsics.checkNotNullParameter(transform, "transform");
int length = substring2.length();
ArrayList arrayList = new ArrayList((length / 6) + (length % 6 == 0 ? 0 : 1));
while (i10 >= 0 && i10 < length) {
int i11 = i10 + 6;
arrayList.add(transform.invoke(substring2.subSequence(i10, (i11 < 0 || i11 > length) ? length : i11)));
i10 = i11;
}
return substring + " " + e0.v(arrayList, " ", null, null, null, 62);
}
public static Drawable k(CompoundButton compoundButton) {
if (Build.VERSION.SDK_INT >= 23) {
return androidx.appcompat.widget.d0.b(compoundButton);
}
if (!f8564c) {
try {
Field declaredField = CompoundButton.class.getDeclaredField("mButtonDrawable");
f8563b = declaredField;
declaredField.setAccessible(true);
} catch (NoSuchFieldException e10) {
Log.i("CompoundButtonCompat", "Failed to retrieve mButtonDrawable field", e10);
}
f8564c = true;
}
Field field = f8563b;
if (field != null) {
try {
return (Drawable) field.get(compoundButton);
} catch (IllegalAccessException e11) {
Log.i("CompoundButtonCompat", "Failed to get button drawable via reflection", e11);
f8563b = null;
}
}
return null;
}
public static final boolean l(z0.d dVar) {
long j7 = dVar.f12515e;
return (j7 >>> 32) == (4294967295L & j7) && j7 == dVar.f12516f && j7 == dVar.f12517g && j7 == dVar.f12518h;
}
public static String m(String str, String str2) {
int length = str.length() - str2.length();
if (length < 0 || length > 1) {
throw new IllegalArgumentException("Invalid input received");
}
StringBuilder sb2 = new StringBuilder(str2.length() + str.length());
for (int i10 = 0; i10 < str.length(); i10++) {
sb2.append(str.charAt(i10));
if (str2.length() > i10) {
sb2.append(str2.charAt(i10));
}
}
return sb2.toString();
}
public static final boolean n(String str) {
return (str == null || kotlin.text.s.E(str).toString().length() == 0) ? false : true;
}
public static void o(String str) {
if (TextUtils.isEmpty(str)) {
return;
}
HashMap hashMap = new HashMap();
hashMap.put("fcmToken", str);
k.a.w("https://api.klikumkm.co.id/api/indo/user/fcm/token", hashMap, Rsp.class, true).M(cb.b.a()).R(new s6.c(1));
}
public static String p(X509Certificate certificate) {
Intrinsics.checkNotNullParameter(certificate, "certificate");
if (!a1.g.H(certificate)) {
throw new IllegalArgumentException("Certificate pinning requires X509 certificates");
}
StringBuilder sb2 = new StringBuilder("sha256/");
Intrinsics.checkNotNullParameter(certificate, "<this>");
zc.j jVar = zc.k.Companion;
byte[] encoded = certificate.getPublicKey().getEncoded();
Intrinsics.checkNotNullExpressionValue(encoded, "publicKey.encoded");
jVar.getClass();
sb2.append(zc.j.c(encoded, 0, -1234567890).sha256().base64());
return sb2.toString();
}
public static final s q(s sVar, boolean z10, Function0 click) {
Intrinsics.checkNotNullParameter(sVar, "<this>");
Intrinsics.checkNotNullParameter(click, "click");
return androidx.compose.ui.a.a(sVar, p4.a, new com.yx.credit.indonesia.ui.delegate.w(click, z10));
}
public static void s(j2.c cVar, View view, float[] fArr) {
Class<?> cls = view.getClass();
String str = "set" + cVar.f9191b;
try {
int i10 = g2.a.a[cVar.f9192c.ordinal()];
Class<?> cls2 = Integer.TYPE;
Class<?> cls3 = Float.TYPE;
switch (i10) {
case 1:
cls.getMethod(str, cls2).invoke(view, Integer.valueOf((int) fArr[0]));
return;
case 2:
cls.getMethod(str, cls3).invoke(view, Float.valueOf(fArr[0]));
return;
case 3:
Method method = cls.getMethod(str, Drawable.class);
int h10 = (h((int) (((float) Math.pow(fArr[0], 0.45454545454545453d)) * 255.0f)) << 16) | (h((int) (fArr[3] * 255.0f)) << 24) | (h((int) (((float) Math.pow(fArr[1], 0.45454545454545453d)) * 255.0f)) << 8) | h((int) (((float) Math.pow(fArr[2], 0.45454545454545453d)) * 255.0f));
ColorDrawable colorDrawable = new ColorDrawable();
colorDrawable.setColor(h10);
method.invoke(view, colorDrawable);
return;
case 4:
cls.getMethod(str, cls2).invoke(view, Integer.valueOf((h((int) (((float) Math.pow(fArr[0], 0.45454545454545453d)) * 255.0f)) << 16) | (h((int) (fArr[3] * 255.0f)) << 24) | (h((int) (((float) Math.pow(fArr[1], 0.45454545454545453d)) * 255.0f)) << 8) | h((int) (((float) Math.pow(fArr[2], 0.45454545454545453d)) * 255.0f))));
return;
case 5:
throw new RuntimeException("unable to interpolate strings " + cVar.f9191b);
case 6:
cls.getMethod(str, Boolean.TYPE).invoke(view, Boolean.valueOf(fArr[0] > 0.5f));
return;
case 7:
cls.getMethod(str, cls3).invoke(view, Float.valueOf(fArr[0]));
return;
default:
return;
}
} catch (IllegalAccessException e10) {
StringBuilder m6 = f1.a.m("cannot access method ", str, " on View \"");
m6.append(j4.c0.E(view));
m6.append("\"");
Log.e("CustomSupport", m6.toString());
e10.printStackTrace();
} catch (NoSuchMethodException e11) {
StringBuilder m9 = f1.a.m("no method ", str, " on View \"");
m9.append(j4.c0.E(view));
m9.append("\"");
Log.e("CustomSupport", m9.toString());
e11.printStackTrace();
} catch (InvocationTargetException e12) {
e12.printStackTrace();
}
}
public static void t(TextView textView, int i10) {
String str;
int i11;
int i12;
if (i10 == 0) {
i11 = Color.parseColor("#999999");
i12 = Color.parseColor("#1a999999");
str = "Dibatalkan";
} else if (i10 == 1) {
i11 = Color.parseColor("#016553");
i12 = Color.parseColor("#1a016553");
str = "Sedang ditinjau";
} else if (i10 == 2) {
i11 = Color.parseColor("#FE8812");
i12 = Color.parseColor("#1aFE8812");
str = "Ditolak";
} else if (i10 == 3) {
i11 = Color.parseColor("#016553");
i12 = Color.parseColor("#1a016553");
str = "Dana sedang dicairkan";
} else if (i10 == 4) {
i11 = Color.parseColor("#FF0024");
i12 = Color.parseColor("#1aFF0024");
str = "Peminjaman gagal";
} else if (i10 == 5) {
i11 = Color.parseColor("#016553");
i12 = Color.parseColor("#1a016553");
str = "Menunggu pembayaran";
} else if (i10 == 6) {
i11 = Color.parseColor("#FF0024");
i12 = Color.parseColor("#1aFF0024");
str = "Terlambat";
} else if (i10 == 7) {
i11 = Color.parseColor("#999999");
i12 = Color.parseColor("#1a999999");
str = "Telah dilunasi";
} else {
str = BuildConfig.FLAVOR;
i11 = 0;
i12 = 0;
}
textView.setText(str);
textView.setBackgroundColor(i12);
textView.setTextColor(i11);
}
public static void u(Parcel parcel, int i10, Bundle bundle) {
if (bundle == null) {
return;
}
int A = A(parcel, i10);
parcel.writeBundle(bundle);
B(parcel, A);
}
public static void v(Parcel parcel, int i10, IBinder iBinder) {
if (iBinder == null) {
return;
}
int A = A(parcel, i10);
parcel.writeStrongBinder(iBinder);
B(parcel, A);
}
public static void w(Parcel parcel, int i10, Parcelable parcelable, int i11) {
if (parcelable == null) {
return;
}
int A = A(parcel, i10);
parcelable.writeToParcel(parcel, i11);
B(parcel, A);
}
public static void x(Parcel parcel, int i10, String str) {
if (str == null) {
return;
}
int A = A(parcel, i10);
parcel.writeString(str);
B(parcel, A);
}
public static void y(Parcel parcel, int i10, Parcelable[] parcelableArr, int i11) {
if (parcelableArr == null) {
return;
}
int A = A(parcel, i10);
parcel.writeInt(parcelableArr.length);
for (Parcelable parcelable : parcelableArr) {
if (parcelable == null) {
parcel.writeInt(0);
} else {
int dataPosition = parcel.dataPosition();
parcel.writeInt(1);
int dataPosition2 = parcel.dataPosition();
parcelable.writeToParcel(parcel, i11);
int dataPosition3 = parcel.dataPosition();
parcel.setDataPosition(dataPosition);
parcel.writeInt(dataPosition3 - dataPosition2);
parcel.setDataPosition(dataPosition3);
}
}
B(parcel, A);
}
public static void z(Parcel parcel, int i10, List list) {
if (list == null) {
return;
}
int A = A(parcel, i10);
int size = list.size();
parcel.writeInt(size);
for (int i11 = 0; i11 < size; i11++) {
Parcelable parcelable = (Parcelable) list.get(i11);
if (parcelable == null) {
parcel.writeInt(0);
} else {
int dataPosition = parcel.dataPosition();
parcel.writeInt(1);
int dataPosition2 = parcel.dataPosition();
parcelable.writeToParcel(parcel, 0);
int dataPosition3 = parcel.dataPosition();
parcel.setDataPosition(dataPosition);
parcel.writeInt(dataPosition3 - dataPosition2);
parcel.setDataPosition(dataPosition3);
}
}
B(parcel, A);
}
}