	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_shell
_exec_shell:                            ## @exec_shell
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sigmask
	movl	%eax, %edi
	callq	_sigblock
	movl	%eax, %r13d
	callq	_vfork
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.6:
	movl	%eax, %r15d
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movl	%eax, %r14d
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movl	%eax, %r12d
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	movl	%r15d, %edi
	callq	_waitpid
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_sigsetmask
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_signal
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_signal
	movl	%ebx, %eax
	cmpl	$-1, %ebx
	je	LBB0_8
## %bb.7:
	movl	-44(%rbp), %eax
	jmp	LBB0_8
LBB0_1:
	movl	$1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_5:
	movl	%r13d, %edi
	callq	_sigsetmask
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	movl	%eax, %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_execl
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
	movl	$1, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vfork"

L_.str.1:                               ## @.str.1
	.asciz	"-c"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.no_dead_strip	_exec_shell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_shell
_exec_shell:                            ; @exec_shell
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_sigmask
	bl	_sigblock
	mov	x20, x0
	bl	_vfork
	cbz	w0, LBB0_7
; %bb.2:
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.3:
	mov	x19, x0
Lloh3:
	adrp	x23, _SIGINT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SIGINT@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x22, _SIG_IGN@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_signal
	mov	x21, x0
Lloh7:
	adrp	x24, _SIGQUIT@GOTPAGE
Lloh8:
	ldr	x24, [x24, _SIGQUIT@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w1, [x22]
	bl	_signal
	mov	x22, x0
	mov	w2, #0
	add	x1, sp, #12
	mov	x0, x19
	bl	_waitpid
	mov	x19, x0
	mov	x0, x20
	bl	_sigsetmask
	ldr	w0, [x23]
	mov	x1, x21
	bl	_signal
	ldr	w0, [x24]
	mov	x1, x22
	bl	_signal
	ldr	w8, [sp, #12]
	cmn	w19, #1
	csinv	w0, w8, wzr, ne
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	mov	x0, x20
	bl	_sigsetmask
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x4, #0
	mov	x0, x19
	mov	x1, x22
	mov	x3, x21
	bl	_execl
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_warn
	mov	w0, #1
	bl	__exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vfork"

l_.str.1:                               ; @.str.1
	.asciz	"-c"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.no_dead_strip	_exec_shell
.subsections_via_symbols
