	.file	"801378.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Reading in data, please wait .... "
.LC1:
	.string	"done."
.LC2:
	.string	" %d"
	.align 8
.LC3:
	.string	"Displaying the entire nomekop collection:"
	.align 8
.LC4:
	.string	"Please enter the name to search for:"
.LC5:
	.string	" %s"
.LC6:
	.string	"Enter the level to look for:"
.LC7:
	.string	"Looking for nomekoPs ..."
	.align 8
.LC8:
	.string	"Search for nomekoPs of level %d "
	.align 8
.LC9:
	.string	"or higher has been unsuccessful."
	.align 8
.LC10:
	.string	"Sorry, %d is not a valid choice.  Please try again.\n"
	.align 8
.LC11:
	.string	"Thanks for running the nomekoP training simulator written by"
.LC12:
	.string	" <Justin Ray>."
	.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
	lea	r11, -90112[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2368
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -92448[rbp]
	mov	QWORD PTR -92456[rbp], rax
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -92456[rbp]
	mov	rdi, rax
	call	read_input_data
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L2
.L7:
	mov	edi, 10
	call	putchar@PLT
	call	display_menu
	lea	rax, -92472[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -92464[rbp], eax
	cmp	DWORD PTR -92464[rbp], -1
	je	.L2
	mov	eax, DWORD PTR -92472[rbp]
	cmp	eax, 1
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -92456[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	print_nomekop_above_level
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -92472[rbp]
	cmp	eax, 2
	jne	.L4
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -92456[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	search_collection
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -92472[rbp]
	cmp	eax, 3
	jne	.L5
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -92468[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -92468[rbp]
	mov	rax, QWORD PTR -92456[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_nomekop_above_level
	mov	DWORD PTR -92460[rbp], eax
	cmp	DWORD PTR -92460[rbp], 0
	jne	.L2
	mov	eax, DWORD PTR -92468[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -92472[rbp]
	cmp	eax, 4
	jne	.L6
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -92456[rbp]
	mov	rdi, rax
	call	train_nomekops
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -92472[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	cmp	DWORD PTR -92464[rbp], -1
	jne	.L7
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	read_input_data
	.type	read_input_data, @function
read_input_data:
.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	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L11
.L12:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_nomekop
	add	DWORD PTR -4[rbp], 1
.L11:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_input_data, .-read_input_data
	.section	.rodata
.LC13:
	.string	" nomekoP # %d"
.LC14:
	.string	" Name: "
.LC15:
	.string	" Level: %d"
.LC16:
	.string	" Type: "
.LC17:
	.string	" Height: %fm"
.LC18:
	.string	" Weight: %fkg Picture:"
	.text
	.globl	read_nomekop
	.type	read_nomekop, @function
read_nomekop:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -76[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_date_obtained
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	imul	rdx, rax, 616
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 16
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 32[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 16
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -76[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 616
	add	rax, rdx
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 16
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	add	DWORD PTR -52[rbp], 1
.L14:
	cmp	DWORD PTR -52[rbp], 14
	jle	.L15
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_nomekop, .-read_nomekop
	.section	.rodata
.LC19:
	.string	" Obtained: %s"
.LC20:
	.string	" %d,"
	.text
	.globl	read_date_obtained
	.type	read_date_obtained, @function
read_date_obtained:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_date_obtained, .-read_date_obtained
	.section	.rodata
	.align 8
.LC21:
	.string	"Please choose from the following menu:"
	.align 8
.LC22:
	.string	"  1) Display the entire nomekoP collection"
	.align 8
.LC23:
	.string	"  2) Search for a nomekoP by name"
	.align 8
.LC24:
	.string	"  3) Search for a nomekoP by level"
.LC25:
	.string	"  4) Train 2 nomekoPs"
	.align 8
.LC26:
	.string	"Enter choice now (1, 2, 3, or 4)"
.LC27:
	.string	"(press <control>-d to quit):"
	.text
	.globl	display_menu
	.type	display_menu, @function
display_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, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L19
.L20:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L19:
	cmp	DWORD PTR -4[rbp], 45
	jle	.L20
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L21
.L22:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L21:
	cmp	DWORD PTR -4[rbp], 45
	jle	.L22
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L23
.L24:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L23:
	cmp	DWORD PTR -4[rbp], 45
	jle	.L24
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	display_menu, .-display_menu
	.globl	print_nomekop_above_level
	.type	print_nomekop_above_level, @function
print_nomekop_above_level:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L28:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 616
	add	rax, rdx
	add	rax, 32
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jg	.L27
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_nomekop
	add	DWORD PTR -4[rbp], 1
.L27:
	add	DWORD PTR -8[rbp], 1
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L28
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	print_nomekop_above_level, .-print_nomekop_above_level
	.section	.rodata
.LC28:
	.string	"nomekoP # %03d <"
.LC29:
	.string	"%s>"
.LC30:
	.string	" obtained on %s %d, %d\n"
	.align 8
.LC31:
	.string	"Level %d height %.1fm weight %.3fkg type {%s}\n"
	.text
	.globl	print_nomekop
	.type	print_nomekop, @function
print_nomekop:
.LFB12:
	.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	DWORD PTR -12[rbp], esi
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	add	rax, rdx
	add	rax, 28
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 616
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	add	rax, rdx
	add	rax, 44
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	add	rax, rcx
	add	rax, 40
	mov	eax, DWORD PTR [rax]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	imul	rcx, rcx, 616
	lea	rsi, 32[rcx]
	mov	rcx, QWORD PTR -8[rbp]
	add	rcx, rsi
	lea	rsi, 4[rcx]
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	lea	rdx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 16[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	add	rax, rcx
	add	rax, 76
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	add	rax, rcx
	add	rax, 72
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rcx, xmm2
	mov	rsi, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 616
	add	rax, rsi
	add	rax, 32
	mov	eax, DWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 2
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_nomekop, .-print_nomekop
	.section	.rodata
.LC32:
	.string	"Found the following:"
.LC33:
	.string	"Search for \"%s\" failed.\n"
	.text
	.globl	search_collection
	.type	search_collection, @function
search_collection:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L32
.L34:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 616
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	add	DWORD PTR -4[rbp], 1
	lea	rdi, .LC32[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_nomekop
.L33:
	add	DWORD PTR -8[rbp], 1
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L34
	cmp	DWORD PTR -4[rbp], 0
	jne	.L35
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L35:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	search_collection, .-search_collection
	.section	.rodata
	.align 8
.LC34:
	.string	"Enter the name of the 1st nomekoP:"
	.align 8
.LC35:
	.string	"Enter the name of the 2nd nomekoP:"
	.align 8
.LC36:
	.string	"Enter the random number generator seed:"
.LC37:
	.string	"Now training, %s vs %s\n"
	.align 8
.LC38:
	.string	"A tie occurred in round %d (both "
.LC39:
	.string	"won)."
.LC40:
	.string	"lost)."
	.align 8
.LC41:
	.string	"nomekoP #%03d (%s) wins over nomekop #%03d (%s)\n"
	.text
	.globl	train_nomekops
	.type	train_nomekops, @function
train_nomekops:
.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, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L38
.L40:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rdx, rax, 616
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	add	DWORD PTR -128[rbp], 1
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rdx, rax, 616
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	add	rax, 4
	mov	QWORD PTR -96[rbp], rax
.L39:
	add	DWORD PTR -120[rbp], 1
.L38:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L40
	cmp	DWORD PTR -128[rbp], 0
	jne	.L41
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L41:
	mov	DWORD PTR -120[rbp], 0
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rdx, rax, 616
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L43
	add	DWORD PTR -124[rbp], 1
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rdx, rax, 616
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	add	rax, 4
	mov	QWORD PTR -88[rbp], rax
.L43:
	add	DWORD PTR -120[rbp], 1
.L42:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L44
	cmp	DWORD PTR -124[rbp], 0
	jne	.L45
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, DWORD PTR -124[rbp]
	add	eax, edx
	cmp	eax, 2
	jne	.L66
	lea	rdi, .LC36[rip]
	call	puts@PLT
	lea	rax, -132[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, eax
	call	srand@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdx, -32[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fight_picture
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	edx, eax
	jg	.L47
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L48
.L47:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -72[rbp], rax
.L48:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L49
.L63:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 28[rax]
	mov	edi, eax
	call	win_or_lose
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 28[rax]
	mov	edi, eax
	call	win_or_lose
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jne	.L50
	mov	eax, DWORD PTR -116[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -108[rbp], 1
	jne	.L51
	lea	rdi, .LC39[rip]
	call	puts@PLT
	jmp	.L52
.L51:
	lea	rdi, .LC40[rip]
	call	puts@PLT
	jmp	.L52
.L50:
	add	DWORD PTR -112[rbp], 1
	cmp	DWORD PTR -108[rbp], 1
	jne	.L53
	mov	rsi, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR 24[rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	edx, eax
	jl	.L54
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 99
	jg	.L54
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 28[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR 28[rax], edx
.L54:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	edx, eax
	jge	.L52
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR 28[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR 28[rax]
	mov	eax, edx
	sub	eax, ecx
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	eax, esi
	mov	DWORD PTR -100[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	eax, DWORD PTR -100[rbp]
	add	eax, edx
	cmp	eax, 100
	jle	.L55
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR 28[rax], 100
	jmp	.L56
.L55:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	eax, DWORD PTR -100[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR 28[rax], edx
.L56:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 2
	jle	.L57
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 28[rax]
	lea	edx, -2[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 28[rax], edx
	jmp	.L52
.L57:
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 28[rax], 1
	jmp	.L52
.L53:
	cmp	DWORD PTR -104[rbp], 1
	jne	.L52
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR 24[rax]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	edx, eax
	jl	.L58
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 99
	jg	.L58
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 28[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 28[rax], edx
.L58:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	edx, eax
	jge	.L52
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR 28[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR 28[rax]
	mov	eax, edx
	sub	eax, ecx
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	eax, esi
	mov	DWORD PTR -100[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	eax, DWORD PTR -100[rbp]
	add	eax, edx
	cmp	eax, 100
	jle	.L59
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 28[rax], 100
	jmp	.L60
.L59:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	eax, DWORD PTR -100[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 28[rax], edx
.L60:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 2
	jle	.L61
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 28[rax]
	lea	edx, -2[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR 28[rax], edx
	jmp	.L52
.L61:
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR 28[rax], 1
.L52:
	add	DWORD PTR -116[rbp], 1
.L49:
	cmp	DWORD PTR -116[rbp], 9
	jg	.L62
	cmp	DWORD PTR -112[rbp], 0
	je	.L63
.L62:
	cmp	DWORD PTR -112[rbp], 0
	jne	.L66
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 1
	jle	.L64
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 28[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	DWORD PTR 28[rax], edx
.L64:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 1
	jle	.L66
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 28[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 28[rax], edx
.L66:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	train_nomekops, .-train_nomekops
	.section	.rodata
.LC42:
	.string	"%s"
.LC43:
	.string	"    vs    "
.LC44:
	.string	"          "
	.text
	.globl	fight_picture
	.type	fight_picture, @function
fight_picture:
.LFB15:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L68
.L73:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 12
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L69
.L70:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L69:
	mov	eax, 35
	sub	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L70
	cmp	DWORD PTR -12[rbp], 7
	jne	.L71
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L72
.L71:
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
.L72:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L68:
	cmp	DWORD PTR -12[rbp], 14
	jle	.L73
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	fight_picture, .-fight_picture
	.section	.rodata
	.align 8
.LC45:
	.string	"Your program should never print this."
	.text
	.globl	win_or_lose
	.type	win_or_lose, @function
win_or_lose:
.LFB16:
	.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	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 100
	jg	.L75
	cmp	DWORD PTR -4[rbp], 0
	jg	.L76
.L75:
	lea	rdi, .LC45[rip]
	call	puts@PLT
.L76:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	cmp	DWORD PTR -4[rbp], edx
	setg	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	win_or_lose, .-win_or_lose
	.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	"801378.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Reading in data, please wait .... \000"
	.align	2
.LC1:
	.ascii	"done.\000"
	.align	2
.LC2:
	.ascii	" %d\000"
	.align	2
.LC3:
	.ascii	"Displaying the entire nomekop collection:\000"
	.align	2
.LC4:
	.ascii	"Please enter the name to search for:\000"
	.align	2
.LC5:
	.ascii	" %s\000"
	.align	2
.LC6:
	.ascii	"Enter the level to look for:\000"
	.align	2
.LC7:
	.ascii	"Looking for nomekoPs ...\000"
	.align	2
.LC8:
	.ascii	"Search for nomekoPs of level %d \000"
	.align	2
.LC9:
	.ascii	"or higher has been unsuccessful.\000"
	.align	2
.LC10:
	.ascii	"Sorry, %d is not a valid choice.  Please try again."
	.ascii	"\012\000"
	.align	2
.LC11:
	.ascii	"Thanks for running the nomekoP training simulator w"
	.ascii	"ritten by\000"
	.align	2
.LC12:
	.ascii	" <Justin Ray>.\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 92456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92160
	sub	sp, sp, #300
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #90112
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #92160
	sub	r3, r3, #12
	sub	r3, r3, #272
	str	r3, [r2, #-2328]
	mov	r0, #10
	bl	putchar
	ldr	r0, .L10+4
	bl	printf
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r0, [r3, #-2328]
	bl	read_input_data
	ldr	r0, .L10+8
	bl	puts
	b	.L2
.L7:
	mov	r0, #10
	bl	putchar
	bl	display_menu
	sub	r3, fp, #90112
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #92160
	sub	r3, r3, #12
	sub	r3, r3, #292
	mov	r1, r3
	ldr	r0, .L10+12
	bl	__isoc99_scanf
	str	r0, [r4, #-2332]
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2332]
	cmn	r3, #1
	beq	.L2
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2340]
	cmp	r3, #1
	bne	.L3
	mov	r0, #10
	bl	putchar
	ldr	r0, .L10+16
	bl	puts
	sub	r3, fp, #90112
	sub	r3, r3, #12
	mov	r1, #1
	ldr	r0, [r3, #-2328]
	bl	print_nomekop_above_level
	b	.L2
.L3:
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2340]
	cmp	r3, #2
	bne	.L4
	mov	r0, #10
	bl	putchar
	ldr	r0, .L10+20
	bl	puts
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L10+24
	bl	__isoc99_scanf
	sub	r3, fp, #40
	sub	r2, fp, #90112
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-2328]
	bl	search_collection
	b	.L2
.L4:
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2340]
	cmp	r3, #3
	bne	.L5
	mov	r0, #10
	bl	putchar
	ldr	r0, .L10+28
	bl	puts
	sub	r3, fp, #92160
	sub	r3, r3, #12
	sub	r3, r3, #288
	mov	r1, r3
	ldr	r0, .L10+12
	bl	__isoc99_scanf
	ldr	r0, .L10+32
	bl	puts
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	sub	r2, fp, #90112
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #90112
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-2328]
	bl	print_nomekop_above_level
	str	r0, [r4, #-2324]
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2324]
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	mov	r1, r3
	ldr	r0, .L10+36
	bl	printf
	ldr	r0, .L10+40
	bl	puts
	b	.L2
.L5:
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2340]
	cmp	r3, #4
	bne	.L6
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r0, [r3, #-2328]
	bl	train_nomekops
	b	.L2
.L6:
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2340]
	mov	r1, r3
	ldr	r0, .L10+44
	bl	printf
.L2:
	sub	r3, fp, #90112
	sub	r3, r3, #12
	ldr	r3, [r3, #-2332]
	cmn	r3, #1
	bne	.L7
	mov	r0, #10
	bl	putchar
	ldr	r0, .L10+48
	bl	printf
	ldr	r0, .L10+52
	bl	puts
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC13
	.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
	.size	main, .-main
	.align	2
	.global	read_input_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_input_data, %function
read_input_data:
	@ 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]
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L15
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L13
.L14:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	read_nomekop
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L14
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC2
	.size	read_input_data, .-read_input_data
	.section	.rodata
	.align	2
.LC14:
	.ascii	" nomekoP # %d\000"
	.align	2
.LC15:
	.ascii	" Name: \000"
	.align	2
.LC16:
	.ascii	" Level: %d\000"
	.align	2
.LC17:
	.ascii	" Type: \000"
	.align	2
.LC18:
	.ascii	" Height: %fm\000"
	.align	2
.LC19:
	.ascii	" Weight: %fkg Picture:\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_nomekop
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_nomekop, %function
read_nomekop:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-60]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #24
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+4
	bl	__isoc99_scanf
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	read_date_obtained
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-60]
	mov	r2, #616
	mul	r3, r2, r3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r0, r3
	bl	gets
	ldr	r3, [fp, #-60]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #24
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L21+12
	bl	__isoc99_scanf
	ldr	r0, .L21+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-60]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #40
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	r3, r3, #8
	mov	r0, r3
	bl	gets
	ldr	r3, [fp, #-60]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #64
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L21+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-60]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #72
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+24
	bl	__isoc99_scanf
	sub	r3, fp, #44
	mov	r0, r3
	bl	gets
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L18
.L19:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	mov	r1, #616
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, r3, #72
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	r3, r3, #8
	mov	r0, r3
	bl	gets
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L18:
	ldr	r3, [fp, #-48]
	cmp	r3, #14
	ble	.L19
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC20
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	read_nomekop, .-read_nomekop
	.section	.rodata
	.align	2
.LC21:
	.ascii	" Obtained: %s\000"
	.align	2
.LC22:
	.ascii	" %d,\000"
	.text
	.align	2
	.global	read_date_obtained
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_date_obtained, %function
read_date_obtained:
	@ 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]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #32
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #32
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L24+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #40
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC21
	.word	.LC22
	.word	.LC2
	.size	read_date_obtained, .-read_date_obtained
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Please choose from the following menu:\000"
	.align	2
.LC24:
	.ascii	"  1) Display the entire nomekoP collection\000"
	.align	2
.LC25:
	.ascii	"  2) Search for a nomekoP by name\000"
	.align	2
.LC26:
	.ascii	"  3) Search for a nomekoP by level\000"
	.align	2
.LC27:
	.ascii	"  4) Train 2 nomekoPs\000"
	.align	2
.LC28:
	.ascii	"Enter choice now (1, 2, 3, or 4)\000"
	.align	2
.LC29:
	.ascii	"(press <control>-d to quit):\000"
	.text
	.align	2
	.global	display_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_menu, %function
display_menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L27
.L28:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L27:
	ldr	r3, [fp, #-8]
	cmp	r3, #45
	ble	.L28
	mov	r0, #10
	bl	putchar
	ldr	r0, .L33
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L29
.L30:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r3, [fp, #-8]
	cmp	r3, #45
	ble	.L30
	mov	r0, #10
	bl	putchar
	ldr	r0, .L33+4
	bl	puts
	ldr	r0, .L33+8
	bl	puts
	ldr	r0, .L33+12
	bl	puts
	ldr	r0, .L33+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L31
.L32:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r3, [fp, #-8]
	cmp	r3, #45
	ble	.L32
	mov	r0, #10
	bl	putchar
	ldr	r0, .L33+20
	bl	puts
	ldr	r0, .L33+24
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	display_menu, .-display_menu
	.align	2
	.global	print_nomekop_above_level
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_nomekop_above_level, %function
print_nomekop_above_level:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L36
.L38:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	mov	r1, #616
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L37
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	print_nomekop
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L37:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L36:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_nomekop_above_level, .-print_nomekop_above_level
	.section	.rodata
	.align	2
.LC30:
	.ascii	"nomekoP # %03d <\000"
	.align	2
.LC31:
	.ascii	"%s>\000"
	.align	2
.LC32:
	.ascii	" obtained on %s %d, %d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC33:
	.ascii	"Level %d height %.1fm weight %.3fkg type {%s}\012\000"
	.text
	.align	2
	.global	print_nomekop
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_nomekop, %function
print_nomekop:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	mov	r1, #616
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41
	bl	printf
	ldr	r3, [fp, #-28]
	mov	r2, #616
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L41+4
	bl	printf
	ldr	r3, [fp, #-28]
	mov	r2, #616
	mul	r3, r2, r3
	add	r3, r3, #32
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r1, r3, #4
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	mov	r0, #616
	mul	r3, r0, r3
	add	r3, r2, r3
	add	r3, r3, #40
	ldr	r0, [r3]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	mov	ip, #616
	mul	r3, ip, r3
	add	r3, r2, r3
	add	r3, r3, #44
	ldr	r3, [r3]
	mov	r2, r0
	ldr	r0, .L41+8
	bl	printf
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	mov	r1, #616
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #32
	ldr	r6, [r3]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	mov	r1, #616
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #72
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	mov	r1, #616
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #76
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-28]
	mov	r0, #616
	mul	r1, r0, r1
	add	r1, r1, #40
	ldr	r0, [fp, #-24]
	add	r1, r0, r1
	add	r1, r1, #8
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r1, r6
	ldr	r0, .L41+12
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	print_nomekop, .-print_nomekop
	.section	.rodata
	.align	2
.LC34:
	.ascii	"Found the following:\000"
	.align	2
.LC35:
	.ascii	"Search for \"%s\" failed.\012\000"
	.text
	.align	2
	.global	search_collection
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_collection, %function
search_collection:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L44
.L46:
	ldr	r3, [fp, #-12]
	mov	r2, #616
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #4
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r0, .L49
	bl	puts
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	print_nomekop
.L45:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L44:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L47
	ldr	r1, [fp, #-20]
	ldr	r0, .L49+4
	bl	printf
.L47:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC34
	.word	.LC35
	.size	search_collection, .-search_collection
	.section	.rodata
	.align	2
.LC36:
	.ascii	"Enter the name of the 1st nomekoP:\000"
	.align	2
.LC37:
	.ascii	"Enter the name of the 2nd nomekoP:\000"
	.align	2
.LC38:
	.ascii	"Enter the random number generator seed:\000"
	.align	2
.LC39:
	.ascii	"Now training, %s vs %s\012\000"
	.align	2
.LC40:
	.ascii	"A tie occurred in round %d (both \000"
	.align	2
.LC41:
	.ascii	"won).\000"
	.align	2
.LC42:
	.ascii	"lost).\000"
	.align	2
.LC43:
	.ascii	"nomekoP #%03d (%s) wins over nomekop #%03d (%s)\012"
	.ascii	"\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	train_nomekops
	.syntax unified
	.arm
	.fpu softvfp
	.type	train_nomekops, %function
train_nomekops:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	ldr	r3, .L81
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r0, .L81+4
	bl	puts
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L81+8
	bl	__isoc99_scanf
	ldr	r0, .L81+12
	bl	puts
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L81+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L52
.L54:
	ldr	r3, [fp, #-80]
	mov	r2, #616
	mul	r3, r2, r3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r3, r3, #4
	sub	r2, fp, #56
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-80]
	mov	r2, #616
	mul	r3, r2, r3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-104]
.L53:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L52:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L54
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L55
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L81+16
	bl	printf
.L55:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L56
.L58:
	ldr	r3, [fp, #-80]
	mov	r2, #616
	mul	r3, r2, r3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r3, r3, #4
	sub	r2, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-80]
	mov	r2, #616
	mul	r3, r2, r3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-100]
.L57:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L56:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L58
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L59
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L81+16
	bl	printf
.L59:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	cmp	r3, #2
	bne	.L80
	ldr	r0, .L81+20
	bl	puts
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L81+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	srand
	mov	r0, #10
	bl	putchar
	sub	r2, fp, #32
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L81+28
	bl	printf
	ldr	r1, [fp, #-100]
	ldr	r0, [fp, #-104]
	bl	fight_picture
	ldr	r3, [fp, #-104]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bgt	.L61
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-92]
	b	.L62
.L61:
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-92]
.L62:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L63
.L77:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	win_or_lose
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	win_or_lose
	str	r0, [fp, #-64]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bne	.L64
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L81+32
	bl	printf
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L65
	ldr	r0, .L81+36
	bl	puts
	b	.L66
.L65:
	ldr	r0, .L81+40
	bl	puts
	b	.L66
.L64:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L67
	ldr	r3, [fp, #-96]
	ldr	r1, [r3, #24]
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-92]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-92]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L81+44
	bl	printf
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	cmp	r2, r3
	blt	.L68
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	cmp	r3, #99
	bgt	.L68
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	add	r2, r3, #1
	ldr	r3, [fp, #-96]
	str	r2, [r3, #28]
.L68:
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bge	.L66
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	sub	r3, r2, r3
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	add	r3, r1, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	cmp	r3, #100
	ble	.L69
	ldr	r3, [fp, #-96]
	mov	r2, #100
	str	r2, [r3, #28]
	b	.L70
.L69:
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-60]
	add	r2, r2, r3
	ldr	r3, [fp, #-96]
	str	r2, [r3, #28]
.L70:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	cmp	r3, #2
	ble	.L71
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	sub	r2, r3, #2
	ldr	r3, [fp, #-92]
	str	r2, [r3, #28]
	b	.L66
.L71:
	ldr	r3, [fp, #-92]
	mov	r2, #1
	str	r2, [r3, #28]
	b	.L66
.L67:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bne	.L66
	ldr	r3, [fp, #-92]
	ldr	r1, [r3, #24]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-96]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-96]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L81+44
	bl	printf
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	cmp	r2, r3
	blt	.L72
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	cmp	r3, #99
	bgt	.L72
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	add	r2, r3, #1
	ldr	r3, [fp, #-92]
	str	r2, [r3, #28]
.L72:
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bge	.L66
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	sub	r3, r2, r3
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	add	r3, r1, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	cmp	r3, #100
	ble	.L73
	ldr	r3, [fp, #-92]
	mov	r2, #100
	str	r2, [r3, #28]
	b	.L74
.L73:
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-60]
	add	r2, r2, r3
	ldr	r3, [fp, #-92]
	str	r2, [r3, #28]
.L74:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	cmp	r3, #2
	ble	.L75
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	sub	r2, r3, #2
	ldr	r3, [fp, #-96]
	str	r2, [r3, #28]
	b	.L66
.L75:
	ldr	r3, [fp, #-96]
	mov	r2, #1
	str	r2, [r3, #28]
.L66:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L63:
	ldr	r3, [fp, #-76]
	cmp	r3, #9
	bgt	.L76
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L77
.L76:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #28]
	cmp	r3, #1
	ble	.L78
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #28]
	sub	r2, r3, #1
	ldr	r3, [fp, #-104]
	str	r2, [r3, #28]
.L78:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #28]
	cmp	r3, #1
	ble	.L80
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #28]
	sub	r2, r3, #1
	ldr	r3, [fp, #-100]
	str	r2, [r3, #28]
.L80:
	nop
	ldr	r3, .L81
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC44
	.word	.LC36
	.word	.LC5
	.word	.LC37
	.word	.LC35
	.word	.LC38
	.word	.LC2
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.size	train_nomekops, .-train_nomekops
	.section	.rodata
	.align	2
.LC45:
	.ascii	"%s\000"
	.align	2
.LC46:
	.ascii	"    vs    \000"
	.align	2
.LC47:
	.ascii	"          \000"
	.text
	.align	2
	.global	fight_picture
	.syntax unified
	.arm
	.fpu softvfp
	.type	fight_picture, %function
fight_picture:
	@ 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, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L84
.L89:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #72
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #72
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L90
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L85
.L86:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L85:
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #35
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L86
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	bne	.L87
	ldr	r0, .L90+4
	bl	printf
	b	.L88
.L87:
	ldr	r0, .L90+8
	bl	printf
.L88:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #72
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L90
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L84:
	ldr	r3, [fp, #-16]
	cmp	r3, #14
	ble	.L89
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L91:
	.align	2
.L90:
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.size	fight_picture, .-fight_picture
	.section	.rodata
	.align	2
.LC48:
	.ascii	"Your program should never print this.\000"
	.text
	.align	2
	.global	win_or_lose
	.syntax unified
	.arm
	.fpu softvfp
	.type	win_or_lose, %function
win_or_lose:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #100
	bgt	.L93
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L94
.L93:
	ldr	r0, .L96
	bl	puts
.L94:
	bl	rand
	mov	r1, r0
	ldr	r3, .L96+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC48
	.word	1374389535
	.size	win_or_lose, .-win_or_lose
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
