package o; import android.content.SharedPreferences; import android.content.res.Resources; import o.C15715hv; /* renamed from: o.pC, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C16537pC extends AbstractC16173lt { /* renamed from: o.pC$Sts */ /* loaded from: classes3.dex */ public static class Sts { C15981kDY c; ZGL d; } @Override // o.AbstractC16173lt public final /* bridge */ /* synthetic */ AbstractC0564Jn d(Sts sts) { Sts sts2 = sts; return d(sts2.d, sts2.c); } /* JADX INFO: Access modifiers changed from: package-private */ @InterfaceC13391fZD public C16537pC(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); } /* JADX WARN: Multi-variable type inference failed */ public static AbstractC0564Jn d(ZGL zgl, C15981kDY c15981kDY) { C0574Ju c0574Ju; if (zgl == ZGL.TYPE_SAVING) { JB jb = new JB(); jb.g = c(Double.valueOf(c15981kDY.b)); c0574Ju = jb; } else if (zgl == ZGL.TYPE_CURRENT) { C0574Ju c0574Ju2 = new C0574Ju(); String c = c(Double.valueOf(c15981kDY.f)); String c2 = c(Double.valueOf(c15981kDY.h)); int intValue = d(Double.valueOf(c15981kDY.h), Double.valueOf(c15981kDY.f)).intValue(); String c3 = c(Double.valueOf(c15981kDY.b)); c0574Ju2.j = c15981kDY.f > 0.0d; c0574Ju2.l = C15715hv.LWm.red; c0574Ju2.h = c; c0574Ju2.f8231o = c2; c0574Ju2.g = c3; c0574Ju2.n = intValue; c0574Ju = c0574Ju2; } else { c0574Ju = null; } if (c0574Ju == null) { return null; } String c4 = c(Double.valueOf(c15981kDY.c)); String c5 = c(Double.valueOf(c15981kDY.d)); String c6 = c(Double.valueOf(c15981kDY.g)); String c7 = c(Double.valueOf(c15981kDY.i)); String c8 = c(Double.valueOf(c15981kDY.a)); String c9 = c(Double.valueOf(c15981kDY.j)); c0574Ju.a = c4; c0574Ju.d = c5; c0574Ju.f = c6; c0574Ju.i = c7; c0574Ju.c = c8; c0574Ju.b = c9; c0574Ju.s = c15981kDY.n; c0574Ju.m = c15981kDY.n; c0574Ju.k = c15981kDY.f9173o; c0574Ju.t = c15981kDY.k; return c0574Ju; } }