package o; import android.R; import java.util.Objects; /* loaded from: classes6.dex */ final class fUP { /* JADX INFO: Access modifiers changed from: package-private */ public static boolean d(Object obj, fSS fss, InterfaceC13154fSb interfaceC13154fSb) { if (!(obj instanceof InterfaceC13189fTc)) { return false; } try { R.bool boolVar = (Object) ((InterfaceC13189fTc) obj).d(); fRZ frz = boolVar != null ? (fRZ) Objects.requireNonNull(fss.a(boolVar), "The mapper returned a null CompletableSource") : null; if (frz == null) { EnumC13195fTi.b(interfaceC13154fSb); } else { frz.e(interfaceC13154fSb); } return true; } catch (Throwable th) { C13147fSI.c(th); EnumC13195fTi.c(th, interfaceC13154fSb); return true; } } /* JADX INFO: Access modifiers changed from: package-private */ public static boolean e(Object obj, fSS> fss, InterfaceC13174fSv interfaceC13174fSv) { if (!(obj instanceof InterfaceC13189fTc)) { return false; } try { R.bool boolVar = (Object) ((InterfaceC13189fTc) obj).d(); InterfaceC13160fSh interfaceC13160fSh = boolVar != null ? (InterfaceC13160fSh) Objects.requireNonNull(fss.a(boolVar), "The mapper returned a null MaybeSource") : null; if (interfaceC13160fSh == null) { EnumC13195fTi.e(interfaceC13174fSv); } else { interfaceC13160fSh.c(C13214fUE.e(interfaceC13174fSv)); } return true; } catch (Throwable th) { C13147fSI.c(th); EnumC13195fTi.a(th, interfaceC13174fSv); return true; } } /* JADX INFO: Access modifiers changed from: package-private */ public static boolean a(Object obj, fSS> fss, InterfaceC13174fSv interfaceC13174fSv) { if (!(obj instanceof InterfaceC13189fTc)) { return false; } try { R.bool boolVar = (Object) ((InterfaceC13189fTc) obj).d(); fSD fsd = boolVar != null ? (fSD) Objects.requireNonNull(fss.a(boolVar), "The mapper returned a null SingleSource") : null; if (fsd == null) { EnumC13195fTi.e(interfaceC13174fSv); } else { fsd.c(C13377fYp.e(interfaceC13174fSv)); } return true; } catch (Throwable th) { C13147fSI.c(th); EnumC13195fTi.a(th, interfaceC13174fSv); return true; } } }