	.file	"847068.c"
	.intel_syntax noprefix
	.text
	.globl	monster_names
	.section	.rodata
.LC0:
	.string	"Roppy"
.LC1:
	.string	"Poppy"
.LC2:
	.string	"Hoppy"
.LC3:
	.string	"Kablion"
.LC4:
	.string	"Pyrion"
.LC5:
	.string	"Frion"
.LC6:
	.string	"Whalegun"
.LC7:
	.string	"Whaletail"
.LC8:
	.string	"Wailer"
.LC9:
	.string	"Beezer"
.LC10:
	.string	"Nutter"
.LC11:
	.string	"Crawler"
.LC12:
	.string	"Cock"
.LC13:
	.string	"Clucker"
.LC14:
	.string	"Chickling"
.LC15:
	.string	"Windove"
.LC16:
	.string	"Birdove"
.LC17:
	.string	"Dovelett"
.LC18:
	.string	"Rattichewy"
.LC19:
	.string	"Rattitat"
.LC20:
	.string	"Woofer"
.LC21:
	.string	"Subhound"
.LC22:
	.string	"Webadeth"
.LC23:
	.string	"Spidra"
.LC24:
	.string	"Drillboar"
.LC25:
	.string	"Boghog"
.LC26:
	.string	"Digpig"
.LC27:
	.string	"Ramstine"
.LC28:
	.string	"Sheepler"
.LC29:
	.string	"Stingping"
.LC30:
	.string	"Antler"
.LC31:
	.string	"Harerazer"
.LC32:
	.string	"Bunnybolt"
.LC33:
	.string	"Wabbitwap"
.LC34:
	.string	"Wascaly"
.LC35:
	.string	"Ohkamel"
.LC36:
	.string	"Kamelcase"
.LC37:
	.string	"Glostar"
.LC38:
	.string	"Costar"
.LC39:
	.string	"Starem"
.LC40:
	.string	"Stormikloud"
.LC41:
	.string	"Electrikloud"
.LC42:
	.string	"Hoverkloud"
.LC43:
	.string	"Snowmo"
.LC44:
	.string	"Snowblo"
.LC45:
	.string	"Snowbro"
.LC46:
	.string	"Krabber"
.LC47:
	.string	"Shellkra"
.LC48:
	.string	"Oktokore"
.LC49:
	.string	"Snukinasnail"
.LC50:
	.string	"Lazybug"
.LC51:
	.string	"Turtlejet"
.LC52:
	.string	"Turtlewet"
.LC53:
	.string	"Gatorath"
.LC54:
	.string	"Gatorate"
.LC55:
	.string	"Chiptune"
.LC56:
	.string	"Cowabusta"
.LC57:
	.string	"Cowabucka"
.LC58:
	.string	"Monkadoo"
.LC59:
	.string	"Monkasee"
.LC60:
	.string	"Unihorn"
.LC61:
	.string	"Warpsteed"
.LC62:
	.string	"Fasteed"
.LC63:
	.string	"Leptear"
.LC64:
	.string	"Kitear"
.LC65:
	.string	"Kitease"
.LC66:
	.string	"Jackfry"
.LC67:
	.string	"Jackflare"
.LC68:
	.string	"Shroomdoom"
.LC69:
	.string	"Bonedread"
.LC70:
	.string	"Skullker"
.LC71:
	.string	"Spiriboo"
.LC72:
	.string	"Impest"
.LC73:
	.string	"Ogreat"
.LC74:
	.string	"Ogrim"
.LC75:
	.string	"Pilapoo"
.LC76:
	.string	"Flaret"
.LC77:
	.string	"Electret"
.LC78:
	.string	"Pouret"
.LC79:
	.string	"Freezet"
.LC80:
	.string	"Pixet"
.LC81:
	.string	"Eetee"
.LC82:
	.string	"Flyver"
.LC83:
	.string	"Wyrmton"
.LC84:
	.string	"Phishy"
