	.file	"904485.c"
	.intel_syntax noprefix
	.text
	.globl	records
	.bss
	.align 32
	.type	records, @object
	.size	records, 10300
records:
	.zero	10300
	.globl	recordLength
	.align 4
	.type	recordLength, @object
	.size	recordLength, 4
recordLength:
	.zero	4
	.section	.rodata
.LC0:
	.string	"student database.txt"
	.align 8
.LC1:
	.string	"\n1- Press (D) to display all students records information"
	.align 8
.LC2:
	.string	"2- Press (S) to search and display a student information by student ID"
	.align 8
.LC3:
	.string	"3- Press (C) to provide a count of students per campus"
.LC4:
	.string	"4 -Press (Q) to quit"
.LC5:
	.string	"Enter Student ID to Search: "
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	lea	rdi, .LC0[rip]
	call	loadDatabase
	nop
	jmp	.L3
.L9:
	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
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -21[rbp], al
	movsx	eax, BYTE PTR -21[rbp]
	sub	eax, 67
	cmp	eax, 48
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.text
.L7:
	mov	eax, 0
	call	displayDatabase
	call	getchar@PLT
	jmp	.L3
.L4:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -15[rbp]
	mov	esi, 7
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -15[rbp]
	mov	rdi, rax
	call	searchDatabaseByID
	call	getchar@PLT
	jmp	.L3
.L8:
	mov	eax, 0
	call	campusCount
	call	getchar@PLT
	jmp	.L3
.L6:
	mov	DWORD PTR -20[rbp], 1
	nop
.L3:
	cmp	DWORD PTR -20[rbp], 0
	je	.L9
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"r"
.LC7:
	.string	"Database failed to open."
.LC8:
	.string	","
.LC9:
	.string	"\n"
	.text
	.globl	loadDatabase
	.type	loadDatabase, @function
