	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_path_exhausted
_search_path_exhausted:                 ## @search_path_exhausted
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	%rdx, %rbx
	cmpq	$0, 16(%rdx)
	jne	LBB0_6
## %bb.2:
	leaq	16(%rbx), %rdx
	callq	*%rcx
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_open_file
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.4:
	movq	8(%rbx), %rdi
	callq	_free
LBB0_5:
	movq	(%rbx), %rax
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_search_path_exhausted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_path_exhausted
_search_path_exhausted:                 ; @search_path_exhausted
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x2
	ldr	x9, [x2, #16]!
	cbz	x9, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	blr	x8
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_open_file
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_3
LBB0_7:
	ldr	x0, [x19, #8]
	bl	_free
LBB0_8:
	mov	w0, #0
	ldr	x8, [x19]
	str	x8, [x19, #8]
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_search_path_exhausted
.subsections_via_symbols
