The script is running on macOS and is what the Asahi project recommends when updating or installing m1n1/Linux:
It's called out in the OpenBSD/arm64 installation notes, at least:
https://cdn.openbsd.org/pub/OpenBSD/snapshots/arm64/INSTALL....
Search for "Install on Apple Silicon".