Added x86-64 assembly implementation