def not_u32(x): return ~u32(x)
def xor_u32(x, y): return u32(x) ^ u32(y)
def or_u32(x, y): return u32(x) | u32(y)
def and_u32(x, y): return u32(x) & u32(y)
def rshift_u32(x, c): return u32(x) >> u8(c)
def lshift_u32(x, c): return u32(x) << u8(c)