	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	_ctime]
;
; Line 4:	{
;
_ctime:
	PUSH	EBP
	MOV	EBP,ESP
	SUB	ESP,BYTE 024H
	PUSH	EBX
;
; Line 5:		struct tm *t = localtime(timer), t1 = *t;
;
	PUSH	DWORD [EBP+08H]
	CALL	_localtime
	POP	ECX
	MOV	EBX,EAX
	PUSH	ESI
	PUSH	EDI
	LEA	ESI,[EBX+00H]
	LEA	EDI,[EBP+0FFFFFFDCH]
	CLD
	MOV	ECX,09H
	REP	MOVSD
	POP	EDI
	POP	ESI
;
; Line 6:		return asctime(&t1);
;
	LEA	EAX,[EBP+0FFFFFFDCH]
	PUSH	EAX
	CALL	_asctime
	POP	ECX
L_1:
	POP	EBX
	MOV	ESP,EBP
	POP	EBP
	RET


SECTION _TEXT
[EXTERN	_localtime]
[EXTERN	_asctime]
