	.file	"215672.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.ascii	"Hurkle Hunt in "
	.string	"3D\n\nA hurkle is a cute little creature, that in this game can fly. The hurkle\nis hiding in a region %d x %d x %d. After every guess your special hurkle\nlocator will tell you which way you need to go. Keep in mind that 1,1,1 is\nthe lowest northwest corner.\n"
	.align 8
.LC1:
	.string	"Input your move by typing the x then y then z coordinate seperated\nby commas like \"1,2,3\"\n"
.LC2:
	.string	"The hurkle is ready."
	.align 8
.LC3:
	.string	"\nWhere do you want to look? (X,Y,Z) : "
.LC4:
	.string	"%d %*c %d %*c %d"
.LC5:
	.string	"The hurkle is "
.LC6:
	.string	"south"
.LC7:
	.string	"north"
.LC8:
	.string	"east"
.LC9:
	.string	"west"
.LC10:
	.string	" and "
.LC11:
	.string	"up"
.LC12:
	.string	"down"
.LC13:
	.string	"HERE!\nYou found the hurkle!\n"
	.align 8
.LC14:
	.string	"\nThats %d trys and you didn't find the hurkle.\nThe hurkle was hiding at %d, %d, %d.\n\n"
	.align 8
.LC15:
	.string	"Would you like to play again? (y/n) "
	.align 8
.LC16:
	.ascii	"\n\n\n\n\n\n\n\n\tCymon's Games\n\n\thttp://WWW.CYMONSGAMES."
	.ascii	"COM\n\n\n   This game and its code i"
	.string	"s a 2008 Cymon's Games game.\n   If you have enjoyed this game or would just like to have a new game\n   each week please visit:\n   http://WWW.CYMONSGAMES.COM for C/C++ programming resources and programs\n   for everyone, beginners and advanced users alike.\n\n"
	.align 8
.LC17:
	.string	"\n\tPress ENTER to continue...\n\n\n\n\n"
.LC18:
	.string	"Good bye for now!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	ecx, 10
	mov	edx, 10
	mov	esi, 10
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
.L16:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	ecx, edx
	lea	eax, 1[rcx]
	mov	DWORD PTR -36[rbp], eax
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	ecx, edx
	lea	eax, 1[rcx]
	mov	DWORD PTR -32[rbp], eax
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	lea	eax, 1[rcx]
	mov	DWORD PTR -28[rbp], eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -40[rbp], 1
	jmp	.L2
.L12:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -44[rbp]
	lea	rdx, -48[rbp]
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jle	.L3
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jge	.L4
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L5
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L6
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L7
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	je	.L8
.L7:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -28[rbp], eax
	je	.L8
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L9
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jge	.L10
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	add	DWORD PTR -40[rbp], 1
.L2:
	cmp	DWORD PTR -40[rbp], 10
	jg	.L11
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L12
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L12
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L12
.L11:
	cmp	DWORD PTR -40[rbp], 10
	jg	.L13
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L14
.L13:
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 10
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L15:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	BYTE PTR -53[rbp], al
	movsx	rax, BYTE PTR -53[rbp]
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L15
	movsx	eax, BYTE PTR -53[rbp]
	mov	edi, eax
	call	tolower@PLT
	cmp	eax, 110
	jne	.L16
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	call	getchar@PLT
	call	getchar@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"215672.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hurkle Hunt in 3D\012\012A hurkle is a cute little "
	.ascii	"creature, that in this game can fly. The hurkle\012"
	.ascii	"is hiding in a region %d x %d x %d. After every gue"
	.ascii	"ss your special hurkle\012locator will tell you whi"
	.ascii	"ch way you need to go. Keep in mind that 1,1,1 is\012"
	.ascii	"the lowest northwest corner.\012\000"
	.align	2
.LC1:
	.ascii	"Input your move by typing the x then y then z coord"
	.ascii	"inate seperated\012by commas like \"1,2,3\"\012\000"
	.align	2
.LC2:
	.ascii	"The hurkle is ready.\000"
	.align	2
