Really appreciate for this nice tutorial, just one add up that, I looked up the helper info for ctrtool, for mac arm64 version, the command should be, which put all options before the file name. Thanks!
./ctrtool -t exefs --exefsdir=exefs --decompresscode exefs.bin