;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.4.0 Tue Oct 12 01:21:33 2004

;--------------------------------------------------------
	.module time
	
	.area CSEG
	.area GSINIT
	.area GSFINAL
	.area XINIT
	.area DSEG
	.area OSEG    (OVR)
	.area BSEG
	.area XSEG
	.area XISEG
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
	.globl ___day
	.globl ___month
	.globl _RtcRead
	.globl _time
	.globl _asctime
	.globl _ctime
	.globl _localtime
	.globl _gmtime
	.globl _mktime
;--------------------------------------------------------
;  ram data
;--------------------------------------------------------
	.area DSEG
_asctime_sloc0_1_0::
	.ds 2
_asctime_sloc1_1_0::
	.ds 1
_asctime_sloc2_1_0::
	.ds 2
_asctime_sloc3_1_0::
	.ds 2
_asctime_sloc4_1_0::
	.ds 2
_asctime_sloc5_1_0::
	.ds 2
_asctime_sloc6_1_0::
	.ds 2
_asctime_sloc7_1_0::
	.ds 2
_ctime_sloc0_1_0::
	.ds 2
_localtime_sloc0_1_0::
	.ds 2
_gmtime_sloc0_1_0::
	.ds 4
_gmtime_sloc1_1_0::
	.ds 2
_gmtime_sloc2_1_0::
	.ds 4
_mktime_sloc0_1_0::
	.ds 2
_mktime_sloc1_1_0::
	.ds 4
_mktime_sloc2_1_0::
	.ds 1
_mktime_sloc3_1_0::
	.ds 2
_mktime_sloc4_1_0::
	.ds 4
;--------------------------------------------------------
; overlayable items in  ram 
;--------------------------------------------------------
	.area	OSEG    (OVR)
_CheckTime_sloc0_1_0::
	.ds 1
_CheckTime_sloc1_1_0::
	.ds 2
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
	.area XISEG
;--------------------------------------------------------
; extended address mode data
;--------------------------------------------------------
	.area XSEG
_time_timeptr_1_1::
	.ds 2
_time_now_1_1::
	.ds 12
_time_t_1_1::
	.ds 4
_ascTimeBuffer:
	.ds 32
_CheckTime_timeptr_1_1::
	.ds 2
_asctime_timeptr_1_1::
	.ds 2
_ctime_timep_1_1::
	.ds 2
_lastTime:
	.ds 12
_localtime_timep_1_1::
	.ds 2
_gmtime_timep_1_1::
	.ds 2
_gmtime_epoch_1_1::
	.ds 4
_gmtime_year_1_1::
	.ds 2
_gmtime_monthLength_1_1::
	.ds 1
_gmtime_days_1_1::
	.ds 4
_mktime_timeptr_1_1::
	.ds 2
_mktime_year_1_1::
	.ds 2
_mktime_month_1_1::
	.ds 2
_mktime_seconds_1_1::
	.ds 4
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
	.area GSINIT
	.area GSFINAL
	.area GSINIT
;--------------------------------------------------------
; Home
;--------------------------------------------------------
	.area HOME
	.area CSEG
;--------------------------------------------------------
; code
;--------------------------------------------------------
	.area CSEG
;------------------------------------------------------------
;Allocation info for local variables in function 'RtcRead'
;------------------------------------------------------------
;timeptr                   Allocated to registers 
;------------------------------------------------------------
;time.c:38: unsigned char RtcRead(struct tm *timeptr) {
;	-----------------------------------------
;	 function RtcRead
;	-----------------------------------------
_RtcRead:
;time.c:41: return 0;
;     genRet
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00101$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'time'
;------------------------------------------------------------
;timeptr                   Allocated with name '_time_timeptr_1_1'
;now                       Allocated with name '_time_now_1_1'
;t                         Allocated with name '_time_t_1_1'
;------------------------------------------------------------
;time.c:46: time_t time(time_t *timeptr) {
;	-----------------------------------------
;	 function time
;	-----------------------------------------
_time:
;     genReceive
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_time_timeptr_1_1), 0), stacked=0, isaddr=0
	sta	(_time_timeptr_1_1 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_time_timeptr_1_1), 1), stacked=0, isaddr=0
	stx	_time_timeptr_1_1
;time.c:48: time_t t=-1;
;     genAssign
;     loadRegFromAop (a, LIT(#0xFF), 0)
	lda	#0xFF
;     storeRegToAop (a, EXT(_time_t_1_1), 0), stacked=0, isaddr=0
	sta	(_time_t_1_1 + 3)
;     loadRegFromAop (a, LIT(#0xFF), 1)
	lda	#0xFF
;     storeRegToAop (a, EXT(_time_t_1_1), 1), stacked=0, isaddr=0
	sta	(_time_t_1_1 + 2)
;     loadRegFromAop (a, LIT(#0xFF), 2)
	lda	#0xFF
;     storeRegToAop (a, EXT(_time_t_1_1), 2), stacked=0, isaddr=0
	sta	(_time_t_1_1 + 1)
;     loadRegFromAop (a, LIT(#0xFF), 3)
	lda	#0xFF
;     storeRegToAop (a, EXT(_time_t_1_1), 3), stacked=0, isaddr=0
	sta	_time_t_1_1
;time.c:50: if (RtcRead(&now)) {
;     genCall
;     loadRegFromAop (x, IMMD(_time_now_1_1), 1)
	ldx	#>_time_now_1_1
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, IMMD(_time_now_1_1), 0)
	lda	#_time_now_1_1
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	_RtcRead
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, REG(-,-,x,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
;     genIfx
	tsta
;     genIfxJump
; Peephole 2d	- eliminated jmp
	beq	00102$
00109$:
; forgot to free a
;time.c:51: t=mktime(&now);
;     genCall
;     loadRegFromAop (x, IMMD(_time_now_1_1), 1)
	ldx	#>_time_now_1_1
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, IMMD(_time_now_1_1), 0)
	lda	#_time_now_1_1
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	_mktime
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_time_t_1_1), 0), stacked=0, isaddr=0
	sta	(_time_t_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_time_t_1_1), 1), stacked=0, isaddr=0
	stx	(_time_t_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_time_t_1_1), 2), stacked=0, isaddr=0
	sta	(_time_t_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_time_t_1_1), 3), stacked=0, isaddr=0
	sta	_time_t_1_1
00102$:
;time.c:53: if (timeptr) {
;     genIfx
;     loadRegFromAop (a, EXT(_time_timeptr_1_1), 0)
	lda	(_time_timeptr_1_1 + 1)
	ora	_time_timeptr_1_1
;     genIfxJump
; Peephole 2d	- eliminated jmp
	beq	00104$
00110$:
;time.c:54: *timeptr=t;
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, EXT(_time_timeptr_1_1), 0)
;     loadRegFromAop (a, EXT(_time_timeptr_1_1), 1)
	lda	_time_timeptr_1_1
;     loadRegFromAop (x, EXT(_time_timeptr_1_1), 0)
	ldx	(_time_timeptr_1_1 + 1)
; transferRegReg(a,h)
	psha
	pulh
;     loadRegFromAop (a, EXT(_time_t_1_1), 3)
	lda	_time_t_1_1
	sta	,x
	aix	#1
;     loadRegFromAop (a, EXT(_time_t_1_1), 2)
	lda	(_time_t_1_1 + 1)
	sta	,x
	aix	#1
;     loadRegFromAop (a, EXT(_time_t_1_1), 1)
	lda	(_time_t_1_1 + 2)
	sta	,x
	aix	#1
;     loadRegFromAop (a, EXT(_time_t_1_1), 0)
	lda	(_time_t_1_1 + 3)
	sta	,x
00104$:
;time.c:56: return t;
;     genRet
;     loadRegFromAop (a, EXT(_time_t_1_1), 3)
	lda	_time_t_1_1
;     storeRegToAop (a, DIR(__ret3), 0), stacked=0, isaddr=0
	sta	*__ret3
;     loadRegFromAop (a, EXT(_time_t_1_1), 2)
	lda	(_time_t_1_1 + 1)
;     storeRegToAop (a, DIR(__ret2), 0), stacked=0, isaddr=0
	sta	*__ret2
;     loadRegFromAop (x, EXT(_time_t_1_1), 1)
	ldx	(_time_t_1_1 + 2)
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, EXT(_time_t_1_1), 0)
	lda	(_time_t_1_1 + 3)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00105$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'CheckTime'
;------------------------------------------------------------
;timeptr                   Allocated with name '_CheckTime_timeptr_1_1'
;sloc0                     Allocated with name '_CheckTime_sloc0_1_0'
;sloc1                     Allocated with name '_CheckTime_sloc1_1_0'
;------------------------------------------------------------
;time.c:69: static void CheckTime(struct tm *timeptr) {
;	-----------------------------------------
;	 function CheckTime
;	-----------------------------------------
_CheckTime:
;     genReceive
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_CheckTime_timeptr_1_1), 0), stacked=0, isaddr=0
	sta	(_CheckTime_timeptr_1_1 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_CheckTime_timeptr_1_1), 1), stacked=0, isaddr=0
	stx	_CheckTime_timeptr_1_1
;time.c:80: if (timeptr->tm_sec>59) timeptr->tm_sec=59;
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, EXT(_CheckTime_timeptr_1_1), 0)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
;     loadRegFromAop (x, EXT(_CheckTime_timeptr_1_1), 0)
	ldx	(_CheckTime_timeptr_1_1 + 1)
