Moved register-related functions and definitions from las/arch/x86_64/main.c.