@api.jit
def cfun(x):

    def false_fun(x):
        y = lax.mul(2, x)
        return (y, lax.mul(2, y))
    return lax.cond(lax.lt(x, 3), (lambda x: (x, x)), false_fun, x)
@api.jit
def cfun(x):

    def false_fun(x):
        y = lax.mul(2, x)
        return (y, lax.mul(2, y))
    return lax.cond(lax.lt(x, 3), (lambda x: (x, x)), false_fun, x)