Like fumackn, sh8 m8 is an alternative to cursing, which in this case, means “shit, mate”.
Sh8, m8 can be used to confuse people because they don’t know what that is or as an alternative if your around people who don’t like to hear cursing.