
;  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	"clipres.$(%d)\000"
	.code
	.align	1
	.global	resource_address
resource_address:
;	.frame	%sp,12,$31		# vars= 0, regs= 1/0, args= 8, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	sub	%sp,0x2		; 	xsub	%sp,%sp,8
	ld.w	%r13,0x0
	ext	file_defrag@rm	; 	xcall	file_defrag
	call	file_defrag@rl
	ld.w	%r12,%r10
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	ext	0x1		; 	xcmp	%r10,88
	cmp	%r10,0x18
	jreq	__LX71		; 	xjreq	__L71
	ext	__LC0+0x0@h	; 	xld.w	%r10,__LC0
	ext	__LC0+0x0@m
	ld.w	%r10,__LC0+0x0@l
	ld.w	[%sp+0x0],%r10	; 	xld.w	[%sp],%r10
	ld.w	%r10,0x1b	; 	xld.w	%r10,0x0000001b		; 27
	ld.w	[%sp+0x1],%r10	; 	xld.w	[%sp+4],%r10
	ext	die@rm		; 	xcall	die
	call	die@rl
__LX71:				; __L71:
	ext	0x2		; 	xld.uh	%r10,[%r12+2]
	ld.uh	%r10,[%r12]
	ext	0x10		; 	xld.w	%r11,[%r12+16]
	ld.w	%r11,[%r12]
	add	%r10,%r11
	add	%r10,0x3	; 	xadd	%r10,%r10,3
	and	%r10,0x3c	; 	xand	%r10,%r10,0xfffffffc
	add	%r12,%r10
	ld.w	%r10,%r12
	add	%sp,0x2		; 	xadd	%sp,%sp,8
	ret
