	.file	"extr_dir.c_do_read_blob.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	do_read_blob, @function
do_read_blob:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rdx], 0
	lea	rsi, 12[rsp]
	lea	rdx, 16[rsp]
	mov	QWORD PTR [rcx], 0
	call	read_object_file@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR OBJ_BLOB[rip]
	cmp	DWORD PTR 12[rsp], eax
	jne	.L2
	test	r14, r14
	je	.L5
	lea	rdi, 4[r14]
	xor	esi, esi
	mov	edx, 4
	call	memset@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	oidcpy@PLT
.L5:
	mov	rdi, QWORD PTR 16[rsp]
	test	rdi, rdi
	je	.L17
	cmp	BYTE PTR -1[rbp+rdi], 10
	jne	.L18
.L7:
	call	xsize_t@PLT
	mov	QWORD PTR [r12], rax
	mov	eax, 1
	mov	QWORD PTR [rbx], rbp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rbp
	call	free@PLT
	mov	eax, -1
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	esi, 1
	call	st_add@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	xrealloc@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR 16[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 16[rsp], rdx
	mov	BYTE PTR 0[rbp+rax], 10
	mov	rdi, QWORD PTR 16[rsp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	call	free@PLT
	xor	eax, eax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_read_blob, .-do_read_blob
	.comm	OBJ_BLOB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dir.c_do_read_blob.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_read_blob, %function
do_read_blob:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, r2
	mov	r6, r3
	mov	r9, #0
	ldr	r3, .L23
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r1
	str	r9, [r7]
	add	r2, sp, #8
	add	r1, sp, #4
	str	r9, [r6]
	mov	r8, r0
	bl	read_object_file
	subs	r5, r0, #0
	beq	.L2
	ldr	r3, .L23+4
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L2
	cmp	r4, #0
	beq	.L5
	mov	r1, r8
	mov	r0, r4
	strb	r9, [r4, #4]
	strb	r9, [r4, #5]
	strb	r9, [r4, #6]
	strb	r9, [r4, #7]
	bl	oidcpy
.L5:
	ldr	r4, [sp, #8]
	cmp	r4, #0
	beq	.L20
	add	r3, r5, r4
	ldrb	r3, [r3, #-1]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L21
.L7:
	mov	r0, r4
	bl	xsize_t
	mov	r3, r0
	mov	r0, #1
	str	r3, [r7]
	str	r5, [r6]
	b	.L1
.L2:
	mov	r0, r5
	bl	free
	mvn	r0, #0
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L21:
	mov	r0, r4
	mov	r1, #1
	bl	st_add
	mov	r1, r0
	mov	r0, r5
	bl	xrealloc
	mov	r2, #10
	ldr	r3, [sp, #8]
	mov	r5, r0
	add	r1, r3, #1
	str	r1, [sp, #8]
	strb	r2, [r0, r3]
	ldr	r4, [sp, #8]
	b	.L7
.L20:
	mov	r0, r5
	bl	free
	mov	r0, r4
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	OBJ_BLOB
	.size	do_read_blob, .-do_read_blob
	.comm	OBJ_BLOB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
