	.file	"751395.c"
	.intel_syntax noprefix
	.text
	.globl	book_list
	.bss
	.align 32
	.type	book_list, @object
	.size	book_list, 57000
book_list:
	.zero	57000
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"books.txt"
	.text
	.globl	readbooks
	.type	readbooks, @function
readbooks:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -216[rbp], rax
	cmp	QWORD PTR -216[rbp], 0
	jne	.L2
	mov	DWORD PTR n[rip], 0
	jmp	.L1
.L2:
	mov	DWORD PTR -228[rbp], 0
	jmp	.L4
.L17:
	movzx	eax, BYTE PTR -208[rbp]
	cmp	al, 10
	je	.L19
	movzx	eax, BYTE PTR -208[rbp]
	cmp	al, 13
	je	.L19
	mov	DWORD PTR -224[rbp], 0
	mov	DWORD PTR -220[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	mov	edx, DWORD PTR -220[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -228[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 114
	add	rcx, rdx
	lea	rdx, book_list[rip]
	add	rdx, rcx
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -224[rbp], 1
	add	DWORD PTR -220[rbp], 1
.L8:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	cmp	al, 32
	jne	.L9
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	imul	rax, rax, 114
	add	rdx, rax
	lea	rax, book_list[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -224[rbp], 1
	mov	DWORD PTR -220[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	mov	edx, DWORD PTR -220[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -228[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 114
	add	rcx, rdx
	lea	rdx, book_list[rip+51]
	add	rdx, rcx
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -224[rbp], 1
	add	DWORD PTR -220[rbp], 1
.L10:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	cmp	al, 32
	jne	.L11
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	imul	rax, rax, 114
	add	rdx, rax
	lea	rax, book_list[rip+51]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -224[rbp], 1
	mov	DWORD PTR -220[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	mov	edx, DWORD PTR -220[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -228[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 114
	add	rcx, rdx
	lea	rdx, book_list[rip+72]
	add	rdx, rcx
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -224[rbp], 1
	add	DWORD PTR -220[rbp], 1
.L12:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	cmp	al, 32
	jne	.L13
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	imul	rax, rax, 114
	add	rdx, rax
	lea	rax, book_list[rip+72]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -224[rbp], 1
	mov	DWORD PTR -220[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	mov	edx, DWORD PTR -220[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -228[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 114
	add	rcx, rdx
	lea	rdx, book_list[rip+103]
	add	rdx, rcx
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -224[rbp], 1
	add	DWORD PTR -220[rbp], 1
.L14:
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	test	al, al
	je	.L15
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	cmp	al, 10
	je	.L15
	mov	eax, DWORD PTR -224[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	cmp	al, 32
	jne	.L16
.L15:
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	imul	rax, rax, 114
	add	rdx, rax
	lea	rax, book_list[rip+103]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L7
.L19:
	nop
.L7:
	add	DWORD PTR -228[rbp], 1
.L4:
	mov	rdx, QWORD PTR -216[rbp]
	lea	rax, -208[rbp]
	mov	esi, 199
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L17
	mov	eax, DWORD PTR -228[rbp]
	mov	DWORD PTR n[rip], eax
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L1:
	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
.LFE0:
	.size	readbooks, .-readbooks
	.globl	sort
	.type	sort, @function
sort:
.LFB1:
	.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, 152
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -152[rbp], 0
	jmp	.L21
.L25:
	mov	DWORD PTR -148[rbp], 0
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -148[rbp]
	add	eax, 1
	cdqe
	imul	rax, rax, 114
	lea	rdx, book_list[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rcx, book_list[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L23
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, book_list[rip]
	mov	rcx, QWORD PTR [rax+rdx]
	mov	rbx, QWORD PTR 8[rax+rdx]
	mov	QWORD PTR -144[rbp], rcx
	mov	QWORD PTR -136[rbp], rbx
	mov	rcx, QWORD PTR 16[rax+rdx]
	mov	rbx, QWORD PTR 24[rax+rdx]
	mov	QWORD PTR -128[rbp], rcx
	mov	QWORD PTR -120[rbp], rbx
	mov	rcx, QWORD PTR 32[rax+rdx]
	mov	rbx, QWORD PTR 40[rax+rdx]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rcx, QWORD PTR 48[rax+rdx]
	mov	rbx, QWORD PTR 56[rax+rdx]
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	rcx, QWORD PTR 64[rax+rdx]
	mov	rbx, QWORD PTR 72[rax+rdx]
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	mov	rcx, QWORD PTR 80[rax+rdx]
	mov	rbx, QWORD PTR 88[rax+rdx]
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -56[rbp], rbx
	mov	rcx, QWORD PTR 96[rax+rdx]
	mov	rbx, QWORD PTR 104[rax+rdx]
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -40[rbp], rbx
	movzx	eax, WORD PTR 112[rax+rdx]
	mov	WORD PTR -32[rbp], ax
	mov	eax, DWORD PTR -148[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rcx, book_list[rip]
	movsx	rdx, edx
	imul	rdx, rdx, 114
	lea	rsi, book_list[rip]
	mov	r8, QWORD PTR [rdx+rsi]
	mov	r9, QWORD PTR 8[rdx+rsi]
	mov	QWORD PTR [rax+rcx], r8
	mov	QWORD PTR 8[rax+rcx], r9
	mov	r8, QWORD PTR 16[rdx+rsi]
	mov	r9, QWORD PTR 24[rdx+rsi]
	mov	QWORD PTR 16[rax+rcx], r8
	mov	QWORD PTR 24[rax+rcx], r9
	mov	r8, QWORD PTR 32[rdx+rsi]
	mov	r9, QWORD PTR 40[rdx+rsi]
	mov	QWORD PTR 32[rax+rcx], r8
	mov	QWORD PTR 40[rax+rcx], r9
	mov	r8, QWORD PTR 48[rdx+rsi]
	mov	r9, QWORD PTR 56[rdx+rsi]
	mov	QWORD PTR 48[rax+rcx], r8
	mov	QWORD PTR 56[rax+rcx], r9
	mov	r8, QWORD PTR 64[rdx+rsi]
	mov	r9, QWORD PTR 72[rdx+rsi]
	mov	QWORD PTR 64[rax+rcx], r8
	mov	QWORD PTR 72[rax+rcx], r9
	mov	r8, QWORD PTR 80[rdx+rsi]
	mov	r9, QWORD PTR 88[rdx+rsi]
	mov	QWORD PTR 80[rax+rcx], r8
	mov	QWORD PTR 88[rax+rcx], r9
	mov	r8, QWORD PTR 96[rdx+rsi]
	mov	r9, QWORD PTR 104[rdx+rsi]
	mov	QWORD PTR 96[rax+rcx], r8
	mov	QWORD PTR 104[rax+rcx], r9
	movzx	edx, WORD PTR 112[rdx+rsi]
	mov	WORD PTR 112[rax+rcx], dx
	mov	eax, DWORD PTR -148[rbp]
	add	eax, 1
	cdqe
	imul	rax, rax, 114
	lea	rdx, book_list[rip]
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax+rdx], rcx
	mov	QWORD PTR 8[rax+rdx], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 16[rax+rdx], rcx
	mov	QWORD PTR 24[rax+rdx], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax+rdx], rcx
	mov	QWORD PTR 40[rax+rdx], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax+rdx], rcx
	mov	QWORD PTR 56[rax+rdx], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 64[rax+rdx], rcx
	mov	QWORD PTR 72[rax+rdx], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 80[rax+rdx], rcx
	mov	QWORD PTR 88[rax+rdx], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 96[rax+rdx], rcx
	mov	QWORD PTR 104[rax+rdx], rbx
	movzx	ecx, WORD PTR -32[rbp]
	mov	WORD PTR 112[rax+rdx], cx
.L23:
	add	DWORD PTR -148[rbp], 1
.L22:
	mov	eax, DWORD PTR n[rip]
	sub	eax, DWORD PTR -152[rbp]
	sub	eax, 1
	cmp	DWORD PTR -148[rbp], eax
	jl	.L24
	add	DWORD PTR -152[rbp], 1
.L21:
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	cmp	DWORD PTR -152[rbp], eax
	jl	.L25
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sort, .-sort
	.globl	insert
	.type	insert, @function
insert:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	eax, DWORD PTR n[rip]
	cdqe
	imul	rax, rax, 114
	lea	rdx, book_list[rip]
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax+rdx], rcx
	mov	QWORD PTR 8[rax+rdx], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax+rdx], rcx
	mov	QWORD PTR 24[rax+rdx], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax+rdx], rcx
	mov	QWORD PTR 40[rax+rdx], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax+rdx], rcx
	mov	QWORD PTR 56[rax+rdx], rbx
	mov	rcx, QWORD PTR 80[rbp]
	mov	rbx, QWORD PTR 88[rbp]
	mov	QWORD PTR 64[rax+rdx], rcx
	mov	QWORD PTR 72[rax+rdx], rbx
	mov	rcx, QWORD PTR 96[rbp]
	mov	rbx, QWORD PTR 104[rbp]
	mov	QWORD PTR 80[rax+rdx], rcx
	mov	QWORD PTR 88[rax+rdx], rbx
	mov	rcx, QWORD PTR 112[rbp]
	mov	rbx, QWORD PTR 120[rbp]
	mov	QWORD PTR 96[rax+rdx], rcx
	mov	QWORD PTR 104[rax+rdx], rbx
	movzx	ecx, WORD PTR 128[rbp]
	mov	WORD PTR 112[rax+rdx], cx
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	insert, .-insert
	.section	.rodata
.LC2:
	.string	"%-50s%-20s%-30s%-10s\n"
	.text
	.globl	search
	.type	search, @function
search:
.LFB3:
	.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, 0
	call	sort
	mov	DWORD PTR -4[rbp], 0
	jmp	.L29
.L31:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, book_list[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strstr@PLT
	test	rax, rax
	je	.L30
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, 96[rax]
	lea	rax, book_list[rip]
	add	rax, rdx
	lea	rsi, 7[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, 64[rax]
	lea	rax, book_list[rip]
	add	rax, rdx
	lea	rcx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, 48[rax]
	lea	rax, book_list[rip]
	add	rax, rdx
	lea	rdx, 3[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdi, book_list[rip]
	add	rax, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	add	DWORD PTR -4[rbp], 1
.L29:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	search, .-search
	.globl	delete
	.type	delete, @function
delete:
.LFB4:
	.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 -4[rbp], 0
	jmp	.L33
.L35:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, book_list[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strstr@PLT
	test	rax, rax
	je	.L34
	mov	eax, DWORD PTR n[rip]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -4[rbp], edx
	cdqe
	imul	rax, rax, 114
	lea	rcx, book_list[rip]
	movsx	rdx, esi
	imul	rdx, rdx, 114
	lea	rsi, book_list[rip]
	mov	r8, QWORD PTR [rdx+rsi]
	mov	r9, QWORD PTR 8[rdx+rsi]
	mov	QWORD PTR [rax+rcx], r8
	mov	QWORD PTR 8[rax+rcx], r9
	mov	r8, QWORD PTR 16[rdx+rsi]
	mov	r9, QWORD PTR 24[rdx+rsi]
	mov	QWORD PTR 16[rax+rcx], r8
	mov	QWORD PTR 24[rax+rcx], r9
	mov	r8, QWORD PTR 32[rdx+rsi]
	mov	r9, QWORD PTR 40[rdx+rsi]
	mov	QWORD PTR 32[rax+rcx], r8
	mov	QWORD PTR 40[rax+rcx], r9
	mov	r8, QWORD PTR 48[rdx+rsi]
	mov	r9, QWORD PTR 56[rdx+rsi]
	mov	QWORD PTR 48[rax+rcx], r8
	mov	QWORD PTR 56[rax+rcx], r9
	mov	r8, QWORD PTR 64[rdx+rsi]
	mov	r9, QWORD PTR 72[rdx+rsi]
	mov	QWORD PTR 64[rax+rcx], r8
	mov	QWORD PTR 72[rax+rcx], r9
	mov	r8, QWORD PTR 80[rdx+rsi]
	mov	r9, QWORD PTR 88[rdx+rsi]
	mov	QWORD PTR 80[rax+rcx], r8
	mov	QWORD PTR 88[rax+rcx], r9
	mov	r8, QWORD PTR 96[rdx+rsi]
	mov	r9, QWORD PTR 104[rdx+rsi]
	mov	QWORD PTR 96[rax+rcx], r8
	mov	QWORD PTR 104[rax+rcx], r9
	movzx	edx, WORD PTR 112[rdx+rsi]
	mov	WORD PTR 112[rax+rcx], dx
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	mov	DWORD PTR n[rip], eax
.L34:
	add	DWORD PTR -4[rbp], 1
.L33:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L35
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	delete, .-delete
	.section	.rodata
.LC3:
	.string	"w"
.LC4:
	.string	"ordered.txt"
	.text
	.globl	store
	.type	store, @function
store:
.LFB5:
	.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	eax, 0
	call	sort
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, 96[rax]
	lea	rax, book_list[rip]
	add	rax, rdx
	lea	rdi, 7[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, 64[rax]
	lea	rax, book_list[rip]
	add	rax, rdx
	lea	rsi, 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, 48[rax]
	lea	rax, book_list[rip]
	add	rax, rdx
	lea	rcx, 3[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 114
	lea	rdx, book_list[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L37:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L38
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	store, .-store
	.section	.rodata
.LC5:
	.string	"%d"
.LC6:
	.string	"%s"
	.text
	.globl	readinstr
	.type	readinstr, @function
readinstr:
.LFB6:
	.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, 216
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -212[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L40
.L44:
	mov	eax, DWORD PTR -212[rbp]
	cmp	eax, 1
	jne	.L41
	lea	rax, -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -208[rbp]
	add	rax, 51
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -208[rbp]
	add	rax, 72
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -208[rbp]
	add	rax, 103
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	sub	rsp, 8
	sub	rsp, 120
	mov	rax, rsp
	mov	rcx, QWORD PTR -208[rbp]
	mov	rbx, QWORD PTR -200[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -192[rbp]
	mov	rbx, QWORD PTR -184[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -176[rbp]
	mov	rbx, QWORD PTR -168[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -160[rbp]
	mov	rbx, QWORD PTR -152[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	movzx	edx, WORD PTR -96[rbp]
	mov	WORD PTR 112[rax], dx
	call	insert
	sub	rsp, -128
	jmp	.L42
.L41:
	mov	eax, DWORD PTR -212[rbp]
	cmp	eax, 2
	jne	.L43
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	search
	jmp	.L42
.L43:
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	delete
.L42:
	lea	rax, -212[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L40:
	mov	eax, DWORD PTR -212[rbp]
	test	eax, eax
	jne	.L44
	mov	eax, 0
	call	store
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	readinstr, .-readinstr
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	readbooks
	mov	eax, 0
	call	readinstr
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"751395.c"
	.text
	.comm	book_list,57000,4
	.comm	n,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"books.txt\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readbooks
	.syntax unified
	.arm
	.fpu softvfp
	.type	readbooks, %function
readbooks:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #224
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L20+4
	ldr	r0, .L20+8
	bl	fopen
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L20+12
	mov	r2, #0
	str	r2, [r3]
	b	.L1
.L2:
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L4
.L17:
	ldrb	r3, [fp, #-208]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L19
	ldrb	r3, [fp, #-208]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L19
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L8
.L9:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L8:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L9
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L10
.L11:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	add	r3, r3, #51
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L10:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L11
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	add	r3, r3, #51
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L12
.L13:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	add	r3, r3, #72
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L12:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L13
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	add	r3, r3, #72
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L14
.L16:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	add	r3, r3, #103
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L14:
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L15
	sub	r2, fp, #208
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L16
.L15:
	ldr	r1, .L20+16
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	add	r3, r3, #103
	mov	r2, #0
	strb	r2, [r3]
	b	.L7
.L19:
	nop
.L7:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L4:
	sub	r3, fp, #208
	ldr	r2, [fp, #-212]
	mov	r1, #199
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r2, .L20+12
	ldr	r3, [fp, #-224]
	str	r3, [r2]
	ldr	r0, [fp, #-212]
	bl	fclose
.L1:
	ldr	r3, .L20
	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}
.L21:
	.align	2
.L20:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	n
	.word	book_list
	.size	readbooks, .-readbooks
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort, %function
sort:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L23
.L27:
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L24
.L26:
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L29+4
	add	r0, r3, r2
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L29+4
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L25
	ldr	r1, .L29+4
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	sub	r3, fp, #124
	mov	r1, r2
	mov	r2, #114
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	ldr	r0, .L29+4
	ldr	r1, [fp, #-128]
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r0, r0, r3
	ldr	r1, .L29+4
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	mov	r3, #114
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	ldr	r1, .L29+4
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r0, r3
	sub	r3, fp, #124
	mov	r2, #114
	mov	r1, r3
	bl	memcpy
.L25:
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L24:
	ldr	r3, .L29+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L23:
	ldr	r3, .L29+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L27
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC3
	.word	book_list
	.word	n
	.size	sort, .-sort
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ args = 116, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r1, .L32+4
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r0, r3
	add	r3, fp, #4
	mov	r2, #114
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L32
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L33:
	.align	2
.L32:
	.word	n
	.word	book_list
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%-50s%-20s%-30s%-10s\012\000"
	.text
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ 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]
	bl	sort
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L35
.L37:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L38
	add	r3, r3, r2
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L38
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #48
	ldr	r2, .L38
	add	r3, r3, r2
	add	r0, r3, #3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #72
	ldr	r2, .L38
	add	ip, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #96
	ldr	r2, .L38
	add	r3, r3, r2
	add	r3, r3, #7
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L38+4
	bl	printf
.L36:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L35:
	ldr	r3, .L38+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L37
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	book_list
	.word	.LC4
	.word	n
	.size	search, .-search
	.align	2
	.global	delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete, %function
delete:
	@ 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	r3, #0
	str	r3, [fp, #-8]
	b	.L41
.L43:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L44
	add	r3, r3, r2
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, .L44+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r2, [fp, #-8]
	sub	r3, r2, #1
	str	r3, [fp, #-8]
	ldr	r0, .L44
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r0, r3
	ldr	r2, .L44
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r1, r3
	mov	r3, #114
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L44+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L44+4
	str	r3, [r2]
.L42:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L41:
	ldr	r3, .L44+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L43
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	book_list
	.word	n
	.size	delete, .-delete
	.section	.rodata
	.align	2
.LC5:
	.ascii	"w\000"
	.align	2
.LC6:
	.ascii	"ordered.txt\000"
	.text
	.align	2
	.global	store
	.syntax unified
	.arm
	.fpu softvfp
	.type	store, %function
store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	sort
	ldr	r1, .L49
	ldr	r0, .L49+4
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L47
.L48:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L49+8
	add	r0, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #48
	ldr	r2, .L49+8
	add	r3, r3, r2
	add	ip, r3, #3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #72
	ldr	r2, .L49+8
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #96
	ldr	r2, .L49+8
	add	r3, r3, r2
	add	r3, r3, #7
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L49+12
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L47:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L48
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC5
	.word	.LC6
	.word	book_list
	.word	.LC4
	.word	n
	.size	store, .-store
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"%s\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readinstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	readinstr, %function
readinstr:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #180
	mov	r1, r3
	ldr	r0, .L58+4
	bl	__isoc99_scanf
	b	.L52
.L56:
	ldr	r3, [fp, #-180]
	cmp	r3, #1
	bne	.L53
	sub	r3, fp, #176
	mov	r1, r3
	ldr	r0, .L58+8
	bl	__isoc99_scanf
	sub	r3, fp, #176
	add	r3, r3, #51
	mov	r1, r3
	ldr	r0, .L58+8
	bl	__isoc99_scanf
	sub	r3, fp, #176
	add	r3, r3, #72
	mov	r1, r3
	ldr	r0, .L58+8
	bl	__isoc99_scanf
	sub	r3, fp, #176
	add	r3, r3, #103
	mov	r1, r3
	ldr	r0, .L58+8
	bl	__isoc99_scanf
	mov	r0, sp
	sub	r3, fp, #160
	mov	r2, #98
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #176
	ldm	r3, {r0, r1, r2, r3}
	bl	insert
	b	.L54
.L53:
	ldr	r3, [fp, #-180]
	cmp	r3, #2
	bne	.L55
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L58+8
	bl	__isoc99_scanf
	sub	r3, fp, #60
	mov	r0, r3
	bl	search
	b	.L54
.L55:
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L58+8
	bl	__isoc99_scanf
	sub	r3, fp, #60
	mov	r0, r3
	bl	delete
.L54:
	sub	r3, fp, #180
	mov	r1, r3
	ldr	r0, .L58+4
	bl	__isoc99_scanf
.L52:
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	bne	.L56
	bl	store
	nop
	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	.LC9
	.word	.LC7
	.word	.LC8
	.size	readinstr, .-readinstr
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	readbooks
	bl	readinstr
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
