	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evalpipe
_evalpipe:                              ## @evalpipe
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_TRACE
	movq	8(%r12), %rax
	xorl	%esi, %esi
	testq	%rax, %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%esi
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	movq	%r12, %rdi
	callq	_makejob
	movq	%rax, %r14
	movq	8(%r12), %r13
	testq	%r13, %r13
	je	LBB0_25
## %bb.4:
	movl	$-1, %ebx
	leaq	-56(%rbp), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_25
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	callq	_prehash
	movl	$-1, -52(%rbp)
	cmpq	$0, 8(%r13)
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_pipe
	testq	%rax, %rax
	jns	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	js	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_close
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_error
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_forkshell
	testq	%rax, %rax
	je	LBB0_11
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	js	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_close
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-56(%rbp), %ebx
	movl	-52(%rbp), %edi
	cmpl	$-1, %edi
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_close
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_dup2
	movl	%ebx, %edi
	callq	_close
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %edi
	testl	%edi, %edi
	js	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-56(%rbp), %eax
	testl	%ebx, %ebx
	js	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edi
	callq	_close
	movl	-52(%rbp), %edi
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, %edi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %esi
	callq	_dup2
	movl	-52(%rbp), %edi
	callq	_close
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %edi
	movq	_EV_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_evaltree
	testl	%ebx, %ebx
	jns	LBB0_21
	jmp	LBB0_22
LBB0_25:
	cmpl	$0, (%r12)
	je	LBB0_26
## %bb.27:
	movq	_exitstatus@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_28
LBB0_26:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_waitforjob
	movq	_exitstatus@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	callq	_TRACE
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTOFF,4,2                     ## @INTOFF
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Pipe call failed: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_INTON,4,2                      ## @INTON
	.comm	_EV_EXIT,4,2                    ## @EV_EXIT
	.comm	_exitstatus,8,3                 ## @exitstatus
	.no_dead_strip	_evalpipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evalpipe
_evalpipe:                              ; @evalpipe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_TRACE
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w1, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w1, #1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w1, #0
LBB0_4:
	mov	x0, x19
	bl	_makejob
	mov	x20, x0
	ldr	x23, [x19, #8]
	cbz	x23, LBB0_26
; %bb.5:
Lloh3:
	adrp	x24, _EV_EXIT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _EV_EXIT@GOTPAGEOFF]
	mov	w25, #-1
Lloh5:
	adrp	x26, _errno@GOTPAGE
Lloh6:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
	mov	w22, #-1
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x23, #8]
	cbz	x23, LBB0_26
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_prehash
	str	w25, [sp, #4]
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, sp
	bl	_pipe
	tbz	x0, #63, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	tbnz	w22, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_close
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x26]
	bl	_strerror
	mov	x1, x0
	mov	x0, x21
	bl	_error
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x23]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_forkshell
	cbz	x0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	tbnz	w22, #31, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_close
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	w22, w0, [sp]
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_close
	b	LBB0_6
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w22, #1
	b.lt	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_dup2
	mov	x0, x22
	bl	_close
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #4]
	tbnz	w0, #31, LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp]
	tbnz	w22, #31, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w8, LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x8
	bl	_close
	ldr	w0, [sp, #4]
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #1
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w1, #1
	bl	_dup2
	ldr	w0, [sp, #4]
	bl	_close
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	ldr	w1, [x24]
	bl	_evaltree
	tbz	w22, #31, LBB0_14
	b	LBB0_15
LBB0_26:
	ldr	w8, [x19]
	cbz	w8, LBB0_28
; %bb.27:
Lloh9:
	adrp	x8, _exitstatus@GOTPAGE
Lloh10:
	ldr	x8, [x8, _exitstatus@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
	b	LBB0_29
LBB0_28:
	mov	x0, x20
	mov	x1, #0
	bl	_waitforjob
Lloh12:
	adrp	x8, _exitstatus@GOTPAGE
Lloh13:
	ldr	x8, [x8, _exitstatus@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	bl	_TRACE
LBB0_29:
	ldr	x8, [sp, #8]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_INTOFF,4,2                     ; @INTOFF
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Pipe call failed: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_INTON,4,2                      ; @INTON
	.comm	_EV_EXIT,4,2                    ; @EV_EXIT
	.comm	_exitstatus,8,3                 ; @exitstatus
	.no_dead_strip	_evalpipe
.subsections_via_symbols
