Add manual rewrite of asm