arm64: make the code closer to llvm code