	.file	"805738.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\n\n\n\t\t\t   ****************\n\t\t\t%s\n \t\t\t    %s\n\t\t\t   ****************\n"
	.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, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 5485517887113621315
	movabs	rdx, 5557575472343310953
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], rdx
	movabs	rax, 7954884599113412193
	mov	edx, 116
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], rdx
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	movabs	rax, 2334392307038315895
	movabs	rdx, 7166182909804638790
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -96[rbp], 111
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	lea	rdx, -112[rbp]
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	menu
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"Select an action below"
.LC2:
	.string	"1. Add new Patron"
.LC3:
	.string	"2. view all patrons"
.LC4:
	.string	"3. Add new book"
.LC5:
	.string	"4. View all books"
.LC6:
	.string	"0. Exit program"
.LC7:
	.string	"\nYour actions: "
.LC8:
	.string	"%d"
.LC9:
	.string	"invalid action"
.LC10:
	.string	" view all patrons"
.LC11:
	.string	" View all resources"
.LC12:
	.string	"Wrong Entry."
	.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
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
.L15:
	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]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jle	.L5
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	jle	.L6
.L5:
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	ja	.L7
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L9[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L9[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L9:
	.long	.L13-.L9
	.long	.L12-.L9
	.long	.L11-.L9
	.long	.L10-.L9
	.long	.L8-.L9
	.text
.L12:
	mov	eax, 0
	call	add_patron
	jmp	.L14
.L11:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L14
.L10:
	mov	eax, 0
	call	add_book
	jmp	.L14
.L8:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L14
.L13:
	mov	edi, 1
	call	exit@PLT
.L7:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L15
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	menu, .-menu
	.section	.rodata
.LC13:
	.string	"cls"
.LC14:
	.string	"Create Patron"
.LC15:
	.string	"enter Name: "
.LC16:
	.string	"enter email: "
.LC17:
	.string	"enter initial password: "
	.align 8
.LC18:
	.string	"enter 1 if staff 0 otherwise: "
	.align 8
.LC19:
	.string	"Enter any key to go to main...."
	.text
	.globl	add_patron
	.type	add_patron, @function
add_patron:
.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC13[rip]
	call	system@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rax, -192[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	add	rax, 100
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	add	rax, 150
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	add	rax, 180
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	call	getchar@PLT
	lea	rdi, .LC13[rip]
	call	system@PLT
	nop
	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
.LFE8:
	.size	add_patron, .-add_patron
	.section	.rodata
.LC20:
	.string	"Enter book: "
.LC21:
	.string	"Enter title: "
.LC22:
	.string	"Enter name of the author: "
	.text
	.globl	add_book
	.type	add_book, @function
add_book:
.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC13[rip]
	call	system@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rax, -192[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	add	rax, 100
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	add	rax, 150
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	call	getchar@PLT
	lea	rdi, .LC13[rip]
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	add_book, .-add_book
	.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	"805738.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012\012\012\011\011\011   ****************\012\011"
	.ascii	"\011\011%s\012 \011\011\011    %s\012\011\011\011  "
	.ascii	" ****************\012\000"
	.align	2
.LC0:
	.ascii	"County Library Management\000"
	.space	74
	.align	2
.LC1:
	.ascii	"welcome Francesco\000"
	.space	82
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L4+4
	sub	ip, fp, #208
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	sub	r3, fp, #182
	mov	r2, #74
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L4+8
	sub	ip, fp, #108
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	sub	r3, fp, #90
	mov	r2, #82
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r2, fp, #108
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	bl	menu
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Select an action below\000"
	.align	2
.LC5:
	.ascii	"1. Add new Patron\000"
	.align	2
.LC6:
	.ascii	"2. view all patrons\000"
	.align	2
.LC7:
	.ascii	"3. Add new book\000"
	.align	2
.LC8:
	.ascii	"4. View all books\000"
	.align	2
.LC9:
	.ascii	"0. Exit program\000"
	.align	2
.LC10:
	.ascii	"\012Your actions: \000"
	.align	2
.LC11:
	.ascii	"%d\000"
	.align	2
.LC12:
	.ascii	"invalid action\000"
	.align	2
.LC13:
	.ascii	" view all patrons\000"
	.align	2
.LC14:
	.ascii	" View all resources\000"
	.align	2
.LC15:
	.ascii	"Wrong Entry.\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
.L17:
	ldr	r0, .L19+4
	bl	puts
	ldr	r0, .L19+8
	bl	puts
	ldr	r0, .L19+12
	bl	puts
	ldr	r0, .L19+16
	bl	puts
	ldr	r0, .L19+20
	bl	puts
	ldr	r0, .L19+24
	bl	puts
	ldr	r0, .L19+28
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L7
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L8
.L7:
	ldr	r0, .L19+36
	bl	puts
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L10
.L14:
	bl	add_patron
	b	.L16
.L13:
	ldr	r0, .L19+40
	bl	puts
	b	.L16
.L12:
	bl	add_book
	b	.L16
.L10:
	ldr	r0, .L19+44
	bl	puts
	b	.L16
.L15:
	mov	r0, #1
	bl	exit
.L9:
	ldr	r0, .L19+48
	bl	printf
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L17
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC16
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	menu, .-menu
	.section	.rodata
	.align	2
.LC17:
	.ascii	"cls\000"
	.align	2
.LC18:
	.ascii	"Create Patron\000"
	.align	2
.LC19:
	.ascii	"enter Name: \000"
	.align	2
.LC20:
	.ascii	"enter email: \000"
	.align	2
.LC21:
	.ascii	"enter initial password: \000"
	.align	2
.LC22:
	.ascii	"enter 1 if staff 0 otherwise: \000"
	.align	2
.LC23:
	.ascii	"Enter any key to go to main....\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_patron
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_patron, %function
add_patron:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L23+4
	bl	system
	ldr	r0, .L23+8
	bl	printf
	ldr	r0, .L23+12
	bl	printf
	bl	getchar
	sub	r3, fp, #192
	mov	r0, r3
	bl	gets
	ldr	r0, .L23+16
	bl	printf
	sub	r3, fp, #192
	add	r3, r3, #100
	mov	r0, r3
	bl	gets
	ldr	r0, .L23+20
	bl	printf
	sub	r3, fp, #192
	add	r3, r3, #150
	mov	r0, r3
	bl	gets
	ldr	r0, .L23+24
	bl	printf
	sub	r3, fp, #192
	add	r3, r3, #180
	mov	r1, r3
	ldr	r0, .L23+28
	bl	__isoc99_scanf
	ldr	r0, .L23+32
	bl	puts
	bl	getchar
	ldr	r0, .L23+4
	bl	system
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC24
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC11
	.word	.LC23
	.size	add_patron, .-add_patron
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Enter book: \000"
	.align	2
.LC26:
	.ascii	"Enter title: \000"
	.align	2
.LC27:
	.ascii	"Enter name of the author: \000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_book
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_book, %function
add_book:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L27+4
	bl	system
	ldr	r0, .L27+8
	bl	printf
	bl	getchar
	sub	r3, fp, #188
	mov	r0, r3
	bl	gets
	ldr	r0, .L27+12
	bl	printf
	sub	r3, fp, #188
	add	r3, r3, #100
	mov	r0, r3
	bl	gets
	ldr	r0, .L27+16
	bl	printf
	sub	r3, fp, #188
	add	r3, r3, #150
	mov	r0, r3
	bl	gets
	ldr	r0, .L27+20
	bl	puts
	bl	getchar
	ldr	r0, .L27+4
	bl	system
	nop
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC28
	.word	.LC17
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC23
	.size	add_book, .-add_book
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
