def METHOD_NAME(self, cond, ifTrue, ifFalse):
    try:
        return claripy.If(cond != 0, ifTrue, ifFalse)
    except claripy.ClaripyError as e:
        raise errors.SimError("Claripy failed") from e