
;  GNU C 2.7.2 [AL 1.1, MM 40] RISC NEWS-OS compiled by CC

;  Cc1 defaults:
;  -mmemcpy

;  Cc1 arguments (-G value = 0, Cpu = 3000, ISA = 1):
;  -quiet -dumpbase -O2 -Wall -o

gcc2_compiled.:
__gnu_compiled_c:
	.code
	.align	2
__LC0:
	.ascii	"SNES-SPC700 Sound File Data v0.30\000"
	.code
	.align	1
	.global	spc2hdr_test
spc2hdr_test:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	__LC0+0x0@h	; 	xld.w	%r13,__LC0
	ext	__LC0+0x0@m
	ld.w	%r13,__LC0+0x0@l
	ld.w	%r14,0x1b	; 	xld.w	%r14,0x0000001b		; 27
	ext	memcmp@rm	; 	xcall	memcmp
	call	memcmp@rl
	not	%r11,%r10
	add	%r11,1
	or	%r11,%r10
	ld.w	%r10,%r11
	sra	%r10,0x8	; 	xsra	%r10,31
	sra	%r10,0x8
	sra	%r10,0x8
	sra	%r10,0x7
	ret
	.align	1
	.global	spc2drv_init
spc2drv_init:
;	.frame	%sp,20,$31		# vars= 0, regs= 3/0, args= 8, extra= 0
;	.mask	0x80030000,-4
;	.fmask	0x00000000,0
	pushn	%r1
	sub	%sp,0x2		; 	xsub	%sp,%sp,8
	ld.w	%r1,%r12
	ext	spc2drv+0x0@h	; 	xld.w	%r12,spc2drv
	ext	spc2drv+0x0@m
	ld.w	%r12,spc2drv+0x0@l
	ld.w	%r13,0x0
	ld.w	%r14,0xc	; 	xld.w	%r14,0x0000000c		; 12
	ext	memset@rm	; 	xcall	memset
	call	memset@rl
	ld.w	%r12,%r1
	call	spc2hdr_test	; 	xcall	spc2hdr_test
	ld.w	%r0,%r10
	cmp	%r0,0x0
	jreq	__LX74		; 	xjreq	__L74
	ld.w	%r10,0x3f	; 	xld.w	%r10,-1			; 0xffffffff
	jp	__LX81		; 	xjp	__L81
__LX74:				; __L74:
	ext	spc2ram+0x0@h	; 	xld.w	%r12,spc2ram
	ext	spc2ram+0x0@m
	ld.w	%r12,spc2ram+0x0@l
	ext	0x100		; 	xadd	%r13,%r1,256
	add	%r13,%r1
	ext	0x400		; 	xld.w	%r14,0x00010000		; 65536
	ld.w	%r14,0x0
	ext	memcpy@rm	; 	xcall	memcpy
	call	memcpy@rl
	ext	spc2ext+0x0@h	; 	xld.w	%r12,spc2ext
	ext	spc2ext+0x0@m
	ld.w	%r12,spc2ext+0x0@l
	ext	0x8		; 	xadd	%r13,%r1,65984
	ext	0x1c0
	add	%r13,%r1
	ext	0x1		; 	xld.w	%r14,0x00000040		; 64
	ld.w	%r14,0x0
	ext	memcpy@rm	; 	xcall	memcpy
	call	memcpy@rl
	ld.w	%r4,0x0
	ext	spc2ram+0xff@ah	; 	xld.b	[spc2ram+255],%r4
	ext	spc2ram+0xff@al
	ld.b	[%r8],%r4
	ext	spc2ram+0xfe@ah	; 	xld.b	[spc2ram+254],%r0
	ext	spc2ram+0xfe@al
	ld.b	[%r8],%r0
	ext	spc2ram+0xfd@ah	; 	xld.b	[spc2ram+253],%r4
	ext	spc2ram+0xfd@al
	ld.b	[%r8],%r4
	ext	0x25		; 	xld.ub	%r12,[%r1+37]
	ld.ub	%r12,[%r1]
	ext	0x26		; 	xld.ub	%r11,[%r1+38]
	ld.ub	%r11,[%r1]
	sll	%r11,0x8	; 	xsll	%r11,8
	ext	0x27		; 	xld.ub	%r13,[%r1+39]
	ld.ub	%r13,[%r1]
	ext	0x28		; 	xld.ub	%r14,[%r1+40]
	ld.ub	%r14,[%r1]
	ext	0x29		; 	xld.ub	%r15,[%r1+41]
	ld.ub	%r15,[%r1]
	ext	0x2a		; 	xld.ub	%r10,[%r1+42]
	ld.ub	%r10,[%r1]
	ld.w	[%sp+0x0],%r10	; 	xld.w	[%sp],%r10
	ext	0x2b		; 	xld.ub	%r10,[%r1+43]
	ld.ub	%r10,[%r1]
	ld.w	[%sp+0x1],%r10	; 	xld.w	[%sp+4],%r10
	or	%r12,%r11
	ext	spc2cpu_init@rm	; 	xcall	spc2cpu_init
	call	spc2cpu_init@rl
	ext	spc2dsp_init@rm	; 	xcall	spc2dsp_init
	call	spc2dsp_init@rl