; transferRegReg(a,h)
	psha
	pulh
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*_CheckTime_sloc0_1_0
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, LIT(#0x3B), 0)
	lda	#0x3B
	cmp	*_CheckTime_sloc0_1_0
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00102$
00128$:
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, EXT(_CheckTime_timeptr_1_1), 0)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
;     loadRegFromAop (x, EXT(_CheckTime_timeptr_1_1), 0)
	ldx	(_CheckTime_timeptr_1_1 + 1)
; transferRegReg(a,h)
	psha
	pulh
;     loadRegFromAop (a, LIT(#0x3B), 0)
	lda	#0x3B
	sta	,x
00102$:
;time.c:81: if (timeptr->tm_min>59) timeptr->tm_min=59;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 1, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x01
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*_CheckTime_sloc1_1_0
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, LIT(#0x3B), 0)
	lda	#0x3B
	cmp	*_CheckTime_sloc1_1_0
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00104$
00129$:
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 1, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x01
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
;     loadRegFromAop (a, LIT(#0x3B), 0)
	lda	#0x3B
	sta	,x
00104$:
;time.c:82: if (timeptr->tm_hour>23) timeptr->tm_hour=23;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 2, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x02
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*_CheckTime_sloc1_1_0
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, LIT(#0x17), 0)
	lda	#0x17
	cmp	*_CheckTime_sloc1_1_0
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00106$
00130$:
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 2, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x02
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
;     loadRegFromAop (a, LIT(#0x17), 0)
	lda	#0x17
	sta	,x
00106$:
;time.c:83: if (timeptr->tm_wday>6) timeptr->tm_wday=6;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 7, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x07
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*_CheckTime_sloc1_1_0
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, LIT(#0x06), 0)
	lda	#0x06
	cmp	*_CheckTime_sloc1_1_0
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00108$
00131$:
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 7, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x07
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
;     loadRegFromAop (a, LIT(#0x06), 0)
	lda	#0x06
	sta	,x
00108$:
;time.c:84: if (timeptr->tm_mday<1) timeptr->tm_mday=1;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 3, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x03
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*_CheckTime_sloc1_1_0
;     genCmpLt
;     genCmp
;     loadRegFromAop (a, DIR(_CheckTime_sloc1_1_0), 0)
	lda	*_CheckTime_sloc1_1_0
	cmp	#0x01
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00112$
00132$:
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 3, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x03
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
;     loadRegFromAop (a, LIT(#0x01), 0)
	lda	#0x01
	sta	,x
; Peephole 3	- shortened jmp to bra
	bra	00113$
00112$:
;time.c:85: else if (timeptr->tm_mday>31) timeptr->tm_mday=31;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 3, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x03
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*_CheckTime_sloc1_1_0
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, LIT(#0x1F), 0)
	lda	#0x1F
	cmp	*_CheckTime_sloc1_1_0
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00113$
00133$:
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 3, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x03
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
;     loadRegFromAop (a, LIT(#0x1F), 0)
	lda	#0x1F
	sta	,x
00113$:
;time.c:86: if (timeptr->tm_mon>11) timeptr->tm_mon=11;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 4, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x04
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*_CheckTime_sloc1_1_0
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, LIT(#0x0B), 0)
	lda	#0x0B
	cmp	*_CheckTime_sloc1_1_0
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00115$
00134$:
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 4, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x04
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
;     loadRegFromAop (a, LIT(#0x0B), 0)
	lda	#0x0B
	sta	,x
00115$:
;time.c:87: if (timeptr->tm_year<0) timeptr->tm_year=0;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 5, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x05
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
	lda	,x
	aix	#1
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=0
	sta	*_CheckTime_sloc1_1_0
	lda	,x
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     genCmpLt
;     genCmp
;     loadRegFromAop (a, DIR(_CheckTime_sloc1_1_0), 1)
	lda	*_CheckTime_sloc1_1_0
	rola
;     genIfxJump
; Peephole 2a	- eliminated jmp
	bcc	00118$
00135$:
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 5, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 0)
	lda	(_CheckTime_timeptr_1_1 + 1)
	add	#0x05
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 0), stacked=0, isaddr=1
	sta	*(_CheckTime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_CheckTime_timeptr_1_1), 1)
	lda	_CheckTime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_CheckTime_sloc1_1_0), 1), stacked=0, isaddr=1
	sta	*_CheckTime_sloc1_1_0
;     genPointerSet
;     genFarPointerSet
;     loadRegFromAop (hx, DIR(_CheckTime_sloc1_1_0), 0)
	ldhx	*_CheckTime_sloc1_1_0
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
	sta	,x
	aix	#1
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
	sta	,x
00118$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'asctime'
;------------------------------------------------------------
;sloc0                     Allocated with name '_asctime_sloc0_1_0'
;sloc1                     Allocated with name '_asctime_sloc1_1_0'
;sloc2                     Allocated with name '_asctime_sloc2_1_0'
;sloc3                     Allocated with name '_asctime_sloc3_1_0'
;sloc4                     Allocated with name '_asctime_sloc4_1_0'
;sloc5                     Allocated with name '_asctime_sloc5_1_0'
;sloc6                     Allocated with name '_asctime_sloc6_1_0'
;sloc7                     Allocated with name '_asctime_sloc7_1_0'
;timeptr                   Allocated with name '_asctime_timeptr_1_1'
;------------------------------------------------------------
;time.c:91: char *asctime(struct tm *timeptr) {
;	-----------------------------------------
;	 function asctime
;	-----------------------------------------
_asctime:
;     genReceive
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_asctime_timeptr_1_1), 0), stacked=0, isaddr=0
	sta	(_asctime_timeptr_1_1 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_asctime_timeptr_1_1), 1), stacked=0, isaddr=0
	stx	_asctime_timeptr_1_1
;time.c:92: CheckTime(timeptr);
;     genCall
;     loadRegFromAop (x, EXT(_asctime_timeptr_1_1), 1)
	ldx	_asctime_timeptr_1_1
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 0)
	lda	(_asctime_timeptr_1_1 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	_CheckTime
;time.c:96: timeptr->tm_year+1900);
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 5, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 0)
	lda	(_asctime_timeptr_1_1 + 1)
	add	#0x05
;     storeRegToAop (a, DIR(_asctime_sloc0_1_0), 0), stacked=0, isaddr=1
	sta	*(_asctime_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 1)
	lda	_asctime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_asctime_sloc0_1_0), 1), stacked=0, isaddr=1
	sta	*_asctime_sloc0_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_asctime_sloc0_1_0), 0)
	ldhx	*_asctime_sloc0_1_0
	lda	,x
	aix	#1
;     storeRegToAop (a, DIR(_asctime_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*_asctime_sloc0_1_0
	lda	,x
;     storeRegToAop (a, DIR(_asctime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_asctime_sloc0_1_0 + 1)
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
;     genPlus
; IS_AOP_HX = 0
; icount = 1900, sameRegs=1
;  left size = 2
;  right size = 2
;  result size = 2
;     loadRegFromAop (a, DIR(_asctime_sloc0_1_0), 0)
	lda	*(_asctime_sloc0_1_0 + 1)
	add	#0x6C
;     storeRegToAop (a, DIR(_asctime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_asctime_sloc0_1_0 + 1)
;     loadRegFromAop (a, DIR(_asctime_sloc0_1_0), 1)
	lda	*_asctime_sloc0_1_0
	adc	#0x07
;     storeRegToAop (a, DIR(_asctime_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*_asctime_sloc0_1_0
;time.c:95: timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec, 
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, EXT(_asctime_timeptr_1_1), 0)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 1)
	lda	_asctime_timeptr_1_1
;     loadRegFromAop (x, EXT(_asctime_timeptr_1_1), 0)
	ldx	(_asctime_timeptr_1_1 + 1)
; transferRegReg(a,h)
	psha
	pulh
	lda	,x
;     storeRegToAop (a, DIR(_asctime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*_asctime_sloc1_1_0
;     genCast
	mov	*_asctime_sloc1_1_0,*(_asctime_sloc2_1_0 + 1)
	clr	*_asctime_sloc2_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 1, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 0)
	lda	(_asctime_timeptr_1_1 + 1)
	add	#0x01
;     storeRegToAop (a, DIR(_asctime_sloc3_1_0), 0), stacked=0, isaddr=1
	sta	*(_asctime_sloc3_1_0 + 1)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 1)
	lda	_asctime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_asctime_sloc3_1_0), 1), stacked=0, isaddr=1
	sta	*_asctime_sloc3_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_asctime_sloc3_1_0), 0)
	ldhx	*_asctime_sloc3_1_0
	lda	,x
;     storeRegToAop (a, DIR(_asctime_sloc3_1_0), 0), stacked=0, isaddr=0
	sta	*_asctime_sloc3_1_0
;     genCast
	mov	*_asctime_sloc3_1_0,*(_asctime_sloc3_1_0 + 1)
	clr	*_asctime_sloc3_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 2, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 0)
	lda	(_asctime_timeptr_1_1 + 1)
	add	#0x02
;     storeRegToAop (a, DIR(_asctime_sloc4_1_0), 0), stacked=0, isaddr=1
	sta	*(_asctime_sloc4_1_0 + 1)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 1)
	lda	_asctime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_asctime_sloc4_1_0), 1), stacked=0, isaddr=1
	sta	*_asctime_sloc4_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_asctime_sloc4_1_0), 0)
	ldhx	*_asctime_sloc4_1_0
	lda	,x
