simplify duplicate asm