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