;     storeRegToAop (a, DIR(_asctime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*_asctime_sloc4_1_0
;     genCast
	mov	*_asctime_sloc4_1_0,*(_asctime_sloc4_1_0 + 1)
	clr	*_asctime_sloc4_1_0
;time.c:94: __day[timeptr->tm_wday], __month[timeptr->tm_mon], timeptr->tm_mday,
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 3, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 0)
	lda	(_asctime_timeptr_1_1 + 1)
	add	#0x03
;     storeRegToAop (a, DIR(_asctime_sloc5_1_0), 0), stacked=0, isaddr=1
	sta	*(_asctime_sloc5_1_0 + 1)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 1)
	lda	_asctime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_asctime_sloc5_1_0), 1), stacked=0, isaddr=1
	sta	*_asctime_sloc5_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_asctime_sloc5_1_0), 0)
	ldhx	*_asctime_sloc5_1_0
	lda	,x
;     storeRegToAop (a, DIR(_asctime_sloc5_1_0), 0), stacked=0, isaddr=0
	sta	*_asctime_sloc5_1_0
;     genCast
	mov	*_asctime_sloc5_1_0,*(_asctime_sloc5_1_0 + 1)
	clr	*_asctime_sloc5_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 4, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 0)
	lda	(_asctime_timeptr_1_1 + 1)
	add	#0x04
;     storeRegToAop (a, DIR(_asctime_sloc6_1_0), 0), stacked=0, isaddr=1
	sta	*(_asctime_sloc6_1_0 + 1)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 1)
	lda	_asctime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_asctime_sloc6_1_0), 1), stacked=0, isaddr=1
	sta	*_asctime_sloc6_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_asctime_sloc6_1_0), 0)
	ldhx	*_asctime_sloc6_1_0
	lda	,x
;     storeRegToAop (a, DIR(_asctime_sloc6_1_0), 0), stacked=0, isaddr=0
	sta	*_asctime_sloc6_1_0
;     genMult
;     genMultOneByte
;     loadRegFromAop (a, DIR(_asctime_sloc6_1_0), 0)
	lda	*_asctime_sloc6_1_0
;     loadRegFromAop (x, LIT(#0x02), 0)
	ldx	#0x02
	mul
;     storeRegToAop (xa, DIR(_asctime_sloc6_1_0), 0), stacked=0, isaddr=0
;     storeRegToAop (a, DIR(_asctime_sloc6_1_0), 0), stacked=0, isaddr=0
	sta	*(_asctime_sloc6_1_0 + 1)
;     storeRegToAop (x, DIR(_asctime_sloc6_1_0), 1), stacked=0, isaddr=0
	stx	*_asctime_sloc6_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPointerGetOfs
;     aopDerefAop(IMMD(___month))
;     loadRegFromAop (hx, DIR(_asctime_sloc6_1_0), 0)
	ldhx	*_asctime_sloc6_1_0
	lda	(___month + 1),x
;     storeRegToAop (a, DIR(_asctime_sloc6_1_0), 0), stacked=0, isaddr=0
	sta	*(_asctime_sloc6_1_0 + 1)
	lda	___month,x
;     storeRegToAop (a, DIR(_asctime_sloc6_1_0), 1), stacked=0, isaddr=0
	sta	*_asctime_sloc6_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 7, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 0)
	lda	(_asctime_timeptr_1_1 + 1)
	add	#0x07
;     storeRegToAop (a, DIR(_asctime_sloc7_1_0), 0), stacked=0, isaddr=1
	sta	*(_asctime_sloc7_1_0 + 1)
;     loadRegFromAop (a, EXT(_asctime_timeptr_1_1), 1)
	lda	_asctime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_asctime_sloc7_1_0), 1), stacked=0, isaddr=1
	sta	*_asctime_sloc7_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_asctime_sloc7_1_0), 0)
	ldhx	*_asctime_sloc7_1_0
	lda	,x
;     storeRegToAop (a, DIR(_asctime_sloc7_1_0), 0), stacked=0, isaddr=0
	sta	*_asctime_sloc7_1_0
;     genMult
;     genMultOneByte
;     loadRegFromAop (a, DIR(_asctime_sloc7_1_0), 0)
	lda	*_asctime_sloc7_1_0
;     loadRegFromAop (x, LIT(#0x02), 0)
	ldx	#0x02
	mul
;     storeRegToAop (xa, DIR(_asctime_sloc7_1_0), 0), stacked=0, isaddr=0
;     storeRegToAop (a, DIR(_asctime_sloc7_1_0), 0), stacked=0, isaddr=0
	sta	*(_asctime_sloc7_1_0 + 1)
;     storeRegToAop (x, DIR(_asctime_sloc7_1_0), 1), stacked=0, isaddr=0
	stx	*_asctime_sloc7_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPointerGetOfs
;     aopDerefAop(IMMD(___day))
;     loadRegFromAop (hx, DIR(_asctime_sloc7_1_0), 0)
	ldhx	*_asctime_sloc7_1_0
	lda	(___day + 1),x
;     storeRegToAop (a, DIR(_asctime_sloc7_1_0), 0), stacked=0, isaddr=0
	sta	*(_asctime_sloc7_1_0 + 1)
	lda	___day,x
;     storeRegToAop (a, DIR(_asctime_sloc7_1_0), 1), stacked=0, isaddr=0
	sta	*_asctime_sloc7_1_0
;time.c:93: sprintf (ascTimeBuffer, "%s %s %2d %02d:%02d:%02d %04d\n",
;     genIpush
;     loadRegFromAop (a, DIR(_asctime_sloc0_1_0), 0)
	lda	*(_asctime_sloc0_1_0 + 1)
	psha
;     loadRegFromAop (a, DIR(_asctime_sloc0_1_0), 1)
	lda	*_asctime_sloc0_1_0
	psha
;     genIpush
;     loadRegFromAop (a, DIR(_asctime_sloc2_1_0), 0)
	lda	*(_asctime_sloc2_1_0 + 1)
	psha
;     loadRegFromAop (a, DIR(_asctime_sloc2_1_0), 1)
	lda	*_asctime_sloc2_1_0
	psha
;     genIpush
;     loadRegFromAop (a, DIR(_asctime_sloc3_1_0), 0)
	lda	*(_asctime_sloc3_1_0 + 1)
	psha
;     loadRegFromAop (a, DIR(_asctime_sloc3_1_0), 1)
	lda	*_asctime_sloc3_1_0
	psha
;     genIpush
;     loadRegFromAop (a, DIR(_asctime_sloc4_1_0), 0)
	lda	*(_asctime_sloc4_1_0 + 1)
	psha
;     loadRegFromAop (a, DIR(_asctime_sloc4_1_0), 1)
	lda	*_asctime_sloc4_1_0
	psha
;     genIpush
;     loadRegFromAop (a, DIR(_asctime_sloc5_1_0), 0)
	lda	*(_asctime_sloc5_1_0 + 1)
	psha
;     loadRegFromAop (a, DIR(_asctime_sloc5_1_0), 1)
	lda	*_asctime_sloc5_1_0
	psha
;     genIpush
;     loadRegFromAop (a, DIR(_asctime_sloc6_1_0), 0)
	lda	*(_asctime_sloc6_1_0 + 1)
	psha
;     loadRegFromAop (a, DIR(_asctime_sloc6_1_0), 1)
	lda	*_asctime_sloc6_1_0
	psha
;     genIpush
;     loadRegFromAop (a, DIR(_asctime_sloc7_1_0), 0)
	lda	*(_asctime_sloc7_1_0 + 1)
	psha
;     loadRegFromAop (a, DIR(_asctime_sloc7_1_0), 1)
	lda	*_asctime_sloc7_1_0
	psha
;     genIpush
;     loadRegFromAop (hx, IMMD(__str_0), 0)
	ldhx	#__str_0
	pshx
	pshh
;     genIpush
;     loadRegFromAop (hx, IMMD(_ascTimeBuffer), 0)
	ldhx	#_ascTimeBuffer
	pshx
	pshh
;     genCall
	jsr	_sprintf
	ais	#18
;time.c:97: return ascTimeBuffer;
;     genRet
;     loadRegFromAop (x, IMMD(_ascTimeBuffer), 1)
	ldx	#>_ascTimeBuffer
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, IMMD(_ascTimeBuffer), 0)
	lda	#_ascTimeBuffer
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00101$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'ctime'
;------------------------------------------------------------
;sloc0                     Allocated with name '_ctime_sloc0_1_0'
;timep                     Allocated with name '_ctime_timep_1_1'
;------------------------------------------------------------
;time.c:100: char *ctime(time_t *timep) {
;	-----------------------------------------
;	 function ctime
;	-----------------------------------------
_ctime:
;     genReceive
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_ctime_timep_1_1), 0), stacked=0, isaddr=0
	sta	(_ctime_timep_1_1 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_ctime_timep_1_1), 1), stacked=0, isaddr=0
	stx	_ctime_timep_1_1
;time.c:101: return asctime(localtime(timep));
;     genCall
;     loadRegFromAop (x, EXT(_ctime_timep_1_1), 1)
	ldx	_ctime_timep_1_1
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, EXT(_ctime_timep_1_1), 0)
	lda	(_ctime_timep_1_1 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	_localtime
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_ctime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_ctime_sloc0_1_0 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_ctime_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*_ctime_sloc0_1_0
;     genCall
;     loadRegFromAop (x, DIR(_ctime_sloc0_1_0), 1)
	ldx	*_ctime_sloc0_1_0
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, DIR(_ctime_sloc0_1_0), 0)
	lda	*(_ctime_sloc0_1_0 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	_asctime
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_ctime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_ctime_sloc0_1_0 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_ctime_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*_ctime_sloc0_1_0
;     genRet
;     loadRegFromAop (x, DIR(_ctime_sloc0_1_0), 1)
	ldx	*_ctime_sloc0_1_0
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, DIR(_ctime_sloc0_1_0), 0)
	lda	*(_ctime_sloc0_1_0 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00101$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'localtime'
;------------------------------------------------------------
;sloc0                     Allocated with name '_localtime_sloc0_1_0'
;timep                     Allocated with name '_localtime_timep_1_1'
;------------------------------------------------------------
;time.c:117: struct tm *localtime(time_t *timep) {
;	-----------------------------------------
;	 function localtime
;	-----------------------------------------
_localtime:
;     genReceive
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_localtime_timep_1_1), 0), stacked=0, isaddr=0
	sta	(_localtime_timep_1_1 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_localtime_timep_1_1), 1), stacked=0, isaddr=0
	stx	_localtime_timep_1_1
