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

;--------------------------------------------------------
	.module atan2f
	
	.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 _atan2f_PARM_2
	.globl _atan2f_PARM_1
	.globl _atan2f
;--------------------------------------------------------
;  ram data
;--------------------------------------------------------
	.area DSEG
_atan2f_sloc0_1_0::
	.ds 4
;--------------------------------------------------------
; overlayable items in  ram 
;--------------------------------------------------------
	.area OSEG    (OVR)
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
	.area XISEG
;--------------------------------------------------------
; extended address mode data
;--------------------------------------------------------
	.area XSEG
_atan2f_PARM_1::
	.ds 4
_atan2f_PARM_2::
	.ds 4
_atan2f_r_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 'atan2f'
;------------------------------------------------------------
;sloc0                     Allocated with name '_atan2f_sloc0_1_0'
;x                         Allocated with name '_atan2f_PARM_1'
;y                         Allocated with name '_atan2f_PARM_2'
;r                         Allocated with name '_atan2f_r_1_1'
;------------------------------------------------------------
;atan2f.c:24: float atan2f(const float x, const float y)
;	-----------------------------------------
;	 function atan2f
;	-----------------------------------------
_atan2f:
;atan2f.c:28: if ((x==0.0) && (y==0.0))
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 0)
	lda	(_atan2f_PARM_1 + 3)
;     storeRegToAop (a, EXT(___fseq_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fseq_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 1)
	lda	(_atan2f_PARM_1 + 2)
;     storeRegToAop (a, EXT(___fseq_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fseq_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 2)
	lda	(_atan2f_PARM_1 + 1)
;     storeRegToAop (a, EXT(___fseq_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fseq_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 3)
	lda	_atan2f_PARM_1
;     storeRegToAop (a, EXT(___fseq_PARM_1), 3), stacked=0, isaddr=1
	sta	___fseq_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fseq_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fseq_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fseq_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 3), stacked=0, isaddr=1
	sta	___fseq_PARM_2
;     genCall
	jsr	___fseq
;     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$
00121$:
; forgot to free a
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 0)
	lda	(_atan2f_PARM_2 + 3)
;     storeRegToAop (a, EXT(___fseq_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fseq_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 1)
	lda	(_atan2f_PARM_2 + 2)
;     storeRegToAop (a, EXT(___fseq_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fseq_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 2)
	lda	(_atan2f_PARM_2 + 1)
;     storeRegToAop (a, EXT(___fseq_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fseq_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 3)
	lda	_atan2f_PARM_2
;     storeRegToAop (a, EXT(___fseq_PARM_1), 3), stacked=0, isaddr=1
	sta	___fseq_PARM_1
;     genAssign
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fseq_PARM_2 + 3)
;     loadRegFromAop (a, LIT(#0x00), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fseq_PARM_2 + 2)
;     loadRegFromAop (a, LIT(#0x00), 2)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fseq_PARM_2 + 1)
;     loadRegFromAop (a, LIT(#0x00), 3)
	lda	#0x00
;     storeRegToAop (a, EXT(___fseq_PARM_2), 3), stacked=0, isaddr=1
	sta	___fseq_PARM_2
;     genCall
	jsr	___fseq
;     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$
00122$:
; forgot to free a
;atan2f.c:30: errno=EDOM;
;     genAssign
;     loadRegFromAop (a, LIT(#0x21), 0)
	lda	#0x21
;     storeRegToAop (a, EXT(_errno), 0), stacked=0, isaddr=1
	sta	(_errno + 1)
;     loadRegFromAop (a, LIT(#0x21), 1)
	lda	#0x00
;     storeRegToAop (a, EXT(_errno), 1), stacked=0, isaddr=1
	sta	_errno
;atan2f.c:31: return 0.0;
;     genRet
	mov	#0x00,*__ret3
	mov	#0x00,*__ret2
;     loadRegFromAop (x, LIT(#0x00), 1)
	ldx	#0x00
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, LIT(#0x00), 0)
	lda	#0x00
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jmp	00109$
00102$:
;atan2f.c:34: if(fabsf(y)>=fabsf(x))
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 0)
	lda	(_atan2f_PARM_2 + 3)
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 0), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 1)
	lda	(_atan2f_PARM_2 + 2)
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 1), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 2)
	lda	(_atan2f_PARM_2 + 1)
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 2), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 3)
	lda	_atan2f_PARM_2
;     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, EXT(_atan2f_PARM_1), 0)
	lda	(_atan2f_PARM_1 + 3)
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 0), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 1)
	lda	(_atan2f_PARM_1 + 2)
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 1), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 2)
	lda	(_atan2f_PARM_1 + 1)
;     storeRegToAop (a, EXT(_fabsf_PARM_1), 2), stacked=0, isaddr=1
	sta	(_fabsf_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 3)
	lda	_atan2f_PARM_1
;     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_2), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(___fslt_PARM_2), 1), stacked=0, isaddr=1
	stx	(___fslt_PARM_2 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(___fslt_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_2 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     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
	beq	00123$
	jmp	00107$
00123$:
; forgot to free a
;atan2f.c:36: r=atanf(x/y);
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 0)
	lda	(_atan2f_PARM_1 + 3)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 1)
	lda	(_atan2f_PARM_1 + 2)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 2)
	lda	(_atan2f_PARM_1 + 1)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 3)
	lda	_atan2f_PARM_1
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_1
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 0)
	lda	(_atan2f_PARM_2 + 3)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 1)
	lda	(_atan2f_PARM_2 + 2)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 2)
	lda	(_atan2f_PARM_2 + 1)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 3)
	lda	_atan2f_PARM_2
