	.file	"extr_io_ihex.c___read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__read, @function
__read:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L7
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rsi]
	test	rbp, rbp
	je	.L1
	mov	r12d, ecx
	test	ecx, ecx
	jle	.L1
	mov	r13, rdx
	mov	esi, DWORD PTR 4[rdi]
	mov	rbx, rdi
	mov	edx, ecx
	mov	rdi, r13
	call	memset@PLT
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	mov	ecx, r12d
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	mov	rdx, r13
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	r_buf_read_at@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	or	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	__read, .-__read
	.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_io_ihex.c___read.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__read, %function
__read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	beq	.L7
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r1]
	mov	r4, r3
	cmp	r7, #0
	cmpne	r3, #0
	ble	.L1
	mov	r6, r2
	mov	r5, r0
	mov	r2, r3
	ldr	r1, [r0, #4]
	mov	r0, r6
	bl	memset
	mov	r3, r4
	mov	r2, r6
	ldr	r1, [r5]
	ldr	r0, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	b	r_buf_read_at
.L1:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mvn	r0, #0
	bx	lr
	.size	__read, .-__read
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