;time.c:118: return gmtime(timep);
;     genCall
;     loadRegFromAop (x, EXT(_localtime_timep_1_1), 1)
	ldx	_localtime_timep_1_1
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, EXT(_localtime_timep_1_1), 0)
	lda	(_localtime_timep_1_1 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	_gmtime
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_localtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_localtime_sloc0_1_0 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_localtime_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*_localtime_sloc0_1_0
;     genRet
;     loadRegFromAop (x, DIR(_localtime_sloc0_1_0), 1)
	ldx	*_localtime_sloc0_1_0
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, DIR(_localtime_sloc0_1_0), 0)
	lda	*(_localtime_sloc0_1_0 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00101$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'gmtime'
;------------------------------------------------------------
;sloc0                     Allocated with name '_gmtime_sloc0_1_0'
;sloc1                     Allocated with name '_gmtime_sloc1_1_0'
;sloc2                     Allocated with name '_gmtime_sloc2_1_0'
;timep                     Allocated with name '_gmtime_timep_1_1'
;epoch                     Allocated with name '_gmtime_epoch_1_1'
;year                      Allocated with name '_gmtime_year_1_1'
;month                     Allocated to registers 
;monthLength               Allocated with name '_gmtime_monthLength_1_1'
;days                      Allocated with name '_gmtime_days_1_1'
;------------------------------------------------------------
;time.c:121: struct tm *gmtime(time_t *timep) {
;	-----------------------------------------
;	 function gmtime
;	-----------------------------------------
_gmtime:
;     genReceive
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_gmtime_timep_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_timep_1_1 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_gmtime_timep_1_1), 1), stacked=0, isaddr=0
	stx	_gmtime_timep_1_1
;time.c:122: unsigned long epoch=*timep;
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, EXT(_gmtime_timep_1_1), 0)
;     loadRegFromAop (a, EXT(_gmtime_timep_1_1), 1)
	lda	_gmtime_timep_1_1
;     loadRegFromAop (x, EXT(_gmtime_timep_1_1), 0)
	ldx	(_gmtime_timep_1_1 + 1)
; transferRegReg(a,h)
	psha
	pulh
	lda	,x
	aix	#1
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_epoch_1_1
	lda	,x
	aix	#1
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 1)
	lda	,x
	aix	#1
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 1), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 2)
	lda	,x
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 3)
;time.c:127: lastTime.tm_sec=epoch%60;
;     genAssign
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
;     storeRegToAop (a, EXT(__modulong_PARM_1), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x3C), 0)
	lda	#0x3C
;     storeRegToAop (a, EXT(__modulong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x3C), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x3C), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x3C), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_2
;     genCall
	jsr	__modulong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc0_1_0 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_gmtime_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*(_gmtime_sloc0_1_0 + 2)
	mov	*__ret2,*(_gmtime_sloc0_1_0 + 1)
	mov	*__ret3,*_gmtime_sloc0_1_0
;     genCast
	mov	*(_gmtime_sloc0_1_0 + 3),*_gmtime_sloc0_1_0
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD(_lastTime))
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*_gmtime_sloc0_1_0
;     storeRegToAop (a, EXT(_lastTime), 0), stacked=0, isaddr=0
	sta	_lastTime
;time.c:128: epoch/=60; // now it is minutes
;     genAssign
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
;     storeRegToAop (a, EXT(__divulong_PARM_1), 3), stacked=0, isaddr=1
	sta	__divulong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x3C), 0)
	lda	#0x3C
;     storeRegToAop (a, EXT(__divulong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x3C), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x3C), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x3C), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 3), stacked=0, isaddr=1
	sta	__divulong_PARM_2
;     genCall
	jsr	__divulong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_gmtime_epoch_1_1), 1), stacked=0, isaddr=0
	stx	(_gmtime_epoch_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_epoch_1_1
;time.c:129: lastTime.tm_min=epoch%60;
;     genAssign
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
;     storeRegToAop (a, EXT(__modulong_PARM_1), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x3C), 0)
	lda	#0x3C
;     storeRegToAop (a, EXT(__modulong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x3C), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x3C), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x3C), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_2
;     genCall
	jsr	__modulong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc0_1_0 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_gmtime_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*(_gmtime_sloc0_1_0 + 2)
	mov	*__ret2,*(_gmtime_sloc0_1_0 + 1)
	mov	*__ret3,*_gmtime_sloc0_1_0
;     genCast
	mov	*(_gmtime_sloc0_1_0 + 3),*_gmtime_sloc0_1_0
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x0001)))
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*_gmtime_sloc0_1_0
;     storeRegToAop (a, EXT((_lastTime + 0x0001)), 0), stacked=0, isaddr=0
	sta	(_lastTime + 0x0001)
;time.c:130: epoch/=60; // now it is hours
;     genAssign
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
;     storeRegToAop (a, EXT(__divulong_PARM_1), 3), stacked=0, isaddr=1
	sta	__divulong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x3C), 0)
	lda	#0x3C
;     storeRegToAop (a, EXT(__divulong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x3C), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x3C), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x3C), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 3), stacked=0, isaddr=1
	sta	__divulong_PARM_2
;     genCall
	jsr	__divulong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_gmtime_epoch_1_1), 1), stacked=0, isaddr=0
	stx	(_gmtime_epoch_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_epoch_1_1
;time.c:131: lastTime.tm_hour=epoch%24;
;     genAssign
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
;     storeRegToAop (a, EXT(__modulong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
;     storeRegToAop (a, EXT(__modulong_PARM_1), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x18), 0)
	lda	#0x18
;     storeRegToAop (a, EXT(__modulong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x18), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x18), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x18), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_2
;     genCall
	jsr	__modulong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc0_1_0 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_gmtime_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*(_gmtime_sloc0_1_0 + 2)
	mov	*__ret2,*(_gmtime_sloc0_1_0 + 1)
	mov	*__ret3,*_gmtime_sloc0_1_0
;     genCast
	mov	*(_gmtime_sloc0_1_0 + 3),*_gmtime_sloc0_1_0
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x0002)))
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*_gmtime_sloc0_1_0
;     storeRegToAop (a, EXT((_lastTime + 0x0002)), 0), stacked=0, isaddr=0
	sta	(_lastTime + 0x0002)
;time.c:132: epoch/=24; // now it is days
;     genAssign
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
;     storeRegToAop (a, EXT(__divulong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__divulong_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
;     storeRegToAop (a, EXT(__divulong_PARM_1), 3), stacked=0, isaddr=1
	sta	__divulong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x18), 0)
	lda	#0x18
;     storeRegToAop (a, EXT(__divulong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x18), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x18), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__divulong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x18), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__divulong_PARM_2), 3), stacked=0, isaddr=1
	sta	__divulong_PARM_2
;     genCall
	jsr	__divulong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_gmtime_epoch_1_1), 1), stacked=0, isaddr=0
	stx	(_gmtime_epoch_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_epoch_1_1
;time.c:133: lastTime.tm_wday=(epoch+4)%7;
; checking lic
; checking IS_ITEMP
;     genPlus
; IS_AOP_HX = 0
; icount = 4, sameRegs=0
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
	add	#0x04
;     storeRegToAop (a, EXT(__modulong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
	adc	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
	adc	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
	adc	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_1), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x07), 0)
	lda	#0x07
;     storeRegToAop (a, EXT(__modulong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x07), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x07), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__modulong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x07), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__modulong_PARM_2), 3), stacked=0, isaddr=1
	sta	__modulong_PARM_2
;     genCall
	jsr	__modulong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc0_1_0 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_gmtime_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*(_gmtime_sloc0_1_0 + 2)
	mov	*__ret2,*(_gmtime_sloc0_1_0 + 1)
	mov	*__ret3,*_gmtime_sloc0_1_0
;     genCast
	mov	*(_gmtime_sloc0_1_0 + 3),*_gmtime_sloc0_1_0
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x0007)))
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*_gmtime_sloc0_1_0
;     storeRegToAop (a, EXT((_lastTime + 0x0007)), 0), stacked=0, isaddr=0
	sta	(_lastTime + 0x0007)
