package com.ironsource.adqualitysdk.sdk.i; import android.graphics.Color; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.fyber.FairBid; import com.ironsource.adqualitysdk.sdk.i.iz; /* loaded from: classes4.dex */ public final class ge implements gd { /* renamed from: ﻛ, reason: contains not printable characters */ private static int f2048 = 0; /* renamed from: k, reason: contains not printable characters */ private static char[] f2049 = {'c', 'o', 'm', '.', 'f', 'y', 'b', 'e', 'r', 'F', 'a', 'i', 'B', 'd', 'n', 't', 's', '/', '7', '0', 'g', 'h', 'j', 'k', 'l'}; /* renamed from: ヌ, reason: contains not printable characters */ private static int f2050 = 1; /* renamed from: メ, reason: contains not printable characters */ private static char f2051 = 5; @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: ﻐ */ public final String mo2733() { int indexOf; byte trimmedLength; int i = f2050 + 67; f2048 = i % 128; if (i % 2 != 0) { indexOf = 43 % TextUtils.indexOf("", ""); trimmedLength = (byte) (102 % TextUtils.getTrimmedLength("")); } else { indexOf = 17 - TextUtils.indexOf("", ""); trimmedLength = (byte) (16 - TextUtils.getTrimmedLength("")); } String intern = m2750(indexOf, trimmedLength, "\u0001\u0002\u0003\u0004\u0000\t\u0007\b\r\b\u0005\u000e\r\u0006\r\ft").intern(); int i2 = f2050 + 7; f2048 = i2 % 128; int i3 = i2 % 2; return intern; } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: k */ public final Class mo2735() { int i = f2050 + 45; int i2 = i % 128; f2048 = i2; int i3 = i % 2; int i4 = i2 + 63; f2050 = i4 % 128; int i5 = i4 % 2; return FairBid.class; } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: ﻛ */ public final iz.b mo2734() { iz.b bVar = new iz.b(m2750(18 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (byte) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 89), "\u0001\u0002ÇÇ\u0005\u0002\u0010\u0000\u0006\u0012\u0013\u0002\u000b\f\t\u0007\f\u000e").intern(), m2750(3 - View.resolveSize(0, 0), (byte) (83 - Color.blue(0)), "\u0017\b\u0083").intern()); int i = f2050 + 83; f2048 = i % 128; if (i % 2 == 0) { return bVar; } throw null; } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: メ */ public final bb mo2737() { bl blVar = new bl(m2750(7 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (byte) (85 - ExpandableListView.getPackedPositionType(0L)), "\u0000\u000e\r\u0006\u000b\u0010¹").intern()); int i = f2050 + 43; f2048 = i % 128; if (i % 2 != 0) { int i2 = 65 / 0; } return blVar; } @Override // com.ironsource.adqualitysdk.sdk.i.gd /* renamed from: ヌ */ public final String mo2736() { int i = f2048 + 97; f2050 = i % 128; int i2 = i % 2; String intern = m2750(Color.alpha(0) + 7, (byte) (TextUtils.getCapsMode("", 0, 0) + 85), "\u0000\u000e\r\u0006\u000b\u0010¹").intern(); int i3 = f2048 + 85; f2050 = i3 % 128; if (i3 % 2 != 0) { return intern; } throw null; } /* renamed from: ﻐ, reason: contains not printable characters */ private static String m2750(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 = f2049; char c = f2051; 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; } }