__LX78:				; __L78:
	ext	0x1		; 	xcmp	%r0,76
	cmp	%r0,0xc
	jreq	__LX77		; 	xjreq	__L77
	ld.w	%r10,%r1
	add	%r10,%r0
	ext	0x8		; 	xld.ub	%r13,[%r10+65792]
	ext	0x100
	ld.ub	%r13,[%r10]
	ld.w	%r12,%r0
	ext	spc2dsp_write@rm	; 	xcall	spc2dsp_write
	call	spc2dsp_write@rl
__LX77:				; __L77:
	add	%r0,0x1		; 	xadd	%r0,%r0,1
	ext	0x1		; 	xcmp	%r0,127
	cmp	%r0,0x3f
	jrle	__LX78		; 	xjrle	__L78
	ext	0x8		; 	xld.ub	%r13,[%r1+65868]
	ext	0x14c
	ld.ub	%r13,[%r1]
	ext	0x1		; 	xld.w	%r12,0x0000004c		; 76
	ld.w	%r12,0xc
	ext	spc2dsp_write@rm	; 	xcall	spc2dsp_write
	call	spc2dsp_write@rl
	ld.w	%r10,0x0
__LX81:				; __L81:
	add	%sp,0x2		; 	xadd	%sp,%sp,8
	popn	%r1
	ret
; APP
	
	.code
	.align	1
	.global	spc2drv_read_asm
spc2drv_read_asm:
	ext	spc2ram+0x0@h	; 	xld.w %r11, spc2ram
	ext	spc2ram+0x0@m
	ld.w	%r11,spc2ram+0x0@l

	ext	0x3		; 	xcmp %r12, 0xf3			; if(addr == 0xf3) {
	cmp	%r12,0x33
	jrne	spc2drv_read_asm_L10	; 	xjrne spc2drv_read_asm_L10	;
	ext	0xf2		; 	xld.ub %r12, [%r11+0xf2]	;   return spc2dsp_read(spc2ram[0xf2]);
	ld.ub	%r12,[%r11]
	ext	spc2dsp_read@rm	; 	xjp spc2dsp_read		; }
	jp	spc2dsp_read@rl

spc2drv_read_asm_L10:
	add %r11, %r12			; data = spc2ram[addr]
	ld.ub	%r10,[%r11]	; 	xld.ub %r10, [%r11]

	ext	0x3		; 	xcmp %r12, 0xfd			; if(addr >= 0xfd) {
	cmp	%r12,0x3d
	jrlt	spc2drv_read_asm_L20	; 	xjrlt spc2drv_read_asm_L20	;
	ld.b	[%r11],%r8	; 	xld.b [%r11], %r8		;   spc2ram[addr] = 0
	cmp	%r10,0x0	; 	xcmp %r10, 0			;   if(data == 0) {
	jrne	spc2drv_read_asm_L20	; 	xjrne spc2drv_read_asm_L20	;
	ld.w	%r3,0x0		; 	xld.w %r3, 0			;     巆傝僞僀儉僗儔僀僗傪曻婞 仛framsp2a.s偺spc2cpu_run嶲徠仛
spc2drv_read_asm_L20:			;   }
	ret				; }

; NO_APP
	.align	1
	.global	spc2drv_write
