	.file	"cosc065.c"
	.section	.rodata
	.align 2
.LC0:
	.string	"%d\n"
	.section	".text"
	.align 2
	.globl printnum
	.type	printnum, @function
printnum:
	stwu 1,-32(1)
	mflr 0
	stw 31,28(1)
	stw 0,36(1)
	mr 31,1
	stw 3,8(31)
	lis 9,.LC0@ha
	la 3,.LC0@l(9)
	lwz 4,8(31)
	crxor 6,6,6
	bl printf
	lwz 11,0(1)
	lwz 0,4(11)
	mtlr 0
	lwz 31,-4(11)
	mr 1,11
	blr
	.size	printnum,.-printnum
	.section	.rodata
	.align 2
.LC1:
	.string	"0x%0X\n"
	.section	".text"
	.align 2
	.globl printhex
	.type	printhex, @function
printhex:
	stwu 1,-32(1)
	mflr 0
	stw 31,28(1)
	stw 0,36(1)
	mr 31,1
	stw 3,8(31)
	lis 9,.LC1@ha
	la 3,.LC1@l(9)
	lwz 4,8(31)
	crxor 6,6,6
	bl printf
	lwz 11,0(1)
	lwz 0,4(11)
	mtlr 0
	lwz 31,-4(11)
	mr 1,11
	blr
	.size	printhex,.-printhex
	.section	.rodata
	.align 2
.LC2:
	.string	"? "
	.align 2
.LC3:
	.string	"%d"
	.section	".text"
	.align 2
	.globl getnum
	.type	getnum, @function
getnum:
	stwu 1,-32(1)
	mflr 0
	stw 31,28(1)
	stw 0,36(1)
	mr 31,1
	lis 9,.LC2@ha
	la 3,.LC2@l(9)
	bl printf
	lis 9,stdout@ha
	lwz 3,stdout@l(9)
	bl fflush
	lis 9,.LC3@ha
	la 3,.LC3@l(9)
	addi 4,31,8
	crxor 6,6,6
	bl scanf
	lwz 0,8(31)
	mr 3,0
	lwz 11,0(1)
	lwz 0,4(11)
	mtlr 0
	lwz 31,-4(11)
	mr 1,11
	blr
	.size	getnum,.-getnum
	.section	.note.GNU-stack,"",@progbits
	.ident	"GCC: (GNU) 3.3.3 (Yellow Dog Linux 3.3.3-16.ydl.4)"
