package com.ironsource.adqualitysdk.sdk.i; import android.content.Context; import android.graphics.Color; import android.os.Process; import android.os.SystemClock; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* loaded from: classes4.dex */ public final class cl { /* renamed from: ﭸ, reason: contains not printable characters */ private static int f1391 = 1; /* renamed from: ﮐ, reason: contains not printable characters */ private static int f1392; /* renamed from: ﱡ, reason: contains not printable characters */ private dn f1395; /* renamed from: ﻏ, reason: contains not printable characters */ private List f1396 = new ArrayList(); /* renamed from: ﻐ, reason: contains not printable characters */ private ay f1397; /* renamed from: ﻛ, reason: contains not printable characters */ private cy f1398; /* renamed from: k, reason: contains not printable characters */ private bb f1399; /* renamed from: ヌ, reason: contains not printable characters */ private dj f1400; /* renamed from: メ, reason: contains not printable characters */ private Context f1401; /* renamed from: ﺙ, reason: contains not printable characters */ private static char[] f1394 = {2459, 33505, 8043, 43971, 9303, 45273, 19721, 55732, 21044, 61068, 31488, 63383, ':', 35652, 5844, 41570, 11751, 47475, 17541, 'D', 35644, 5817, 41502, 11670, 47365, 17659, 53367}; /* renamed from: ﱟ, reason: contains not printable characters */ private static long f1393 = 421926792638794613L; /* renamed from: ヌ, reason: contains not printable characters */ public static /* synthetic */ List m2250(cl clVar) { int i = f1391 + 117; int i2 = i % 128; f1392 = i2; int i3 = i % 2; List list = clVar.f1396; int i4 = i2 + 87; f1391 = i4 % 128; if (i4 % 2 != 0) { return list; } throw null; } public cl(Context context, dj djVar, ay ayVar, cy cyVar, bb bbVar) { this.f1400 = djVar; this.f1397 = ayVar; this.f1398 = cyVar; this.f1399 = bbVar; this.f1401 = context.getApplicationContext(); } /* renamed from: メ, reason: contains not printable characters */ public final void m2269() { Iterator it = this.f1396.iterator(); int i = f1391 + 65; f1392 = i % 128; int i2 = i % 2; while (it.hasNext()) { it.next().m2173(); } t.m3514(new io() { // from class: com.ironsource.adqualitysdk.sdk.i.cl.2 @Override // com.ironsource.adqualitysdk.sdk.i.io /* renamed from: k */ public final void mo933() { cl.m2250(cl.this).clear(); } }); int i3 = f1392 + 77; f1391 = i3 % 128; if (i3 % 2 == 0) { throw null; } } /* renamed from: ヌ, reason: contains not printable characters */ private synchronized void m2251(dn dnVar) { try { int i = f1391 + 119; int i2 = i % 128; f1392 = i2; if (i % 2 != 0) { throw null; } if (dnVar != null) { int i3 = i2 + 65; f1391 = i3 % 128; if (i3 % 2 == 0) { this.f1395 = dnVar; int i4 = 21 / 0; } else { this.f1395 = dnVar; } } } catch (Throwable th) { throw th; } throw th; } /* renamed from: ﭸ, reason: contains not printable characters */ private synchronized List m2247() { int i = f1392 + 15; f1391 = i % 128; int i2 = i % 2; if (this.f1396 == null) { ArrayList arrayList = new ArrayList(); int i3 = f1392 + 77; f1391 = i3 % 128; if (i3 % 2 != 0) { return arrayList; } throw null; } ArrayList arrayList2 = new ArrayList(this.f1396); int i4 = f1391 + 117; f1392 = i4 % 128; if (i4 % 2 == 0) { return arrayList2; } int i5 = 9 / 0; return arrayList2; } /* renamed from: k, reason: contains not printable characters */ public final void m2267() { dn m2548 = this.f1400.m2548(); if (m2548 != null) { int i = f1391 + 25; f1392 = i % 128; int i2 = i % 2; m2249(m2548); if (this.f1399.mo1333()) { int i3 = f1391 + 119; f1392 = i3 % 128; if (i3 % 2 != 0) { jl.m3241(m2548); int i4 = 50 / 0; } else { jl.m3241(m2548); } } } this.f1400.m2546().m2634(m2253((char) (2549 - Color.green(0)), ((Process.getThreadPriority(0) + 20) >> 6) + 12, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1).intern(), this.f1399); Iterator it = this.f1400.m2547().keySet().iterator(); while (it.hasNext()) { dh dhVar = this.f1400.m2547().get(it.next()); if (!dhVar.m2524()) { m2254(new ci(this, this.f1398, this.f1399, m2252(dhVar), this.f1400.m2546())); int i5 = f1392 + 73; f1391 = i5 % 128; int i6 = i5 % 2; } } m2248(this.f1400, this.f1399); } /* renamed from: メ, reason: contains not printable characters */ private hm m2252(dh dhVar) { int i = f1391 + 83; f1392 = i % 128; if (i % 2 != 0) { throw null; } if (dhVar == null) { return null; } hm hmVar = new hm(dhVar, m2252(this.f1400.m2547().get(dhVar.m2523()))); int i2 = f1392 + 101; f1391 = i2 % 128; if (i2 % 2 != 0) { return hmVar; } throw null; } /* renamed from: ヌ, reason: contains not printable characters */ public final String m2268() { int i = f1392 + 123; f1391 = i % 128; if (i % 2 == 0) { this.f1400.m2553(); throw null; } String m2553 = this.f1400.m2553(); int i2 = f1391 + 125; f1392 = i2 % 128; int i3 = i2 % 2; return m2553; } /* renamed from: ﻛ, reason: contains not printable characters */ public final String m2266() { int i = f1392 + 115; f1391 = i % 128; int i2 = i % 2; String m2550 = this.f1400.m2550(); int i3 = f1392 + 99; f1391 = i3 % 128; if (i3 % 2 != 0) { return m2550; } throw null; } /* renamed from: ﻐ, reason: contains not printable characters */ public final String m2264() { int i = f1392 + 119; f1391 = i % 128; if (i % 2 != 0) { return this.f1400.m2551(); } int i2 = 88 / 0; return this.f1400.m2551(); } /* renamed from: ﺙ, reason: contains not printable characters */ public final String m2262() { int i = f1392 + 93; f1391 = i % 128; int i2 = i % 2; String m1336 = this.f1399.m1336(); int i3 = f1392 + 9; f1391 = i3 % 128; if (i3 % 2 != 0) { return m1336; } throw null; } /* renamed from: ﮐ, reason: contains not printable characters */ public final String m2259() { int i = f1391 + 111; f1392 = i % 128; if (i % 2 == 0) { return this.f1399.mo1338(); } this.f1399.mo1338(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:11:0x004a, code lost: if (m2253((char) ((android.view.ViewConfiguration.getLongPressTimeout() >> 16) + 127), 7 - (android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16), 12 - (android.util.TypedValue.complexToFloat(0) > 0.0f ? 1 : (android.util.TypedValue.complexToFloat(0) == 0.0f ? 0 : -1))).intern().equals(r0) != false) goto L16; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x004c, code lost: r2 = com.ironsource.adqualitysdk.sdk.i.cl.f1392 + 11; com.ironsource.adqualitysdk.sdk.i.cl.f1391 = r2 % 128; r2 = r2 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x007a, code lost: if (m2253((char) (android.graphics.Color.rgb(0, 0, 0) + 16777216), 8 - (android.view.KeyEvent.getMaxKeyCode() >> 16), (android.view.ViewConfiguration.getLongPressTimeout() >> 16) + 19).intern().equals(r0) == false) goto L14; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0087, code lost: return r6.f1400.m2554(m2262()); */ /* JADX WARN: Code restructure failed: missing block: B:17:0x0022, code lost: if (android.text.TextUtils.isEmpty(r0) == false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost: if (android.text.TextUtils.isEmpty(r0) == false) goto L9; */ /* renamed from: ﱟ, reason: contains not printable characters */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final java.lang.String m2260() { /* r6 = this; int r0 = com.ironsource.adqualitysdk.sdk.i.cl.f1392 int r0 = r0 + 37 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.cl.f1391 = r1 int r0 = r0 % 2 r1 = 0 if (r0 != 0) goto L1a java.lang.String r0 = r6.m2262() boolean r2 = android.text.TextUtils.isEmpty(r0) r3 = 2 int r3 = r3 / r1 if (r2 != 0) goto L88 goto L24 L1a: java.lang.String r0 = r6.m2262() boolean r2 = android.text.TextUtils.isEmpty(r0) if (r2 != 0) goto L88 L24: int r2 = android.view.ViewConfiguration.getLongPressTimeout() int r2 = r2 >> 16 int r2 = r2 + 127 char r2 = (char) r2 int r3 = android.view.ViewConfiguration.getKeyRepeatTimeout() int r3 = r3 >> 16 int r3 = 7 - r3 float r4 = android.util.TypedValue.complexToFloat(r1) r5 = 0 int r4 = (r4 > r5 ? 1 : (r4 == r5 ? 0 : -1)) int r4 = 12 - r4 java.lang.String r2 = m2253(r2, r3, r4) java.lang.String r2 = r2.intern() boolean r2 = r2.equals(r0) if (r2 != 0) goto L88 int r2 = com.ironsource.adqualitysdk.sdk.i.cl.f1392 int r2 = r2 + 11 int r3 = r2 % 128 com.ironsource.adqualitysdk.sdk.i.cl.f1391 = r3 int r2 = r2 % 2 r2 = 16777216(0x1000000, float:2.3509887E-38) int r1 = android.graphics.Color.rgb(r1, r1, r1) int r1 = r1 + r2 char r1 = (char) r1 int r2 = android.view.KeyEvent.getMaxKeyCode() int r2 = r2 >> 16 int r2 = 8 - r2 int r3 = android.view.ViewConfiguration.getLongPressTimeout() int r3 = r3 >> 16 int r3 = r3 + 19 java.lang.String r1 = m2253(r1, r2, r3) java.lang.String r1 = r1.intern() boolean r0 = r1.equals(r0) if (r0 == 0) goto L7d goto L88 L7d: com.ironsource.adqualitysdk.sdk.i.dj r0 = r6.f1400 java.lang.String r1 = r6.m2262() java.lang.String r0 = r0.m2554(r1) return r0 L88: int r0 = com.ironsource.adqualitysdk.sdk.i.cl.f1392 int r0 = r0 + 93 int r1 = r0 % 128 com.ironsource.adqualitysdk.sdk.i.cl.f1391 = r1 int r0 = r0 % 2 r1 = 0 if (r0 == 0) goto L96 return r1 L96: throw r1 */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.cl.m2260():java.lang.String"); } /* renamed from: ﻏ, reason: contains not printable characters */ public final String m2263() { int i = f1391 + 45; f1392 = i % 128; int i2 = i % 2; String m2552 = this.f1400.m2552(); int i3 = f1391 + 39; f1392 = i3 % 128; int i4 = i3 % 2; return m2552; } /* renamed from: ﱡ, reason: contains not printable characters */ public final String m2261() { int i = f1392 + 13; f1391 = i % 128; if (i % 2 != 0) { return this.f1400.m2549(); } this.f1400.m2549(); throw null; } /* renamed from: ﻐ, reason: contains not printable characters */ public final void m2265(String str, List list) { int i = f1392 + 117; f1391 = i % 128; int i2 = i % 2; Iterator it = m2247().iterator(); while (it.hasNext()) { it.next().m2188(str, list); } int i3 = f1391 + 55; f1392 = i3 % 128; int i4 = i3 % 2; } /* renamed from: ﭖ, reason: contains not printable characters */ public final Context m2255() { int i = f1392 + 97; int i2 = i % 128; f1391 = i2; int i3 = i % 2; Context context = this.f1401; int i4 = i2 + 3; f1392 = i4 % 128; int i5 = i4 % 2; return context; } /* renamed from: メ, reason: contains not printable characters */ private void m2254(ci ciVar) { int i = f1391 + 3; f1392 = i % 128; int i2 = i % 2; this.f1396.add(ciVar); int i3 = f1392 + 93; f1391 = i3 % 128; int i4 = i3 % 2; } /* renamed from: k, reason: contains not printable characters */ private void m2249(dn dnVar) { int i = f1392 + 101; f1391 = i % 128; int i2 = i % 2; m2251(dnVar); if (i2 == 0) { int i3 = 56 / 0; } int i4 = f1392 + 31; f1391 = i4 % 128; if (i4 % 2 == 0) { throw null; } } /* renamed from: ﮌ, reason: contains not printable characters */ public final synchronized dn m2258() { dn dnVar; int i = f1392 + 11; int i2 = i % 128; f1391 = i2; int i3 = i % 2; dnVar = this.f1395; int i4 = i2 + 93; f1392 = i4 % 128; if (i4 % 2 != 0) { throw null; } return dnVar; } /* renamed from: ﮉ, reason: contains not printable characters */ public final ay m2257() { int i = f1391 + 17; int i2 = i % 128; f1392 = i2; if (i % 2 != 0) { throw null; } ay ayVar = this.f1397; int i3 = i2 + 21; f1391 = i3 % 128; if (i3 % 2 != 0) { return ayVar; } throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ private synchronized void m2248(dj djVar, bb bbVar) { try { int i = f1392 + 19; f1391 = i % 128; if (i % 2 == 0) { bbVar.mo1310(); throw null; } if (bbVar.mo1310()) { for (ci ciVar : m2247()) { djVar.m2546().m2633().m2634(ciVar.m2185().m2833(), ciVar); } } int i2 = f1391 + 93; f1392 = i2 % 128; if (i2 % 2 != 0) { throw null; } } catch (Throwable th) { throw th; } throw th; } /* renamed from: ﭴ, reason: contains not printable characters */ public final synchronized boolean m2256() { boolean mo1310; int i = f1391 + 29; f1392 = i % 128; if (i % 2 != 0) { this.f1399.mo1310(); throw null; } mo1310 = this.f1399.mo1310(); int i2 = f1391 + 95; f1392 = i2 % 128; int i3 = i2 % 2; return mo1310; } /* renamed from: メ, reason: contains not printable characters */ private static String m2253(char c, int i, int i2) { String str; synchronized (d.f1568) { try { char[] cArr = new char[i]; d.f1567 = 0; while (true) { int i3 = d.f1567; if (i3 < i) { cArr[i3] = (char) ((f1394[i2 + i3] ^ (i3 * f1393)) ^ c); d.f1567 = i3 + 1; } else { str = new String(cArr); } } } catch (Throwable th) { throw th; } } return str; } }