	.file	"957284.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"File not found"
	.text
	.globl	recordStats
	.type	recordStats, @function
recordStats:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 1
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], -1
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L1
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -9[rbp], al
	cmp	BYTE PTR -9[rbp], 10
	jne	.L4
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	recordStats, .-recordStats
	.section	.rodata
.LC2:
	.string	"File %s is empty\n"
	.align 8
.LC3:
	.string	"Warning...can only read 100 records in memory"
	.text
	.globl	read
	.type	read, @function
read:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 280
	.cfi_offset 3, -24
	mov	QWORD PTR -280[rbp], rdi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -260[rbp], 0
	mov	WORD PTR -226[rbp], 9
	mov	QWORD PTR -256[rbp], 0
	mov	rax, QWORD PTR -280[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -248[rbp], rax
	cmp	QWORD PTR -248[rbp], 0
	jne	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L15
.L8:
	mov	rax, QWORD PTR -248[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L15
.L10:
	mov	rax, QWORD PTR -248[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L11
.L14:
	cmp	DWORD PTR -260[rbp], 99
	jle	.L12
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -260[rbp]
	jmp	.L15
.L12:
	mov	rdx, QWORD PTR -248[rbp]
	lea	rax, -112[rbp]
	mov	esi, 80
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -226[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	rcx, QWORD PTR -256[rbp]
	lea	rax, -224[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -226[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	rcx, QWORD PTR -256[rbp]
	lea	rax, -160[rbp]
	mov	edx, 40
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -226[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	rcx, QWORD PTR -256[rbp]
	lea	rax, -192[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	movzx	eax, BYTE PTR -192[rbp+rax]
	cmp	al, 10
	jne	.L13
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -192[rbp+rax], 0
.L13:
	mov	eax, DWORD PTR -260[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rcx, rax
	lea	rax, -224[rbp]
	mov	edx, 20
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	eax, DWORD PTR -260[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	lea	rcx, 20[rax]
	lea	rax, -160[rbp]
	mov	edx, 40
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	eax, DWORD PTR -260[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -260[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	lea	rcx, 60[rax]
	lea	rax, -192[rbp]
	mov	edx, 20
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	QWORD PTR -256[rbp], 0
.L11:
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR -260[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, -80[rax]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	lea	rbx, 60[rax]
	mov	rdi, rbx
	call	strlen@PLT
	add	rax, rbx
	mov	WORD PTR [rax], 10
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -260[rbp]
.L15:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read, .-read
	.section	.rodata
.LC4:
	.string	"w"
	.align 8
.LC5:
	.string	"There are no records to write from memory"
.LC6:
	.string	"%s%c"
	.text
	.globl	write
	.type	write, @function
write:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	DWORD PTR -52[rbp], 0
	jg	.L18
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L19
.L18:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 9
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 9
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	add	rax, 60
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	movzx	eax, BYTE PTR 60[rbx+rax]
	cmp	al, 10
	jne	.L21
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	add	rax, 60
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR 60[rbx+rax], 0
.L21:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	lea	rdx, 60[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	cmp	DWORD PTR -52[rbp], eax
	je	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	add	DWORD PTR -28[rbp], 1
.L20:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L23
	jmp	.L19
.L24:
	nop
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	write, .-write
	.section	.rodata
.LC7:
	.string	"%d %s\t%s\t%s\n"
	.text
	.globl	print
	.type	print, @function
print:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rsi, 60[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 20[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rdi, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	r8, rsi
	mov	rcx, rdx
	mov	rdx, rdi
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L26:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L27
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print, .-print
	.section	.rodata
.LC8:
	.string	"index %d is out of bounds\n"
	.align 8
.LC9:
	.string	"there are number %d records stored in memory\n"
	.text
	.globl	deleteRecord
	.type	deleteRecord, @function
deleteRecord:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jg	.L29
	cmp	DWORD PTR -36[rbp], 0
	jns	.L30
.L29:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L30:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L32
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L32:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	rbx, QWORD PTR 72[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	add	DWORD PTR -20[rbp], 1
.L33:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L34
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
.L28:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	deleteRecord, .-deleteRecord
	.section	.rodata
.LC10:
	.string	"quitting program.."
	.text
	.globl	quit
	.type	quit, @function
quit:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	quit, .-quit
	.section	.rodata
.LC11:
	.string	"read"
.LC12:
	.string	"write"
.LC13:
	.string	"print"
.LC14:
	.string	"delete"
.LC15:
	.string	"quit"
.LC16:
	.string	"\nEnter a command: "
.LC17:
	.string	"Invalid comnand"
.LC18:
	.string	"Not a supported command: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	DWORD PTR -8228[rbp], edi
	mov	QWORD PTR -8240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8224[rbp], 0
	mov	WORD PTR -157[rbp], 2336
	mov	BYTE PTR -155[rbp], 0
	lea	rax, .LC11[rip]
	mov	QWORD PTR -8208[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -8200[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -8192[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -8184[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -8176[rbp], rax
	mov	DWORD PTR -8220[rbp], 0
	mov	DWORD PTR -8216[rbp], 0
	jmp	.L37
.L47:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 60
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -80[rbp+rax], 0
	lea	rdx, -157[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8168[rbp], rax
	cmp	QWORD PTR -8168[rbp], 0
	jne	.L38
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L37
.L38:
	mov	rcx, QWORD PTR -8168[rbp]
	lea	rax, -154[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -157[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8168[rbp], rax
	cmp	QWORD PTR -8168[rbp], 0
	je	.L39
	mov	rcx, QWORD PTR -8168[rbp]
	lea	rax, -144[rbp]
	mov	edx, 50
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
.L39:
	mov	rdx, QWORD PTR -8208[rbp]
	lea	rax, -154[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L40
	lea	rdx, -8160[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	read
	mov	DWORD PTR -8224[rbp], eax
	jmp	.L41
.L40:
	mov	rdx, QWORD PTR -8200[rbp]
	lea	rax, -154[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L42
	mov	edx, DWORD PTR -8224[rbp]
	lea	rcx, -8160[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	write
	jmp	.L41
.L42:
	mov	rdx, QWORD PTR -8192[rbp]
	lea	rax, -154[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L43
	mov	edx, DWORD PTR -8224[rbp]
	lea	rax, -8160[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print
	jmp	.L41
.L43:
	mov	rdx, QWORD PTR -8184[rbp]
	lea	rax, -154[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -8212[rbp], eax
	lea	rdx, -8224[rbp]
	lea	rcx, -8160[rbp]
	mov	eax, DWORD PTR -8212[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	deleteRecord
	jmp	.L41
.L44:
	mov	rdx, QWORD PTR -8176[rbp]
	lea	rax, -154[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	mov	eax, 0
	call	quit
	jmp	.L46
.L45:
	lea	rax, -154[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L41:
	mov	QWORD PTR -8168[rbp], 0
.L37:
	mov	rdx, QWORD PTR -8176[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L47
.L46:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.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	"957284.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"File not found\000"
	.text
	.align	2
	.global	recordStats
	.syntax unified
	.arm
	.fpu softvfp
	.type	recordStats, %function
recordStats:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r1, .L7
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-20]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r0, .L7+4
	bl	puts
	b	.L1
.L5:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L4
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	str	r2, [r3]
.L4:
	ldr	r0, [fp, #-8]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3]
.L6:
	ldr	r0, [fp, #-8]
	bl	fclose
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.size	recordStats, .-recordStats
	.section	.rodata
	.align	2
.LC2:
	.ascii	"File %s is empty\012\000"
	.align	2
.LC3:
	.ascii	"Warning...can only read 100 records in memory\000"
	.align	2
.LC4:
	.ascii	"\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read
	.syntax unified
	.arm
	.fpu softvfp
	.type	read, %function
read:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #196
	str	r0, [fp, #-200]
	str	r1, [fp, #-204]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-196]
	mov	r3, #9
	strh	r3, [fp, #-180]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-192]
	ldr	r1, .L19+4
	ldr	r0, [fp, #-200]
	bl	fopen
	str	r0, [fp, #-188]
	ldr	r3, [fp, #-188]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L19+8
	bl	puts
	mov	r3, #0
	b	.L17
.L10:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-188]
	bl	fseek
	ldr	r0, [fp, #-188]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-184]
	cmp	r3, #0
	bne	.L12
	ldr	r1, [fp, #-200]
	ldr	r0, .L19+12
	bl	printf
	ldr	r0, [fp, #-188]
	bl	fclose
	mov	r3, #0
	b	.L17
.L12:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-188]
	bl	fseek
	b	.L13
.L16:
	ldr	r3, [fp, #-196]
	cmp	r3, #99
	ble	.L14
	ldr	r0, .L19+16
	bl	puts
	ldr	r0, [fp, #-188]
	bl	fclose
	ldr	r3, [fp, #-196]
	b	.L17
.L14:
	sub	r3, fp, #96
	ldr	r2, [fp, #-188]
	mov	r1, #80
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #180
	sub	r3, fp, #96
	mov	r1, r2
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-192]
	sub	r3, fp, #176
	mov	r2, #20
	ldr	r1, [fp, #-192]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #180
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-192]
	sub	r3, fp, #136
	mov	r2, #40
	ldr	r1, [fp, #-192]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #180
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-192]
	sub	r3, fp, #156
	mov	r2, #20
	ldr	r1, [fp, #-192]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #156
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-144]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L15
	sub	r3, fp, #156
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-144]
.L15:
	ldr	r2, [fp, #-196]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-204]
	add	r3, r3, r2
	mov	r0, r3
	sub	r3, fp, #176
	mov	r2, #20
	mov	r1, r3
	bl	strncpy
	ldr	r2, [fp, #-196]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-204]
	add	r3, r3, r2
	add	r3, r3, #20
	sub	r1, fp, #136
	mov	r2, #40
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-196]
	add	r2, r3, #1
	str	r2, [fp, #-196]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-204]
	add	r3, r3, r2
	add	r3, r3, #60
	sub	r1, fp, #156
	mov	r2, #20
	mov	r0, r3
	bl	strncpy
	mov	r3, #0
	str	r3, [fp, #-192]
.L13:
	ldr	r0, [fp, #-188]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r2, [fp, #-196]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #80
	ldr	r2, [fp, #-204]
	add	r3, r2, r3
	add	r4, r3, #60
	mov	r0, r4
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, .L19+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-188]
	bl	fclose
	ldr	r3, [fp, #-196]
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	read, .-read
	.section	.rodata
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"There are no records to write from memory\000"
	.align	2
.LC8:
	.ascii	"%s%c\000"
	.text
	.align	2
	.global	write
	.syntax unified
	.arm
	.fpu softvfp
	.type	write, %function
write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r1, .L29
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bgt	.L22
	ldr	r0, .L29+4
	bl	puts
	b	.L23
.L22:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L24
.L27:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	mov	r2, r3
	mov	r3, #9
	ldr	r1, .L29+8
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	add	r2, r3, #20
	mov	r3, #9
	ldr	r1, .L29+8
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r4, r3, r2
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	add	r3, r3, #60
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	ldrb	r3, [r3, #60]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L25
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r4, r3, r2
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	add	r3, r3, #60
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	mov	r2, #0
	strb	r2, [r3, #60]
.L25:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	add	r3, r3, #60
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputs
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	beq	.L28
	ldr	r1, [fp, #-16]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L24:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L27
	b	.L23
.L28:
	nop
.L23:
	ldr	r0, [fp, #-16]
	bl	fclose
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	write, .-write
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%d %s\011%s\011%s\012\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L32
.L33:
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r0, r3, #20
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r3, r3, #60
	str	r3, [sp]
	mov	r3, r0
	mov	r2, ip
	ldr	r0, .L34
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L32:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L33
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC9
	.size	print, .-print
	.section	.rodata
	.align	2
.LC10:
	.ascii	"index %d is out of bounds\012\000"
	.align	2
.LC11:
	.ascii	"there are number %d records stored in memory\012\000"
	.text
	.align	2
	.global	deleteRecord
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteRecord, %function
deleteRecord:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L37
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L38
.L37:
	ldr	r1, [fp, #-16]
	ldr	r0, .L43
	bl	printf
	b	.L36
.L38:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L40
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+4
	bl	printf
	b	.L36
.L40:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L41
.L42:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	mov	r0, r3
	mov	r3, #80
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L41:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L42
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L36:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC10
	.word	.LC11
	.size	deleteRecord, .-deleteRecord
	.section	.rodata
	.align	2
.LC12:
	.ascii	"quitting program..\000"
	.text
	.align	2
	.global	quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	quit, %function
quit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L46
	bl	puts
	nop
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC12
	.size	quit, .-quit
	.section	.rodata
	.align	2
.LC14:
	.ascii	"read\000"
	.align	2
.LC15:
	.ascii	"write\000"
	.align	2
.LC16:
	.ascii	"print\000"
	.align	2
.LC17:
	.ascii	"delete\000"
	.align	2
.LC18:
	.ascii	"quit\000"
	.align	2
.LC19:
	.ascii	"\012Enter a command: \000"
	.align	2
.LC20:
	.ascii	"Invalid comnand\000"
	.align	2
.LC21:
	.ascii	"Not a supported command: %s\012\000"
	.align	2
.LC13:
	.ascii	" \011\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8128
	sub	sp, sp, #60
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-4084]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-4088]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4076]
	ldr	r2, .L62+4
	sub	r3, fp, #144
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L62+8
	str	r3, [r2, #-4072]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L62+12
	str	r3, [r2, #-4068]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L62+16
	str	r3, [r2, #-4064]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L62+20
	str	r3, [r2, #-4060]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L62+24
	str	r3, [r2, #-4056]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4052]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4048]
	b	.L49
.L59:
	ldr	r0, .L62+28
	bl	printf
	ldr	r3, .L62+32
	ldr	r2, [r3]
	sub	r3, fp, #76
	mov	r1, #60
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #76
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-64]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #144
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-4044]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	cmp	r3, #0
	bne	.L50
	ldr	r0, .L62+36
	bl	puts
	b	.L49
.L50:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #140
	mov	r2, #10
	ldr	r1, [r1, #-4044]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #144
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-4044]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	cmp	r3, #0
	beq	.L51
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #128
	mov	r2, #50
	ldr	r1, [r1, #-4044]
	mov	r0, r3
	bl	strncpy
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #140
	ldr	r1, [r2, #-4072]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #128
	mov	r1, r3
	mov	r0, r2
	bl	read
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-4076]
	b	.L53
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #140
	ldr	r1, [r2, #-4068]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-4076]
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #128
	mov	r1, r3
	bl	write
	b	.L53
.L54:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #140
	ldr	r1, [r2, #-4064]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-4076]
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	print
	b	.L53
.L55:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #140
	ldr	r1, [r2, #-4060]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #128
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-4040]
	sub	r2, fp, #8128
	sub	r2, r2, #12
	sub	r2, r2, #44
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-4040]
	bl	deleteRecord
	b	.L53
.L56:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #140
	ldr	r1, [r2, #-4056]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	bl	quit
	b	.L58
.L57:
	sub	r3, fp, #140
	mov	r1, r3
	ldr	r0, .L62+40
	bl	printf
.L53:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4044]
.L49:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #76
	ldr	r1, [r2, #-4056]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
.L58:
	mov	r3, #0
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC22
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	stdin
	.word	.LC20
	.word	.LC21
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