loadDatabase:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	lea	rdx, .LC6[rip]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	fopen_s@PLT
	mov	rax, QWORD PTR -128[rbp]
	test	rax, rax
	jne	.L14
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rax, -112[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR recordLength[rip]
	cdqe
	imul	rax, rax, 103
	lea	rdx, records[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rsi, .LC8[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR recordLength[rip]
	cdqe
	imul	rax, rax, 103
	lea	rdx, records[rip]
	add	rax, rdx
	lea	rdx, 7[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rsi, .LC8[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR recordLength[rip]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 32[rax]
	lea	rax, records[rip]
	add	rax, rdx
	lea	rdx, 7[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR recordLength[rip]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 64[rax]
	lea	rax, records[rip]
	add	rax, rdx
	lea	rdx, 7[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR recordLength[rip]
	add	eax, 1
	mov	DWORD PTR recordLength[rip], eax
.L14:
	mov	rdx, QWORD PTR -128[rbp]
	lea	rax, -112[rbp]
	mov	esi, 104
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	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
.LFE7:
	.size	loadDatabase, .-loadDatabase
	.section	.rodata
.LC10:
	.string	"%-8s %-32s %-32s %-32s\n"
	.align 8
.LC11:
	.string	"No records found matching ID %s"
	.text
	.globl	searchDatabaseByID
	.type	searchDatabaseByID, @function
searchDatabaseByID:
.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
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, records[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 64[rax]
	lea	rax, records[rip]
	add	rax, rdx
	lea	rsi, 7[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 32[rax]
	lea	rax, records[rip]
	add	rax, rdx
	lea	rcx, 7[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, records[rip]
	add	rax, rdx
	lea	rdx, 7[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdi, records[rip]
	add	rax, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	add	DWORD PTR -4[rbp], 1
.L18:
	mov	eax, DWORD PTR recordLength[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L20
	cmp	DWORD PTR -8[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	searchDatabaseByID, .-searchDatabaseByID
	.section	.rodata
.LC12:
	.string	"Downtown Campus"
.LC13:
	.string	"East Campus"
.LC14:
	.string	"West Campus"
.LC15:
	.string	"East Campus %d Students\n"
.LC16:
	.string	"West Campus %d Students\n"
.LC17:
	.string	"Downtown Campus %d Students\n"
	.text
	.globl	campusCount
	.type	campusCount, @function
campusCount:
.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	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L34:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 64[rax]
	lea	rax, records[rip]
	add	rax, rdx
	add	rax, 7
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L25
	mov	DWORD PTR -24[rbp], 0
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 64[rax]
	lea	rax, records[rip]
	add	rax, rdx
	add	rax, 7
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
	mov	DWORD PTR -24[rbp], 1
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 64[rax]
	lea	rax, records[rip]
	add	rax, rdx
	add	rax, 7
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
	mov	DWORD PTR -24[rbp], 2
	jmp	.L26
.L28:
	mov	DWORD PTR -24[rbp], 3
.L26:
	cmp	DWORD PTR -24[rbp], 2
	je	.L29
	cmp	DWORD PTR -24[rbp], 2
	ja	.L30
	cmp	DWORD PTR -24[rbp], 0
	je	.L31
	cmp	DWORD PTR -24[rbp], 1
	je	.L32
	jmp	.L30
.L31:
	add	DWORD PTR -16[rbp], 1
	jmp	.L33
.L32:
	add	DWORD PTR -20[rbp], 1
	jmp	.L33
.L29:
	add	DWORD PTR -12[rbp], 1
	jmp	.L33
.L30:
	add	DWORD PTR -8[rbp], 1
	nop
.L33:
	add	DWORD PTR -4[rbp], 1
.L24:
	mov	eax, DWORD PTR recordLength[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L34
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	campusCount, .-campusCount
	.globl	displayDatabase
	.type	displayDatabase, @function
displayDatabase:
.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	.L36
.L37:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 64[rax]
	lea	rax, records[rip]
	add	rax, rdx
	lea	rsi, 7[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, 32[rax]
	lea	rax, records[rip]
	add	rax, rdx
	lea	rcx, 7[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdx, records[rip]
	add	rax, rdx
	lea	rdx, 7[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 103
	lea	rdi, records[rip]
	add	rax, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L36:
	mov	eax, DWORD PTR recordLength[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L37
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	displayDatabase, .-displayDatabase
	.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	"904485.c"
	.text
	.comm	records,10300,4
	.global	recordLength
	.bss
	.align	2
	.type	recordLength, %object
	.size	recordLength, 4
recordLength:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"student database.txt\000"
	.align	2
.LC1:
	.ascii	"\0121- Press (D) to display all students records in"
	.ascii	"formation\000"
	.align	2
.LC2:
	.ascii	"2- Press (S) to search and display a student inform"
	.ascii	"ation by student ID\000"
	.align	2
.LC3:
	.ascii	"3- Press (C) to provide a count of students per cam"
	.ascii	"pus\000"
	.align	2
.LC4:
	.ascii	"4 -Press (Q) to quit\000"
	.align	2
.LC5:
	.ascii	"Enter Student ID to Search: \000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L12+4
	bl	loadDatabase
	nop
	b	.L3
.L9:
	ldr	r0, .L12+8
	bl	puts
	ldr	r0, .L12+12
	bl	puts
	ldr	r0, .L12+16
	bl	puts
	ldr	r0, .L12+20
	bl	puts
	ldr	r3, .L12+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	sub	r3, r3, #67
	cmp	r3, #48
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L8
	.word	.L7
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L4
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L8
	.word	.L7
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L4
.L7:
	bl	displayDatabase
	bl	getchar
	b	.L3
.L4:
	ldr	r0, .L12+28
	bl	printf
	bl	getchar
	ldr	r3, .L12+24
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #7
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	searchDatabaseByID
	bl	getchar
	b	.L3
.L8:
	bl	campusCount
	bl	getchar
	b	.L3
.L6:
	mov	r3, #1
	str	r3, [fp, #-20]
	nop
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L9
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stdin
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"Database failed to open.\000"
	.align	2
.LC9:
	.ascii	",\000"
	.align	2
.LC10:
	.ascii	"\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	loadDatabase
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadDatabase, %function
loadDatabase:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #120
	ldr	r2, .L19+4
	ldr	r1, [fp, #-128]
	mov	r0, r3
	bl	fopen_s
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L19+8
	bl	puts
	mov	r0, #1
	bl	exit
.L17:
	sub	r3, fp, #112
	ldr	r1, .L19+12
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-116]
	ldr	r3, .L19+16
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L19+20
	add	r3, r3, r2
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L19+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-116]
	ldr	r3, .L19+16
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L19+20
	add	r3, r3, r2
	add	r3, r3, #7
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L19+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-116]
	ldr	r3, .L19+16
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #32
	ldr	r2, .L19+20
	add	r3, r3, r2
	add	r3, r3, #7
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L19+24
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-116]
	ldr	r3, .L19+16
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #64
	ldr	r2, .L19+20
	add	r3, r3, r2
	add	r3, r3, #7
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L19+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19+16
	str	r3, [r2]
.L16:
	ldr	r2, [fp, #-120]
	sub	r3, fp, #112
	mov	r1, #104
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-120]
	mov	r0, r3
	bl	fclose
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC11
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	recordLength
	.word	records
	.word	.LC10
	.size	loadDatabase, .-loadDatabase
	.section	.rodata
	.align	2
.LC12:
	.ascii	"%-8s %-32s %-32s %-32s\012\000"
	.align	2
.LC13:
	.ascii	"No records found matching ID %s\000"
	.text
	.align	2
	.global	searchDatabaseByID
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchDatabaseByID, %function
searchDatabaseByID:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L24:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L27
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L27
	add	r0, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L27
	add	r3, r3, r2
	add	ip, r3, #7
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #32
	ldr	r2, .L27
	add	r3, r3, r2
	add	lr, r3, #7
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #64
	ldr	r2, .L27
	add	r3, r3, r2
	add	r3, r3, #7
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L27+4
	bl	printf
.L23:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L25
	ldr	r1, [fp, #-16]
	ldr	r0, .L27+12
	bl	printf
.L25:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	records
	.word	.LC12
	.word	recordLength
	.word	.LC13
	.size	searchDatabaseByID, .-searchDatabaseByID
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Downtown Campus\000"
	.align	2
.LC15:
	.ascii	"East Campus\000"
	.align	2
.LC16:
	.ascii	"West Campus\000"
	.align	2
.LC17:
	.ascii	"East Campus %d Students\012\000"
	.align	2
.LC18:
	.ascii	"West Campus %d Students\012\000"
	.align	2
.LC19:
	.ascii	"Downtown Campus %d Students\012\000"
	.text
	.align	2
	.global	campusCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	campusCount, %function
campusCount:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L40:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #64
	ldr	r2, .L41
	add	r3, r3, r2
	add	r3, r3, #7
	ldr	r1, .L41+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L32
.L31:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #64
	ldr	r2, .L41
	add	r3, r3, r2
	add	r3, r3, #7
	ldr	r1, .L41+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L32
.L33:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #64
	ldr	r2, .L41
	add	r3, r3, r2
	add	r3, r3, #7
	ldr	r1, .L41+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	mov	r3, #2
	str	r3, [fp, #-28]
	b	.L32
.L34:
	mov	r3, #3
	str	r3, [fp, #-28]
.L32:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	beq	.L35
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bhi	.L36
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	beq	.L38
	b	.L36
.L37:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L39
.L38:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L39
.L35:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L39
.L36:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	nop
.L39:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, .L41+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L40
	ldr	r1, [fp, #-24]
	ldr	r0, .L41+20
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L41+24
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L41+28
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	records
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	recordLength
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	campusCount, .-campusCount
	.align	2
	.global	displayDatabase
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayDatabase, %function
displayDatabase:
	@ args = 0, pretend = 0, frame = 8
	@ 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]
	b	.L44
.L45:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L46
	add	r0, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L46
	add	r3, r3, r2
	add	ip, r3, #7
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #32
	ldr	r2, .L46
	add	r3, r3, r2
	add	lr, r3, #7
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #64
	ldr	r2, .L46
	add	r3, r3, r2
	add	r3, r3, #7
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L46+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L44:
	ldr	r3, .L46+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L45
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	records
	.word	.LC12
	.word	recordLength
	.size	displayDatabase, .-displayDatabase
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
