	SECTION _TEXT CLASS=CODE USE32
	SECTION _DATA CLASS=DATA USE32
	SECTION _BSS  CLASS=BSS USE32
	SECTION _CONST  CLASS=CONST USE32
	SECTION _STRING  CLASS=STRING USE32
	SECTION cstartup CLASS=INITDATA USE32
	SECTION crundown CLASS=EXITDATA USE32
	SECTION cppinit  CLASS=CPPINIT USE32
	SECTION cppexit  CLASS=CPPEXIT USE32
	GROUP DGROUP _DATA _BSS _CONST _STRING

SECTION _TEXT
[GLOBAL	___assertfail]
;
; Line 8:	{
;
___assertfail:
	PUSH	EBP
	MOV	EBP,ESP
;
; Line 9:	    fprintf( (_pstreams[2]), "%s %s(%d) : %s\n", __who, __file, __line, __msg );
;
	PUSH	DWORD [EBP+014H]
	PUSH	DWORD [EBP+010H]
	PUSH	DWORD [EBP+0CH]
	PUSH	DWORD [EBP+08H]
	PUSH	DWORD L_1
	PUSH	DWORD [08H+__pstreams]
	CALL	_fprintf
	ADD	ESP,BYTE 018H
;
; Line 10:	    exit( 1 );
;
	PUSH	BYTE 01H
	CALL	_exit
	POP	ECX
;
; Line 11:	}
;
	POP	EBP
	RET

SECTION _STRING
L_1:
	DB	025H,073H,020H,025H,073H,028H,025H,064H,029H,020H,03AH,020H
	DB	025H,073H,0AH,00H

SECTION _TEXT
[EXTERN	_fprintf]
[EXTERN	_exit]

SECTION _DATA
[EXTERN	__pstreams]
