SwapLines replaced by ASM code