package o; import android.content.SharedPreferences; import android.os.Parcel; import android.os.Parcelable; import android.os.Process; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.util.TypedValue; import android.view.View; import android.view.ViewConfiguration; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.huawei.hms.support.api.entity.common.CommonConstant; import java.lang.reflect.Method; import java.util.List; import java.util.Locale; import net.sf.scuba.smartcards.ISO7816; /* loaded from: classes3.dex */ public class Lld extends JjC { public static final Parcelable.Creator CREATOR; private static int a; private static long e; private SharedPreferences b; private static final byte[] $$a = {75, ISO7816.INS_UPDATE_RECORD, 11, 77}; private static final int $$b = 115; private static int $10 = 0; private static int $11 = 1; private static int d = 0; public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) { int i4 = ~i2; int i5 = ~i3; int i6 = ~(i4 | i5); int i7 = ~i; int i8 = (i * 371) + (i2 * 371) + ((i6 | (~(i7 | i3))) * (-370)); int i9 = (~(i3 | i4)) | (~(i5 | i7)); int i10 = ~(i | i2); switch (i8 + ((i9 | i10) * (-370)) + (i10 * 370)) { case 1: return c(objArr); case 2: return a(objArr); case 3: return e(objArr); case 4: int i11 = 2 % 2; ((Lld) objArr[0]).b(new pug("product_type", (String) objArr[1])); int i12 = a + 121; d = i12 % 128; int i13 = i12 % 2; return null; case 5: int i14 = 2 % 2; ((Lld) objArr[0]).b(new pug("sub_entry_point", (String) objArr[1])); int i15 = a + 65; d = i15 % 128; int i16 = i15 % 2; return null; case 6: return d(objArr); default: return b(objArr); } } /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0030). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void z(short r6, byte r7, short r8, java.lang.Object[] r9) { /* byte[] r0 = o.Lld.$$a int r6 = r6 + 4 int r8 = r8 * 2 int r8 = 121 - r8 int r7 = r7 * 2 int r1 = 1 - r7 byte[] r1 = new byte[r1] r2 = 0 int r7 = 0 - r7 if (r0 != 0) goto L17 r3 = r8 r4 = r2 r8 = r6 goto L30 L17: r3 = r2 L18: int r6 = r6 + 1 byte r4 = (byte) r8 r1[r3] = r4 if (r3 != r7) goto L27 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L27: int r3 = r3 + 1 r4 = r0[r6] r5 = r8 r8 = r6 r6 = r4 r4 = r3 r3 = r5 L30: int r6 = r6 + r3 r3 = r4 r5 = r8 r8 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.Lld.z(short, byte, short, java.lang.Object[]):void"); } @InterfaceC13391fZD public Lld(SharedPreferences sharedPreferences) { this.b = sharedPreferences; e(); } protected Lld(Parcel parcel) { super(parcel); } static { a = 1; a(); CREATOR = new Parcelable.Creator() { // from class: o.Lld.1 @Override // android.os.Parcelable.Creator public final /* synthetic */ Lld createFromParcel(Parcel parcel) { return new Lld(parcel); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ Lld[] newArray(int i) { return new Lld[i]; } }; int i = d + 107; a = i % 128; int i2 = i % 2; } public final void a(String str, String str2) { int i = 2 % 2; int i2 = d + 77; a = i2 % 128; if (i2 % 2 != 0) { this.b.edit().putString(str, str2).apply(); e(); } else { this.b.edit().putString(str, str2).apply(); e(); Object obj = null; obj.hashCode(); throw null; } } private static void A(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a2 = GuL.a(e ^ (-7538262848231253921L), cArr, i); guL.a = 4; int i3 = $10 + 123; $11 = i3 % 128; int i4 = i3 % 2; while (guL.a < a2.length) { int i5 = $11 + 49; $10 = i5 % 128; int i6 = i5 % 2; guL.c = guL.a - 4; int i7 = guL.a; try { Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(e)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 208, 5 - View.combineMeasuredStates(0, 0), (char) (View.resolveSize(0, 0) + 1706)); byte b = (byte) (-1); byte b2 = (byte) (b + 1); Object[] objArr3 = new Object[1]; z(b, b2, (byte) (b2 + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 392, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) TextUtils.getOffsetBefore("", 0)); byte b3 = (byte) (-1); byte b4 = (byte) (b3 + 1); Object[] objArr5 = new Object[1]; z(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a2, 4, a2.length - 4); } public final void a(String str) { int i = 2 % 2; int i2 = d + 117; a = i2 % 128; int i3 = i2 % 2; this.b.edit().remove(str).apply(); int i4 = d + 75; a = i4 % 128; int i5 = i4 % 2; } private void e() { int i = 2 % 2; int i2 = a + 3; d = i2 % 128; int i3 = i2 % 2; Object obj = null; String string = this.b.getString("entry_point", null); String string2 = this.b.getString("product_type", null); String string3 = this.b.getString("select_card", null); String string4 = this.b.getString("first_card", null); if (string != null) { int i4 = a + 117; d = i4 % 128; int i5 = i4 % 2; d("entry_point", string); } if (string2 != null) { int i6 = a + 23; d = i6 % 128; int i7 = i6 % 2; d("product_type", string2); } if (string3 != null) { d("select_card", string3); } if (string4 != null) { int i8 = d + 41; a = i8 % 128; int i9 = i8 % 2; d("first_card", string4); if (i9 != 0) { return; } obj.hashCode(); throw null; } } public final void b() { int i = 2 % 2; int i2 = a + 3; d = i2 % 128; if (i2 % 2 != 0) { this.b.edit().remove("entry_point").remove("product_type").remove("first_card").remove("select_card").apply(); int i3 = 96 / 0; } else { this.b.edit().remove("entry_point").remove("product_type").remove("first_card").remove("select_card").apply(); } int i4 = d + 79; a = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public final void r(String str) { int i = 2 % 2; int i2 = d + 43; a = i2 % 128; if (i2 % 2 != 0) { if (!(!"COMMERCIAL_LOAN".equals(str))) { int i3 = a + 119; d = i3 % 128; int i4 = i3 % 2; str = "BUSINESS_LOAN"; } b(new pug("product_type", str)); return; } "COMMERCIAL_LOAN".equals(str); Object obj = null; obj.hashCode(); throw null; } public final void p(String str) { String str2; int i = 2 % 2; int i2 = d + 113; a = i2 % 128; int i3 = i2 % 2; if (str == null) { return; } if (!"DIRECT_DEBIT".equals(str)) { str2 = "cash"; } else { int i4 = a + 21; d = i4 % 128; if (i4 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } str2 = "direct_debit"; } b(new pug("repayment_method", str2)); int i5 = a + 3; d = i5 % 128; int i6 = i5 % 2; } public final void u(String str) { String str2; int i = 2 % 2; int i2 = d + 79; a = i2 % 128; int i3 = i2 % 2; if (str == null) { return; } if (!"FULL_AMOUNT".equals(str)) { str2 = "minimum"; } else { int i4 = a; int i5 = i4 + 113; d = i5 % 128; if (i5 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } int i6 = i4 + 123; d = i6 % 128; int i7 = i6 % 2; str2 = "full"; } b(new pug("repayment_plan", str2)); } public final void i(String str) { int i = 2 % 2; b(new pug("amount", str)); int i2 = a + 105; d = i2 % 128; int i3 = i2 % 2; } private static /* synthetic */ Object b(Object[] objArr) { Lld lld = (Lld) objArr[0]; Double d2 = (Double) objArr[1]; int i = 2 % 2; int i2 = a + 63; d = i2 % 128; int i3 = i2 % 2; lld.i(String.format(Locale.getDefault(), "%.2f", d2)); int i4 = d + 115; a = i4 % 128; if (i4 % 2 != 0) { return null; } throw null; } public final void C(String str) { int i = 2 % 2; b(new pug("tenor", str)); int i2 = a + 119; d = i2 % 128; if (i2 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } public final void j(String str) { int i = 2 % 2; b(new pug("customer_type", str)); int i2 = d + 105; a = i2 % 128; if (i2 % 2 == 0) { int i3 = 77 / 0; } } public final void l(String str) { int i = 2 % 2; b(new pug("monthly_income", str)); int i2 = d + 35; a = i2 % 128; int i3 = i2 % 2; } public final void k(String str) { int i = 2 % 2; b(new pug("income", str)); int i2 = a + 95; d = i2 % 128; int i3 = i2 % 2; } public final void g(boolean z) { int i = 2 % 2; int i2 = a + 45; d = i2 % 128; int i3 = i2 % 2; b(new pug("use_scb_account", !(z ^ true) ? "Yes" : "No")); int i4 = a + 103; d = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } public final void a(boolean z) { String str; int i = 2 % 2; int i2 = a; int i3 = i2 + 123; d = i3 % 128; if (i3 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } if (z) { int i4 = i2 + 97; d = i4 % 128; if (i4 % 2 != 0) { int i5 = 3 % 5; } str = "Yes"; } else { str = "No"; } b(new pug("ID_photo_attachment", str)); } public final void c(boolean z) { String str; int i = 2 % 2; int i2 = a + 17; int i3 = i2 % 128; d = i3; if (i2 % 2 != 0) { throw null; } if (z) { int i4 = i3 + 11; a = i4 % 128; int i5 = i4 % 2; str = "Accept"; } else { str = "Decline"; } b(new pug("NCB_consent_option", str)); } public final void b(boolean z) { String str; int i = 2 % 2; int i2 = a; int i3 = i2 + 3; d = i3 % 128; if (i3 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } if (z) { int i4 = i2 + 75; d = i4 % 128; int i5 = i4 % 2; str = "Yes"; } else { str = "No"; } b(new pug("issuer", str)); } public final void n(String str) { int i = 2 % 2; b(new pug("job_title", str)); int i2 = a + 15; d = i2 % 128; int i3 = i2 % 2; } public final void x(String str) { int i = 2 % 2; b(new pug("source_of_income", str)); int i2 = d + 3; a = i2 % 128; int i3 = i2 % 2; } public final void g(String str) { int i = 2 % 2; b(new pug("company_name", str)); int i2 = d + 91; a = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public final void e(boolean z) { String str; int i = 2 % 2; if (!z) { int i2 = a + 11; d = i2 % 128; int i3 = i2 % 2; str = "No"; } else { int i4 = d + 83; a = i4 % 128; if (i4 % 2 == 0) { int i5 = 54 / 0; } str = "Yes"; } b(new pug("debit_card", str)); } private static /* synthetic */ Object d(Object[] objArr) { int i = 2 % 2; ((Lld) objArr[0]).b(new pug("product_program", (String) objArr[1])); int i2 = d + 31; a = i2 % 128; Object obj = null; if (i2 % 2 != 0) { return null; } obj.hashCode(); throw null; } public final void t(String str) { int i = 2 % 2; b(new pug("product_type_1", str)); int i2 = a + 85; d = i2 % 128; int i3 = i2 % 2; } public final void s(String str) { int i = 2 % 2; b(new pug("product_type_2", str)); int i2 = d + 21; a = i2 % 128; if (i2 % 2 == 0) { int i3 = 57 / 0; } } private static /* synthetic */ Object c(Object[] objArr) { int i = 2 % 2; ((Lld) objArr[0]).b(new pug("ability_repayment", (String) objArr[1])); int i2 = a + 111; d = i2 % 128; if (i2 % 2 != 0) { int i3 = 26 / 0; } return null; } public final void h(String str) { String str2; int i = 2 % 2; int i2 = d + 93; a = i2 % 128; int i3 = i2 % 2; if (!(!str.equals(CommonConstant.RETKEY.EMAIL))) { int i4 = a + 37; d = i4 % 128; int i5 = i4 % 2; str2 = "Yes"; } else { str2 = "No"; } b(new pug("email_statement", str2)); } public final void d(boolean z) { String str; int i = 2 % 2; int i2 = a + 85; int i3 = i2 % 128; d = i3; if (i2 % 2 != 0) { throw null; } if (z) { str = "confirm"; } else { int i4 = i3 + 7; a = i4 % 128; int i5 = i4 % 2; str = "cancel"; } b(new pug("confirm_flag", str)); } private static /* synthetic */ Object e(Object[] objArr) { int i = 2 % 2; ((Lld) objArr[0]).b(new pug("select_card", (String) objArr[1])); int i2 = a + 111; d = i2 % 128; int i3 = i2 % 2; return null; } public final void w(String str) { int i = 2 % 2; b(new pug("sales_sheet_entry_point", str)); int i2 = a + 41; d = i2 % 128; int i3 = i2 % 2; } public final void f(String str) { int i = 2 % 2; b(new pug("error", str)); int i2 = a + 77; d = i2 % 128; int i3 = i2 % 2; } public final void c(String str, boolean z) { int i = 2 % 2; int i2 = d + 57; a = i2 % 128; String str2 = null; if (i2 % 2 != 0) { str.hashCode(); int hashCode = str.hashCode(); char c = 65535; if (hashCode != -1856389686) { if (hashCode != 499399534) { if (hashCode == 701446479 && str.equals("STATEMENT")) { c = 2; } } else if (str.equals("COMP_REGIS")) { c = 1; } } else if (str.equals("SALARY")) { c = 0; } if (c == 0) { str2 = "payroll_photo"; } else if (c == 1) { str2 = "coperate_photo"; } else if (c == 2) { int i3 = d + 1; a = i3 % 128; int i4 = i3 % 2; str2 = "statement_photo"; } if (str2 != null) { int i5 = a + 93; d = i5 % 128; int i6 = i5 % 2; b(new pug(str2, !(z ^ true) ? "Yes" : "No")); return; } return; } str.hashCode(); str.hashCode(); str2.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:6:0x0024, code lost: if (r8.equals("MODEL_CONSENT") != false) goto L9; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void e(java.lang.String r8, boolean r9) { /* r7 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.Lld.a int r1 = r1 + 59 int r2 = r1 % 128 o.Lld.d = r2 int r1 = r1 % r0 r2 = 0 if (r1 != 0) goto L99 r8.hashCode() int r1 = r8.hashCode() r3 = 3 r4 = 4 r5 = 1 r6 = -1 switch(r1) { case -1051479263: goto L5c; case -558676532: goto L48; case 280272098: goto L3e; case 1067607745: goto L28; case 1982389444: goto L1e; default: goto L1d; } L1d: goto L65 L1e: java.lang.String r1 = "MODEL_CONSENT" boolean r8 = r8.equals(r1) if (r8 == 0) goto L65 L26: r6 = r4 goto L65 L28: java.lang.String r1 = "MARKETING_CONSENT" boolean r8 = r8.equals(r1) if (r8 == 0) goto L65 int r8 = o.Lld.a int r8 = r8 + 5 int r1 = r8 % 128 o.Lld.d = r1 int r8 = r8 % r0 if (r8 == 0) goto L3c goto L26 L3c: r6 = r3 goto L65 L3e: java.lang.String r1 = "DATA_SHARING_CONSENT" boolean r8 = r8.equals(r1) if (r8 == 0) goto L65 r6 = r0 goto L65 L48: java.lang.String r1 = "CROSS_SELL_CONSENT" boolean r8 = r8.equals(r1) r8 = r8 ^ r5 if (r8 == r5) goto L65 int r8 = o.Lld.d int r8 = r8 + 15 int r1 = r8 % 128 o.Lld.a = r1 int r8 = r8 % r0 r6 = r5 goto L65 L5c: java.lang.String r1 = "TERMS_N_CONDITIONS" boolean r8 = r8.equals(r1) if (r8 == 0) goto L65 r6 = 0 L65: if (r6 == 0) goto L7c if (r6 == r5) goto L79 if (r6 == r0) goto L76 if (r6 == r3) goto L73 if (r6 == r4) goto L70 goto L7e L70: java.lang.String r2 = "data_model_consent" goto L7e L73: java.lang.String r2 = "marketing_consent" goto L7e L76: java.lang.String r2 = "data_sharing_consent" goto L7e L79: java.lang.String r2 = "xsell_consent" goto L7e L7c: java.lang.String r2 = "t_and_c" L7e: if (r2 == 0) goto L98 int r8 = o.Lld.d int r8 = r8 + 11 int r1 = r8 % 128 o.Lld.a = r1 int r8 = r8 % r0 if (r9 == 0) goto L8e java.lang.String r8 = "Accept" goto L90 L8e: java.lang.String r8 = "Decline" L90: o.pug r9 = new o.pug r9.(r2, r8) r7.b(r9) L98: return L99: r8.hashCode() r8.hashCode() r2.hashCode() throw r2 */ throw new UnsupportedOperationException("Method not decompiled: o.Lld.e(java.lang.String, boolean):void"); } public final void e(List list) { int i = 2 % 2; if (list != null) { int i2 = a + 87; d = i2 % 128; int i3 = i2 % 2; if (!list.isEmpty()) { b(new pug("credit_amount_1", list.get(0))); int i4 = a + 109; d = i4 % 128; int i5 = i4 % 2; } } if (list == null || list.size() <= 1) { return; } b(new pug("credit_amount_2", list.get(1))); } private static /* synthetic */ Object a(Object[] objArr) { String str; Lld lld = (Lld) objArr[0]; String str2 = (String) objArr[1]; int i = 2 % 2; if (str2 == null) { str2 = "3"; } str2.hashCode(); Object[] objArr2 = new Object[1]; A(new char[]{40323, 40370, 23591, 29611, 46005}, (ViewConfiguration.getPressedStateDuration() >> 16) + 1, objArr2); if (str2.equals(((String) objArr2[0]).intern())) { int i2 = a + 71; d = i2 % 128; int i3 = i2 % 2; str = "update proof of income"; } else { int i4 = d + 51; a = i4 % 128; int i5 = i4 % 2; Object[] objArr3 = new Object[1]; A(new char[]{45544, 45530, 52126, 31934, 6515}, 1 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr3); if (!str2.equals(((String) objArr3[0]).intern())) { int i6 = a + 69; d = i6 % 128; if (i6 % 2 != 0) { throw null; } str = "not increase loan limit"; } else { str = "add co-borrower"; } } lld.b(new pug("increase_loan_limit_type", str)); return null; } static void a() { e = -4334537442205961514L; } public final void v(String str) { a(new Object[]{this, str}, 2109742074, -2109742069, System.identityHashCode(this)); } public final void y(String str) { a(new Object[]{this, str}, -385924495, 385924498, System.identityHashCode(this)); } public final void q(String str) { a(new Object[]{this, str}, 1412451036, -1412451032, System.identityHashCode(this)); } public final void m(String str) { a(new Object[]{this, str}, -758484914, 758484920, System.identityHashCode(this)); } public final void o(String str) { a(new Object[]{this, str}, 1287324936, -1287324934, System.identityHashCode(this)); } public final void d(Double d2) { a(new Object[]{this, d2}, 603037397, -603037397, System.identityHashCode(this)); } public final void c(String str) { a(new Object[]{this, str}, 467387368, -467387367, System.identityHashCode(this)); } @Override // o.JjC, android.os.Parcelable public int describeContents() { int i = 2 % 2; int i2 = d; int i3 = i2 + 115; a = i3 % 128; int i4 = i3 % 2; int i5 = i2 + 43; a = i5 % 128; if (i5 % 2 != 0) { return 0; } Object obj = null; obj.hashCode(); throw null; } }