	.file	"357952.c"
	.intel_syntax noprefix
	.text
	.globl	myTreasures
	.bss
	.align 32
	.type	myTreasures, @object
	.size	myTreasures, 140
myTreasures:
	.zero	140
	.globl	myScore
	.align 4
	.type	myScore, @object
	.size	myScore, 4
myScore:
	.zero	4
	.globl	MAXSCORE
	.align 4
	.type	MAXSCORE, @object
	.size	MAXSCORE, 4
MAXSCORE:
	.zero	4
	.globl	Ad
	.align 32
	.type	Ad, @object
	.size	Ad, 11404
Ad:
	.zero	11404
	.globl	firstRoom
	.align 8
	.type	firstRoom, @object
	.size	firstRoom, 8
firstRoom:
	.zero	8
	.section	.rodata
.LC0:
	.string	"adventure.txt"
.LC1:
	.string	"Help"
.LC2:
	.string	"Go"
.LC3:
	.string	"%s %s"
.LC4:
	.string	"Look"
.LC5:
	.string	"Take"
.LC6:
	.string	"Drop"
.LC7:
	.string	"Score"
.LC8:
	.string	"Quit"
.LC9:
	.string	"Oh, that's sad! "
.LC10:
	.string	"I don't know how to \"%s\".\n"
.LC11:
	.string	"Congratulations! "
	.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	loadAdventure
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jne	.L2
	mov	eax, 0
	jmp	.L15
.L2:
	lea	rax, Ad[rip+4]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, Ad[rip+4]
	mov	QWORD PTR firstRoom[rip], rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 18
	mov	rdi, rax
	call	puts@PLT
	jmp	.L4
.L14:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR myScore[rip]
	add	eax, edx
	mov	DWORD PTR myScore[rip], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 4[rax], 1
.L5:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -32[rbp]
	mov	esi, 19
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -32[rbp+rax], 0
	lea	rax, -32[rbp]
	mov	edx, 4
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L6
	call	help
	jmp	.L4