.LC85:
	.string	"Bottabuzz"
.LC86:
	.string	"Botto"
.LC87:
	.string	"Ohdaze"
.LC88:
	.string	"Sundaze"
.LC89:
	.string	"Doomboom"
.LC90:
	.string	"Kabomb"
.LC91:
	.string	"Lyarkake"
.LC92:
	.string	"Tacocat"
.LC93:
	.string	"Tuxacool"
.LC94:
	.string	"Panfoo"
.LC95:
	.string	"Crystrike"
.LC96:
	.string	"Burninator"
.LC97:
	.string	"Slithaburn"
.LC98:
	.string	"Slither"
	.section	.data.rel.local,"aw"
	.align 32
	.type	monster_names, @object
	.size	monster_names, 792
monster_names:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	.LC18
	.quad	.LC19
	.quad	.LC20
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.quad	.LC26
	.quad	.LC27
	.quad	.LC28
	.quad	.LC29
	.quad	.LC30
	.quad	.LC31
	.quad	.LC32
	.quad	.LC33
	.quad	.LC34
	.quad	.LC35
	.quad	.LC36
	.quad	.LC37
	.quad	.LC38
	.quad	.LC39
	.quad	.LC40
	.quad	.LC41
	.quad	.LC42
	.quad	.LC43
	.quad	.LC44
	.quad	.LC45
	.quad	.LC46
	.quad	.LC47
	.quad	.LC48
	.quad	.LC49
	.quad	.LC50
	.quad	.LC51
	.quad	.LC52
	.quad	.LC53
	.quad	.LC54
	.quad	.LC55
	.quad	.LC56
	.quad	.LC57
	.quad	.LC58
	.quad	.LC59
	.quad	.LC60
	.quad	.LC61
	.quad	.LC62
	.quad	.LC63
	.quad	.LC64
	.quad	.LC65
	.quad	.LC66
	.quad	.LC67
	.quad	.LC68
	.quad	.LC69
	.quad	.LC70
	.quad	.LC71
	.quad	.LC72
	.quad	.LC73
	.quad	.LC74
	.quad	.LC75
	.quad	.LC76
	.quad	.LC77
	.quad	.LC78
	.quad	.LC79
	.quad	.LC80
	.quad	.LC81
	.quad	.LC82
	.quad	.LC83
	.quad	.LC84
	.quad	.LC85
	.quad	.LC86
	.quad	.LC87
	.quad	.LC88
	.quad	.LC89
	.quad	.LC90
	.quad	.LC91
	.quad	.LC92
	.quad	.LC93
	.quad	.LC94
	.quad	.LC95
	.quad	.LC96
	.quad	.LC97
	.quad	.LC98
	.globl	party
	.bss
	.align 32
	.type	party, @object
	.size	party, 120
party:
	.zero	120
	.section	.rodata
.LC99:
	.string	"rb"
.LC100:
	.string	"/dev/urandom"
	.text
	.globl	seed
	.type	seed, @function
