	.file	"43888883.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-----MENU----- "
.LC1:
	.string	"1 -> Print all employees"
.LC2:
	.string	"2 -> Print all students"
	.align 8
.LC3:
	.string	"3 -> Search students using family name"
.LC4:
	.string	"4 -> Summary of data"
.LC5:
	.string	"0 -> Quit"
.LC6:
	.string	"Enter selection: "
.LC7:
	.string	"%s[^\n]\n"
.LC8:
	.string	"%d"
.LC9:
	.string	"Not an option on the menu!"
	.align 8
.LC10:
	.string	"The input is invalid, enter an integer as the menu options "
	.text
	.globl	menu
	.type	menu, @function
menu:
.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
	mov	DWORD PTR -28[rbp], 1
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 4
	jmp	.L2
.L6:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -13[rbp]
	mov	rdi, rax
	call	intCheck@PLT
	cmp	eax, 1
	jne	.L3
	lea	rdx, -32[rbp]
	lea	rax, -13[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jg	.L4
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L4
	mov	DWORD PTR -28[rbp], 0
	jmp	.L5
.L4:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	jmp	.L2
.L3:
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L2:
	cmp	DWORD PTR -28[rbp], 1
	je	.L6
.L5:
	mov	eax, DWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	menu, .-menu
	.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	"43888883.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-----MENU----- \000"
	.align	2
.LC1:
	.ascii	"1 -> Print all employees\000"
	.align	2
.LC2:
	.ascii	"2 -> Print all students\000"
	.align	2
.LC3:
	.ascii	"3 -> Search students using family name\000"
	.align	2
.LC4:
	.ascii	"4 -> Summary of data\000"
	.align	2
.LC5:
	.ascii	"0 -> Quit\000"
	.align	2
.LC6:
	.ascii	"Enter selection: \000"
	.align	2
.LC7:
	.ascii	"%s[^\012]\012\000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.align	2
.LC9:
	.ascii	"Not an option on the menu!\000"
	.align	2
.LC10:
	.ascii	"The input is invalid, enter an integer as the menu "
	.ascii	"options \000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #4
	str	r3, [fp, #-20]
	b	.L2
.L6:
	ldr	r0, .L9+4
	bl	puts
	ldr	r0, .L9+8
	bl	puts
	ldr	r0, .L9+12
	bl	puts
	ldr	r0, .L9+16
	bl	puts
	ldr	r0, .L9+20
	bl	puts
	ldr	r0, .L9+24
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, .L9+28
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L9+32
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #16
	mov	r0, r3
	bl	intCheck
	mov	r3, r0
	cmp	r3, #1
	bne	.L3
	sub	r2, fp, #32
	sub	r3, fp, #16
	ldr	r1, .L9+36
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L4
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L4
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L5
.L4:
	ldr	r0, .L9+40
	bl	printf
	mov	r0, #10
	bl	putchar
	b	.L2
.L3:
	ldr	r0, .L9+44
	bl	puts
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	beq	.L6
.L5:
	ldr	r3, [fp, #-32]
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	menu, .-menu
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