.L6:
	lea	rax, -32[rbp]
	mov	edx, 2
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	lea	rcx, -52[rbp]
	lea	rdx, -42[rbp]
	lea	rax, -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rdx, -52[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	findRoom
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	je	.L4
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 18
	mov	rdi, rax
	call	puts@PLT
	jmp	.L4
.L7:
	lea	rax, -32[rbp]
	mov	edx, 4
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	look
	jmp	.L4
.L9:
	lea	rax, -32[rbp]
	mov	edx, 4
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L10
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	take
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	look
	jmp	.L4
.L10:
	lea	rax, -32[rbp]
	mov	edx, 4
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L11
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	drop
	mov	edx, DWORD PTR myScore[rip]
	mov	eax, DWORD PTR MAXSCORE[rip]
	cmp	edx, eax
	jge	.L4
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	look
	jmp	.L4
.L11:
	lea	rax, -32[rbp]
	mov	edx, 5
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L12
	call	score
	jmp	.L4
.L12:
	lea	rax, -32[rbp]
	mov	edx, 4
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L13
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	call	score
	mov	eax, 0
	jmp	.L15
.L13:
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	edx, DWORD PTR myScore[rip]
	mov	eax, DWORD PTR MAXSCORE[rip]
	cmp	edx, eax
	jl	.L14
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	call	score
	mov	eax, 0
.L15:
	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
	.section	.rodata
	.align 8
.LC12:
	.string	"You have earned %d out of %d points.\n"
	.text
	.globl	score
	.type	score, @function
score:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, DWORD PTR MAXSCORE[rip]
	mov	eax, DWORD PTR myScore[rip]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	score, .-score
	.section	.rodata
	.align 8
.LC13:
	.string	"I will help you explore the world and find treasures. You must find all of the treasures and bring them back to the beginning. You can tell me instructions like \"go\", \"look\", \"take\", \"drop\", and \"score\"."
	.text
	.globl	help
	.type	help, @function
help:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC13[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	help, .-help
	.globl	addTreasure
	.type	addTreasure, @function
addTreasure:
.LFB9:
	.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -20[rbp], 0
	jmp	.L20
.L25:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 992[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L21
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1020
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L22
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1024
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L23
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1012
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR myScore[rip]
	add	eax, edx
	mov	DWORD PTR myScore[rip], eax
.L23:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1020
	mov	DWORD PTR [rax], 1
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1024
	mov	DWORD PTR [rax], 1
.L22:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 992
	mov	rcx, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR 16[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	eax, DWORD PTR 32[rax]
	mov	DWORD PTR 24[rdx], eax
	jmp	.L19
.L21:
	add	DWORD PTR -20[rbp], 1
.L20:
	cmp	DWORD PTR -20[rbp], 4
	jle	.L25
	nop
.L19:
	mov	rax, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	addTreasure, .-addTreasure
	.section	.rodata
.LC14:
	.string	"You already have a *%s*.\n"
	.align 8
.LC15:
	.string	"There is no treasure called *%s*.\n"
	.text
	.globl	take
	.type	take, @function
take:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 96
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -60[rbp], -1
	lea	rcx, -34[rbp]
	lea	rdx, -44[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L27
.L29:
	add	DWORD PTR -52[rbp], 1
.L27:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, myTreasures[rip]
	add	rdx, rax
	lea	rax, -34[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcasecmp@PLT
	test	eax, eax
	je	.L28
	cmp	DWORD PTR -52[rbp], 4
	jle	.L29
.L28:
	cmp	DWORD PTR -52[rbp], 4
	jg	.L30
	lea	rax, -34[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L40
.L30:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L32
.L33:
	add	DWORD PTR -56[rbp], 1
.L32:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, myTreasures[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	jne	.L33
	mov	DWORD PTR -48[rbp], 0
	jmp	.L34
.L37:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 992[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rax, -34[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L35
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -60[rbp], eax
.L35:
	add	DWORD PTR -48[rbp], 1
.L34:
	cmp	DWORD PTR -48[rbp], 4
	jg	.L36
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1000
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L37
.L36:
	cmp	DWORD PTR -60[rbp], -1
	jne	.L38
	lea	rax, -34[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L40
.L38:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	r12, rax
	lea	rbx, myTreasures[rip]
	lea	rax, -112[rbp]
	lea	rdx, -34[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	addTreasure
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR [r12+rbx], rax
	mov	QWORD PTR 8[r12+rbx], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR 16[r12+rbx], rax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR 24[r12+rbx], eax
.L40:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	add	rsp, 96
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	take, .-take
	.section	.rodata
	.align 8
.LC16:
	.string	"I don't know how to go to \"%s\"\n"
	.text
	.globl	findRoom
	.type	findRoom, @function
findRoom:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -18[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 848[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L43
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 848[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 22[rax]
	lea	rax, -18[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 884
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L43
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 880
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR myScore[rip]
	add	eax, edx
	mov	DWORD PTR myScore[rip], eax
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 884
	mov	DWORD PTR [rax], 1
.L43:
	add	DWORD PTR -28[rbp], 1
.L42:
	cmp	DWORD PTR -28[rbp], 4
	jle	.L44
	movzx	eax, BYTE PTR -18[rbp]
	test	al, al
	jne	.L45
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L41
.L45:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L47
.L49:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	imul	rax, rax, 1140
	lea	rdx, Ad[rip]
	add	rax, rdx
	lea	rdx, 12[rax]
	lea	rax, -18[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L48
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	imul	rax, rax, 1140
	lea	rdx, Ad[rip]
	add	rax, rdx
	add	rax, 4
	jmp	.L41
.L48:
	add	DWORD PTR -24[rbp], 1
.L47:
	cmp	DWORD PTR -24[rbp], 9
	jle	.L49
.L41:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	findRoom, .-findRoom
	.section	.rodata
	.align 8
.LC17:
	.string	"You have no treasure called *%s*.\n"
	.text
	.globl	drop
	.type	drop, @function
drop:
.LFB12:
	.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, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rcx, -34[rbp]
	lea	rdx, -44[rbp]
	mov	rax, QWORD PTR -112[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -88[rbp], 0
	jmp	.L53
.L55:
	add	DWORD PTR -88[rbp], 1
.L53:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, myTreasures[rip]
	add	rdx, rax
	lea	rax, -34[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcasecmp@PLT
	test	eax, eax
	je	.L54
	cmp	DWORD PTR -88[rbp], 4
	jle	.L55
.L54:
	cmp	DWORD PTR -88[rbp], 5
	jne	.L56
	lea	rax, -34[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L56:
	mov	rax, QWORD PTR firstRoom[rip]
	cmp	QWORD PTR -104[rbp], rax
	jne	.L58
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, myTreasures[rip+16]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR myScore[rip]
	add	eax, edx
	mov	DWORD PTR myScore[rip], eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, myTreasures[rip]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rdx+rax], rcx
	mov	QWORD PTR 8[rdx+rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rdx+rax], rcx
	mov	ecx, DWORD PTR -56[rbp]
	mov	DWORD PTR 24[rdx+rax], ecx
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, myTreasures[rip]
	mov	BYTE PTR [rdx+rax], 0
	jmp	.L63
.L58:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L59
.L61:
	add	DWORD PTR -84[rbp], 1
.L59:
	cmp	DWORD PTR -84[rbp], 4
	jg	.L60
	mov	rcx, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1000
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L61
.L60:
	mov	rcx, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 992[rax]
	mov	eax, DWORD PTR -88[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, myTreasures[rip]
	mov	rsi, QWORD PTR [rcx+rax]
	mov	rdi, QWORD PTR 8[rcx+rax]
	mov	QWORD PTR 8[rdx], rsi
	mov	QWORD PTR 16[rdx], rdi
	mov	rsi, QWORD PTR 16[rcx+rax]
	mov	QWORD PTR 24[rdx], rsi
	mov	eax, DWORD PTR 24[rcx+rax]
	mov	DWORD PTR 32[rdx], eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, myTreasures[rip]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rdx+rax], rcx
	mov	QWORD PTR 8[rdx+rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rdx+rax], rcx
	mov	ecx, DWORD PTR -56[rbp]
	mov	DWORD PTR 24[rdx+rax], ecx
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, myTreasures[rip]
	mov	BYTE PTR [rdx+rax], 0
.L63:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	drop, .-drop
	.section	.rodata
.LC18:
	.string	"%s "
.LC19:
	.string	"You see a *%s* "
.LC20:
	.string	"and a *%s* "
.LC21:
	.string	"You are holding a *%s* "
	.text
	.globl	look
	.type	look, @function
look:
.LFB13:
	.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 -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 58
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L65
.L69:
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1020
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L66
	cmp	DWORD PTR -24[rbp], 0
	jne	.L67
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 992[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 1
	add	DWORD PTR -24[rbp], 1
	jmp	.L66
.L67:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 992[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L66:
	add	DWORD PTR -8[rbp], 1
.L65:
	cmp	DWORD PTR -8[rbp], 4
	jg	.L68
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1000
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L69
.L68:
	cmp	DWORD PTR -16[rbp], 1
	jne	.L70
	mov	edi, 46
	call	putchar@PLT
.L70:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L71
.L74:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, myTreasures[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L72
	cmp	DWORD PTR -20[rbp], 0
	jne	.L73
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, myTreasures[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 1
	add	DWORD PTR -20[rbp], 1
	jmp	.L72
.L73:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, myTreasures[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L72:
	add	DWORD PTR -4[rbp], 1
.L71:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L74
	cmp	DWORD PTR -12[rbp], 1
	jne	.L75
	mov	edi, 46
	call	putchar@PLT
.L75:
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	look, .-look
	.section	.rodata
.LC22:
	.string	"r"
.LC23:
	.string	"ERROR! <%s> not found!\n"
.LC24:
	.string	"%d\n"
.LC25:
	.string	"%s %d"
.LC26:
	.string	"(%s %s %d"
.LC27:
	.string	"*%s %d %d"
	.text
	.globl	loadAdventure
	.type	loadAdventure, @function
loadAdventure:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 464
	mov	QWORD PTR -456[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -456[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	jne	.L77
	mov	rax, QWORD PTR -456[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L88
.L77:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, Ad[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -416[rbp]
	mov	esi, 400
	mov	rdi, rax
	call	fgets@PLT
	mov	DWORD PTR -428[rbp], 0
	jmp	.L79
.L87:
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	imul	rax, rax, 1140
	lea	rdx, Ad[rip]
	add	rax, rdx
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	imul	rax, rax, 1140
	lea	rdx, Ad[rip]
	add	rax, rdx
	lea	rdx, 12[rax]
	lea	rax, -416[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	imul	rax, rax, 1140
	lea	rdx, Ad[rip+8]
	mov	DWORD PTR [rax+rdx], 0
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	imul	rax, rax, 1140
	lea	rdx, Ad[rip+4]
	mov	edx, DWORD PTR [rax+rdx]
	mov	eax, DWORD PTR MAXSCORE[rip]
	add	eax, edx
	mov	DWORD PTR MAXSCORE[rip], eax
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -416[rbp]
	mov	esi, 400
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -416[rbp+rax], 0
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	imul	rax, rax, 1140
	lea	rdx, 16[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rdx, 6[rax]
	lea	rax, -416[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -416[rbp]
	mov	esi, 400
	mov	rdi, rax
	call	fgets@PLT
	mov	DWORD PTR -440[rbp], 0
	jmp	.L80
.L81:
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -416[rbp+rax], 0
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 48[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rdx, 14[rax]
	lea	rax, -416[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -416[rbp]
	mov	esi, 400
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -440[rbp], 1
.L80:
	movzx	eax, BYTE PTR -416[rbp]
	cmp	al, 40
	jne	.L81
	mov	DWORD PTR -436[rbp], 0
	jmp	.L82
.L83:
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 864[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rsi, 20[rax]
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 848[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rcx, 26[rax]
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 848[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rdx, 16[rax]
	lea	rax, -416[rbp]
	mov	r8, rsi
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -428[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 1140
	add	rdx, rax
	lea	rax, Ad[rip+884]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR MAXSCORE[rip]
	add	eax, edx
	mov	DWORD PTR MAXSCORE[rip], eax
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 848[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	add	rax, 16
	mov	rdi, rax
	call	strlen@PLT
	lea	rsi, -1[rax]
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -428[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 1140
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, Ad[rip+864]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -428[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 1140
	add	rdx, rax
	lea	rax, Ad[rip+888]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -416[rbp]
	mov	esi, 400
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -436[rbp], 1
.L82:
	movzx	eax, BYTE PTR -416[rbp]
	cmp	al, 40
	je	.L83
	mov	DWORD PTR -432[rbp], 0
	jmp	.L84
.L86:
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 1008[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rsi, 12[rax]
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 992[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rcx, 24[rax]
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 992[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	lea	rdx, 12[rax]
	lea	rax, -416[rbp]
	mov	r8, rsi
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -428[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 1140
	add	rdx, rax
	lea	rax, Ad[rip+1016]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR MAXSCORE[rip]
	add	eax, edx
	mov	DWORD PTR MAXSCORE[rip], eax
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -428[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 1140
	add	rdx, rax
	lea	rax, Ad[rip+1020]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR MAXSCORE[rip]
	add	eax, edx
	mov	DWORD PTR MAXSCORE[rip], eax
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -428[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 1140
	add	rdx, rax
	lea	rax, Ad[rip+1024]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -428[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1140
	add	rax, rdx
	lea	rdx, 992[rax]
	lea	rax, Ad[rip]
	add	rax, rdx
	add	rax, 12
	mov	rdi, rax
	call	strlen@PLT
	lea	rsi, -1[rax]
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -428[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 1140
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, Ad[rip+1004]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L85
	mov	eax, 1
	jmp	.L88
.L85:
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -416[rbp]
	mov	esi, 400
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -432[rbp], 1
.L84:
	movzx	eax, BYTE PTR -416[rbp]
	cmp	al, 42
	je	.L86
	add	DWORD PTR -428[rbp], 1
.L79:
	mov	eax, DWORD PTR Ad[rip]
	cmp	DWORD PTR -428[rbp], eax
	jl	.L87
	mov	eax, 1
.L88:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	loadAdventure, .-loadAdventure
	.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	"357952.c"
	.text
	.comm	myTreasures,140,4
	.global	myScore
	.bss
	.align	2
	.type	myScore, %object
	.size	myScore, 4
myScore:
	.space	4
	.global	MAXSCORE
	.align	2
	.type	MAXSCORE, %object
	.size	MAXSCORE, 4
MAXSCORE:
	.space	4
	.comm	Ad,11404,4
	.comm	firstRoom,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"adventure.txt\000"
	.align	2
.LC1:
	.ascii	"Help\000"
	.align	2
.LC2:
	.ascii	"Go\000"
	.align	2
.LC3:
	.ascii	"%s %s\000"
	.align	2
.LC4:
	.ascii	"Look\000"
	.align	2
.LC5:
	.ascii	"Take\000"
	.align	2
.LC6:
	.ascii	"Drop\000"
	.align	2
.LC7:
	.ascii	"Score\000"
	.align	2
.LC8:
	.ascii	"Quit\000"
	.align	2
.LC9:
	.ascii	"Oh, that's sad! \000"
	.align	2
.LC10:
	.ascii	"I don't know how to \"%s\".\012\000"
	.align	2
.LC11:
	.ascii	"Congratulations! \000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L17+4
	bl	loadAdventure
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L15
.L2:
	ldr	r3, .L17+8
	str	r3, [fp, #-64]
	ldr	r3, .L17+12
	ldr	r2, .L17+8
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #18
	mov	r0, r3
	bl	puts
	b	.L4
.L14:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, .L17+16
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L17+16
	str	r3, [r2]
	ldr	r3, [fp, #-64]
	mov	r2, #1
	str	r2, [r3, #4]
.L5:
	ldr	r3, .L17+20
	ldr	r2, [r3]
	sub	r3, fp, #28
	mov	r1, #19
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #28
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-24]
	sub	r3, fp, #28
	mov	r2, #4
	ldr	r1, .L17+24
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	bl	help
	b	.L4
.L6:
	sub	r3, fp, #28
	mov	r2, #2
	ldr	r1, .L17+28
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-56]
	sub	r3, fp, #52
	sub	r2, fp, #40
	sub	r0, fp, #28
	ldr	r1, .L17+32
	bl	__isoc99_sscanf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	findRoom
	str	r0, [fp, #-64]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	beq	.L4
	ldr	r3, [fp, #-64]
	add	r3, r3, #18
	mov	r0, r3
	bl	puts
	b	.L4
.L7:
	sub	r3, fp, #28
	mov	r2, #4
	ldr	r1, .L17+36
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r0, [fp, #-64]
	bl	look
	b	.L4
.L9:
	sub	r3, fp, #28
	mov	r2, #4
	ldr	r1, .L17+40
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	take
	ldr	r0, [fp, #-64]
	bl	look
	b	.L4
.L10:
	sub	r3, fp, #28
	mov	r2, #4
	ldr	r1, .L17+44
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	drop
	ldr	r3, .L17+16
	ldr	r2, [r3]
	ldr	r3, .L17+48
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L4
	ldr	r0, [fp, #-64]
	bl	look
	b	.L4
.L11:
	sub	r3, fp, #28
	mov	r2, #5
	ldr	r1, .L17+52
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	bl	score
	b	.L4
.L12:
	sub	r3, fp, #28
	mov	r2, #4
	ldr	r1, .L17+56
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L17+60
	bl	printf
	bl	score
	mov	r3, #0
	b	.L15
.L13:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L17+64
	bl	printf
.L4:
	ldr	r3, .L17+16
	ldr	r2, [r3]
	ldr	r3, .L17+48
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L14
	ldr	r0, .L17+68
	bl	printf
	bl	score
	mov	r3, #0
.L15:
	ldr	r2, .L17
	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}
.L18:
	.align	2
.L17:
	.word	.LC12
	.word	.LC0
	.word	Ad+4
	.word	firstRoom
	.word	myScore
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	MAXSCORE
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.section	.rodata
	.align	2
.LC13:
	.ascii	"You have earned %d out of %d points.\012\000"
	.text
	.align	2
	.global	score
	.syntax unified
	.arm
	.fpu softvfp
	.type	score, %function
score:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L20
	ldr	r3, [r3]
	ldr	r2, .L20+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L20+8
	bl	printf
	nop
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	myScore
	.word	MAXSCORE
	.word	.LC13
	.size	score, .-score
	.section	.rodata
	.align	2
.LC14:
	.ascii	"I will help you explore the world and find treasure"
	.ascii	"s. You must find all of the treasures and bring the"
	.ascii	"m back to the beginning. You can tell me instructio"
	.ascii	"ns like \"go\", \"look\", \"take\", \"drop\", and \""
	.ascii	"score\".\000"
	.text
	.align	2
	.global	help
	.syntax unified
	.arm
	.fpu softvfp
	.type	help, %function
help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L23
	bl	puts
	nop
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC14
	.size	help, .-help
	.align	2
	.global	addTreasure
	.syntax unified
	.arm
	.fpu softvfp
	.type	addTreasure, %function
addTreasure:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L31:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1000
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1020
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L28
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1024
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1012
	ldr	r2, [r3]
	ldr	r3, .L32
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L32
	str	r3, [r2]
.L29:
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1020
	mov	r2, #1
	str	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1024
	mov	r2, #1
	str	r2, [r3]
.L28:
	ldr	r0, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	mov	ip, r0
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	b	.L25
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L31
	nop
.L25:
	ldr	r0, [fp, #-16]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	myScore
	.size	addTreasure, .-addTreasure
	.section	.rodata
	.align	2
.LC15:
	.ascii	"You already have a *%s*.\012\000"
	.align	2
.LC16:
	.ascii	"There is no treasure called *%s*.\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	take
	.syntax unified
	.arm
	.fpu softvfp
	.type	take, %function
take:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #28
	sub	r2, fp, #40
	ldr	r1, .L49+4
	ldr	r0, [fp, #-68]
	bl	__isoc99_sscanf
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L35
.L37:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L35:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L49+8
	add	r3, r3, r2
	sub	r2, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-48]
	cmp	r3, #4
	ble	.L37
.L36:
	ldr	r3, [fp, #-48]
	cmp	r3, #4
	bgt	.L38
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L49+12
	bl	printf
	b	.L48
.L38:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L40
.L41:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L40:
	ldr	r1, .L49+8
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L41
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L42
.L45:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1000
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	sub	r2, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-56]
.L43:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L42:
	ldr	r3, [fp, #-44]
	cmp	r3, #4
	bgt	.L44
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L45
.L44:
	ldr	r3, [fp, #-56]
	cmn	r3, #1
	bne	.L46
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L49+16
	bl	printf
	b	.L48
.L46:
	ldr	r1, .L49+8
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	sub	r3, fp, #100
	sub	r2, fp, #28
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	addTreasure
	mov	lr, r4
	sub	ip, fp, #100
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
.L48:
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC17
	.word	.LC3
	.word	myTreasures
	.word	.LC15
	.word	.LC16
	.size	take, .-take
	.section	.rodata
	.align	2
.LC18:
	.ascii	"I don't know how to go to \"%s\"\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findRoom
	.syntax unified
	.arm
	.fpu softvfp
	.type	findRoom, %function
findRoom:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L52
.L54:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #856
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #4
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #864
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	add	r2, r3, #6
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #884
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L53
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #880
	ldr	r2, [r3]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L62+4
	str	r3, [r2]
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #884
	mov	r2, #1
	str	r2, [r3]
.L53:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L52:
	ldr	r3, [fp, #-28]
	cmp	r3, #4
	ble	.L54
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L55
	ldr	r1, [fp, #-36]
	ldr	r0, .L62+8
	bl	printf
	ldr	r3, [fp, #-32]
	b	.L51
.L55:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L57
.L59:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #8
	ldr	r2, .L62+12
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L62+12
	add	r3, r2, r3
	add	r3, r3, #4
	b	.L51
.L58:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L57:
	ldr	r3, [fp, #-24]
	cmp	r3, #9
	ble	.L59
.L51:
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC19
	.word	myScore
	.word	.LC18
	.word	Ad
	.size	findRoom, .-findRoom
	.section	.rodata
	.align	2
.LC20:
	.ascii	"You have no treasure called *%s*.\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	drop
	.syntax unified
	.arm
	.fpu softvfp
	.type	drop, %function
drop:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	sub	r2, fp, #32
	ldr	r1, .L76+4
	ldr	r0, [fp, #-76]
	bl	__isoc99_sscanf
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L65
.L67:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L65:
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L76+8
	add	r3, r3, r2
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-68]
	cmp	r3, #4
	ble	.L67
.L66:
	ldr	r3, [fp, #-68]
	cmp	r3, #5
	bne	.L68
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L76+12
	bl	printf
	b	.L75
.L68:
	ldr	r3, .L76+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bne	.L70
	ldr	r1, .L76+8
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r2, [r3]
	ldr	r3, .L76+20
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L76+20
	str	r3, [r2]
	ldr	r1, .L76+8
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	lr, r3
	sub	ip, fp, #60
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldr	r1, .L76+8
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L75
.L70:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L71
.L73:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L71:
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	bgt	.L72
	ldr	r1, [fp, #-72]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L73
.L72:
	ldr	r1, [fp, #-72]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r0, r3, #1000
	ldr	r1, .L76+8
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	ip, r0
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r1, .L76+8
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	lr, r3
	sub	ip, fp, #60
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldr	r1, .L76+8
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
.L75:
	nop
	ldr	r3, .L76
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC21
	.word	.LC3
	.word	myTreasures
	.word	.LC20
	.word	firstRoom
	.word	myScore
	.size	drop, .-drop
	.section	.rodata
	.align	2
.LC22:
	.ascii	"%s \000"
	.align	2
.LC23:
	.ascii	"You see a *%s* \000"
	.align	2
.LC24:
	.ascii	"and a *%s* \000"
	.align	2
.LC25:
	.ascii	"You are holding a *%s* \000"
	.text
	.align	2
	.global	look
	.syntax unified
	.arm
	.fpu softvfp
	.type	look, %function
look:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r3, #58
	mov	r1, r3
	ldr	r0, .L90
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L79
.L83:
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1020
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L81
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1000
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L90+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L80
.L81:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1000
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L90+8
	bl	printf
.L80:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L79:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	bgt	.L82
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L83
.L82:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L84
	mov	r0, #46
	bl	putchar
.L84:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L85
.L88:
	ldr	r1, .L90+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L86
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L87
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L90+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L90+16
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L86
.L87:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L90+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L90+8
	bl	printf
.L86:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L85:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L88
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L89
	mov	r0, #46
	bl	putchar
.L89:
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L91:
	.align	2
.L90:
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	myTreasures
	.word	.LC25
	.size	look, .-look
	.section	.rodata
	.align	2
.LC26:
	.ascii	"r\000"
	.align	2
.LC27:
	.ascii	"ERROR! <%s> not found!\012\000"
	.align	2
.LC28:
	.ascii	"%d\012\000"
	.align	2
.LC29:
	.ascii	"%s %d\000"
	.align	2
.LC30:
	.ascii	"(%s %s %d\000"
	.align	2
.LC31:
	.ascii	"*%s %d %d\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	loadAdventure
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadAdventure, %function
loadAdventure:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #440
	str	r0, [fp, #-432]
	ldr	r3, .L106
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L106+4
	ldr	r0, [fp, #-432]
	bl	fopen
	str	r0, [fp, #-412]
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	bne	.L93
	ldr	r1, [fp, #-432]
	ldr	r0, .L106+8
	bl	printf
	mov	r3, #0
	b	.L104
.L93:
	ldr	r2, .L106+12
	ldr	r1, .L106+16
	ldr	r0, [fp, #-412]
	bl	__isoc99_fscanf
	sub	r3, fp, #408
	ldr	r2, [fp, #-412]
	mov	r1, #400
	mov	r0, r3
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L95
.L103:
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #8
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	r1, r3, #4
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L106+12
	add	r3, r2, r3
	add	r3, r3, #4
	sub	r0, fp, #408
	mov	r2, r1
	ldr	r1, .L106+20
	bl	__isoc99_sscanf
	ldr	r1, .L106+12
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #8
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L106+12
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, .L106+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L106+24
	str	r3, [r2]
	sub	r3, fp, #408
	ldr	r2, [fp, #-412]
	mov	r1, #400
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #408
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-404]
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, #16
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	r3, r3, #6
	sub	r2, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #408
	ldr	r2, [fp, #-412]
	mov	r1, #400
	mov	r0, r3
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L96
.L97:
	sub	r3, fp, #408
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-404]
	ldr	r3, [fp, #-428]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #4
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #56
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	r3, r3, #6
	sub	r2, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #408
	ldr	r2, [fp, #-412]
	mov	r1, #400
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L96:
	ldrb	r3, [fp, #-408]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L97
	mov	r3, #0
	str	r3, [fp, #-424]
	b	.L98
.L99:
	ldr	r3, [fp, #-424]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #856
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	ip, r3, #8
	ldr	r3, [fp, #-424]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #864
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	lr, r3, #10
	ldr	r3, [fp, #-424]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #872
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	r3, r3, #12
	sub	r0, fp, #408
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L106+28
	bl	__isoc99_sscanf
	ldr	r0, .L106+12
	ldr	r3, [fp, #-424]
	ldr	r1, [fp, #-416]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r0, r3
	add	r3, r3, #884
	ldr	r2, [r3]
	ldr	r3, .L106+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L106+24
	str	r3, [r2]
	ldr	r3, [fp, #-424]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #856
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	r3, r3, #8
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r0, r3, #1
	ldr	ip, .L106+12
	ldr	r3, [fp, #-424]
	ldr	r1, [fp, #-416]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, ip, r3
	add	r3, r3, r0
	add	r3, r3, #864
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L106+12
	ldr	r3, [fp, #-424]
	ldr	r1, [fp, #-416]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r0, r3
	add	r3, r3, #888
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #408
	ldr	r2, [fp, #-412]
	mov	r1, #400
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L98:
	ldrb	r3, [fp, #-408]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L99
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L100
.L102:
	ldr	r3, [fp, #-420]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #1000
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	ip, r3, #4
	ldr	r3, [fp, #-420]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #1008
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	lr, r3, #8
	ldr	r3, [fp, #-420]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #1016
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r0, fp, #408
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L106+32
	bl	__isoc99_sscanf
	ldr	r0, .L106+12
	ldr	r3, [fp, #-420]
	ldr	r1, [fp, #-416]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r0, r3
	add	r3, r3, #1016
	ldr	r2, [r3]
	ldr	r3, .L106+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L106+24
	str	r3, [r2]
	ldr	r0, .L106+12
	ldr	r3, [fp, #-420]
	ldr	r1, [fp, #-416]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r0, r3
	add	r3, r3, #1020
	ldr	r2, [r3]
	ldr	r3, .L106+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L106+24
	str	r3, [r2]
	ldr	r0, .L106+12
	ldr	r3, [fp, #-420]
	ldr	r1, [fp, #-416]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r0, r3
	add	r3, r3, #1024
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-420]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-416]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, r3, #1000
	ldr	r2, .L106+12
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r0, r3, #1
	ldr	ip, .L106+12
	ldr	r3, [fp, #-420]
	ldr	r1, [fp, #-416]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	sub	r1, r1, r3
	lsl	r3, r1, #2
	mov	r1, r3
	add	r3, r2, r1
	add	r3, ip, r3
	add	r3, r3, r0
	add	r3, r3, #1004
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-412]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	mov	r3, #1
	b	.L104
.L101:
	sub	r3, fp, #408
	ldr	r2, [fp, #-412]
	mov	r1, #400
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L100:
	ldrb	r3, [fp, #-408]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L102
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L95:
	ldr	r3, .L106+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-416]
	cmp	r2, r3
	blt	.L103
	mov	r3, #1
.L104:
	ldr	r2, .L106
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L105
	bl	__stack_chk_fail
.L105:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L107:
	.align	2
.L106:
	.word	.LC32
	.word	.LC26
	.word	.LC27
	.word	Ad
	.word	.LC28
	.word	.LC29
	.word	MAXSCORE
	.word	.LC30
	.word	.LC31
	.size	loadAdventure, .-loadAdventure
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
