	.file	"181392255.c"
	.intel_syntax noprefix
	.text
	.globl	notes
	.bss
	.align 32
	.type	notes, @object
	.size	notes, 256
notes:
	.zero	256
	.globl	created
	.align 4
	.type	created, @object
	.size	created, 4
created:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Your session has expired."
	.text
	.globl	handler
	.type	handler, @function
handler:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	handler, .-handler
	.section	.rodata
.LC1:
	.string	"Choose your option:"
.LC2:
	.string	"1. Create a note."
.LC3:
	.string	"2. View a note."
.LC4:
	.string	"3. Edit a note."
.LC5:
	.string	"4. Delete a note."
.LC6:
	.string	"5. Swap values within notes."
.LC7:
	.string	"6. Exit"
	.text
	.globl	menu
	.type	menu, @function
menu:
.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, .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
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	menu, .-menu
	.section	.rodata
	.align 8
.LC8:
	.string	"You have reached the max number of available doublenotes!"
.LC9:
	.string	"Enter the size of your note:"
	.align 8
.LC10:
	.string	"Note created! Your note ID is: %d\n"
	.text
	.globl	create
	.type	create, @function
create:
.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, 40
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR created[rip]
	cmp	eax, 31
	jle	.L4
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L3
.L4:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L11
	add	DWORD PTR -40[rbp], 1
.L6:
	cmp	DWORD PTR -40[rbp], 31
	jle	.L9
	jmp	.L8
.L11:
	nop
