package o; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.media.AudioTrack; import android.net.Uri; import android.os.Process; import android.os.SystemClock; import android.provider.Settings; import android.telephony.cdma.CdmaCellLocation; import android.text.Editable; import android.text.SpannableString; import android.text.SpannableStringBuilder; import android.text.TextUtils; import android.text.style.BulletSpan; import android.util.DisplayMetrics; import android.util.TypedValue; import android.view.Gravity; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.view.WindowManager; import android.view.inputmethod.InputMethodManager; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import com.google.zxing.WriterException; import com.huawei.hms.android.HwBuildEx; import com.huawei.hms.support.api.entity.common.CommonConstant; import io.beid.beidk.definitions.LivenessStatus; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.NumberFormat; import java.util.ArrayList; import java.util.EnumMap; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.concurrent.Callable; import java.util.regex.Pattern; import net.sf.scuba.smartcards.ISO7816; /* renamed from: o.cXR */ /* loaded from: classes.dex */ public final class C6583cXR { private static short[] e; private static final byte[] $$a = {ISO7816.INS_DECREASE_STAMPED, -25, 126, 49}; private static final int $$b = 45; private static int $10 = 0; private static int $11 = 1; private static int i = 0; private static int f = 1; private static int c = 2013167022; private static int a = 1406017028; private static int b = -1768864130; private static byte[] d = {-39, Ascii.NAK, Ascii.NAK}; /* JADX WARN: Removed duplicated region for block: B:10:0x002a */ /* JADX WARN: Removed duplicated region for block: B:7:0x0022 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002f). 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 K(short r7, int r8, short r9, java.lang.Object[] r10) { /* int r9 = r9 * 4 int r9 = r9 + 1 byte[] r0 = o.C6583cXR.$$a int r8 = r8 * 4 int r8 = r8 + 4 int r7 = r7 * 2 int r7 = 110 - r7 byte[] r1 = new byte[r9] r2 = 0 if (r0 != 0) goto L17 r7 = r8 r3 = r9 r4 = r2 goto L2f L17: r3 = r2 L18: r6 = r8 r8 = r7 r7 = r6 int r4 = r3 + 1 byte r5 = (byte) r8 r1[r3] = r5 if (r4 != r9) goto L2a java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L2a: r3 = r0[r7] r6 = r8 r8 = r7 r7 = r6 L2f: int r8 = r8 + 1 int r3 = -r3 int r7 = r7 + r3 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.K(short, int, short, java.lang.Object[]):void"); } public static /* synthetic */ Object c(Object[] objArr, int i2, int i3, int i4) { int i5 = ~i2; int i6 = (i2 * 303) + (i3 * (-301)) + (((~((~i4) | i5 | i3)) | (~(i2 | i3 | i4))) * (-302)) + ((~(i5 | i3 | i4)) * (-604)) + (((~(i2 | (~i3))) | (~(i3 | i4))) * 302); boolean z = false; switch (i6) { case 1: return d(objArr); case 2: return a(objArr); case 3: return b(objArr); case 4: BigDecimal bigDecimal = (BigDecimal) objArr[0]; int i7 = 2 % 2; DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(Locale.getDefault()); decimalFormatSymbols.setDecimalSeparator('.'); decimalFormatSymbols.setGroupingSeparator(','); String format = new DecimalFormat("###,###,###,###,###,##0.00", decimalFormatSymbols).format(bigDecimal); int i8 = i + 41; f = i8 % 128; int i9 = i8 % 2; return format; case 5: return e(objArr); case 6: return c(objArr); case 7: return g(objArr); case 8: return i(objArr); case 9: double doubleValue = ((Number) objArr[0]).doubleValue(); int i10 = 2 % 2; DecimalFormatSymbols decimalFormatSymbols2 = new DecimalFormatSymbols(Locale.getDefault()); decimalFormatSymbols2.setDecimalSeparator('.'); decimalFormatSymbols2.setGroupingSeparator(','); String format2 = new DecimalFormat("0.0000", decimalFormatSymbols2).format(doubleValue); int i11 = i + 7; f = i11 % 128; int i12 = i11 % 2; return format2; case 10: String str = (String) objArr[0]; int i13 = 2 % 2; int i14 = i + 53; f = i14 % 128; int i15 = i14 % 2; boolean matches = Pattern.compile("^[0-9\\u0E01-\\u0E39\\u0E40-\\u0E4Ca-zA-Z_\"'#&*()@:,./\\-]+( [0-9\\u0E01-\\u0E39\\u0E40-\\u0E4Ca-zA-Z_\"'#&() *@:,./\\-]+)?$").matcher(str).matches(); int i16 = f + 69; i = i16 % 128; int i17 = i16 % 2; return Boolean.valueOf(matches); case 11: return h(objArr); case 12: return j(objArr); case 13: return f(objArr); case 14: return n(objArr); case 15: return l(objArr); case 16: return o(objArr); case 17: return m(objArr); case 18: int intValue = ((Number) objArr[0]).intValue(); int i18 = 2 % 2; int i19 = f + 37; int i20 = i19 % 128; i = i20; int i21 = i19 % 2; if (intValue == 12) { z = true; } else { int i22 = i20 + 87; f = i22 % 128; int i23 = i22 % 2; } return Boolean.valueOf(z); case 19: return k(objArr); default: String str2 = (String) objArr[0]; int i24 = 2 % 2; int i25 = f + 73; i = i25 % 128; int i26 = i25 % 2; boolean b2 = b("^(?=\\S)[0-9a-zA-Z\\u0E00-\\u0E3E\\u0E40-\\u0E7F _*'\"#&*()@\\-]+$", str2); int i27 = i + 115; f = i27 % 128; int i28 = i27 % 2; return Boolean.valueOf(b2); } } private static /* synthetic */ Object i(Object[] objArr) { int intValue = ((Number) objArr[0]).intValue(); int i2 = 2 % 2; int i3 = i + 39; f = i3 % 128; if (i3 % 2 != 0) { NumberFormat currencyInstance = NumberFormat.getCurrencyInstance(Locale.ENGLISH); currencyInstance.setMinimumFractionDigits(intValue); currencyInstance.setMaximumFractionDigits(intValue); return c(currencyInstance); } NumberFormat currencyInstance2 = NumberFormat.getCurrencyInstance(Locale.ENGLISH); currencyInstance2.setMinimumFractionDigits(intValue); currencyInstance2.setMaximumFractionDigits(intValue); c(currencyInstance2); Object obj = null; obj.hashCode(); throw null; } public static NumberFormat c() { int i2 = 2 % 2; int i3 = i + 99; f = i3 % 128; return (NumberFormat) (i3 % 2 == 0 ? c(new Object[]{4}, -1969602709, 1969602717, 4) : c(new Object[]{2}, -1969602709, 1969602717, 2)); } public static DisplayMetrics Wb_(Activity activity) { int i2 = 2 % 2; DisplayMetrics displayMetrics = new DisplayMetrics(); activity.getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); int i3 = i + 79; f = i3 % 128; if (i3 % 2 == 0) { int i4 = 55 / 0; } return displayMetrics; } public static DisplayMetrics Wc_(Context context) { int i2 = 2 % 2; WindowManager windowManager = (WindowManager) context.getSystemService("window"); DisplayMetrics displayMetrics = new DisplayMetrics(); if (windowManager != null) { int i3 = i + 53; f = i3 % 128; int i4 = i3 % 2; windowManager.getDefaultDisplay().getMetrics(displayMetrics); int i5 = f + 45; i = i5 % 128; int i6 = i5 % 2; } return displayMetrics; } public static int d(int i2, Context context) { int i3 = 2 % 2; int i4 = f + 105; i = i4 % 128; int i5 = i4 % 2; Resources resources = context.getResources(); if (i5 == 0) { return VQ_(i2, resources); } VQ_(i2, resources); throw null; } public static int VQ_(int i2, Resources resources) { int i3 = 2 % 2; int i4 = f + 37; i = i4 % 128; int i5 = i4 % 2; int applyDimension = (int) TypedValue.applyDimension(1, i2, resources.getDisplayMetrics()); int i6 = i + 31; f = i6 % 128; if (i6 % 2 != 0) { return applyDimension; } throw null; } /* JADX WARN: Removed duplicated region for block: B:45:0x01bb */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void J(short r21, byte r22, int r23, int r24, int r25, java.lang.Object[] r26) { /* Method dump skipped, instructions count: 742 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.J(short, byte, int, int, int, java.lang.Object[]):void"); } public static float a(int i2, Context context) { int i3 = 2 % 2; int i4 = f + 77; i = i4 % 128; return i4 % 2 != 0 ? i2 - context.getResources().getDisplayMetrics().density : i2 / context.getResources().getDisplayMetrics().density; } public static String d(int i2) { int i3 = 2 % 2; int i4 = f + 109; i = i4 % 128; if (i4 % 2 != 0) { c().format(i2); throw null; } String format = c().format(i2); int i5 = f + 123; i = i5 % 128; int i6 = i5 % 2; return format; } public static void e(Context context, String str) { int i2 = 2 % 2; int i3 = f + 17; i = i3 % 128; SharedPreferences.Editor edit = context.getSharedPreferences("FCM_TOKEN", i3 % 2 != 0 ? 1 : 0).edit(); edit.putString("FCM_TOKEN", str); edit.apply(); int i4 = i + 39; f = i4 % 128; int i5 = i4 % 2; } public static String e(Context context) { int i2 = 2 % 2; int i3 = i + 13; f = i3 % 128; int i4 = i3 % 2; String string = context.getSharedPreferences("FCM_TOKEN", 0).getString("FCM_TOKEN", ""); int i5 = f + 59; i = i5 % 128; int i6 = i5 % 2; return string; } private static /* synthetic */ Object g(Object[] objArr) { Context context = (Context) objArr[0]; String str = (String) objArr[1]; int i2 = 2 % 2; int i3 = f + 81; i = i3 % 128; SharedPreferences.Editor edit = i3 % 2 != 0 ? context.getSharedPreferences("FCM_LAST_UPDATE_TOKEN", 1).edit() : context.getSharedPreferences("FCM_LAST_UPDATE_TOKEN", 0).edit(); edit.putString("FCM_LAST_UPDATE_TOKEN", str); edit.apply(); int i4 = i + 55; f = i4 % 128; int i5 = i4 % 2; return null; } public static String d(Context context) { int i2 = 2 % 2; int i3 = f + 61; i = i3 % 128; int i4 = i3 % 2; String string = context.getSharedPreferences("FCM_LAST_UPDATE_TOKEN", 0).getString("FCM_LAST_UPDATE_TOKEN", ""); int i5 = f + 123; i = i5 % 128; int i6 = i5 % 2; return string; } public static void c(Context context) { int i2 = 2 % 2; int i3 = f + 97; i = i3 % 128; if (i3 % 2 != 0) { context.deleteSharedPreferences(CommonConstant.RETKEY.USERID); context.deleteSharedPreferences("API_AUTH"); int i4 = 72 / 0; } else { context.deleteSharedPreferences(CommonConstant.RETKEY.USERID); context.deleteSharedPreferences("API_AUTH"); } int i5 = f + 81; i = i5 % 128; int i6 = i5 % 2; } public static NumberFormat c(NumberFormat numberFormat) { int i2 = 2 % 2; int i3 = f + 85; i = i3 % 128; if (i3 % 2 == 0) { DecimalFormat decimalFormat = (DecimalFormat) numberFormat; decimalFormat.setNegativeSuffix(""); decimalFormat.setNegativePrefix("-"); DecimalFormatSymbols decimalFormatSymbols = decimalFormat.getDecimalFormatSymbols(); decimalFormatSymbols.setCurrencySymbol(""); decimalFormat.setDecimalFormatSymbols(decimalFormatSymbols); int i4 = i + 81; f = i4 % 128; int i5 = i4 % 2; return numberFormat; } DecimalFormat decimalFormat2 = (DecimalFormat) numberFormat; decimalFormat2.setNegativeSuffix(""); decimalFormat2.setNegativePrefix("-"); DecimalFormatSymbols decimalFormatSymbols2 = decimalFormat2.getDecimalFormatSymbols(); decimalFormatSymbols2.setCurrencySymbol(""); decimalFormat2.setDecimalFormatSymbols(decimalFormatSymbols2); Object obj = null; obj.hashCode(); throw null; } public static Double c(String str) { String str2 = str; int i2 = 2 % 2; if (str2 == null) { int i3 = f + 9; i = i3 % 128; return i3 % 2 != 0 ? Double.valueOf(1.0d) : Double.valueOf(0.0d); } String format = String.format("[%s,.\\s]", NumberFormat.getCurrencyInstance().getCurrency().getSymbol()); if (str2.equalsIgnoreCase(".")) { Object[] objArr = new Object[1]; J((short) (73 - View.MeasureSpec.getMode(0)), (byte) View.combineMeasuredStates(0, 0), (-16) - TextUtils.indexOf("", "", 0, 0), View.MeasureSpec.getMode(0) - 607151035, MotionEvent.axisFromString("") + 983607238, objArr); str2 = ((String) objArr[0]).intern(); } if (!str2.contains(".")) { StringBuilder sb = new StringBuilder(); sb.append(str2); Object[] objArr2 = new Object[1]; J((short) (52 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), (byte) ((-1) - TextUtils.lastIndexOf("", '0')), KeyEvent.keyCodeFromString("") - 15, Process.getGidForName("") - 607151034, (ViewConfiguration.getWindowTouchSlop() >> 8) + 983607237, objArr2); sb.append(((String) objArr2[0]).intern()); str2 = sb.toString(); } else { String substring = str2.substring(str2.indexOf(46) + 1); if (substring.length() == 0) { StringBuilder sb2 = new StringBuilder(); sb2.append(str2); Object[] objArr3 = new Object[1]; J((short) (52 - (Process.myTid() >> 22)), (byte) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1), (-15) - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 607151035, (ViewConfiguration.getWindowTouchSlop() >> 8) + 983607237, objArr3); sb2.append(((String) objArr3[0]).intern()); str2 = sb2.toString(); } else if (substring.length() == 1) { StringBuilder sb3 = new StringBuilder(); sb3.append(str2); Object[] objArr4 = new Object[1]; J((short) (73 - (ViewConfiguration.getTapTimeout() >> 16)), (byte) (ViewConfiguration.getWindowTouchSlop() >> 8), (-16) - (ViewConfiguration.getDoubleTapTimeout() >> 16), (-607151035) - View.MeasureSpec.makeMeasureSpec(0, 0), 983607237 - ((Process.getThreadPriority(0) + 20) >> 6), objArr4); sb3.append(((String) objArr4[0]).intern()); str2 = sb3.toString(); } } Double valueOf = Double.valueOf(new BigDecimal(str2.replaceAll(format, "")).setScale(2, 3).divide(new BigDecimal(100), 3).doubleValue()); int i4 = f + 89; i = i4 % 128; if (i4 % 2 == 0) { return valueOf; } throw null; } private static /* synthetic */ Object e(Object[] objArr) { double doubleValue = ((Number) objArr[0]).doubleValue(); int i2 = 2 % 2; DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(Locale.getDefault()); decimalFormatSymbols.setDecimalSeparator('.'); decimalFormatSymbols.setGroupingSeparator(','); String format = new DecimalFormat("###,###,###,###,###,##0.00", decimalFormatSymbols).format(doubleValue); int i3 = i + 25; f = i3 % 128; if (i3 % 2 != 0) { return format; } Object obj = null; obj.hashCode(); throw null; } public static String c(double d2) { int i2 = 2 % 2; DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(Locale.getDefault()); decimalFormatSymbols.setDecimalSeparator('.'); String format = new DecimalFormat("#################0.00", decimalFormatSymbols).format(d2); int i3 = f + 105; i = i3 % 128; int i4 = i3 % 2; return format; } public static String b(double d2) { int i2 = 2 % 2; DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(Locale.getDefault()); decimalFormatSymbols.setDecimalSeparator('.'); decimalFormatSymbols.setGroupingSeparator(','); String format = new DecimalFormat("###,###,###,##0", decimalFormatSymbols).format(d2); int i3 = f + 67; i = i3 % 128; if (i3 % 2 == 0) { return format; } Object obj = null; obj.hashCode(); throw null; } public static String a(BigDecimal bigDecimal) { int i2 = 2 % 2; DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(Locale.getDefault()); decimalFormatSymbols.setGroupingSeparator(','); String format = new DecimalFormat("###,###,###,###,###,##0", decimalFormatSymbols).format(bigDecimal); int i3 = f + 109; i = i3 % 128; if (i3 % 2 != 0) { int i4 = 53 / 0; } return format; } private static /* synthetic */ Object h(Object[] objArr) { int i2 = 2 % 2; String format = new DecimalFormat("0.00").format((Double) objArr[0]); int i3 = f + 9; i = i3 % 128; int i4 = i3 % 2; return format; } public static String y(String str) { int i2 = 2 % 2; int i3 = f + 55; i = i3 % 128; int i4 = i3 % 2; if (!gjJ.b((CharSequence) str)) { return str.replace(",", ""); } int i5 = i + 77; f = i5 % 128; int i6 = i5 % 2; return ""; } public static String b(String str) { int i2 = 2 % 2; int i3 = f; int i4 = i3 + 3; i = i4 % 128; int i5 = i4 % 2; if (str == null) { return str; } int i6 = i3 + 15; i = i6 % 128; if (i6 % 2 == 0) { return !str.isEmpty() ? a(E(str)) : str; } str.isEmpty(); Object obj = null; obj.hashCode(); throw null; } public static String i(String str) { int i2 = 2 % 2; int i3 = f + 13; int i4 = i3 % 128; i = i4; if (i3 % 2 != 0) { throw null; } if (str == null) { return str; } int i5 = i4 + 35; f = i5 % 128; int i6 = i5 % 2; return !(str.isEmpty() ^ true) ? str : (String) c(new Object[]{E(str)}, 453807656, -453807652, (int) System.currentTimeMillis()); } private static /* synthetic */ Object j(Object[] objArr) { String str = (String) objArr[0]; int i2 = 2 % 2; if (str == null) { return str; } int i3 = i + 51; f = i3 % 128; if (i3 % 2 == 0) { int i4 = 69 / 0; if (str.isEmpty()) { return str; } } else if (str.isEmpty()) { return str; } StringBuilder sb = new StringBuilder(); sb.append((String) c(new Object[]{str}, 1276010513, -1276010494, (int) System.currentTimeMillis())); sb.append((String) c(new Object[]{E(str)}, 453807656, -453807652, (int) System.currentTimeMillis())); String obj = sb.toString(); int i5 = i + 39; f = i5 % 128; int i6 = i5 % 2; return obj; } /* JADX WARN: Code restructure failed: missing block: B:10:0x0035, code lost: if (java.lang.Double.parseDouble(r6) <= 0.0d) goto L39; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0037, code lost: r6 = o.C6583cXR.i + 25; o.C6583cXR.f = r6 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0040, code lost: if ((r6 % 2) == 0) goto L37; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x0042, code lost: return "+"; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0045, code lost: r6 = null; r6.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0049, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0019, code lost: if (r6 != null) goto L29; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (r6 != null) goto L29; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0021, code lost: if ((!r6.isEmpty()) == true) goto L32; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0024, code lost: r0 = o.C6583cXR.i + 35; o.C6583cXR.f = r0 % 128; r0 = r0 % 2; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object k(java.lang.Object[] r6) { /* r0 = 0 r6 = r6[r0] java.lang.String r6 = (java.lang.String) r6 r1 = 2 int r2 = r1 % r1 int r2 = o.C6583cXR.i int r2 = r2 + 125 int r3 = r2 % 128 o.C6583cXR.f = r3 int r2 = r2 % r1 if (r2 != 0) goto L19 r2 = 91 int r2 = r2 / r0 if (r6 == 0) goto L4a goto L1b L19: if (r6 == 0) goto L4a L1b: boolean r0 = r6.isEmpty() r2 = 1 r0 = r0 ^ r2 if (r0 == r2) goto L24 goto L4a L24: int r0 = o.C6583cXR.i int r0 = r0 + 35 int r2 = r0 % 128 o.C6583cXR.f = r2 int r0 = r0 % r1 double r2 = java.lang.Double.parseDouble(r6) r4 = 0 int r6 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1)) if (r6 <= 0) goto L4a int r6 = o.C6583cXR.i int r6 = r6 + 25 int r0 = r6 % 128 o.C6583cXR.f = r0 int r6 = r6 % r1 if (r6 == 0) goto L45 java.lang.String r6 = "+" goto L4c L45: r6 = 0 r6.hashCode() throw r6 L4a: java.lang.String r6 = "" L4c: return r6 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.k(java.lang.Object[]):java.lang.Object"); } public static BigDecimal E(String str) { int i2 = 2 % 2; int i3 = f + 19; i = i3 % 128; int i4 = i3 % 2; String format = String.format("[%s,.\\s]", NumberFormat.getCurrencyInstance().getCurrency().getSymbol()); String str2 = str; if (!(!str2.equalsIgnoreCase("."))) { int i5 = i + 37; f = i5 % 128; int i6 = i5 % 2; Object[] objArr = new Object[1]; J((short) (Process.getGidForName("") + 74), (byte) TextUtils.indexOf("", "", 0), (-17) - Process.getGidForName(""), (-607151035) - View.resolveSize(0, 0), 983607238 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr); str2 = ((String) objArr[0]).intern(); } if (str2.contains(".")) { String substring = str2.substring(str2.indexOf(46) + 1); if (substring.length() == 0) { StringBuilder sb = new StringBuilder(); sb.append(str2); sb.append(LivenessStatus.OK); str2 = sb.toString(); } else if (substring.length() == 1) { StringBuilder sb2 = new StringBuilder(); sb2.append(str2); sb2.append("000"); str2 = sb2.toString(); } else if (substring.length() == 2) { StringBuilder sb3 = new StringBuilder(); sb3.append(str2); Object[] objArr2 = new Object[1]; J((short) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 52), (byte) (ViewConfiguration.getFadingEdgeLength() >> 16), (-15) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (-607151035) - (ViewConfiguration.getKeyRepeatDelay() >> 16), ExpandableListView.getPackedPositionType(0L) + 983607237, objArr2); sb3.append(((String) objArr2[0]).intern()); str2 = sb3.toString(); } else if (substring.length() == 3) { StringBuilder sb4 = new StringBuilder(); sb4.append(str2); Object[] objArr3 = new Object[1]; J((short) (TextUtils.indexOf((CharSequence) "", '0') + 74), (byte) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1), Color.blue(0) - 16, Gravity.getAbsoluteGravity(0, 0) - 607151035, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 983607237, objArr3); sb4.append(((String) objArr3[0]).intern()); str2 = sb4.toString(); } } else { StringBuilder sb5 = new StringBuilder(); sb5.append(str2); sb5.append(LivenessStatus.OK); str2 = sb5.toString(); int i7 = i + 7; f = i7 % 128; int i8 = i7 % 2; } return new BigDecimal(str2.replaceAll(format, "")).setScale(4, 3).divide(new BigDecimal(HwBuildEx.VersionCodes.CUR_DEVELOPMENT), 3); } public static String c(BigDecimal bigDecimal) { int i2 = 2 % 2; DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(Locale.getDefault()); decimalFormatSymbols.setDecimalSeparator('.'); decimalFormatSymbols.setGroupingSeparator(','); String format = new DecimalFormat("###,###,###,##0.0000", decimalFormatSymbols).format(bigDecimal); int i3 = f + 81; i = i3 % 128; int i4 = i3 % 2; return format; } /* JADX WARN: Code restructure failed: missing block: B:13:0x0025, code lost: r2 = (r4.length() - r4.indexOf(46)) - 1; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0023, code lost: if (r4.contains(".") != false) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost: if (r4.contains(".") != false) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0033, code lost: r2 = 0; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object a(java.lang.Object[] r4) { /* r0 = 0 r4 = r4[r0] java.lang.String r4 = (java.lang.String) r4 r1 = 2 int r2 = r1 % r1 int r2 = o.C6583cXR.i int r2 = r2 + 11 int r3 = r2 % 128 o.C6583cXR.f = r3 int r2 = r2 % r1 java.lang.String r3 = "." if (r2 != 0) goto L1f boolean r2 = r4.contains(r3) r3 = 13 int r3 = r3 / r0 if (r2 == 0) goto L33 goto L25 L1f: boolean r2 = r4.contains(r3) if (r2 == 0) goto L33 L25: int r2 = r4.length() r3 = 46 int r4 = r4.indexOf(r3) int r2 = r2 - r4 int r2 = r2 + (-1) goto L34 L33: r2 = r0 L34: int r4 = o.C6583cXR.f int r4 = r4 + 97 int r3 = r4 % 128 o.C6583cXR.i = r3 int r4 = r4 % r1 if (r4 == 0) goto L47 r4 = 73 int r4 = r4 / r0 java.lang.Integer r4 = java.lang.Integer.valueOf(r2) return r4 L47: java.lang.Integer r4 = java.lang.Integer.valueOf(r2) return r4 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.a(java.lang.Object[]):java.lang.Object"); } /* JADX WARN: Code restructure failed: missing block: B:11:?, code lost: return false; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0016, code lost: if (r4 != null) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0013, code lost: if (r4 != null) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x001c, code lost: if (r4.isEmpty() == true) goto L25; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static boolean e(java.util.List r4) { /* r0 = 2 int r1 = r0 % r0 int r1 = o.C6583cXR.f int r1 = r1 + 49 int r2 = r1 % 128 o.C6583cXR.i = r2 int r1 = r1 % r0 r2 = 1 r3 = 0 if (r1 == 0) goto L16 r1 = 25 int r1 = r1 / r3 if (r4 == 0) goto L20 goto L18 L16: if (r4 == 0) goto L20 L18: boolean r4 = r4.isEmpty() if (r4 == r2) goto L20 r2 = r3 goto L29 L20: int r4 = o.C6583cXR.i int r4 = r4 + 53 int r1 = r4 % 128 o.C6583cXR.f = r1 int r4 = r4 % r0 L29: return r2 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.e(java.util.List):boolean"); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0071, code lost: return r5.toString(); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x002e, code lost: r5 = new java.lang.StringBuilder("xxx-xxx"); r5.append(r4.substring(6, 9)); r5.append("-"); r5.append(r4.charAt(9)); */ /* JADX WARN: Code restructure failed: missing block: B:13:0x004b, code lost: return r5.toString(); */ /* JADX WARN: Code restructure failed: missing block: B:14:0x002c, code lost: if (r5 != false) goto L30; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0029, code lost: if (r5 != false) goto L30; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x004c, code lost: r5 = new java.lang.StringBuilder(); r5.append(r4.substring(0, 3)); r5.append("-"); r5.append(r4.substring(3, 9)); r5.append("-"); r5.append(r4.charAt(9)); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static java.lang.String b(java.lang.String r4, boolean r5) { /* r0 = 2 int r1 = r0 % r0 int r1 = o.C6583cXR.f int r1 = r1 + 107 int r2 = r1 % 128 o.C6583cXR.i = r2 int r1 = r1 % r0 if (r4 == 0) goto L71 int r1 = r4.length() r2 = 10 if (r1 != r2) goto L71 int r1 = o.C6583cXR.i int r1 = r1 + 57 int r2 = r1 % 128 o.C6583cXR.f = r2 int r1 = r1 % r0 r0 = 0 java.lang.String r2 = "-" r3 = 9 if (r1 != 0) goto L2c r1 = 36 int r1 = r1 / r0 if (r5 == 0) goto L4c goto L2e L2c: if (r5 == 0) goto L4c L2e: java.lang.StringBuilder r5 = new java.lang.StringBuilder java.lang.String r0 = "xxx-xxx" r5.(r0) r0 = 6 java.lang.String r0 = r4.substring(r0, r3) r5.append(r0) r5.append(r2) char r4 = r4.charAt(r3) r5.append(r4) java.lang.String r4 = r5.toString() return r4 L4c: java.lang.StringBuilder r5 = new java.lang.StringBuilder r5.() r1 = 3 java.lang.String r0 = r4.substring(r0, r1) r5.append(r0) r5.append(r2) java.lang.String r0 = r4.substring(r1, r3) r5.append(r0) r5.append(r2) char r4 = r4.charAt(r3) r5.append(r4) java.lang.String r4 = r5.toString() L71: return r4 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.b(java.lang.String, boolean):java.lang.String"); } public static String e(String str, boolean z) { int i2 = 2 % 2; if (str == null || str.length() != 15) { return str; } int i3 = f + 79; i = i3 % 128; int i4 = i3 % 2; if (z) { StringBuilder sb = new StringBuilder(); sb.append(str.substring(0, 5)); sb.append("-xxxxxx-"); sb.append(str.substring(11, 15)); return sb.toString(); } StringBuilder sb2 = new StringBuilder(); sb2.append(str.substring(0, 5)); sb2.append("-"); sb2.append(str.substring(5, 11)); sb2.append("-"); sb2.append(str.substring(11, 15)); String obj = sb2.toString(); int i5 = i + 71; f = i5 % 128; int i6 = i5 % 2; return obj; } public static String C(String str) { int i2 = 2 % 2; int i3 = f + 79; i = i3 % 128; if (i3 % 2 == 0 ? str.length() > 4 : str.length() > 2) { StringBuilder sb = new StringBuilder("x-"); sb.append(str.substring(str.length() - 4)); str = sb.toString(); } int i4 = i + 123; f = i4 % 128; int i5 = i4 % 2; return str; } public static String A(String str) { int i2 = 2 % 2; if (str == null || str.contains("\n")) { return str; } int i3 = f + 51; i = i3 % 128; if (i3 % 2 != 0) { if (str.length() != 16) { return str; } } else if (str.length() != 16) { return str; } String replaceFirst = str.replaceFirst("\\b([0-9]{4})([0-9]{2})[0-9]{0,9}([0-9]{4})\\b", "$1 $2xx xxxx $3"); int i4 = f + 81; i = i4 % 128; int i5 = i4 % 2; return replaceFirst; } public static String f(String str) { int i2 = 2 % 2; if (str.length() == 0) { int i3 = i; int i4 = i3 + 61; f = i4 % 128; int i5 = i4 % 2; int i6 = i3 + 63; f = i6 % 128; int i7 = i6 % 2; return str; } String replace = str.replace(" ", ""); if (replace.length() > 16) { int i8 = i + 5; f = i8 % 128; int i9 = i8 % 2; replace = replace.substring(0, 16); } List L = L(replace); StringBuilder sb = new StringBuilder(); for (int i10 = 0; i10 < L.size(); i10++) { if (i10 == L.size() - 1) { int i11 = i + 45; f = i11 % 128; if (i11 % 2 == 0) { sb.append(L.get(i10)); int i12 = 11 / 0; } else { sb.append(L.get(i10)); } } else { sb.append(L.get(i10)); sb.append(" "); } } return sb.toString(); } private static List L(String str) { int i2 = 2 % 2; ArrayList arrayList = new ArrayList(); int i3 = 0; while (i3 < str.length()) { int i4 = f + 81; i = i4 % 128; int i5 = i4 % 2; int i6 = i3 + 4; arrayList.add(str.substring(i3, Math.min(str.length(), i6))); int i7 = f + 11; i = i7 % 128; int i8 = i7 % 2; i3 = i6; } return arrayList; } public static String d(String str, String str2) { String substring; int i2 = 2 % 2; int i3 = f + 1; int i4 = i3 % 128; i = i4; int i5 = i3 % 2; if (str == null) { return str; } int i6 = i4 + 77; f = i6 % 128; if (i6 % 2 == 0) { if (str.length() != 61) { return str; } } else if (str.length() != 16) { return str; } if (str2 != null) { substring = str2.substring(str2.length() - 4); } else { substring = str.substring(str.length() - 4); int i7 = f + 19; i = i7 % 128; int i8 = i7 % 2; } return str.replaceFirst("\\b([0-9]{4})([0-9]{2})[0-9X]{0,9}[0-9]{0,9}\\b", "$1 $2xx xxxx ".concat(substring)); } private static /* synthetic */ Object o(Object[] objArr) { String str = (String) objArr[0]; int i2 = 2 % 2; if (str != null) { int i3 = i + 79; f = i3 % 128; if (i3 % 2 != 0 ? str.length() == 12 : str.length() == 100) { StringBuilder sb = new StringBuilder(); sb.append(str.substring(0, 3)); sb.append("-"); sb.append(str.charAt(3)); sb.append("-"); sb.append(str.substring(4, 11)); sb.append("-"); sb.append(str.charAt(11)); str = sb.toString(); } } int i4 = f + 57; i = i4 % 128; int i5 = i4 % 2; return str; } private static /* synthetic */ Object c(Object[] objArr) { String str = (String) objArr[0]; int i2 = 2 % 2; if (str == null) { return str; } int i3 = f + 105; i = i3 % 128; int i4 = i3 % 2; if (str.length() != 15) { return str; } StringBuilder sb = new StringBuilder(); sb.append(str.substring(0, 4)); sb.append(" "); sb.append(str.substring(4, 10)); sb.append(" "); sb.append(str.substring(10, 15)); String obj = sb.toString(); int i5 = f + 87; i = i5 % 128; int i6 = i5 % 2; return obj; } private static /* synthetic */ Object d(Object[] objArr) { boolean booleanValue = ((Boolean) objArr[0]).booleanValue(); boolean booleanValue2 = ((Boolean) objArr[1]).booleanValue(); String str = (String) objArr[2]; int i2 = 2 % 2; if (str == null) { return ""; } int length = str.length(); if (length != 13) { int i3 = f + 37; i = i3 % 128; if (i3 % 2 == 0 ? length == 16 : length == 91) { return a(booleanValue, str, "xxxx xxxx xxxx "); } switch (length) { case 9: return e(booleanValue, booleanValue2, str); case 10: return c(booleanValue, booleanValue2, str); case 11: return d(booleanValue, str, "xxxxxxx"); default: return str; } } String a2 = a(booleanValue, str); int i4 = f + 125; i = i4 % 128; int i5 = i4 % 2; return a2; } private static String e(boolean z, boolean z2, String str) { int i2 = 2 % 2; int i3 = f; int i4 = i3 + 39; i = i4 % 128; int i5 = i4 % 2; if (!z2) { return str; } int i6 = i3 + 123; i = i6 % 128; int i7 = i6 % 2; if (z) { StringBuilder sb = new StringBuilder("xx-xxx-"); sb.append(str.substring(5, 9)); return sb.toString(); } StringBuilder sb2 = new StringBuilder(); sb2.append(str.substring(0, 2)); sb2.append("-"); sb2.append(str.substring(2, 5)); sb2.append("-"); sb2.append(str.substring(5, 9)); return sb2.toString(); } private static String a(boolean z, String str) { int i2 = 2 % 2; int i3 = i + 35; f = i3 % 128; if (i3 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } if (z) { StringBuilder sb = new StringBuilder(); sb.append(str.charAt(0)); sb.append("-"); sb.append(str.substring(1, 5)); sb.append("-"); sb.append(str.substring(5, 9)); sb.append("x-xx-x"); String obj2 = sb.toString(); int i4 = f + 67; i = i4 % 128; int i5 = i4 % 2; return obj2; } StringBuilder sb2 = new StringBuilder(); sb2.append(str.charAt(0)); sb2.append("-"); sb2.append(str.substring(1, 5)); sb2.append("-"); sb2.append(str.substring(5, 10)); sb2.append("-"); sb2.append(str.substring(10, 12)); sb2.append("-"); sb2.append(str.charAt(12)); return sb2.toString(); } private static String d(boolean z, String str, String str2) { int i2 = 2 % 2; int i3 = f + 95; i = i3 % 128; if (i3 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } if (z) { StringBuilder sb = new StringBuilder(); sb.append(str2); sb.append(str.substring(7, 11)); str = sb.toString(); int i4 = f + 69; i = i4 % 128; if (i4 % 2 != 0) { int i5 = 2 / 3; } } return str; } private static String c(boolean z, boolean z2, String str) { int i2 = 2 % 2; int i3 = i + 67; int i4 = i3 % 128; f = i4; Object obj = null; if (i3 % 2 == 0) { obj.hashCode(); throw null; } if (z2) { int i5 = i4 + 7; i = i5 % 128; if (i5 % 2 != 0) { obj.hashCode(); throw null; } if (z) { StringBuilder sb = new StringBuilder("xxx-xxx-"); sb.append(str.substring(6, 10)); return sb.toString(); } StringBuilder sb2 = new StringBuilder(); sb2.append(str.substring(0, 3)); sb2.append("-"); sb2.append(str.substring(3, 6)); sb2.append("-"); sb2.append(str.substring(6, 10)); return sb2.toString(); } if (!z) { StringBuilder sb3 = new StringBuilder(); sb3.append(str.substring(0, 3)); sb3.append("-"); sb3.append(str.substring(3, 9)); sb3.append("-"); sb3.append(str.charAt(9)); return sb3.toString(); } StringBuilder sb4 = new StringBuilder("xxx-xxx"); sb4.append(str.substring(6, 9)); sb4.append("-"); sb4.append(str.charAt(9)); String obj2 = sb4.toString(); int i6 = f + 9; i = i6 % 128; int i7 = i6 % 2; return obj2; } private static String a(boolean z, String str, String str2) { String obj; int i2 = 2 % 2; if (z) { StringBuilder sb = new StringBuilder(); sb.append(str2); sb.append(str.substring(12, 16)); obj = sb.toString(); } else { StringBuilder sb2 = new StringBuilder(); sb2.append(str.substring(0, 4)); sb2.append(" "); sb2.append(str.substring(4, 8)); sb2.append(" "); sb2.append(str.substring(8, 12)); sb2.append(" "); sb2.append(str.substring(12, 16)); obj = sb2.toString(); int i3 = f + 53; i = i3 % 128; int i4 = i3 % 2; } int i5 = f + 33; i = i5 % 128; if (i5 % 2 == 0) { return obj; } throw null; } public static String u(String str) { int i2 = 2 % 2; int i3 = i + 79; f = i3 % 128; if (i3 % 2 != 0 ? str.length() == 10 : str.length() == 120) { str = c(true, false, str); int i4 = f + 29; i = i4 % 128; if (i4 % 2 != 0) { int i5 = 3 % 3; } } return str; } /* JADX WARN: Code restructure failed: missing block: B:2:0x0018, code lost: if ((!r4.find()) != true) goto L15; */ /* JADX WARN: Code restructure failed: missing block: B:3:0x001a, code lost: r1.append(r4.group()); */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0026, code lost: if ((!r4.find()) == true) goto L20; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0029, code lost: r4 = r1.toString(); r1 = o.C6583cXR.i + 39; o.C6583cXR.f = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0036, code lost: return r4; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static java.lang.String d(java.lang.String r4) { /* r0 = 2 int r1 = r0 % r0 java.lang.StringBuilder r1 = new java.lang.StringBuilder r1.() java.lang.String r2 = "(\\d+)" java.util.regex.Pattern r2 = java.util.regex.Pattern.compile(r2) java.util.regex.Matcher r4 = r2.matcher(r4) boolean r2 = r4.find() r3 = 1 r2 = r2 ^ r3 if (r2 == r3) goto L29 L1a: java.lang.String r2 = r4.group() r1.append(r2) boolean r2 = r4.find() r2 = r2 ^ r3 if (r2 == r3) goto L29 goto L1a L29: java.lang.String r4 = r1.toString() int r1 = o.C6583cXR.i int r1 = r1 + 39 int r2 = r1 % 128 o.C6583cXR.f = r2 int r1 = r1 % r0 return r4 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.d(java.lang.String):java.lang.String"); } public static String z(String str) { int i2 = 2 % 2; int i3 = f + 11; i = i3 % 128; int i4 = i3 % 2; String d2 = d(str); if (d2.length() != 10) { return d2; } int i5 = f + 71; i = i5 % 128; int i6 = i5 % 2; return (String) c(new Object[]{false, true, d2}, -1092823629, 1092823630, (int) System.currentTimeMillis()); } public static String a(String str, String str2) { int i2 = 2 % 2; int i3 = i + 123; f = i3 % 128; if (i3 % 2 == 0) { TextUtils.isEmpty(str2); throw null; } if (!TextUtils.isEmpty(str2)) { int i4 = f + 13; i = i4 % 128; if (i4 % 2 != 0) { Object[] objArr = new Object[3]; objArr[0] = str; objArr[1] = str2; str = String.format("%s (%s)", objArr); } else { str = String.format("%s (%s)", str, str2); } } int i5 = i + 31; f = i5 % 128; if (i5 % 2 == 0) { int i6 = 68 / 0; } return str; } public static String v(String str) { int i2 = 2 % 2; int i3 = i + 17; f = i3 % 128; int i4 = i3 % 2; if (str != null && (!str.equals(""))) { str = str.replace("-", ""); int i5 = i + 107; f = i5 % 128; int i6 = i5 % 2; } int i7 = f + 9; i = i7 % 128; if (i7 % 2 != 0) { int i8 = 33 / 0; } return str; } public static String a(String str) { int i2 = 2 % 2; if (((Boolean) C15602gz.b(new Object[]{str}, -396693817, 396693819, (int) System.currentTimeMillis())).booleanValue()) { int i3 = f + 69; i = i3 % 128; int i4 = i3 % 2; return "MOB"; } if (C15602gz.b(str)) { return "CID"; } int i5 = i + 47; f = i5 % 128; int i6 = i5 % 2; return ""; } public static String c(String str, String str2) { int i2 = 2 % 2; String str3 = ""; Object obj = null; if (str2 != null) { int i3 = f + 113; int i4 = i3 % 128; i = i4; int i5 = i3 % 2; if (str == null) { int i6 = i4 + 33; f = i6 % 128; if (i6 % 2 == 0) { a(str2); obj.hashCode(); throw null; } str = a(str2); } if ("MOB".compareTo(str) == 0) { str3 = (String) c(new Object[]{false, true, str2}, -1092823629, 1092823630, (int) System.currentTimeMillis()); int i7 = i + 23; f = i7 % 128; int i8 = i7 % 2; } else if ("CID".compareTo(str) == 0) { str3 = (String) c(new Object[]{false, false, str2}, -1092823629, 1092823630, (int) System.currentTimeMillis()); } } int i9 = i + 27; f = i9 % 128; if (i9 % 2 != 0) { return str3; } obj.hashCode(); throw null; } public static String b(String str, String str2, boolean z) { String str3; int i2 = 2 % 2; if (str2 != null) { int i3 = f + 115; i = i3 % 128; int i4 = i3 % 2; if (str == null) { str = a(str2); } if ("MOB".compareTo(str) != 0) { if ("CID".compareTo(str) == 0) { str3 = (String) c(new Object[]{Boolean.valueOf(z), false, str2}, -1092823629, 1092823630, (int) System.currentTimeMillis()); } } else { str3 = (String) c(new Object[]{Boolean.valueOf(z), true, str2}, -1092823629, 1092823630, (int) System.currentTimeMillis()); int i5 = i + 59; f = i5 % 128; int i6 = i5 % 2; } int i7 = f + 13; i = i7 % 128; int i8 = i7 % 2; return str3; } str3 = ""; int i72 = f + 13; i = i72 % 128; int i82 = i72 % 2; return str3; } public static boolean b(String str, String str2) { int i2 = 2 % 2; int i3 = f + 109; i = i3 % 128; int i4 = i3 % 2; boolean matches = Pattern.compile(str).matcher(str2).matches(); if (i4 != 0) { int i5 = 12 / 0; } int i6 = i + 63; f = i6 % 128; int i7 = i6 % 2; return matches; } public static int b(Context context) { int i2 = 2 % 2; int i3 = f + 51; i = i3 % 128; try { if (i3 % 2 == 0) { int i4 = Settings.Secure.getInt(context.getContentResolver(), "location_mode"); int i5 = f + 59; i = i5 % 128; if (i5 % 2 == 0) { return i4; } int i6 = 2 % 3; return i4; } Settings.Secure.getInt(context.getContentResolver(), "location_mode"); Object obj = null; obj.hashCode(); throw null; } catch (Settings.SettingNotFoundException e2) { guQ.e(e2); return 0; } } public static String e(String... strArr) { int i2 = 2 % 2; StringBuilder sb = new StringBuilder(); int i3 = f + 115; i = i3 % 128; int i4 = i3 % 2; for (int i5 = 0; i5 < strArr.length; i5++) { int i6 = f + 27; i = i6 % 128; int i7 = i6 % 2; String str = strArr[i5]; if (str != null && !str.isEmpty()) { if (i5 == 0 || sb.toString().isEmpty()) { sb.append(str); } else { int i8 = i + 7; f = i8 % 128; int i9 = i8 % 2; sb.append("\n"); sb.append(str); } } } return sb.toString(); } public static boolean r(String str) { int i2 = 2 % 2; int i3 = i + 1; f = i3 % 128; int i4 = i3 % 2; if (str.startsWith("market:")) { return true; } int i5 = i + 73; f = i5 % 128; if (i5 % 2 == 0) { int i6 = 26 / 0; if (str.startsWith("wemusic:")) { return true; } } else if (str.startsWith("wemusic:")) { return true; } if (str.matches("^(http|https)://play.google.com/store/apps/details.*")) { return true; } int i7 = f + 27; i = i7 % 128; int i8 = i7 % 2; if (str.startsWith("intent:")) { return true; } int i9 = i + 125; f = i9 % 128; int i10 = i9 % 2; return false; } public static boolean t(String str) { int i2 = 2 % 2; int i3 = f + 113; i = i3 % 128; int i4 = i3 % 2; boolean matches = str.matches("^(http|https)://play.google.com/store/apps/details.*"); int i5 = f + 123; i = i5 % 128; int i6 = i5 % 2; return matches; } public static String Wa_(Resources resources, int i2) { int i3 = 2 % 2; StringBuilder sb = new StringBuilder("#"); sb.append(Integer.toHexString(resources.getColor(i2, null) & 16777215)); String obj = sb.toString(); int i4 = f + 125; i = i4 % 128; int i5 = i4 % 2; return obj; } public static String e(String str, String str2) { int i2 = 2 % 2; Object obj = null; if (!gjJ.b((CharSequence) str)) { if (str.startsWith("http") || str.startsWith(str2) || str.startsWith("android.resource")) { return str; } String replaceAll = str2.concat(str).replaceAll("(?= split.length || i4 >= split2.length) { return Integer.valueOf(Integer.signum(split.length - split2.length)); } int i9 = i + 31; f = i9 % 128; try { if (i9 % 2 != 0) { return Integer.valueOf(Integer.signum(Integer.valueOf(split[i4]).compareTo(Integer.valueOf(split2[i4])))); } Integer valueOf = Integer.valueOf(Integer.signum(Integer.valueOf(split[i4]).compareTo(Integer.valueOf(split2[i4])))); int i10 = 32 / 0; return valueOf; } catch (NumberFormatException unused) { return Integer.valueOf(Integer.signum(0)); } } private static /* synthetic */ Object m(Object[] objArr) { String str = (String) objArr[0]; int i2 = 2 % 2; int i3 = f + 71; i = i3 % 128; int i4 = i3 % 2; String replaceAll = str.replaceAll("[^0-9.]", ""); if (i4 != 0) { int i5 = 7 / 0; } return replaceAll; } /* JADX WARN: Code restructure failed: missing block: B:11:0x005d, code lost: if (o.gjJ.b((java.lang.CharSequence) r9) == false) goto L45; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x005f, code lost: return ""; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0062, code lost: r2 = new java.lang.StringBuilder(); r2.append(r9); r2.append("."); r2.append(r1); r9 = r2.toString(); r1 = o.C6583cXR.f + 69; o.C6583cXR.i = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x007f, code lost: r1 = o.C6583cXR.i + 65; o.C6583cXR.f = r1 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0088, code lost: if ((r1 % 2) != 0) goto L49; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x008a, code lost: r0 = 30 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x008d, code lost: return r9; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x0047, code lost: return r1[0]; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x0043, code lost: if (r1.length == 1) goto L34; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x002c, code lost: if (r1.length == 1) goto L34; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0049, code lost: if (r1.length <= 1) goto L46; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x004b, code lost: r9 = r1[0]; r1 = r1[1]; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0053, code lost: if (r1.length() <= 2) goto L41; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0055, code lost: r1 = r1.substring(0, 2); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static java.lang.String n(java.lang.String r9) { /* r0 = 2 int r1 = r0 % r0 int r1 = o.C6583cXR.i int r1 = r1 + 25 int r2 = r1 % 128 o.C6583cXR.f = r2 int r1 = r1 % r0 java.lang.String r2 = "\\." r3 = -926095534(0xffffffffc8cce752, float:-419642.56) r4 = 926095551(0x373318bf, float:1.0674993E-5) r5 = 0 r6 = 1 if (r1 != 0) goto L2f java.lang.Object[] r1 = new java.lang.Object[]{r9} long r7 = java.lang.System.currentTimeMillis() int r7 = (int) r7 java.lang.Object r1 = c(r1, r4, r3, r7) java.lang.String r1 = (java.lang.String) r1 java.lang.String[] r1 = r1.split(r2) int r2 = r1.length if (r2 != r6) goto L48 goto L45 L2f: java.lang.Object[] r1 = new java.lang.Object[]{r9} long r7 = java.lang.System.currentTimeMillis() int r7 = (int) r7 java.lang.Object r1 = c(r1, r4, r3, r7) java.lang.String r1 = (java.lang.String) r1 java.lang.String[] r1 = r1.split(r2) int r2 = r1.length if (r2 != r6) goto L48 L45: r9 = r1[r5] return r9 L48: int r2 = r1.length if (r2 <= r6) goto L7f r9 = r1[r5] r1 = r1[r6] int r2 = r1.length() if (r2 <= r0) goto L59 java.lang.String r1 = r1.substring(r5, r0) L59: boolean r2 = o.gjJ.b(r9) if (r2 == 0) goto L62 java.lang.String r9 = "" return r9 L62: java.lang.StringBuilder r2 = new java.lang.StringBuilder r2.() r2.append(r9) java.lang.String r9 = "." r2.append(r9) r2.append(r1) java.lang.String r9 = r2.toString() int r1 = o.C6583cXR.f int r1 = r1 + 69 int r2 = r1 % 128 o.C6583cXR.i = r2 int r1 = r1 % r0 L7f: int r1 = o.C6583cXR.i int r1 = r1 + 65 int r2 = r1 % 128 o.C6583cXR.f = r2 int r1 = r1 % r0 if (r1 != 0) goto L8d r0 = 30 int r0 = r0 / r5 L8d: return r9 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.n(java.lang.String):java.lang.String"); } public static Uri VS_(Context context, int i2) { int i3 = 2 % 2; int i4 = f + 13; i = i4 % 128; int i5 = i4 % 2; String d2 = d(); if (context != null) { int i6 = i + 97; f = i6 % 128; if (i6 % 2 == 0) { d2 = context.getPackageName(); int i7 = 12 / 0; } else { d2 = context.getPackageName(); } } StringBuilder sb = new StringBuilder("android.resource://"); sb.append(d2); sb.append("/"); sb.append(i2); Uri parse = Uri.parse(sb.toString()); int i8 = i + 51; f = i8 % 128; int i9 = i8 % 2; return parse; } public static Uri VR_(int i2) { int i3 = 2 % 2; StringBuilder sb = new StringBuilder("android.resource://"); sb.append(d()); sb.append("/"); sb.append(i2); Uri parse = Uri.parse(sb.toString()); int i4 = f + 17; i = i4 % 128; if (i4 % 2 == 0) { return parse; } Object obj = null; obj.hashCode(); throw null; } private static String d() { int i2 = 2 % 2; StringBuilder sb = new StringBuilder(); sb.append("com.scb.phone.presentation".replace(".presentation", "")); String obj = sb.toString(); int i3 = i + 55; f = i3 % 128; if (i3 % 2 != 0) { return obj; } throw null; } public static Bitmap VV_(String str, int i2, int i3) { int i4 = 2 % 2; Bitmap VW_ = VW_(str, i2, i3, new HashMap()); int i5 = f + 111; i = i5 % 128; int i6 = i5 % 2; return VW_; } public static Bitmap VY_(String str) { int i2 = 2 % 2; EnumMap enumMap = new EnumMap(EnumC14826gQH.class); enumMap.put((EnumMap) EnumC14826gQH.ERROR_CORRECTION, (EnumC14826gQH) FVz.M); Bitmap VW_ = VW_(str, 600, 600, enumMap); int i3 = i + 45; f = i3 % 128; int i4 = i3 % 2; return VW_; } public static Bitmap VZ_(String str, int i2, int i3, Bitmap bitmap, double d2) { int i4 = 2 % 2; EnumMap enumMap = new EnumMap(EnumC14826gQH.class); enumMap.put((EnumMap) EnumC14826gQH.ERROR_CORRECTION, (EnumC14826gQH) FVz.M); Bitmap VX_ = VX_(str, i2, i3, enumMap, bitmap, d2); int i5 = i + 3; f = i5 % 128; if (i5 % 2 == 0) { int i6 = 40 / 0; } return VX_; } public static AbstractC13163fSk d(String str, int i2, int i3, FVz fVz) { int i4 = 2 % 2; EnumMap enumMap = new EnumMap(EnumC14826gQH.class); enumMap.put((EnumMap) EnumC14826gQH.ERROR_CORRECTION, (EnumC14826gQH) fVz); AbstractC13163fSk e2 = e(str, i2, i3, enumMap); int i5 = i + 21; f = i5 % 128; int i6 = i5 % 2; return e2; } private static Bitmap VW_(String str, int i2, int i3, Map map) { int i4 = 2 % 2; try { C8902dZc d2 = new TlN().d(str, PTS.QR_CODE, i2, i3, map); int i5 = d2.e; int i6 = d2.c; int[] iArr = new int[i5 * i6]; for (int i7 = 0; i7 < i6; i7++) { int i8 = i + 77; f = i8 % 128; int i9 = i8 % 2; int i10 = 0; while (i10 < i5) { iArr[(i7 * i5) + i10] = d2.b(i10, i7) ? -16777216 : -1; i10++; int i11 = i + 27; f = i11 % 128; int i12 = i11 % 2; } } Bitmap createBitmap = Bitmap.createBitmap(i5, i6, Bitmap.Config.ARGB_8888); createBitmap.setPixels(iArr, 0, i2, 0, 0, i5, i6); return createBitmap; } catch (WriterException | IllegalArgumentException e2) { guQ.e(e2); return null; } } private static Bitmap VX_(String str, int i2, int i3, Map map, Bitmap bitmap, double d2) { Bitmap bitmap2; int i4; int i5 = 2 % 2; Object obj = null; try { C8902dZc d3 = new TlN().d(str, PTS.QR_CODE, i2, i3, map); int i6 = d3.e; int i7 = d3.c; int[] iArr = new int[i6 * i7]; for (int i8 = 0; i8 < i7; i8++) { int i9 = f + 61; i = i9 % 128; int i10 = i9 % 2; for (int i11 = 0; i11 < i6; i11++) { if (!(!d3.b(i11, i8))) { int i12 = f + 123; i = i12 % 128; if (i12 % 2 != 0) { throw null; } i4 = -16777216; } else { i4 = -1; } iArr[(i8 * i6) + i11] = i4; } } Bitmap createBitmap = Bitmap.createBitmap(i6, i7, Bitmap.Config.ARGB_8888); createBitmap.setPixels(iArr, 0, i2, 0, 0, i6, i7); bitmap2 = Bitmap.createBitmap(createBitmap.getWidth(), createBitmap.getHeight(), createBitmap.getConfig()); Canvas canvas = new Canvas(bitmap2); canvas.drawBitmap(createBitmap, new Matrix(), null); Double valueOf = Double.valueOf(Math.sqrt((((i2 * i3) * (d2 / 100.0d)) * bitmap.getHeight()) / bitmap.getWidth())); canvas.drawBitmap(Bitmap.createScaledBitmap(bitmap, Double.valueOf((bitmap.getWidth() / bitmap.getHeight()) * valueOf.doubleValue()).intValue(), valueOf.intValue(), false), (i2 / 2.0f) - (r3.getWidth() / 2.0f), (i3 / 2.0f) - (r3.getHeight() / 2.0f), (Paint) null); } catch (WriterException | IllegalArgumentException e2) { guQ.e(e2); bitmap2 = null; } int i13 = i + 33; f = i13 % 128; if (i13 % 2 != 0) { return bitmap2; } obj.hashCode(); throw null; } public static /* synthetic */ Bitmap We_(String str, int i2, int i3, Map map) throws Exception { int i4; int i5 = 2 % 2; try { C8902dZc d2 = new TlN().d(str, PTS.QR_CODE, i2, i3, map); int i6 = d2.e; int i7 = d2.c; int[] iArr = new int[i6 * i7]; for (int i8 = 0; i8 < i7; i8++) { int i9 = f + 19; i = i9 % 128; int i10 = i9 % 2; int i11 = 0; while (i11 < i6) { if (d2.b(i11, i8)) { int i12 = i + 69; f = i12 % 128; int i13 = i12 % 2; i4 = -16777216; } else { i4 = -1; } iArr[(i8 * i6) + i11] = i4; i11++; int i14 = f + 97; i = i14 % 128; if (i14 % 2 != 0) { int i15 = 5 / 5; } } } Bitmap createBitmap = Bitmap.createBitmap(i6, i7, Bitmap.Config.ARGB_8888); createBitmap.setPixels(iArr, 0, i2, 0, 0, i6, i7); return createBitmap; } catch (WriterException | IllegalArgumentException e2) { guQ.e(e2); throw e2; } } private static AbstractC13163fSk e(String str, int i2, int i3, Map map) { int i4 = 2 % 2; AbstractC13163fSk subscribeOn = AbstractC13163fSk.fromCallable(new Callable(str, i2, i3, map) { // from class: o.cXV private Map b; private String c; private int d; private int e; @Override // java.util.concurrent.Callable public final Object call() { return C6583cXR.We_(this.c, this.e, this.d, this.b); } { this.c = str; this.e = i2; this.d = i3; this.b = map; } }).observeOn(fRR.e()).subscribeOn(C13417fZt.c()); int i5 = i + 83; f = i5 % 128; int i6 = i5 % 2; return subscribeOn; } public static Bitmap VT_(String str, int i2, int i3) { int i4 = 2 % 2; Bitmap VU_ = VU_(str, i2, i3, new HashMap()); int i5 = i + 53; f = i5 % 128; int i6 = i5 % 2; return VU_; } private static Bitmap VU_(String str, int i2, int i3, Map map) { Bitmap bitmap; int i4; int i5 = 2 % 2; Object obj = null; try { C8902dZc d2 = new TlN().d(str, PTS.CODE_128, i2, i3, map); int i6 = d2.e; int i7 = d2.c; int[] iArr = new int[i6 * i7]; int i8 = f + 77; i = i8 % 128; int i9 = i8 % 2; for (int i10 = 0; i10 < i7; i10++) { int i11 = i + 21; f = i11 % 128; for (int i12 = i11 % 2 == 0 ? 1 : 0; i12 < i6; i12++) { if (d2.b(i12, i10)) { int i13 = i + 9; f = i13 % 128; int i14 = i13 % 2; i4 = -16777216; } else { i4 = -1; } iArr[(i10 * i6) + i12] = i4; } } bitmap = Bitmap.createBitmap(i6, i7, Bitmap.Config.ARGB_8888); bitmap.setPixels(iArr, 0, i2, 0, 0, i6, i7); } catch (WriterException | IllegalArgumentException e2) { guQ.e(e2); bitmap = null; } int i15 = f + 125; i = i15 % 128; if (i15 % 2 == 0) { return bitmap; } obj.hashCode(); throw null; } public static boolean e(String str) { int i2 = 2 % 2; int i3 = f + 47; i = i3 % 128; if (i3 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } if (str == null || !I(str)) { return false; } int i4 = i + 51; f = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; J((short) (73 - (ViewConfiguration.getLongPressTimeout() >> 16)), (byte) (ViewConfiguration.getTapTimeout() >> 16), TextUtils.lastIndexOf("", '0', 0) - 15, (-607151034) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 983607237 - (KeyEvent.getMaxKeyCode() >> 16), objArr); return str.startsWith(((String) objArr[0]).intern()); } private static boolean I(String str) { int i2 = 2 % 2; int i3 = f + 71; i = i3 % 128; if (i3 % 2 == 0 ? str.length() != 9 : str.length() != 84) { int i4 = f + 87; i = i4 % 128; int i5 = i4 % 2; if (str.length() != 10) { int i6 = i + 69; f = i6 % 128; int i7 = i6 % 2; return false; } } return true; } public static int e(int i2, int i3, int i4) { int i5 = 2 % 2; int i6 = f + 87; i = i6 % 128; int i7 = i6 % 2; int min = Math.min(Math.max(i2, i3), i4); int i8 = i + 7; f = i8 % 128; int i9 = i8 % 2; return min; } public static double c(double d2, double d3, double d4) { int i2 = 2 % 2; int i3 = i + 81; f = i3 % 128; int i4 = i3 % 2; double min = Math.min(Math.max(d2, d3), d4); int i5 = f + 105; i = i5 % 128; int i6 = i5 % 2; return min; } private static /* synthetic */ Object n(Object[] objArr) { String str; int intValue = ((Number) objArr[0]).intValue(); List list = (List) objArr[1]; int i2 = 2 % 2; SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); for (int i3 = 0; i3 < list.size(); i3++) { StringBuilder sb = new StringBuilder(); sb.append((String) list.get(i3)); if (i3 < list.size() - 1) { int i4 = f + 103; int i5 = i4 % 128; i = i5; int i6 = i4 % 2; int i7 = i5 + 25; f = i7 % 128; int i8 = i7 % 2; str = "\n"; } else { str = ""; } sb.append(str); SpannableString spannableString = new SpannableString(sb.toString()); spannableString.setSpan(new BulletSpan(intValue), 0, spannableString.length(), 17); spannableStringBuilder.append((CharSequence) spannableString); } return spannableStringBuilder; } public static void d(View view) { int i2 = 2 % 2; if (view != null) { ((InputMethodManager) view.getContext().getSystemService("input_method")).hideSoftInputFromWindow(view.getWindowToken(), 0); int i3 = i + 43; f = i3 % 128; int i4 = i3 % 2; } int i5 = i + 85; f = i5 % 128; int i6 = i5 % 2; } public static boolean p(String str) { int i2 = 2 % 2; int i3 = f + 99; i = i3 % 128; int i4 = i3 % 2; boolean matches = Pattern.compile("^(?=\\S)[\\u0E01-\\u0E39\\u0E40-\\u0E4C0-9a-zA-Z ()\\-./]+$").matcher(str).matches(); int i5 = i + 77; f = i5 % 128; if (i5 % 2 != 0) { return matches; } Object obj = null; obj.hashCode(); throw null; } public static String k(String str) { int i2 = 2 % 2; int i3 = i + 63; f = i3 % 128; if (i3 % 2 == 0) { throw null; } if (str != null) { try { String substring = str.substring(0, str.indexOf("_")); int i4 = f + 87; i = i4 % 128; int i5 = i4 % 2; return substring; } catch (Exception unused) { } } return null; } /* JADX WARN: Code restructure failed: missing block: B:11:0x0018, code lost: if (r3 == o.bTI.BUSINESS_OWNER) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0013, code lost: if (r3 == o.bTI.BUSINESS_OWNER) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0026, code lost: r3 = "consumer"; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x001a, code lost: r3 = o.C6583cXR.i + 3; o.C6583cXR.f = r3 % 128; r3 = r3 % 2; r3 = "business_owner"; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static java.lang.String c(o.bTI r3) { /* r0 = 2 int r1 = r0 % r0 int r1 = o.C6583cXR.f int r1 = r1 + 95 int r2 = r1 % 128 o.C6583cXR.i = r2 int r1 = r1 % r0 if (r1 == 0) goto L16 o.bTI r1 = o.bTI.BUSINESS_OWNER r2 = 1 int r2 = r2 / 0 if (r3 != r1) goto L26 goto L1a L16: o.bTI r1 = o.bTI.BUSINESS_OWNER if (r3 != r1) goto L26 L1a: int r3 = o.C6583cXR.i int r3 = r3 + 3 int r1 = r3 % 128 o.C6583cXR.f = r1 int r3 = r3 % r0 java.lang.String r3 = "business_owner" goto L28 L26: java.lang.String r3 = "consumer" L28: int r1 = o.C6583cXR.i int r1 = r1 + 111 int r2 = r1 % 128 o.C6583cXR.f = r2 int r1 = r1 % r0 return r3 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.c(o.bTI):java.lang.String"); } public static String D(String str) { int i2 = 2 % 2; int i3 = i + 9; f = i3 % 128; int i4 = i3 % 2; String replace = str.replace(" ", ""); if (i4 == 0) { int i5 = 58 / 0; } int i6 = i + 125; f = i6 % 128; if (i6 % 2 != 0) { return replace; } throw null; } public static String h(String str) { int i2 = 2 % 2; int i3 = f + 87; i = i3 % 128; int i4 = i3 % 2; String replaceAll = str.replaceAll("[^.0-9]", ""); int i5 = i + 63; f = i5 % 128; if (i5 % 2 != 0) { return replaceAll; } Object obj = null; obj.hashCode(); throw null; } public static String x(String str) { int i2 = 2 % 2; int i3 = i + 45; f = i3 % 128; if (i3 % 2 != 0) { return str.replaceAll("(^\\h*)|(\\h*$)", ""); } str.replaceAll("(^\\h*)|(\\h*$)", ""); Object obj = null; obj.hashCode(); throw null; } public static String o(String str) { int i2 = 2 % 2; String h = h(str); if (!h.isEmpty()) { int i3 = f + 121; i = i3 % 128; int i4 = i3 % 2; if (h.contains(".")) { int i5 = f + 59; i = i5 % 128; return b(h.substring(0, i5 % 2 != 0 ? h.indexOf(".") : h.indexOf("."))); } } return b(h); } /* JADX WARN: Code restructure failed: missing block: B:10:0x005f, code lost: r1 = r4.getQueryParameterNames().iterator(); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x006b, code lost: if (r1.hasNext() == false) goto L53; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x006d, code lost: r2 = r1.next(); r0.put(r2, r4.getQueryParameter(r2)); */ /* JADX WARN: Code restructure failed: missing block: B:15:0x007b, code lost: return r0; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x0025, code lost: r0 = o.C6583cXR.i + 87; o.C6583cXR.f = r0 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x0030, code lost: if ((r0 % 2) == 0) goto L41; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x0036, code lost: if (r4.contains("?") != false) goto L43; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0038, code lost: r4 = android.net.Uri.parse("?".concat(java.lang.String.valueOf(r4))); */ /* JADX WARN: Code restructure failed: missing block: B:22:0x0045, code lost: r4.contains("?"); */ /* JADX WARN: Code restructure failed: missing block: B:23:0x0049, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:25:0x0023, code lost: if (r4.contains("http") == false) goto L36; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost: if (r4.contains("http") == false) goto L36; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x004a, code lost: r4 = android.net.Uri.parse(r4); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x004e, code lost: r0 = new java.util.HashMap(); */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0053, code lost: if (r4 == null) goto L52; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x005d, code lost: if (r4.getQueryParameterNames().isEmpty() != false) goto L52; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object l(java.lang.Object[] r4) { /* r0 = 0 r4 = r4[r0] java.lang.String r4 = (java.lang.String) r4 r1 = 2 int r2 = r1 % r1 int r2 = o.C6583cXR.i int r2 = r2 + 119 int r3 = r2 % 128 o.C6583cXR.f = r3 int r2 = r2 % r1 java.lang.String r3 = "http" if (r2 != 0) goto L1f boolean r2 = r4.contains(r3) r3 = 32 int r3 = r3 / r0 if (r2 != 0) goto L4a goto L25 L1f: boolean r0 = r4.contains(r3) if (r0 != 0) goto L4a L25: int r0 = o.C6583cXR.i int r0 = r0 + 87 int r2 = r0 % 128 o.C6583cXR.f = r2 int r0 = r0 % r1 java.lang.String r1 = "?" if (r0 == 0) goto L45 boolean r0 = r4.contains(r1) if (r0 != 0) goto L4a java.lang.String r4 = java.lang.String.valueOf(r4) java.lang.String r4 = r1.concat(r4) android.net.Uri r4 = android.net.Uri.parse(r4) goto L4e L45: r4.contains(r1) r4 = 0 throw r4 L4a: android.net.Uri r4 = android.net.Uri.parse(r4) L4e: java.util.HashMap r0 = new java.util.HashMap r0.() if (r4 == 0) goto L7b java.util.Set r1 = r4.getQueryParameterNames() boolean r1 = r1.isEmpty() if (r1 != 0) goto L7b java.util.Set r1 = r4.getQueryParameterNames() java.util.Iterator r1 = r1.iterator() L67: boolean r2 = r1.hasNext() if (r2 == 0) goto L7b java.lang.Object r2 = r1.next() java.lang.String r2 = (java.lang.String) r2 java.lang.String r3 = r4.getQueryParameter(r2) r0.put(r2, r3) goto L67 L7b: return r0 */ throw new UnsupportedOperationException("Method not decompiled: o.C6583cXR.l(java.lang.Object[]):java.lang.Object"); } public static Integer h(String str, String str2) { return (Integer) c(new Object[]{str, str2}, 244343915, -244343902, (int) System.currentTimeMillis()); } public static boolean H(String str) { return ((Boolean) c(new Object[]{str}, -1032102340, 1032102340, (int) System.currentTimeMillis())).booleanValue(); } public static String e(double d2) { return (String) c(new Object[]{Double.valueOf(d2)}, 632418507, -632418498, (int) System.currentTimeMillis()); } public static String F(String str) { return (String) c(new Object[]{str}, 1830317437, -1830317431, (int) System.currentTimeMillis()); } public static String B(String str) { return (String) c(new Object[]{str}, -1613428710, 1613428726, (int) System.currentTimeMillis()); } public static String e(Double d2) { return (String) c(new Object[]{d2}, 1329802197, -1329802186, (int) System.currentTimeMillis()); } public static void a(Context context, String str) { c(new Object[]{context, str}, 2084527761, -2084527754, (int) System.currentTimeMillis()); } public static String b(PWw pWw) { return (String) c(new Object[]{pWw}, 817056545, -817056542, (int) System.currentTimeMillis()); } public static int w(String str) { return ((Integer) c(new Object[]{str}, -681284434, 681284436, (int) System.currentTimeMillis())).intValue(); } public static String d(boolean z, boolean z2, String str) { return (String) c(new Object[]{Boolean.valueOf(z), Boolean.valueOf(z2), str}, -1092823629, 1092823630, (int) System.currentTimeMillis()); } public static CharSequence d(int i2, List list) { return (CharSequence) c(new Object[]{Integer.valueOf(i2), list}, -1984242070, 1984242084, i2); } public static boolean b(int i2) { return ((Boolean) c(new Object[]{Integer.valueOf(i2)}, 1275317401, -1275317383, i2)).booleanValue(); } public static boolean s(String str) { return ((Boolean) c(new Object[]{str}, 1038494101, -1038494091, (int) System.currentTimeMillis())).booleanValue(); } public static String m(String str) { int i2 = 2 % 2; int i3 = i + 23; int i4 = i3 % 128; f = i4; int i5 = i3 % 2; if (str == null) { int i6 = i4 + 43; i = i6 % 128; int i7 = i6 % 2; return ""; } int i8 = i4 + 75; i = i8 % 128; if (i8 % 2 == 0) { return str; } throw null; } private static String N(String str) { return (String) c(new Object[]{str}, 1276010513, -1276010494, (int) System.currentTimeMillis()); } public static Map l(String str) { return (Map) c(new Object[]{str}, -763936832, 763936847, (int) System.currentTimeMillis()); } public static String a(int i2) { int i3 = 2 % 2; if (i2 == 1) { return "st"; } int i4 = f + 39; int i5 = i4 % 128; i = i5; int i6 = i4 % 2; if (i2 == 2) { return "nd"; } int i7 = i5 + 67; int i8 = i7 % 128; f = i8; if (i7 % 2 == 0) { if (i2 == 5) { return "rd"; } } else if (i2 == 3) { return "rd"; } if (i2 <= 0) { return ""; } int i9 = i8 + 125; i = i9 % 128; if (i9 % 2 != 0) { int i10 = 5 % 2; } return "th"; } public static String g(String str) { return (String) c(new Object[]{str}, 2106777167, -2106777155, (int) System.currentTimeMillis()); } private static String M(String str) { return (String) c(new Object[]{str}, 926095551, -926095534, (int) System.currentTimeMillis()); } public static NumberFormat e(int i2) { return (NumberFormat) c(new Object[]{Integer.valueOf(i2)}, -1969602709, 1969602717, i2); } public static String a(double d2) { return (String) c(new Object[]{Double.valueOf(d2)}, -150997759, 150997764, (int) System.currentTimeMillis()); } public static String d(BigDecimal bigDecimal) { return (String) c(new Object[]{bigDecimal}, 453807656, -453807652, (int) System.currentTimeMillis()); } }