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

142 lines
4.1 KiB
Java

package o;
import java.util.Arrays;
/* renamed from: o.anb, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C2914anb extends ZI<InterfaceC9059dca> {
public C0433Gl a;
public C0367Fb b;
private final xZj c;
public boolean d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C2914anb(C16903sI c16903sI, xZj xzj) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(xzj, "");
this.c = xzj;
this.d = true;
}
private static String d(Double d) {
try {
gcH gch = gcH.d;
String format = String.format("%1$,.2f", Arrays.copyOf(new Object[]{d}, 1));
C14957gcv.c((Object) format, "");
return format;
} catch (Exception unused) {
return "";
}
}
/* renamed from: o.anb$LWm */
/* loaded from: classes3.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
public static /* synthetic */ void c(boolean z, C2914anb c2914anb, InterfaceC9059dca interfaceC9059dca) {
C14957gcv.e(c2914anb, "");
if (z) {
C0433Gl c0433Gl = c2914anb.a;
String d = d(c0433Gl != null ? c0433Gl.g : null);
C0433Gl c0433Gl2 = c2914anb.a;
interfaceC9059dca.c(d, d(c0433Gl2 != null ? c0433Gl2.f8185o : null));
return;
}
interfaceC9059dca.e();
}
/* JADX WARN: Removed duplicated region for block: B:21:0x0052 */
/* JADX WARN: Removed duplicated region for block: B:24:? A[RETURN, SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void c(final o.C2914anb r2, o.InterfaceC9059dca r3) {
/*
java.lang.String r0 = ""
o.C14957gcv.e(r2, r0)
o.Gl r0 = r2.a
r3.a(r0)
boolean r0 = r2.d()
r1 = 0
if (r0 == 0) goto L1d
o.Gl r0 = r2.a
if (r0 == 0) goto L18
java.lang.String r0 = r0.r
goto L19
L18:
r0 = r1
L19:
r3.a(r0)
goto L28
L1d:
o.Gl r0 = r2.a
if (r0 == 0) goto L24
java.lang.String r0 = r0.c
goto L25
L24:
r0 = r1
L25:
r3.b(r0)
L28:
o.xZj r3 = r2.c
boolean r3 = r3.e()
boolean r0 = r2.d
if (r0 != 0) goto L48
if (r3 == 0) goto L48
o.Gl r3 = r2.a
if (r3 == 0) goto L3b
java.lang.Double r3 = r3.g
goto L3c
L3b:
r3 = r1
L3c:
if (r3 == 0) goto L48
o.Gl r3 = r2.a
if (r3 == 0) goto L44
java.lang.Double r1 = r3.f8185o
L44:
if (r1 == 0) goto L48
r3 = 1
goto L49
L48:
r3 = 0
L49:
o.anh r0 = new o.anh
r0.<init>(r3, r2)
T extends o.cYp r3 = r2.f
if (r3 == 0) goto L57
T extends o.cYp r2 = r2.f
r0.e(r2)
L57:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C2914anb.c(o.anb, o.dca):void");
}
public final boolean d() {
boolean z;
C0367Fb c0367Fb = this.b;
if (C14957gcv.b((Object) (c0367Fb != null ? c0367Fb.T : null), (Object) "CDX") && ((z = this.d) || (!z && this.c.d()))) {
C0433Gl c0433Gl = this.a;
return C14957gcv.b((Object) (c0433Gl != null ? c0433Gl.e : null), (Object) "EFFECTIVE_RATE");
}
C0433Gl c0433Gl2 = this.a;
String str = c0433Gl2 != null ? c0433Gl2.a : null;
return true ^ (str == null || gdZ.d((CharSequence) str));
}
static {
new LWm((byte) 0);
}
}