	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_file
_find_file:                             ## @find_file
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_filename_primary@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_lookup
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.1:
	movq	%rax, %r14
	movl	$24, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_stat
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_pname@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_shortpath
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_xstrerror
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_notice
	movq	$-1, %rax
LBB0_6:
	movq	%rbx, (%r14)
	movq	%r14, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	%rax, (%rbx)
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_filename_primary,4,2           ## @filename_primary
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s: can't get status: %s\n"

	.comm	_pname,4,2                      ## @pname
	.no_dead_strip	_find_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_file
_find_file:                             ; @find_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _filename_primary@GOTPAGE
Lloh1:
	ldr	x8, [x8, _filename_primary@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_lookup
	ldr	x20, [x0]
	cbnz	x20, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	w0, #24
	bl	_xmalloc
	mov	x20, x0
	cbz	w22, LBB0_3
; %bb.2:
	mov	x8, #0
	b	LBB0_6
LBB0_3:
	add	x1, sp, #8
	mov	x0, x21
	bl	_stat
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [sp, #8]
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _pname@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pname@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	mov	x0, #0
	mov	x1, x21
	bl	_shortpath
	mov	x21, x0
	mov	x0, x22
	bl	_xstrerror
	mov	x3, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x21
	bl	_notice
	mov	x8, #-1
LBB0_6:
	str	x20, [x19]
	stp	xzr, x19, [x20, #8]
	str	x8, [x20]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_filename_primary,4,2           ; @filename_primary
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s: can't get status: %s\n"

	.comm	_pname,4,2                      ; @pname
	.no_dead_strip	_find_file
.subsections_via_symbols
