	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	_time]
;
; Line 6:	{
;
_time:
	PUSH	EBP
	MOV	EBP,ESP
	SUB	ESP,BYTE 024H
	PUSH	EBX
	PUSH	ESI
	MOV	ESI,DWORD [EBP+08H]
;
; Line 9:		_ll_gettime(&t2);
;
	LEA	EAX,[EBP+0FFFFFFDCH]
	PUSH	EAX
	CALL	__ll_gettime
	POP	ECX
;
; Line 10:		val = mktime(&t2);
;
	LEA	EAX,[EBP+0FFFFFFDCH]
	PUSH	EAX
	CALL	_mktime
	POP	ECX
	MOV	EBX,EAX
;
; Line 11:		if (tptr)
;
	TEST	ESI,ESI
	JE	SHORT	L_1
;
; Line 12:			*tptr = val;
;
	MOV	DWORD [ESI+00H],EBX
L_1:
;
; Line 13:		return val;
;
	MOV	EAX,EBX
L_3:
	POP	ESI
	POP	EBX
	MOV	ESP,EBP
	POP	EBP
	RET


SECTION _TEXT
[EXTERN	_mktime]
[EXTERN	__ll_gettime]
