.text; .even; .globl _SetNVProtection

_SetNVProtection:
	movel a6,sp@-
	movel d2,sp@-
	movel _NVBase,a6
	movel sp@(12),a0
	movel sp@(16),a1
	movel sp@(20),d2
	movel sp@(24),d1
#APP
	jsr a6@(-0x42)
#NO_APP
	extl d0
	movel sp@+,d2
	movel sp@+,a6
	rts