spc2drv_write:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	spc2ram+0x0@h	; 	xld.w	%r10,spc2ram
	ext	spc2ram+0x0@m
	ld.w	%r10,spc2ram+0x0@l
	ext	0x3		; 	xld.w	%r11,0x000000f3		; 243
	ld.w	%r11,0x33
	cmp	%r12,%r11
	jreq	__LX87		; 	xjreq	__L87
	jrgt	__LX94		; 	xjrgt	__L94
	ext	0x3		; 	xcmp	%r12,241
	cmp	%r12,0x31
	jreq	__LX84		; 	xjreq	__L84
	jp	__LX92		; 	xjp	__L92
__LX94:				; __L94:
	ext	0x3		; 	xcmp	%r12,247
	cmp	%r12,0x37
	jrgt	__LX92		; 	xjrgt	__L92
	jp	__LX83		; 	xjp	__L83
__LX84:				; __L84:
	add	%r10,%r12
	ld.b	[%r10],%r13	; 	xld.b	[%r10],%r13
	ld.w	%r10,%r13
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	jreq	__LX85		; 	xjreq	__L85
	ld.w	%r14,0x0
	ext	spc2ram+0xf5@ah	; 	xld.b	[spc2ram+245],%r14
	ext	spc2ram+0xf5@al
	ld.b	[%r8],%r14
	ext	spc2ram+0xf4@ah	; 	xld.b	[spc2ram+244],%r14
	ext	spc2ram+0xf4@al
	ld.b	[%r8],%r14
__LX85:				; __L85:
	ld.w	%r10,%r13
	ext	0x0		; 	xand	%r10,%r10,0x00000020
	and	%r10,0x20
	jreq	__LX83		; 	xjreq	__L83
	ld.w	%r14,0x0
	ext	spc2ram+0xf7@ah	; 	xld.b	[spc2ram+247],%r14
	ext	spc2ram+0xf7@al
	ld.b	[%r8],%r14
	ext	spc2ram+0xf6@ah	; 	xld.b	[spc2ram+246],%r14
	ext	spc2ram+0xf6@al
	ld.b	[%r8],%r14
	jp	__LX83		; 	xjp	__L83
__LX87:				; __L87:
	ext	spc2ram+0xf2@ah	; 	xld.ub	%r12,[spc2ram+242]
	ext	spc2ram+0xf2@al
	ld.ub	%r12,[%r8]
	ext	spc2dsp_write@rm	; 	xcall	spc2dsp_write
	call	spc2dsp_write@rl
	jp	__LX83		; 	xjp	__L83
__LX92:				; __L92:
	add	%r10,%r12
	ld.b	[%r10],%r13	; 	xld.b	[%r10],%r13
__LX83:				; __L83:
	ret
	.align	1
	.global	spc2drv_mix
spc2drv_mix:
;	.frame	%sp,24,$31		# vars= 4, regs= 5/0, args= 0, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x1		; 	xsub	%sp,%sp,4
	ld.w	[%sp+0x0],%r12	; 	xld.w	[%sp],%r12
	ext	spc2drv+0x0@h	; 	xld.w	%r0,spc2drv
	ext	spc2drv+0x0@m
	ld.w	%r0,spc2drv+0x0@l
	ext	spc2ram+0x0@h	; 	xld.w	%r1,spc2ram
	ext	spc2ram+0x0@m
	ld.w	%r1,spc2ram+0x0@l
	ld.w	%r3,0x0
__LX99:				; __L99:
	ld.w	%r2,0x0
__LX103:				; __L103:
	ext	0xf1		; 	xbtst	[%r1+241],0x0
	btst	[%r1],0x0
	jreq	__LX104		; 	xjreq	__L104
	ext	0xfa		; 	xld.ub	%r12,[%r1+250]
	ld.ub	%r12,[%r1]
	cmp	%r12,0x0
	jrne	__LX105		; 	xjrne	__L105
	ext	0x4		; 	xld.w	%r12,0x00000100		; 256
	ld.w	%r12,0x0
__LX105:				; __L105:
	ld.w	%r10,[%r0]	; 	xld.w	%r10,[%r0]
	add	%r10,0x1	; 	xadd	%r10,%r10,1
	ld.w	[%r0],%r10	; 	xld.w	[%r0],%r10
	cmp	%r10,%r12
	jrlt	__LX104		; 	xjrlt	__L104
