
;  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	"\202\261\202\314\203v\203\215\203O\203\211\203\200\202\315"
	.ascii	"\201A\n"
	.ascii	"BIOS ver%d.%02d \210\310\217\343\n\202\305\202\310\202\242"
	.ascii	"\202\306\223\256\215\354\202\265\202\334\202\271\202\361"
	.ascii	"\201B\n\n"
	.ascii	"A\203{\203^\203\223\202\360\211\237\202\267\202\306\n\217"
	.ascii	"I\227\271\202\265\202\334\202\267\201B\000"
	.code
	.align	1
	.global	__version_check
__version_check:
;	.frame	%sp,24,$31		# vars= 0, regs= 3/0, args= 12, extra= 0
;	.mask	0x80030000,-4
;	.fmask	0x00000000,0
	pushn	%r1
	sub	%sp,0x3		; 	xsub	%sp,%sp,12
	ld.w	%r1,%r12
	ext	pceSystemGetInfo@rm	; 	xcall	pceSystemGetInfo
	call	pceSystemGetInfo@rl
	ext	0x4		; 	xld.uh	%r10,[%r10+4]
	ld.uh	%r10,[%r10]
	ext	0x4		; 	xcmp	%r10,275
	cmp	%r10,0x13
	jrule	__LX71		; 	xjrule	__L71
	ld.w	%r10,0x0
	jp	__LX76		; 	xjp	__L76
__LX71:				; __L71:
	cmp	%r1,0x1		; 	xcmp	%r1,1
	jrne	__LX72		; 	xjrne	__L72
	ext	_def_vbuff+0x0@h	; 	xld.w	%r0,_def_vbuff
	ext	_def_vbuff+0x0@m
	ld.w	%r0,_def_vbuff+0x0@l
	ld.w	%r12,%r0
	ext	pceLCDSetBuffer@rm	; 	xcall	pceLCDSetBuffer
	call	pceLCDSetBuffer@rl
	ld.w	%r12,%r0
	ld.w	%r13,0x0
	ext	0xb0		; 	xld.w	%r14,0x00002c00		; 11264
	ld.w	%r14,0x0
	ext	memset@rm	; 	xcall	memset
	call	memset@rl
	ld.w	%r12,0x0
	ld.w	%r13,0xa	; 	xld.w	%r13,0x0000000a		; 10
	ext	pceFontSetPos@rm	; 	xcall	pceFontSetPos
	call	pceFontSetPos@rl
	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	[%sp+0x1],%r1	; 	xld.w	[%sp+4],%r1
	ld.w	%r10,0x14	; 	xld.w	%r10,0x00000014		; 20
	ld.w	[%sp+0x2],%r10	; 	xld.w	[%sp+8],%r10
	ext	pceFontPrintf@rm	; 	xcall	pceFontPrintf
	call	pceFontPrintf@rl
	ext	pceLCDTrans@rm	; 	xcall	pceLCDTrans
	call	pceLCDTrans@rl
	ext	pceLCDDispStart@rm	; 	xcall	pceLCDDispStart
	call	pceLCDDispStart@rl
	jp	__LX73		; 	xjp	__L73
__LX72:				; __L72:
	cmp	%r1,0x0
	jreq	__LX73		; 	xjreq	__L73
	ext	pcePadGet@rm	; 	xcall	pcePadGet
	call	pcePadGet@rl
	ext	0x80		; 	xand	%r10,%r10,0x00002000
	and	%r10,0x0
	jreq	__LX73		; 	xjreq	__L73
	ld.w	%r12,0x0
	ext	pceAppReqExit@rm	; 	xcall	pceAppReqExit
	call	pceAppReqExit@rl
__LX73:				; __L73:
	ld.w	%r10,0x1	; 	xld.w	%r10,0x00000001		; 1
__LX76:				; __L76:
	add	%sp,0x3		; 	xadd	%sp,%sp,12
	popn	%r1
	ret

