	.file	"28263087.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"cls"
.LC1:
	.string	"\n**********MENU**********"
.LC2:
	.string	"Welcome to the Lotto Game!"
	.align 8
.LC3:
	.string	"\nPlease enter in the number of which option you want to take:\n"
	.align 8
.LC4:
	.string	"1) Enter in your six lotto numbers."
	.align 8
.LC5:
	.string	"2) See your chosen lotto numbers here."
	.align 8
.LC6:
	.string	"3) See them in increasing order here!"
.LC7:
	.string	"4) See your winnings here."
	.align 8
.LC8:
	.string	"5) Frequency of number entered."
.LC9:
	.string	"6) Exit."
.LC10:
	.string	"%1s"
.LC11:
	.string	"\n\nPress Enter to return"
	.align 8
.LC12:
	.string	"Im sorry you need to enter in your Lotto Numbers first."
	.align 8
.LC13:
	.string	"Im sorry you need to go through option2 first."
	.align 8
.LC14:
	.string	"Im sorry you need to go through option3 first."
	.align 8
.LC15:
	.string	"Im sorry you need to go through option4 first."
	.align 8
.LC16:
	.string	"ERROR it must be a number ranging from 1-7."
	.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 2
.L19:
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -13[rbp]
	movsx	eax, al
	sub	eax, 49
	cmp	eax, 5
	ja	.L2
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L9:
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	eax, 0
	call	option1
	mov	QWORD PTR p.7[rip], rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR pass.6[rip], 2
	jmp	.L10
.L8:
	mov	eax, DWORD PTR pass.6[rip]
	cmp	eax, 1
	jle	.L11
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	rax, QWORD PTR p.7[rip]
	mov	rdi, rax
	call	option2
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pass.6[rip]
	add	eax, 1
	mov	DWORD PTR pass.6[rip], eax
	jmp	.L10
.L11:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L7:
	mov	eax, DWORD PTR pass.6[rip]
	cmp	eax, 2
	jle	.L13
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	rax, QWORD PTR p.7[rip]
	mov	rdi, rax
	call	option3
	mov	QWORD PTR k.5[rip], rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pass.6[rip]
	add	eax, 1
	mov	DWORD PTR pass.6[rip], eax
	jmp	.L10
.L13:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L6:
	mov	eax, DWORD PTR pass.6[rip]
	cmp	eax, 3
	jle	.L15
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	rax, QWORD PTR k.5[rip]
	mov	rdi, rax
	call	option4
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pass.6[rip]
	add	eax, 1
	mov	DWORD PTR pass.6[rip], eax
	jmp	.L10
.L15:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L5:
	mov	eax, DWORD PTR pass.6[rip]
	cmp	eax, 4
	jle	.L17
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	rax, QWORD PTR k.5[rip]
	mov	rdi, rax
	call	option5
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L17:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L3:
	mov	edi, 0
	call	exit@PLT
.L2:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, 0
	call	flushall@PLT
	call	getchar@PLT
	cmp	DWORD PTR -12[rbp], 2
	je	.L19
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC17:
	.string	"********** Welcome to Option 1 **********"
	.align 8
.LC18:
	.string	"\n\nEnter in your 6 Lotto numbers! "
	.align 8
.LC19:
	.string	"\nKeep in mind that they must: "
.LC20:
	.string	"Range from 1-42"
.LC21:
	.string	"All be different"
.LC22:
	.string	"%d"
	.align 8
.LC23:
	.string	"\n%d is not valid, you cannot enter the same number more than once."
	.align 8
.LC24:
	.string	" Im sorry the numbers must range from 1-42"
	.text
	.globl	option1
	.type	option1, @function
option1:
.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
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC17[rip]
	call	puts@PLT
