	.file	"328114.c"
	.intel_syntax noprefix
	.text
	.globl	num_books
	.bss
	.align 4
	.type	num_books, @object
	.size	num_books, 4
num_books:
	.zero	4
	.section	.rodata
.LC0:
	.string	"0) Exit Progrm.\n"
.LC1:
	.string	"1) Clear Screen.\n"
.LC2:
	.string	"2) Print all books\n"
.LC3:
	.string	"3) Push a book .\n"
.LC4:
	.string	"4) Pop a book .\n"
.LC5:
	.string	"5) Print number of book .\n"
.LC6:
	.string	"6) Print top of stck .\n"
.LC7:
	.string	"7) Print end of stck .\n"
	.text
	.globl	menu
	.type	menu, @function
menu:
.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
	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
.LFE6:
	.size	menu, .-menu
	.globl	exit_prog
	.type	exit_prog, @function
exit_prog:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	exit_prog, .-exit_prog
	.section	.rodata
.LC8:
	.string	"clear"
	.text
	.globl	clrscrn
	.type	clrscrn, @function
clrscrn:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC8[rip]
	call	system@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	clrscrn, .-clrscrn
	.section	.rodata
.LC9:
	.string	"%s, %d\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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L5:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print, .-print
	.section	.rodata
	.align 8
.LC10:
	.string	"Enter the Name and the Price of the book : "
.LC11:
	.string	"%s%d"
	.text
	.globl	push
	.type	push, @function
push:
.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	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR num_books[rip]
	add	eax, 1
	mov	DWORD PTR num_books[rip], eax
	mov	edi, 1024
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	esi, 24
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 9
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	push, .-push
	.section	.rodata
.LC12:
	.string	"No Book to pop !"
	.text
	.globl	pop
	.type	pop, @function
pop:
.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	QWORD PTR -24[rbp], rdi
	mov	eax, DWORD PTR num_books[rip]
	test	eax, eax
	jne	.L10
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L9
.L10:
	mov	eax, DWORD PTR num_books[rip]
	sub	eax, 1
	mov	DWORD PTR num_books[rip], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	pop, .-pop
	.section	.rodata
.LC13:
	.string	"No Book to print !"
	.text
	.globl	print_top
	.type	print_top, @function
print_top:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR num_books[rip]
	test	eax, eax
	jne	.L13
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_top, .-print_top
	.globl	print_end
	.type	print_end, @function
print_end:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, DWORD PTR num_books[rip]
	test	eax, eax
	jne	.L16
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L18:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	print_end, .-print_end
	.section	.rodata
.LC14:
	.string	"Total number of books : %d.\n"
	.text
	.globl	number_books
	.type	number_books, @function
number_books:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR num_books[rip]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	number_books, .-number_books
	.section	.rodata
.LC15:
	.string	"\nEnter a choice."
.LC16:
	.string	"%d"
	.align 8
.LC17:
	.string	"ERROR : Choice not available !"
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.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	eax, 0
	call	menu