;time.c:136: days=0;
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 1), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_days_1_1
;time.c:137: while((days += (LEAP_YEAR(year) ? 366 : 365)) <= epoch) {
;     genAssign
	mov	#0xB2,*(_gmtime_sloc0_1_0 + 1)
	mov	#0x07,*_gmtime_sloc0_1_0
00101$:
;     genAnd
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*(_gmtime_sloc0_1_0 + 1)
	and	#0x03
;     storeRegToAop (a, DIR(_gmtime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc1_1_0 + 1)
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 1)
	lda	*_gmtime_sloc0_1_0
	and	#0x00
;     storeRegToAop (a, DIR(_gmtime_sloc1_1_0), 1), stacked=0, isaddr=0
	sta	*_gmtime_sloc1_1_0
;     genCmpEq
;     loadRegFromAop (a, DIR(_gmtime_sloc1_1_0), 0)
	lda	*(_gmtime_sloc1_1_0 + 1)
	cmp	#0x00
	bne	00132$
;     loadRegFromAop (a, DIR(_gmtime_sloc1_1_0), 1)
	lda	*_gmtime_sloc1_1_0
	cmp	#0x00
	bne	00132$
	bra	00133$
00132$:
; Peephole 3	- shortened jmp to bra
	bra	00119$
00133$:
;     genAssign
	mov	#0x6E,*(_gmtime_sloc1_1_0 + 1)
	mov	#0x01,*_gmtime_sloc1_1_0
; Peephole 3	- shortened jmp to bra
	bra	00120$
00119$:
;     genAssign
	mov	#0x6D,*(_gmtime_sloc1_1_0 + 1)
	mov	#0x01,*_gmtime_sloc1_1_0
00120$:
;     genCast
	mov	*(_gmtime_sloc1_1_0 + 1),*(_gmtime_sloc2_1_0 + 3)
	mov	*_gmtime_sloc1_1_0,*(_gmtime_sloc2_1_0 + 2)
;     loadRegFromAop (a, DIR(_gmtime_sloc1_1_0), 1)
	lda	*_gmtime_sloc1_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 2), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 1)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 3), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 0)
	lda	(_gmtime_days_1_1 + 3)
	add	*(_gmtime_sloc2_1_0 + 3)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 3)
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 1)
	lda	(_gmtime_days_1_1 + 2)
	adc	*(_gmtime_sloc2_1_0 + 2)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 1), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 2)
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 2)
	lda	(_gmtime_days_1_1 + 1)
	adc	*(_gmtime_sloc2_1_0 + 1)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 2), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 1)
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 3)
	lda	_gmtime_days_1_1
	adc	*_gmtime_sloc2_1_0
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 3), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genAssign
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 0)
	lda	*(_gmtime_sloc2_1_0 + 3)
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 3)
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 1)
	lda	*(_gmtime_sloc2_1_0 + 2)
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 1), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 2)
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 2)
	lda	*(_gmtime_sloc2_1_0 + 1)
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 1)
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 3)
	lda	*_gmtime_sloc2_1_0
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_days_1_1
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
	sub	*(_gmtime_sloc2_1_0 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
	sbc	*(_gmtime_sloc2_1_0 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
	sbc	*(_gmtime_sloc2_1_0 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
	sbc	*_gmtime_sloc2_1_0
	clra
	rola
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genAssign
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*(_gmtime_sloc0_1_0 + 1)
;     storeRegToAop (a, EXT(_gmtime_year_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_year_1_1 + 1)
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 1)
	lda	*_gmtime_sloc0_1_0
;     storeRegToAop (a, EXT(_gmtime_year_1_1), 1), stacked=0, isaddr=0
	sta	_gmtime_year_1_1
;     genIfx
	tst	*_gmtime_sloc2_1_0
;     genIfxJump
; Peephole 2c	- eliminated jmp
	bne	00103$
00134$:
;time.c:138: year++;
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
;     loadRegFromAop (hx, DIR(_gmtime_sloc0_1_0), 0)
	ldhx	*_gmtime_sloc0_1_0
	aix	#1
;     storeRegToAop (hx, DIR(_gmtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sthx	*_gmtime_sloc0_1_0
	jmp	00101$
00103$:
;time.c:140: lastTime.tm_year=year-1900;
;     genMinus
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*(_gmtime_sloc0_1_0 + 1)
	sub	#0x6C
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 1)
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 1)
	lda	*_gmtime_sloc0_1_0
	sbc	#0x07
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 1), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x0005)))
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 0)
	lda	*(_gmtime_sloc2_1_0 + 1)
;     storeRegToAop (a, EXT((_lastTime + 0x0005)), 0), stacked=0, isaddr=0
	sta	((_lastTime + 0x0005) + 1)
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 1)
	lda	*_gmtime_sloc2_1_0
;     storeRegToAop (a, EXT((_lastTime + 0x0005)), 1), stacked=0, isaddr=0
	sta	(_lastTime + 0x0005)
;time.c:142: days -= LEAP_YEAR(year) ? 366 : 365;
;     genAnd
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 0)
	lda	*(_gmtime_sloc0_1_0 + 1)
	and	#0x03
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 1)
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 1)
	lda	*_gmtime_sloc0_1_0
	and	#0x00
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 1), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genCmpEq
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 0)
	lda	*(_gmtime_sloc2_1_0 + 1)
	cmp	#0x00
	bne	00135$
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 1)
	lda	*_gmtime_sloc2_1_0
	cmp	#0x00
	bne	00135$
	bra	00136$
00135$:
; Peephole 3	- shortened jmp to bra
	bra	00121$
00136$:
;     genAssign
	mov	#0x6E,*(_gmtime_sloc2_1_0 + 1)
	mov	#0x01,*_gmtime_sloc2_1_0
; Peephole 3	- shortened jmp to bra
	bra	00122$
00121$:
;     genAssign
	mov	#0x6D,*(_gmtime_sloc2_1_0 + 1)
	mov	#0x01,*_gmtime_sloc2_1_0
00122$:
;     genCast
	mov	*(_gmtime_sloc2_1_0 + 1),*(_gmtime_sloc2_1_0 + 3)
	mov	*_gmtime_sloc2_1_0,*(_gmtime_sloc2_1_0 + 2)
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 1)
	lda	*_gmtime_sloc2_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 2), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 1)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 3), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genMinus
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 0)
	lda	(_gmtime_days_1_1 + 3)
	sub	*(_gmtime_sloc2_1_0 + 3)
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 1)
	lda	(_gmtime_days_1_1 + 2)
	sbc	*(_gmtime_sloc2_1_0 + 2)
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 1), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 2)
	lda	(_gmtime_days_1_1 + 1)
	sbc	*(_gmtime_sloc2_1_0 + 1)
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_days_1_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_days_1_1), 3)
	lda	_gmtime_days_1_1
	sbc	*_gmtime_sloc2_1_0
;     storeRegToAop (a, EXT(_gmtime_days_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_days_1_1
;time.c:143: epoch -= days; // now it is days in this year, starting at 0
;     genMinus
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
	sub	(_gmtime_days_1_1 + 3)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
	sbc	(_gmtime_days_1_1 + 2)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 1), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
	sbc	(_gmtime_days_1_1 + 1)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
	sbc	_gmtime_days_1_1
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_epoch_1_1
;time.c:144: lastTime.tm_yday=epoch;
;     genCast
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 1), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x0008)))
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 0)
	lda	*(_gmtime_sloc2_1_0 + 1)
;     storeRegToAop (a, EXT((_lastTime + 0x0008)), 0), stacked=0, isaddr=0
	sta	((_lastTime + 0x0008) + 1)
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 1)
	lda	*_gmtime_sloc2_1_0
;     storeRegToAop (a, EXT((_lastTime + 0x0008)), 1), stacked=0, isaddr=0
	sta	(_lastTime + 0x0008)
;time.c:149: for (month=0; month<12; month++) {
;     genAnd
;     loadRegFromAop (a, EXT(_gmtime_year_1_1), 0)
	lda	(_gmtime_year_1_1 + 1)
	and	#0x03
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc2_1_0 + 1)
;     loadRegFromAop (a, EXT(_gmtime_year_1_1), 1)
	lda	_gmtime_year_1_1
	and	#0x00
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 1), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genCmpEq
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 0)
	lda	*(_gmtime_sloc2_1_0 + 1)
	cmp	#0x00
	bne	00137$
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 1)
	lda	*_gmtime_sloc2_1_0
	cmp	#0x00
	bne	00137$
	lda	#0x01
	bra	00138$
00137$:
	clra
00138$:
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
;     genAssign
	mov	#0x00,*_gmtime_sloc1_1_0
00113$:
;     genCmpLt
;     genCmp
;     loadRegFromAop (a, DIR(_gmtime_sloc1_1_0), 0)
	lda	*_gmtime_sloc1_1_0
	cmp	#0x0C
;     genIfxJump
	bcs	00139$
	jmp	00116$
