package com.ironsource.adqualitysdk.sdk.i; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.MotionEvent; import android.view.ViewConfiguration; import com.ironsource.adqualitysdk.sdk.i.hh; import java.util.ArrayList; import java.util.List; /* loaded from: classes4.dex */ public class hj extends hh { /* renamed from: ﮐ, reason: contains not printable characters */ private int f2209; /* renamed from: ﱟ, reason: contains not printable characters */ private List f2210 = new ArrayList(); /* renamed from: ﻏ, reason: contains not printable characters */ private boolean f2211; /* renamed from: ヌ, reason: contains not printable characters */ private Class f2212; /* renamed from: ﮐ, reason: contains not printable characters */ public final int m2797() { return this.f2209; } /* renamed from: ﱡ, reason: contains not printable characters */ public final boolean m2798() { return this.f2211; } /* renamed from: ﺙ, reason: contains not printable characters */ public final List m2799() { return this.f2210; } /* renamed from: ﻏ, reason: contains not printable characters */ public final Class m2800() { return this.f2212; } /* renamed from: メ, reason: contains not printable characters */ public final void m2801(Class cls) { this.f2212 = cls; } public hj() { super.mo2786(); this.f2212 = null; this.f2209 = 0; this.f2211 = true; this.f2210.clear(); } @Override // com.ironsource.adqualitysdk.sdk.i.hh /* renamed from: k */ public final void mo2786() { super.mo2786(); this.f2212 = null; this.f2209 = 0; this.f2211 = true; this.f2210.clear(); } public static class b extends hh.a implements cj { /* renamed from: k, reason: contains not printable characters */ private static int f2213 = 1; /* renamed from: ヌ, reason: contains not printable characters */ private static int[] f2214 = {-1031882895, 1751003219, 909057471, 1273083932, 1615205579, -1868697667, -1203868494, -1659873946, 338606846, -1078044117, -106161076, -1455739495, -1832960677, 1060172583, 1101528750, -1599142900, 116169107, -1618213895}; /* renamed from: メ, reason: contains not printable characters */ private static int f2215; /* renamed from: ﻐ, reason: contains not printable characters */ private hj f2216 = new hj(); /* renamed from: ﻐ, reason: contains not printable characters */ public final b m2808(Class cls) { int i = f2215 + 15; f2213 = i % 128; int i2 = i % 2; this.f2216.f2212 = cls; int i3 = f2213 + 73; f2215 = i3 % 128; if (i3 % 2 == 0) { return this; } throw null; } /* renamed from: ﻐ, reason: contains not printable characters */ private b m2802(int i) { int i2 = f2213 + 13; f2215 = i2 % 128; if (i2 % 2 == 0) { this.f2216.f2209 = i; int i3 = f2215 + 33; f2213 = i3 % 128; int i4 = i3 % 2; return this; } this.f2216.f2209 = i; throw null; } /* renamed from: メ, reason: contains not printable characters */ private b m2807(boolean z) { int i = f2213 + 67; f2215 = i % 128; if (i % 2 != 0) { this.f2216.f2211 = z; int i2 = 0 / 0; } else { this.f2216.f2211 = z; } return this; } /* renamed from: ﻛ, reason: contains not printable characters */ public final b m2810(int i) { int i2 = f2213 + 35; int i3 = i2 % 128; f2215 = i3; int i4 = i2 % 2; hj hjVar = this.f2216; hjVar.f2191 = i | hjVar.f2191; int i5 = i3 + 73; f2213 = i5 % 128; int i6 = i5 % 2; return this; } /* renamed from: メ, reason: contains not printable characters */ public final b m2811(int i) { int i2 = f2215; int i3 = i2 + 31; f2213 = i3 % 128; int i4 = i3 % 2; hj hjVar = this.f2216; hjVar.f2192 = i | hjVar.f2192; int i5 = i2 + 29; f2213 = i5 % 128; if (i5 % 2 != 0) { return this; } throw null; } /* renamed from: k, reason: contains not printable characters */ private b m2803(boolean z, int i) { int i2 = f2213 + 1; int i3 = i2 % 128; f2215 = i3; int i4 = i2 % 2; hj hjVar = this.f2216; hjVar.f2193 = z; hjVar.f2194 = i; int i5 = i3 + 21; f2213 = i5 % 128; int i6 = i5 % 2; return this; } /* renamed from: メ, reason: contains not printable characters */ private b m2806(Class cls) { int i = f2215 + 31; f2213 = i % 128; if (i % 2 != 0) { this.f2216.f2210.add(cls); int i2 = f2213 + 13; f2215 = i2 % 128; if (i2 % 2 == 0) { return this; } throw null; } this.f2216.f2210.add(cls); throw null; } /* renamed from: ヌ, reason: contains not printable characters */ private b m2805() { int i = f2213 + 3; f2215 = i % 128; if (i % 2 == 0) { this.f2216.mo2786(); return this; } this.f2216.mo2786(); throw null; } /* renamed from: ﻐ, reason: contains not printable characters */ public final hj m2809() { int i = f2215; int i2 = i + 81; f2213 = i2 % 128; int i3 = i2 % 2; hj hjVar = this.f2216; int i4 = i + 101; f2213 = i4 % 128; int i5 = i4 % 2; return hjVar; } /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ @Override // com.ironsource.adqualitysdk.sdk.i.cj /* renamed from: ﻛ */ public final Object mo1335(String str, List list, ch chVar) { int i = f2213 + 37; f2215 = i % 128; int i2 = i % 2; char c = 7; int i3 = -1; switch (str.hashCode()) { case -1347544616: if (str.equals(m2804(new int[]{835371845, -195733432, -882136588, 1361808943, -160898953, -2134410094, -2027989572, -642818848, 1578377108, 233776157}, 17 - MotionEvent.axisFromString("")).intern())) { int i4 = f2213 + 7; f2215 = i4 % 128; int i5 = i4 % 2; c = 2; break; } c = 65535; break; case -923635536: if (str.equals(m2804(new int[]{-679360479, -1994056298, 2047084215, 421466477, 30724311, -1824407523, -1726722832, -1269194165}, ImageFormat.getBitsPerPixel(0) + 14).intern())) { c = 0; break; } c = 65535; break; case -216533736: if (str.equals(m2804(new int[]{760896839, -142671400, -1430589641, -349068372, 205912489, 1770428163}, 10 - (ViewConfiguration.getWindowTouchSlop() >> 8)).intern())) { int i6 = f2215 + 79; f2213 = i6 % 128; int i7 = i6 % 2; c = 1; break; } c = 65535; break; case 94094958: if (str.equals(m2804(new int[]{-589042589, 1856826852, -1726722832, -1269194165}, TextUtils.indexOf((CharSequence) "", '0') + 6).intern())) { c = '\b'; break; } c = 65535; break; case 108404047: if (str.equals(m2804(new int[]{1627686227, -2128475395, -1195938498, 1084456380}, TextUtils.getOffsetAfter("", 0) + 5).intern())) { int i8 = f2215 + 97; f2213 = i8 % 128; int i9 = i8 % 2; break; } c = 65535; break; case 387034026: if (str.equals(m2804(new int[]{835371845, -195733432, 614490495, -942764141, 1852470023, 1348622267, 1623775886, 460271808, 736180933, 1344363358}, 18 - (PointF.length(0.0f, 0.0f) > 0.0f ? 1 : (PointF.length(0.0f, 0.0f) == 0.0f ? 0 : -1))).intern())) { c = 5; break; } c = 65535; break; case 391966482: if (str.equals(m2804(new int[]{-1910973374, 1428985535, 56219469, -1066975155, -1899775885, -1450925850, 121776158, -1982319859, -2062018732, 47129694, -869195434, -874714432}, 'E' - AndroidCharacter.getMirror('0')).intern())) { int i10 = f2213 + 29; f2215 = i10 % 128; int i11 = i10 % 2; c = 3; break; } c = 65535; break; case 1067445448: if (str.equals(m2804(new int[]{1683398490, 717707836, 2047084215, 421466477, 701431456, -1392519352, -1037357853, -1467751165}, Color.red(0) + 15).intern())) { int i12 = f2213 + 5; f2215 = i12 % 128; int i13 = i12 % 2; c = 6; break; } c = 65535; break; case 1423210564: if (str.equals(m2804(new int[]{-1910973374, 1428985535, 56219469, -1066975155, -1899775885, -1450925850, 1563775619, -619405436, -2062018732, 47129694, -869195434, -874714432}, 21 - (ViewConfiguration.getWindowTouchSlop() >> 8)).intern())) { c = 4; break; } c = 65535; break; default: c = 65535; break; } switch (c) { case 0: return m2808((Class) da.m2402(list, 0, Class.class)); case 1: return m2802(((Integer) da.m2402(list, 0, Integer.class)).intValue()); case 2: return m2807(((Boolean) da.m2402(list, 0, Boolean.class)).booleanValue()); case 3: return m2810(((Integer) da.m2402(list, 0, Integer.class)).intValue()); case 4: return m2811(((Integer) da.m2402(list, 0, Integer.class)).intValue()); case 5: boolean booleanValue = ((Boolean) da.m2402(list, 0, Boolean.class)).booleanValue(); if (list.size() > 1) { int i14 = f2213 + 47; f2215 = i14 % 128; int i15 = i14 % 2; i3 = ((Integer) da.m2402(list, 1, Integer.class)).intValue(); } return m2803(booleanValue, i3); case 6: return m2806((Class) da.m2402(list, 0, Class.class)); case 7: return m2805(); case '\b': return m2809(); default: return null; } } /* renamed from: k, reason: contains not printable characters */ private static String m2804(int[] iArr, int i) { String str; synchronized (e.f1827) { try { char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length << 1]; int[] iArr2 = (int[]) f2214.clone(); e.f1826 = 0; while (true) { int i2 = e.f1826; if (i2 < iArr.length) { int i3 = iArr[i2]; char c = (char) (i3 >> 16); cArr[0] = c; char c2 = (char) i3; cArr[1] = c2; char c3 = (char) (iArr[i2 + 1] >> 16); cArr[2] = c3; char c4 = (char) iArr[i2 + 1]; cArr[3] = c4; e.f1825 = (c << 16) + c2; e.f1828 = (c3 << 16) + c4; e.m2679(iArr2); for (int i4 = 0; i4 < 16; i4++) { int i5 = e.f1825 ^ iArr2[i4]; e.f1825 = i5; e.f1828 = e.m2678(i5) ^ e.f1828; int i6 = e.f1825; e.f1825 = e.f1828; e.f1828 = i6; } int i7 = e.f1825; e.f1825 = e.f1828; e.f1828 = i7; e.f1828 = i7 ^ iArr2[16]; e.f1825 ^= iArr2[17]; int i8 = e.f1826; int i9 = e.f1825; cArr[0] = (char) (i9 >>> 16); cArr[1] = (char) i9; int i10 = e.f1828; cArr[2] = (char) (i10 >>> 16); cArr[3] = (char) i10; e.m2679(iArr2); int i11 = e.f1826; cArr2[i11 << 1] = cArr[0]; cArr2[(i11 << 1) + 1] = cArr[1]; cArr2[(i11 << 1) + 2] = cArr[2]; cArr2[(i11 << 1) + 3] = cArr[3]; e.f1826 = i11 + 2; } else { str = new String(cArr2, 0, i); } } } catch (Throwable th) { throw th; } } return str; } } }