There's also some ARM specific code: https://github.com/apple/darwin-xnu/tree/master/pexpert/arm
The Makefile also has ARM/ARM64 options.