	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_check_exec_array           ## -- Begin function atf_check_exec_array
	.p2align	4, 0x90
_atf_check_exec_array:                  ## @atf_check_exec_array
	.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	%rdi, %r15
	leaq	-28(%rbp), %rdi
	callq	_create_tmpdir
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_atf_check_result_init
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-28(%rbp), %rdi
	callq	_atf_fs_rmdir
	movl	%eax, %edi
	callq	_atf_is_error
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_INV
	jmp	LBB0_6
LBB0_3:
	movq	(%r14), %rcx
	leaq	8(%rcx), %rsi
	leaq	4(%rcx), %rdx
	movq	%r15, %rdi
	callq	_fork_and_wait
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_atf_check_result_fini
	jmp	LBB0_6
LBB0_5:
	movl	%ebx, %edi
	callq	_atf_is_error
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_INV
	leaq	-28(%rbp), %rdi
	callq	_atf_fs_path_fini
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_check_exec_array           ; -- Begin function atf_check_exec_array
	.p2align	2
_atf_check_exec_array:                  ; @atf_check_exec_array
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
	add	x0, sp, #12
	bl	_create_tmpdir
	mov	x19, x0
	bl	_atf_is_error
	cbnz	x0, LBB0_6
; %bb.1:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_atf_check_result_init
	mov	x19, x0
	bl	_atf_is_error
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #12
	bl	_atf_fs_rmdir
	bl	_atf_is_error
	cmp	x0, #0
	cset	w0, eq
	bl	_INV
	b	LBB0_6
LBB0_3:
	ldr	x3, [x20]
	add	x1, x3, #8
	add	x2, x3, #4
	mov	x0, x21
	bl	_fork_and_wait
	mov	x19, x0
	bl	_atf_is_error
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_atf_check_result_fini
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_atf_is_error
	cmp	x0, #0
	cset	w0, eq
	bl	_INV
	add	x0, sp, #12
	bl	_atf_fs_path_fini
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
