	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _posix_spawn_thr
__posix_spawn_thr:                      ## @_posix_spawn_thr
	.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	%rdi, %rbx
	movq	40(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %edi
	callq	_process_spawnattr
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_10
LBB0_2:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %edi
	callq	_process_file_actions
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_10
LBB0_4:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_6
## %bb.5:
	movq	_environ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_6:
	cmpq	$0, 24(%rbx)
	movl	20(%rbx), %edi
	movl	16(%rbx), %esi
	jne	LBB0_7
## %bb.8:
	callq	__execve
	jmp	LBB0_9
LBB0_7:
	callq	__execvpe
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_10:
	movl	$127, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_environ,8,3                    ## @environ
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	__posix_spawn_thr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _posix_spawn_thr
__posix_spawn_thr:                      ; @_posix_spawn_thr
	.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, x0
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8]
	bl	_process_spawnattr
	str	x0, [x19, #8]
	cbnz	x0, LBB0_8
LBB0_2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x8]
	bl	_process_file_actions
	str	x0, [x19, #8]
	cbnz	x0, LBB0_8
LBB0_4:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _environ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _environ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x2, x9, x8, eq
	ldr	x8, [x19, #24]
	ldp	w1, w0, [x19, #16]
	cbnz	x8, LBB0_6
; %bb.5:
	bl	__execve
	b	LBB0_7
LBB0_6:
	bl	__execvpe
LBB0_7:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_8:
	mov	w0, #127
	bl	__exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_environ,8,3                    ; @environ
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	__posix_spawn_thr
.subsections_via_symbols
