package o; import android.graphics.ImageFormat; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.io.File; import java.io.Serializable; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* renamed from: o.gjq, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C15196gjq extends AbstractC15194gjo implements Serializable { private final List a; private static final byte[] $$a = {14, 104, 7, -34}; private static final int $$b = 207; private static int $10 = 0; private static int $11 = 1; private static int d = 0; private static int c = 1; private static char[] b = {45705, 23881, 27965, 32026}; private static long e = 8630835990769524745L; /* 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:0x002b). 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 g(byte r7, int r8, byte r9, java.lang.Object[] r10) { /* int r9 = r9 + 98 byte[] r0 = o.C15196gjq.$$a int r8 = r8 + 4 int r7 = r7 * 3 int r7 = r7 + 1 byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L13 r3 = r7 r9 = r8 r4 = r2 goto L2b L13: r3 = r2 L14: int r8 = r8 + 1 int r4 = r3 + 1 byte r5 = (byte) r9 r1[r3] = r5 if (r4 != r7) goto L25 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L25: r3 = r0[r8] r6 = r9 r9 = r8 r8 = r3 r3 = r6 L2b: int r8 = r8 + r3 r3 = r4 r6 = r9 r9 = r8 r8 = r6 goto L14 */ throw new UnsupportedOperationException("Method not decompiled: o.C15196gjq.g(byte, int, byte, java.lang.Object[]):void"); } public C15196gjq() { this.a = new ArrayList(); } public C15196gjq(List list) { if (list == null) { this.a = new ArrayList(); int i = c + 57; d = i % 128; int i2 = i % 2; return; } this.a = new ArrayList(list); int i3 = c + 45; d = i3 % 128; if (i3 % 2 != 0) { int i4 = 43 / 0; } } private static void f(char c2, int i, int i2, Object[] objArr) { int i3 = 2; int i4 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; int i5 = $10 + 77; $11 = i5 % 128; if (i5 % 2 == 0) { int i6 = 2 % 4; } while (dqy.a < i2) { int i7 = $10 + 53; $11 = i7 % 128; if (i7 % i3 == 0) { int i8 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(b[i - dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(308 - View.MeasureSpec.getMode(0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (32798 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b2 = (byte) 0; byte b3 = (byte) (b2 - 1); Object[] objArr3 = new Object[1]; g(b2, b3, (byte) (b3 + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(e), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", "", 0)); byte b4 = (byte) 0; byte b5 = (byte) (b4 - 1); Object[] objArr5 = new Object[1]; g(b4, b5, (byte) (-b5), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i8] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(407 - Drawable.resolveOpacity(0, 0), 5 - TextUtils.indexOf("", "", 0, 0), (char) (29233 - ImageFormat.getBitsPerPixel(0))); byte b6 = (byte) 0; byte b7 = (byte) (b6 - 1); Object[] objArr7 = new Object[1]; g(b6, b7, (byte) (b7 & 8), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { int i9 = dqy.a; Object[] objArr8 = {Integer.valueOf(b[i + dqy.a])}; Object obj4 = xzZ.y.get(1095064095); if (obj4 == null) { Class cls4 = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 309, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) ((Process.myTid() >> 22) + 32797)); byte b8 = (byte) 0; byte b9 = (byte) (b8 - 1); Object[] objArr9 = new Object[1]; g(b8, b9, (byte) (b9 + 1), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE); xzZ.y.put(1095064095, obj4); } Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(e), Integer.valueOf(c2)}; Object obj5 = xzZ.y.get(-548438098); if (obj5 == null) { Class cls5 = (Class) xzZ.c((Process.myTid() >> 22) + 412, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16)); byte b10 = (byte) 0; byte b11 = (byte) (b10 - 1); Object[] objArr11 = new Object[1]; g(b10, b11, (byte) (-b11), objArr11); obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj5); } jArr[i9] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue(); Object[] objArr12 = {dqy, dqy}; Object obj6 = xzZ.y.get(1071125919); if (obj6 == null) { Class cls6 = (Class) xzZ.c(408 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.getDefaultSize(0, 0), (char) (29234 - View.combineMeasuredStates(0, 0))); byte b12 = (byte) 0; byte b13 = (byte) (b12 - 1); Object[] objArr13 = new Object[1]; g(b12, b13, (byte) (b13 & 8), objArr13); obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class); xzZ.y.put(1071125919, obj6); } ((Method) obj6).invoke(null, objArr12); } i3 = 2; } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr14 = {dqy, dqy}; Object obj7 = xzZ.y.get(1071125919); if (obj7 == null) { Class cls7 = (Class) xzZ.c(407 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (29233 - TextUtils.lastIndexOf("", '0', 0))); byte b14 = (byte) 0; byte b15 = (byte) (b14 - 1); Object[] objArr15 = new Object[1]; g(b14, b15, (byte) (b15 & 8), objArr15); obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class); xzZ.y.put(1071125919, obj7); } ((Method) obj7).invoke(null, objArr14); } objArr[0] = new String(cArr); } @Override // o.AbstractC15194gjo, o.InterfaceC15199gjt, java.io.FileFilter public final boolean accept(File file) { int i = 2 % 2; int i2 = c + 103; d = i2 % 128; int i3 = i2 % 2; if (this.a.isEmpty()) { return false; } Iterator it = this.a.iterator(); while (it.hasNext()) { if (!it.next().accept(file)) { int i4 = c; int i5 = i4 + 9; d = i5 % 128; int i6 = i5 % 2; int i7 = i4 + 3; d = i7 % 128; if (i7 % 2 == 0) { return false; } throw null; } } return true; } @Override // o.AbstractC15194gjo, o.InterfaceC15199gjt, java.io.FilenameFilter public final boolean accept(File file, String str) { int i = 2 % 2; int i2 = c + 69; d = i2 % 128; int i3 = i2 % 2; if (this.a.isEmpty()) { return false; } Iterator it = this.a.iterator(); while (!(!it.hasNext())) { if (!it.next().accept(file, str)) { int i4 = c + 113; d = i4 % 128; int i5 = i4 % 2; return false; } } return true; } @Override // o.AbstractC15194gjo public final String toString() { String obj; int i = 2 % 2; StringBuilder sb = new StringBuilder(); sb.append(super.toString()); sb.append("("); if (this.a != null) { for (int i2 = 0; i2 < this.a.size(); i2++) { int i3 = c + 115; d = i3 % 128; if (i3 % 2 != 0) { Object obj2 = null; obj2.hashCode(); throw null; } if (i2 > 0) { sb.append(","); int i4 = d + 49; c = i4 % 128; int i5 = i4 % 2; } InterfaceC15199gjt interfaceC15199gjt = this.a.get(i2); if (interfaceC15199gjt == null) { Object[] objArr = new Object[1]; f((char) (15669 - (ViewConfiguration.getScrollBarSize() >> 8)), TextUtils.lastIndexOf("", '0', 0) + 1, ((byte) KeyEvent.getModifierMetaStateMask()) + 5, objArr); obj = ((String) objArr[0]).intern(); } else { obj = interfaceC15199gjt.toString(); } sb.append(obj); } } sb.append(")"); return sb.toString(); } }