00139$:
;time.c:150: if (month==1) { // februari
;     genCmpEq
;     loadRegFromAop (a, DIR(_gmtime_sloc1_1_0), 0)
	lda	*_gmtime_sloc1_1_0
	cmp	#0x01
	bne	00140$
	bra	00141$
00140$:
; Peephole 3	- shortened jmp to bra
	bra	00108$
00141$:
;time.c:151: if (LEAP_YEAR(year)) {
;     genIfx
	tst	*_gmtime_sloc2_1_0
;     genIfxJump
; Peephole 2d	- eliminated jmp
	beq	00105$
00142$:
;time.c:152: monthLength=29;
;     genAssign
;     loadRegFromAop (a, LIT(#0x1D), 0)
	lda	#0x1D
;     storeRegToAop (a, EXT(_gmtime_monthLength_1_1), 0), stacked=0, isaddr=0
	sta	_gmtime_monthLength_1_1
; Peephole 3	- shortened jmp to bra
	bra	00109$
00105$:
;time.c:154: monthLength=28;
;     genAssign
;     loadRegFromAop (a, LIT(#0x1C), 0)
	lda	#0x1C
;     storeRegToAop (a, EXT(_gmtime_monthLength_1_1), 0), stacked=0, isaddr=0
	sta	_gmtime_monthLength_1_1
; Peephole 3	- shortened jmp to bra
	bra	00109$
00108$:
;time.c:157: monthLength = monthDays[month];
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPointerGetOfs
;     aopDerefAop(IMMD(_monthDays))
;     loadRegFromAop (hx, DIR(_gmtime_sloc1_1_0), 0)
;     loadRegFromAop (x, DIR(_gmtime_sloc1_1_0), 0)
	ldx	*_gmtime_sloc1_1_0
	clrh
	lda	_monthDays,x
;     storeRegToAop (a, EXT(_gmtime_monthLength_1_1), 0), stacked=0, isaddr=0
	sta	_gmtime_monthLength_1_1
00109$:
;time.c:160: if (epoch>=monthLength) {
;     genCast
;     loadRegFromAop (a, EXT(_gmtime_monthLength_1_1), 0)
	lda	_gmtime_monthLength_1_1
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc0_1_0 + 3)
	clr	*(_gmtime_sloc0_1_0 + 2)
	clr	*(_gmtime_sloc0_1_0 + 1)
	clr	*_gmtime_sloc0_1_0
;     genCmpLt
;     genCmp
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
	sub	*(_gmtime_sloc0_1_0 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
	sbc	*(_gmtime_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
	sbc	*(_gmtime_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
	sbc	*_gmtime_sloc0_1_0
;     genIfxJump
; Peephole 2b	- eliminated jmp
	bcs	00116$
00143$:
;time.c:161: epoch-=monthLength;
;     genCast
;     loadRegFromAop (a, EXT(_gmtime_monthLength_1_1), 0)
	lda	_gmtime_monthLength_1_1
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_gmtime_sloc0_1_0 + 1)
	clr	*_gmtime_sloc0_1_0
;     genCast
	mov	*(_gmtime_sloc0_1_0 + 1),*(_gmtime_sloc0_1_0 + 3)
	mov	*_gmtime_sloc0_1_0,*(_gmtime_sloc0_1_0 + 2)
;     loadRegFromAop (a, DIR(_gmtime_sloc0_1_0), 1)
	lda	*_gmtime_sloc0_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(_gmtime_sloc0_1_0 + 1)
;     storeRegToAop (a, DIR(_gmtime_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*_gmtime_sloc0_1_0
;     genMinus
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
	sub	*(_gmtime_sloc0_1_0 + 3)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 0), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 3)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 1)
	lda	(_gmtime_epoch_1_1 + 2)
	sbc	*(_gmtime_sloc0_1_0 + 2)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 1), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 2)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 2)
	lda	(_gmtime_epoch_1_1 + 1)
	sbc	*(_gmtime_sloc0_1_0 + 1)
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 2), stacked=0, isaddr=0
	sta	(_gmtime_epoch_1_1 + 1)
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 3)
	lda	_gmtime_epoch_1_1
	sbc	*_gmtime_sloc0_1_0
;     storeRegToAop (a, EXT(_gmtime_epoch_1_1), 3), stacked=0, isaddr=0
	sta	_gmtime_epoch_1_1
;time.c:149: for (month=0; month<12; month++) {
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
; icount = 1, sameRegs=1
;     genPlusIncr
	inc	*_gmtime_sloc1_1_0
	jmp	00113$
00116$:
;time.c:166: lastTime.tm_mon=month;
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x0004)))
;     loadRegFromAop (a, DIR(_gmtime_sloc1_1_0), 0)
	lda	*_gmtime_sloc1_1_0
;     storeRegToAop (a, EXT((_lastTime + 0x0004)), 0), stacked=0, isaddr=0
	sta	(_lastTime + 0x0004)
;time.c:167: lastTime.tm_mday=epoch+1;
;     genCast
;     loadRegFromAop (a, EXT(_gmtime_epoch_1_1), 0)
	lda	(_gmtime_epoch_1_1 + 3)
;     storeRegToAop (a, DIR(_gmtime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*_gmtime_sloc2_1_0
; checking lic
; checking IS_ITEMP
; pset=1, pget=0
; checking pset operandsEqu
;     genPlus
; IS_AOP_HX = 0
; icount = 1, sameRegs=0
;  left size = 1
;  right size = 1
;  result size = 1
;     loadRegFromAop (a, DIR(_gmtime_sloc2_1_0), 0)
	lda	*_gmtime_sloc2_1_0
	add	#0x01
;     storeRegToAop (a, REG(-,-,x,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x0003)))
;     loadRegFromAop (a, REG(-,-,x,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT((_lastTime + 0x0003)), 0), stacked=0, isaddr=0
	sta	(_lastTime + 0x0003)
; forgot to free a
;time.c:169: lastTime.tm_isdst=0;
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_lastTime + 0x000a)))
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT((_lastTime + 0x000a)), 0), stacked=0, isaddr=0
	sta	(_lastTime + 0x000a)
;time.c:171: return &lastTime;
;     genRet
;     loadRegFromAop (x, IMMD(_lastTime), 1)
	ldx	#>_lastTime
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, IMMD(_lastTime), 0)
	lda	#_lastTime
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00117$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'mktime'
;------------------------------------------------------------
;sloc0                     Allocated with name '_mktime_sloc0_1_0'
;sloc1                     Allocated with name '_mktime_sloc1_1_0'
;sloc2                     Allocated with name '_mktime_sloc2_1_0'
;sloc3                     Allocated with name '_mktime_sloc3_1_0'
;sloc4                     Allocated with name '_mktime_sloc4_1_0'
;timeptr                   Allocated with name '_mktime_timeptr_1_1'
;year                      Allocated with name '_mktime_year_1_1'
;month                     Allocated with name '_mktime_month_1_1'
;i                         Allocated to registers 
;seconds                   Allocated with name '_mktime_seconds_1_1'
;------------------------------------------------------------
;time.c:175: time_t mktime(struct tm *timeptr) {
;	-----------------------------------------
;	 function mktime
;	-----------------------------------------
_mktime:
;     genReceive
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_mktime_timeptr_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_timeptr_1_1 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_mktime_timeptr_1_1), 1), stacked=0, isaddr=0
	stx	_mktime_timeptr_1_1
;time.c:176: int year=timeptr->tm_year+1900, month=timeptr->tm_mon, i;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 5, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 0)
	lda	(_mktime_timeptr_1_1 + 1)
	add	#0x05
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 0), stacked=0, isaddr=1
	sta	*(_mktime_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 1)
	lda	_mktime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 1), stacked=0, isaddr=1
	sta	*_mktime_sloc0_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_mktime_sloc0_1_0), 0)
	ldhx	*_mktime_sloc0_1_0
	lda	,x
	aix	#1
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*_mktime_sloc0_1_0
	lda	,x
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc0_1_0 + 1)
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
; icount = 1900, sameRegs=0
;  left size = 2
;  right size = 2
;  result size = 2
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 0)
	lda	*(_mktime_sloc0_1_0 + 1)
	add	#0x6C
;     storeRegToAop (a, EXT(_mktime_year_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_year_1_1 + 1)
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 1)
	lda	*_mktime_sloc0_1_0
	adc	#0x07
;     storeRegToAop (a, EXT(_mktime_year_1_1), 1), stacked=0, isaddr=0
	sta	_mktime_year_1_1
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 4, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 0)
	lda	(_mktime_timeptr_1_1 + 1)
	add	#0x04
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 0), stacked=0, isaddr=1
	sta	*(_mktime_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 1)
	lda	_mktime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 1), stacked=0, isaddr=1
	sta	*_mktime_sloc0_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_mktime_sloc0_1_0), 0)
	ldhx	*_mktime_sloc0_1_0
	lda	,x
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc0_1_0
;     genCast
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 0)
	lda	*_mktime_sloc0_1_0
;     storeRegToAop (a, EXT(_mktime_month_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_month_1_1 + 1)
	clra
;     storeRegToAop (a, EXT(_mktime_month_1_1), 1), stacked=0, isaddr=0
	sta	_mktime_month_1_1
;time.c:179: CheckTime(timeptr);
;     genCall
;     loadRegFromAop (x, EXT(_mktime_timeptr_1_1), 1)
	ldx	_mktime_timeptr_1_1
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 0)
	lda	(_mktime_timeptr_1_1 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	_CheckTime
;time.c:182: seconds= (year-1970)*(60*60*24L*365);
;     genMinus
;     loadRegFromAop (a, EXT(_mktime_year_1_1), 0)
	lda	(_mktime_year_1_1 + 1)
	sub	#0xB2
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_year_1_1), 1)
	lda	_mktime_year_1_1
	sbc	#0x07
;     storeRegToAop (a, DIR(_mktime_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*_mktime_sloc0_1_0
;     genCast
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 0)
	lda	*(_mktime_sloc0_1_0 + 1)
;     storeRegToAop (a, EXT(__mullong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__mullong_PARM_1 + 3)
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 1)
	lda	*_mktime_sloc0_1_0
;     storeRegToAop (a, EXT(__mullong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__mullong_PARM_1 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 1)
	lda	*_mktime_sloc0_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, EXT(__mullong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__mullong_PARM_1 + 1)
;     storeRegToAop (a, EXT(__mullong_PARM_1), 3), stacked=0, isaddr=1
	sta	__mullong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x80), 0)
	lda	#0x80
;     storeRegToAop (a, EXT(__mullong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__mullong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x80), 1)
	lda	#0x33
;     storeRegToAop (a, EXT(__mullong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__mullong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x80), 2)
	lda	#0xE1
;     storeRegToAop (a, EXT(__mullong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__mullong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x80), 3)
	lda	#0x01
;     storeRegToAop (a, EXT(__mullong_PARM_2), 3), stacked=0, isaddr=1
	sta	__mullong_PARM_2
;     genCall
	jsr	__mullong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	stx	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
