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

;--------------------------------------------------------
	.module atanf
	
	.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 _atanf
;--------------------------------------------------------
;  ram data
;--------------------------------------------------------
	.area DSEG
;--------------------------------------------------------
; overlayable items in  ram 
;--------------------------------------------------------
	.area OSEG    (OVR)
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
	.area XISEG
;--------------------------------------------------------
; extended address mode data
;--------------------------------------------------------
	.area XSEG
_atanf_a_1_1:
	.ds 16
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
	.area GSINIT
	.area GSFINAL
	.area GSINIT
;------------------------------------------------------------
;Allocation info for local variables in function 'atanf'
;------------------------------------------------------------
;x                         Allocated to stack - offset 2
;f                         Allocated to stack - offset -4
;r                         Allocated to stack - offset -8
;g                         Allocated to stack - offset -12
;n                         Allocated to stack - offset -14
;sloc0                     Allocated to stack - offset -18
;a                         Allocated with name '_atanf_a_1_1'
;------------------------------------------------------------
;atanf.c:49: static myconst float a[]={  0.0, 0.5235987756, 1.5707963268, 1.0471975512 };
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD(_atanf_a_1_1))
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(_atanf_a_1_1), 0), stacked=0, isaddr=0
	sta	(_atanf_a_1_1 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(_atanf_a_1_1), 1), stacked=0, isaddr=0
	sta	(_atanf_a_1_1 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(_atanf_a_1_1), 2), stacked=0, isaddr=0
	sta	(_atanf_a_1_1 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(_atanf_a_1_1), 3), stacked=0, isaddr=0
	sta	_atanf_a_1_1
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_atanf_a_1_1 + 0x0004)))
;     loadRegFromAop (a, LIT(#0x92), 0)
	lda	#0x92
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0004)), 0), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x0004) + 3)
;     loadRegFromAop (a, LIT(#0x92), 1)
	lda	#0x0A
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0004)), 1), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x0004) + 2)
;     loadRegFromAop (a, LIT(#0x92), 2)
	lda	#0x06
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0004)), 2), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x0004) + 1)
;     loadRegFromAop (a, LIT(#0x92), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0004)), 3), stacked=0, isaddr=0
	sta	(_atanf_a_1_1 + 0x0004)
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_atanf_a_1_1 + 0x0008)))
;     loadRegFromAop (a, LIT(#0xDB), 0)
	lda	#0xDB
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0008)), 0), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x0008) + 3)
;     loadRegFromAop (a, LIT(#0xDB), 1)
	lda	#0x0F
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0008)), 1), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x0008) + 2)
;     loadRegFromAop (a, LIT(#0xDB), 2)
	lda	#0xC9
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0008)), 2), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x0008) + 1)
;     loadRegFromAop (a, LIT(#0xDB), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x0008)), 3), stacked=0, isaddr=0
	sta	(_atanf_a_1_1 + 0x0008)
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD((_atanf_a_1_1 + 0x000c)))
;     loadRegFromAop (a, LIT(#0x92), 0)
	lda	#0x92
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x000c)), 0), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x000c) + 3)
;     loadRegFromAop (a, LIT(#0x92), 1)
	lda	#0x0A
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x000c)), 1), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x000c) + 2)
;     loadRegFromAop (a, LIT(#0x92), 2)
	lda	#0x86
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x000c)), 2), stacked=0, isaddr=0
	sta	((_atanf_a_1_1 + 0x000c) + 1)
;     loadRegFromAop (a, LIT(#0x92), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT((_atanf_a_1_1 + 0x000c)), 3), stacked=0, isaddr=0
	sta	(_atanf_a_1_1 + 0x000c)
;--------------------------------------------------------
; Home
;--------------------------------------------------------
	.area HOME
	.area CSEG
;--------------------------------------------------------
; code
;--------------------------------------------------------
	.area CSEG
;------------------------------------------------------------
;Allocation info for local variables in function 'atanf'
;------------------------------------------------------------
;x                         Allocated to stack - offset 2
;f                         Allocated to stack - offset -4
;r                         Allocated to stack - offset -8
;g                         Allocated to stack - offset -12
;n                         Allocated to stack - offset -14
;sloc0                     Allocated to stack - offset -18
;a                         Allocated with name '_atanf_a_1_1'
;------------------------------------------------------------
;atanf.c:45: float atanf(const float x) reentrant
;	-----------------------------------------
;	 function atanf
;	-----------------------------------------
_atanf:
	ais	#-18
;atanf.c:48: int n=0;
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, SOF(iTemp0), 0), stacked=0, isaddr=0
	sta	6,s
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, SOF(iTemp0), 1), stacked=0, isaddr=0
	sta	5,s
