what-the-bank/sources/o/wcf.java

1772 lines
52 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.ContextThemeWrapper;
import android.view.KeyCharacterMap;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.Interpolator;
import androidx.appcompat.widget.ActionBarContainer;
import androidx.appcompat.widget.ActionBarContextView;
import androidx.appcompat.widget.ActionBarOverlayLayout;
import androidx.appcompat.widget.ScrollingTabContainerView;
import androidx.appcompat.widget.Toolbar;
import androidx.core.view.ViewCompat;
import androidx.core.view.ViewPropertyAnimatorCompat;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.primitives.SignedBytes;
import java.lang.ref.WeakReference;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import o.NoP;
import o.SYO;
import o.pwE;
import o.vsf;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class wcf extends pwE implements ActionBarOverlayLayout.HBt {
private static char[] F;
private static long G;
private static int H;
private static final Interpolator q;
private static final Interpolator t;
private boolean A;
private ScrollingTabContainerView C;
private Context I;
LWm a;
View c;
ActionBarContainer d;
Context e;
vsf.HBt f;
ActionBarContextView g;
boolean h;
vsf i;
C1190Xoc j;
boolean k;
boolean l;
/* renamed from: o, reason: collision with root package name */
ActionBarOverlayLayout f9303o;
private Activity s;
private InterfaceC15489grq u;
private boolean w;
private boolean x;
private boolean y;
private boolean z;
private static final byte[] $$a = {85, SignedBytes.MAX_POWER_OF_TWO, 74, 69};
private static final int $$b = 222;
private static int $10 = 0;
private static int $11 = 1;
private static int M = 1;
private ArrayList<Object> E = new ArrayList<>();
private int B = -1;
private ArrayList<pwE.LWm> v = new ArrayList<>();
private int r = 0;
boolean b = true;
private boolean D = true;
final InterfaceC15687hkl m = new PBh(this) { // from class: o.wcf.5
final wcf b;
{
this.b = this;
}
@Override // o.PBh, o.InterfaceC15687hkl
public final void d(View view) {
if (this.b.b && this.b.c != null) {
this.b.c.setTranslationY(BitmapDescriptorFactory.HUE_RED);
this.b.d.setTranslationY(BitmapDescriptorFactory.HUE_RED);
}
this.b.d.setVisibility(8);
this.b.d.setTransitioning(false);
this.b.j = null;
this.b.n();
if (this.b.f9303o != null) {
ViewCompat.J(this.b.f9303o);
}
}
};
final InterfaceC15687hkl n = new PBh(this) { // from class: o.wcf.3
final wcf b;
{
this.b = this;
}
@Override // o.PBh, o.InterfaceC15687hkl
public final void d(View view) {
this.b.j = null;
this.b.d.requestLayout();
}
};
final InterfaceC1065Uvb p = new InterfaceC1065Uvb(this) { // from class: o.wcf.2
final wcf a;
{
this.a = this;
}
@Override // o.InterfaceC1065Uvb
public final void e() {
((View) this.a.d.getParent()).invalidate();
}
};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void K(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.wcf.$$a
int r8 = r8 * 4
int r8 = 4 - r8
int r6 = r6 * 4
int r1 = r6 + 1
int r7 = r7 + 98
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L29
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r8]
r5 = r3
r3 = r8
r8 = r5
L29:
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.wcf.K(short, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-183)) + (i2 * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384);
int i5 = ~i;
int i6 = ~i2;
int i7 = ~i3;
switch (i4 + ((i2 | i5) * (-368)) + ((i | i6 | i7) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256) + (((~(i | i2)) | (~(i7 | i)) | (~(i5 | i6))) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256)) {
case 1:
return b(objArr);
case 2:
return c(objArr);
case 3:
return d(objArr);
case 4:
return e(objArr);
case 5:
return g(objArr);
case 6:
return i(objArr);
case 7:
return j(objArr);
default:
return a(objArr);
}
}
/* loaded from: classes.dex */
public class LWm extends vsf implements NoP.Sts {
private static int g = 1;
private static int h = 0;
private static byte i = 6;
private final Context b;
final NoP d;
final wcf e;
private WeakReference<View> f;
private vsf.HBt j;
private void k(String str, Object[] objArr) {
byte[] decode = Base64.decode(str, 0);
byte[] bArr = new byte[decode.length];
for (int i2 = 0; i2 < decode.length; i2++) {
bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ i);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
public LWm(wcf wcfVar, Context context, vsf.HBt hBt) {
this.e = wcfVar;
this.b = context;
this.j = hBt;
NoP noP = new NoP(context);
noP.a = 1;
this.d = noP;
noP.d(this);
}
@Override // o.vsf
public final MenuInflater ee_() {
return new JHJ(this.b);
}
@Override // o.vsf
public final void e() {
if (this.e.a != this) {
return;
}
if (!wcf.a(this.e.h, this.e.k, false)) {
this.e.i = this;
this.e.f = this.j;
} else {
this.j.c(this);
}
this.j = null;
this.e.c(false);
ActionBarContextView actionBarContextView = this.e.g;
if (actionBarContextView.j == null) {
actionBarContextView.c();
}
this.e.f9303o.setHideOnContentScrollEnabled(this.e.l);
this.e.a = null;
}
@Override // o.vsf
public final void f() {
if (this.e.a != this) {
return;
}
NoP noP = this.d;
if (!noP.t) {
noP.t = true;
noP.n = false;
noP.p = false;
}
try {
this.j.ek_(this, this.d);
} finally {
NoP noP2 = this.d;
noP2.t = false;
if (noP2.n) {
noP2.n = false;
noP2.c(noP2.p);
}
}
}
@Override // o.vsf
public final void a(View view) {
this.e.g.setCustomView(view);
this.f = new WeakReference<>(view);
}
@Override // o.vsf
public final void e(CharSequence charSequence) {
this.e.g.setSubtitle(charSequence);
}
@Override // o.vsf
public final void d(CharSequence charSequence) {
this.e.g.setTitle(charSequence);
}
@Override // o.vsf
public final void e(int i2) {
int i3 = 2 % 2;
int i4 = h + 113;
g = i4 % 128;
if (i4 % 2 != 0) {
String string = this.e.e.getResources().getString(i2);
if (string.startsWith(",*,)")) {
int i5 = g + 91;
h = i5 % 128;
int i6 = i5 % 2;
Object[] objArr = new Object[1];
k(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
}
this.e.g.setTitle(string);
return;
}
this.e.e.getResources().getString(i2).startsWith(",*,)");
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.vsf
public final void b(int i2) {
int i3 = 2 % 2;
int i4 = g + 111;
h = i4 % 128;
int i5 = i4 % 2;
String string = this.e.e.getResources().getString(i2);
if (string.startsWith(",*,)")) {
int i6 = h + 39;
g = i6 % 128;
int i7 = i6 % 2;
String substring = string.substring(4);
if (i7 == 0) {
Object[] objArr = new Object[1];
k(substring, objArr);
((String) objArr[0]).intern();
Object obj = null;
obj.hashCode();
throw null;
}
Object[] objArr2 = new Object[1];
k(substring, objArr2);
string = ((String) objArr2[0]).intern();
}
this.e.g.setSubtitle(string);
}
@Override // o.vsf
public final CharSequence j() {
return this.e.g.i;
}
@Override // o.vsf
public final CharSequence g() {
return this.e.g.f;
}
@Override // o.vsf
public final void c(boolean z) {
super.c(z);
this.e.g.setTitleOptional(z);
}
@Override // o.vsf
public final boolean h() {
return this.e.g.g;
}
@Override // o.vsf
public final View c() {
WeakReference<View> weakReference = this.f;
if (weakReference != null) {
return weakReference.get();
}
return null;
}
@Override // o.NoP.Sts
public final boolean Ko_(NoP noP, MenuItem menuItem) {
vsf.HBt hBt = this.j;
if (hBt != null) {
return hBt.ei_(this, menuItem);
}
return false;
}
@Override // o.NoP.Sts
public final void b(NoP noP) {
if (this.j == null) {
return;
}
f();
this.e.g.d();
}
public final boolean d() {
NoP noP = this.d;
if (!noP.t) {
noP.t = true;
noP.n = false;
noP.p = false;
}
try {
return this.j.ej_(this, this.d);
} finally {
NoP noP2 = this.d;
noP2.t = false;
if (noP2.n) {
noP2.n = false;
noP2.c(noP2.p);
}
}
}
@Override // o.vsf
public final Menu ed_() {
return this.d;
}
}
static {
H = 0;
t();
q = new AccelerateInterpolator();
t = new DecelerateInterpolator();
int i = M + 73;
H = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void J(char c, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(F[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 308, 5 - TextUtils.getOffsetBefore("", 0), (char) (32797 - Color.red(0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
K(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(G), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - View.getDefaultSize(0, 0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
K(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (29234 - Drawable.resolveOpacity(0, 0)));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
K(b5, (byte) (b5 | 8), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i5 = $10 + 41;
$11 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 71;
$11 = i7 % 128;
if (i7 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - Color.blue(0), KeyEvent.normalizeMetaState(0) + 5, (char) (29235 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
K(b6, (byte) (b6 | 8), b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
int i8 = 62 / 0;
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr10 = {dqy, dqy};
Object obj5 = xzZ.y.get(1071125919);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 407, 5 - Color.green(0), (char) (29234 - View.resolveSizeAndState(0, 0, 0)));
byte b7 = (byte) 0;
Object[] objArr11 = new Object[1];
K(b7, (byte) (b7 | 8), b7, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj5);
}
((Method) obj5).invoke(null, objArr10);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
}
objArr[0] = new String(cArr);
}
public wcf(Activity activity, boolean z) {
this.s = activity;
View decorView = activity.getWindow().getDecorView();
a(new Object[]{this, decorView}, 1419315724, -1419315721, System.identityHashCode(this));
if (!z) {
this.c = decorView.findViewById(android.R.id.content);
int i = M + 93;
H = i % 128;
int i2 = i % 2;
int i3 = 2 % 2;
}
int i4 = H + 57;
M = i4 % 128;
int i5 = i4 % 2;
}
public wcf(Dialog dialog) {
a(new Object[]{this, dialog.getWindow().getDecorView()}, 1419315724, -1419315721, System.identityHashCode(this));
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x005e, code lost:
if ((r1.u.b() & 2) != 0) goto L17;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0071, code lost:
r1.x = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x006f, code lost:
if ((r1.u.b() & 4) != 0) goto L17;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object d(java.lang.Object[] r6) {
/*
r0 = 0
r1 = r6[r0]
o.wcf r1 = (o.wcf) r1
r2 = 1
r6 = r6[r2]
android.view.View r6 = (android.view.View) r6
r3 = 2
int r4 = r3 % r3
int r4 = o.SYO.saX.decor_content_parent
android.view.View r4 = r6.findViewById(r4)
androidx.appcompat.widget.ActionBarOverlayLayout r4 = (androidx.appcompat.widget.ActionBarOverlayLayout) r4
r1.f9303o = r4
if (r4 == 0) goto L1c
r4.setActionBarVisibilityCallback(r1)
L1c:
int r4 = o.SYO.saX.action_bar
android.view.View r4 = r6.findViewById(r4)
o.grq r4 = e(r4)
r1.u = r4
int r4 = o.SYO.saX.action_context_bar
android.view.View r4 = r6.findViewById(r4)
androidx.appcompat.widget.ActionBarContextView r4 = (androidx.appcompat.widget.ActionBarContextView) r4
r1.g = r4
int r4 = o.SYO.saX.action_bar_container
android.view.View r6 = r6.findViewById(r4)
androidx.appcompat.widget.ActionBarContainer r6 = (androidx.appcompat.widget.ActionBarContainer) r6
r1.d = r6
o.grq r4 = r1.u
if (r4 == 0) goto Lc7
androidx.appcompat.widget.ActionBarContextView r5 = r1.g
if (r5 == 0) goto Lc7
if (r6 == 0) goto Lc7
int r6 = o.wcf.M
int r6 = r6 + 75
int r5 = r6 % 128
o.wcf.H = r5
int r6 = r6 % r3
if (r6 == 0) goto L61
android.content.Context r6 = r4.c()
r1.e = r6
o.grq r6 = r1.u
int r6 = r6.b()
r6 = r6 & r3
if (r6 == 0) goto L73
goto L71
L61:
android.content.Context r6 = r4.c()
r1.e = r6
o.grq r6 = r1.u
int r6 = r6.b()
r6 = r6 & 4
if (r6 == 0) goto L73
L71:
r1.x = r2
L73:
android.content.Context r6 = r1.e
o.AuZ r2 = new o.AuZ
r2.<init>(r6)
android.content.Context r6 = r2.c
android.content.pm.ApplicationInfo r6 = r6.getApplicationInfo()
int r6 = r6.targetSdkVersion
android.content.Context r6 = r2.c
android.content.res.Resources r6 = r6.getResources()
int r2 = o.SYO.LWm.abc_action_bar_embed_tabs
boolean r6 = r6.getBoolean(r2)
r1.j(r6)
android.content.Context r6 = r1.e
int[] r2 = o.SYO.ZqN.ActionBar
int r4 = o.SYO.IeS.actionBarStyle
r5 = 0
android.content.res.TypedArray r6 = r6.obtainStyledAttributes(r5, r2, r4, r0)
int r2 = o.SYO.ZqN.ActionBar_hideOnContentScroll
boolean r2 = r6.getBoolean(r2, r0)
if (r2 == 0) goto Lb7
int r2 = o.wcf.H
int r2 = r2 + 19
int r4 = r2 % 128
o.wcf.M = r4
int r2 = r2 % r3
if (r2 == 0) goto Lb3
r1.k()
goto Lb7
Lb3:
r1.k()
throw r5
Lb7:
int r2 = o.SYO.ZqN.ActionBar_elevation
int r0 = r6.getDimensionPixelSize(r2, r0)
if (r0 == 0) goto Lc3
float r0 = (float) r0
r1.e(r0)
Lc3:
r6.recycle()
return r5
Lc7:
java.lang.IllegalStateException r6 = new java.lang.IllegalStateException
java.lang.StringBuilder r0 = new java.lang.StringBuilder
r0.<init>()
java.lang.Class r1 = r1.getClass()
java.lang.String r1 = r1.getSimpleName()
r0.append(r1)
java.lang.String r1 = " can only be used with a compatible window decor layout"
r0.append(r1)
java.lang.String r0 = r0.toString()
r6.<init>(r0)
throw r6
*/
throw new UnsupportedOperationException("Method not decompiled: o.wcf.d(java.lang.Object[]):java.lang.Object");
}
/* JADX WARN: Multi-variable type inference failed */
private static InterfaceC15489grq e(View view) {
String intern;
int i = 2 % 2;
if (!(!(view instanceof InterfaceC15489grq))) {
InterfaceC15489grq interfaceC15489grq = (InterfaceC15489grq) view;
int i2 = M + 55;
H = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 84 / 0;
}
return interfaceC15489grq;
}
if (!(view instanceof Toolbar)) {
StringBuilder sb = new StringBuilder("Can't make a decor toolbar out of ");
if (view != 0) {
intern = view.getClass().getSimpleName();
} else {
Object[] objArr = new Object[1];
J((char) (ViewConfiguration.getJumpTapTimeout() >> 16), ViewConfiguration.getMaximumFlingVelocity() >> 16, 4 - TextUtils.getOffsetAfter("", 0), objArr);
intern = ((String) objArr[0]).intern();
}
sb.append(intern);
throw new IllegalStateException(sb.toString());
}
int i4 = H + 21;
M = i4 % 128;
if (i4 % 2 != 0) {
Toolbar toolbar = (Toolbar) view;
if (toolbar.t == null) {
toolbar.t = new C0926Rry(toolbar, true);
}
return toolbar.t;
}
C0926Rry c0926Rry = ((Toolbar) view).t;
throw null;
}
@Override // o.pwE
public final void e(float f) {
int i = 2 % 2;
int i2 = H + 105;
M = i2 % 128;
if (i2 % 2 != 0) {
ViewCompat.e(this.d, f);
return;
}
ViewCompat.e(this.d, f);
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.pwE
public final void dM_(Configuration configuration) {
int i = 2 % 2;
j(new AuZ(this.e).c.getResources().getBoolean(SYO.LWm.abc_action_bar_embed_tabs));
int i2 = H + 49;
M = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0045, code lost:
if (r7 != false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x004b, code lost:
r0 = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0048, code lost:
if (r7 != true) goto L20;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private void j(boolean r7) {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
r6.w = r7
r1 = 0
if (r7 != 0) goto L13
o.grq r7 = r6.u
r7.m()
androidx.appcompat.widget.ActionBarContainer r7 = r6.d
r7.setTabContainer(r1)
goto L1d
L13:
androidx.appcompat.widget.ActionBarContainer r7 = r6.d
r7.setTabContainer(r1)
o.grq r7 = r6.u
r7.m()
L1d:
int r7 = r6.w()
r1 = 0
r2 = 1
if (r7 != r0) goto L30
int r7 = o.wcf.M
int r7 = r7 + 53
int r3 = r7 % 128
o.wcf.H = r3
int r7 = r7 % r0
r7 = r2
goto L31
L30:
r7 = r1
L31:
o.grq r3 = r6.u
boolean r4 = r6.w
if (r4 != 0) goto L4d
int r4 = o.wcf.M
int r4 = r4 + 9
int r5 = r4 % 128
o.wcf.H = r5
int r4 = r4 % r0
if (r4 == 0) goto L48
r0 = 9
int r0 = r0 / r1
if (r7 == 0) goto L4d
goto L4b
L48:
if (r7 == r2) goto L4b
goto L4d
L4b:
r0 = r2
goto L4e
L4d:
r0 = r1
L4e:
r3.a(r0)
androidx.appcompat.widget.ActionBarOverlayLayout r0 = r6.f9303o
boolean r3 = r6.w
if (r3 != 0) goto L5b
if (r7 == r2) goto L5a
goto L5b
L5a:
r1 = r2
L5b:
r0.setHasNonEmbeddedTabs(r1)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.wcf.j(boolean):void");
}
final void n() {
int i = 2 % 2;
int i2 = H;
int i3 = i2 + 97;
M = i3 % 128;
int i4 = i3 % 2;
vsf.HBt hBt = this.f;
if (hBt != null) {
int i5 = i2 + 55;
M = i5 % 128;
Object obj = null;
if (i5 % 2 != 0) {
hBt.c(this.i);
this.i = null;
this.f = null;
} else {
hBt.c(this.i);
this.i = null;
this.f = null;
obj.hashCode();
throw null;
}
}
}
@Override // o.pwE
public final void e(boolean z) {
int i = 2 % 2;
int i2 = H;
int i3 = i2 + 19;
M = i3 % 128;
if (i3 % 2 == 0) {
this.z = z;
int i4 = 11 / 0;
if (z) {
return;
}
} else {
this.z = z;
if (z) {
return;
}
}
C1190Xoc c1190Xoc = this.j;
if (c1190Xoc != null) {
int i5 = i2 + 109;
M = i5 % 128;
int i6 = i5 % 2;
c1190Xoc.d();
if (i6 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}
@Override // o.pwE
public final void a(boolean z) {
int i = 2 % 2;
int i2 = H + 117;
M = i2 % 128;
int i3 = i2 % 2;
if (z == this.y) {
return;
}
this.y = z;
int size = this.v.size();
for (int i4 = 0; i4 < size; i4++) {
int i5 = M + 91;
H = i5 % 128;
int i6 = i5 % 2;
this.v.get(i4);
}
}
@Override // o.pwE
public final void i() {
int i = 2 % 2;
int i2 = M + 35;
H = i2 % 128;
int i3 = i2 % 2;
c(LayoutInflater.from(e()).inflate(com.scb.phone.R.layout.2131558903, this.u.jW_(), false));
int i4 = H + 85;
M = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 85 / 0;
}
}
@Override // o.pwE
public final void d(boolean z) {
int i;
int i2 = 2 % 2;
if (z) {
int i3 = H + 79;
M = i3 % 128;
int i4 = i3 % 2;
i = 4;
} else {
i = 0;
}
b(i, 4);
int i5 = H + 1;
M = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.pwE
public final void f() {
int i = 2 % 2;
int i2 = H + 101;
M = i2 % 128;
if (i2 % 2 == 0) {
b(100, 55);
} else {
b(16, 16);
}
int i3 = H + 93;
M = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 87 / 0;
}
}
@Override // o.pwE
public final void d(CharSequence charSequence) {
int i = 2 % 2;
int i2 = M + 49;
H = i2 % 128;
if (i2 % 2 != 0) {
this.u.a(charSequence);
throw null;
}
this.u.a(charSequence);
int i3 = M + 117;
H = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
@Override // o.pwE
public final void e(CharSequence charSequence) {
int i = 2 % 2;
int i2 = M + 105;
H = i2 % 128;
if (i2 % 2 != 0) {
this.u.c(charSequence);
Object obj = null;
obj.hashCode();
throw null;
}
this.u.c(charSequence);
int i3 = M + 19;
H = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.pwE
public final void d(int i) {
int i2 = 2 % 2;
if ((i & 4) != 0) {
int i3 = M + 37;
H = i3 % 128;
int i4 = i3 % 2;
this.x = true;
}
this.u.e(i);
int i5 = H + 57;
M = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0031, code lost:
r0 = 2 % 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0021, code lost:
if ((r6 & 4) != 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost:
if ((r6 & 5) != 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0023, code lost:
r4.x = true;
r2 = o.wcf.M + 43;
o.wcf.H = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x002f, code lost:
if ((r2 % 2) == 0) goto L12;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private void b(int r5, int r6) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.wcf.H
int r1 = r1 + 53
int r2 = r1 % 128
o.wcf.M = r2
int r1 = r1 % r0
if (r1 != 0) goto L19
o.grq r1 = r4.u
int r1 = r1.b()
r2 = r6 & 5
if (r2 == 0) goto L33
goto L23
L19:
o.grq r1 = r4.u
int r1 = r1.b()
r2 = r6 & 4
if (r2 == 0) goto L33
L23:
r2 = 1
r4.x = r2
int r2 = o.wcf.M
int r2 = r2 + 43
int r3 = r2 % 128
o.wcf.H = r3
int r2 = r2 % r0
if (r2 == 0) goto L33
int r0 = r0 % 4
L33:
o.grq r0 = r4.u
r5 = r5 & r6
int r6 = ~r6
r6 = r6 & r1
r5 = r5 | r6
r0.e(r5)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.wcf.b(int, int):void");
}
private int w() {
int i = 2 % 2;
int i2 = M + 67;
H = i2 % 128;
int i3 = i2 % 2;
int i4 = this.u.i();
int i5 = M + 73;
H = i5 % 128;
if (i5 % 2 == 0) {
return i4;
}
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
wcf wcfVar = (wcf) objArr[0];
int i = 2 % 2;
int i2 = M + 125;
H = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
wcfVar.u.b();
obj.hashCode();
throw null;
}
int b = wcfVar.u.b();
int i3 = H + 79;
M = i3 % 128;
if (i3 % 2 != 0) {
return Integer.valueOf(b);
}
throw null;
}
@Override // o.pwE
public final vsf c(vsf.HBt hBt) {
int i = 2 % 2;
int i2 = H + 19;
M = i2 % 128;
int i3 = i2 % 2;
LWm lWm = this.a;
if (lWm != null) {
lWm.e();
int i4 = M + 3;
H = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 4 % 4;
}
}
this.f9303o.setHideOnContentScrollEnabled(false);
this.g.c();
LWm lWm2 = new LWm(this, this.g.getContext(), hBt);
if (!lWm2.d()) {
int i6 = M + 85;
H = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 29 / 0;
}
return null;
}
int i8 = H + 87;
M = i8 % 128;
int i9 = i8 % 2;
this.a = lWm2;
lWm2.f();
this.g.c(lWm2);
c(true);
return lWm2;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0020, code lost:
r1.setShowingForActionMode(true);
r1 = o.wcf.H + 57;
o.wcf.M = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x001e, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0017, code lost:
if (r1 != null) goto L11;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private void q() {
/*
r3 = this;
r0 = 2
int r1 = r0 % r0
boolean r1 = r3.A
if (r1 != 0) goto L30
int r1 = o.wcf.M
int r1 = r1 + 113
int r2 = r1 % 128
o.wcf.H = r2
int r1 = r1 % r0
r2 = 1
if (r1 == 0) goto L1a
r3.A = r2
androidx.appcompat.widget.ActionBarOverlayLayout r1 = r3.f9303o
if (r1 == 0) goto L2c
goto L20
L1a:
r3.A = r2
androidx.appcompat.widget.ActionBarOverlayLayout r1 = r3.f9303o
if (r1 == 0) goto L2c
L20:
r1.setShowingForActionMode(r2)
int r1 = o.wcf.H
int r1 = r1 + 57
int r2 = r1 % 128
o.wcf.M = r2
int r1 = r1 % r0
L2c:
r0 = 0
r3.g(r0)
L30:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.wcf.q():void");
}
@Override // androidx.appcompat.widget.ActionBarOverlayLayout.HBt
public final void p() {
int i = 2 % 2;
int i2 = M + 9;
H = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
if (this.k) {
this.k = false;
g(true);
int i3 = M + 83;
H = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 3 % 5;
}
}
int i5 = H + 13;
M = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
private static /* synthetic */ Object a(Object[] objArr) {
wcf wcfVar = (wcf) objArr[0];
int i = 2 % 2;
int i2 = M;
int i3 = i2 + 73;
H = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 52 / 0;
if (wcfVar.h) {
return null;
}
} else if (wcfVar.h) {
return null;
}
int i5 = i2 + 43;
H = i5 % 128;
if (i5 % 2 != 0) {
wcfVar.h = false;
} else {
wcfVar.h = true;
}
wcfVar.g(false);
int i6 = H + 15;
M = i6 % 128;
int i7 = i6 % 2;
return null;
}
private void s() {
int i = 2 % 2;
int i2 = M;
int i3 = i2 + 61;
H = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
if (this.A) {
this.A = false;
ActionBarOverlayLayout actionBarOverlayLayout = this.f9303o;
if (actionBarOverlayLayout != null) {
int i4 = i2 + 53;
H = i4 % 128;
if (i4 % 2 != 0) {
actionBarOverlayLayout.setShowingForActionMode(true);
} else {
actionBarOverlayLayout.setShowingForActionMode(false);
}
}
g(false);
}
int i5 = M + 117;
H = i5 % 128;
int i6 = i5 % 2;
}
private static /* synthetic */ Object i(Object[] objArr) {
wcf wcfVar = (wcf) objArr[0];
int i = 2 % 2;
int i2 = H + 105;
int i3 = i2 % 128;
M = i3;
int i4 = i2 % 2;
if (!wcfVar.k) {
int i5 = i3 + 19;
H = i5 % 128;
int i6 = i5 % 2;
wcfVar.k = true;
wcfVar.g(true);
}
int i7 = H + 31;
M = i7 % 128;
Object obj = null;
if (i7 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
wcf wcfVar = (wcf) objArr[0];
int i = 2 % 2;
int i2 = H + 65;
M = i2 % 128;
int i3 = i2 % 2;
if (wcfVar.f9303o.c) {
wcfVar.l = true;
wcfVar.f9303o.setHideOnContentScrollEnabled(true);
int i4 = H + 21;
M = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
throw new IllegalStateException("Action bar must be in overlay mode (Window.FEATURE_OVERLAY_ACTION_BAR) to enable hide on content scroll");
}
private void g(boolean z) {
int i = 2 % 2;
if (!a(this.h, this.k, this.A)) {
if (!(!this.D)) {
this.D = false;
h(z);
return;
}
return;
}
int i2 = M + 11;
int i3 = i2 % 128;
H = i3;
if (i2 % 2 != 0) {
int i4 = 43 / 0;
if (this.D) {
return;
}
} else if (this.D) {
return;
}
int i5 = i3 + 29;
M = i5 % 128;
int i6 = i5 % 2;
this.D = true;
a(new Object[]{this, Boolean.valueOf(z)}, -1287658889, 1287658896, System.identityHashCode(this));
}
private static /* synthetic */ Object j(Object[] objArr) {
View view;
wcf wcfVar = (wcf) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int i = 2 % 2;
C1190Xoc c1190Xoc = wcfVar.j;
if (c1190Xoc != null) {
c1190Xoc.d();
}
wcfVar.d.setVisibility(0);
if (wcfVar.r == 0 && (wcfVar.z || booleanValue)) {
wcfVar.d.setTranslationY(BitmapDescriptorFactory.HUE_RED);
float f = -wcfVar.d.getHeight();
if (booleanValue) {
wcfVar.d.getLocationInWindow(new int[]{0, 0});
f -= r7[1];
int i2 = H + 23;
M = i2 % 128;
int i3 = i2 % 2;
}
wcfVar.d.setTranslationY(f);
C1190Xoc c1190Xoc2 = new C1190Xoc();
ViewPropertyAnimatorCompat j = ViewCompat.b(wcfVar.d).j(BitmapDescriptorFactory.HUE_RED);
j.e(wcfVar.p);
c1190Xoc2.c(j);
if (wcfVar.b) {
int i4 = M + 89;
H = i4 % 128;
int i5 = i4 % 2;
View view2 = wcfVar.c;
if (view2 != null) {
view2.setTranslationY(f);
c1190Xoc2.c(ViewCompat.b(wcfVar.c).j(BitmapDescriptorFactory.HUE_RED));
}
}
c1190Xoc2.eo_(t);
c1190Xoc2.e(250L);
c1190Xoc2.c(wcfVar.n);
wcfVar.j = c1190Xoc2;
c1190Xoc2.b();
} else {
wcfVar.d.setAlpha(1.0f);
wcfVar.d.setTranslationY(BitmapDescriptorFactory.HUE_RED);
if (wcfVar.b && (view = wcfVar.c) != null) {
int i6 = M + 81;
H = i6 % 128;
int i7 = i6 % 2;
view.setTranslationY(BitmapDescriptorFactory.HUE_RED);
}
wcfVar.n.d(null);
}
ActionBarOverlayLayout actionBarOverlayLayout = wcfVar.f9303o;
if (actionBarOverlayLayout != null) {
ViewCompat.J(actionBarOverlayLayout);
}
return null;
}
private void h(boolean z) {
View view;
int i = 2 % 2;
C1190Xoc c1190Xoc = this.j;
if (c1190Xoc != null) {
int i2 = M + 51;
H = i2 % 128;
int i3 = i2 % 2;
c1190Xoc.d();
int i4 = M + 25;
H = i4 % 128;
int i5 = i4 % 2;
}
if (this.r == 0) {
int i6 = M + 107;
H = i6 % 128;
int i7 = i6 % 2;
if (this.z || z) {
this.d.setAlpha(1.0f);
this.d.setTransitioning(true);
C1190Xoc c1190Xoc2 = new C1190Xoc();
float f = -this.d.getHeight();
if (!(!z)) {
this.d.getLocationInWindow(new int[]{0, 0});
f -= r6[1];
}
ViewPropertyAnimatorCompat j = ViewCompat.b(this.d).j(f);
j.e(this.p);
c1190Xoc2.c(j);
if (this.b && (view = this.c) != null) {
int i8 = H + 125;
M = i8 % 128;
int i9 = i8 % 2;
c1190Xoc2.c(ViewCompat.b(view).j(f));
}
c1190Xoc2.eo_(q);
c1190Xoc2.e(250L);
c1190Xoc2.c(this.m);
this.j = c1190Xoc2;
c1190Xoc2.b();
return;
}
}
this.m.d(null);
}
public final void c(boolean z) {
ViewPropertyAnimatorCompat c;
ViewPropertyAnimatorCompat c2;
int i = 2 % 2;
if (z) {
q();
int i2 = H + 121;
M = i2 % 128;
int i3 = i2 % 2;
} else {
s();
}
if (!r()) {
if (!z) {
this.u.b(0);
this.g.setVisibility(8);
return;
}
int i4 = M + 9;
H = i4 % 128;
int i5 = i4 % 2;
this.u.b(4);
this.g.setVisibility(0);
return;
}
if (z) {
c2 = this.u.c(4, 100L);
c = this.g.c(0, 200L);
} else {
c = this.u.c(0, 200L);
c2 = this.g.c(8, 100L);
}
C1190Xoc c1190Xoc = new C1190Xoc();
c1190Xoc.b(c2, c);
c1190Xoc.b();
int i6 = M + 93;
H = i6 % 128;
int i7 = i6 % 2;
}
private boolean r() {
int i = 2 % 2;
int i2 = M + 17;
H = i2 % 128;
int i3 = i2 % 2;
boolean G2 = ViewCompat.G(this.d);
int i4 = H + 59;
M = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 94 / 0;
}
return G2;
}
@Override // o.pwE
public final Context e() {
int i = 2 % 2;
int i2 = H + 85;
M = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (this.I == null) {
TypedValue typedValue = new TypedValue();
this.e.getTheme().resolveAttribute(SYO.IeS.actionBarWidgetTheme, typedValue, true);
int i3 = typedValue.resourceId;
if (i3 != 0) {
this.I = new ContextThemeWrapper(this.e, i3);
} else {
this.I = this.e;
}
}
Context context = this.I;
int i4 = H + 49;
M = i4 % 128;
int i5 = i4 % 2;
return context;
}
@Override // o.pwE
public final void dO_(Drawable drawable) {
int i = 2 % 2;
int i2 = M + 77;
H = i2 % 128;
int i3 = i2 % 2;
this.u.jZ_(drawable);
int i4 = M + 21;
H = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.pwE
public final void o() {
int i = 2 % 2;
int i2 = H + 75;
M = i2 % 128;
int i3 = i2 % 2;
this.u.c(com.scb.phone.R.string.action_home_or_up_content_description);
int i4 = M + 59;
H = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private static /* synthetic */ Object e(Object[] objArr) {
wcf wcfVar = (wcf) objArr[0];
int i = 2 % 2;
C1190Xoc c1190Xoc = wcfVar.j;
Object obj = null;
if (c1190Xoc != null) {
int i2 = H + 125;
M = i2 % 128;
int i3 = i2 % 2;
c1190Xoc.d();
wcfVar.j = null;
if (i3 == 0) {
int i4 = 81 / 0;
}
}
int i5 = H + 3;
M = i5 % 128;
if (i5 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.pwE
public final boolean a() {
int i = 2 % 2;
int i2 = H + 63;
int i3 = i2 % 128;
M = i3;
int i4 = i2 % 2;
if (this.u == null) {
return false;
}
int i5 = i3 + 19;
H = i5 % 128;
int i6 = i5 % 2;
if (!r1.f()) {
return false;
}
this.u.d();
return true;
}
@Override // o.pwE
public final void c(View view) {
int i = 2 % 2;
int i2 = H + 25;
M = i2 % 128;
int i3 = i2 % 2;
this.u.e(view);
int i4 = H + 51;
M = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.pwE
public final void b(boolean z) {
int i = 2 % 2;
int i2 = M;
int i3 = i2 + 113;
H = i3 % 128;
int i4 = i3 % 2;
if (!this.x) {
int i5 = i2 + 45;
H = i5 % 128;
int i6 = i5 % 2;
d(z);
}
}
@Override // o.pwE
public final boolean dN_(int i, KeyEvent keyEvent) {
int i2;
int i3 = 2 % 2;
LWm lWm = this.a;
if (lWm == null) {
int i4 = M + 117;
H = i4 % 128;
if (i4 % 2 == 0) {
return false;
}
Object obj = null;
obj.hashCode();
throw null;
}
NoP noP = lWm.d;
if (noP == null) {
return false;
}
if (keyEvent != null) {
int i5 = H + 115;
M = i5 % 128;
int i6 = i5 % 2;
i2 = keyEvent.getDeviceId();
} else {
i2 = -1;
}
noP.setQwertyMode(KeyCharacterMap.load(i2).getKeyboardType() != 1);
return noP.performShortcut(i, keyEvent, 0);
}
private static /* synthetic */ Object g(Object[] objArr) {
wcf wcfVar = (wcf) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int i = 2 % 2;
int i2 = H + 121;
M = i2 % 128;
int i3 = i2 % 2;
wcfVar.r = intValue;
if (i3 != 0) {
return null;
}
int i4 = 33 / 0;
return null;
}
static void t() {
F = new char[]{36796, 21057, 13426, 5644};
G = -2896009955134189004L;
}
@Override // o.pwE
public final void k() {
a(new Object[]{this}, 711506678, -711506676, System.identityHashCode(this));
}
@Override // androidx.appcompat.widget.ActionBarOverlayLayout.HBt
public final void a(int i) {
a(new Object[]{this, Integer.valueOf(i)}, 1893200223, -1893200218, i);
}
@Override // androidx.appcompat.widget.ActionBarOverlayLayout.HBt
public final void m() {
a(new Object[]{this}, 1228946427, -1228946423, System.identityHashCode(this));
}
@Override // androidx.appcompat.widget.ActionBarOverlayLayout.HBt
public final void l() {
a(new Object[]{this}, 88555558, -88555552, System.identityHashCode(this));
}
@Override // o.pwE
public final void d() {
a(new Object[]{this}, 2088200768, -2088200768, System.identityHashCode(this));
}
@Override // o.pwE
public final int c() {
return ((Integer) a(new Object[]{this}, 1948778221, -1948778220, System.identityHashCode(this))).intValue();
}
@Override // androidx.appcompat.widget.ActionBarOverlayLayout.HBt
public final void f(boolean z) {
int i = 2 % 2;
int i2 = M;
int i3 = i2 + 73;
H = i3 % 128;
int i4 = i3 % 2;
this.b = z;
int i5 = i2 + 47;
H = i5 % 128;
int i6 = i5 % 2;
}
private void i(boolean z) {
a(new Object[]{this, Boolean.valueOf(z)}, -1287658889, 1287658896, System.identityHashCode(this));
}
private void a(View view) {
a(new Object[]{this, view}, 1419315724, -1419315721, System.identityHashCode(this));
}
static boolean a(boolean z, boolean z2, boolean z3) {
int i = 2 % 2;
int i2 = M + 29;
int i3 = i2 % 128;
H = i3;
int i4 = i2 % 2;
if (z3) {
return true;
}
if (!(!z) || z2) {
return false;
}
int i5 = i3 + 33;
M = i5 % 128;
int i6 = i5 % 2;
return true;
}
}