package com.ironsource.adqualitysdk.sdk.i; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.util.TypedValue; import android.view.Gravity; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.applovin.exoplayer2.common.base.Ascii; /* loaded from: classes4.dex */ public final class aj { /* renamed from: ﮐ, reason: contains not printable characters */ private static short[] f231 = null; /* renamed from: ﱟ, reason: contains not printable characters */ private static int f232 = 0; /* renamed from: ﱡ, reason: contains not printable characters */ private static byte[] f233 = null; /* renamed from: ﺙ, reason: contains not printable characters */ private static int f234 = 0; /* renamed from: ﻏ, reason: contains not printable characters */ private static int f235 = 1; /* renamed from: ﻛ, reason: contains not printable characters */ private static int f236; /* renamed from: ヌ, reason: contains not printable characters */ private static int f237; /* renamed from: メ, reason: contains not printable characters */ private String f240 = m1039(((byte) KeyEvent.getModifierMetaStateMask()) - 1381423746, KeyEvent.keyCodeFromString("") - 1666592732, (-61) - (ViewConfiguration.getDoubleTapTimeout() >> 16), (short) (1 - (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1))), (byte) (ViewConfiguration.getScrollBarFadeDuration() >> 16)).intern(); /* renamed from: k, reason: contains not printable characters */ private String f239 = m1039((-1381423747) - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (-1666592698) - (ViewConfiguration.getScrollBarSize() >> 8), (-61) - (ViewConfiguration.getKeyRepeatDelay() >> 16), (short) (ViewConfiguration.getMinimumFlingVelocity() >> 16), (byte) (ViewConfiguration.getJumpTapTimeout() >> 16)).intern(); /* renamed from: ﻐ, reason: contains not printable characters */ private String f238 = m1039((Process.myTid() >> 22) - 1381423747, (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)) - 1666592665, (-61) - (ExpandableListView.getPackedPositionForGroup(0) > 0 ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0 ? 0 : -1)), (short) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (byte) (TypedValue.complexToFloat(0) > 0.0f ? 1 : (TypedValue.complexToFloat(0) == 0.0f ? 0 : -1))).intern(); /* renamed from: メ, reason: contains not printable characters */ public static void m1040() { f237 = 1666592732; f236 = 96; f234 = 1381423851; f233 = new byte[]{-2, Ascii.FF, 53, -54, 49, -70, 5, Ascii.VT, -5, -7, 71, -64, -1, 6, -11, 19, -8, 5, -1, -8, 63, -67, Ascii.CR, 3, 52, -60, 58, 0, -11, -57, 3, -4, 0, Ascii.FF, -2, Ascii.FF, 53, -54, 49, -70, 5, Ascii.VT, -5, -7, 71, -64, -1, 6, -11, 19, -8, 5, -1, -8, 63, -67, Ascii.CR, 3, 52, -66, 64, 0, -11, -57, 3, -4, 0, Ascii.FF, -2, Ascii.FF, 53, -54, 49, -70, 5, Ascii.VT, -5, -7, 71, -64, -1, 6, -11, 19, -8, 5, -1, -8, 63, -67, Ascii.CR, 3, 52, -52, 50, 0, -11, -57, 3, -4, 0, Ascii.FF, -2, 54, -72, Ascii.VT, 61, -61, 8, 2, -1, -3, 2, 2, -17, -2, Ascii.VT, -35, Ascii.CR, -27, 3, Ascii.DC2, -58, 8, 44, -33, 3, Ascii.FS, -31, 51, 0, 0, 0, 0, 0, 0}; } public aj() { m1039(View.MeasureSpec.makeMeasureSpec(0, 0) - 1381423735, (-1666592631) - ExpandableListView.getPackedPositionChild(0L), (-82) - TextUtils.indexOf((CharSequence) "", '0'), (short) (TextUtils.lastIndexOf("", '0') + 1), (byte) Color.alpha(0)).intern(); } static { m1040(); m1039(TextUtils.getTrimmedLength("") - 1381423802, (-1666592617) - ImageFormat.getBitsPerPixel(0), Color.green(0) - 81, (short) (ViewConfiguration.getScrollBarFadeDuration() >> 16), (byte) (ViewConfiguration.getKeyRepeatDelay() >> 16)).intern(); int i = f235 + 117; f232 = i % 128; if (i % 2 != 0) { throw null; } } /* renamed from: ﻛ, reason: contains not printable characters */ public final String m1043(String str) { int i = f232 + 59; f235 = i % 128; if (i % 2 != 0) { return m1037(this.f240, str); } int i2 = 45 / 0; return m1037(this.f240, str); } /* renamed from: k, reason: contains not printable characters */ public final String m1044(String str) { int i = f232 + 79; f235 = i % 128; if (i % 2 != 0) { return m1037(this.f239, str); } m1037(this.f239, str); throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m1037(String str, String str2) { StringBuilder sb = new StringBuilder(); if (str != null) { int i = f232 + 7; f235 = i % 128; int i2 = i % 2; } else { str = ""; } sb.append(str); sb.append(m1039((-1381423804) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (-1666592616) - View.MeasureSpec.getMode(0), (ViewConfiguration.getDoubleTapTimeout() >> 16) - 95, (short) ((AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) - 1), (byte) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))).intern()); if (str2 != null) { int i3 = f232 + 17; f235 = i3 % 128; int i4 = i3 % 2; } else { int i5 = f235 + 29; f232 = i5 % 128; int i6 = i5 % 2; str2 = ""; } sb.append(str2); return sb.toString(); } /* renamed from: ﻛ, reason: contains not printable characters */ public final String m1042() { int i = f235 + 79; int i2 = i % 128; f232 = i2; if (i % 2 != 0) { throw null; } String str = this.f238; int i3 = i2 + 65; f235 = i3 % 128; int i4 = i3 % 2; return str; } /* renamed from: ﻐ, reason: contains not printable characters */ public final String m1041() { int i = f232 + 51; f235 = i % 128; if (i % 2 != 0) { return this.f240; } int i2 = 39 / 0; return this.f240; } /* renamed from: ヌ, reason: contains not printable characters */ public static String m1038() { int i = f232 + 27; f235 = i % 128; int i2 = i % 2; long uptimeMillis = SystemClock.uptimeMillis(); return (i2 == 0 ? m1039((uptimeMillis > 1L ? 1 : (uptimeMillis == 1L ? 0 : -1)) - 1381423736, (-1666592630) / KeyEvent.getDeadChar(1, 1), 64 / (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (short) Gravity.getAbsoluteGravity(1, 0), (byte) Drawable.resolveOpacity(0, 1)) : m1039((uptimeMillis > 0L ? 1 : (uptimeMillis == 0L ? 0 : -1)) - 1381423736, (-1666592630) - KeyEvent.getDeadChar(0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 82, (short) Gravity.getAbsoluteGravity(0, 0), (byte) Drawable.resolveOpacity(0, 0))).intern(); } /* renamed from: メ, reason: contains not printable characters */ private static String m1039(int i, int i2, int i3, short s, byte b) { String obj; synchronized (m.f2834) { try { StringBuilder sb = new StringBuilder(); int i4 = f236; int i5 = i3 + i4; int i6 = i5 == -1 ? 1 : 0; if (i6 != 0) { byte[] bArr = f233; if (bArr != null) { i5 = (byte) (bArr[f237 + i2] + i4); } else { i5 = (short) (f231[f237 + i2] + i4); } } if (i5 > 0) { m.f2839 = ((i2 + i5) - 2) + f237 + i6; m.f2835 = b; char c = (char) (i + f234); m.f2836 = c; sb.append(c); m.f2838 = m.f2836; m.f2837 = 1; while (m.f2837 < i5) { byte[] bArr2 = f233; if (bArr2 != null) { int i7 = m.f2839; m.f2839 = i7 - 1; m.f2836 = (char) (m.f2838 + (((byte) (bArr2[i7] + s)) ^ m.f2835)); } else { short[] sArr = f231; int i8 = m.f2839; m.f2839 = i8 - 1; m.f2836 = (char) (m.f2838 + (((short) (sArr[i8] + s)) ^ m.f2835)); } sb.append(m.f2836); m.f2838 = m.f2836; m.f2837++; } } obj = sb.toString(); } catch (Throwable th) { throw th; } } return obj; } }