	.file	"extr_......libnetdatainlined.h_read_file.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	read_file, @function
read_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	xor	edi, edi
	test	rdx, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sete	dil
	mov	rbx, rsi
	call	unlikely@PLT
	mov	r8, rax
	mov	eax, 3
	test	r8, r8
	jne	.L1
	mov	esi, DWORD PTR O_RDONLY[rip]
	mov	rdi, rbp
	mov	edx, 438
	call	open@PLT
	xor	edi, edi
	cmp	eax, -1
	mov	ebp, eax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L3
	mov	BYTE PTR [rbx], 0
	mov	eax, 1
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdx, r12
	mov	edi, ebp
	mov	rsi, rbx
	call	read@PLT
	xor	edi, edi
	movsx	r12, eax
	cmp	r12d, -1
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L8
	mov	BYTE PTR [rbx+r12], 0
	mov	edi, ebp
	call	close@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	BYTE PTR [rbx], 0
	mov	edi, ebp
	call	close@PLT
	mov	eax, 2
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	read_file, .-read_file
	.comm	O_RDONLY,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_......libnetdatainlined.h_read_file.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_file, %function
read_file:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	clz	r0, r2
	lsr	r0, r0, #5
	mov	r7, r1
	mov	r6, r2
	bl	unlikely
	subs	r4, r0, #0
	movne	r4, #3
	bne	.L1
	ldr	r3, .L10
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L10+4
	bl	open
	cmn	r0, #1
	mov	r5, r0
	movne	r0, #0
	moveq	r0, #1
	bl	unlikely
	subs	r8, r0, #0
	strbne	r4, [r7]
	movne	r4, #1
	beq	.L8
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r2, r6
	mov	r1, r7
	mov	r0, r5
	bl	read
	cmn	r0, #1
	mov	r6, r0
	movne	r0, #0
	moveq	r0, #1
	bl	unlikely
	subs	r4, r0, #0
	bne	.L9
	mov	r0, r5
	strb	r4, [r7, r6]
	bl	close
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r5
	strb	r8, [r7]
	bl	close
	mov	r4, #2
	b	.L1
.L11:
	.align	2
.L10:
	.word	O_RDONLY
	.word	438
	.size	read_file, .-read_file
	.comm	O_RDONLY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
