	.file	"744812.c"
	.intel_syntax noprefix
	.text
	.globl	create_book
	.type	create_book, @function
create_book:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	movss	DWORD PTR -32[rbp], xmm0
	mov	esi, 108
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 100[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR -32[rbp]
	movss	DWORD PTR 104[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_book, .-create_book
	.globl	create_vector_book
	.type	create_vector_book, @function
create_vector_book:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create_vector_book, .-create_vector_book
	.section	.rodata
.LC0:
	.string	"######################"
.LC1:
	.string	"Title: %s\n"
.LC2:
	.string	"Number of pages: %d\n"
.LC3:
	.string	"Price: %.2f$\n\n"
	.text
	.globl	print_book
	.type	print_book, @function
print_book:
.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	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 100[rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 104[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_book, .-print_book
	.globl	print_all_vector
	.type	print_all_vector, @function
print_all_vector:
.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	.L7
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_book
	add	DWORD PTR -4[rbp], 1
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -28[rbp], eax
	ja	.L8
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_all_vector, .-print_all_vector
	.globl	copy_book
	.type	copy_book, @function
copy_book:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 104[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 100[rax]
	mov	rax, QWORD PTR -8[rbp]
	movd	xmm0, ecx
	mov	esi, edx
	mov	rdi, rax
	call	create_book
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	copy_book, .-copy_book
	.globl	destroy_book
	.type	destroy_book, @function
destroy_book:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	destroy_book, .-destroy_book
	.globl	destroy_vector_book
	.type	destroy_vector_book, @function
destroy_vector_book:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	destroy_book
	add	DWORD PTR -12[rbp], 1
.L13:
	mov	eax, DWORD PTR -12[rbp]
	cmp	DWORD PTR -28[rbp], eax
	ja	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	destroy_vector_book, .-destroy_vector_book
	.globl	is_the_same_title
	.type	is_the_same_title, @function
is_the_same_title:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	eax, 1
	jmp	.L17
.L16:
	mov	eax, 0
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	is_the_same_title, .-is_the_same_title
	.section	.rodata
.LC4:
	.string	"Harry"
.LC6:
	.string	"Trading in the zone"
.LC8:
	.string	"The man who counted"
.LC10:
	.string	"Is null? %d\n"
	.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
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 3
	call	create_vector_book
	mov	QWORD PTR -32[rbp], rax
	mov	rbx, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR .LC5[rip]
	mov	esi, 100
	lea	rdi, .LC4[rip]
	call	create_book
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, 8[rax]
	movss	xmm0, DWORD PTR .LC7[rip]
	mov	esi, 250
	lea	rdi, .LC6[rip]
	call	create_book
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, 16[rax]
	movss	xmm0, DWORD PTR .LC9[rip]
	mov	esi, 250
	lea	rdi, .LC8[rip]
	call	create_book
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	print_all_vector
	lea	rax, -32[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	destroy_vector_book
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -24[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC5:
	.long	1101266944
	.align 4
.LC7:
	.long	1103626240
	.align 4
.LC9:
	.long	1086324736
	.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	"744812.c"
	.text
	.align	2
	.global	create_book
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_book, %function
create_book:
	@ 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]	@ float
	mov	r1, #108
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #100]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]	@ float
	str	r2, [r3, #104]	@ float
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	create_book, .-create_book
	.align	2
	.global	create_vector_book
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_vector_book, %function
create_vector_book:
	@ 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]
	mov	r1, #4
	ldr	r0, [fp, #-16]
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	create_vector_book, .-create_vector_book
	.section	.rodata
	.align	2
.LC0:
	.ascii	"######################\000"
	.align	2
.LC1:
	.ascii	"Title: %s\012\000"
	.align	2
.LC2:
	.ascii	"Number of pages: %d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC3:
	.ascii	"Price: %.2f$\012\012\000"
	.text
	.align	2
	.global	print_book
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_book, %function
print_book:
	@ 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	r0, .L6
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L6+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #100]
	mov	r1, r3
	ldr	r0, .L6+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #104]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L6+12
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	print_book, .-print_book
	.align	2
	.global	print_all_vector
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_all_vector, %function
print_all_vector:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_book
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L10
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_all_vector, .-print_all_vector
	.align	2
	.global	copy_book
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_book, %function
copy_book:
	@ 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	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #100]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #104]	@ float
	mov	r2, r3
	bl	create_book
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	copy_book, .-copy_book
	.align	2
	.global	destroy_book
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy_book, %function
destroy_book:
	@ 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, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	destroy_book, .-destroy_book
	.align	2
	.global	destroy_vector_book
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy_vector_book, %function
destroy_vector_book:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L15
.L16:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r0, r3
	bl	destroy_book
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L15:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L16
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	destroy_vector_book, .-destroy_vector_book
	.align	2
	.global	is_the_same_title
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_the_same_title, %function
is_the_same_title:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	mov	r3, #1
	b	.L19
.L18:
	mov	r3, #0
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	is_the_same_title, .-is_the_same_title
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Harry\000"
	.align	2
.LC5:
	.ascii	"Trading in the zone\000"
	.align	2
.LC6:
	.ascii	"The man who counted\000"
	.align	2
.LC7:
	.ascii	"Is null? %d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #3
	bl	create_vector_book
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r4, [fp, #-20]
	ldr	r2, .L23+4
	mov	r1, #100
	ldr	r0, .L23+8
	bl	create_book
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	add	r4, r3, #4
	ldr	r2, .L23+12
	mov	r1, #250
	ldr	r0, .L23+16
	bl	create_book
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	add	r4, r3, #8
	ldr	r2, .L23+20
	mov	r1, #250
	ldr	r0, .L23+24
	bl	create_book
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	mov	r1, #3
	mov	r0, r3
	bl	print_all_vector
	sub	r3, fp, #20
	mov	r1, #3
	mov	r0, r3
	bl	destroy_vector_book
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L23+28
	bl	printf
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC8
	.word	1101266944
	.word	.LC4
	.word	1103626240
	.word	.LC5
	.word	1086324736
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
