	incdir	INCLUDE_I:
	include libraries/crm.i
	include	libraries/crm_lib.i

	xref	_CrMBase

	IFD	sub1
	xdef	_cmCheckCrunched
_cmCheckCrunched:
	move.l	a6,-(sp)
	move.l	8(sp),a0
	move.l	_CrMBase,a6
	jsr	_LVOcmCheckCrunched(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub2
	xdef	_cmDecrunch
_cmDecrunch:
	movem.l	a2/a6,-(sp)
	movem.l	12(sp),a0/a1/a2
	move.l	_CrMBase,a6
	jsr	_LVOcmDecrunch(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub3
	xdef	_cmProcessPW
_cmProcessPW:
	move.l	a6,-(sp)
	move.l	8(sp),a0
	move.l	12(sp),d0
	move.l	_CrMBase,a6
	jsr	_LVOcmProcessPW(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub4
	xdef	_cmCryptData
_cmCryptData
	movem.l	a2/a6,-(sp)
	movem.l	12(sp),a0/a1/a2
	move.l	24(sp),d0
	move.l	_CrMBase,a6
	jsr	_LVOcmCryptData(a6)
	movem.l	(sp)+,a2/a6
	rts
	ENDC

	IFD	sub5
	xdef	_cmProcessCrunchStructA
_cmProcessCrunchStructA:
	move.l	a6,-(sp)
	move.l	8(sp),a1
	move.l	12(sp),d0
	move.l	16(sp),a0
	move.l	_CrMBase,a6
	jsr	_LVOcmProcessCrunchStructA(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub7
	xdef	_cmProcessCrunchStruct
_cmProcessCrunchStruct:
	move.l	a6,-(sp)
	move.l	8(sp),a1
	move.l	12(sp),d0
	lea	16(sp),a0
	move.l	_CrMBase,a6
	jsr	_LVOcmProcessCrunchStructA(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub6
	xdef	_cmCrunchData
_cmCrunchData
	move.l	a6,-(sp)
	move.l	8(sp),a0
	move.l	_CrMBase,a6
	jsr	_LVOcmCrunchData(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub8
	xdef	_cmAllocCrunchStructA
_cmAllocCrunchStructA:
	move.l	a6,-(sp)
	move.l	8(sp),a0
	move.l	_CrMBase,a6
	jsr	_LVOcmAllocCrunchStructA(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub9
	xdef	_cmFreeCrunchStruct
_cmFreeCrunchStruct:
	move.l	a6,-(sp)
	move.l	8(sp),a0
	move.l	_CrMBase,a6
	jsr	_LVOcmFreeCrunchStruct(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	IFD	sub10
	xdef	_cmAllocCrunchStruct
_cmAllocCrunchStruct:
	move.l	a6,-(sp)
	lea	8(sp),a0
	move.l	_CrMBase,a6
	jsr	_LVOcmAllocCrunchStructA(a6)
	move.l	(sp)+,a6
	rts
	ENDC

	END
