package com.ironsource.adqualitysdk.sdk.i; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes4.dex */ public class de extends da implements cj { /* renamed from: 爫, reason: contains not printable characters */ private static boolean f1595 = true; /* renamed from: ﬤ, reason: contains not printable characters */ private static int f1596 = 1; /* renamed from: סּ, reason: contains not printable characters */ private static int f1597 = 0; /* renamed from: ﭖ, reason: contains not printable characters */ private static boolean f1599 = true; /* renamed from: ﮉ, reason: contains not printable characters */ private static int f1601 = 280; /* renamed from: ﭴ, reason: contains not printable characters */ private String f1602; /* renamed from: ﮌ, reason: contains not printable characters */ private String f1603; /* renamed from: ﮐ, reason: contains not printable characters */ private String f1604; /* renamed from: ﱟ, reason: contains not printable characters */ private String f1605; /* renamed from: ﱡ, reason: contains not printable characters */ private String f1606; /* renamed from: ﺙ, reason: contains not printable characters */ private String f1607; /* renamed from: ﻏ, reason: contains not printable characters */ private String f1608; /* renamed from: ﻐ, reason: contains not printable characters */ private String f1609; /* renamed from: ﻛ, reason: contains not printable characters */ private String f1610; /* renamed from: k, reason: contains not printable characters */ private String f1611; /* renamed from: ヌ, reason: contains not printable characters */ private String f1612; /* renamed from: メ, reason: contains not printable characters */ private String f1613; /* renamed from: ﭸ, reason: contains not printable characters */ private static char[] f1600 = {395, 381, 396, 345, 380, 353, 347, 377, 389, 392, 385, 383, 390, 364, 401, 398, 394, 351, 391, 397, 362, 393, 348, 346, 360, 379, 354}; /* renamed from: ףּ, reason: contains not printable characters */ private static long f1598 = 6757866249858676587L; /* renamed from: メ, reason: contains not printable characters */ private void m2499(String str) { int i = f1597 + 47; int i2 = i % 128; f1596 = i2; int i3 = i % 2; this.f1613 = str; int i4 = i2 + 5; f1597 = i4 % 128; int i5 = i4 % 2; } /* renamed from: ヌ, reason: contains not printable characters */ private String m2495() { int i = f1596 + 117; int i2 = i % 128; f1597 = i2; if (i % 2 != 0) { throw null; } String str = this.f1613; int i3 = i2 + 67; f1596 = i3 % 128; int i4 = i3 % 2; return str; } /* renamed from: ヌ, reason: contains not printable characters */ private void m2496(String str) { int i = f1596 + 111; f1597 = i % 128; int i2 = i % 2; this.f1609 = str; if (i2 != 0) { throw null; } } /* renamed from: メ, reason: contains not printable characters */ private String m2497() { int i = f1597; int i2 = i + 97; f1596 = i2 % 128; int i3 = i2 % 2; String str = this.f1609; int i4 = i + 115; f1596 = i4 % 128; if (i4 % 2 != 0) { return str; } throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ private void m2492(String str) { int i = f1597; int i2 = i + 21; f1596 = i2 % 128; int i3 = i2 % 2; this.f1612 = str; int i4 = i + 79; f1596 = i4 % 128; int i5 = i4 % 2; } /* renamed from: ﻛ, reason: contains not printable characters */ private String m2491() { int i = f1596; int i2 = i + 89; f1597 = i2 % 128; if (i2 % 2 != 0) { throw null; } String str = this.f1612; int i3 = i + 61; f1597 = i3 % 128; int i4 = i3 % 2; return str; } /* renamed from: ﻐ, reason: contains not printable characters */ private void m2490(String str) { int i = f1596 + 71; int i2 = i % 128; f1597 = i2; int i3 = i % 2; this.f1611 = str; int i4 = i2 + 55; f1596 = i4 % 128; if (i4 % 2 == 0) { int i5 = 60 / 0; } } /* renamed from: k, reason: contains not printable characters */ private Object m2493() { int i = f1596 + 61; int i2 = i % 128; f1597 = i2; int i3 = i % 2; String str = this.f1611; int i4 = i2 + 101; f1596 = i4 % 128; int i5 = i4 % 2; return str; } /* renamed from: k, reason: contains not printable characters */ private void m2494(String str) { int i = f1596 + 87; int i2 = i % 128; f1597 = i2; int i3 = i % 2; this.f1610 = str; if (i3 != 0) { int i4 = 94 / 0; } int i5 = i2 + 71; f1596 = i5 % 128; int i6 = i5 % 2; } /* renamed from: ﻐ, reason: contains not printable characters */ private String m2488() { int i = f1597 + 83; f1596 = i % 128; if (i % 2 != 0) { return this.f1610; } throw null; } /* renamed from: ﱟ, reason: contains not printable characters */ private void m2481(String str) { int i = f1597 + 27; f1596 = i % 128; int i2 = i % 2; this.f1608 = str; if (i2 == 0) { throw null; } } /* renamed from: ﮐ, reason: contains not printable characters */ private String m2478() { int i = f1597 + 47; f1596 = i % 128; if (i % 2 != 0) { return this.f1608; } int i2 = 4 / 0; return this.f1608; } /* renamed from: ﺙ, reason: contains not printable characters */ private void m2485(String str) { int i = f1597 + 73; int i2 = i % 128; f1596 = i2; int i3 = i % 2; this.f1607 = str; int i4 = i2 + 23; f1597 = i4 % 128; if (i4 % 2 != 0) { throw null; } } /* renamed from: ﺙ, reason: contains not printable characters */ private String m2484() { int i = f1597 + 45; int i2 = i % 128; f1596 = i2; int i3 = i % 2; String str = this.f1607; int i4 = i2 + 81; f1597 = i4 % 128; int i5 = i4 % 2; return str; } /* renamed from: ﱡ, reason: contains not printable characters */ private void m2483(String str) { int i = f1596 + 25; f1597 = i % 128; int i2 = i % 2; this.f1606 = str; if (i2 != 0) { int i3 = 31 / 0; } } /* renamed from: ﻏ, reason: contains not printable characters */ private String m2486() { int i = f1597; int i2 = i + 79; f1596 = i2 % 128; int i3 = i2 % 2; String str = this.f1606; int i4 = i + 5; f1596 = i4 % 128; if (i4 % 2 == 0) { int i5 = 57 / 0; } return str; } /* renamed from: ﻏ, reason: contains not printable characters */ private void m2487(String str) { int i = f1597 + 93; int i2 = i % 128; f1596 = i2; int i3 = i % 2; this.f1605 = str; int i4 = i2 + 15; f1597 = i4 % 128; int i5 = i4 % 2; } /* renamed from: ﱡ, reason: contains not printable characters */ private String m2482() { int i = f1597 + 77; int i2 = i % 128; f1596 = i2; int i3 = i % 2; String str = this.f1605; int i4 = i2 + 13; f1597 = i4 % 128; int i5 = i4 % 2; return str; } /* renamed from: ﮐ, reason: contains not printable characters */ private void m2479(String str) { int i = f1596 + 31; f1597 = i % 128; int i2 = i % 2; this.f1604 = str; if (i2 != 0) { throw null; } } /* renamed from: ﱟ, reason: contains not printable characters */ private String m2480() { int i = f1596 + 31; f1597 = i % 128; if (i % 2 == 0) { return this.f1604; } throw null; } /* renamed from: ﮉ, reason: contains not printable characters */ private void m2476(String str) { int i = f1596; int i2 = i + 91; f1597 = i2 % 128; int i3 = i2 % 2; this.f1603 = str; int i4 = i + 3; f1597 = i4 % 128; int i5 = i4 % 2; } /* renamed from: ﮌ, reason: contains not printable characters */ private Object m2477() { int i = f1596 + 121; f1597 = i % 128; if (i % 2 == 0) { return this.f1603; } int i2 = 50 / 0; return this.f1603; } /* renamed from: ﭖ, reason: contains not printable characters */ private void m2474(String str) { int i = f1596 + 55; int i2 = i % 128; f1597 = i2; int i3 = i % 2; this.f1602 = str; if (i3 != 0) { throw null; } int i4 = i2 + 73; f1596 = i4 % 128; if (i4 % 2 == 0) { throw null; } } /* renamed from: ﭴ, reason: contains not printable characters */ private Object m2475() { int i = f1596; int i2 = i + 15; f1597 = i2 % 128; if (i2 % 2 != 0) { throw null; } String str = this.f1602; int i3 = i + 97; f1597 = i3 % 128; int i4 = i3 % 2; return str; } /* renamed from: ﭖ, reason: contains not printable characters */ private JSONObject m2473() { JSONObject jSONObject = new JSONObject(); try { jSONObject.putOpt(ik.f2408, this.f1613); jSONObject.putOpt(ik.f2409, this.f1609); jSONObject.putOpt(ik.f2413, this.f1612); jSONObject.putOpt(ik.f2415, this.f1610); jSONObject.putOpt(ik.f2414, this.f1608); jSONObject.putOpt(ik.f2411, this.f1607); jSONObject.putOpt(ik.f2410, this.f1606); jSONObject.putOpt(ik.f2407, this.f1605); jSONObject.putOpt(ik.f2406, this.f1604); int i = f1596 + 49; f1597 = i % 128; int i2 = i % 2; } catch (JSONException unused) { } return jSONObject; } /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ /* JADX WARN: Code restructure failed: missing block: B:113:0x0289, code lost: if (r11.equals(m2489("\uf056圮\uf031缓†梑醱ຓ\u2d9bɔ돡⬝䭧斊핓䥁椶", android.view.Gravity.getAbsoluteGravity(0, 0) + 1).intern()) != false) goto L89; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x002b, code lost: if (r11.equals(m2498(null, null, ((byte) android.view.KeyEvent.getModifierMetaStateMask()) + kotlin.jvm.internal.ByteCompanionObject.MIN_VALUE, "\u0085\u0086\u0085\u0084\u0083\u0082\u0081").intern()) != false) goto L7; */ @Override // com.ironsource.adqualitysdk.sdk.i.cj /* renamed from: ﻛ */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final java.lang.Object mo1335(java.lang.String r11, java.util.List r12, com.ironsource.adqualitysdk.sdk.i.ch r13) { /* Method dump skipped, instructions count: 1102 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.de.mo1335(java.lang.String, java.util.List, com.ironsource.adqualitysdk.sdk.i.ch):java.lang.Object"); } /* renamed from: メ, reason: contains not printable characters */ private static String m2498(String str, int[] iArr, int i, String str2) { byte[] bArr = str2; if (str2 != null) { bArr = str2.getBytes("ISO-8859-1"); } byte[] bArr2 = bArr; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (o.f2842) { try { char[] cArr3 = f1600; int i2 = f1601; if (f1595) { int length = bArr2.length; o.f2841 = length; char[] cArr4 = new char[length]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i3 = o.f2840; int i4 = o.f2841 - 1; int i5 = o.f2840; cArr4[i3] = (char) (cArr3[bArr2[i4 - i5] + i] - i2); o.f2840 = i5 + 1; } return new String(cArr4); } if (f1599) { int length2 = cArr2.length; o.f2841 = length2; char[] cArr5 = new char[length2]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i6 = o.f2840; int i7 = o.f2841 - 1; int i8 = o.f2840; cArr5[i6] = (char) (cArr3[cArr2[i7 - i8] - i] - i2); o.f2840 = i8 + 1; } return new String(cArr5); } int length3 = iArr.length; o.f2841 = length3; char[] cArr6 = new char[length3]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i9 = o.f2840; int i10 = o.f2841 - 1; int i11 = o.f2840; cArr6[i9] = (char) (cArr3[iArr[i10 - i11] - i] - i2); o.f2840 = i11 + 1; } return new String(cArr6); } catch (Throwable th) { throw th; } } } /* renamed from: ﻐ, reason: contains not printable characters */ private static String m2489(String str, int i) { String str2; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (i.f2325) { try { char[] m2999 = i.m2999(f1598, cArr2, i); i.f2324 = 4; while (true) { int i2 = i.f2324; if (i2 < m2999.length) { i.f2323 = i2 - 4; m2999[i.f2324] = (char) ((m2999[r1] ^ m2999[r1 % 4]) ^ (i.f2323 * f1598)); i.f2324++; } else { str2 = new String(m2999, 4, m2999.length - 4); } } } catch (Throwable th) { throw th; } } return str2; } }