;time.c:185: for (i=1970; i<year; i++) {
;     genAssign
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc1_1_0 + 3)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 1)
	lda	(_mktime_seconds_1_1 + 2)
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 1), stacked=0, isaddr=0
	sta	*(_mktime_sloc1_1_0 + 2)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 2), stacked=0, isaddr=0
	sta	*(_mktime_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 3), stacked=0, isaddr=0
	sta	*_mktime_sloc1_1_0
;     genAssign
	mov	#0xB2,*(_mktime_sloc0_1_0 + 1)
	mov	#0x07,*_mktime_sloc0_1_0
00107$:
;     genCmpLt
;     genCmp
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 0)
	lda	*(_mktime_sloc0_1_0 + 1)
	sub	(_mktime_year_1_1 + 1)
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 1)
	lda	*_mktime_sloc0_1_0
	sbc	_mktime_year_1_1
	blt	00124$
	clra
	bra	00125$
00124$:
	lda	#0x01
00125$:
;     storeRegToAop (a, DIR(_mktime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc2_1_0
;     genAssign
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 0)
	lda	*(_mktime_sloc1_1_0 + 3)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 1)
	lda	*(_mktime_sloc1_1_0 + 2)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 2)
	lda	*(_mktime_sloc1_1_0 + 1)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 3)
	lda	*_mktime_sloc1_1_0
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
;     genIfx
	tst	*_mktime_sloc2_1_0
;     genIfxJump
; Peephole 2d	- eliminated jmp
	beq	00123$
00126$:
;time.c:186: if (LEAP_YEAR(i)) {
;     genAnd
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 0)
	lda	*(_mktime_sloc0_1_0 + 1)
	and	#0x03
;     storeRegToAop (a, DIR(_mktime_sloc3_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc3_1_0 + 1)
;     loadRegFromAop (a, DIR(_mktime_sloc0_1_0), 1)
	lda	*_mktime_sloc0_1_0
	and	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc3_1_0), 1), stacked=0, isaddr=0
	sta	*_mktime_sloc3_1_0
;     genCmpEq
;     loadRegFromAop (a, DIR(_mktime_sloc3_1_0), 0)
	lda	*(_mktime_sloc3_1_0 + 1)
	cmp	#0x00
	bne	00127$
;     loadRegFromAop (a, DIR(_mktime_sloc3_1_0), 1)
	lda	*_mktime_sloc3_1_0
	cmp	#0x00
	bne	00127$
	bra	00128$
00127$:
; Peephole 3	- shortened jmp to bra
	bra	00109$
00128$:
;time.c:187: seconds+= 60*60*24L;
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
; icount = 86400, sameRegs=1
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 0)
	lda	*(_mktime_sloc1_1_0 + 3)
	add	#0x80
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc1_1_0 + 3)
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 1)
	lda	*(_mktime_sloc1_1_0 + 2)
	adc	#0x51
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 1), stacked=0, isaddr=0
	sta	*(_mktime_sloc1_1_0 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 2)
	lda	*(_mktime_sloc1_1_0 + 1)
	adc	#0x01
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 2), stacked=0, isaddr=0
	sta	*(_mktime_sloc1_1_0 + 1)
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 3)
	lda	*_mktime_sloc1_1_0
	adc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc1_1_0), 3), stacked=0, isaddr=0
	sta	*_mktime_sloc1_1_0
00109$:
;time.c:185: for (i=1970; i<year; i++) {
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
;     loadRegFromAop (hx, DIR(_mktime_sloc0_1_0), 0)
	ldhx	*_mktime_sloc0_1_0
	aix	#1
;     storeRegToAop (hx, DIR(_mktime_sloc0_1_0), 0), stacked=0, isaddr=0
	sthx	*_mktime_sloc0_1_0
	jmp	00107$
;time.c:192: for (i=0; i<month; i++) {
00123$:
;     genAnd
;     loadRegFromAop (a, EXT(_mktime_year_1_1), 0)
	lda	(_mktime_year_1_1 + 1)
	and	#0x03
;     storeRegToAop (a, DIR(_mktime_sloc3_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc3_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_year_1_1), 1)
	lda	_mktime_year_1_1
	and	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc3_1_0), 1), stacked=0, isaddr=0
	sta	*_mktime_sloc3_1_0
;     genCmpEq
;     loadRegFromAop (a, DIR(_mktime_sloc3_1_0), 0)
	lda	*(_mktime_sloc3_1_0 + 1)
	cmp	#0x00
	bne	00129$
;     loadRegFromAop (a, DIR(_mktime_sloc3_1_0), 1)
	lda	*_mktime_sloc3_1_0
	cmp	#0x00
	bne	00129$
	lda	#0x01
	bra	00130$
00129$:
	clra
00130$:
;     storeRegToAop (a, DIR(_mktime_sloc3_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc3_1_0
;     genAssign
	mov	#0x00,*(_mktime_sloc1_1_0 + 1)
	mov	#0x00,*_mktime_sloc1_1_0
00111$:
;     genCmpLt
;     genCmp
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 0)
	lda	*(_mktime_sloc1_1_0 + 1)
	sub	(_mktime_month_1_1 + 1)
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 1)
	lda	*_mktime_sloc1_1_0
	sbc	_mktime_month_1_1
;     genIfxJump
	blt	00131$
	jmp	00114$
00131$:
;time.c:193: if (i==1 && LEAP_YEAR(year)) { 
;     genCmpEq
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 0)
	lda	*(_mktime_sloc1_1_0 + 1)
	cmp	#0x01
	bne	00132$
;     loadRegFromAop (a, DIR(_mktime_sloc1_1_0), 1)
	lda	*_mktime_sloc1_1_0
	cmp	#0x00
	bne	00132$
	bra	00133$
00132$:
; Peephole 3	- shortened jmp to bra
	bra	00104$
00133$:
;     genIfx
	tst	*_mktime_sloc3_1_0
;     genIfxJump
; Peephole 2d	- eliminated jmp
	beq	00104$
00134$:
;time.c:194: seconds+= 60*60*24L*29;
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
; icount = 2505600, sameRegs=1
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
	add	#0x80
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 1)
	lda	(_mktime_seconds_1_1 + 2)
	adc	#0x3B
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
	adc	#0x26
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
	adc	#0x00
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
; Peephole 3	- shortened jmp to bra
	bra	00113$
00104$:
;time.c:196: seconds+= 60*60*24L*monthDays[i];
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPointerGetOfs
;     aopDerefAop(IMMD(_monthDays))
;     loadRegFromAop (hx, DIR(_mktime_sloc1_1_0), 0)
	ldhx	*_mktime_sloc1_1_0
	lda	_monthDays,x
;     storeRegToAop (a, DIR(_mktime_sloc2_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc2_1_0
;     genCast
;     loadRegFromAop (a, DIR(_mktime_sloc2_1_0), 0)
	lda	*_mktime_sloc2_1_0
;     storeRegToAop (a, EXT(__mullong_PARM_1), 0), stacked=0, isaddr=1
	sta	(__mullong_PARM_1 + 3)
;     loadRegFromAop (a, DIR(_mktime_sloc2_1_0), 0)
	lda	*_mktime_sloc2_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, EXT(__mullong_PARM_1), 1), stacked=0, isaddr=1
	sta	(__mullong_PARM_1 + 2)
;     storeRegToAop (a, EXT(__mullong_PARM_1), 2), stacked=0, isaddr=1
	sta	(__mullong_PARM_1 + 1)
;     storeRegToAop (a, EXT(__mullong_PARM_1), 3), stacked=0, isaddr=1
	sta	__mullong_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x80), 0)
	lda	#0x80
;     storeRegToAop (a, EXT(__mullong_PARM_2), 0), stacked=0, isaddr=1
	sta	(__mullong_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x80), 1)
	lda	#0x51
;     storeRegToAop (a, EXT(__mullong_PARM_2), 1), stacked=0, isaddr=1
	sta	(__mullong_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x80), 2)
	lda	#0x01
;     storeRegToAop (a, EXT(__mullong_PARM_2), 2), stacked=0, isaddr=1
	sta	(__mullong_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x80), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(__mullong_PARM_2), 3), stacked=0, isaddr=1
	sta	__mullong_PARM_2
;     genCall
	jsr	__mullong
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_mktime_sloc4_1_0), 1), stacked=0, isaddr=0
	stx	*(_mktime_sloc4_1_0 + 2)
	mov	*__ret2,*(_mktime_sloc4_1_0 + 1)
	mov	*__ret3,*_mktime_sloc4_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
	add	*(_mktime_sloc4_1_0 + 3)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 1)
	lda	(_mktime_seconds_1_1 + 2)
	adc	*(_mktime_sloc4_1_0 + 2)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
	adc	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
	adc	*_mktime_sloc4_1_0
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
00113$:
;time.c:192: for (i=0; i<month; i++) {
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
;     loadRegFromAop (hx, DIR(_mktime_sloc1_1_0), 0)
	ldhx	*_mktime_sloc1_1_0
	aix	#1
;     storeRegToAop (hx, DIR(_mktime_sloc1_1_0), 0), stacked=0, isaddr=0
	sthx	*_mktime_sloc1_1_0
	jmp	00111$
00114$:
;time.c:200: seconds+= timeptr->tm_mday-1*60*60*24L;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 3, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 0)
	lda	(_mktime_timeptr_1_1 + 1)
	add	#0x03
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=1
	sta	*(_mktime_sloc4_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 1)
	lda	_mktime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 1), stacked=0, isaddr=1
	sta	*_mktime_sloc4_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_mktime_sloc4_1_0), 0)
	ldhx	*_mktime_sloc4_1_0
	lda	,x
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
;     genCast
	mov	*_mktime_sloc4_1_0,*(_mktime_sloc4_1_0 + 1)
	clr	*_mktime_sloc4_1_0
