package o; import android.graphics.Color; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; /* loaded from: classes3.dex */ public final class iAS extends ZTC { private static short[] i; private final KRH a; private final ApD c; private static final byte[] $$d = {Ascii.CAN, -103, 8, 6}; private static final int $$e = 227; private static int $10 = 0; private static int $11 = 1; private static int j = 0; private static int g = 1; private static int d = 1245612698; private static int e = 1406017076; private static int b = -329387236; private static byte[] h = {Ascii.NAK}; /* 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:0x002c). 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(int r6, byte r7, int r8, java.lang.Object[] r9) { /* int r8 = r8 * 3 int r8 = 4 - r8 int r7 = r7 * 2 int r7 = 110 - r7 byte[] r0 = o.iAS.$$d int r6 = r6 * 2 int r6 = r6 + 1 byte[] r1 = new byte[r6] r2 = 0 if (r0 != 0) goto L16 r3 = r8 r4 = r2 goto L2c L16: r3 = r2 L17: byte r4 = (byte) r7 r1[r3] = r4 int r3 = r3 + 1 if (r3 != r6) goto L26 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L26: r4 = r0[r8] r5 = r3 r3 = r8 r8 = r4 r4 = r5 L2c: int r8 = -r8 int r7 = r7 + r8 int r8 = r3 + 1 r3 = r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: o.iAS.k(int, byte, int, java.lang.Object[]):void"); } @InterfaceC13391fZD public iAS(ApD apD, KRH krh) { this.c = apD; this.a = krh; } public final WvL a(C0628LBa c0628LBa) { String str; int i2 = 2 % 2; int i3 = g + 23; j = i3 % 128; int i4 = i3 % 2; if (TextUtils.isEmpty(c0628LBa.e)) { str = c0628LBa.c; } else { str = c0628LBa.e; } if (TextUtils.isEmpty(str)) { str = c0628LBa.I; int i5 = g + 1; j = i5 % 128; int i6 = i5 % 2; } fGW fgw = c0628LBa.w; WvL wvL = new WvL(); wvL.a = str; wvL.y = c0628LBa.v; wvL.v = c0628LBa.D; wvL.u = c0628LBa.C; wvL.m = c0628LBa.f8246o; wvL.b = c0628LBa.d; wvL.A = c0628LBa.z; wvL.i = this.c.c(c0628LBa.h); wvL.j = b(c0628LBa.n); PJZ pjz = null; if (fgw != null) { int i7 = g + 115; j = i7 % 128; if (i7 % 2 != 0) { KRH.b(fgw); throw null; } pjz = KRH.b(fgw); } wvL.s = pjz; wvL.f8436o = c0628LBa.k; wvL.e = c0628LBa.a; wvL.d = c0628LBa.f; wvL.x = c0628LBa.y; wvL.w = c0628LBa.u; wvL.c = c0628LBa.b; wvL.f = c0628LBa.m; wvL.q = paz.b(c0628LBa.x); wvL.n = c0628LBa.t; wvL.z = c0628LBa.G; wvL.l = c0628LBa.l; Object[] objArr = new Object[1]; f((short) (Color.green(0) + 119), (byte) (55 - (ViewConfiguration.getScrollDefaultDelay() >> 16)), (-32) - TextUtils.getOffsetAfter("", 0), (-435197071) - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getLongPressTimeout() >> 16) + 1080824616, objArr); wvL.r = ((String) objArr[0]).intern().equals(c0628LBa.q); wvL.g = c0628LBa.g; wvL.h = c0628LBa.j; wvL.k = c0628LBa.s; wvL.C = j(c0628LBa.A); return wvL; } private static C16299nIE b(C16025kZS c16025kZS) { int i2 = 2 % 2; int i3 = j; int i4 = i3 + 65; g = i4 % 128; int i5 = i4 % 2; if (c16025kZS == null) { int i6 = i3 + 81; g = i6 % 128; if (i6 % 2 != 0) { return null; } throw null; } Object[] objArr = new Object[1]; f((short) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 118), (byte) (55 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (-32) - Color.argb(0, 0, 0, 0), (-435197071) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 1080824616, objArr); boolean equals = ((String) objArr[0]).intern().equals(c16025kZS.e); String str = c16025kZS.b; Object[] objArr2 = new Object[1]; f((short) (119 - Color.alpha(0)), (byte) (55 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), (-33) - TextUtils.indexOf((CharSequence) "", '0', 0), (-435197072) - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 1080824616, objArr2); return new C16299nIE(equals, str, ((String) objArr2[0]).intern().equals(c16025kZS.c)); } private static boolean j(String str) { int i2 = 2 % 2; int i3 = g + 5; j = i3 % 128; if (i3 % 2 != 0) { throw null; } if (str != null && !str.isEmpty()) { int i4 = j + 17; g = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; f((short) (119 - Color.alpha(0)), (byte) (55 - (KeyEvent.getMaxKeyCode() >> 16)), ExpandableListView.getPackedPositionGroup(0L) - 32, (-435197071) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 1080824616 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr); if (!((String) objArr[0]).intern().equals(str)) { return false; } } int i6 = g + 33; j = i6 % 128; int i7 = i6 % 2; return true; } /* JADX WARN: Code restructure failed: missing block: B:44:0x01ef, code lost: if (r4 != false) goto L48; */ /* JADX WARN: Code restructure failed: missing block: B:45:0x0205, code lost: r4 = 0; */ /* JADX WARN: Code restructure failed: missing block: B:82:0x0203, code lost: r4 = 1; */ /* JADX WARN: Code restructure failed: missing block: B:84:0x0201, code lost: if (r4 != false) goto L48; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void f(short r18, byte r19, int r20, int r21, int r22, java.lang.Object[] r23) { /* Method dump skipped, instructions count: 842 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.iAS.f(short, byte, int, int, int, java.lang.Object[]):void"); } }