;atanf.c:51: f=fabsf(x);
;     genAssign
;     loadRegFromAop (a, SOF(x), 0)
	lda	24,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 0), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 3)
;     loadRegFromAop (a, SOF(x), 1)
	lda	23,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 1), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 2)
;     loadRegFromAop (a, SOF(x), 2)
	lda	22,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 2), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 1)
;     loadRegFromAop (a, SOF(x), 3)
	lda	21,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 3), stacked=0, isaddr=1
	sta	_fabsf_PARM_1
;     genCall
	jsr	_fabsf
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, SOF(iTemp2), 0), stacked=0, isaddr=0
	sta	18,s
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, SOF(iTemp2), 1), stacked=0, isaddr=0
	stx	17,s
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, SOF(iTemp2), 2), stacked=0, isaddr=0
	sta	16,s
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, SOF(iTemp2), 3), stacked=0, isaddr=0
	sta	15,s
;     genAssign
;atanf.c:52: if(f>1.0)
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsgt_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsgt_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsgt_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsgt_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsgt_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsgt_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x80
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsgt_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsgt_PARM_2
;     genCall
	jsr	___fsgt
;     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$
00119$:
; forgot to free a
;atanf.c:54: f=1.0/f;
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x80
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_1
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_2
;     genCall
	jsr	___fsdiv
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, SOF(iTemp4), 0), stacked=0, isaddr=0
	sta	4,s
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, SOF(iTemp4), 1), stacked=0, isaddr=0
	stx	3,s
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, SOF(iTemp4), 2), stacked=0, isaddr=0
	sta	2,s
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, SOF(iTemp4), 3), stacked=0, isaddr=0
	sta	1,s
;     genAssign
;     loadRegFromAop (a, SOF(iTemp4), 0)
	lda	4,s
;     storeRegToAop (a, SOF(iTemp1), 0), stacked=0, isaddr=0
	sta	18,s
;     loadRegFromAop (a, SOF(iTemp4), 1)
	lda	3,s
;     storeRegToAop (a, SOF(iTemp1), 1), stacked=0, isaddr=0
	sta	17,s
;     loadRegFromAop (a, SOF(iTemp4), 2)
	lda	2,s
;     storeRegToAop (a, SOF(iTemp1), 2), stacked=0, isaddr=0
	sta	16,s
;     loadRegFromAop (a, SOF(iTemp4), 3)
	lda	1,s
;     storeRegToAop (a, SOF(iTemp1), 3), stacked=0, isaddr=0
	sta	15,s
;atanf.c:55: n=2;
;     genAssign
;     loadRegFromAop (a, LIT(#0x02), 0)
	lda	#0x02
;     storeRegToAop (a, SOF(iTemp0), 0), stacked=0, isaddr=0
	sta	6,s
;     loadRegFromAop (a, LIT(#0x02), 1)
	lda	#0x00
;     storeRegToAop (a, SOF(iTemp0), 1), stacked=0, isaddr=0
	sta	5,s
00102$:
;atanf.c:57: if(f>K1)
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsgt_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsgt_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsgt_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsgt_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsgt_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0xA3), 0)
	lda	#0xA3
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsgt_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0xA3), 1)
	lda	#0x30
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsgt_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0xA3), 2)
	lda	#0x89
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsgt_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0xA3), 3)
	lda	#0x3E
