	.file	"564145.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter Number of students: "
.LC1:
	.string	"%d"
.LC2:
	.string	"wb"
.LC3:
	.string	"std.db"
	.align 8
.LC4:
	.string	"Error in opening file. Aborting!"
.LC5:
	.string	"DETAILS OF STUDENT #%d:\n"
	.align 8
.LC6:
	.string	"Enter Full Name of the Student: "
.LC7:
	.string	" %[^\n]*c"
	.align 8
.LC8:
	.string	"Enter Department of the Student: "
	.align 8
.LC9:
	.string	"Enter Roll Number of the Student: "
.LC10:
	.string	" %d"
	.align 8
.LC11:
	.string	"Enter Marks obtained by the Student: "
	.align 8
.LC12:
	.string	"Is the student a dayscholar or a hostel boarder? Enter 'h' for hoster boarder or 'd' for day scholar: "
.LC13:
	.string	" %c"
.LC14:
	.string	"Enter Hostel Name: "
.LC15:
	.string	""
	.align 8
.LC16:
	.string	"1. Search\n2. Add Data\n3. Exit\nEnter Your choice (1-3): "
.LC17:
	.string	"Wrong Choice! Try Again!!"
	.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, 352
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -340[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	cmp	QWORD PTR -328[rbp], 0
	jne	.L2
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -332[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -332[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 108
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 100
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 104
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -336[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	BYTE PTR -112[rbp], 0
	movzx	eax, BYTE PTR -336[rbp]
	cmp	al, 104
	jne	.L4
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 208
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L4:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR -328[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 308
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -332[rbp], 1
.L3:
	mov	eax, DWORD PTR -340[rbp]
	cmp	DWORD PTR -332[rbp], eax
	jl	.L5
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L13:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -336[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -336[rbp]
	cmp	eax, 3
	jne	.L6
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	jmp	.L15
.L6:
	mov	eax, DWORD PTR -336[rbp]
	cmp	eax, 1
	je	.L8
	cmp	eax, 2
	je	.L9
	jmp	.L16
.L8:
	mov	eax, 0
	call	search
	jmp	.L12
.L9:
	mov	eax, 0
	call	add
	jmp	.L12
.L16:
	lea	rdi, .LC17[rip]
	call	puts@PLT
.L12:
	jmp	.L13
.L15:
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC18:
	.string	"Choose Search Query: "
.LC19:
	.string	"1. Student Name"
.LC20:
	.string	"2. Student Roll Number"
.LC21:
	.string	"3. Student Marks"
.LC22:
	.string	"4. Student Department"
.LC23:
	.string	"Enter your choice (1-4): "
.LC24:
	.string	"rb"
.LC25:
	.string	"Not Found!"
	.text
	.globl	search
	.type	search, @function
search:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, nSearch[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, rSearch[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, mSearch[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, dSearch[rip]
	mov	QWORD PTR -24[rbp], rax
.L18:
	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
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -64[rbp]
	test	eax, eax
	jle	.L19
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, 4
	jle	.L20
.L19:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L18
.L20:
	lea	rsi, .LC24[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L21
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	ftell@PLT
	movabs	rdx, 7666179355307865607
	mul	rdx
	mov	rax, rdx
	shr	rax, 7
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	cdqe
	mov	rcx, QWORD PTR -48[rbp+rax*8]
	mov	edx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	rcx
	xor	eax, 1
	test	al, al
	je	.L22
	lea	rdi, .LC25[rip]
	call	puts@PLT
.L22:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	search, .-search
	.section	.rodata
.LC26:
	.string	"ab"
	.align 8
.LC27:
	.string	"Enter the number of students for new data: "
	.text
	.globl	add
	.type	add, @function
add:
.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, 352
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC26[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	cmp	QWORD PTR -328[rbp], 0
	jne	.L25
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rax, -336[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -332[rbp], 0
	jmp	.L26
.L28:
	mov	eax, DWORD PTR -332[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 108
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 100
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 104
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -337[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	BYTE PTR -112[rbp], 0
	movzx	eax, BYTE PTR -337[rbp]
	cmp	al, 104
	jne	.L27
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	add	rax, 208
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L27:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR -328[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 308
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -332[rbp], 1
.L26:
	mov	eax, DWORD PTR -336[rbp]
	cmp	DWORD PTR -332[rbp], eax
	jl	.L28
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add, .-add
	.section	.rodata
.LC28:
	.string	"\nName : %s\n"
.LC29:
	.string	"Roll Number: %d\n"
.LC30:
	.string	"Department: %s\n"
.LC31:
	.string	"Marks Obtained: %d\n"
.LC32:
	.string	"Hostel: %s\n"
.LC33:
	.string	"Day Scholar"
	.text
	.globl	displayData
	.type	displayData, @function
displayData:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rsi, 16[rbp]
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 116[rbp]
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, 124[rbp]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 120[rbp]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR 224[rbp]
	test	al, al
	je	.L31
	lea	rax, 224[rbp]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L32
.L31:
	lea	rdi, .LC33[rip]
	call	puts@PLT
.L32:
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	displayData, .-displayData
	.section	.rodata
.LC34:
	.string	"Enter Student Name: "
	.text
	.globl	nSearch
	.type	nSearch, @function
nSearch:
.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, 464
	mov	QWORD PTR -456[rbp], rdi
	mov	DWORD PTR -460[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -437[rbp], 0
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -436[rbp], 0
	jmp	.L34
.L36:
	mov	rdx, QWORD PTR -456[rbp]
	lea	rax, -432[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 308
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -432[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L35
	mov	BYTE PTR -437[rbp], 1
	sub	rsp, 8
	sub	rsp, 312
	mov	rax, rsp
	mov	rdx, rax
	lea	rax, -432[rbp]
	mov	ecx, 38
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	mov	rax, rsi
	mov	rdx, rdi
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	call	displayData
	add	rsp, 320
.L35:
	add	DWORD PTR -436[rbp], 1
.L34:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, DWORD PTR -460[rbp]
	jl	.L36
	movzx	eax, BYTE PTR -437[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	nSearch, .-nSearch
	.section	.rodata
.LC35:
	.string	"Enter Student Roll Number: "
	.text
	.globl	rSearch
	.type	rSearch, @function
rSearch:
.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, 352
	mov	QWORD PTR -344[rbp], rdi
	mov	DWORD PTR -348[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -329[rbp], 0
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -328[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -324[rbp], 0
	jmp	.L40
.L42:
	mov	rdx, QWORD PTR -344[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 308
	mov	rdi, rax
	call	fread@PLT
	mov	edx, DWORD PTR -220[rbp]
	mov	eax, DWORD PTR -328[rbp]
	cmp	edx, eax
	jne	.L41
	mov	BYTE PTR -329[rbp], 1
	sub	rsp, 8
	sub	rsp, 312
	mov	rax, rsp
	mov	rdx, rax
	lea	rax, -320[rbp]
	mov	ecx, 38
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	mov	rax, rsi
	mov	rdx, rdi
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	call	displayData
	add	rsp, 320
.L41:
	add	DWORD PTR -324[rbp], 1
.L40:
	mov	eax, DWORD PTR -324[rbp]
	cmp	eax, DWORD PTR -348[rbp]
	jl	.L42
	movzx	eax, BYTE PTR -329[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	rSearch, .-rSearch
	.section	.rodata
.LC36:
	.string	"Enter Marks Obtained: "
	.text
	.globl	mSearch
	.type	mSearch, @function
mSearch:
.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, 352
	mov	QWORD PTR -344[rbp], rdi
	mov	DWORD PTR -348[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -329[rbp], 0
	lea	rax, -328[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -324[rbp], 0
	jmp	.L46
.L48:
	mov	rdx, QWORD PTR -344[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 308
	mov	rdi, rax
	call	fread@PLT
	mov	edx, DWORD PTR -216[rbp]
	mov	eax, DWORD PTR -328[rbp]
	cmp	edx, eax
	jne	.L47
	mov	BYTE PTR -329[rbp], 1
	sub	rsp, 8
	sub	rsp, 312
	mov	rax, rsp
	mov	rdx, rax
	lea	rax, -320[rbp]
	mov	ecx, 38
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	mov	rax, rsi
	mov	rdx, rdi
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	call	displayData
	add	rsp, 320
.L47:
	add	DWORD PTR -324[rbp], 1
.L46:
	mov	eax, DWORD PTR -324[rbp]
	cmp	eax, DWORD PTR -348[rbp]
	jl	.L48
	movzx	eax, BYTE PTR -329[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	mSearch, .-mSearch
	.section	.rodata
.LC37:
	.string	"Enter Student Department: "
	.text
	.globl	dSearch
	.type	dSearch, @function
dSearch:
.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, 464
	mov	QWORD PTR -456[rbp], rdi
	mov	DWORD PTR -460[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -437[rbp], 0
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -436[rbp], 0
	jmp	.L52
.L54:
	mov	rdx, QWORD PTR -456[rbp]
	lea	rax, -432[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 308
	mov	rdi, rax
	call	fread@PLT
	lea	rax, -432[rbp]
	lea	rdx, 108[rax]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L53
	mov	BYTE PTR -437[rbp], 1
	sub	rsp, 8
	sub	rsp, 312
	mov	rax, rsp
	mov	rdx, rax
	lea	rax, -432[rbp]
	mov	ecx, 38
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	mov	rax, rsi
	mov	rdx, rdi
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	call	displayData
	add	rsp, 320
.L53:
	add	DWORD PTR -436[rbp], 1
.L52:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, DWORD PTR -460[rbp]
	jl	.L54
	movzx	eax, BYTE PTR -437[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	dSearch, .-dSearch
	.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	"564145.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter Number of students: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"wb\000"
	.align	2
.LC4:
	.ascii	"std.db\000"
	.align	2
.LC5:
	.ascii	"Error in opening file. Aborting!\000"
	.align	2
.LC6:
	.ascii	"DETAILS OF STUDENT #%d:\012\000"
	.align	2
.LC7:
	.ascii	"Enter Full Name of the Student: \000"
	.align	2
.LC8:
	.ascii	" %[^\012]*c\000"
	.align	2
.LC9:
	.ascii	"Enter Department of the Student: \000"
	.align	2
.LC10:
	.ascii	"Enter Roll Number of the Student: \000"
	.align	2
.LC11:
	.ascii	" %d\000"
	.align	2
.LC12:
	.ascii	"Enter Marks obtained by the Student: \000"
	.align	2
.LC13:
	.ascii	"Is the student a dayscholar or a hostel boarder? En"
	.ascii	"ter 'h' for hoster boarder or 'd' for day scholar: "
	.ascii	"\000"
	.align	2
.LC14:
	.ascii	" %c\000"
	.align	2
.LC15:
	.ascii	"Enter Hostel Name: \000"
	.align	2
.LC16:
	.ascii	"\000"
	.align	2
.LC17:
	.ascii	"1. Search\0122. Add Data\0123. Exit\012Enter Your c"
	.ascii	"hoice (1-3): \000"
	.align	2
.LC18:
	.ascii	"Wrong Choice! Try Again!!\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #328
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L17+4
	bl	printf
	sub	r3, fp, #332
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	ldr	r1, .L17+12
	ldr	r0, .L17+16
	bl	fopen
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L17+20
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-324]
	b	.L3
.L5:
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L17+24
	bl	printf
	ldr	r0, .L17+28
	bl	printf
	sub	r3, fp, #316
	mov	r1, r3
	ldr	r0, .L17+32
	bl	__isoc99_scanf
	ldr	r0, .L17+36
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #108
	mov	r1, r3
	ldr	r0, .L17+32
	bl	__isoc99_scanf
	ldr	r0, .L17+40
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #100
	mov	r1, r3
	ldr	r0, .L17+44
	bl	__isoc99_scanf
	ldr	r0, .L17+48
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #104
	mov	r1, r3
	ldr	r0, .L17+44
	bl	__isoc99_scanf
	ldr	r0, .L17+52
	bl	printf
	sub	r3, fp, #328
	mov	r1, r3
	ldr	r0, .L17+56
	bl	__isoc99_scanf
	mov	r3, #0
	strb	r3, [fp, #-108]
	ldrb	r3, [fp, #-328]	@ zero_extendqisi2
	cmp	r3, #104
	bne	.L4
	ldr	r0, .L17+60
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #208
	mov	r1, r3
	ldr	r0, .L17+32
	bl	__isoc99_scanf
.L4:
	ldr	r0, .L17+64
	bl	puts
	sub	r0, fp, #316
	ldr	r3, [fp, #-320]
	mov	r2, #1
	mov	r1, #308
	bl	fwrite
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
.L3:
	ldr	r3, [fp, #-332]
	ldr	r2, [fp, #-324]
	cmp	r2, r3
	blt	.L5
	ldr	r0, [fp, #-320]
	bl	fclose
.L13:
	ldr	r0, .L17+68
	bl	printf
	sub	r3, fp, #328
	mov	r1, r3
	ldr	r0, .L17+44
	bl	__isoc99_scanf
	ldr	r3, [fp, #-328]
	cmp	r3, #3
	bne	.L6
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	b	.L15
.L6:
	ldr	r3, [fp, #-328]
	cmp	r3, #1
	beq	.L8
	cmp	r3, #2
	beq	.L9
	b	.L16
.L8:
	bl	search
	b	.L12
.L9:
	bl	add
	b	.L12
.L16:
	ldr	r0, .L17+72
	bl	puts
.L12:
	b	.L13
.L15:
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC19
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Choose Search Query: \000"
	.align	2
.LC21:
	.ascii	"1. Student Name\000"
	.align	2
.LC22:
	.ascii	"2. Student Roll Number\000"
	.align	2
.LC23:
	.ascii	"3. Student Marks\000"
	.align	2
.LC24:
	.ascii	"4. Student Department\000"
	.align	2
.LC25:
	.ascii	"Enter your choice (1-4): \000"
	.align	2
.LC26:
	.ascii	"rb\000"
	.align	2
.LC27:
	.ascii	"Not Found!\000"
	.align	2
.LC0:
	.word	nSearch
	.word	rSearch
	.word	mSearch
	.word	dSearch
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ 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, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L26+4
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L20:
	ldr	r0, .L26+8
	bl	puts
	ldr	r0, .L26+12
	bl	puts
	ldr	r0, .L26+16
	bl	puts
	ldr	r0, .L26+20
	bl	puts
	ldr	r0, .L26+24
	bl	puts
	ldr	r0, .L26+28
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L26+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L21
	ldr	r3, [fp, #-36]
	cmp	r3, #4
	ble	.L22
.L21:
	ldr	r0, .L26+36
	bl	puts
	b	.L20
.L22:
	ldr	r1, .L26+40
	ldr	r0, .L26+44
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L26+48
	bl	puts
	mov	r0, #1
	bl	exit
.L23:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	fseek
	ldr	r0, [fp, #-32]
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L26+52
	umull	r1, r3, r2, r3
	lsr	r3, r3, #6
	str	r3, [fp, #-28]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	fseek
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	blx	r3
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L24
	ldr	r0, .L26+56
	bl	puts
.L24:
	ldr	r0, [fp, #-32]
	bl	fclose
	nop
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC28
	.word	.LC0
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC11
	.word	.LC18
	.word	.LC26
	.word	.LC4
	.word	.LC5
	.word	892460737
	.word	.LC27
	.size	search, .-search
	.section	.rodata
	.align	2
.LC29:
	.ascii	"ab\000"
	.align	2
.LC30:
	.ascii	"Enter the number of students for new data: \000"
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #328
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L34+4
	ldr	r0, .L34+8
	bl	fopen
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L34+12
	bl	puts
	mov	r0, #1
	bl	exit
.L29:
	ldr	r0, .L34+16
	bl	puts
	sub	r3, fp, #328
	mov	r1, r3
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-324]
	b	.L30
.L32:
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L34+24
	bl	printf
	ldr	r0, .L34+28
	bl	printf
	sub	r3, fp, #316
	mov	r1, r3
	ldr	r0, .L34+32
	bl	__isoc99_scanf
	ldr	r0, .L34+36
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #108
	mov	r1, r3
	ldr	r0, .L34+32
	bl	__isoc99_scanf
	ldr	r0, .L34+40
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #100
	mov	r1, r3
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	ldr	r0, .L34+44
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #104
	mov	r1, r3
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	ldr	r0, .L34+48
	bl	printf
	sub	r3, fp, #328
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L34+52
	bl	__isoc99_scanf
	mov	r3, #0
	strb	r3, [fp, #-108]
	ldrb	r3, [fp, #-329]	@ zero_extendqisi2
	cmp	r3, #104
	bne	.L31
	ldr	r0, .L34+56
	bl	printf
	sub	r3, fp, #316
	add	r3, r3, #208
	mov	r1, r3
	ldr	r0, .L34+32
	bl	__isoc99_scanf
.L31:
	ldr	r0, .L34+60
	bl	puts
	sub	r0, fp, #316
	ldr	r3, [fp, #-320]
	mov	r2, #1
	mov	r1, #308
	bl	fwrite
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
.L30:
	ldr	r3, [fp, #-328]
	ldr	r2, [fp, #-324]
	cmp	r2, r3
	blt	.L32
	ldr	r0, [fp, #-320]
	bl	fclose
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC31
	.word	.LC29
	.word	.LC4
	.word	.LC5
	.word	.LC30
	.word	.LC11
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	add, .-add
	.section	.rodata
	.align	2
.LC32:
	.ascii	"\012Name : %s\012\000"
	.align	2
.LC33:
	.ascii	"Roll Number: %d\012\000"
	.align	2
.LC34:
	.ascii	"Department: %s\012\000"
	.align	2
.LC35:
	.ascii	"Marks Obtained: %d\012\000"
	.align	2
.LC36:
	.ascii	"Hostel: %s\012\000"
	.align	2
.LC37:
	.ascii	"Day Scholar\000"
	.text
	.align	2
	.global	displayData
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayData, %function
displayData:
	@ args = 308, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #4
	mov	r1, r3
	ldr	r0, .L39
	bl	printf
	ldr	r3, [fp, #104]
	mov	r1, r3
	ldr	r0, .L39+4
	bl	printf
	add	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L39+8
	bl	printf
	ldr	r3, [fp, #108]
	mov	r1, r3
	ldr	r0, .L39+12
	bl	printf
	ldrb	r3, [fp, #212]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	add	r3, fp, #212
	mov	r1, r3
	ldr	r0, .L39+16
	bl	printf
	b	.L38
.L37:
	ldr	r0, .L39+20
	bl	puts
.L38:
	mov	r0, #10
	bl	putchar
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L40:
	.align	2
.L39:
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.size	displayData, .-displayData
	.section	.rodata
	.align	2
.LC38:
	.ascii	"Enter Student Name: \000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nSearch
	.syntax unified
	.arm
	.fpu softvfp
	.type	nSearch, %function
nSearch:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #728
	str	r0, [fp, #-432]
	str	r1, [fp, #-436]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L47+4
	bl	printf
	mov	r3, #0
	strb	r3, [fp, #-421]
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L47+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L42
.L44:
	sub	r0, fp, #416
	ldr	r3, [fp, #-432]
	mov	r2, #1
	mov	r1, #308
	bl	fread
	sub	r2, fp, #416
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	mov	r3, #1
	strb	r3, [fp, #-421]
	mov	r0, sp
	sub	r3, fp, #400
	mov	r2, #292
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #416
	ldm	r3, {r0, r1, r2, r3}
	bl	displayData
.L43:
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L42:
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-436]
	cmp	r2, r3
	blt	.L44
	ldrb	r3, [fp, #-421]	@ zero_extendqisi2
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC39
	.word	.LC38
	.word	.LC8
	.size	nSearch, .-nSearch
	.section	.rodata
	.align	2
.LC40:
	.ascii	"Enter Student Roll Number: \000"
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rSearch
	.syntax unified
	.arm
	.fpu softvfp
	.type	rSearch, %function
rSearch:
	@ args = 0, pretend = 0, frame = 336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #632
	str	r0, [fp, #-336]
	str	r1, [fp, #-340]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-325]
	ldr	r0, .L55+4
	bl	printf
	sub	r3, fp, #324
	mov	r1, r3
	ldr	r0, .L55+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L50
.L52:
	sub	r0, fp, #316
	ldr	r3, [fp, #-336]
	mov	r2, #1
	mov	r1, #308
	bl	fread
	ldr	r2, [fp, #-216]
	ldr	r3, [fp, #-324]
	cmp	r2, r3
	bne	.L51
	mov	r3, #1
	strb	r3, [fp, #-325]
	mov	r0, sp
	sub	r3, fp, #300
	mov	r2, #292
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #316
	ldm	r3, {r0, r1, r2, r3}
	bl	displayData
.L51:
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L50:
	ldr	r2, [fp, #-320]
	ldr	r3, [fp, #-340]
	cmp	r2, r3
	blt	.L52
	ldrb	r3, [fp, #-325]	@ zero_extendqisi2
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC41
	.word	.LC40
	.word	.LC11
	.size	rSearch, .-rSearch
	.section	.rodata
	.align	2
.LC42:
	.ascii	"Enter Marks Obtained: \000"
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mSearch
	.syntax unified
	.arm
	.fpu softvfp
	.type	mSearch, %function
mSearch:
	@ args = 0, pretend = 0, frame = 336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #632
	str	r0, [fp, #-336]
	str	r1, [fp, #-340]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L63+4
	bl	printf
	mov	r3, #0
	strb	r3, [fp, #-325]
	sub	r3, fp, #324
	mov	r1, r3
	ldr	r0, .L63+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L58
.L60:
	sub	r0, fp, #316
	ldr	r3, [fp, #-336]
	mov	r2, #1
	mov	r1, #308
	bl	fread
	ldr	r2, [fp, #-212]
	ldr	r3, [fp, #-324]
	cmp	r2, r3
	bne	.L59
	mov	r3, #1
	strb	r3, [fp, #-325]
	mov	r0, sp
	sub	r3, fp, #300
	mov	r2, #292
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #316
	ldm	r3, {r0, r1, r2, r3}
	bl	displayData
.L59:
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L58:
	ldr	r2, [fp, #-320]
	ldr	r3, [fp, #-340]
	cmp	r2, r3
	blt	.L60
	ldrb	r3, [fp, #-325]	@ zero_extendqisi2
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC43
	.word	.LC42
	.word	.LC11
	.size	mSearch, .-mSearch
	.section	.rodata
	.align	2
.LC44:
	.ascii	"Enter Student Department: \000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dSearch
	.syntax unified
	.arm
	.fpu softvfp
	.type	dSearch, %function
dSearch:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #728
	str	r0, [fp, #-432]
	str	r1, [fp, #-436]
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L71+4
	bl	printf
	mov	r3, #0
	strb	r3, [fp, #-421]
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L71+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L66
.L68:
	sub	r0, fp, #416
	ldr	r3, [fp, #-432]
	mov	r2, #1
	mov	r1, #308
	bl	fread
	sub	r3, fp, #416
	add	r2, r3, #108
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	mov	r3, #1
	strb	r3, [fp, #-421]
	mov	r0, sp
	sub	r3, fp, #400
	mov	r2, #292
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #416
	ldm	r3, {r0, r1, r2, r3}
	bl	displayData
.L67:
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L66:
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-436]
	cmp	r2, r3
	blt	.L68
	ldrb	r3, [fp, #-421]	@ zero_extendqisi2
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC45
	.word	.LC44
	.word	.LC8
	.size	dSearch, .-dSearch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