.L8:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -32[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	edi, 16
	call	malloc@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	DWORD PTR 4[rax], 0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, notes[rip]
	mov	rbx, QWORD PTR [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR created[rip]
	add	eax, 1
	mov	DWORD PTR created[rip], eax
.L3:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	create, .-create
	.section	.rodata
	.align 8
.LC11:
	.string	"Enter the note ID which you want to view:"
.LC12:
	.string	"Unknown note ID."
.LC13:
	.string	"%d: %.18e\n"
	.text
	.globl	view
	.type	view, @function
view:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -20[rbp], -1
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	js	.L13
	cmp	DWORD PTR -20[rbp], 31
	jg	.L13
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L14
.L13:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L12
.L14:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -24[rbp]
	add	edx, 1
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -24[rbp], 1
.L16:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L17
.L12:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	view, .-view
	.section	.rodata
	.align 8
.LC14:
	.string	"Enter the note ID which you want to edit:"
.LC15:
	.string	"Nothing to edit!"
.LC17:
	.string	"Edit your note here:"
.LC18:
	.string	"%d: "
.LC19:
	.string	"%lf"
.LC20:
	.string	""
.LC21:
	.string	"Enter another value? (y/n)"
.LC22:
	.string	"Your note has been updated"
	.text
	.globl	edit
	.type	edit, @function
edit:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -28[rbp], -1
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	js	.L20
	cmp	DWORD PTR -28[rbp], 31
	jg	.L20
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L21
.L20:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L23
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L19
.L23:
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L24
.L28:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	lea	rdi, .LC20[rip]
	call	puts@PLT
	add	DWORD PTR -36[rbp], 1
	nop
.L25:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L25
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L24
	lea	rdi, .LC21[rip]
	call	puts@PLT
	call	getchar@PLT
	mov	BYTE PTR -37[rbp], al
	nop
.L26:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L26
	cmp	BYTE PTR -37[rbp], 121
	je	.L24
	cmp	BYTE PTR -37[rbp], 89
	je	.L24
	mov	DWORD PTR -32[rbp], 1
.L24:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L27
	cmp	DWORD PTR -32[rbp], 0
	je	.L28
.L27:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 4[rax], edx
	lea	rdi, .LC22[rip]
	call	puts@PLT
.L19:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	edit, .-edit
	.section	.rodata
	.align 8
.LC23:
	.string	"Enter the note ID which you want to delete:"
.LC24:
	.string	"Note deleted."
	.text
	.globl	del
	.type	del, @function
del:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -20[rbp], -1
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	js	.L32
	cmp	DWORD PTR -20[rbp], 31
	jg	.L32
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L33
.L32:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L31
.L33:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	QWORD PTR [rdx+rax], 0
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, DWORD PTR created[rip]
	sub	eax, 1
	mov	DWORD PTR created[rip], eax
.L31:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	del, .-del
	.section	.rodata
	.align 8
.LC25:
	.string	"Enter the note ID which you want to swap values in:"
.LC26:
	.string	"Enter which double to swap:"
.LC27:
	.string	"Unknown double."
	.align 8
.LC28:
	.string	"Enter which double to swap with:"
.LC29:
	.string	"Values successfully swapped."
	.text
	.globl	swap
	.type	swap, @function
swap:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -36[rbp], -1
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	js	.L37
	cmp	DWORD PTR -36[rbp], 31
	jg	.L37
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L38
.L37:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L36
.L38:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	js	.L40
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -32[rbp], eax
	jle	.L41
.L40:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L36
.L41:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	js	.L42
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L43
.L42:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L36
.L43:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notes[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	lea	rdi, .LC29[rip]
	call	puts@PLT
.L36:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	swap, .-swap
	.section	.rodata
	.align 8
.LC30:
	.string	"Thanks for using our note application!"
	.text
	.globl	bye
	.type	bye, @function
bye:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC30[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.size	bye, .-bye
	.section	.rodata
	.align 8
.LC31:
	.string	"Welcome to our double-y improved note application!"
.LC32:
	.string	"> "
.LC33:
	.string	"Invalid option!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.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	rax, QWORD PTR stdin[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	lea	rsi, handler[rip]
	mov	edi, 14
	call	signal@PLT
	mov	edi, 90
	call	alarm@PLT
	lea	rdi, .LC31[rip]
	call	puts@PLT
	mov	QWORD PTR -16[rbp], 0
.L57:
	mov	eax, 0
	call	menu
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 6
	ja	.L48
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L50[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L50[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L50:
	.long	.L48-.L50
	.long	.L55-.L50
	.long	.L54-.L50
	.long	.L53-.L50
	.long	.L52-.L50
	.long	.L51-.L50
	.long	.L49-.L50
	.text
.L55:
	mov	eax, 0
	call	create
	jmp	.L56
.L54:
	mov	eax, 0
	call	view
	jmp	.L56
.L53:
	mov	eax, 0
	call	edit
	jmp	.L56
.L52:
	mov	eax, 0
	call	del
	jmp	.L56
.L51:
	mov	eax, 0
	call	swap
	jmp	.L56
.L49:
	mov	eax, 0
	call	bye
	jmp	.L56
.L48:
	lea	rdi, .LC33[rip]
	call	puts@PLT
	nop
.L56:
	jmp	.L57
	.cfi_endproc
.LFE14:
	.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	"181392255.c"
	.text
	.comm	notes,128,4
	.global	created
	.bss
	.align	2
	.type	created, %object
	.size	created, 4
created:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Your session has expired.\000"
	.text
	.align	2
	.global	handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	mvn	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	handler, .-handler
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Choose your option:\000"
	.align	2
.LC2:
	.ascii	"1. Create a note.\000"
	.align	2
.LC3:
	.ascii	"2. View a note.\000"
	.align	2
.LC4:
	.ascii	"3. Edit a note.\000"
	.align	2
.LC5:
	.ascii	"4. Delete a note.\000"
	.align	2
.LC6:
	.ascii	"5. Swap values within notes.\000"
	.align	2
.LC7:
	.ascii	"6. Exit\000"
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	puts
	ldr	r0, .L5+12
	bl	puts
	ldr	r0, .L5+16
	bl	puts
	ldr	r0, .L5+20
	bl	puts
	ldr	r0, .L5+24
	bl	puts
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	menu, .-menu
	.section	.rodata
	.align	2
.LC8:
	.ascii	"You have reached the max number of available double"
	.ascii	"notes!\000"
	.align	2
.LC9:
	.ascii	"Enter the size of your note:\000"
	.align	2
.LC10:
	.ascii	"Note created! Your note ID is: %d\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ 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
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, #31
	ble	.L8
	ldr	r0, .L16+8
	bl	puts
	b	.L7
.L8:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L10
.L13:
	ldr	r2, .L16+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L10:
	ldr	r3, [fp, #-32]
	cmp	r3, #31
	ble	.L13
	b	.L12
.L15:
	nop
.L12:
	ldr	r0, .L16+16
	bl	puts
	ldr	r3, .L16+20
	ldr	r2, [r3]
	sub	r3, fp, #24
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #24
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-28]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L16+12
	ldr	r3, [fp, #-32]
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L16+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r2, .L16+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	lsl	r2, r3, #3
	ldr	r1, .L16+12
	ldr	r3, [fp, #-32]
	ldr	r4, [r1, r3, lsl #2]
	mov	r0, r2
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #8]
	ldr	r1, [fp, #-32]
	ldr	r0, .L16+24
	bl	printf
	ldr	r3, .L16+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+4
	str	r3, [r2]
.L7:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC11
	.word	created
	.word	.LC8
	.word	notes
	.word	.LC9
	.word	stdin
	.word	.LC10
	.size	create, .-create
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Enter the note ID which you want to view:\000"
	.align	2
.LC13:
	.ascii	"Unknown note ID.\000"
	.align	2
.LC14:
	.ascii	"%d: %.18e\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	view
	.syntax unified
	.arm
	.fpu softvfp
	.type	view, %function
view:
	@ 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, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L25+4
	bl	puts
	ldr	r3, .L25+8
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L19
	ldr	r3, [fp, #-20]
	cmp	r3, #31
	bgt	.L19
	ldr	r2, .L25+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L20
.L19:
	ldr	r0, .L25+16
	bl	puts
	b	.L18
.L20:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L22
.L23:
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r2, .L25+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L25+20
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L22:
	ldr	r2, .L25+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L23
.L18:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC15
	.word	.LC12
	.word	stdin
	.word	notes
	.word	.LC13
	.word	.LC14
	.size	view, .-view
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Enter the note ID which you want to edit:\000"
	.align	2
.LC17:
	.ascii	"Nothing to edit!\000"
	.align	2
.LC18:
	.ascii	"Edit your note here:\000"
	.align	2
.LC19:
	.ascii	"%d: \000"
	.align	2
.LC20:
	.ascii	"%lf\000"
	.align	2
.LC21:
	.ascii	"\000"
	.align	2
.LC22:
	.ascii	"Enter another value? (y/n)\000"
	.align	2
.LC23:
	.ascii	"Your note has been updated\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	edit
	.syntax unified
	.arm
	.fpu softvfp
	.type	edit, %function
edit:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-32]
	ldr	r0, .L39+4
	bl	puts
	ldr	r3, .L39+8
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L28
	ldr	r3, [fp, #-32]
	cmp	r3, #31
	bgt	.L28
	ldr	r2, .L39+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L29
.L28:
	ldr	r0, .L39+16
	bl	puts
	b	.L27
.L29:
	ldr	r2, .L39+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L39+20
	bl	puts
	b	.L27
.L31:
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r0, .L39+24
	bl	puts
	b	.L32
.L36:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L39+28
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L39+32
	bl	__isoc99_scanf
	ldr	r2, .L39+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r0, .L39+36
	bl	puts
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	nop
.L33:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L33
	ldr	r2, .L39+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bge	.L32
	ldr	r0, .L39+40
	bl	puts
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-41]
	nop
.L34:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L34
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L32
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L32
	mov	r3, #1
	str	r3, [fp, #-36]
.L32:
	ldr	r2, .L39+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bge	.L35
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L36
.L35:
	ldr	r2, .L39+12
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #4]
	ldr	r0, .L39+44
	bl	puts
.L27:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC24
	.word	.LC16
	.word	stdin
	.word	notes
	.word	.LC13
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	edit, .-edit
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Enter the note ID which you want to delete:\000"
	.align	2
.LC26:
	.ascii	"Note deleted.\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	del
	.syntax unified
	.arm
	.fpu softvfp
	.type	del, %function
del:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L46+4
	bl	puts
	ldr	r3, .L46+8
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L42
	ldr	r3, [fp, #-20]
	cmp	r3, #31
	bgt	.L42
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L43
.L42:
	ldr	r0, .L46+16
	bl	puts
	b	.L41
.L43:
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	free
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r0, .L46+20
	bl	puts
	ldr	r3, .L46+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L46+24
	str	r3, [r2]
.L41:
	ldr	r3, .L46
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC27
	.word	.LC25
	.word	stdin
	.word	notes
	.word	.LC13
	.word	.LC26
	.word	created
	.size	del, .-del
	.section	.rodata
	.align	2
.LC28:
	.ascii	"Enter the note ID which you want to swap values in:"
	.ascii	"\000"
	.align	2
.LC29:
	.ascii	"Enter which double to swap:\000"
	.align	2
.LC30:
	.ascii	"Unknown double.\000"
	.align	2
.LC31:
	.ascii	"Enter which double to swap with:\000"
	.align	2
.LC32:
	.ascii	"Values successfully swapped.\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap, %function
swap:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-40]
	ldr	r0, .L58+4
	bl	puts
	ldr	r3, .L58+8
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	blt	.L49
	ldr	r3, [fp, #-40]
	cmp	r3, #31
	bgt	.L49
	ldr	r2, .L58+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L50
.L49:
	ldr	r0, .L58+16
	bl	puts
	b	.L48
.L50:
	ldr	r0, .L58+20
	bl	puts
	ldr	r3, .L58+8
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	blt	.L52
	ldr	r2, .L58+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L53
.L52:
	ldr	r0, .L58+24
	bl	puts
	b	.L48
.L53:
	ldr	r0, .L58+28
	bl	puts
	ldr	r3, .L58+8
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L54
	ldr	r2, .L58+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L55
.L54:
	ldr	r0, .L58+24
	bl	puts
	b	.L48
.L55:
	ldr	r2, .L58+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L58+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, .L58+12
	ldr	r2, [fp, #-40]
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, [r2, #8]
	ldr	r2, [fp, #-36]
	sub	r2, r2, #-536870911
	lsl	r2, r2, #3
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, .L58+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r0, .L58+32
	bl	puts
.L48:
	ldr	r3, .L58
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC33
	.word	.LC28
	.word	stdin
	.word	notes
	.word	.LC13
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.size	swap, .-swap
	.section	.rodata
	.align	2
.LC34:
	.ascii	"Thanks for using our note application!\000"
	.text
	.align	2
	.global	bye
	.syntax unified
	.arm
	.fpu softvfp
	.type	bye, %function
bye:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L61
	bl	puts
	mov	r0, #0
	bl	exit
.L62:
	.align	2
.L61:
	.word	.LC34
	.size	bye, .-bye
	.section	.rodata
	.align	2
.LC35:
	.ascii	"Welcome to our double-y improved note application!\000"
	.align	2
.LC36:
	.ascii	"> \000"
	.align	2
.LC37:
	.ascii	"Invalid option!\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L75+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	ldr	r3, .L75+8
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	ldr	r3, .L75+12
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	ldr	r1, .L75+16
	mov	r0, #14
	bl	signal
	mov	r0, #90
	bl	alarm
	ldr	r0, .L75+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
.L73:
	bl	menu
	ldr	r0, .L75+24
	bl	printf
	ldr	r3, .L75+4
	ldr	r2, [r3]
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L64
.L66:
	.word	.L71
	.word	.L70
	.word	.L69
	.word	.L68
	.word	.L67
	.word	.L65
.L71:
	bl	create
	b	.L72
.L70:
	bl	view
	b	.L72
.L69:
	bl	edit
	b	.L72
.L68:
	bl	del
	b	.L72
.L67:
	bl	swap
	b	.L72
.L65:
	bl	bye
	b	.L72
.L64:
	ldr	r0, .L75+28
	bl	puts
	nop
.L72:
	b	.L73
.L76:
	.align	2
.L75:
	.word	.LC38
	.word	stdin
	.word	stdout
	.word	stderr
	.word	handler
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