;     storeRegToAop (a, EXT(___fsgt_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsgt_PARM_2
;     genCall
	jsr	___fsgt
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, REG(-,-,x,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
;     genIfx
	tsta
;     genIfxJump
	bne	00120$
	jmp	00104$
00120$:
; forgot to free a
;atanf.c:59: f=((K2*f-1.0)+f)/(K3+f);
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0xAF), 0)
	lda	#0xAF
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0xAF), 1)
	lda	#0x67
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0xAF), 2)
	lda	#0x3B
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0xAF), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_2
;     genCall
	jsr	___fsmul
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fssub_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fssub_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fssub_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fssub_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fssub_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fssub_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fssub_PARM_1), 3), stacked=0, isaddr=1
	sta	___fssub_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(___fssub_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fssub_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(___fssub_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fssub_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x80
;     storeRegToAop (a, EXT(___fssub_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fssub_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT(___fssub_PARM_2), 3), stacked=0, isaddr=1
	sta	___fssub_PARM_2
;     genCall
	jsr	___fssub
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_2
;     genCall
	jsr	___fsadd
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsdiv_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fsdiv_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_1
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0xD7), 0)
	lda	#0xD7
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0xD7), 1)
	lda	#0xB3
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0xD7), 2)
	lda	#0xDD
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0xD7), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_2
;     genCall
	jsr	___fsadd
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsdiv_PARM_2), 1), stacked=0, isaddr=1
	stx	(___fsdiv_PARM_2 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_2
;     genCall
	jsr	___fsdiv
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, SOF(iTemp10), 0), stacked=0, isaddr=0
	sta	18,s
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, SOF(iTemp10), 1), stacked=0, isaddr=0
	stx	17,s
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, SOF(iTemp10), 2), stacked=0, isaddr=0
	sta	16,s
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, SOF(iTemp10), 3), stacked=0, isaddr=0
	sta	15,s
;     genAssign
;atanf.c:63: n++;
; checking lic
; checking IS_ITEMP
; pset=0, pget=0
;     genPlus
; IS_AOP_HX = 0
; icount = 1, sameRegs=1
;     genPlusIncr
	inc	6,s
	bne	00121$
	inc	5,s
00121$:
00104$:
;atanf.c:65: if(fabsf(f)<EPS) r=f;
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 0), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 1), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 2), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 3), stacked=0, isaddr=1
	sta	_fabsf_PARM_1
;     genCall
	jsr	_fabsf
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fslt_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fslt_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fslt_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fslt_PARM_1), 3), stacked=0, isaddr=1
	sta	___fslt_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(___fslt_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(___fslt_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x80
;     storeRegToAop (a, EXT(___fslt_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x39
;     storeRegToAop (a, EXT(___fslt_PARM_2), 3), stacked=0, isaddr=1
	sta	___fslt_PARM_2
;     genCall
	jsr	___fslt
;     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	00106$
00122$:
; forgot to free a
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, SOF(iTemp15), 0), stacked=0, isaddr=0
	sta	14,s
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, SOF(iTemp15), 1), stacked=0, isaddr=0
	sta	13,s
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, SOF(iTemp15), 2), stacked=0, isaddr=0
	sta	12,s
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, SOF(iTemp15), 3), stacked=0, isaddr=0
	sta	11,s
	jmp	00107$
00106$:
;atanf.c:68: g=f*f;
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_1
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_2
;     genCall
	jsr	___fsmul
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, SOF(iTemp17), 0), stacked=0, isaddr=0
	sta	10,s
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, SOF(iTemp17), 1), stacked=0, isaddr=0
	stx	9,s
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, SOF(iTemp17), 2), stacked=0, isaddr=0
	sta	8,s
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, SOF(iTemp17), 3), stacked=0, isaddr=0
	sta	7,s
;     genAssign
;atanf.c:69: r=f+P(g,f)/Q(g);
;     genAssign
;     loadRegFromAop (a, SOF(iTemp16), 0)
	lda	10,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp16), 1)
	lda	9,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp16), 2)
	lda	8,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp16), 3)
	lda	7,s
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x91), 0)
	lda	#0x91
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x91), 1)
	lda	#0x86
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x91), 2)
	lda	#0x50
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x91), 3)
	lda	#0xBD
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_2
;     genCall
	jsr	___fsmul
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0xF6), 0)
	lda	#0xF6
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0xF6), 1)
	lda	#0x10
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0xF6), 2)
	lda	#0xF1
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0xF6), 3)
	lda	#0xBE
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_2
;     genCall
	jsr	___fsadd
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsmul_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fsmul_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_1
;     genAssign
;     loadRegFromAop (a, SOF(iTemp16), 0)
	lda	10,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 3)
