arm64: more changes to make code closer to llvm