.LC3:
	.ascii	"\012Where do you want to look? (X,Y,Z) : \000"
	.align	2
.LC4:
	.ascii	"%d %*c %d %*c %d\000"
	.align	2
.LC5:
	.ascii	"The hurkle is \000"
	.align	2
.LC6:
	.ascii	"south\000"
	.align	2
.LC7:
	.ascii	"north\000"
	.align	2
.LC8:
	.ascii	"east\000"
	.align	2
.LC9:
	.ascii	"west\000"
	.align	2
.LC10:
	.ascii	" and \000"
	.align	2
.LC11:
	.ascii	"up\000"
	.align	2
.LC12:
	.ascii	"down\000"
	.align	2
.LC13:
	.ascii	"HERE!\012You found the hurkle!\012\000"
	.align	2
.LC14:
	.ascii	"\012Thats %d trys and you didn't find the hurkle.\012"
	.ascii	"The hurkle was hiding at %d, %d, %d.\012\012\000"
	.align	2
.LC15:
	.ascii	"Would you like to play again? (y/n) \000"
	.align	2
.LC16:
	.ascii	"\012\012\012\012\012\012\012\012\011Cymon's Games\012"
	.ascii	"\012\011http://WWW.CYMONSGAMES.COM\012\012\012   Th"
	.ascii	"is game and its code is a 2008 Cymon's Games game.\012"
	.ascii	"   If you have enjoyed this game or would just like"
	.ascii	" to have a new game\012   each week please visit:\012"
	.ascii	"   http://WWW.CYMONSGAMES.COM for C/C++ programming"
	.ascii	" resources and programs\012   for everyone, beginne"
	.ascii	"rs and advanced users alike.\012\012\000"
	.align	2
.LC17:
	.ascii	"\012\011Press ENTER to continue...\012\012\012\012\012"
	.ascii	"\000"
	.align	2
.LC18:
	.ascii	"Good bye for now!\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #10
	mov	r2, #10
	mov	r1, #10
	ldr	r0, .L18+4
	bl	printf
	ldr	r0, .L18+8
	bl	puts
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
.L16:
	bl	rand
	mov	r1, r0
	ldr	r3, .L18+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-28]
	bl	rand
	mov	r1, r0
	ldr	r3, .L18+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-24]
	bl	rand
	mov	r1, r0
	ldr	r3, .L18+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-20]
	ldr	r0, .L18+16
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L2
.L12:
	ldr	r0, .L18+20
	bl	printf
	sub	r3, fp, #36
	sub	r2, fp, #40
	sub	r1, fp, #44
	ldr	r0, .L18+24
	bl	__isoc99_scanf
	ldr	r0, .L18+28
	bl	printf
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L3
	ldr	r0, .L18+32
	bl	printf
.L3:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L4
	ldr	r0, .L18+36
	bl	printf
.L4:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L5
	ldr	r0, .L18+40
	bl	printf
.L5:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bge	.L6
	ldr	r0, .L18+44
	bl	printf
.L6:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L7
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L8
.L7:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L8
	ldr	r0, .L18+48
	bl	printf
.L8:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L9
	ldr	r0, .L18+52
	bl	printf
.L9:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L10
	ldr	r0, .L18+56
	bl	printf
.L10:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #10
	bgt	.L11
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L12
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L12
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L12
.L11:
	ldr	r3, [fp, #-32]
	cmp	r3, #10
	bgt	.L13
	ldr	r0, .L18+60
	bl	puts
	b	.L14
.L13:
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mov	r1, #10
	ldr	r0, .L18+64
	bl	printf
.L14:
	ldr	r0, .L18+68
	bl	printf
	nop
.L15:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-45]
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L15
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	cmp	r3, #110
	bne	.L16
	ldr	r0, .L18+72
	bl	puts
	ldr	r0, .L18+76
	bl	puts
	bl	getchar
	bl	getchar
	ldr	r0, .L18+80
	bl	printf
	mov	r0, #0
	bl	exit
.L19:
	.align	2
.L18:
	.word	.LC19
	.word	.LC0
	.word	.LC1
	.word	1717986919
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
