add MachO assembly implementation