	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	_vfprintf]
;
; Line 4:	{
;
_vfprintf:
	PUSH	EBP
	MOV	EBP,ESP
	SUB	ESP,0800H
	PUSH	EBX
;
; Line 7:		rv = vsprintf(buffer,format,list);
;
	PUSH	DWORD [EBP+010H]
	PUSH	DWORD [EBP+0CH]
	LEA	EAX,[EBP+0FFFFF800H]
	PUSH	EAX
	CALL	_vsprintf
	ADD	ESP,BYTE 0CH
	MOV	EBX,EAX
;
; Line 8:		if (fputs(buffer,stream) == (-1)             )
;
	PUSH	DWORD [EBP+08H]
	LEA	EAX,[EBP+0FFFFF800H]
	PUSH	EAX
	CALL	_fputs
	ADD	ESP,BYTE 08H
	CMP	EAX,BYTE 0FFFFFFFFH
	JNE	SHORT	L_1
;
; Line 9:			return 0;
;
	MOV	EAX,00H
	JMP	L_3
L_1:
;
; Line 10:		return rv;
;
	MOV	EAX,EBX
L_3:
	POP	EBX
	MOV	ESP,EBP
	POP	EBP
	RET
[GLOBAL	_fprintf]
;
; Line 13:	{
;
_fprintf:
	PUSH	EBP
	MOV	EBP,ESP
;
; Line 14:		return vfprintf(stream,format,((char *)&format+sizeof(char *)));
;
	LEA	EAX,[EBP+0CH]
	ADD	EAX,BYTE 04H
	PUSH	EAX
	PUSH	DWORD [EBP+0CH]
	PUSH	DWORD [EBP+08H]
	CALL	_vfprintf
	ADD	ESP,BYTE 0CH
L_4:
	POP	EBP
	RET


SECTION _TEXT
[EXTERN	_fputs]
[EXTERN	_vsprintf]
