	.file	"extr_opncls.c_separate_debug_file_exists.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	separate_debug_file_exists, @function
separate_debug_file_exists:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	lea	rbx, buffer.1939[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	BFD_ASSERT@PLT
	mov	esi, DWORD PTR O_RDONLY[rip]
	mov	rdi, rbp
	xor	ebp, ebp
	call	open@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	mov	rsi, rbx
	call	bfd_calc_gnu_debuglink_crc32@PLT
	mov	rbp, rax
.L2:
	mov	edx, 8192
	mov	rsi, rbx
	mov	edi, r12d
	call	read@PLT
	mov	edx, eax
	test	eax, eax
	jg	.L4
	mov	edi, r12d
	call	close@PLT
	xor	eax, eax
	cmp	rbp, r13
	sete	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	.cfi_endproc
.LFE0:
	.size	separate_debug_file_exists, .-separate_debug_file_exists
	.local	buffer.1939
	.comm	buffer.1939,8192,32
	.comm	O_RDONLY,4,4
	.comm	FALSE,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_opncls.c_separate_debug_file_exists.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	separate_debug_file_exists, %function
separate_debug_file_exists:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r7, r1
	bl	BFD_ASSERT
	ldr	r3, .L9
	mov	r0, r5
	ldr	r1, [r3]
	bl	open
	subs	r6, r0, #0
	blt	.L8
	mov	r4, #0
	ldr	r5, .L9+4
	b	.L2
.L4:
	mov	r0, r4
	mov	r1, r5
	bl	bfd_calc_gnu_debuglink_crc32
	mov	r4, r0
.L2:
	mov	r2, #8192
	mov	r1, r5
	mov	r0, r6
	bl	read
	subs	r2, r0, #0
	bgt	.L4
	mov	r0, r6
	bl	close
	sub	r0, r4, r7
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	O_RDONLY
	.word	buffer.4223
	.word	FALSE
	.size	separate_debug_file_exists, .-separate_debug_file_exists
	.comm	O_RDONLY,4,4
	.comm	FALSE,4,4
	.bss
	.align	2
	.type	buffer.4223, %object
	.size	buffer.4223, 8192
buffer.4223:
	.space	8192
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
