	.file	"984091.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rb+"
.LC1:
	.string	"employeeInfo.txt"
.LC2:
	.string	"wb+"
.LC3:
	.string	"can't open file"
.LC4:
	.string	"\n\t\t\t\t  Login Screen"
	.align 8
.LC5:
	.string	"\n\t\t\t      Enter Your Credential"
.LC6:
	.string	"\n\n\n\t\tUsername: "
.LC7:
	.string	"%s"
.LC8:
	.string	"\n\t\tPassword: "
.LC9:
	.string	"%c%c%c"
.LC10:
	.string	"admin"
.LC11:
	.string	"pass"
.LC12:
	.string	"\n\t\t\t\tMain Menu"
.LC13:
	.string	"\n\n"
.LC14:
	.string	"\n\n\t\t\t1. Add Employee"
.LC15:
	.string	"\n\n\t\t\t2. Delete Employee"
.LC16:
	.string	"\n\n\t\t\t3. Modify Employee"
.LC17:
	.string	"\n\n\t\t\t4. Display Employee List"
.LC18:
	.string	"\n\n\t\t\t5. Search Record"
.LC19:
	.string	"\n\n\t\t\t6. Display Basic Info"
.LC20:
	.string	"\n\n\t\t\t0. EXIT"
.LC21:
	.string	"\n\n\t\tEnter Your Option :--> "
.LC22:
	.string	"%d"
.LC23:
	.string	"\n\t\tYou Pressed wrong key"
.LC24:
	.string	"\n\t\tProgram terminated"