.L34:
	mov	DWORD PTR stay.4[rip], 1
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lotto_array.3[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -12[rbp], 1
.L23:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L24
	mov	edi, 32
	call	putchar@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L25
.L29:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L26
.L28:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lotto_array.3[rip]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, lotto_array.3[rip]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L27
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lotto_array.3[rip]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR stay.4[rip], 2
.L27:
	add	DWORD PTR -8[rbp], 1
.L26:
	cmp	DWORD PTR -8[rbp], 5
	jle	.L28
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -12[rbp], 1
.L25:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L29
	mov	DWORD PTR -12[rbp], 0
	jmp	.L30
.L33:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lotto_array.3[rip]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L31
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lotto_array.3[rip]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 42
	jle	.L32
.L31:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR stay.4[rip], 2
.L32:
	add	DWORD PTR -12[rbp], 1
.L30:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L33
	mov	eax, DWORD PTR stay.4[rip]
	cmp	eax, 2
	je	.L34
	lea	rax, lotto_array.3[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	option1, .-option1
	.section	.rodata
	.align 8
.LC25:
	.string	"********** Welcome to Option 2 **********"
.LC26:
	.string	"\n\nYour Lotto numbers are: "
.LC27:
	.string	"\n{"
.LC28:
	.string	" %d,"
.LC29:
	.string	" }"
	.text
	.globl	option2
	.type	option2, @function
option2:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L37:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L38
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	option2, .-option2
	.section	.rodata
	.align 8
.LC30:
	.string	"********** Welcome to Option 3 **********"
	.align 8
.LC31:
	.string	"\n\n Your lotto Numbers in ascending order is:"
.LC32:
	.string	" %d"
	.text
	.globl	option3
	.type	option3, @function
option3:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC30[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L40
.L44:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L41
.L43:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rdx, 1
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	sub	DWORD PTR -8[rbp], 1
.L41:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L42
	cmp	DWORD PTR -8[rbp], 0
	jns	.L43
.L42:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -12[rbp], 1
.L40:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L44
	lea	rdi, .LC31[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L45:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L46
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	option3, .-option3
	.section	.rodata
	.align 8
.LC33:
	.string	"********** Welcome to Option 4 **********\n"
.LC34:
	.string	"\n*******************"
.LC35:
	.string	"***   JACKPOT   ***"
.LC36:
	.string	"*******************"
.LC37:
	.string	"\nYou Won: "
.LC38:
	.string	"\n\n *** New Car! ***"
.LC39:
	.string	"\n\n *** Holiday! ***"
.LC40:
	.string	"\n\n *** Week end Away! ***"
.LC41:
	.string	"\n\n *** Night Out! ***"
.LC42:
	.string	"\n\n *** A Cinema Ticket! *** "
	.align 8
.LC43:
	.string	"\nIm sorry you have not won anything."
	.text
	.globl	option4
	.type	option4, @function
option4:
.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	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 3
	mov	DWORD PTR -24[rbp], 5
	mov	DWORD PTR -20[rbp], 7
	mov	DWORD PTR -16[rbp], 9
	mov	DWORD PTR -12[rbp], 11
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	lea	rdi, .LC33[rip]
	call	puts@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L49
.L53:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L50
.L52:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L51
	add	DWORD PTR -40[rbp], 1
.L51:
	add	DWORD PTR -44[rbp], 1
.L50:
	cmp	DWORD PTR -44[rbp], 5
	jle	.L52
	add	DWORD PTR -48[rbp], 1
.L49:
	cmp	DWORD PTR -48[rbp], 5
	jle	.L53
	mov	DWORD PTR -48[rbp], 0
	jmp	.L54
.L56:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 42
	jne	.L55
	add	DWORD PTR -36[rbp], 1
.L55:
	add	DWORD PTR -48[rbp], 1
.L54:
	cmp	DWORD PTR -48[rbp], 5
	jle	.L56
	cmp	DWORD PTR -40[rbp], 6
	jne	.L57
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
.L57:
	cmp	DWORD PTR -40[rbp], 5
	jne	.L58
	cmp	DWORD PTR -36[rbp], 1
	jne	.L58
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
.L58:
	cmp	DWORD PTR -40[rbp], 5
	jne	.L59
	cmp	DWORD PTR -36[rbp], 0
	jne	.L59
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
.L59:
	cmp	DWORD PTR -40[rbp], 4
	jne	.L60
	cmp	DWORD PTR -36[rbp], 1
	jne	.L60
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
.L60:
	cmp	DWORD PTR -40[rbp], 4
	jne	.L61
	cmp	DWORD PTR -36[rbp], 0
	jne	.L61
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
.L61:
	cmp	DWORD PTR -40[rbp], 3
	jne	.L62
	cmp	DWORD PTR -36[rbp], 1
	jne	.L62
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
.L62:
	cmp	DWORD PTR -40[rbp], 3
	jne	.L63
	cmp	DWORD PTR -36[rbp], 0
	je	.L64
.L63:
	cmp	DWORD PTR -40[rbp], 2
	jg	.L67
.L64:
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
.L67:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	option4, .-option4
	.section	.rodata
	.align 8
.LC44:
	.string	"********** Welcome to Option 5 **********"
	.align 8
.LC45:
	.string	"\n\nFrequency of numbers entered is :\n"
	.align 8
.LC46:
	.string	"\nNumber %d has been entered %d time(s)"
	.align 8
.LC47:
	.string	"\nData is full please restart the game to play again"
	.text
	.globl	option5
	.type	option5, @function
option5:
.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
	lea	rdi, .LC44[rip]
	call	puts@PLT
	lea	rdi, .LC45[rip]
	call	puts@PLT
	mov	eax, DWORD PTR limit.2[rip]
	add	eax, 6
	mov	DWORD PTR limit.2[rip], eax
	mov	eax, DWORD PTR limit.2[rip]
	cmp	eax, 100
	jg	.L69
	mov	DWORD PTR -12[rbp], 0
	jmp	.L70
.L71:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR temp_size.1[rip]
	movsx	rdx, edx
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, freq_array.0[rip]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -12[rbp], 1
.L70:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L71
	mov	DWORD PTR -12[rbp], 0
	jmp	.L72
.L76:
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L73
.L75:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, freq_array.0[rip]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, freq_array.0[rip]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L74
	add	DWORD PTR -4[rbp], 1
.L74:
	add	DWORD PTR -8[rbp], 1
.L73:
	mov	eax, DWORD PTR temp_size.1[rip]
	add	eax, 5
	cmp	DWORD PTR -8[rbp], eax
	jle	.L75
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, freq_array.0[rip]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L72:
	mov	eax, DWORD PTR temp_size.1[rip]
	add	eax, 5
	cmp	DWORD PTR -12[rbp], eax
	jle	.L76
	mov	eax, DWORD PTR temp_size.1[rip]
	add	eax, 6
	mov	DWORD PTR temp_size.1[rip], eax
	jmp	.L78
.L69:
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
.L78:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	option5, .-option5
	.local	p.7
	.comm	p.7,8,8
	.local	pass.6
	.comm	pass.6,4,4
	.local	k.5
	.comm	k.5,8,8
	.data
	.align 4
	.type	stay.4, @object
	.size	stay.4, 4
stay.4:
	.long	2
	.local	lotto_array.3
	.comm	lotto_array.3,24,16
	.local	limit.2
	.comm	limit.2,4,4
	.local	temp_size.1
	.comm	temp_size.1,4,4
	.local	freq_array.0
	.comm	freq_array.0,400,32
	.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	"28263087.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"cls\000"
	.align	2
.LC2:
	.ascii	"\012**********MENU**********\000"
	.align	2
.LC3:
	.ascii	"Welcome to the Lotto Game!\000"
	.align	2
.LC4:
	.ascii	"\012Please enter in the number of which option you "
	.ascii	"want to take:\012\000"
	.align	2
.LC5:
	.ascii	"1) Enter in your six lotto numbers.\000"
	.align	2
.LC6:
	.ascii	"2) See your chosen lotto numbers here.\000"
	.align	2
.LC7:
	.ascii	"3) See them in increasing order here!\000"
	.align	2
.LC8:
	.ascii	"4) See your winnings here.\000"
	.align	2
.LC9:
	.ascii	"5) Frequency of number entered.\000"
	.align	2
.LC10:
	.ascii	"6) Exit.\000"
	.align	2
.LC11:
	.ascii	"%1s\000"
	.align	2
.LC12:
	.ascii	"\012\012Press Enter to return\000"
	.align	2
.LC13:
	.ascii	"Im sorry you need to enter in your Lotto Numbers fi"
	.ascii	"rst.\000"
	.align	2
.LC14:
	.ascii	"Im sorry you need to go through option2 first.\000"
	.align	2
.LC15:
	.ascii	"Im sorry you need to go through option3 first.\000"
	.align	2
.LC16:
	.ascii	"Im sorry you need to go through option4 first.\000"
	.align	2
.LC17:
	.ascii	"ERROR it must be a number ranging from 1-7.\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #2
	str	r3, [fp, #-12]
.L19:
	ldr	r0, .L22+4
	bl	system
	ldr	r0, .L22+8
	bl	puts
	ldr	r0, .L22+12
	bl	printf
	ldr	r0, .L22+16
	bl	puts
	ldr	r0, .L22+20
	bl	puts
	ldr	r0, .L22+24
	bl	puts
	ldr	r0, .L22+28
	bl	puts
	ldr	r0, .L22+32
	bl	puts
	ldr	r0, .L22+36
	bl	puts
	ldr	r0, .L22+40
	bl	puts
	sub	r3, fp, #13
	mov	r1, r3
	ldr	r0, .L22+44
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r3, r3, #49
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L9:
	ldr	r0, .L22+4
	bl	system
	bl	option1
	mov	r3, r0
	ldr	r2, .L22+48
	str	r3, [r2]
	ldr	r0, .L22+52
	bl	printf
	ldr	r3, .L22+56
	mov	r2, #2
	str	r2, [r3]
	b	.L10
.L8:
	ldr	r3, .L22+56
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L11
	ldr	r0, .L22+4
	bl	system
	ldr	r3, .L22+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	option2
	ldr	r0, .L22+52
	bl	printf
	ldr	r3, .L22+56
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22+56
	str	r3, [r2]
	b	.L10
.L11:
	ldr	r0, .L22+60
	bl	printf
	ldr	r0, .L22+52
	bl	printf
	b	.L10
.L7:
	ldr	r3, .L22+56
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L13
	ldr	r0, .L22+4
	bl	system
	ldr	r3, .L22+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	option3
	mov	r3, r0
	ldr	r2, .L22+64
	str	r3, [r2]
	ldr	r0, .L22+52
	bl	printf
	ldr	r3, .L22+56
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22+56
	str	r3, [r2]
	b	.L10
.L13:
	ldr	r0, .L22+68
	bl	printf
	ldr	r0, .L22+52
	bl	printf
	b	.L10
.L6:
	ldr	r3, .L22+56
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L15
	ldr	r0, .L22+4
	bl	system
	ldr	r3, .L22+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	option4
	ldr	r0, .L22+52
	bl	printf
	ldr	r3, .L22+56
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22+56
	str	r3, [r2]
	b	.L10
.L15:
	ldr	r0, .L22+72
	bl	printf
	ldr	r0, .L22+52
	bl	printf
	b	.L10
.L5:
	ldr	r3, .L22+56
	ldr	r3, [r3]
	cmp	r3, #4
	ble	.L17
	ldr	r0, .L22+4
	bl	system
	ldr	r3, .L22+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	option5
	ldr	r0, .L22+52
	bl	printf
	b	.L10
.L17:
	ldr	r0, .L22+76
	bl	printf
	ldr	r0, .L22+52
	bl	printf
	b	.L10
.L3:
	mov	r0, #0
	bl	exit
.L2:
	ldr	r0, .L22+80
	bl	printf
.L10:
	bl	flushall
	bl	getchar
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	beq	.L19
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC18
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	p.5129
	.word	.LC12
	.word	pass.5128
	.word	.LC13
	.word	k.5130
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.section	.rodata
	.align	2
.LC19:
	.ascii	"********** Welcome to Option 1 **********\000"
	.align	2
.LC20:
	.ascii	"\012\012Enter in your 6 Lotto numbers! \000"
	.align	2
.LC21:
	.ascii	"\012Keep in mind that they must: \000"
	.align	2
.LC22:
	.ascii	"Range from 1-42\000"
	.align	2
.LC23:
	.ascii	"All be different\000"
	.align	2
.LC24:
	.ascii	"%d\000"
	.align	2
.LC25:
	.ascii	"\012%d is not valid, you cannot enter the same numb"
	.ascii	"er more than once.\000"
	.align	2
.LC26:
	.ascii	" Im sorry the numbers must range from 1-42\000"
	.text
	.align	2
	.global	option1
	.syntax unified
	.arm
	.fpu softvfp
	.type	option1, %function
option1:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L38
	bl	puts
.L36:
	ldr	r3, .L38+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, .L38+8
	bl	puts
	ldr	r0, .L38+12
	bl	puts
	ldr	r0, .L38+16
	bl	puts
	ldr	r0, .L38+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L25
.L26:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, .L38+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L38+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L25:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L26
	mov	r0, #32
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L27
.L31:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L28
.L30:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, .L38+24
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, .L38+24
	add	r3, r3, r1
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L29
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, .L38+24
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L38+32
	bl	printf
	ldr	r3, .L38+4
	mov	r2, #2
	str	r2, [r3]
.L29:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ble	.L30
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L27:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L31
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L32
.L35:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, .L38+24
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L33
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, .L38+24
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r3, #42
	ble	.L34
.L33:
	ldr	r0, .L38+36
	bl	printf
	ldr	r3, .L38+4
	mov	r2, #2
	str	r2, [r3]
.L34:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L32:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L35
	ldr	r3, .L38+4
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L36
	ldr	r3, .L38+24
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC19
	.word	stay.5149
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	lotto_array.5148
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	option1, .-option1
	.section	.rodata
	.align	2
.LC27:
	.ascii	"********** Welcome to Option 2 **********\000"
	.align	2
.LC28:
	.ascii	"\012\012Your Lotto numbers are: \000"
	.align	2
.LC29:
	.ascii	"\012{\000"
	.align	2
.LC30:
	.ascii	" %d,\000"
	.align	2
.LC31:
	.ascii	" }\000"
	.text
	.align	2
	.global	option2
	.syntax unified
	.arm
	.fpu softvfp
	.type	option2, %function
option2:
	@ 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	r0, .L43
	bl	puts
	ldr	r0, .L43+4
	bl	printf
	ldr	r0, .L43+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L41
.L42:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L41:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L42
	ldr	r0, .L43+16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	option2, .-option2
	.section	.rodata
	.align	2
.LC32:
	.ascii	"********** Welcome to Option 3 **********\000"
	.align	2
.LC33:
	.ascii	"\012\012 Your lotto Numbers in ascending order is:\000"
	.align	2
.LC34:
	.ascii	" %d\000"
	.text
	.align	2
	.global	option3
	.syntax unified
	.arm
	.fpu softvfp
	.type	option3, %function
option3:
	@ 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]
	ldr	r0, .L54
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L46
.L50:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L47
.L49:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L47:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L48
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L49
.L48:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L46:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L50
	ldr	r0, .L54+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L51
.L52:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L54+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L51:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L52
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	option3, .-option3
	.section	.rodata
	.align	2
.LC35:
	.ascii	"********** Welcome to Option 4 **********\012\000"
	.align	2
.LC36:
	.ascii	"\012*******************\000"
	.align	2
.LC37:
	.ascii	"***   JACKPOT   ***\000"
	.align	2
.LC38:
	.ascii	"*******************\000"
	.align	2
.LC39:
	.ascii	"\012You Won: \000"
	.align	2
.LC40:
	.ascii	"\012\012 *** New Car! ***\000"
	.align	2
.LC41:
	.ascii	"\012\012 *** Holiday! ***\000"
	.align	2
.LC42:
	.ascii	"\012\012 *** Week end Away! ***\000"
	.align	2
.LC43:
	.ascii	"\012\012 *** Night Out! ***\000"
	.align	2
.LC44:
	.ascii	"\012\012 *** A Cinema Ticket! *** \000"
	.align	2
.LC45:
	.ascii	"\012Im sorry you have not won anything.\000"
	.align	2
.LC0:
	.word	1
	.word	3
	.word	5
	.word	7
	.word	9
	.word	11
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	option4
	.syntax unified
	.arm
	.fpu softvfp
	.type	option4, %function
option4:
	@ 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]
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L76+4
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r0, .L76+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L57
.L61:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L58
.L60:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	sub	r2, fp, #32
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-56]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L59
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L59:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L58:
	ldr	r3, [fp, #-44]
	cmp	r3, #5
	ble	.L60
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L57:
	ldr	r3, [fp, #-48]
	cmp	r3, #5
	ble	.L61
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L62
.L64:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #42
	bne	.L63
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L63:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L62:
	ldr	r3, [fp, #-48]
	cmp	r3, #5
	ble	.L64
	ldr	r3, [fp, #-40]
	cmp	r3, #6
	bne	.L65
	ldr	r0, .L76+12
	bl	puts
	ldr	r0, .L76+16
	bl	puts
	ldr	r0, .L76+20
	bl	printf
.L65:
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	bne	.L66
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bne	.L66
	ldr	r0, .L76+24
	bl	printf
	ldr	r0, .L76+28
	bl	printf
.L66:
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	bne	.L67
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L67
	ldr	r0, .L76+24
	bl	printf
	ldr	r0, .L76+32
	bl	printf
.L67:
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	bne	.L68
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bne	.L68
	ldr	r0, .L76+24
	bl	printf
	ldr	r0, .L76+36
	bl	printf
.L68:
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	bne	.L69
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L69
	ldr	r0, .L76+24
	bl	printf
	ldr	r0, .L76+40
	bl	printf
.L69:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	bne	.L70
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bne	.L70
	ldr	r0, .L76+24
	bl	printf
	ldr	r0, .L76+44
	bl	printf
.L70:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	bne	.L71
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L72
.L71:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bgt	.L75
.L72:
	ldr	r0, .L76+48
	bl	printf
.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	.LC46
	.word	.LC0
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.size	option4, .-option4
	.section	.rodata
	.align	2
.LC47:
	.ascii	"********** Welcome to Option 5 **********\000"
	.align	2
.LC48:
	.ascii	"\012\012Frequency of numbers entered is :\012\000"
	.align	2
.LC49:
	.ascii	"\012Number %d has been entered %d time(s)\000"
	.align	2
.LC50:
	.ascii	"\012Data is full please restart the game to play ag"
	.ascii	"ain\000"
	.text
	.align	2
	.global	option5
	.syntax unified
	.arm
	.fpu softvfp
	.type	option5, %function
option5:
	@ 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]
	ldr	r0, .L89
	bl	puts
	ldr	r0, .L89+4
	bl	puts
	ldr	r3, .L89+8
	ldr	r3, [r3]
	add	r3, r3, #6
	ldr	r2, .L89+8
	str	r3, [r2]
	ldr	r3, .L89+8
	ldr	r3, [r3]
	cmp	r3, #100
	bgt	.L79
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L80
.L81:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r1, .L89+12
	ldr	r1, [r1]
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r1, .L89+16
	add	r3, r3, r1
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L80:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L81
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L82
.L86:
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L83
.L85:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, .L89+16
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, .L89+16
	add	r3, r3, r1
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L84
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L84:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L83:
	ldr	r3, .L89+12
	ldr	r3, [r3]
	add	r3, r3, #5
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L85
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, .L89+16
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L89+20
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L82:
	ldr	r3, .L89+12
	ldr	r3, [r3]
	add	r3, r3, #5
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L86
	ldr	r3, .L89+12
	ldr	r3, [r3]
	add	r3, r3, #6
	ldr	r2, .L89+12
	str	r3, [r2]
	b	.L88
.L79:
	ldr	r0, .L89+24
	bl	printf
.L88:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC47
	.word	.LC48
	.word	limit.5210
	.word	temp_size.5209
	.word	freq_array.5208
	.word	.LC49
	.word	.LC50
	.size	option5, .-option5
	.local	p.5129
	.comm	p.5129,4,4
	.local	pass.5128
	.comm	pass.5128,4,4
	.local	k.5130
	.comm	k.5130,4,4
	.data
	.align	2
	.type	stay.5149, %object
	.size	stay.5149, 4
stay.5149:
	.word	2
	.local	lotto_array.5148
	.comm	lotto_array.5148,24,4
	.local	limit.5210
	.comm	limit.5210,4,4
	.local	temp_size.5209
	.comm	temp_size.5209,4,4
	.local	freq_array.5208
	.comm	freq_array.5208,400,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
