I was getting issues with __volatile__ for unknown reason, so moving this to a dedicated file sidesteps the issue entirely and passes this straight to GAS.