;     loadRegFromAop (a, SOF(iTemp16), 1)
	lda	9,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 2)
;     loadRegFromAop (a, SOF(iTemp16), 2)
	lda	8,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 1)
;     loadRegFromAop (a, SOF(iTemp16), 3)
	lda	7,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_2
;     genCall
	jsr	___fsmul
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsmul_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fsmul_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsmul_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_1
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsmul_PARM_2 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsmul_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsmul_PARM_2
;     genCall
	jsr	___fsmul
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsdiv_PARM_1), 1), stacked=0, isaddr=1
	stx	(___fsdiv_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_1
;     genAssign
;     loadRegFromAop (a, SOF(iTemp16), 0)
	lda	10,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp16), 1)
	lda	9,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp16), 2)
	lda	8,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp16), 3)
	lda	7,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0xD3), 0)
	lda	#0xD3
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0xD3), 1)
	lda	#0xCC
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0xD3), 2)
	lda	#0xB4
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0xD3), 3)
	lda	#0x3F
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_2
;     genCall
	jsr	___fsadd
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsdiv_PARM_2), 1), stacked=0, isaddr=1
	stx	(___fsdiv_PARM_2 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_2
;     genCall
	jsr	___fsdiv
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	stx	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_2
;     genAssign
;     loadRegFromAop (a, SOF(iTemp1), 0)
	lda	18,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp1), 1)
	lda	17,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp1), 2)
	lda	16,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp1), 3)
	lda	15,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genCall
	jsr	___fsadd
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, SOF(iTemp25), 0), stacked=0, isaddr=0
	sta	14,s
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, SOF(iTemp25), 1), stacked=0, isaddr=0
	stx	13,s
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, SOF(iTemp25), 2), stacked=0, isaddr=0
	sta	12,s
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, SOF(iTemp25), 3), stacked=0, isaddr=0
	sta	11,s
;     genAssign
00107$:
;atanf.c:71: if(n>1) r=-r;
;     genCmpGt
;     genCmp
;     loadRegFromAop (a, LIT(#0x01), 0)
	lda	#0x01
	sub	6,s
;     loadRegFromAop (a, LIT(#0x01), 1)
	lda	#0x00
	sbc	5,s
;     genIfxJump
	blt	00123$
; Peephole 3	- shortened jmp to bra
	bra	00109$
00123$:
;     genUminus
;     genUminusFloat
;     loadRegFromAop (a, SOF(iTemp15), 0)
	lda	14,s
;     storeRegToAop (a, SOF(iTemp15), 0), stacked=0, isaddr=0
	sta	14,s
;     loadRegFromAop (a, SOF(iTemp15), 1)
	lda	13,s
;     storeRegToAop (a, SOF(iTemp15), 1), stacked=0, isaddr=0
	sta	13,s
;     loadRegFromAop (a, SOF(iTemp15), 2)
	lda	12,s
	eor	#0x80
;     storeRegToAop (a, SOF(iTemp15), 2), stacked=0, isaddr=0
	sta	12,s
00109$:
;atanf.c:72: r+=a[n];
;     genLeftShift
;     genLeftShiftLiteral
;     genlshTwo
;     loadRegFromAop (xa, SOF(iTemp0), 0)
;     loadRegFromAop (a, SOF(iTemp0), 0)
	lda	6,s
;     loadRegFromAop (x, SOF(iTemp0), 1)
	ldx	5,s
	lsla
	rolx
	lsla
	rolx
;     storeRegToAop (xa, SOF(iTemp29), 0), stacked=0, isaddr=0
;     storeRegToAop (a, SOF(iTemp29), 0), stacked=0, isaddr=0
	sta	2,s
;     storeRegToAop (x, SOF(iTemp29), 1), stacked=0, isaddr=0
	stx	1,s
; 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(_atanf_a_1_1))
;     loadRegFromAop (hx, SOF(iTemp29), 0)
;     loadRegFromAop (a, SOF(iTemp29), 1)
	lda	1,s
;     loadRegFromAop (x, SOF(iTemp29), 0)
	ldx	2,s
; transferRegReg(a,h)
	psha
	pulh
	lda	(_atanf_a_1_1 + 3),x
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
	lda	(_atanf_a_1_1 + 2),x
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
	lda	(_atanf_a_1_1 + 1),x
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
	lda	_atanf_a_1_1,x
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_2
;     genAssign
;     loadRegFromAop (a, SOF(iTemp15), 0)
	lda	14,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (a, SOF(iTemp15), 1)
	lda	13,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, SOF(iTemp15), 2)
	lda	12,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, SOF(iTemp15), 3)
	lda	11,s
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genCall
	jsr	___fsadd
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, SOF(iTemp32), 0), stacked=0, isaddr=0
	sta	4,s
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, SOF(iTemp32), 1), stacked=0, isaddr=0
	stx	3,s
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, SOF(iTemp32), 2), stacked=0, isaddr=0
	sta	2,s
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, SOF(iTemp32), 3), stacked=0, isaddr=0
	sta	1,s
