	.file	"389202.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Insufficient memory for library."
	.align 8
.LC1:
	.string	"Couldn't read entire library (%s).  Library is damaged.\n"
	.text
	.globl	libr_get
	.type	libr_get, @function
libr_get:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	esi, 640
	mov	edi, 1
	mov	eax, 0
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 640
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	vosopen@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], -1
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 32[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 64[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
	jmp	.L3
.L4:
	mov	rsi, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	r9d, 640
	mov	r8d, 1
	mov	ecx, 1
	mov	edx, 1
	mov	edi, eax
	mov	eax, 0
	call	vosread@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 32[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 64[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vosclose@PLT
	mov	eax, 0
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 64[rax]
	cwde
	lea	edx, 1[rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 7
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L3
.L6:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 64[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, 640[rax]
	mov	eax, DWORD PTR -16[rbp]
	mov	r9d, 640
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 2
	mov	edi, eax
	mov	eax, 0
	call	vosread@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vosclose@PLT
	mov	eax, -1
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vosclose@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	libr_get, .-libr_get
	.globl	libr_find_entry
	.type	libr_find_entry, @function
libr_find_entry:
.LFB1:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 32[rax]
	cwde
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 32[rax]
	cwde
	mov	DWORD PTR -8[rbp], eax
.L9:
	cmp	DWORD PTR -8[rbp], 0
	je	.L10
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jg	.L11
.L10:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
.L13:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -4[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	libr_find_entry, .-libr_find_entry
	.section	.rodata
.LC2:
	.string	"Can't find data set, \"%s\".\n"
	.align 8
.LC3:
	.string	"Couldn't read entire file.  Giving up."
	.text
	.globl	libr_get_file_data
	.type	libr_get_file_data, @function
libr_get_file_data:
.LFB2:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 512
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	vosopen@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L19
.L21:
	sub	DWORD PTR -12[rbp], 1
.L19:
	cmp	DWORD PTR -12[rbp], 0
	js	.L20
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L21
.L20:
	cmp	DWORD PTR -12[rbp], -1
	je	.L22
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L22:
	mov	rsi, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	r9d, 512
	mov	r8d, 1
	mov	ecx, 1
	mov	edx, 1
	mov	edi, eax
	mov	eax, 0
	call	vosread@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L23
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vosclose@PLT
	mov	eax, -1
	jmp	.L18
.L23:
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vosclose@PLT
	mov	eax, 0
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	libr_get_file_data, .-libr_get_file_data
	.globl	libr_list
	.type	libr_list, @function
libr_list:
.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	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 64[rax]
	cwde
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L25
	mov	eax, -1
	jmp	.L26
.L25:
	mov	eax, 0
	call	start_pretty_io@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 32[rax]
	cwde
	mov	DWORD PTR -8[rbp], eax
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, 0
	call	cprint@PLT
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 32[rax]
	cwde
	mov	DWORD PTR -8[rbp], eax
.L27:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L28
	mov	eax, 0
	call	stop_pretty_io@PLT
	mov	eax, 0
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	libr_list, .-libr_list
	.section	.rodata
	.align 8
.LC4:
	.string	"Insufficient memory for library update."
.LC5:
	.string	"Replacing old %s\n"
	.text
	.globl	libr_insert_entry
	.type	libr_insert_entry, @function
libr_insert_entry:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 64[rax]
	cwde
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 29
	jbe	.L30
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 29
	mov	BYTE PTR [rax], 0
.L30:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	lower_case@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, -36[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	libr_find_entry
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	jne	.L31
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 2[rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 7
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	realloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L32
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L39
.L32:
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	movzx	eax, WORD PTR 32[rcx]
	mov	WORD PTR 32[rdx], ax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 32[rax]
	movsx	rdx, ax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	WORD PTR 30[rax], dx
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	WORD PTR 32[rax], dx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	mov	WORD PTR 30[rax], dx
	mov	DWORD PTR -32[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	mov	BYTE PTR 66[rdx+rax], 0
	add	DWORD PTR -32[rbp], 1
.L34:
	cmp	DWORD PTR -32[rbp], 61
	jle	.L35
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L36
.L31:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
.L36:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, [rdx+rax]
	movzx	edx, BYTE PTR [rsi]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	mov	BYTE PTR 128[rcx+rax], dl
	add	DWORD PTR -32[rbp], 1
.L37:
	cmp	DWORD PTR -32[rbp], 511
	jle	.L38
	mov	eax, 0
	call	libr_get_time_ascii
	mov	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	add	rax, 34
	mov	rsi, rcx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 64[rax], dx
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -24[rbp]
.L39:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	libr_insert_entry, .-libr_insert_entry
	.globl	libr_delete_entry
	.type	libr_delete_entry, @function
libr_delete_entry:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, WORD PTR 64[rax]
	cwde
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 29
	jbe	.L42
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 29
	mov	BYTE PTR [rax], 0
.L42:
	mov	rdx, QWORD PTR -48[rbp]
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	libr_find_entry
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jne	.L43
	mov	eax, -1
	jmp	.L46
.L43:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 30[rax]
	movsx	rdx, ax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, WORD PTR 32[rcx]
	mov	WORD PTR 32[rdx], ax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 32[rax]
	movsx	rdx, ax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, WORD PTR 30[rcx]
	mov	WORD PTR 30[rdx], ax
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	je	.L45
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 30[rax]
	movsx	rdx, ax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	WORD PTR 32[rax], dx
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 32[rax]
	movsx	rdx, ax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	WORD PTR 30[rax], dx
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, rcx
	mov	ecx, 640
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
.L45:
	sub	DWORD PTR -16[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR 64[rax], dx
	mov	eax, 0
.L46:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	libr_delete_entry, .-libr_delete_entry
	.globl	libr_get_time_ascii
	.type	libr_get_time_ascii, @function
libr_get_time_ascii:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	time@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	ctime@PLT
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	libr_get_time_ascii, .-libr_get_time_ascii
	.section	.rodata
	.align 8
.LC6:
	.string	"Couldn't save new library.  Existing file may be protected."
	.align 8
.LC7:
	.string	"Couldn't finish writing library to disk."
	.text
	.globl	libr_write
	.type	libr_write, @function
libr_write:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR 64[rax]
	cwde
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 640
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	vosopen@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L52
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L53
.L52:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rsi, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r9d, 640
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 1
	mov	edi, eax
	mov	eax, 0
	call	voswrite@PLT
	cmp	eax, -1
	jne	.L54
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vosclose@PLT
	mov	eax, -1
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vosclose@PLT
	mov	eax, 0
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	libr_write, .-libr_write
	.section	.rodata
.LC8:
	.string	"first=%d, length=%d\n"
.LC9:
	.string	"%2d %-30s %2d %2d\n"
	.text
	.globl	libr_trace_list
	.type	libr_trace_list, @function
libr_trace_list:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 64[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 32[rax]
	cwde
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L56
.L57:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 32[rax]
	movsx	esi, ax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 30[rax]
	movsx	edx, ax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 7
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rdi, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, esi
	mov	ecx, edx
	mov	rdx, rdi
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L56:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 64[rax]
	cwde
	cmp	DWORD PTR -4[rbp], eax
	jle	.L57
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	libr_trace_list, .-libr_trace_list
	.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	"389202.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Insufficient memory for library.\000"
	.align	2
.LC1:
	.ascii	"Couldn't read entire library (%s).  Library is dama"
	.ascii	"ged.\012\000"
	.text
	.align	2
	.global	libr_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_get, %function
libr_get:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, #640
	mov	r0, #1
	bl	calloc
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L8
	bl	puts
	mvn	r3, #0
	b	.L3
.L2:
	mov	r3, #640
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	vosopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L4
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strh	r2, [r3, #32]	@ movhi
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strh	r2, [r3, #64]	@ movhi
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r3, #0
	b	.L3
.L4:
	mov	r3, #640
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	vosread
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L5
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strh	r2, [r3, #32]	@ movhi
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strh	r2, [r3, #64]	@ movhi
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r0, [fp, #-12]
	bl	vosclose
	mov	r3, #0
	b	.L3
.L5:
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #64]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	realloc
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L8
	bl	puts
	mvn	r3, #0
	b	.L3
.L6:
	ldr	r3, [fp, #-16]
	add	r1, r3, #640
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #64]
	mov	r2, r3
	mov	r3, #640
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, #1
	mov	r2, #2
	ldr	r0, [fp, #-12]
	bl	vosread
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L7
	ldr	r1, [fp, #-24]
	ldr	r0, .L8+4
	bl	printf
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r0, [fp, #-12]
	bl	vosclose
	mvn	r3, #0
	b	.L3
.L7:
	ldr	r0, [fp, #-12]
	bl	vosclose
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	libr_get, .-libr_get
	.align	2
	.global	libr_find_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_find_entry, %function
libr_find_entry:
	@ 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]
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #32]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L11
.L13:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrsh	r3, [r3, #32]
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L12
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bgt	.L13
.L12:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-20]
	mov	r2, #1
	str	r2, [r3]
	b	.L15
.L14:
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3]
.L15:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-12]
	b	.L17
.L16:
	ldr	r3, [fp, #-8]
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	libr_find_entry, .-libr_find_entry
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Can't find data set, \"%s\".\012\000"
	.align	2
.LC3:
	.ascii	"Couldn't read entire file.  Giving up.\000"
	.text
	.align	2
	.global	libr_get_file_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_get_file_data, %function
libr_get_file_data:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #512
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	vosopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L19
	ldr	r1, [fp, #-24]
	ldr	r0, .L26
	bl	printf
	mvn	r3, #0
	b	.L20
.L19:
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L21
.L23:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L22
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L23
.L22:
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L24
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strcpy
.L24:
	mov	r3, #512
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-12]
	bl	vosread
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L26+4
	bl	puts
	ldr	r0, [fp, #-12]
	bl	vosclose
	mvn	r3, #0
	b	.L20
.L25:
	ldr	r0, [fp, #-12]
	bl	vosclose
	mov	r3, #0
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC2
	.word	.LC3
	.size	libr_get_file_data, .-libr_get_file_data
	.align	2
	.global	libr_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_list, %function
libr_list:
	@ 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]
	ldrsh	r3, [r3, #64]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L29
	mvn	r3, #0
	b	.L30
.L29:
	bl	start_pretty_io
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #32]
	str	r3, [fp, #-12]
	b	.L31
.L32:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r0, r3
	bl	cprint
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrsh	r3, [r3, #32]
	str	r3, [fp, #-12]
.L31:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L32
	bl	stop_pretty_io
	mov	r3, #0
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	libr_list, .-libr_list
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Insufficient memory for library update.\000"
	.align	2
.LC5:
	.ascii	"Replacing old %s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	libr_insert_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_insert_entry, %function
libr_insert_entry:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #64]
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-48]
	bl	strlen
	mov	r3, r0
	cmp	r3, #29
	bls	.L34
	ldr	r3, [fp, #-48]
	add	r3, r3, #29
	mov	r2, #0
	strb	r2, [r3]
.L34:
	ldr	r0, [fp, #-48]
	bl	lower_case
	sub	r3, fp, #40
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	libr_find_entry
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-32]
	add	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	realloc
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L36
	ldr	r0, .L45+4
	bl	puts
	mvn	r3, #0
	b	.L43
.L36:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r1, r3, r2
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrsh	r2, [r1, #32]
	strh	r2, [r3, #32]	@ movhi
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrsh	r3, [r3, #32]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #30]	@ movhi
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #32]	@ movhi
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #30]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L38
.L39:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	add	r3, r3, #66
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L38:
	ldr	r3, [fp, #-36]
	cmp	r3, #61
	ble	.L39
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	b	.L40
.L35:
	ldr	r1, [fp, #-48]
	ldr	r0, .L45+8
	bl	printf
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-28]
.L40:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L41
.L42:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-52]
	add	r1, r2, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldrb	r1, [r1]	@ zero_extendqisi2
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	add	r3, r3, #128
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L41:
	ldr	r3, [fp, #-36]
	cmp	r3, #512
	blt	.L42
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r4, r3, #34
	bl	libr_get_time_ascii
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strcpy
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #64]	@ movhi
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
.L43:
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC6
	.word	.LC4
	.word	.LC5
	.size	libr_insert_entry, .-libr_insert_entry
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	libr_delete_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_delete_entry, %function
libr_delete_entry:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-28]
	ldrsh	r3, [r3, #64]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	cmp	r3, #29
	bls	.L48
	ldr	r3, [fp, #-24]
	add	r3, r3, #29
	mov	r2, #0
	strb	r2, [r3]
.L48:
	sub	r3, fp, #20
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	libr_find_entry
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L49
	mvn	r3, #0
	b	.L52
.L49:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrsh	r3, [r3, #30]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrsh	r2, [r1, #32]
	strh	r2, [r3, #32]	@ movhi
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrsh	r3, [r3, #32]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrsh	r2, [r1, #30]
	strh	r2, [r3, #30]	@ movhi
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L51
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrsh	r3, [r3, #30]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #32]	@ movhi
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrsh	r3, [r3, #32]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #30]	@ movhi
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	mov	r0, r3
	mov	r3, #640
	mov	r2, r3
	bl	memcpy
.L51:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-28]
	strh	r2, [r3, #64]	@ movhi
	mov	r3, #0
.L52:
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC7
	.size	libr_delete_entry, .-libr_delete_entry
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	libr_get_time_ascii
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_get_time_ascii, %function
libr_get_time_ascii:
	@ 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, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r0, r3
	bl	time
	sub	r3, fp, #16
	mov	r0, r3
	bl	ctime
	mov	r3, r0
	ldr	r2, .L59
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC8
	.size	libr_get_time_ascii, .-libr_get_time_ascii
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Couldn't save new library.  Existing file may be pr"
	.ascii	"otected.\000"
	.align	2
.LC10:
	.ascii	"Couldn't finish writing library to disk.\000"
	.text
	.align	2
	.global	libr_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_write, %function
libr_write:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrsh	r3, [r3, #64]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	mov	r3, #640
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	vosopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L62
	ldr	r0, .L65
	bl	puts
	mvn	r3, #0
	b	.L63
.L62:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, #640
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	voswrite
	mov	r3, r0
	cmn	r3, #1
	bne	.L64
	ldr	r0, .L65+4
	bl	puts
	ldr	r0, [fp, #-8]
	bl	vosclose
	mvn	r3, #0
	b	.L63
.L64:
	ldr	r0, [fp, #-8]
	bl	vosclose
	mov	r3, #0
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC9
	.word	.LC10
	.size	libr_write, .-libr_write
	.section	.rodata
	.align	2
.LC11:
	.ascii	"first=%d, length=%d\012\000"
	.align	2
.LC12:
	.ascii	"%2d %-30s %2d %2d\012\000"
	.text
	.align	2
	.global	libr_trace_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	libr_trace_list, %function
libr_trace_list:
	@ 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]
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #32]
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #64]
	mov	r2, r3
	ldr	r0, .L70
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L68
.L69:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrsh	r3, [r3, #30]
	mov	r0, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrsh	r3, [r3, #32]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, [fp, #-8]
	ldr	r0, .L70+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L68:
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #64]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	ble	.L69
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC11
	.word	.LC12
	.size	libr_trace_list, .-libr_trace_list
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