__LX108:				; __L108:
	ld.w	%r10,[%r0]	; 	xld.w	%r10,[%r0]
	sub	%r10,%r12
	ld.w	[%r0],%r10	; 	xld.w	[%r0],%r10
	ext	0xfd		; 	xld.ub	%r11,[%r1+253]
	ld.ub	%r11,[%r1]
	ld.ub	%r10,%r11
	cmp	%r10,0xe	; 	xcmp	%r10,14
	jrugt	__LX106		; 	xjrugt	__L106
	ext	0x1		; 	xadd	%r10,%r11,1
	add	%r10,%r11
	ext	0xfd		; 	xld.b	[%r1+253],%r10
	ld.b	[%r1],%r10
__LX106:				; __L106:
	ld.w	%r10,[%r0]	; 	xld.w	%r10,[%r0]
	cmp	%r10,%r12
	jrge	__LX108		; 	xjrge	__L108
__LX104:				; __L104:
	ext	0xf1		; 	xbtst	[%r1+241],0x1
	btst	[%r1],0x1
	jreq	__LX111		; 	xjreq	__L111
	ext	0xfb		; 	xld.ub	%r12,[%r1+251]
	ld.ub	%r12,[%r1]
	cmp	%r12,0x0
	jrne	__LX112		; 	xjrne	__L112
	ext	0x4		; 	xld.w	%r12,0x00000100		; 256
	ld.w	%r12,0x0
__LX112:				; __L112:
	ext	0x4		; 	xld.w	%r10,[%r0+4]
	ld.w	%r10,[%r0]
	add	%r10,0x1	; 	xadd	%r10,%r10,1
	ext	0x4		; 	xld.w	[%r0+4],%r10
	ld.w	[%r0],%r10
	cmp	%r10,%r12
	jrlt	__LX111		; 	xjrlt	__L111
__LX115:				; __L115:
	ext	0x4		; 	xld.w	%r10,[%r0+4]
	ld.w	%r10,[%r0]
	sub	%r10,%r12
	ext	0x4		; 	xld.w	[%r0+4],%r10
	ld.w	[%r0],%r10
	ext	0xfe		; 	xld.ub	%r11,[%r1+254]
	ld.ub	%r11,[%r1]
	ld.ub	%r10,%r11
	cmp	%r10,0xe	; 	xcmp	%r10,14
	jrugt	__LX113		; 	xjrugt	__L113
	ext	0x1		; 	xadd	%r10,%r11,1
	add	%r10,%r11
	ext	0xfe		; 	xld.b	[%r1+254],%r10
	ld.b	[%r1],%r10
__LX113:				; __L113:
	ext	0x4		; 	xld.w	%r10,[%r0+4]
	ld.w	%r10,[%r0]
	cmp	%r10,%r12
	jrge	__LX115		; 	xjrge	__L115
__LX111:				; __L111:
	ext	0xf1		; 	xbtst	[%r1+241],0x2
	btst	[%r1],0x2
	jreq	__LX118		; 	xjreq	__L118
	ext	0xfc		; 	xld.ub	%r12,[%r1+252]
	ld.ub	%r12,[%r1]
	cmp	%r12,0x0
	jrne	__LX119		; 	xjrne	__L119
	ext	0x4		; 	xld.w	%r12,0x00000100		; 256
	ld.w	%r12,0x0
__LX119:				; __L119:
	ext	0x8		; 	xld.w	%r10,[%r0+8]
	ld.w	%r10,[%r0]
	add	%r10,0x8	; 	xadd	%r10,%r10,8
	ext	0x8		; 	xld.w	[%r0+8],%r10
	ld.w	[%r0],%r10
	cmp	%r10,%r12
	jrlt	__LX118		; 	xjrlt	__L118
