Wrote ASM; setup build system and other code to use it. Probably broke everything on non-OSX+X64 platforms.