package o; import java.math.BigDecimal; import java.util.Arrays; import o.C15715hv; import o.InterfaceC9046dcN; import o.ZI; /* renamed from: o.atP, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C3218atP extends ZI { private final C16474og a; public HD b; private double d; private double e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C3218atP(C16903sI c16903sI, C16474og c16474og) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c16474og, ""); this.a = c16474og; } public final void a(final double d) { this.e = d; HD hd = this.b; this.d = hd != null ? hd.a * d : 0.0d; ZI.IeS ieS = new ZI.IeS(this, d) { // from class: o.atO private double a; private C3218atP d; @Override // o.ZI.IeS public final void e(Object obj) { C3218atP.a(this.d, this.a, (InterfaceC9046dcN.Sts) obj); } { this.d = this; this.a = d; } }; if (this.f != 0) { ieS.e(this.f); } } public static /* synthetic */ void a(C3218atP c3218atP, double d, InterfaceC9046dcN.Sts sts) { C14957gcv.e(c3218atP, ""); String a = C6583cXR.a(new BigDecimal(String.valueOf(d))); C14957gcv.c((Object) a, ""); sts.c(a); HD hd = c3218atP.b; String str = (String) C6583cXR.c(new Object[]{Double.valueOf(hd != null ? hd.a * d : 0.0d)}, -150997759, 150997764, (int) System.currentTimeMillis()); C14957gcv.c((Object) str, ""); sts.b(str); } public static /* synthetic */ void c(C3218atP c3218atP, InterfaceC9046dcN.Sts sts) { C14957gcv.e(c3218atP, ""); HD hd = c3218atP.b; if (hd != null) { C16474og c16474og = c3218atP.a; double d = c3218atP.e; double d2 = c3218atP.d; C14957gcv.e(hd, ""); String str = hd.l; double d3 = hd.k; String str2 = hd.m; String str3 = (String) C6583cXR.c(new Object[]{Double.valueOf(d2)}, -150997759, 150997764, (int) System.currentTimeMillis()); C14957gcv.c((Object) str3, ""); gcH gch = gcH.d; String string = c16474og.a.getString(C15715hv.tOB.auto_p2p_select_purchase_pts); C14957gcv.c((Object) string, ""); String format = String.format(string, Arrays.copyOf(new Object[]{C6583cXR.a(new BigDecimal(String.valueOf(d)))}, 1)); C14957gcv.c((Object) format, ""); String a = C6583cXR.a(new BigDecimal(String.valueOf(hd.a))); C14957gcv.c((Object) a, ""); int i = hd.e; String str4 = hd.c; String str5 = (String) C6583cXR.c(new Object[]{Double.valueOf(d2)}, -150997759, 150997764, (int) System.currentTimeMillis()); C14957gcv.c((Object) str5, ""); sts.e(new HD(hd.i, hd.d, hd.a, hd.g, hd.f8190o, (int) d, str, d3, str2, str3, format, a, i, str4, d2, str5)); } } }