__LX122:				; __L122:
	ext	0x8		; 	xld.w	%r10,[%r0+8]
	ld.w	%r10,[%r0]
	sub	%r10,%r12
	ext	0x8		; 	xld.w	[%r0+8],%r10
	ld.w	[%r0],%r10
	ext	0xff		; 	xld.ub	%r11,[%r1+255]
	ld.ub	%r11,[%r1]
	ld.ub	%r10,%r11
	cmp	%r10,0xe	; 	xcmp	%r10,14
	jrugt	__LX120		; 	xjrugt	__L120
	ext	0x1		; 	xadd	%r10,%r11,1
	add	%r10,%r11
	ext	0xff		; 	xld.b	[%r1+255],%r10
	ld.b	[%r1],%r10
__LX120:				; __L120:
	ext	0x8		; 	xld.w	%r10,[%r0+8]
	ld.w	%r10,[%r0]
	cmp	%r10,%r12
	jrge	__LX122		; 	xjrge	__L122
__LX118:				; __L118:
	ext	0x0		; 	xld.w	%r12,0x00000020		; 32
	ld.w	%r12,0x20
	ext	spc2cpu_run@rm	; 	xcall	spc2cpu_run
	call	spc2cpu_run@rl
	add	%r2,0x1		; 	xadd	%r2,%r2,1
	cmp	%r2,0x1f	; 	xcmp	%r2,31
	jrle	__LX103		; 	xjrle	__L103
	ld.w	%r12,[%sp+0x0]	; 	xld.w	%r12,[%sp]
	ext	spc2dsp_mix@rm	; 	xcall	spc2dsp_mix
	call	spc2dsp_mix@rl
	ld.w	%r13,[%sp+0x0]	; 	xld.w	%r13,[%sp]
	ext	0x2		; 	xadd	%r13,%r13,128
	add	%r13,0x0
	ld.w	[%sp+0x0],%r13	; 	xld.w	[%sp],%r13
	add	%r3,0x1		; 	xadd	%r3,%r3,1
	cmp	%r3,0x4		; 	xcmp	%r3,4
	jrle	__LX99		; 	xjrle	__L99
	add	%sp,0x1		; 	xadd	%sp,%sp,4
	popn	%r3
	ret
	.align	1
	.global	spc2drv_stream_callback
spc2drv_stream_callback:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	spc2drv_mix@rm	; 	xcall	spc2drv_mix
	call	spc2drv_mix@rl
	ld.w	%r10,0x0
	ret
	.align	1
	.global	spc2_play
spc2_play:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	call	spc2_stop	; 	xcall	spc2_stop
	ld.w	%r12,%r0
	ext	spc2drv_init@rm	; 	xcall	spc2drv_init
	call	spc2drv_init@rl
	ld.w	%r0,%r10
	cmp	%r0,0x0
	jrne	__LX129		; 	xjrne	__L129
	ext	0x5		; 	xld.w	%r12,0x00000140		; 320
	ld.w	%r12,0x0
	ext	spc2drv_stream_callback+0x0@h	; 	xld.w	%r13,spc2drv_stream_callback
	ext	spc2drv_stream_callback+0x0@m
	ld.w	%r13,spc2drv_stream_callback+0x0@l
	ld.w	%r14,%r0
	ld.w	%r15,0x1	; 	xld.w	%r15,0x00000001		; 1
	ext	stream_play@rm	; 	xcall	stream_play
	call	stream_play@rl
	ld.w	%r10,%r0
	jp	__LX130		; 	xjp	__L130
__LX129:				; __L129:
	ld.w	%r10,0x3f	; 	xld.w	%r10,-1			; 0xffffffff
__LX130:				; __L130:
	popn	%r0
	ret
	.align	1
	.global	spc2_stop
spc2_stop:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	stream_stop@rm	; 	xcall	stream_stop
	call	stream_stop@rl
	ret
	.code
	.align	2
__LC1:
	.ascii	"%02d/%02d/%04d\000"
	.code
	.align	1
	.global	spc2_inf
spc2_inf:
;	.frame	%sp,48,$31		# vars= 12, regs= 5/0, args= 16, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x7		; 	xsub	%sp,%sp,28
	ld.w	%r1,%r12
	ld.w	%r2,%r13
	ext	spc2hdr_test@rm	; 	xcall	spc2hdr_test
	call	spc2hdr_test@rl
	ld.w	[%sp+0x6],%r10	; 	xld.w	[%sp+24],%r10
	cmp	%r10,0x0
	jreq	__LX133		; 	xjreq	__L133
	ld.w	%r10,0x3f	; 	xld.w	%r10,-1			; 0xffffffff
	ext	__LX164@rm	; 	xjp	__L164
	jp	__LX164@rl