.L33:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 7
	ja	.L22
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L24[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L24[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L24:
	.long	.L31-.L24
	.long	.L30-.L24
	.long	.L29-.L24
	.long	.L28-.L24
	.long	.L27-.L24
	.long	.L26-.L24
	.long	.L25-.L24
	.long	.L23-.L24
	.text
.L31:
	mov	eax, 0
	call	exit_prog
	jmp	.L32
.L30:
	mov	eax, 0
	call	clrscrn
	mov	eax, 0
	call	menu
	jmp	.L32
.L29:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	print
	jmp	.L32
.L28:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	push
	jmp	.L32
.L27:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	pop
	jmp	.L32
.L26:
	mov	eax, 0
	call	number_books
	jmp	.L32
.L25:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	print_top
	jmp	.L32
.L23:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	print_end
	jmp	.L32
.L22:
	lea	rdi, .LC17[rip]
	call	puts@PLT
.L32:
	jmp	.L33
	.cfi_endproc
.LFE15:
	.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	"328114.c"
	.text
	.global	num_books
	.bss
	.align	2
	.type	num_books, %object
	.size	num_books, 4
num_books:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0) Exit Progrm.\012\000"
	.align	2
.LC1:
	.ascii	"1) Clear Screen.\012\000"
	.align	2
.LC2:
	.ascii	"2) Print all books\012\000"
	.align	2
.LC3:
	.ascii	"3) Push a book .\012\000"
	.align	2
.LC4:
	.ascii	"4) Pop a book .\012\000"
	.align	2
.LC5:
	.ascii	"5) Print number of book .\012\000"
	.align	2
.LC6:
	.ascii	"6) Print top of stck .\012\000"
	.align	2
.LC7:
	.ascii	"7) Print end of stck .\012\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, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	ldr	r0, .L2+16
	bl	puts
	ldr	r0, .L2+20
	bl	puts
	ldr	r0, .L2+24
	bl	puts
	ldr	r0, .L2+28
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	menu, .-menu
	.align	2
	.global	exit_prog
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_prog, %function
exit_prog:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #0
	bl	exit
	.size	exit_prog, .-exit_prog
	.section	.rodata
	.align	2
.LC8:
	.ascii	"clear\000"
	.text
	.align	2
	.global	clrscrn
	.syntax unified
	.arm
	.fpu softvfp
	.type	clrscrn, %function
clrscrn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L6
	bl	system
	nop
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC8
	.size	clrscrn, .-clrscrn
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%s, %d\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, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L11
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC9
	.size	print, .-print
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Enter the Name and the Price of the book : \000"
	.align	2
.LC11:
	.ascii	"%s%d\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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, #-24]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+4
	str	r3, [r2]
	mov	r0, #1024
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, .L15+8
	bl	printf
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, .L15+12
	bl	__isoc99_scanf
	mov	r1, #12
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r0, #5
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC12
	.word	num_books
	.word	.LC10
	.word	.LC11
	.size	push, .-push
	.section	.rodata
	.align	2
.LC13:
	.ascii	"No Book to pop !\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L20+4
	bl	puts
	b	.L17
.L18:
	ldr	r3, .L20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L20
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r0, [fp, #-8]
	bl	free
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	num_books
	.word	.LC13
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC14:
	.ascii	"No Book to print !\000"
	.text
	.align	2
	.global	print_top
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_top, %function
print_top:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L25
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L25+4
	bl	puts
	b	.L22
.L23:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L25+8
	bl	printf
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	num_books
	.word	.LC14
	.word	.LC9
	.size	print_top, .-print_top
	.align	2
	.global	print_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_end, %function
print_end:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L28
	ldr	r0, .L32+4
	bl	puts
	b	.L27
.L28:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L32+8
	bl	printf
.L27:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	num_books
	.word	.LC14
	.word	.LC9
	.size	print_end, .-print_end
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Total number of books : %d.\012\000"
	.text
	.align	2
	.global	number_books
	.syntax unified
	.arm
	.fpu softvfp
	.type	number_books, %function
number_books:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L35
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L35+4
	bl	printf
	nop
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	num_books
	.word	.LC15
	.size	number_books, .-number_books
	.section	.rodata
	.align	2
.LC16:
	.ascii	"\012Enter a choice.\000"
	.align	2
.LC17:
	.ascii	"%d\000"
	.align	2
.LC18:
	.ascii	"ERROR : Choice not available !\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 = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	bl	menu
.L49:
	ldr	r0, .L51+4
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L51+8
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L38
.L40:
	.word	.L47
	.word	.L46
	.word	.L45
	.word	.L44
	.word	.L43
	.word	.L42
	.word	.L41
	.word	.L39
.L47:
	bl	exit_prog
	b	.L48
.L46:
	bl	clrscrn
	bl	menu
	b	.L48
.L45:
	sub	r3, fp, #16
	mov	r0, r3
	bl	print
	b	.L48
.L44:
	sub	r3, fp, #16
	mov	r0, r3
	bl	push
	b	.L48
.L43:
	sub	r3, fp, #16
	mov	r0, r3
	bl	pop
	b	.L48
.L42:
	bl	number_books
	b	.L48
.L41:
	sub	r3, fp, #16
	mov	r0, r3
	bl	print_top
	b	.L48
.L39:
	sub	r3, fp, #16
	mov	r0, r3
	bl	print_end
	b	.L48
.L38:
	ldr	r0, .L51+12
	bl	puts
.L48:
	b	.L49
.L52:
	.align	2
.L51:
	.word	.LC19
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