;     genCast
	mov	*(_mktime_sloc4_1_0 + 1),*(_mktime_sloc4_1_0 + 3)
	mov	*_mktime_sloc4_1_0,*(_mktime_sloc4_1_0 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 1)
	lda	*_mktime_sloc4_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 2), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 3), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
;     genMinus
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 0)
	lda	*(_mktime_sloc4_1_0 + 3)
	sub	#0x80
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 3)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 1)
	lda	*(_mktime_sloc4_1_0 + 2)
	sbc	#0x51
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 1), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 2)
	lda	*(_mktime_sloc4_1_0 + 1)
	sbc	#0x01
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 2), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 1)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 3)
	lda	*_mktime_sloc4_1_0
	sbc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 3), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
	add	*(_mktime_sloc4_1_0 + 3)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 1)
	lda	(_mktime_seconds_1_1 + 2)
	adc	*(_mktime_sloc4_1_0 + 2)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
	adc	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
	adc	*_mktime_sloc4_1_0
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
;time.c:201: seconds+= timeptr->tm_hour*60*60;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 2, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 0)
	lda	(_mktime_timeptr_1_1 + 1)
	add	#0x02
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=1
	sta	*(_mktime_sloc4_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 1)
	lda	_mktime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 1), stacked=0, isaddr=1
	sta	*_mktime_sloc4_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_mktime_sloc4_1_0), 0)
	ldhx	*_mktime_sloc4_1_0
	lda	,x
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
;     genCast
	mov	*_mktime_sloc4_1_0,*(_mktime_sloc4_1_0 + 1)
	clr	*_mktime_sloc4_1_0
;     genAssign
;     loadRegFromAop (a, LIT(#0x10), 0)
	lda	#0x10
;     storeRegToAop (a, EXT(__mulint_PARM_2), 0), stacked=0, isaddr=1
	sta	(__mulint_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x10), 1)
	lda	#0x0E
;     storeRegToAop (a, EXT(__mulint_PARM_2), 1), stacked=0, isaddr=1
	sta	__mulint_PARM_2
;     genCall
;     loadRegFromAop (x, DIR(_mktime_sloc4_1_0), 1)
	ldx	*_mktime_sloc4_1_0
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 0)
	lda	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jsr	__mulint
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 1)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_mktime_sloc4_1_0), 1), stacked=0, isaddr=0
	stx	*_mktime_sloc4_1_0
;     genCast
	mov	*(_mktime_sloc4_1_0 + 1),*(_mktime_sloc4_1_0 + 3)
	mov	*_mktime_sloc4_1_0,*(_mktime_sloc4_1_0 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 1)
	lda	*_mktime_sloc4_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 2), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 3), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
	add	*(_mktime_sloc4_1_0 + 3)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 1)
	lda	(_mktime_seconds_1_1 + 2)
	adc	*(_mktime_sloc4_1_0 + 2)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
	adc	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
	adc	*_mktime_sloc4_1_0
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
;time.c:202: seconds+= timeptr->tm_min*60;
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
; checking IS_SYMOP
; checking !IS_TRUE_SYMOP
; checking remat
;     genPlus
; IS_AOP_HX = 0
; icount = 1, sameRegs=0
;  left size = 2
;  right size = 1
;  result size = 2
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 0)
	lda	(_mktime_timeptr_1_1 + 1)
	add	#0x01
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=1
	sta	*(_mktime_sloc4_1_0 + 1)
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 1)
	lda	_mktime_timeptr_1_1
	adc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 1), stacked=0, isaddr=1
	sta	*_mktime_sloc4_1_0
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, DIR(_mktime_sloc4_1_0), 0)
	ldhx	*_mktime_sloc4_1_0
	lda	,x
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
;     genMult
;     genMultOneByte
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 0)
	lda	*_mktime_sloc4_1_0
;     loadRegFromAop (x, LIT(#0x3C), 0)
	ldx	#0x3C
	mul
;     storeRegToAop (xa, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (x, DIR(_mktime_sloc4_1_0), 1), stacked=0, isaddr=0
	stx	*_mktime_sloc4_1_0
;     genCast
	mov	*(_mktime_sloc4_1_0 + 1),*(_mktime_sloc4_1_0 + 3)
	mov	*_mktime_sloc4_1_0,*(_mktime_sloc4_1_0 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 1)
	lda	*_mktime_sloc4_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 2), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 3), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=1
; checking pset operandsEqu
; checking pget operandsEqu
;     genPlus
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
	add	*(_mktime_sloc4_1_0 + 3)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 1)
	lda	(_mktime_seconds_1_1 + 2)
	adc	*(_mktime_sloc4_1_0 + 2)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
	adc	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
	adc	*_mktime_sloc4_1_0
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
;time.c:203: seconds+= timeptr->tm_sec;
;     genPointerGet
;     genFarPointerGet
;     loadRegFromAop (hx, EXT(_mktime_timeptr_1_1), 0)
;     loadRegFromAop (a, EXT(_mktime_timeptr_1_1), 1)
	lda	_mktime_timeptr_1_1
;     loadRegFromAop (x, EXT(_mktime_timeptr_1_1), 0)
	ldx	(_mktime_timeptr_1_1 + 1)
; transferRegReg(a,h)
	psha
	pulh
	lda	,x
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 0), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
;     genCast
	mov	*_mktime_sloc4_1_0,*(_mktime_sloc4_1_0 + 1)
	clr	*_mktime_sloc4_1_0
;     genCast
	mov	*(_mktime_sloc4_1_0 + 1),*(_mktime_sloc4_1_0 + 3)
	mov	*_mktime_sloc4_1_0,*(_mktime_sloc4_1_0 + 2)
;     loadRegFromAop (a, DIR(_mktime_sloc4_1_0), 1)
	lda	*_mktime_sloc4_1_0
	rola	
	clra	
	sbc	#0x00
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 2), stacked=0, isaddr=0
	sta	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, DIR(_mktime_sloc4_1_0), 3), stacked=0, isaddr=0
	sta	*_mktime_sloc4_1_0
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
;  left size = 4
;  right size = 4
;  result size = 4
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
	add	*(_mktime_sloc4_1_0 + 3)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 0), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 3)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 1)
	lda	(_mktime_seconds_1_1 + 2)
	adc	*(_mktime_sloc4_1_0 + 2)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 1), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 2)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
	adc	*(_mktime_sloc4_1_0 + 1)
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 2), stacked=0, isaddr=0
	sta	(_mktime_seconds_1_1 + 1)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
	adc	*_mktime_sloc4_1_0
;     storeRegToAop (a, EXT(_mktime_seconds_1_1), 3), stacked=0, isaddr=0
	sta	_mktime_seconds_1_1
;time.c:204: return seconds;
;     genRet
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 3)
	lda	_mktime_seconds_1_1
;     storeRegToAop (a, DIR(__ret3), 0), stacked=0, isaddr=0
	sta	*__ret3
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 2)
	lda	(_mktime_seconds_1_1 + 1)
;     storeRegToAop (a, DIR(__ret2), 0), stacked=0, isaddr=0
	sta	*__ret2
;     loadRegFromAop (x, EXT(_mktime_seconds_1_1), 1)
	ldx	(_mktime_seconds_1_1 + 2)
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, EXT(_mktime_seconds_1_1), 0)
	lda	(_mktime_seconds_1_1 + 3)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00115$:
	rts
	.area CSEG
_monthDays:
	.db #0x1F
	.db #0x1C
	.db #0x1F
	.db #0x1E
	.db #0x1F
	.db #0x1E
	.db #0x1F
	.db #0x1F
	.db #0x1E
	.db #0x1F
	.db #0x1E
	.db #0x1F
___month:
	.dw _str_1
	.dw _str_2
	.dw _str_3
	.dw _str_4
	.dw _str_5
	.dw _str_6
	.dw _str_7
	.dw _str_8
	.dw _str_9
	.dw _str_10
	.dw _str_11
	.dw _str_12
___day:
	.dw _str_13
	.dw _str_14
	.dw _str_15
	.dw _str_16
	.dw _str_17
	.dw _str_18
	.dw _str_19
__str_0:
	.ascii "%s %s %2d %02d:%02d:%02d %04d"
	.db 0x0A
	.db 0x00
_str_1:
	.ascii "Jan"
	.db 0x00
_str_2:
	.ascii "Feb"
	.db 0x00
_str_3:
	.ascii "Mar"
	.db 0x00
_str_4:
	.ascii "Apr"
	.db 0x00
_str_5:
	.ascii "May"
	.db 0x00
_str_6:
	.ascii "Jun"
	.db 0x00
_str_7:
	.ascii "Jul"
	.db 0x00
_str_8:
	.ascii "Aug"
	.db 0x00
_str_9:
	.ascii "Sep"
	.db 0x00
_str_10:
	.ascii "Oct"
	.db 0x00
_str_11:
	.ascii "Nov"
	.db 0x00
_str_12:
	.ascii "Dec"
	.db 0x00
_str_13:
	.ascii "Sun"
	.db 0x00
_str_14:
	.ascii "Mon"
	.db 0x00
_str_15:
	.ascii "Tue"
	.db 0x00
_str_16:
	.ascii "Wed"
	.db 0x00
_str_17:
	.ascii "Thu"
	.db 0x00
_str_18:
	.ascii "Fri"
	.db 0x00
_str_19:
	.ascii "Sat"
	.db 0x00
	.area XINIT