__LX133:				; __L133:
	cmp	%r2,0x0
	ext	__LX151@rm	; 	xjreq	__L151
	jreq	__LX151@rl
	ld.w	%r12,%r2
	ld.w	%r13,[%sp+0x6]	; 	xld.w	%r13,[%sp+24]
	ext	0x2		; 	xld.w	%r14,0x000000b4		; 180
	ld.w	%r14,0x34
	ext	memset@rm	; 	xcall	memset
	call	memset@rl
	ext	0x23		; 	xld.ub	%r10,[%r1+35]
	ld.ub	%r10,[%r1]
	cmp	%r10,0x1a	; 	xcmp	%r10,26
	ext	__LX151@rm	; 	xjrne	__L151
	jrne	__LX151@rl
	ext	0xd2		; 	xld.ub	%r10,[%r1+210]
	ld.ub	%r10,[%r1]
	cmp	%r10,0x0
	jreq	__LX136		; 	xjreq	__L136
	ext	0x2e		; 	xadd	%r3,%r1,46
	add	%r3,%r1
	ext	0x0		; 	xld.w	%r0,0x00000020		; 32
	ld.w	%r0,0x20
	ld.w	%r12,%r2
	ld.w	%r13,%r3
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x21		; 	xadd	%r12,%r2,33
	add	%r12,%r2
	ld.w	%r13,%r3
	add	%r13,%r0
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x42		; 	xadd	%r12,%r2,66
	add	%r12,%r2
	ext	0x40		; 	xadd	%r13,%r3,64
	add	%r13,%r3
	ld.w	%r14,0x10	; 	xld.w	%r14,0x00000010		; 16
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x53		; 	xadd	%r12,%r2,83
	add	%r12,%r2
	ext	0x50		; 	xadd	%r13,%r3,80
	add	%r13,%r3
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x88		; 	xadd	%r12,%r2,136
	add	%r12,%r2
	ext	0x83		; 	xadd	%r13,%r3,131
	add	%r13,%r3
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x74		; 	xadd	%r12,%r2,116
	add	%r12,%r2
	ext	0x70		; 	xadd	%r13,%r3,112
	add	%r13,%r3
	ld.w	%r14,0xa	; 	xld.w	%r14,0x0000000a		; 10
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ld.w	%r0,[%sp+0x6]	; 	xld.w	%r0,[%sp+24]
__LX140:				; __L140:
	ld.w	%r10,%r3
	add	%r10,%r0
	ext	0x7b		; 	xld.b	%r1,[%r10+123]
	ld.b	%r1,[%r10]
	ld.w	%r12,%r1
	ext	isdigit@rm	; 	xcall	isdigit
	call	isdigit@rl
	cmp	%r10,0x0
	jreq	__LX138		; 	xjreq	__L138
	ext	0x80		; 	xld.w	%r11,[%r2+128]
	ld.w	%r11,[%r2]
	ld.w	%r10,0xa	; 	xld.w	%r10,0x0000000a		; 10
	mlt.w	%r11,%r10
	ld.w	%r10,%alr
	sub	%r10,0x30	; 	xsub	%r10,%r10,48
	add	%r10,%r1
	ext	0x80		; 	xld.w	[%r2+128],%r10
	ld.w	[%r2],%r10
	add	%r0,0x1		; 	xadd	%r0,%r0,1
	cmp	%r0,0x2		; 	xcmp	%r0,2
	jrule	__LX140		; 	xjrule	__L140
__LX138:				; __L138:
	ld.w	%r0,0x0
