	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function separate_debug_file_exists
_separate_debug_file_exists:            ## @separate_debug_file_exists
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_BFD_ASSERT
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_open
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movl	%eax, %r15d
	leaq	_separate_debug_file_exists.buffer(%rip), %rsi
	movl	%eax, %edi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_read
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	leaq	_separate_debug_file_exists.buffer(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_bfd_calc_gnu_debuglink_crc32
	movq	%rax, %rbx
	movl	%r15d, %edi
	movq	%r12, %rsi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_read
	testl	%eax, %eax
	jg	LBB0_3
LBB0_4:
	movl	%r15d, %edi
	callq	_close
	xorl	%eax, %eax
	cmpq	%r14, %rbx
	sete	%al
	jmp	LBB0_5
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_separate_debug_file_exists.buffer,8192,4 ## @separate_debug_file_exists.buffer
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_separate_debug_file_exists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function separate_debug_file_exists
_separate_debug_file_exists:            ; @separate_debug_file_exists
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	bl	_BFD_ASSERT
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_open
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, _separate_debug_file_exists.buffer@PAGE
Lloh4:
	add	x1, x1, _separate_debug_file_exists.buffer@PAGEOFF
	mov	w2, #8192
	bl	_read
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x2, x0
	mov	x21, #0
Lloh5:
	adrp	x22, _separate_debug_file_exists.buffer@PAGE
Lloh6:
	add	x22, x22, _separate_debug_file_exists.buffer@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_bfd_calc_gnu_debuglink_crc32
	mov	x21, x0
	mov	x0, x20
	mov	x1, x22
	mov	w2, #8192
	bl	_read
	mov	x2, x0
	cmp	w0, #0
	b.gt	LBB0_3
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_5:
	mov	x21, #0
LBB0_6:
	mov	x0, x20
	bl	_close
	cmp	x21, x19
	cset	w0, eq
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_separate_debug_file_exists.buffer,8192,0 ; @separate_debug_file_exists.buffer
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_separate_debug_file_exists
.subsections_via_symbols