seed:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC99[rip]
	lea	rdi, .LC100[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	srand@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	seed, .-seed
	.section	.rodata
.LC101:
	.string	"In your party:"
.LC102:
	.string	"#%d: %s\n"
	.text
	.globl	show_party
	.type	show_party, @function
show_party:
.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, 16
	lea	rdi, .LC101[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, party[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	je	.L8
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, party[rip]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC102[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L8:
	nop
.L6:
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L7
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	show_party, .-show_party
	.section	.rodata
	.align 8
.LC103:
	.string	"\nWhich party member do you want to play with?"
	.align 8
.LC104:
	.string	"There isn't such a party member"
	.align 8
.LC105:
	.string	"\nYou played with %s and had a great time!\n\n"
	.text
	.globl	play
	.type	play, @function
play:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC103[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -48[rbp]
	mov	esi, 31
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L15
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	atoi@PLT
	sub	eax, 1
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, party[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L12
	lea	rdi, .LC104[rip]
	call	puts@PLT
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, party[rip]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC105[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L9
.L15:
	nop
.L9:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	play, .-play
	.section	.rodata
	.align 8
.LC106:
	.string	"\nYou walk around in the tall grass.\n"
.LC107:
	.string	"A wild %s appears!\n\n"
.LC108:
	.string	"What do you want to do?"
.LC109:
	.string	"1) Throw a ball at it"
.LC110:
	.string	"2) Run away\n"
.LC111:
	.string	"Choice:"
	.align 8
.LC112:
	.string	"\nIt broke out! You almost had it.\n"
	.align 8
.LC113:
	.string	"\nYou caught it!\nWhich party slot do you want to keep it in?"
	.align 8
.LC114:
	.string	"\nWhat would you like its nickname to be?"
	.align 8
.LC115:
	.string	"\nNot going to nickname it? %s it is.\n\n"
.LC116:
	.string	" wants to play with %s."
	.align 8
.LC117:
	.string	"\n%s is happy to be part of your party!\n\n"
	.text
	.globl	grass
	.type	grass, @function
grass:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC106[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -1518422781
	shr	rdx, 32
	add	edx, eax
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -56[rbp], edx
	mov	edx, DWORD PTR -56[rbp]
	imul	edx, edx, 99
	sub	eax, edx
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, monster_names[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC107[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC108[rip]
	call	puts@PLT
	lea	rdi, .LC109[rip]
	call	puts@PLT
	lea	rdi, .LC110[rip]
	call	puts@PLT
	lea	rdi, .LC111[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -48[rbp]
	mov	esi, 31
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L29
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	eax, 1
	jne	.L30
	call	rand@PLT
	and	eax, 1
	test	eax, eax
	je	.L20
	lea	rdi, .LC112[rip]
	call	puts@PLT
	jmp	.L16
.L20:
	lea	rdi, .LC113[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -48[rbp]
	mov	esi, 31
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L31
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	atoi@PLT
	sub	eax, 1
	mov	DWORD PTR -52[rbp], eax
	lea	rdi, .LC114[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -48[rbp]
	mov	esi, 31
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L32
	lea	rax, -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L23
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	movzx	eax, BYTE PTR -48[rbp+rax]
	cmp	al, 10
	jne	.L23
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -48[rbp+rax], 0
.L23:
	lea	rax, -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L24
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, monster_names[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	lea	rcx, party[rip]
	add	rax, rcx
	add	rax, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, party[rip]
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, monster_names[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC115[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L24:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, party[rip]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, party[rip]
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L26
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	lea	rdi, party[rip+4]
	call	fputs@PLT
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, party[rip]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC116[rip]
	mov	eax, 0
	call	printf@PLT
.L26:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC117[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L16
.L29:
	nop
	jmp	.L16
.L30:
	nop
	jmp	.L16
.L31:
	nop
	jmp	.L16
.L32:
	nop
.L16:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	grass, .-grass
	.section	.rodata
.LC118:
	.string	"\nWhat do you want to do?"
.LC119:
	.string	"1) Play with a party member"
	.align 8
.LC120:
	.string	"2) Walk around in the tall grass"
.LC121:
	.string	"3) Quit\n"
	.text
	.globl	main_menu
	.type	main_menu, @function
main_menu:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	show_party
	lea	rdi, .LC118[rip]
	call	puts@PLT
	lea	rdi, .LC119[rip]
	call	puts@PLT
	lea	rdi, .LC120[rip]
	call	puts@PLT
	lea	rdi, .LC121[rip]
	call	puts@PLT
	lea	rdi, .LC111[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -48[rbp]
	mov	esi, 31
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L34
	mov	eax, 0
	jmp	.L41
.L34:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 3
	je	.L36
	cmp	DWORD PTR -52[rbp], 3
	jg	.L43
	cmp	DWORD PTR -52[rbp], 1
	je	.L38
	cmp	DWORD PTR -52[rbp], 2
	je	.L39
	jmp	.L43
.L38:
	mov	eax, 0
	call	play
	jmp	.L40
.L39:
	mov	eax, 0
	call	grass
	jmp	.L40
.L36:
	mov	eax, 0
	jmp	.L41
.L43:
	nop
.L40:
	mov	eax, 1
.L41:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main_menu, .-main_menu
	.globl	main
	.type	main, @function
main:
.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	eax, 0
	call	seed
	mov	DWORD PTR -4[rbp], 0
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, party[rip]
	mov	DWORD PTR [rdx+rax], -1
	add	DWORD PTR -4[rbp], 1
.L45:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L46
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	add	ecx, ecx
	add	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	lea	rax, starters.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR party[rip], eax
	mov	eax, DWORD PTR party[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, monster_names[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, party[rip+4]
	call	strcpy@PLT
.L49:
	mov	eax, 0
	call	main_menu
	test	eax, eax
	je	.L52
	jmp	.L49
.L52:
	nop
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	starters.0, @object
	.size	starters.0, 12
starters.0:
	.long	2
	.long	5
	.long	8
	.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	"847068.c"
	.text
	.global	monster_names
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Roppy\000"
	.align	2
.LC1:
	.ascii	"Poppy\000"
	.align	2
.LC2:
	.ascii	"Hoppy\000"
	.align	2
.LC3:
	.ascii	"Kablion\000"
	.align	2
.LC4:
	.ascii	"Pyrion\000"
	.align	2
.LC5:
	.ascii	"Frion\000"
	.align	2
.LC6:
	.ascii	"Whalegun\000"
	.align	2
.LC7:
	.ascii	"Whaletail\000"
	.align	2
.LC8:
	.ascii	"Wailer\000"
	.align	2
.LC9:
	.ascii	"Beezer\000"
	.align	2
.LC10:
	.ascii	"Nutter\000"
	.align	2
.LC11:
	.ascii	"Crawler\000"
	.align	2
.LC12:
	.ascii	"Cock\000"
	.align	2
.LC13:
	.ascii	"Clucker\000"
	.align	2
.LC14:
	.ascii	"Chickling\000"
	.align	2
.LC15:
	.ascii	"Windove\000"
	.align	2
.LC16:
	.ascii	"Birdove\000"
	.align	2
.LC17:
	.ascii	"Dovelett\000"
	.align	2
.LC18:
	.ascii	"Rattichewy\000"
	.align	2
.LC19:
	.ascii	"Rattitat\000"
	.align	2
.LC20:
	.ascii	"Woofer\000"
	.align	2
.LC21:
	.ascii	"Subhound\000"
	.align	2
.LC22:
	.ascii	"Webadeth\000"
	.align	2
.LC23:
	.ascii	"Spidra\000"
	.align	2
.LC24:
	.ascii	"Drillboar\000"
	.align	2
.LC25:
	.ascii	"Boghog\000"
	.align	2
.LC26:
	.ascii	"Digpig\000"
	.align	2
.LC27:
	.ascii	"Ramstine\000"
	.align	2
.LC28:
	.ascii	"Sheepler\000"
	.align	2
.LC29:
	.ascii	"Stingping\000"
	.align	2
.LC30:
	.ascii	"Antler\000"
	.align	2
.LC31:
	.ascii	"Harerazer\000"
	.align	2
.LC32:
	.ascii	"Bunnybolt\000"
	.align	2
.LC33:
	.ascii	"Wabbitwap\000"
	.align	2
.LC34:
	.ascii	"Wascaly\000"
	.align	2
.LC35:
	.ascii	"Ohkamel\000"
	.align	2
.LC36:
	.ascii	"Kamelcase\000"
	.align	2
.LC37:
	.ascii	"Glostar\000"
	.align	2
.LC38:
	.ascii	"Costar\000"
	.align	2
.LC39:
	.ascii	"Starem\000"
	.align	2
.LC40:
	.ascii	"Stormikloud\000"
	.align	2
.LC41:
	.ascii	"Electrikloud\000"
	.align	2
.LC42:
	.ascii	"Hoverkloud\000"
	.align	2
.LC43:
	.ascii	"Snowmo\000"
	.align	2
.LC44:
	.ascii	"Snowblo\000"
	.align	2
.LC45:
	.ascii	"Snowbro\000"
	.align	2
.LC46:
	.ascii	"Krabber\000"
	.align	2
.LC47:
	.ascii	"Shellkra\000"
	.align	2
.LC48:
	.ascii	"Oktokore\000"
	.align	2
.LC49:
	.ascii	"Snukinasnail\000"
	.align	2
.LC50:
	.ascii	"Lazybug\000"
	.align	2
.LC51:
	.ascii	"Turtlejet\000"
	.align	2
.LC52:
	.ascii	"Turtlewet\000"
	.align	2
.LC53:
	.ascii	"Gatorath\000"
	.align	2
.LC54:
	.ascii	"Gatorate\000"
	.align	2
.LC55:
	.ascii	"Chiptune\000"
	.align	2
.LC56:
	.ascii	"Cowabusta\000"
	.align	2
.LC57:
	.ascii	"Cowabucka\000"
	.align	2
.LC58:
	.ascii	"Monkadoo\000"
	.align	2
.LC59:
	.ascii	"Monkasee\000"
	.align	2
.LC60:
	.ascii	"Unihorn\000"
	.align	2
.LC61:
	.ascii	"Warpsteed\000"
	.align	2
.LC62:
	.ascii	"Fasteed\000"
	.align	2
.LC63:
	.ascii	"Leptear\000"
	.align	2
.LC64:
	.ascii	"Kitear\000"
	.align	2
.LC65:
	.ascii	"Kitease\000"
	.align	2
.LC66:
	.ascii	"Jackfry\000"
	.align	2
.LC67:
	.ascii	"Jackflare\000"
	.align	2
.LC68:
	.ascii	"Shroomdoom\000"
	.align	2
.LC69:
	.ascii	"Bonedread\000"
	.align	2
.LC70:
	.ascii	"Skullker\000"
	.align	2
.LC71:
	.ascii	"Spiriboo\000"
	.align	2
.LC72:
	.ascii	"Impest\000"
	.align	2
.LC73:
	.ascii	"Ogreat\000"
	.align	2
.LC74:
	.ascii	"Ogrim\000"
	.align	2
.LC75:
	.ascii	"Pilapoo\000"
	.align	2
.LC76:
	.ascii	"Flaret\000"
	.align	2
.LC77:
	.ascii	"Electret\000"
	.align	2
.LC78:
	.ascii	"Pouret\000"
	.align	2
.LC79:
	.ascii	"Freezet\000"
	.align	2
.LC80:
	.ascii	"Pixet\000"
	.align	2
.LC81:
	.ascii	"Eetee\000"
	.align	2
.LC82:
	.ascii	"Flyver\000"
	.align	2
.LC83:
	.ascii	"Wyrmton\000"
	.align	2
.LC84:
	.ascii	"Phishy\000"
	.align	2
.LC85:
	.ascii	"Bottabuzz\000"
	.align	2
.LC86:
	.ascii	"Botto\000"
	.align	2
.LC87:
	.ascii	"Ohdaze\000"
	.align	2
.LC88:
	.ascii	"Sundaze\000"
	.align	2
.LC89:
	.ascii	"Doomboom\000"
	.align	2
.LC90:
	.ascii	"Kabomb\000"
	.align	2
.LC91:
	.ascii	"Lyarkake\000"
	.align	2
.LC92:
	.ascii	"Tacocat\000"
	.align	2
.LC93:
	.ascii	"Tuxacool\000"
	.align	2
.LC94:
	.ascii	"Panfoo\000"
	.align	2
.LC95:
	.ascii	"Crystrike\000"
	.align	2
.LC96:
	.ascii	"Burninator\000"
	.align	2
.LC97:
	.ascii	"Slithaburn\000"
	.align	2
.LC98:
	.ascii	"Slither\000"
	.data
	.align	2
	.type	monster_names, %object
	.size	monster_names, 396
monster_names:
	.word	.LC0
	.word	.LC1
	.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
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.word	.LC95
	.word	.LC96
	.word	.LC97
	.word	.LC98
	.comm	party,120,4
	.section	.rodata
	.align	2
.LC99:
	.ascii	"rb\000"
	.align	2
.LC100:
	.ascii	"/dev/urandom\000"
	.align	2
.LC101:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	seed
	.syntax unified
	.arm
	.fpu softvfp
	.type	seed, %function
seed:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L3+4
	ldr	r0, .L3+8
	bl	fopen
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r0, fp, #16
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	srand
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC101
	.word	.LC99
	.word	.LC100
	.size	seed, .-seed
	.section	.rodata
	.align	2
.LC102:
	.ascii	"In your party:\000"
	.align	2
.LC103:
	.ascii	"#%d: %s\012\000"
	.text
	.align	2
	.global	show_party
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_party, %function
show_party:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L11
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L9:
	ldr	r1, .L11+4
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L10
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L11+4
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, r3
	ldr	r0, .L11+8
	bl	printf
	b	.L8
.L10:
	nop
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L9
	ldr	r3, .L11+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC102
	.word	party
	.word	.LC103
	.word	stdout
	.size	show_party, .-show_party
	.section	.rodata
	.align	2
.LC104:
	.ascii	"\012Which party member do you want to play with?\000"
	.align	2
.LC105:
	.ascii	"There isn't such a party member\000"
	.align	2
.LC106:
	.ascii	"\012You played with %s and had a great time!\012\012"
	.ascii	"\000"
	.align	2
.LC107:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	play
	.syntax unified
	.arm
	.fpu softvfp
	.type	play, %function
play:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L20+4
	bl	puts
	ldr	r3, .L20+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L20+12
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, #31
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #40
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r1, .L20+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L16
	ldr	r0, .L20+20
	bl	puts
	b	.L13
.L16:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L20+16
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L20+24
	bl	printf
	ldr	r3, .L20+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L13
.L19:
	nop
.L13:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC107
	.word	.LC104
	.word	stdout
	.word	stdin
	.word	party
	.word	.LC105
	.word	.LC106
	.size	play, .-play
	.section	.rodata
	.align	2
.LC108:
	.ascii	"\012You walk around in the tall grass.\012\000"
	.align	2
.LC109:
	.ascii	"A wild %s appears!\012\012\000"
	.align	2
.LC110:
	.ascii	"What do you want to do?\000"
	.align	2
.LC111:
	.ascii	"1) Throw a ball at it\000"
	.align	2
.LC112:
	.ascii	"2) Run away\012\000"
	.align	2
.LC113:
	.ascii	"Choice:\000"
	.align	2
.LC114:
	.ascii	"\012It broke out! You almost had it.\012\000"
	.align	2
.LC115:
	.ascii	"\012You caught it!\012Which party slot do you want "
	.ascii	"to keep it in?\000"
	.align	2
.LC116:
	.ascii	"\012What would you like its nickname to be?\000"
	.align	2
.LC117:
	.ascii	"\012Not going to nickname it? %s it is.\012\012\000"
	.align	2
.LC118:
	.ascii	" wants to play with %s.\000"
	.align	2
.LC119:
	.ascii	"\012%s is happy to be part of your party!\012\012\000"
	.align	2
.LC120:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	grass
	.syntax unified
	.arm
	.fpu softvfp
	.type	grass, %function
grass:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L39+4
	bl	puts
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	rand
	mov	r2, r0
	ldr	r3, .L39+12
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #6
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #5
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, .L39+16
	ldr	r3, [fp, #-48]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L39+20
	bl	printf
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L39+24
	bl	puts
	ldr	r0, .L39+28
	bl	puts
	ldr	r0, .L39+32
	bl	puts
	ldr	r0, .L39+36
	bl	puts
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L39+40
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, #31
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #40
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #1
	bne	.L36
	bl	rand
	mov	r3, r0
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L26
	ldr	r0, .L39+44
	bl	puts
	b	.L22
.L26:
	ldr	r0, .L39+48
	bl	puts
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L39+40
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, #31
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	sub	r3, fp, #40
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r0, .L39+52
	bl	puts
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L39+40
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, #31
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	sub	r3, fp, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #40
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-36]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L29
	sub	r3, fp, #40
	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, #-36]
.L29:
	sub	r3, fp, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L30
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L39+56
	add	r3, r3, r2
	add	r2, r3, #4
	ldr	r1, .L39+16
	ldr	r3, [fp, #-48]
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r1, .L39+56
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r2, .L39+16
	ldr	r3, [fp, #-48]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L39+60
	bl	printf
	b	.L31
.L30:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L39+56
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L39+56
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L32
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L39+64
	bl	fputs
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L39+56
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L39+68
	bl	printf
.L32:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L39+72
	bl	printf
.L31:
	ldr	r3, .L39+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L22
.L35:
	nop
	b	.L22
.L36:
	nop
	b	.L22
.L37:
	nop
	b	.L22
.L38:
	nop
.L22:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC120
	.word	.LC108
	.word	stdout
	.word	-1518422781
	.word	monster_names
	.word	.LC109
	.word	.LC110
	.word	.LC111
	.word	.LC112
	.word	.LC113
	.word	stdin
	.word	.LC114
	.word	.LC115
	.word	.LC116
	.word	party
	.word	.LC117
	.word	party+4
	.word	.LC118
	.word	.LC119
	.size	grass, .-grass
	.section	.rodata
	.align	2
.LC121:
	.ascii	"\012What do you want to do?\000"
	.align	2
.LC122:
	.ascii	"1) Play with a party member\000"
	.align	2
.LC123:
	.ascii	"2) Walk around in the tall grass\000"
	.align	2
.LC124:
	.ascii	"3) Quit\012\000"
	.align	2
.LC125:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	main_menu, %function
main_menu:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	show_party
	ldr	r0, .L52+4
	bl	puts
	ldr	r0, .L52+8
	bl	puts
	ldr	r0, .L52+12
	bl	puts
	ldr	r0, .L52+16
	bl	puts
	ldr	r0, .L52+20
	bl	puts
	ldr	r3, .L52+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L52+28
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, #31
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	mov	r3, #0
	b	.L49
.L42:
	sub	r3, fp, #40
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	beq	.L44
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	bgt	.L51
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	beq	.L46
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	beq	.L47
	b	.L51
.L46:
	bl	play
	b	.L48
.L47:
	bl	grass
	b	.L48
.L44:
	mov	r3, #0
	b	.L49
.L51:
	nop
.L48:
	mov	r3, #1
.L49:
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC125
	.word	.LC121
	.word	.LC122
	.word	.LC123
	.word	.LC124
	.word	.LC113
	.word	stdout
	.word	stdin
	.size	main_menu, .-main_menu
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	seed
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L55
.L56:
	ldr	r1, .L63
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L55:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L56
	bl	rand
	mov	r1, r0
	ldr	r3, .L63+4
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	ldr	r3, .L63+8
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, .L63
	str	r3, [r2]
	ldr	r3, .L63
	ldr	r3, [r3]
	ldr	r2, .L63+12
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L63+16
	bl	strcpy
.L59:
	bl	main_menu
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	b	.L59
.L62:
	nop
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	party
	.word	1431655766
	.word	starters.5335
	.word	monster_names
	.word	party+4
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	starters.5335, %object
	.size	starters.5335, 12
starters.5335:
	.word	2
	.word	5
	.word	8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