__LX146:				; __L146:
	ld.w	%r10,%r3
	add	%r10,%r0
	ext	0x7e		; 	xld.b	%r1,[%r10+126]
	ld.b	%r1,[%r10]
	ld.w	%r12,%r1
	ext	isdigit@rm	; 	xcall	isdigit
	call	isdigit@rl
	cmp	%r10,0x0
	jreq	__LX144		; 	xjreq	__L144
	ext	0x84		; 	xld.w	%r11,[%r2+132]
	ld.w	%r11,[%r2]
	ld.w	%r10,0xa	; 	xld.w	%r10,0x0000000a		; 10
	mlt.w	%r11,%r10
	ld.w	%r10,%alr
	sub	%r10,0x30	; 	xsub	%r10,%r10,48
	add	%r10,%r1
	ext	0x84		; 	xld.w	[%r2+132],%r10
	ld.w	[%r2],%r10
	add	%r0,0x1		; 	xadd	%r0,%r0,1
	cmp	%r0,0x4		; 	xcmp	%r0,4
	jrule	__LX146		; 	xjrule	__L146
__LX144:				; __L144:
	ext	0xa3		; 	xld.ub	%r11,[%r3+163]
	ld.ub	%r11,[%r3]
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jreq	__LX149		; 	xjreq	__L149
	ld.w	%r10,%r11
	and	%r10,0x1	; 	xand	%r10,%r10,0x00000001
	ext	0xac		; 	xld.w	[%r2+172],%r10
	ld.w	[%r2],%r10
__LX149:				; __L149:
	ext	0xa4		; 	xld.ub	%r10,[%r3+164]
	ld.ub	%r10,[%r3]
	cmp	%r10,0x0
	ext	__LX151@rm	; 	xjreq	__L151
	jreq	__LX151@rl
	sub	%r10,0x30	; 	xsub	%r10,%r10,48
	ext	__LX165@rm	; 	xjp	__L165
	jp	__LX165@rl
__LX136:				; __L136:
	ext	0x2e		; 	xadd	%r3,%r1,46
	add	%r3,%r1
	ext	0x0		; 	xld.w	%r0,0x00000020		; 32
	ld.w	%r0,0x20
	ld.w	%r12,%r2
	ld.w	%r13,%r3
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x21		; 	xadd	%r12,%r2,33
	add	%r12,%r2
	ld.w	%r13,%r3
	add	%r13,%r0
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x42		; 	xadd	%r12,%r2,66
	add	%r12,%r2
	ext	0x40		; 	xadd	%r13,%r3,64
	add	%r13,%r3
	ld.w	%r14,0x10	; 	xld.w	%r14,0x00000010		; 16
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x53		; 	xadd	%r12,%r2,83
	add	%r12,%r2
	ext	0x50		; 	xadd	%r13,%r3,80
	add	%r13,%r3
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x88		; 	xadd	%r12,%r2,136
	add	%r12,%r2
	ext	0x82		; 	xadd	%r13,%r3,130
	add	%r13,%r3
	ld.w	%r14,%r0
	ext	strncpy@rm	; 	xcall	strncpy
	call	strncpy@rl
	ext	0x9f		; 	xld.ub	%r12,[%r1+159]
	ld.ub	%r12,[%r1]
	ext	0x9e		; 	xld.ub	%r15,[%r1+158]
	ld.ub	%r15,[%r1]
	ld.w	[%sp+0x4],%r15	; 	xld.w	[%sp+16],%r15
	ext	0xa0		; 	xld.ub	%r11,[%r1+160]
	ld.ub	%r11,[%r1]
	ext	0xa1		; 	xld.ub	%r10,[%r1+161]
	ld.ub	%r10,[%r1]
	sll	%r10,0x8	; 	xsll	%r10,8
	or	%r11,%r10
	ld.w	[%sp+0x5],%r11	; 	xld.w	[%sp+20],%r11
	cmp	%r12,0x0
	jrne	__LX153		; 	xjrne	__L153
	cmp	%r15,0x0
	jrne	__LX153		; 	xjrne	__L153
	cmp	%r11,0x0
	jreq	__LX152		; 	xjreq	__L152
