	.file	"605587.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -232[rbp], 0
	mov	DWORD PTR -228[rbp], 0
.L4:
	call	printmenu
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 63
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -232[rbp]
	lea	rax, -80[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L2
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L2
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 2
	ja	.L2
	mov	eax, DWORD PTR -232[rbp]
	test	eax, eax
	jle	.L2
	mov	eax, DWORD PTR -232[rbp]
	cmp	eax, 6
	jle	.L3
.L2:
	mov	DWORD PTR -232[rbp], 0
.L3:
	mov	edx, DWORD PTR -232[rbp]
	lea	rcx, -228[rbp]
	lea	rax, -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	selectMenu
	mov	eax, DWORD PTR -232[rbp]
	cmp	eax, 6
	jne	.L4
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"Invalid choice."
	.text
	.globl	selectMenu
	.type	selectMenu, @function
selectMenu:
.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	cmp	DWORD PTR -20[rbp], 6
	ja	.L8
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L8-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
.L15:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_Student
	jmp	.L16
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delete_Student
	jmp	.L16
.L13:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	displayList
	jmp	.L16
.L12:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	saveList
	jmp	.L16
.L11:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	readList
	jmp	.L16
.L9:
	mov	edi, 0
	call	exit@PLT
.L8:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	selectMenu, .-selectMenu
	.section	.rodata
.LC2:
	.string	"Enter name>"
.LC3:
	.string	"Enter birthday: day>"
.LC4:
	.string	"Invalid day. "
.LC5:
	.string	"Enter birthday: month>"
.LC6:
	.string	"Invalid month. "
.LC7:
	.string	"Enter birthday: year>"
.LC8:
	.string	"Invalid year. "
.LC9:
	.string	"Enter GPA>"
.LC12:
	.string	"Invalid GPA. "
.LC13:
	.string	"Class is full"
	.text
	.globl	add_Student
	.type	add_Student, @function
add_Student:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -112[rbp], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jg	.L18
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rcx
	mov	esi, 11
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -96[rbp]
	mov	BYTE PTR [rax], 0
.L19:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
.L25:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 63
	mov	rdi, rax
	call	fgets@PLT
	lea	rcx, -104[rbp]
	lea	rax, -80[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	sete	al
	movzx	eax, al
	mov	DWORD PTR -112[rbp], eax
	cmp	DWORD PTR -112[rbp], 1
	jne	.L20
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L20
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 3
	ja	.L20
	cmp	DWORD PTR -108[rbp], 0
	jle	.L20
	cmp	DWORD PTR -108[rbp], 31
	jle	.L21
.L20:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L22
.L21:
	movzx	eax, BYTE PTR -80[rbp]
	cmp	al, 47
	jle	.L23
	movzx	eax, BYTE PTR -80[rbp]
	cmp	al, 57
	jle	.L24
.L23:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L22
.L24:
	mov	DWORD PTR -112[rbp], 1
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR 16[rdx], eax
.L22:
	cmp	DWORD PTR -112[rbp], 1
	jne	.L25
.L31:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 63
	mov	rdi, rax
	call	fgets@PLT
	lea	rcx, -104[rbp]
	lea	rax, -80[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	sete	al
	movzx	eax, al
	mov	DWORD PTR -112[rbp], eax
	cmp	DWORD PTR -112[rbp], 1
	jne	.L26
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L26
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 3
	ja	.L26
	cmp	DWORD PTR -108[rbp], 0
	jle	.L26
	cmp	DWORD PTR -108[rbp], 12
	jle	.L27
.L26:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L28
.L27:
	movzx	eax, BYTE PTR -80[rbp]
	cmp	al, 47
	jle	.L29
	movzx	eax, BYTE PTR -80[rbp]
	cmp	al, 57
	jle	.L30
.L29:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L28
.L30:
	mov	DWORD PTR -112[rbp], 1
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR 20[rdx], eax
.L28:
	cmp	DWORD PTR -112[rbp], 1
	jne	.L31
.L34:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 63
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rdx, 24[rax]
	lea	rax, -80[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -112[rbp], eax
	cmp	DWORD PTR -112[rbp], 1
	jne	.L32
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L32
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 5
	ja	.L32
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 1799
	jbe	.L32
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 2016
	jbe	.L33
.L32:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 0
.L33:
	cmp	DWORD PTR -112[rbp], 1
	jne	.L34
.L39:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 63
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -104[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	sete	al
	movzx	eax, al
	mov	DWORD PTR -112[rbp], eax
	cmp	DWORD PTR -112[rbp], 1
	jne	.L35
	lea	rax, -80[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	jne	.L35
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L35
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -88[rbp]
	ja	.L35
	movsd	xmm0, QWORD PTR -88[rbp]
	comisd	xmm0, QWORD PTR .LC11[rip]
	jbe	.L42
.L35:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L38
.L42:
	mov	DWORD PTR -112[rbp], 1
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -88[rbp]
	movss	DWORD PTR 12[rax], xmm0
.L38:
	cmp	DWORD PTR -112[rbp], 1
	jne	.L39
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L43
.L18:
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L43:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add_Student, .-add_Student
	.section	.rodata
.LC14:
	.string	"Class is empty"
	.text
	.globl	delete_Student
	.type	delete_Student, @function
delete_Student:
.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	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L45
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L47
.L45:
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L47:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	delete_Student, .-delete_Student
	.section	.rodata
.LC15:
	.string	"Name       Birthday   GPA"
.LC16:
	.string	"---------- ---------- ------"
.LC17:
	.string	"%-10.10s %02d-%02d-%4d %-.4f\n"
	.text
	.globl	displayList
	.type	displayList, @function
displayList:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L49
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L53
.L49:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 12[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rsi, xmm1
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	r8d, DWORD PTR 24[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	rax, rdi
	sal	rax, 3
	sub	rax, rdi
	sal	rax, 2
	mov	rdi, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdi
	movq	xmm0, rsi
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L51:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L52
.L53:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	displayList, .-displayList
	.section	.rodata
.LC18:
	.string	"w"
.LC19:
	.string	"database"
.LC20:
	.string	"%11s %02d-%02d-%4d %.4f\n"
	.text
	.globl	saveList
	.type	saveList, @function
saveList:
.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	QWORD PTR -32[rbp], rsi
	lea	rsi, .LC18[rip]
	lea	rdi, .LC19[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L55
.L56:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 12[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rcx, xmm1
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	r8d, DWORD PTR 24[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edi, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rsi, rax
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rcx
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L55:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L56
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	saveList, .-saveList
	.section	.rodata
.LC21:
	.string	"r"
.LC22:
	.string	"Read error"
.LC23:
	.string	"%10s %02d-%02d-%4d %f"
	.text
	.globl	readList
	.type	readList, @function
readList:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	lea	rsi, .LC21[rip]
	lea	rdi, .LC19[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ftell@PLT
	test	rax, rax
	je	.L60
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L59
.L61:
	add	DWORD PTR -12[rbp], 1
.L60:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rsi, 12[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	r8, 24[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdi, 20[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	r10, rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	mov	rcx, rdx
	mov	rdx, r10
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 16
	cmp	eax, -1
	jne	.L61
.L59:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	readList, .-readList
	.section	.rodata
	.align 8
.LC24:
	.string	"\n\n1. add student\n2. delete last student\n3. display student list\n4. save the student list to the database\n5. read the student list from the database\n6. exit the program\nEnter your choice>"
	.text
	.globl	printmenu
	.type	printmenu, @function
printmenu:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	printmenu, .-printmenu
	.section	.rodata
	.align 8
.LC11:
	.long	0
	.long	1074790400
	.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	"605587.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
.L4:
	bl	printmenu
	ldr	r3, .L7+4
	ldr	r2, [r3]
	sub	r3, fp, #72
	mov	r1, #63
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #220
	sub	r3, fp, #72
	ldr	r1, .L7+8
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L2
	sub	r3, fp, #72
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L2
	sub	r3, fp, #72
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #2
	bhi	.L2
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-220]
	cmp	r3, #6
	ble	.L3
.L2:
	mov	r3, #0
	str	r3, [fp, #-220]
.L3:
	ldr	r2, [fp, #-220]
	sub	r1, fp, #216
	sub	r3, fp, #212
	mov	r0, r3
	bl	selectMenu
	ldr	r3, [fp, #-220]
	cmp	r3, #6
	bne	.L4
	mov	r3, #1
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	stdin
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Invalid choice.\000"
	.text
	.align	2
	.global	selectMenu
	.syntax unified
	.arm
	.fpu softvfp
	.type	selectMenu, %function
selectMenu:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L11
.L17:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	add_Student
	b	.L18
.L16:
	ldr	r0, [fp, #-12]
	bl	delete_Student
	b	.L18
.L15:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	displayList
	b	.L18
.L14:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	saveList
	b	.L18
.L13:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	readList
	b	.L18
.L11:
	mov	r0, #0
	bl	exit
.L10:
	ldr	r0, .L19
	bl	printf
	nop
.L18:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC2
	.size	selectMenu, .-selectMenu
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter name>\000"
	.align	2
.LC4:
	.ascii	"Enter birthday: day>\000"
	.align	2
.LC5:
	.ascii	"Invalid day. \000"
	.align	2
.LC6:
	.ascii	"Enter birthday: month>\000"
	.align	2
.LC7:
	.ascii	"Invalid month. \000"
	.align	2
.LC8:
	.ascii	"Enter birthday: year>\000"
	.align	2
.LC9:
	.ascii	"Invalid year. \000"
	.align	2
.LC10:
	.ascii	"Enter GPA>\000"
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
.LC11:
	.ascii	"Invalid GPA. \000"
	.global	__aeabi_d2f
	.align	2
.LC12:
	.ascii	"Class is full\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_Student
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_Student, %function
add_Student:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #108
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	cmp	r3, #4
	bgt	.L22
	ldr	r0, .L48+4
	bl	printf
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	mov	r0, r3
	ldr	r3, .L48+8
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #11
	bl	fgets
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-100]
	mov	r2, #0
	strb	r2, [r3]
.L23:
	ldr	r3, .L48+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L29:
	ldr	r0, .L48+12
	bl	printf
	ldr	r3, .L48+8
	ldr	r2, [r3]
	sub	r3, fp, #80
	mov	r1, #63
	mov	r0, r3
	bl	fgets
	sub	r1, fp, #108
	sub	r3, fp, #80
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L24
	sub	r3, fp, #80
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L24
	sub	r3, fp, #80
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #3
	bhi	.L24
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	ble	.L24
	ldr	r3, [fp, #-96]
	cmp	r3, #31
	ble	.L25
.L24:
	ldr	r0, .L48+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L26
.L25:
	ldrb	r3, [fp, #-80]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L27
	ldrb	r3, [fp, #-80]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L28
.L27:
	ldr	r0, .L48+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L26
.L28:
	mov	r3, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	ldr	r2, [fp, #-96]
	str	r2, [r3, #16]
.L26:
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L29
.L35:
	ldr	r0, .L48+20
	bl	printf
	ldr	r3, .L48+8
	ldr	r2, [r3]
	sub	r3, fp, #80
	mov	r1, #63
	mov	r0, r3
	bl	fgets
	sub	r1, fp, #108
	sub	r3, fp, #80
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L30
	sub	r3, fp, #80
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L30
	sub	r3, fp, #80
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #3
	bhi	.L30
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	ble	.L30
	ldr	r3, [fp, #-96]
	cmp	r3, #12
	ble	.L31
.L30:
	ldr	r0, .L48+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L32
.L31:
	ldrb	r3, [fp, #-80]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L33
	ldrb	r3, [fp, #-80]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L34
.L33:
	ldr	r0, .L48+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L32
.L34:
	mov	r3, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	ldr	r2, [fp, #-96]
	str	r2, [r3, #20]
.L32:
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L35
.L38:
	ldr	r0, .L48+28
	bl	printf
	ldr	r3, .L48+8
	ldr	r2, [r3]
	sub	r3, fp, #80
	mov	r1, #63
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	add	r2, r3, #24
	sub	r3, fp, #80
	ldr	r1, .L48+32
	mov	r0, r3
	bl	__isoc99_sscanf
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L36
	sub	r3, fp, #80
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L36
	sub	r3, fp, #80
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #5
	bhi	.L36
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	ldr	r3, [r3, #24]
	ldr	r2, .L48+36
	cmp	r3, r2
	bls	.L36
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	ldr	r3, [r3, #24]
	cmp	r3, #2016
	bls	.L37
.L36:
	ldr	r0, .L48+40
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
.L37:
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L38
.L43:
	ldr	r0, .L48+44
	bl	printf
	ldr	r3, .L48+8
	ldr	r2, [r3]
	sub	r3, fp, #80
	mov	r1, #63
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #108
	sub	r3, fp, #80
	mov	r1, r2
	mov	r0, r3
	bl	strtod
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L39
	sub	r3, fp, #80
	mov	r1, #32
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	sub	r3, fp, #80
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L39
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	mov	r2, #0
	ldr	r3, .L48+48
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
.L39:
	ldr	r0, .L48+52
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L42
.L46:
	mov	r3, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r4, r3, r2
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #12]	@ float
.L42:
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L43
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-116]
	str	r2, [r3]
	b	.L47
.L22:
	ldr	r0, .L48+56
	bl	puts
.L47:
	nop
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC13
	.word	.LC3
	.word	stdin
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC0
	.word	1799
	.word	.LC9
	.word	.LC10
	.word	1074790400
	.word	.LC11
	.word	.LC12
	.size	add_Student, .-add_Student
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Class is empty\000"
	.text
	.align	2
	.global	delete_Student
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_Student, %function
delete_Student:
	@ 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]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L51
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	b	.L53
.L51:
	ldr	r0, .L54
	bl	puts
.L53:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC14
	.size	delete_Student, .-delete_Student
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Name       Birthday   GPA\000"
	.align	2
.LC16:
	.ascii	"---------- ---------- ------\000"
	.global	__aeabi_f2d
	.align	2
.LC17:
	.ascii	"%-10.10s %02d-%02d-%4d %-.4f\012\000"
	.text
	.align	2
	.global	displayList
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayList, %function
displayList:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L57
	ldr	r0, .L62
	bl	puts
	b	.L61
.L57:
	ldr	r0, .L62+4
	bl	puts
	ldr	r0, .L62+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L59
.L60:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	mov	r7, r3
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r5, [r3, #16]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r6, [r3, #20]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r4, [r3, #24]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #12]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r4, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, r7
	ldr	r0, .L62+12
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L59:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L60
.L61:
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	displayList, .-displayList
	.section	.rodata
	.align	2
.LC18:
	.ascii	"w\000"
	.align	2
.LC19:
	.ascii	"database\000"
	.align	2
.LC20:
	.ascii	"%11s %02d-%02d-%4d %.4f\012\000"
	.text
	.align	2
	.global	saveList
	.syntax unified
	.arm
	.fpu softvfp
	.type	saveList, %function
saveList:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r1, .L67
	ldr	r0, .L67+4
	bl	fopen
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L65
.L66:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	mov	r7, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r6, [r3, #16]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r4, [r3, #20]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r5, [r3, #24]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #12]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r5, [sp, #4]
	str	r4, [sp]
	mov	r3, r6
	mov	r2, r7
	ldr	r1, .L67+8
	ldr	r0, [fp, #-24]
	bl	fprintf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L65:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L66
	ldr	r0, [fp, #-24]
	bl	fclose
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	saveList, .-saveList
	.section	.rodata
	.align	2
.LC21:
	.ascii	"r\000"
	.align	2
.LC22:
	.ascii	"Read error\000"
	.align	2
.LC23:
	.ascii	"%10s %02d-%02d-%4d %f\000"
	.text
	.align	2
	.global	readList
	.syntax unified
	.arm
	.fpu softvfp
	.type	readList, %function
readList:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, .L74
	ldr	r0, .L74+4
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	ftell
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	ldr	r0, .L74+8
	bl	puts
	b	.L71
.L73:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L72:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	lr, r3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	ip, r3, #16
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r1, r3, #20
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r0, r3, #24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r3, r3, #12
	str	r3, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, ip
	mov	r2, lr
	ldr	r1, .L74+12
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L73
.L71:
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC21
	.word	.LC19
	.word	.LC22
	.word	.LC23
	.size	readList, .-readList
	.section	.rodata
	.align	2
.LC24:
	.ascii	"\012\0121. add student\0122. delete last student\012"
	.ascii	"3. display student list\0124. save the student list"
	.ascii	" to the database\0125. read the student list from t"
	.ascii	"he database\0126. exit the program\012Enter your ch"
	.ascii	"oice>\000"
	.text
	.align	2
	.global	printmenu
	.syntax unified
	.arm
	.fpu softvfp
	.type	printmenu, %function
printmenu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L77
	bl	printf
	nop
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC24
	.size	printmenu, .-printmenu
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
