	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_fs_exists                  ## -- Begin function atf_fs_exists
	.p2align	4, 0x90
_atf_fs_exists:                         ## @atf_fs_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_atf_fs_access_f@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_atf_fs_eaccess
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	callq	_atf_error_is
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	%ebx, %edi
	callq	_atf_libc_error_code
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	%ebx, %edi
	callq	_atf_error_free
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_atf_no_error
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_1:
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, (%r14)
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atf_fs_access_f,4,2            ## @atf_fs_access_f
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libc"

	.comm	_ENOENT,8,3                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_fs_exists                  ; -- Begin function atf_fs_exists
	.p2align	2
_atf_fs_exists:                         ; @atf_fs_exists
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _atf_fs_access_f@GOTPAGE
Lloh1:
	ldr	x8, [x8, _atf_fs_access_f@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_atf_fs_eaccess
	mov	x20, x0
	bl	_atf_is_error
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_atf_error_is
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_atf_libc_error_code
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_atf_error_free
	bl	_atf_no_error
	mov	x20, x0
	mov	w8, #0
	b	LBB0_5
LBB0_4:
	mov	w8, #1
LBB0_5:
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_atf_fs_access_f,4,2            ; @atf_fs_access_f
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libc"

	.comm	_ENOENT,8,3                     ; @ENOENT
.subsections_via_symbols
