This would be equivalent to what we do on x86_64 to implement the SYSCALL instruction handler. The equivalent on ARM is SVC. There is a good article describing how system call handling is implemented in Linux - https://eastrivervillage.com/Anatomy-of-Linux-system-call-in-ARM64/index.html.
Please note we would also want to implement a dedicated syscall stack to properly support Golang executables.