	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_posix_spawn_file_actions_addclose ## -- Begin function posix_spawn_file_actions_addclose
	.p2align	4, 0x90
_posix_spawn_file_actions_addclose:     ## @posix_spawn_file_actions_addclose
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_FAE_CLOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	%ebx, (%rax)
	movq	(%r14), %rdi
	movq	_fae_list@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_STAILQ_INSERT_TAIL
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EBADF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_errno,4,2                      ## @errno
	.comm	_FAE_CLOSE,4,2                  ## @FAE_CLOSE
	.comm	_fae_list,4,2                   ## @fae_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_posix_spawn_file_actions_addclose ; -- Begin function posix_spawn_file_actions_addclose
	.p2align	2
_posix_spawn_file_actions_addclose:     ; @posix_spawn_file_actions_addclose
	.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
	tbnz	w1, #31, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	w0, #8
	bl	_malloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
Lloh0:
	adrp	x8, _FAE_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAE_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w20, w8, [x0]
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _fae_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fae_list@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_STAILQ_INSERT_TAIL
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _EBADF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_errno,4,2                      ; @errno
	.comm	_FAE_CLOSE,4,2                  ; @FAE_CLOSE
	.comm	_fae_list,4,2                   ; @fae_list
.subsections_via_symbols