;     genAssign
;     loadRegFromAop (a, SOF(iTemp32), 0)
	lda	4,s
;     storeRegToAop (a, SOF(iTemp15), 0), stacked=0, isaddr=0
	sta	14,s
;     loadRegFromAop (a, SOF(iTemp32), 1)
	lda	3,s
;     storeRegToAop (a, SOF(iTemp15), 1), stacked=0, isaddr=0
	sta	13,s
;     loadRegFromAop (a, SOF(iTemp32), 2)
	lda	2,s
;     storeRegToAop (a, SOF(iTemp15), 2), stacked=0, isaddr=0
	sta	12,s
;     loadRegFromAop (a, SOF(iTemp32), 3)
	lda	1,s
;     storeRegToAop (a, SOF(iTemp15), 3), stacked=0, isaddr=0
	sta	11,s
;atanf.c:73: if(x<0.0) r=-r;
;     genAssign
;     loadRegFromAop (a, SOF(x), 0)
	lda	24,s
;     storeRegToAop (a, EXT(___fslt_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 3)
;     loadRegFromAop (a, SOF(x), 1)
	lda	23,s
;     storeRegToAop (a, EXT(___fslt_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 2)
;     loadRegFromAop (a, SOF(x), 2)
	lda	22,s
;     storeRegToAop (a, EXT(___fslt_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 1)
;     loadRegFromAop (a, SOF(x), 3)
	lda	21,s
;     storeRegToAop (a, EXT(___fslt_PARM_1), 3), stacked=0, isaddr=1
	sta	___fslt_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(___fslt_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(___fslt_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(___fslt_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(___fslt_PARM_2), 3), stacked=0, isaddr=1
	sta	___fslt_PARM_2
;     genCall
	jsr	___fslt
;     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	00111$
00124$:
; forgot to free a
;     genUminus
;     genUminusFloat
;     loadRegFromAop (a, SOF(iTemp15), 0)
	lda	14,s
;     storeRegToAop (a, SOF(iTemp15), 0), stacked=0, isaddr=0
	sta	14,s
;     loadRegFromAop (a, SOF(iTemp15), 1)
	lda	13,s
;     storeRegToAop (a, SOF(iTemp15), 1), stacked=0, isaddr=0
	sta	13,s
;     loadRegFromAop (a, SOF(iTemp15), 2)
	lda	12,s
	eor	#0x80
;     storeRegToAop (a, SOF(iTemp15), 2), stacked=0, isaddr=0
	sta	12,s
00111$:
;atanf.c:74: return r;
;     genRet
;     loadRegFromAop (a, SOF(iTemp15), 3)
	lda	11,s
;     storeRegToAop (a, DIR(__ret3), 0), stacked=0, isaddr=0
	sta	*__ret3
;     loadRegFromAop (a, SOF(iTemp15), 2)
	lda	12,s
;     storeRegToAop (a, DIR(__ret2), 0), stacked=0, isaddr=0
	sta	*__ret2
;     loadRegFromAop (x, SOF(iTemp15), 1)
	ldx	13,s
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, SOF(iTemp15), 0)
	lda	14,s
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00112$:
	ais	#18
	rts
	.area CSEG
	.area XINIT
