Asdf install erlang 25.2 failing, unsure of cause, on Mac OSX Monterey 12.5.1 M1 Pro

This issue seems to be related: OTP 24 compilation error on macOS Big Sur 11.3.1 · Issue #207 · asdf-vm/asdf-erlang · GitHub

This comment seems extra helpful: OTP 24 compilation error on macOS Big Sur 11.3.1 · Issue #207 · asdf-vm/asdf-erlang · GitHub

So does this comment here on the forum: Segmentation fault after update elixir and erlang - #25 by kartheek