	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vforkexecshell                 ## -- Begin function vforkexecshell
	.p2align	4, 0x90
_vforkexecshell:                        ## @vforkexecshell
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%r9, %rdi
	callq	_TRACE
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_flushall
	movq	_handler@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_vfork
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$-1, %r13d
	movq	_handler@GOTPCREL(%rip), %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_8
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdi
	callq	_TRACE
	movl	(%rbx), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_error
	jmp	LBB0_8
LBB0_3:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_getpid
                                        ## kill: def $eax killed $eax killed $rax
	movslq	%eax, %rdi
	callq	_TRACE
	callq	_setjmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	testq	%r12, %r12
	je	LBB0_7
## %bb.5:
	movl	(%r12), %edi
	callq	_close
	movl	4(%r12), %edi
	cmpl	$1, %edi
	je	LBB0_7
## %bb.6:
	movl	$1, %esi
	callq	_dup2
	movl	4(%r12), %edi
	callq	_close
LBB0_7:
	leaq	-88(%rbp), %rax
	movq	_handler@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_shellexec
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_8:
	movl	%r13d, %ebx
	movq	%r15, (%r12)
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	8(%r14), %rax
	movslq	4(%r14), %rcx
	leaq	(%rcx,%rcx,2), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $ecx killed $ecx def $rcx
	incl	%ecx
	movl	%ecx, 4(%r14)
	movl	%ebx, (%rax,%rdx,4)
	movl	$-1, 4(%rax,%rdx,4)
	movq	_nullstr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax,%rdx,4)
	movl	$1, (%r14)
LBB0_10:
	movslq	%r13d, %rdi
	callq	_TRACE
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_exitstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_jobtab,4,2                     ## @jobtab
	.comm	_INTOFF,4,2                     ## @INTOFF
	.comm	_handler,8,3                    ## @handler
	.comm	_errno,4,2                      ## @errno
	.comm	_INTON,4,2                      ## @INTON
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"Cannot fork: %s"

	.comm	_exitstatus,4,2                 ## @exitstatus
	.comm	_nullstr,4,2                    ## @nullstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vforkexecshell                 ; -- Begin function vforkexecshell
	.p2align	2
_vforkexecshell:                        ; @vforkexecshell
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	mov	x0, x5
	bl	_TRACE
	bl	_flushall
Lloh0:
	adrp	x26, _handler@GOTPAGE
Lloh1:
	ldr	x26, [x26, _handler@GOTPAGEOFF]
	ldr	x27, [x26]
	bl	_vfork
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.1:
	cmn	w20, #1
	b.ne	LBB0_8
; %bb.2:
Lloh2:
	adrp	x21, _errno@GOTPAGE
Lloh3:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldrsw	x0, [x21]
	bl	_TRACE
	ldr	w0, [x21]
	bl	_strerror
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
	b	LBB0_8
LBB0_3:
	bl	_getpid
	sxtw	x0, w0
	bl	_TRACE
	bl	_setjmp
	cbnz	x0, LBB0_11
; %bb.4:
	cbz	x25, LBB0_7
; %bb.5:
	ldr	w0, [x25]
	bl	_close
	ldr	w0, [x25, #4]
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.6:
	mov	w1, #1
	bl	_dup2
	ldr	w0, [x25, #4]
	bl	_close
LBB0_7:
	add	x8, sp, #8
	str	x8, [x26]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_shellexec
LBB0_8:
	mov	x21, x20
	str	x27, [x26]
	cbz	x19, LBB0_10
; %bb.9:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #4]
	mov	w10, #12
                                        ; kill: def $x10 killed $w10
	madd	x8, x9, x10, x8
                                        ; kill: def $w9 killed $w9 killed $x9
	mov	w10, #-1
	stp	w21, w10, [x8]
Lloh6:
	adrp	x10, _nullstr@GOTPAGE
Lloh7:
	ldr	x10, [x10, _nullstr@GOTPAGEOFF]
	add	w9, w9, #1
Lloh8:
	ldr	w10, [x10]
	str	w10, [x8, #8]
	mov	w8, #1
	stp	w8, w9, [x19]
LBB0_10:
	mov	x8, x20
	sxtw	x0, w8
	bl	_TRACE
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
Lloh9:
	adrp	x8, _exitstatus@GOTPAGE
Lloh10:
	ldr	x8, [x8, _exitstatus@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	__exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_jobtab,4,2                     ; @jobtab
	.comm	_INTOFF,4,2                     ; @INTOFF
	.comm	_handler,8,3                    ; @handler
	.comm	_errno,4,2                      ; @errno
	.comm	_INTON,4,2                      ; @INTON
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"Cannot fork: %s"

	.comm	_exitstatus,4,2                 ; @exitstatus
	.comm	_nullstr,4,2                    ; @nullstr
.subsections_via_symbols
