package o; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.ViewConfiguration; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import java.lang.reflect.Method; /* renamed from: o.zkj, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17791zkj extends wRi { private final Xky a; private final InterfaceC0203Bet d; private static final byte[] $$a = {Ascii.ESC, -53, 19, -66}; private static final int $$b = 235; private static int $10 = 0; private static int $11 = 1; private static int b = 0; private static int e = 1; private static long c = -1686088180496855021L; private static void j(short s, short s2, short s3, Object[] objArr) { int i = (s2 * 2) + 119; int i2 = 3 - (s3 * 4); int i3 = s * 4; byte[] bArr = $$a; byte[] bArr2 = new byte[i3 + 1]; int i4 = -1; if (bArr == null) { i = (-i) + i3; i2 = i2; i4 = -1; } while (true) { int i5 = i4 + 1; bArr2[i5] = (byte) i; if (i5 == i3) { objArr[0] = new String(bArr2, 0); return; } int i6 = i2 + 1; i = (-bArr[i6]) + i; i2 = i6; i4 = i5; } } @InterfaceC13391fZD public C17791zkj(yRw yrw, yRw yrw2, InterfaceC0203Bet interfaceC0203Bet, Xky xky) { super(yrw, yrw2); this.d = interfaceC0203Bet; this.a = xky; } public final AbstractC13163fSk e(C8059d c8059d) { int i = 2 % 2; AbstractC13163fSk e2 = e(this.d.c(c8059d).doOnNext(new UCk(this))); int i2 = e + 109; b = i2 % 128; int i3 = i2 % 2; return e2; } public final AbstractC13163fSk b(C8059d c8059d, String str, String str2) { int i = 2 % 2; AbstractC13163fSk e2 = e(this.d.e(c8059d, str, str2).doOnNext(new UCk(this))); int i2 = b + 83; e = i2 % 128; if (i2 % 2 != 0) { return e2; } Object obj = null; obj.hashCode(); throw null; } public final void d(C0515Ijp c0515Ijp) { String intern; int i = 2 % 2; int i2 = e + 121; b = i2 % 128; if (i2 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } if (c0515Ijp != null) { iKd K = this.a.K(); if (c0515Ijp.d) { int i3 = b + 55; e = i3 % 128; int i4 = i3 % 2; Object[] objArr = new Object[1]; g(new char[]{49683, 27264, 49698, 44881, 19486}, (-1) - ((byte) KeyEvent.getModifierMetaStateMask()), objArr); intern = ((String) objArr[0]).intern(); int i5 = e + 7; b = i5 % 128; int i6 = i5 % 2; } else { Object[] objArr2 = new Object[1]; g(new char[]{20, 23576, '$', 6128, 62007}, (Process.getThreadPriority(0) + 20) >> 6, objArr2); intern = ((String) objArr2[0]).intern(); } K.j = intern; this.a.b(K); int i7 = e + 11; b = i7 % 128; int i8 = i7 % 2; } } private static void g(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(c ^ (-7538262848231253921L), cArr, i); guL.a = 4; while (guL.a < a.length) { int i3 = $10 + 57; $11 = i3 % 128; int i4 = i3 % 2; guL.c = guL.a - 4; int i5 = guL.a; try { Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(c)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 207, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TextUtils.indexOf("", "", 0, 0) + 1706)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; j(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 392, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", "", 0, 0)); byte b4 = (byte) 0; byte b5 = (byte) (b4 + 1); Object[] objArr5 = new Object[1]; j(b4, b5, (byte) (b5 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $10 + 11; $11 = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a, 4, a.length - 4); } }