	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_popenve                        ## -- Begin function popenve
	.p2align	4, 0x90
_popenve:                               ## @popenve
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	%rcx, -56(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_pdes_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	callq	_vfork
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.3:
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	%eax, %edx
	movq	-56(%rbp), %rcx
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_pdes_parent
	movq	(%rbx), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_pdes_error
	movl	%r15d, (%r14)
LBB0_1:
	xorl	%eax, %eax
                                        ## kill: def $rax killed $eax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_9
## %bb.6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
LBB0_8:
	movq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdi
	callq	_pdes_child
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_execve
	movl	$127, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_pidlist_lock,4,2               ## @pidlist_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_popenve                        ; -- Begin function popenve
	.p2align	2
_popenve:                               ; @popenve
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	x3, [sp, #8]
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_pdes_get
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	bl	_vfork
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	cbz	w0, LBB0_8
; %bb.3:
	mov	x2, x0
	ldr	x3, [sp, #8]
	add	x0, sp, #16
	mov	x1, x22
	bl	_pdes_parent
	ldr	x0, [x22]
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x19, _errno@GOTPAGE
Lloh4:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w20, [x19]
	add	x0, sp, #16
	mov	x1, x22
	bl	_pdes_error
	mov	x0, #0
	str	w20, [x19]
LBB0_5:
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	bl	___stack_chk_fail
LBB0_8:
	ldr	x1, [sp, #8]
	add	x0, sp, #16
	bl	_pdes_child
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_execve
	mov	w0, #127
	bl	__exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_pidlist_lock,4,2               ; @pidlist_lock
.subsections_via_symbols