__LX153:				; __L153:
	ext	0x74		; 	xadd	%r1,%r2,116
	add	%r1,%r2
	ext	__LC1+0x0@h	; 	xld.w	%r10,__LC1
	ext	__LC1+0x0@m
	ld.w	%r10,__LC1+0x0@l
	ld.w	[%sp+0x0],%r10	; 	xld.w	[%sp],%r10
	ext	0x1		; 	xld.w	%r0,0x00000064		; 100
	ld.w	%r0,0x24
	ld.w	%r13,%r0
	ext	__modsi3@rm	; 	xcall	__modsi3
	call	__modsi3@rl
	ld.w	[%sp+0x1],%r10	; 	xld.w	[%sp+4],%r10
	ld.w	%r12,[%sp+0x4]	; 	xld.w	%r12,[%sp+16]
	ld.w	%r13,%r0
	ext	__modsi3@rm	; 	xcall	__modsi3
	call	__modsi3@rl
	ld.w	[%sp+0x2],%r10	; 	xld.w	[%sp+8],%r10
	ld.w	%r12,[%sp+0x5]	; 	xld.w	%r12,[%sp+20]
	ext	0x9c		; 	xld.w	%r13,0x00002710		; 10000
	ld.w	%r13,0x10
	ext	__modsi3@rm	; 	xcall	__modsi3
	call	__modsi3@rl
	ld.w	[%sp+0x3],%r10	; 	xld.w	[%sp+12],%r10
	ld.w	%r12,%r1
	ext	sprintf@rm	; 	xcall	sprintf
	call	sprintf@rl
__LX152:				; __L152:
	ld.w	%r0,0x0
	ext	0x1		; 	xld.w	%r12,0x0000007b		; 123
	ld.w	%r12,0x3b
__LX157:				; __L157:
	ld.w	%r10,%r3
	add	%r10,%r0
	add	%r10,%r12
	ld.ub	%r1,[%r10]	; 	xld.ub	%r1,[%r10]
	ld.w	%r10,%r0
	sll	%r10,0x3	; 	xsll	%r10,3
	ld.w	%r11,%r1
	ld.w	%r9,%r10	; 	xsll	%r11,%r10
	and	%r9,0x1f
	cmp	%r9,0x8
	jrle	4
	sll	%r11,0x8
	jp.d	-3
	sub	%r9,0x8
	sll	%r11,%r9
	ext	0x80		; 	xld.w	%r10,[%r2+128]
	ld.w	%r10,[%r2]
	add	%r10,%r11
	ext	0x80		; 	xld.w	[%r2+128],%r10
	ld.w	[%r2],%r10
	add	%r0,0x1		; 	xadd	%r0,%r0,1
	cmp	%r0,0x2		; 	xcmp	%r0,2
	jrule	__LX157		; 	xjrule	__L157
	ld.w	%r0,0x0
	ext	0x1		; 	xld.w	%r12,0x0000007e		; 126
	ld.w	%r12,0x3e
__LX162:				; __L162:
	ld.w	%r10,%r3
	add	%r10,%r0
	add	%r10,%r12
	ld.ub	%r1,[%r10]	; 	xld.ub	%r1,[%r10]
	ld.w	%r10,%r0
	sll	%r10,0x3	; 	xsll	%r10,3
	ld.w	%r11,%r1
	ld.w	%r9,%r10	; 	xsll	%r11,%r10
	and	%r9,0x1f
	cmp	%r9,0x8
	jrle	4
	sll	%r11,0x8
	jp.d	-3
	sub	%r9,0x8
	sll	%r11,%r9
	ext	0x84		; 	xld.w	%r10,[%r2+132]
	ld.w	%r10,[%r2]
	add	%r10,%r11
	ext	0x84		; 	xld.w	[%r2+132],%r10
	ld.w	[%r2],%r10
	add	%r0,0x1		; 	xadd	%r0,%r0,1
	cmp	%r0,0x3		; 	xcmp	%r0,3
	jrule	__LX162		; 	xjrule	__L162
	ext	0xa2		; 	xld.ub	%r10,[%r3+162]
	ld.ub	%r10,[%r3]
	ext	0xac		; 	xld.w	[%r2+172],%r10
	ld.w	[%r2],%r10
	ext	0xa3		; 	xld.ub	%r10,[%r3+163]
	ld.ub	%r10,[%r3]
__LX165:				; __L165:
	ext	0xb0		; 	xld.w	[%r2+176],%r10
	ld.w	[%r2],%r10
__LX151:				; __L151:
	ld.w	%r10,0x0
__LX164:				; __L164:
	add	%sp,0x7		; 	xadd	%sp,%sp,28
	popn	%r3
	ret

	.comm	spc2dsp 804

	.comm	spc2drv 12

	.comm	spc2ram 65536

	.comm	spc2ext 64
