	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evalsubshell
_evalsubshell:                          ## @evalsubshell
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movq	_NBACKGND@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_exitstatus@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_oexitstatus@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	4(%rdi), %edi
	callq	_expredir
	xorl	%ebx, %ebx
	cmpq	%r14, %r13
	sete	%r12b
	je	LBB0_3
## %bb.1:
	movq	_EV_EXIT@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_have_traps
	testl	%eax, %eax
	je	LBB0_8
LBB0_3:
	movb	%r12b, %bl
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_makejob
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_forkshell
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	%r14, %r13
	jne	LBB0_5
## %bb.6:
	movq	_exitstatus@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_7
LBB0_8:
	cmpq	%r14, %r13
	movq	_EV_TESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	$-1, %ebx
	cmovel	%eax, %ebx
	andl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	4(%r15), %edi
	xorl	%esi, %esi
	callq	_redirect
	movl	(%r15), %edi
	movq	_EV_EXIT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_evaltree                       ## TAILCALL
LBB0_5:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_waitforjob
	movq	_exitstatus@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NBACKGND,8,3                   ## @NBACKGND
	.comm	_exitstatus,8,3                 ## @exitstatus
	.comm	_oexitstatus,8,3                ## @oexitstatus
	.comm	_EV_EXIT,4,2                    ## @EV_EXIT
	.comm	_EV_TESTED,4,2                  ## @EV_TESTED
	.comm	_INTOFF,4,2                     ## @INTOFF
	.comm	_INTON,4,2                      ## @INTON
	.no_dead_strip	_evalsubshell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evalsubshell
_evalsubshell:                          ; @evalsubshell
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	x24, [x0]
Lloh0:
	adrp	x8, _NBACKGND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NBACKGND@GOTPAGEOFF]
Lloh2:
	adrp	x23, _exitstatus@GOTPAGE
Lloh3:
	ldr	x23, [x23, _exitstatus@GOTPAGEOFF]
Lloh4:
	ldr	x25, [x8]
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _oexitstatus@GOTPAGE
Lloh6:
	ldr	x9, [x9, _oexitstatus@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
	ldr	w0, [x0, #4]
	bl	_expredir
	cmp	x24, x25
	cset	w21, eq
	b.eq	LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _EV_EXIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EV_EXIT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	bl	_have_traps
	cbz	w0, LBB0_6
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	bl	_makejob
	mov	x22, x0
	mov	x1, x19
	mov	x2, x21
	bl	_forkshell
	cbz	x0, LBB0_6
; %bb.4:
	cmp	x24, x25
	b.ne	LBB0_7
; %bb.5:
	str	xzr, [x23]
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _EV_TESTED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EV_TESTED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x24, x25
	mov	w9, #-1
	csinv	w8, w9, w8, ne
	and	w20, w8, w20
	ldr	w0, [x19, #4]
	mov	w1, #0
	bl	_redirect
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _EV_EXIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EV_EXIT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w1, w8, w20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_evaltree
LBB0_7:
	mov	x0, x22
	mov	x1, #0
	bl	_waitforjob
	str	x0, [x23]
LBB0_8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NBACKGND,8,3                   ; @NBACKGND
	.comm	_exitstatus,8,3                 ; @exitstatus
	.comm	_oexitstatus,8,3                ; @oexitstatus
	.comm	_EV_EXIT,4,2                    ; @EV_EXIT
	.comm	_EV_TESTED,4,2                  ; @EV_TESTED
	.comm	_INTOFF,4,2                     ; @INTOFF
	.comm	_INTON,4,2                      ; @INTON
	.no_dead_strip	_evalsubshell
.subsections_via_symbols
