	.file	"239774.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Command:"
.LC1:
	.string	"%20s"
.LC2:
	.string	"quit"
.LC3:
	.string	"move"
.LC4:
	.string	"turn"
.LC5:
	.string	"fire"
.LC6:
	.string	"to doing ...."
	.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
	sub	rsp, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	CreateWorld
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	GetEmptyRoom
	mov	QWORD PTR -144[rbp], rax
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	DWORD PTR -156[rbp], eax
.L14:
	mov	rdx, QWORD PTR -144[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	DisplayStatus
	test	al, al
	jne	.L17
	mov	edx, DWORD PTR -156[rbp]
	mov	rcx, QWORD PTR -144[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	DisplayWorld
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L18
	lea	rax, -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -156[rbp]
	mov	edi, eax
	call	DifferenceByDirection
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L14
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	add	QWORD PTR -144[rbp], rax
	jmp	.L14
.L5:
	lea	rax, -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	cmp	DWORD PTR -156[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -156[rbp], eax
	jmp	.L14
.L7:
	lea	rax, -32[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	eax, DWORD PTR -156[rbp]
	mov	edi, eax
	call	DifferenceByDirection
	mov	DWORD PTR -148[rbp], eax
	mov	BYTE PTR -157[rbp], 0
	mov	DWORD PTR -152[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	add	QWORD PTR -136[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	DisplayStatus
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L10
	mov	BYTE PTR -157[rbp], 1
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L11
.L10:
	add	DWORD PTR -152[rbp], 1
.L9:
	cmp	DWORD PTR -152[rbp], 2
	jg	.L11
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L12
.L11:
	cmp	BYTE PTR -157[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L14
.L8:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L14
.L17:
	nop
	jmp	.L3
.L18:
	nop
	jmp	.L3
.L19:
	nop
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	CreateWorld
	.type	CreateWorld, @function
CreateWorld:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -12[rbp], 1
.L21:
	cmp	DWORD PTR -12[rbp], 21
	jle	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 2
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 84
	mov	DWORD PTR [rax], 2
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	GetEmptyRoom
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 1
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	CreateWorld, .-CreateWorld
	.globl	GetEmptyRoom
	.type	GetEmptyRoom, @function
GetEmptyRoom:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
.L24:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 780903145
	shr	rdx, 32
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	edx, DWORD PTR -4[rbp]
	imul	edx, edx, 22
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	GetEmptyRoom, .-GetEmptyRoom
	.section	.rodata
.LC7:
	.string	"<A  "
.LC8:
	.string	" A> "
.LC9:
	.string	"-W-"
.LC10:
	.string	" . "
	.text
	.globl	DisplayWorld
	.type	DisplayWorld, @function
DisplayWorld:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	QWORD PTR -8[rbp], rax
	jmp	.L27
.L34:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jne	.L28
	cmp	DWORD PTR -36[rbp], 0
	je	.L29
	cmp	DWORD PTR -36[rbp], 1
	je	.L30
	jmp	.L32
.L29:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	jmp	.L32
.L30:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L32
.L28:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L33
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L32
.L33:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L32:
	add	QWORD PTR -8[rbp], 4
.L27:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L34
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	DisplayWorld, .-DisplayWorld
	.globl	DifferenceByDirection
	.type	DifferenceByDirection, @function
DifferenceByDirection:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 0
	jne	.L36
	mov	eax, -1
	jmp	.L37
.L36:
	mov	eax, 1
.L37:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	DifferenceByDirection, .-DifferenceByDirection
	.section	.rodata
	.align 8
.LC11:
	.string	"You have been eaten by the Wumpus"
.LC12:
	.string	"I smell a Wumpus"
	.text
	.globl	DisplayStatus
	.type	DisplayStatus, @function
DisplayStatus:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L39
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L40
.L39:
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 4
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	je	.L41
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L42
.L41:
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L42:
	mov	eax, 0
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	DisplayStatus, .-DisplayStatus
	.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	"239774.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Command:\000"
	.align	2
.LC1:
	.ascii	"%20s\000"
	.align	2
.LC2:
	.ascii	"quit\000"
	.align	2
.LC3:
	.ascii	"move\000"
	.align	2
.LC4:
	.ascii	"turn\000"
	.align	2
.LC5:
	.ascii	"fire\000"
	.align	2
.LC6:
	.ascii	"to doing ....\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	r3, fp, #116
	mov	r0, r3
	bl	CreateWorld
	sub	r3, fp, #116
	mov	r0, r3
	bl	GetEmptyRoom
	str	r0, [fp, #-136]
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	str	r3, [fp, #-132]
.L14:
	sub	r3, fp, #116
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	DisplayStatus
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #116
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	DisplayWorld
	ldr	r0, .L20+4
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	sub	r3, fp, #28
	ldr	r1, .L20+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #28
	ldr	r1, .L20+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r0, [fp, #-132]
	bl	DifferenceByDirection
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L14
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	str	r3, [fp, #-136]
	b	.L14
.L5:
	sub	r3, fp, #28
	ldr	r1, .L20+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-132]
	b	.L14
.L7:
	sub	r3, fp, #28
	ldr	r1, .L20+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-136]
	str	r3, [fp, #-128]
	ldr	r0, [fp, #-132]
	bl	DifferenceByDirection
	str	r0, [fp, #-120]
	mov	r3, #0
	strb	r3, [fp, #-137]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L9
.L12:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	str	r3, [fp, #-128]
	sub	r3, fp, #116
	ldr	r1, [fp, #-128]
	mov	r0, r3
	bl	DisplayStatus
	ldr	r3, [fp, #-128]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L10
	mov	r3, #1
	strb	r3, [fp, #-137]
	ldr	r3, [fp, #-128]
	mov	r2, #0
	str	r2, [r3]
	b	.L11
.L10:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L9:
	ldr	r3, [fp, #-124]
	cmp	r3, #2
	bgt	.L11
	ldr	r3, [fp, #-128]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L12
.L11:
	ldrb	r3, [fp, #-137]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-136]
	b	.L14
.L8:
	ldr	r0, .L20+28
	bl	puts
	b	.L14
.L17:
	nop
	b	.L3
.L18:
	nop
	b	.L3
.L19:
	nop
.L3:
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.align	2
	.global	CreateWorld
	.syntax unified
	.arm
	.fpu softvfp
	.type	CreateWorld, %function
CreateWorld:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L23
.L24:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L23:
	ldr	r3, [fp, #-12]
	cmp	r3, #21
	ble	.L24
	ldr	r3, [fp, #-16]
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #84
	mov	r2, #2
	str	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	GetEmptyRoom
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	CreateWorld, .-CreateWorld
	.align	2
	.global	GetEmptyRoom
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetEmptyRoom, %function
GetEmptyRoom:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
.L26:
	bl	rand
	mov	r2, r0
	ldr	r3, .L28
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	780903145
	.size	GetEmptyRoom, .-GetEmptyRoom
	.section	.rodata
	.align	2
.LC8:
	.ascii	"<A  \000"
	.align	2
.LC9:
	.ascii	" A> \000"
	.align	2
.LC10:
	.ascii	"-W-\000"
	.align	2
.LC11:
	.ascii	" . \000"
	.text
	.align	2
	.global	DisplayWorld
	.syntax unified
	.arm
	.fpu softvfp
	.type	DisplayWorld, %function
DisplayWorld:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-8]
	b	.L31
.L38:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	beq	.L34
	b	.L36
.L33:
	ldr	r0, .L39
	bl	printf
	nop
	b	.L36
.L34:
	ldr	r0, .L39+4
	bl	printf
	b	.L36
.L32:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L37
	ldr	r0, .L39+8
	bl	printf
	b	.L36
.L37:
	ldr	r0, .L39+12
	bl	printf
	nop
.L36:
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	str	r3, [fp, #-8]
.L31:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L38
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	DisplayWorld, .-DisplayWorld
	.align	2
	.global	DifferenceByDirection
	.syntax unified
	.arm
	.fpu softvfp
	.type	DifferenceByDirection, %function
DifferenceByDirection:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L42
	mvn	r3, #0
	b	.L43
.L42:
	mov	r3, #1
.L43:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	DifferenceByDirection, .-DifferenceByDirection
	.section	.rodata
	.align	2
.LC12:
	.ascii	"You have been eaten by the Wumpus\000"
	.align	2
.LC13:
	.ascii	"I smell a Wumpus\000"
	.text
	.align	2
	.global	DisplayStatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	DisplayStatus, %function
DisplayStatus:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L45
	ldr	r0, .L49
	bl	puts
	mov	r3, #1
	b	.L46
.L45:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L47
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L48
.L47:
	ldr	r0, .L49+4
	bl	puts
.L48:
	mov	r3, #0
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC12
	.word	.LC13
	.size	DisplayStatus, .-DisplayStatus
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