;     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(_atanf_PARM_1), 0), stacked=0, isaddr=1
	sta	(_atanf_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_atanf_PARM_1), 1), stacked=0, isaddr=1
	stx	(_atanf_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_atanf_PARM_1), 2), stacked=0, isaddr=1
	sta	(_atanf_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_atanf_PARM_1), 3), stacked=0, isaddr=1
	sta	_atanf_PARM_1
;     genCall
	jsr	_atanf
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 0), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_atan2f_r_1_1), 1), stacked=0, isaddr=0
	stx	(_atan2f_r_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 2), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 3), stacked=0, isaddr=0
	sta	_atan2f_r_1_1
;atan2f.c:37: if(y<0.0) r+=(x>=0?PI:-PI);
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 0)
	lda	(_atan2f_PARM_2 + 3)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 1)
	lda	(_atan2f_PARM_2 + 2)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 2)
	lda	(_atan2f_PARM_2 + 1)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 3)
	lda	_atan2f_PARM_2
;     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
	bne	00124$
	jmp	00108$
00124$:
; forgot to free a
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 0)
	lda	(_atan2f_PARM_1 + 3)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 1)
	lda	(_atan2f_PARM_1 + 2)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 2)
	lda	(_atan2f_PARM_1 + 1)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 3)
	lda	_atan2f_PARM_1
;     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)
;     genNot
	tsta
	beq	00125$
	lda	#0x01
00125$:
	eor	#0x01
;     storeRegToAop (a, REG(-,-,x,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
; forgot to free a
; forgot to free xa
;     genIfx
	tsta
;     genIfxJump
; Peephole 2d	- eliminated jmp
	beq	00111$
00126$:
; forgot to free a
;     genAssign
	mov	#0xDB,*(_atan2f_sloc0_1_0 + 3)
	mov	#0x0F,*(_atan2f_sloc0_1_0 + 2)
	mov	#0x49,*(_atan2f_sloc0_1_0 + 1)
	mov	#0x40,*_atan2f_sloc0_1_0
; Peephole 3	- shortened jmp to bra
	bra	00112$
00111$:
;     genAssign
	mov	#0xDB,*(_atan2f_sloc0_1_0 + 3)
	mov	#0x0F,*(_atan2f_sloc0_1_0 + 2)
	mov	#0x49,*(_atan2f_sloc0_1_0 + 1)
	mov	#0xC0,*_atan2f_sloc0_1_0
00112$:
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 0)
	lda	(_atan2f_r_1_1 + 3)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 1)
	lda	(_atan2f_r_1_1 + 2)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 2)
	lda	(_atan2f_r_1_1 + 1)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 3)
	lda	_atan2f_r_1_1
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genAssign
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 0)
	lda	*(_atan2f_sloc0_1_0 + 3)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 1)
	lda	*(_atan2f_sloc0_1_0 + 2)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 2)
	lda	*(_atan2f_sloc0_1_0 + 1)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 3)
	lda	*_atan2f_sloc0_1_0
;     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(_atan2f_r_1_1), 0), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_atan2f_r_1_1), 1), stacked=0, isaddr=0
	stx	(_atan2f_r_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 2), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 3), stacked=0, isaddr=0
	sta	_atan2f_r_1_1
	jmp	00108$
00107$:
;atan2f.c:41: r=-atanf(y/x);
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 0)
	lda	(_atan2f_PARM_2 + 3)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 1)
	lda	(_atan2f_PARM_2 + 2)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 2)
	lda	(_atan2f_PARM_2 + 1)
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_2), 3)
	lda	_atan2f_PARM_2
