package o; import android.content.Context; import android.content.ContextWrapper; import android.graphics.Color; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.Gravity; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import androidx.fragment.app.Fragment; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISOFileInfo; import o.C13079fPz; import o.InterfaceC16541pFg; import o.wdQ; /* renamed from: o.fPz, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C13079fPz implements fPC { private final Object a; private volatile Object c; private final boolean d; private final View e; @Override // o.fPC public final Object y_() { throw null; } /* renamed from: o.fPz$LWm */ /* loaded from: classes5.dex */ public static final class LWm extends ContextWrapper { public LayoutInflater a; private final InterfaceC3451axm b; private Fragment d; public LayoutInflater e; private static final byte[] $$a = {33, ISOFileInfo.ENV_TEMP_EF, -97, 85}; private static final int $$b = 60; private static int $10 = 0; private static int $11 = 1; private static int f = 0; private static int i = 1; private static char c = 27775; private static char h = 13545; private static char j = 61013; private static char g = 53350; /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). 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 l(byte r5, int r6, byte r7, java.lang.Object[] r8) { /* int r5 = r5 * 2 int r5 = 4 - r5 byte[] r0 = o.C13079fPz.LWm.$$a int r6 = r6 * 4 int r1 = 1 - r6 int r7 = 67 - r7 byte[] r1 = new byte[r1] r2 = 0 int r6 = 0 - r6 if (r0 != 0) goto L17 r4 = r7 r3 = r2 r7 = r6 goto L29 L17: r3 = r2 L18: byte r4 = (byte) r7 r1[r3] = r4 if (r3 != r6) goto L25 java.lang.String r5 = new java.lang.String r5.(r1, r2) r8[r2] = r5 return L25: int r3 = r3 + 1 r4 = r0[r5] L29: int r5 = r5 + 1 int r7 = r7 + r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C13079fPz.LWm.l(byte, int, byte, java.lang.Object[]):void"); } private static void k(char[] cArr, int i2, Object[] objArr) { char c2; int i3 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; jtb.b = 0; char[] cArr3 = new char[2]; int i4 = $11 + 117; $10 = i4 % 128; char c3 = 3; if (i4 % 2 != 0) { int i5 = 3 / 3; } while (jtb.b < cArr.length) { int i6 = $11 + 11; $10 = i6 % 128; if (i6 % 2 != 0) { cArr3[0] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b >>> 1]; } else { cArr3[0] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; } int i7 = 58224; int i8 = 0; while (i8 < 16) { char c4 = cArr3[1]; char c5 = cArr3[0]; int i9 = (c5 + i7) ^ ((c5 << 4) + ((char) (j ^ 41718355337583039L))); int i10 = c5 >>> 5; try { Object[] objArr2 = new Object[4]; objArr2[c3] = Integer.valueOf(g); objArr2[2] = Integer.valueOf(i10); objArr2[1] = Integer.valueOf(i9); objArr2[0] = Integer.valueOf(c4); Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 411, 5 - KeyEvent.keyCodeFromString(""), (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)))); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; l(b, b2, (byte) (b2 + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr3[1] = charValue; Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (c ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(h)}; Object obj2 = xzZ.y.get(597144044); if (obj2 != null) { c2 = 3; } else { Class cls2 = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 412, Process.getGidForName("") + 6, (char) ((-16777216) - Color.rgb(0, 0, 0))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; l(b3, b4, (byte) (b4 + 1), objArr5); c2 = 3; obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj2); } cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i7 -= 40503; i8++; int i11 = $11 + 123; $10 = i11 % 128; int i12 = i11 % 2; c3 = c2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char c6 = c3; cArr2[jtb.b] = cArr3[0]; cArr2[jtb.b + 1] = cArr3[1]; Object[] objArr6 = {jtb, jtb}; Object obj3 = xzZ.y.get(943004485); if (obj3 == null) { Class cls3 = (Class) xzZ.c(98 - TextUtils.indexOf("", "", 0, 0), View.resolveSize(0, 0) + 5, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)))); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr7 = new Object[1]; l(b5, b6, b6, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); c3 = c6; } objArr[0] = new String(cArr2, 0, i2); } public LWm(Context context, Fragment fragment) { super(context); InterfaceC3451axm interfaceC3451axm = new InterfaceC3451axm(this) { // from class: dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper$1 private C13079fPz.LWm c; { this.c = this; } @Override // o.InterfaceC3451axm public final void c(InterfaceC16541pFg interfaceC16541pFg, wdQ.HBt hBt) { if (hBt == wdQ.HBt.ON_DESTROY) { this.c.a = null; this.c.e = null; } } }; this.b = interfaceC3451axm; this.a = null; this.d = fragment; fragment.getLifecycle().e(interfaceC3451axm); } public LWm(LayoutInflater layoutInflater, Fragment fragment) { super(layoutInflater.getContext()); InterfaceC3451axm interfaceC3451axm = new InterfaceC3451axm(this) { // from class: dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper$1 private C13079fPz.LWm c; { this.c = this; } @Override // o.InterfaceC3451axm public final void c(InterfaceC16541pFg interfaceC16541pFg, wdQ.HBt hBt) { if (hBt == wdQ.HBt.ON_DESTROY) { this.c.a = null; this.c.e = null; } } }; this.b = interfaceC3451axm; this.a = layoutInflater; this.d = fragment; fragment.getLifecycle().e(interfaceC3451axm); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0046, code lost: if (r4.a != null) goto L18; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0048, code lost: r4.a = (android.view.LayoutInflater) getBaseContext().getSystemService("layout_inflater"); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0054, code lost: r4.e = r4.a.cloneInContext(r4); */ /* JADX WARN: Code restructure failed: missing block: B:14:0x005e, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x0061, code lost: return r4.e; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x0023, code lost: r1 = o.C13079fPz.LWm.f + 85; o.C13079fPz.LWm.i = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:19:0x0034, code lost: return getBaseContext().getSystemService(r5); */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0021, code lost: if ((!"layout_inflater".equals(r5)) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost: if ("layout_inflater".equals(r5) == false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0037, code lost: if (r4.e != null) goto L21; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0039, code lost: r5 = o.C13079fPz.LWm.f + 33; o.C13079fPz.LWm.i = r5 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0042, code lost: if ((r5 % 2) == 0) goto L19; */ @Override // android.content.ContextWrapper, android.content.Context /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final java.lang.Object getSystemService(java.lang.String r5) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.C13079fPz.LWm.f int r1 = r1 + 27 int r2 = r1 % 128 o.C13079fPz.LWm.i = r2 int r1 = r1 % r0 java.lang.String r2 = "layout_inflater" if (r1 != 0) goto L1b boolean r1 = r2.equals(r5) r3 = 92 int r3 = r3 / 0 if (r1 != 0) goto L35 goto L23 L1b: boolean r1 = r2.equals(r5) r1 = r1 ^ 1 if (r1 == 0) goto L35 L23: int r1 = o.C13079fPz.LWm.f int r1 = r1 + 85 int r2 = r1 % 128 o.C13079fPz.LWm.i = r2 int r1 = r1 % r0 android.content.Context r0 = r4.getBaseContext() java.lang.Object r5 = r0.getSystemService(r5) return r5 L35: android.view.LayoutInflater r5 = r4.e if (r5 != 0) goto L5f int r5 = o.C13079fPz.LWm.f int r5 = r5 + 33 int r1 = r5 % 128 o.C13079fPz.LWm.i = r1 int r5 = r5 % r0 if (r5 == 0) goto L5d android.view.LayoutInflater r5 = r4.a if (r5 != 0) goto L54 android.content.Context r5 = r4.getBaseContext() java.lang.Object r5 = r5.getSystemService(r2) android.view.LayoutInflater r5 = (android.view.LayoutInflater) r5 r4.a = r5 L54: android.view.LayoutInflater r5 = r4.a android.view.LayoutInflater r5 = r5.cloneInContext(r4) r4.e = r5 goto L5f L5d: r5 = 0 throw r5 L5f: android.view.LayoutInflater r5 = r4.e return r5 */ throw new UnsupportedOperationException("Method not decompiled: o.C13079fPz.LWm.getSystemService(java.lang.String):java.lang.Object"); } @Override // android.content.ContextWrapper public final void attachBaseContext(Context context) { int i2 = 2 % 2; int i3 = i + 107; f = i3 % 128; int i4 = i3 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; k(new char[]{36263, 35847, 41009, 36698, 64529, 34707, 21576, 4358, 53406, 39117, 24596, 51381, 15531, 20360, 26959, 54869, 16265, 50417}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 18, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; k(new char[]{22769, 654, 59673, 45068, 14203, 58982}, KeyEvent.normalizeMetaState(0) + 5, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i5 = i + 7; f = i5 % 128; int i6 = i5 % 2; if (intValue <= 99999) { return; } } Context applicationContext = context != null ? context.getApplicationContext() : context; if (applicationContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0) + 6, (char) Color.alpha(0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; k(new char[]{40236, 37001, 31432, 50073, 62371, 59124, 24023, 12732, 2391, 17747, 61449, 16417, 13922, 41330, 3000, 3056, 35113, 62958, 39059, 34714, 51011, 30975, 40956, 188, 14321, 3225, 52870, 42567, 3814, 59592, 28633, 53779, 37286, 3601, 27088, 48046, 25767, 9065, 62422, 39340, 61248, 16517, 10510, 61573, 33653, 28776, 50517, 20400}, 48 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; k(new char[]{54521, 28142, 34649, 25993, 35528, 17877, 17675, 23673, 36415, 31653, 39531, 9856, 39531, 9856, 29284, 27080, 54534, 49323, 49183, 8098, 9174, 8614, 8848, 23611, 62741, 18409, 55629, 37378, 5552, 32179, 62153, 40216, 46982, 10753, 24694, 32034, 40519, 133, 62422, 39340, 35528, 17877, 21984, 21253, 46485, 35427, 35528, 17877, 28860, 7457, 57189, 39575, 33653, 28776, 21508, 20349, 2962, 59915, 61063, 55406, 35528, 17877, 40698, 48852}, 64 - Color.alpha(0), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; k(new char[]{13021, 374, 38709, 30987, 24003, 24896, 29089, 41402, 5552, 32179, 43622, 23359, 3567, 28871, 62153, 40216, 46350, 51190, 50974, 16280, 59260, 12224, 37905, 28110, 33653, 28776, 25767, 9065, 19264, 62702, 39802, 5153, 31432, 50073, 11045, 4291, 46664, 26581, 21699, 15130, 19475, 60616, 50806, 46441, 47376, 3112, 34649, 25993, 51934, 10746, 39059, 34714, 5454, 27770, 21191, 38914, 46507, 19720, 24023, 12732, 40519, 133, 23560, 22057}, 64 - KeyEvent.keyCodeFromString(""), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; k(new char[]{17056, 22952, 7667, 55524, 37591, 45048, 35165, 50531, 59620, 12191, 9084, 60887, 38405, 52558, 24761, 44162, 37179, 61954, 5592, 25695, 42889, 27517, 27556, 57842, 22823, 51208, 54413, 45523, 38725, 15100, 8683, 37677, 13645, 3660, 55542, 22903, 55441, 36464, 10593, 41339, 27528, 13842, 9787, 208, 60659, 64721, 27528, 13842, 33910, 27148, 38405, 52558, 10092, 15930, 53728, 18529, 13228, 25992, 17198, 61134, 7286, 16328, 43470, 14346, 26201, 2695, 51697, 40735, 29415, 48352, 47188, 51293, 42431, 9866}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 74, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; k(new char[]{22722, 46895, 28511, 22130, 38435, 13136}, (ViewConfiguration.getEdgeSlop() >> 16) + 5, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; k(new char[]{8683, 37677, 61248, 16517, 17870, 53511, 56726, 24585, 39614, 33373, 4478, 31347, 28831, 1645, 18942, 6820, 21699, 15130, 22507, 40247, 51934, 10746, 43181, 60745, 13156, 8723, 61449, 16417, 6563, 26964, 52870, 42567, 58847, 10343, 16655, 46993}, 36 - ExpandableListView.getPackedPositionGroup(0L), objArr8); Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, Process.getGidForName("") + 6, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); int i7 = i + 119; f = i7 % 128; int i8 = i7 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } }