package com.scb.phone.view.fragment.easycash; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import android.widget.Button; import android.widget.ExpandableListView; import butterknife.BindView; import butterknife.ButterKnife; import com.scb.phone.R; import com.scb.phone.view.custom.common.CustomTwoPicker; import com.scb.phone.view.fragment.easycash.DurationEmploymentForBusinessDialog; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import o.C10393eCt; import o.C14875gap; import o.C14957gcv; import o.InterfaceC10336eBR; import o.TVH; import o.eCC; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes5.dex */ public final class DurationEmploymentForBusinessDialog extends Dialog implements InterfaceC10336eBR, DialogInterface.OnShowListener { private static int g; private static char[] h; private final eCC a; private final eCC b; private String c; private String d; private HBt e; @BindView public Button positiveButton; @BindView public CustomTwoPicker twoPickerView; private static final byte[] $$a = {82, ISO7816.INS_UNBLOCK_CHV, -108, -93}; private static final int $$b = 230; private static int $10 = 0; private static int $11 = 1; private static int j = 0; /* loaded from: classes5.dex */ public interface HBt { void a(String str, String str2); } public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) { int i4 = (i * 866) + (i2 * (-864)); int i5 = ~i2; int i6 = ~i; int i7 = ~i3; int i8 = i4 + (((~(i6 | i7)) | i5) * (-865)) + ((~(i3 | i)) * 865) + (((~(i | i7)) | (~(i5 | i7))) * 865); return i8 != 1 ? i8 != 2 ? e(objArr) : b(objArr) : d(objArr); } /* JADX WARN: Removed duplicated region for block: B:10:0x0026 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). 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 i(int r6, byte r7, short r8, java.lang.Object[] r9) { /* int r8 = r8 * 4 int r8 = r8 + 1 int r6 = r6 * 2 int r6 = 73 - r6 int r7 = r7 * 2 int r7 = 4 - r7 byte[] r0 = com.scb.phone.view.fragment.easycash.DurationEmploymentForBusinessDialog.$$a byte[] r1 = new byte[r8] r2 = 0 if (r0 != 0) goto L16 r3 = r8 r4 = r2 goto L28 L16: r3 = r2 L17: int r4 = r3 + 1 byte r5 = (byte) r6 r1[r3] = r5 if (r4 != r8) goto L26 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L26: r3 = r0[r7] L28: int r3 = -r3 int r6 = r6 + r3 int r7 = r7 + 1 r3 = r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.easycash.DurationEmploymentForBusinessDialog.i(int, byte, short, java.lang.Object[]):void"); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public DurationEmploymentForBusinessDialog(Context context) { super(context); C14957gcv.e(context, ""); Object[] objArr = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr); String intern = ((String) objArr[0]).intern(); Object[] objArr2 = new Object[1]; f(new byte[]{1}, new int[]{1, 1, 92, 0}, true, objArr2); String intern2 = ((String) objArr2[0]).intern(); Object[] objArr3 = new Object[1]; f(new byte[]{0}, new int[]{2, 1, CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 0}, true, objArr3); String[] strArr = {"-", intern, intern2, ((String) objArr3[0]).intern(), "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", ">15"}; String string = context.getString(R.string.auto_scbone_occupation_picker_column_year_title); C14957gcv.c((Object) string, ""); this.b = new eCC("YEAR", strArr, string); Object[] objArr4 = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr4); String intern3 = ((String) objArr4[0]).intern(); Object[] objArr5 = new Object[1]; f(new byte[]{1}, new int[]{1, 1, 92, 0}, true, objArr5); String intern4 = ((String) objArr5[0]).intern(); Object[] objArr6 = new Object[1]; f(new byte[]{0}, new int[]{2, 1, CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 0}, true, objArr6); String[] strArr2 = {"-", intern3, intern4, ((String) objArr6[0]).intern(), "3", "4", "5", "6", "7", "8", "9", "10", "11"}; String string2 = context.getString(R.string.auto_scbone_occupation_picker_column_month_title); C14957gcv.c((Object) string2, ""); this.a = new eCC("MONTH", strArr2, string2); this.d = "-"; this.c = "-"; } private CustomTwoPicker h() { int i = 2 % 2; int i2 = j + 125; int i3 = i2 % 128; g = i3; Object obj = null; if (i2 % 2 == 0) { throw null; } CustomTwoPicker customTwoPicker = this.twoPickerView; if (customTwoPicker == null) { C14957gcv.a(""); return null; } int i4 = i3 + 21; j = i4 % 128; if (i4 % 2 == 0) { return customTwoPicker; } obj.hashCode(); throw null; } private Button asd_() { int i = 2 % 2; int i2 = g + 105; j = i2 % 128; Object obj = null; if (i2 % 2 != 0) { obj.hashCode(); throw null; } Button button = this.positiveButton; if (button != null) { return button; } C14957gcv.a(""); int i3 = g + 101; j = i3 % 128; if (i3 % 2 == 0) { return null; } obj.hashCode(); throw null; } /* loaded from: classes5.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } @Override // android.app.Dialog protected final void onCreate(Bundle bundle) { int i = 2 % 2; int i2 = g + 11; j = i2 % 128; int i3 = i2 % 2; super.onCreate(bundle); setContentView(R.layout.2131559414); ButterKnife.Dh_(this); b(); d(); setOnShowListener(this); int i4 = j + 93; g = i4 % 128; int i5 = i4 % 2; } @Override // android.content.DialogInterface.OnShowListener public final void onShow(DialogInterface dialogInterface) { int i = 2 % 2; int i2 = j + 23; g = i2 % 128; int i3 = i2 % 2; b(); if (i3 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private final void b() { int i = 2 % 2; CustomTwoPicker h2 = h(); h2.c(this.b, this.a); h2.setOnSelectedLister(this); Object obj = null; CustomTwoPicker.setSelected$default(h2, 0, null, 2, null); String str = this.d; if (str == null || str.length() == 0 || !C14957gcv.b((Object) this.d, (Object) ">15")) { String str2 = this.d; if (str2 != null && str2.length() != 0) { int i2 = g + 93; j = i2 % 128; if (i2 % 2 != 0) { c(C14875gap.d(this.b.c, this.d)); throw null; } c(C14875gap.d(this.b.c, this.d)); } } else { int i3 = g + 21; j = i3 % 128; if (i3 % 2 != 0) { String[] strArr = this.b.c; C14957gcv.e(strArr, ""); c(strArr.length % 1); e(false); } else { String[] strArr2 = this.b.c; C14957gcv.e(strArr2, ""); c(strArr2.length - 1); e(true); } } String str3 = this.c; if (str3 != null) { int i4 = j + 3; g = i4 % 128; if (i4 % 2 == 0) { str3.length(); obj.hashCode(); throw null; } if (str3.length() != 0) { a(C14875gap.d(this.a.c, this.c)); int i5 = g + 41; j = i5 % 128; int i6 = i5 % 2; } } } private static /* synthetic */ Object b(Object[] objArr) { DurationEmploymentForBusinessDialog durationEmploymentForBusinessDialog = (DurationEmploymentForBusinessDialog) objArr[0]; C10393eCt c10393eCt = (C10393eCt) objArr[1]; int i = 2 % 2; int i2 = g + 103; j = i2 % 128; int i3 = i2 % 2; C14957gcv.e(c10393eCt, ""); durationEmploymentForBusinessDialog.d = c10393eCt.e; if (durationEmploymentForBusinessDialog.e()) { int i4 = g + 75; j = i4 % 128; if (i4 % 2 != 0) { durationEmploymentForBusinessDialog.a(); throw null; } if (durationEmploymentForBusinessDialog.a()) { Object[] objArr2 = new Object[1]; f(new byte[]{1}, new int[]{1, 1, 92, 0}, true, objArr2); durationEmploymentForBusinessDialog.c = ((String) objArr2[0]).intern(); durationEmploymentForBusinessDialog.a(2); } } durationEmploymentForBusinessDialog.e(C14957gcv.b((Object) durationEmploymentForBusinessDialog.d, (Object) ">15")); return null; } @Override // o.InterfaceC10336eBR public final void e(C10393eCt c10393eCt) { int i = 2 % 2; int i2 = j + 111; g = i2 % 128; int i3 = i2 % 2; C14957gcv.e(c10393eCt, ""); this.c = c10393eCt.e; if (e()) { int i4 = j + 19; g = i4 % 128; int i5 = i4 % 2; if (a()) { Object[] objArr = new Object[1]; f(new byte[]{1}, new int[]{1, 1, 92, 0}, true, objArr); this.c = ((String) objArr[0]).intern(); a(2); return; } } if (a()) { Object[] objArr2 = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr2); this.c = ((String) objArr2[0]).intern(); a(1); } } private final void d() { int i = 2 % 2; asd_().setOnClickListener(new View.OnClickListener(this) { // from class: o.eSU private DurationEmploymentForBusinessDialog b; @Override // android.view.View.OnClickListener public final void onClick(View view) { DurationEmploymentForBusinessDialog.e(new Object[]{this.b}, -1232802902, 1232802902, (int) System.currentTimeMillis()); } { this.b = this; } }); int i2 = g + 1; j = i2 % 128; int i3 = i2 % 2; } private static /* synthetic */ Object d(Object[] objArr) { DurationEmploymentForBusinessDialog durationEmploymentForBusinessDialog = (DurationEmploymentForBusinessDialog) objArr[0]; int i = 2 % 2; C14957gcv.e(durationEmploymentForBusinessDialog, ""); HBt hBt = durationEmploymentForBusinessDialog.e; if (hBt != null) { int i2 = g + 59; j = i2 % 128; if (i2 % 2 == 0) { hBt.a(durationEmploymentForBusinessDialog.d, durationEmploymentForBusinessDialog.c); } else { hBt.a(durationEmploymentForBusinessDialog.d, durationEmploymentForBusinessDialog.c); throw null; } } durationEmploymentForBusinessDialog.dismiss(); int i3 = g + 7; j = i3 % 128; if (i3 % 2 != 0) { int i4 = 63 / 0; } return null; } private final void e(boolean z) { int i = 2 % 2; int i2 = j + 9; int i3 = i2 % 128; g = i3; int i4 = i2 % 2; if (z) { int i5 = i3 + 115; j = i5 % 128; if (i5 % 2 != 0) { Object[] objArr = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, false, objArr); this.c = ((String) objArr[0]).intern(); a(0); } else { Object[] objArr2 = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr2); this.c = ((String) objArr2[0]).intern(); a(1); } } h().setEnable(!z, "MONTH"); int i6 = g + 29; j = i6 % 128; if (i6 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } private final void a(int i) { int i2 = 2 % 2; int i3 = j + 77; g = i3 % 128; int i4 = i3 % 2; h().setSelected(i, "MONTH"); int i5 = j + 13; g = i5 % 128; int i6 = i5 % 2; } private final void c(int i) { int i2 = 2 % 2; int i3 = j + 53; g = i3 % 128; int i4 = i3 % 2; h().setSelected(i, "YEAR"); int i5 = g + 21; j = i5 % 128; int i6 = i5 % 2; } private final boolean e() { String str; Object obj; int i = 2 % 2; int i2 = g + 9; j = i2 % 128; if (i2 % 2 != 0) { str = this.d; Object[] objArr = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr); obj = objArr[0]; } else { str = this.d; Object[] objArr2 = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr2); obj = objArr2[0]; } return C14957gcv.b((Object) str, (Object) ((String) obj).intern()); } private final boolean a() { int i = 2 % 2; String str = this.c; if (str != null) { int i2 = g + 67; j = i2 % 128; if (i2 % 2 != 0) { str.length(); throw null; } if (str.length() != 0) { int i3 = g + 13; j = i3 % 128; int i4 = i3 % 2; if (!C14957gcv.b((Object) this.c, (Object) "-")) { int i5 = j + 65; g = i5 % 128; int i6 = i5 % 2; String str2 = this.c; Object[] objArr = new Object[1]; f(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr); if (!C14957gcv.b((Object) str2, (Object) ((String) objArr[0]).intern())) { return false; } } } } int i7 = g + 67; j = i7 % 128; int i8 = i7 % 2; return true; } private static void f(byte[] bArr, int[] iArr, boolean z, Object[] objArr) { int i; char[] cArr; int i2 = 2 % 2; TVH tvh = new TVH(); int i3 = 0; int i4 = iArr[0]; int i5 = iArr[1]; int i6 = iArr[2]; int i7 = iArr[3]; char[] cArr2 = h; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i8 = 0; while (i8 < length) { try { Object[] objArr2 = new Object[1]; objArr2[i3] = Integer.valueOf(cArr2[i8]); Object obj = xzZ.y.get(1645349359); if (obj != null) { cArr = cArr2; } else { Class cls = (Class) xzZ.c(223 - TextUtils.getOffsetBefore("", i3), 5 - View.MeasureSpec.makeMeasureSpec(i3, i3), (char) (TextUtils.indexOf("", "", i3, i3) + 41977)); byte b = (byte) 1; byte b2 = (byte) (b - 1); cArr = cArr2; Object[] objArr3 = new Object[1]; i(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i8++; int i9 = $10 + 89; $11 = i9 % 128; int i10 = i9 % 2; cArr2 = cArr; i3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } int i11 = $10 + 117; $11 = i11 % 128; int i12 = i11 % 2; cArr2 = cArr3; } char[] cArr4 = new char[i5]; System.arraycopy(cArr2, i4, cArr4, 0, i5); if (bArr != null) { char[] cArr5 = new char[i5]; tvh.c = 0; char c = 0; while (tvh.c < i5) { if (bArr[tvh.c] == 1) { int i13 = $10 + 109; $11 = i13 % 128; int i14 = i13 % 2; int i15 = tvh.c; try { Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 502, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (53 - TextUtils.lastIndexOf("", '0')))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr5[i15] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); int i16 = $11 + 87; $10 = i16 % 128; int i17 = i16 % 2; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { int i18 = tvh.c; Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c(15 - (Process.myPid() >> 22), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (((Process.getThreadPriority(0) + 20) >> 6) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr5[i18] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } c = cArr5[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 402, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 21608)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr7 = new Object[1]; i(b3, b4, b4, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); int i19 = $10 + 61; $11 = i19 % 128; int i20 = i19 % 2; } cArr4 = cArr5; } if (i7 > 0) { int i21 = $11 + 109; $10 = i21 % 128; if (i21 % 2 != 0) { char[] cArr6 = new char[i5]; System.arraycopy(cArr4, 1, cArr6, 1, i5); i = 0; System.arraycopy(cArr6, 0, cArr4, i5 >>> i7, i7); System.arraycopy(cArr6, i7, cArr4, 0, i5 - i7); } else { i = 0; char[] cArr7 = new char[i5]; System.arraycopy(cArr4, 0, cArr7, 0, i5); int i22 = i5 - i7; System.arraycopy(cArr7, 0, cArr4, i22, i7); System.arraycopy(cArr7, i7, cArr4, 0, i22); } } else { i = 0; } if (z) { char[] cArr8 = new char[i5]; tvh.c = i; while (tvh.c < i5) { cArr8[tvh.c] = cArr4[(i5 - tvh.c) - 1]; tvh.c++; } cArr4 = cArr8; } if (i6 > 0) { int i23 = $11 + 115; $10 = i23 % 128; int i24 = i23 % 2; int i25 = 0; while (true) { tvh.c = i25; if (tvh.c >= i5) { break; } cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]); i25 = tvh.c + 1; } } objArr[0] = new String(cArr4); } private static /* synthetic */ Object e(Object[] objArr) { DurationEmploymentForBusinessDialog durationEmploymentForBusinessDialog = (DurationEmploymentForBusinessDialog) objArr[0]; int i = 2 % 2; int i2 = j + 1; g = i2 % 128; Object obj = null; Object[] objArr2 = {durationEmploymentForBusinessDialog}; if (i2 % 2 == 0) { e(objArr2, -542053948, 542053949, (int) System.currentTimeMillis()); obj.hashCode(); throw null; } e(objArr2, -542053948, 542053949, (int) System.currentTimeMillis()); int i3 = g + 37; j = i3 % 128; if (i3 % 2 == 0) { return null; } throw null; } static void c() { h = new char[]{39955, 40013, 40016}; } public final void b(HBt hBt) { int i = 2 % 2; int i2 = g + 105; j = i2 % 128; int i3 = i2 % 2; C14957gcv.e(hBt, ""); this.e = hBt; int i4 = j + 1; g = i4 % 128; int i5 = i4 % 2; } public final DurationEmploymentForBusinessDialog d(String str, String str2) { int i = 2 % 2; int i2 = g + 67; j = i2 % 128; int i3 = i2 % 2; this.d = str; this.c = str2; if (i3 == 0) { return this; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC10336eBR public final void b(C10393eCt c10393eCt) { e(new Object[]{this, c10393eCt}, 944790540, -944790538, System.identityHashCode(this)); } private static final void b(DurationEmploymentForBusinessDialog durationEmploymentForBusinessDialog) { e(new Object[]{durationEmploymentForBusinessDialog}, -542053948, 542053949, (int) System.currentTimeMillis()); } static { g = 1; c(); new RVV((byte) 0); int i = j + 23; g = i % 128; if (i % 2 == 0) { throw null; } } }