#!/bin/sh
#
# alt.: test "$(uname -spm)" = 'Darwin arm64 arm'

if sysctl -n machdep.cpu.brand_string 2>/dev/null | grep -q 'M[0-9]'; then
  exit 0
else
  exit 1
fi
