I would not compile Firefox on AM64. I would also not download it from Mozilla. I'd just install it via the usual repository mechanism.
The range of ARM64 binaries in the various repositories has been increasing in the last years.
The range of ARM64 binaries in the various repositories has been increasing in the last years.