;     storeRegToAop (a, EXT(___fsdiv_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsdiv_PARM_1
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 0)
	lda	(_atan2f_PARM_1 + 3)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 1)
	lda	(_atan2f_PARM_1 + 2)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 2)
	lda	(_atan2f_PARM_1 + 1)
;     storeRegToAop (a, EXT(___fsdiv_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsdiv_PARM_2 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 3)
	lda	_atan2f_PARM_1
;     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(_atanf_PARM_1), 0), stacked=0, isaddr=1
	sta	(_atanf_PARM_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_atanf_PARM_1), 1), stacked=0, isaddr=1
	stx	(_atanf_PARM_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_atanf_PARM_1), 2), stacked=0, isaddr=1
	sta	(_atanf_PARM_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_atanf_PARM_1), 3), stacked=0, isaddr=1
	sta	_atanf_PARM_1
;     genCall
	jsr	_atanf
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(_atan2f_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(_atan2f_sloc0_1_0 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(_atan2f_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*(_atan2f_sloc0_1_0 + 2)
	mov	*__ret2,*(_atan2f_sloc0_1_0 + 1)
	mov	*__ret3,*_atan2f_sloc0_1_0
;     genUminus
;     genUminusFloat
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 0)
	lda	*(_atan2f_sloc0_1_0 + 3)
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 0), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 3)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 1)
	lda	*(_atan2f_sloc0_1_0 + 2)
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 1), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 2)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 2)
	lda	*(_atan2f_sloc0_1_0 + 1)
	eor	#0x80
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 2), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 1)
;atan2f.c:42: r+=(x<0.0?-HALF_PI:HALF_PI);
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 0)
	lda	(_atan2f_PARM_1 + 3)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 1)
	lda	(_atan2f_PARM_1 + 2)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 2)
	lda	(_atan2f_PARM_1 + 1)
;     storeRegToAop (a, EXT(___fslt_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fslt_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_PARM_1), 3)
	lda	_atan2f_PARM_1
;     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	00113$
00127$:
; forgot to free a
;     genAssign
	mov	#0xDB,*(_atan2f_sloc0_1_0 + 3)
	mov	#0x0F,*(_atan2f_sloc0_1_0 + 2)
	mov	#0xC9,*(_atan2f_sloc0_1_0 + 1)
	mov	#0xBF,*_atan2f_sloc0_1_0
; Peephole 3	- shortened jmp to bra
	bra	00114$
00113$:
;     genAssign
	mov	#0xDB,*(_atan2f_sloc0_1_0 + 3)
	mov	#0x0F,*(_atan2f_sloc0_1_0 + 2)
	mov	#0xC9,*(_atan2f_sloc0_1_0 + 1)
	mov	#0x3F,*_atan2f_sloc0_1_0
00114$:
;     genAssign
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 0)
	lda	(_atan2f_r_1_1 + 3)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 1)
	lda	(_atan2f_r_1_1 + 2)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 2)
	lda	(_atan2f_r_1_1 + 1)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 3)
	lda	_atan2f_r_1_1
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genAssign
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 0)
	lda	*(_atan2f_sloc0_1_0 + 3)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 1)
	lda	*(_atan2f_sloc0_1_0 + 2)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 2)
	lda	*(_atan2f_sloc0_1_0 + 1)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, DIR(_atan2f_sloc0_1_0), 3)
	lda	*_atan2f_sloc0_1_0
;     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(_atan2f_r_1_1), 0), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, EXT(_atan2f_r_1_1), 1), stacked=0, isaddr=0
	stx	(_atan2f_r_1_1 + 2)
;     loadRegFromAop (a, DIR(__ret2), 0)
	lda	*__ret2
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 2), stacked=0, isaddr=0
	sta	(_atan2f_r_1_1 + 1)
;     loadRegFromAop (a, DIR(__ret3), 0)
	lda	*__ret3
;     storeRegToAop (a, EXT(_atan2f_r_1_1), 3), stacked=0, isaddr=0
	sta	_atan2f_r_1_1
00108$:
;atan2f.c:44: return r;
;     genRet
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 3)
	lda	_atan2f_r_1_1
;     storeRegToAop (a, DIR(__ret3), 0), stacked=0, isaddr=0
	sta	*__ret3
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 2)
	lda	(_atan2f_r_1_1 + 1)
;     storeRegToAop (a, DIR(__ret2), 0), stacked=0, isaddr=0
	sta	*__ret2
;     loadRegFromAop (x, EXT(_atan2f_r_1_1), 1)
	ldx	(_atan2f_r_1_1 + 2)
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, EXT(_atan2f_r_1_1), 0)
	lda	(_atan2f_r_1_1 + 3)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00109$:
	rts
	.area CSEG
	.area XINIT
