	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup
_setup:                                 ## @setup
	.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	%rsi, %rax
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_atf_tc_get_config_var
	movq	%rax, %rdi
	callq	_opendir
	movq	%rax, (%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	setns	%dil
	callq	_ATF_REQUIRE
	movq	(%rbx), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_openat
	movl	%eax, 32(%rbx)
	notl	%eax
	shrl	$31, %eax
	movl	%eax, %edi
	callq	_ATF_REQUIRE
	leaq	L_.str.2(%rip), %rdi
	callq	_opendir
	movq	%rax, 8(%rbx)
	movl	$1, %edi
	callq	_ATF_REQUIRE
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_opendirat
	movq	%rax, 24(%rbx)
	movl	$1, %edi
	callq	_ATF_REQUIRE
	movq	8(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_opendirat
	movq	%rax, 16(%rbx)
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ATF_REQUIRE                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"srcdir"

L_.str.1:                               ## @.str.1
	.asciz	"target"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.2:                               ## @.str.2
	.asciz	"/"

L_.str.3:                               ## @.str.3
	.asciz	"etc"

L_.str.4:                               ## @.str.4
	.asciz	"usr"

	.no_dead_strip	_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup
_setup:                                 ; @setup
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_atf_tc_get_config_var
	bl	_opendir
	str	x0, [x19]
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_ATF_REQUIRE
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_openat
	str	w0, [x19, #32]
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_ATF_REQUIRE
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_opendir
	str	x0, [x19, #8]
	mov	w0, #1
	bl	_ATF_REQUIRE
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_opendirat
	str	x0, [x19, #24]
	mov	w0, #1
	bl	_ATF_REQUIRE
	ldr	x0, [x19, #8]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_opendirat
	str	x0, [x19, #16]
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ATF_REQUIRE
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"srcdir"

l_.str.1:                               ; @.str.1
	.asciz	"target"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.2:                               ; @.str.2
	.asciz	"/"

l_.str.3:                               ; @.str.3
	.asciz	"etc"

l_.str.4:                               ; @.str.4
	.asciz	"usr"

	.no_dead_strip	_setup
.subsections_via_symbols