.LC25:
	.string	"\n\t\tLogin Failed"
	.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, 592
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -584[rbp], rax
	cmp	QWORD PTR -584[rbp], 0
	jne	.L2
	lea	rsi, .LC2[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -584[rbp], rax
	cmp	QWORD PTR -584[rbp], 0
	jne	.L2
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L21
.L2:
	mov	eax, 0
	call	printHead
	mov	eax, 0
	call	welcome
	mov	eax, 0
	call	printHead
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[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
	mov	DWORD PTR -588[rbp], 0
.L8:
	mov	eax, 0
	call	getch@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -588[rbp]
	cdqe
	mov	BYTE PTR -18[rbp+rax], dl
	mov	eax, DWORD PTR -588[rbp]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	cmp	al, 13
	je	.L23
	mov	eax, DWORD PTR -588[rbp]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	cmp	al, 8
	jne	.L6
	cmp	DWORD PTR -588[rbp], 0
	jle	.L6
	mov	ecx, 8
	mov	edx, 32
	mov	esi, 8
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -588[rbp], 1
	jmp	.L7
.L6:
	mov	edi, 42
	call	putchar@PLT
	add	DWORD PTR -588[rbp], 1
.L7:
	mov	eax, DWORD PTR -588[rbp]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	cmp	al, 13
	jne	.L8
	jmp	.L5
.L23:
	nop
.L5:
	mov	eax, DWORD PTR -588[rbp]
	cdqe
	mov	BYTE PTR -18[rbp+rax], 0
	lea	rax, -28[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L9
	lea	rax, -18[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L9
.L20:
	mov	eax, 0
	call	printHead
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -592[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -592[rbp]
	cmp	eax, 6
	ja	.L10
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L12[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L12[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L12:
	.long	.L18-.L12
	.long	.L17-.L12
	.long	.L16-.L12
	.long	.L15-.L12
	.long	.L14-.L12
	.long	.L13-.L12
	.long	.L11-.L12
	.text
.L18:
	mov	eax, 1
	jmp	.L21
.L17:
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	add@PLT
	jmp	.L19
.L16:
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	del@PLT
	mov	QWORD PTR -584[rbp], rax
	jmp	.L19
.L15:
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	modify@PLT
	jmp	.L19
.L14:
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	displayList@PLT
	jmp	.L19
.L13:
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	searchRecord@PLT
	jmp	.L19
.L11:
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	displaybasic@PLT
	jmp	.L19
.L10:
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	getch@PLT
	mov	edi, 0
	call	exit@PLT
.L19:
	jmp	.L20
.L9:
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
.L21:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC26:
	.string	"\n\n\n\n\n\t\t[ [ [ WELCOME TO OUR EMPLOYEE MANAGEMENT SYSTEM ] ] ]\n\n\n\n\n\n\n\t"
.LC27:
	.string	"pause"
	.text
	.globl	welcome
	.type	welcome, @function
welcome:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC27[rip]
	call	system@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	welcome, .-welcome
	.globl	printChar
	.type	printChar, @function
printChar:
.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, 16
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	BYTE PTR -4[rbp], al
	jmp	.L26
.L27:
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
.L26:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -8[rbp], edx
	test	eax, eax
	jne	.L27
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printChar, .-printChar
	.section	.rodata
.LC28:
	.string	"cls"
.LC29:
	.string	"\n\t"
	.align 8
.LC30:
	.string	"[EMPLOYEE] [MANAGEMENT] [SYSTEM]"
	.text
	.globl	printHead
	.type	printHead, @function
printHead:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC28[rip]
	call	system@PLT
	mov	edi, 9
	call	putchar@PLT
	mov	esi, 65
	mov	edi, 61
	call	printChar
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 16
	mov	edi, 61
	call	printChar
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 16
	mov	edi, 61
	call	printChar
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 65
	mov	edi, 61
	call	printChar
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	printHead, .-printHead
	.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	"984091.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb+\000"
	.align	2
.LC1:
	.ascii	"employeeInfo.txt\000"
	.align	2
.LC2:
	.ascii	"wb+\000"
	.align	2
.LC3:
	.ascii	"can't open file\000"
	.align	2
.LC4:
	.ascii	"\012\011\011\011\011  Login Screen\000"
	.align	2
.LC5:
	.ascii	"\012\011\011\011      Enter Your Credential\000"
	.align	2
.LC6:
	.ascii	"\012\012\012\011\011Username: \000"
	.align	2
.LC7:
	.ascii	"%s\000"
	.align	2
.LC8:
	.ascii	"\012\011\011Password: \000"
	.align	2
.LC9:
	.ascii	"%c%c%c\000"
	.align	2
.LC10:
	.ascii	"admin\000"
	.align	2
.LC11:
	.ascii	"pass\000"
	.align	2
.LC12:
	.ascii	"\012\011\011\011\011Main Menu\000"
	.align	2
.LC13:
	.ascii	"\012\012\000"
	.align	2
.LC14:
	.ascii	"\012\012\011\011\0111. Add Employee\000"
	.align	2
.LC15:
	.ascii	"\012\012\011\011\0112. Delete Employee\000"
	.align	2
.LC16:
	.ascii	"\012\012\011\011\0113. Modify Employee\000"
	.align	2
.LC17:
	.ascii	"\012\012\011\011\0114. Display Employee List\000"
	.align	2
.LC18:
	.ascii	"\012\012\011\011\0115. Search Record\000"
	.align	2
.LC19:
	.ascii	"\012\012\011\011\0116. Display Basic Info\000"
	.align	2
.LC20:
	.ascii	"\012\012\011\011\0110. EXIT\000"
	.align	2
.LC21:
	.ascii	"\012\012\011\011Enter Your Option :--> \000"
	.align	2
.LC22:
	.ascii	"%d\000"
	.align	2
.LC23:
	.ascii	"\012\011\011You Pressed wrong key\000"
	.align	2
.LC24:
	.ascii	"\012\011\011Program terminated\000"
	.align	2
.LC25:
	.ascii	"\012\011\011Login Failed\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 584
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #584
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L24+4
	ldr	r0, .L24+8
	bl	fopen
	str	r0, [fp, #-584]
	ldr	r3, [fp, #-584]
	cmp	r3, #0
	bne	.L2
	ldr	r1, .L24+12
	ldr	r0, .L24+8
	bl	fopen
	str	r0, [fp, #-584]
	ldr	r3, [fp, #-584]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L24+16
	bl	printf
	mov	r3, #0
	b	.L21
.L2:
	bl	printHead
	bl	welcome
	bl	printHead
	ldr	r0, .L24+20
	bl	printf
	ldr	r0, .L24+24
	bl	printf
	ldr	r0, .L24+28
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L24+32
	bl	__isoc99_scanf
	ldr	r0, .L24+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-580]
.L8:
	bl	getch
	mov	r3, r0
	and	r1, r3, #255
	sub	r2, fp, #20
	ldr	r3, [fp, #-580]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #20
	ldr	r3, [fp, #-580]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L23
	sub	r2, fp, #20
	ldr	r3, [fp, #-580]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #8
	bne	.L6
	ldr	r3, [fp, #-580]
	cmp	r3, #0
	ble	.L6
	mov	r3, #8
	mov	r2, #32
	mov	r1, #8
	ldr	r0, .L24+40
	bl	printf
	ldr	r3, [fp, #-580]
	sub	r3, r3, #1
	str	r3, [fp, #-580]
	b	.L7
.L6:
	mov	r0, #42
	bl	putchar
	ldr	r3, [fp, #-580]
	add	r3, r3, #1
	str	r3, [fp, #-580]
.L7:
	sub	r2, fp, #20
	ldr	r3, [fp, #-580]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L8
	b	.L5
.L23:
	nop
.L5:
	sub	r2, fp, #20
	ldr	r3, [fp, #-580]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #32
	ldr	r1, .L24+44
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #20
	ldr	r1, .L24+48
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
.L20:
	bl	printHead
	ldr	r0, .L24+52
	bl	printf
	ldr	r0, .L24+56
	bl	puts
	ldr	r0, .L24+60
	bl	printf
	ldr	r0, .L24+64
	bl	printf
	ldr	r0, .L24+68
	bl	printf
	ldr	r0, .L24+72
	bl	printf
	ldr	r0, .L24+76
	bl	printf
	ldr	r0, .L24+80
	bl	printf
	ldr	r0, .L24+84
	bl	printf
	ldr	r0, .L24+88
	bl	printf
	sub	r3, fp, #588
	mov	r1, r3
	ldr	r0, .L24+92
	bl	__isoc99_scanf
	ldr	r3, [fp, #-588]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L11
.L18:
	mov	r3, #1
	b	.L21
.L17:
	ldr	r0, [fp, #-584]
	bl	add
	b	.L19
.L16:
	ldr	r0, [fp, #-584]
	bl	del
	str	r0, [fp, #-584]
	b	.L19
.L15:
	ldr	r0, [fp, #-584]
	bl	modify
	b	.L19
.L14:
	ldr	r0, [fp, #-584]
	bl	displayList
	b	.L19
.L13:
	ldr	r0, [fp, #-584]
	bl	searchRecord
	b	.L19
.L11:
	ldr	r0, [fp, #-584]
	bl	displaybasic
	b	.L19
.L10:
	ldr	r0, .L24+96
	bl	printf
	ldr	r0, .L24+100
	bl	printf
	bl	getch
	mov	r0, #0
	bl	exit
.L19:
	b	.L20
.L9:
	ldr	r0, .L24+104
	bl	printf
	mov	r3, #1
.L21:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC26
	.word	.LC0
	.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
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.section	.rodata
	.align	2
.LC27:
	.ascii	"\012\012\012\012\012\011\011[ [ [ WELCOME TO OUR EM"
	.ascii	"PLOYEE MANAGEMENT SYSTEM ] ] ]\012\012\012\012\012\012"
	.ascii	"\012\011\000"
	.align	2
.LC28:
	.ascii	"pause\000"
	.text
	.align	2
	.global	welcome
	.syntax unified
	.arm
	.fpu softvfp
	.type	welcome, %function
welcome:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L27
	bl	printf
	ldr	r0, .L27+4
	bl	system
	nop
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC27
	.word	.LC28
	.size	welcome, .-welcome
	.align	2
	.global	printChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	printChar, %function
printChar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	b	.L30
.L31:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L30:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bne	.L31
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	printChar, .-printChar
	.section	.rodata
	.align	2
.LC29:
	.ascii	"cls\000"
	.align	2
.LC30:
	.ascii	"\012\011\000"
	.align	2
.LC31:
	.ascii	"[EMPLOYEE] [MANAGEMENT] [SYSTEM]\000"
	.text
	.align	2
	.global	printHead
	.syntax unified
	.arm
	.fpu softvfp
	.type	printHead, %function
printHead:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L33
	bl	system
	mov	r0, #9
	bl	putchar
	mov	r1, #65
	mov	r0, #61
	bl	printChar
	ldr	r0, .L33+4
	bl	printf
	mov	r1, #16
	mov	r0, #61
	bl	printChar
	ldr	r0, .L33+8
	bl	printf
	mov	r1, #16
	mov	r0, #61
	bl	printChar
	ldr	r0, .L33+4
	bl	printf
	mov	r1, #65
	mov	r0, #61
	bl	printChar
	nop
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	printHead, .-printHead
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
