package o; import android.content.SharedPreferences; import android.content.res.Resources; /* loaded from: classes3.dex */ public final class AF extends C16157lj { @InterfaceC13391fZD public AF(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); } public static /* synthetic */ UP b(AF af, boolean z, C8409dKa c8409dKa) { String d; C14957gcv.e(af, ""); C14957gcv.e(c8409dKa, ""); int i = c8409dKa.g; String str = c8409dKa.d; if (c8409dKa.b == PWw.CID) { d = b(c8409dKa.d, true); } else { d = d(c8409dKa.d, true); } UP up = new UP(i, str, d, c8409dKa.b != PWw.CID ? 0 : 1, c8409dKa.a, c8409dKa.e); C2310acG c2310acG = c8409dKa.c; if (c2310acG != null) { String str2 = c2310acG.e; up.b = new US(str2, c(str2, z), c2310acG.b, c2310acG.c); } return up; } }