package com.ironsource.adqualitysdk.sdk.i; import android.text.TextUtils; import android.widget.ExpandableListView; /* loaded from: classes4.dex */ public final class ef extends dz { /* renamed from: ﻐ, reason: contains not printable characters */ private static char[] f1856 = {'E', 'r', 'o', ' ', 'e', 'v', 'a', 'l', 'u', 't', 'i', 'n', 'g', 'x', 'p', 's'}; /* renamed from: k, reason: contains not printable characters */ private static char f1857 = 4; /* renamed from: ヌ, reason: contains not printable characters */ private static int f1858 = 1; /* renamed from: メ, reason: contains not printable characters */ private static int f1859; /* renamed from: ﻛ, reason: contains not printable characters */ private String f1860; public ef(String str, dm dmVar) { super(dmVar); this.f1860 = ds.m2637(str); } /* renamed from: ヌ, reason: contains not printable characters */ public final String m2693() { int i = f1859 + 117; f1858 = i % 128; if (i % 2 != 0) { return this.f1860; } int i2 = 94 / 0; return this.f1860; } @Override // com.ironsource.adqualitysdk.sdk.i.dz /* renamed from: ﻛ */ public final du mo2636(dq dqVar, ci ciVar) { try { du duVar = new du(dqVar.m2632(m2693())); int i = f1859 + 85; f1858 = i % 128; if (i % 2 != 0) { return duVar; } throw null; } catch (Exception e) { dp m2183 = ciVar.m2183(m2693()); if (m2183 != null) { du duVar2 = new du(m2183); int i2 = f1859 + 59; f1858 = i2 % 128; if (i2 % 2 != 0) { return duVar2; } throw null; } String m2175 = ciVar.m2175(); StringBuilder sb = new StringBuilder(); sb.append(m2692(28 - ExpandableListView.getPackedPositionGroup(0L), (byte) (41 - TextUtils.getOffsetAfter("", 0)), "\u0001\u0002\u0002\u0003\u0002\u0000\u0005\u0006\u0007\u0004\n\u0004\n\u000b\b\u000f\u0000\u0007\u000e\u000f\u0000\u0005\u009c\u009c\u000e\u0006\u000f\u0007").intern()); sb.append(this); sb.append(m2675()); cp.m2309(m2175, sb.toString(), e); return new du(null); } } public final String toString() { int i = f1859 + 119; f1858 = i % 128; if (i % 2 == 0) { m2693(); throw null; } String m2693 = m2693(); int i2 = f1859 + 31; f1858 = i2 % 128; int i3 = i2 % 2; return m2693; } public final boolean equals(Object obj) { int i = f1859 + 47; f1858 = i % 128; if (i % 2 == 0) { throw null; } if (this == obj) { return true; } if (obj == null || ef.class != obj.getClass()) { int i2 = f1859 + 21; f1858 = i2 % 128; if (i2 % 2 != 0) { return false; } throw null; } boolean equals = this.f1860.equals(((ef) obj).f1860); int i3 = f1858 + 83; f1859 = i3 % 128; int i4 = i3 % 2; return equals; } public final int hashCode() { String str = this.f1860; if (str != null) { int i = f1858 + 21; f1859 = i % 128; int i2 = i % 2; return str.hashCode(); } int i3 = f1858 + 27; f1859 = i3 % 128; if (i3 % 2 != 0) { int i4 = 85 / 0; } return 0; } /* renamed from: ﻐ, reason: contains not printable characters */ private static String m2692(int i, byte b, String str) { String str2; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (h.f2156) { try { char[] cArr3 = f1856; char c = f1857; char[] cArr4 = new char[i]; if (i % 2 != 0) { i--; cArr4[i] = (char) (cArr2[i] - b); } if (i > 1) { h.f2159 = 0; while (true) { int i2 = h.f2159; if (i2 >= i) { break; } h.f2158 = cArr2[i2]; h.f2161 = cArr2[h.f2159 + 1]; if (h.f2158 == h.f2161) { cArr4[h.f2159] = (char) (h.f2158 - b); cArr4[h.f2159 + 1] = (char) (h.f2161 - b); } else { h.f2162 = h.f2158 / c; h.f2157 = h.f2158 % c; h.f2160 = h.f2161 / c; h.f2155 = h.f2161 % c; if (h.f2157 == h.f2155) { h.f2162 = ((h.f2162 + c) - 1) % c; h.f2160 = ((h.f2160 + c) - 1) % c; int i3 = (h.f2162 * c) + h.f2157; int i4 = (h.f2160 * c) + h.f2155; int i5 = h.f2159; cArr4[i5] = cArr3[i3]; cArr4[i5 + 1] = cArr3[i4]; } else if (h.f2162 == h.f2160) { h.f2157 = ((h.f2157 + c) - 1) % c; h.f2155 = ((h.f2155 + c) - 1) % c; int i6 = (h.f2162 * c) + h.f2157; int i7 = (h.f2160 * c) + h.f2155; int i8 = h.f2159; cArr4[i8] = cArr3[i6]; cArr4[i8 + 1] = cArr3[i7]; } else { int i9 = (h.f2162 * c) + h.f2155; int i10 = (h.f2160 * c) + h.f2157; int i11 = h.f2159; cArr4[i11] = cArr3[i9]; cArr4[i11 + 1] = cArr3[i10]; } } h.f2159 += 2; } } str2 = new String(cArr4); } catch (Throwable th) { throw th; } } return str2; } }