	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseredir
_parseredir:                            ## @parseredir
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movb	(%rdi), %r15b
	movl	$4, %edi
	callq	_stalloc
	movq	%rax, %r14
	cmpl	$62, %ebx
	jne	LBB0_9
## %bb.1:
	movl	$1, (%r14)
	xorl	%eax, %eax
	callq	_pgetc_linecont
	cmpl	$38, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$124, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$62, %eax
	jne	LBB0_8
## %bb.4:
	movq	_NAPPEND@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movl	$0, (%r14)
	xorl	%eax, %eax
	callq	_pgetc_linecont
	cmpl	$38, %eax
	je	LBB0_15
## %bb.10:
	cmpl	$62, %eax
	je	LBB0_16
## %bb.11:
	cmpl	$60, %eax
	jne	LBB0_17
## %bb.12:
	movq	_NHERE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$16, %edi
	callq	_stalloc
	movq	_heredoc@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	%r14, 8(%rax)
	xorl	%eax, %eax
	callq	_pgetc_linecont
	movq	(%rbx), %rcx
	cmpl	$45, %eax
	jne	LBB0_14
## %bb.13:
	movl	$1, (%rcx)
	testb	%r15b, %r15b
	jne	LBB0_21
	jmp	LBB0_22
LBB0_6:
	movq	_NTOFD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_NCLOBBER@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_15:
	movq	_NFROMFD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_16:
	movq	_NFROMTO@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	testb	%r15b, %r15b
	je	LBB0_22
LBB0_21:
	movsbl	%r15b, %edi
	callq	_digit_val
	movl	%eax, (%r14)
LBB0_22:
	movq	_redirnode@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_NTO@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_NFROM@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_19:
	xorl	%eax, %eax
	callq	_pungetc
	testb	%r15b, %r15b
	jne	LBB0_21
	jmp	LBB0_22
LBB0_14:
	movl	$0, (%rcx)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_NAPPEND,4,2                    ## @NAPPEND
	.comm	_NTOFD,4,2                      ## @NTOFD
	.comm	_NCLOBBER,4,2                   ## @NCLOBBER
	.comm	_NTO,4,2                        ## @NTO
	.comm	_NHERE,4,2                      ## @NHERE
	.comm	_heredoc,8,3                    ## @heredoc
	.comm	_NFROMFD,4,2                    ## @NFROMFD
	.comm	_NFROMTO,4,2                    ## @NFROMTO
	.comm	_NFROM,4,2                      ## @NFROM
	.comm	_redirnode,8,3                  ## @redirnode
	.no_dead_strip	_parseredir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseredir
_parseredir:                            ; @parseredir
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	ldrb	w21, [x0]
	mov	w0, #4
	bl	_stalloc
	mov	x19, x0
	cmp	w20, #62
	b.ne	LBB0_5
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
	bl	_pgetc_linecont
	cmp	w0, #38
	b.eq	LBB0_10
; %bb.2:
	cmp	w0, #124
	b.eq	LBB0_11
; %bb.3:
	cmp	w0, #62
	b.ne	LBB0_17
; %bb.4:
Lloh0:
	adrp	x8, _NAPPEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAPPEND@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
	str	wzr, [x19]
	bl	_pgetc_linecont
	cmp	w0, #38
	b.eq	LBB0_12
; %bb.6:
	cmp	w0, #62
	b.eq	LBB0_13
; %bb.7:
	cmp	w0, #60
	b.ne	LBB0_18
; %bb.8:
Lloh2:
	adrp	x8, _NHERE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NHERE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #16
	bl	_stalloc
Lloh5:
	adrp	x20, _heredoc@GOTPAGE
Lloh6:
	ldr	x20, [x20, _heredoc@GOTPAGEOFF]
	str	x0, [x20]
	str	x19, [x0, #8]
	bl	_pgetc_linecont
	ldr	x8, [x20]
	cmp	w0, #45
	b.ne	LBB0_21
; %bb.9:
	mov	w9, #1
	str	w9, [x8]
	cbnz	w21, LBB0_15
	b	LBB0_16
LBB0_10:
Lloh7:
	adrp	x8, _NTOFD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NTOFD@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
Lloh9:
	adrp	x8, _NCLOBBER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NCLOBBER@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh11:
	adrp	x8, _NFROMFD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NFROMFD@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh13:
	adrp	x8, _NFROMTO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NFROMTO@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	str	w8, [x19]
	cbz	w21, LBB0_16
LBB0_15:
	sxtb	w0, w21
	bl	_digit_val
	str	w0, [x19]
LBB0_16:
Lloh15:
	adrp	x8, _redirnode@GOTPAGE
Lloh16:
	ldr	x8, [x8, _redirnode@GOTPAGEOFF]
Lloh17:
	str	x19, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh18:
	adrp	x8, _NTO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NTO@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh20:
	adrp	x8, _NFROM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NFROM@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_20:
	bl	_pungetc
	cbnz	w21, LBB0_15
	b	LBB0_16
LBB0_21:
	str	wzr, [x8]
	b	LBB0_20
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_NAPPEND,4,2                    ; @NAPPEND
	.comm	_NTOFD,4,2                      ; @NTOFD
	.comm	_NCLOBBER,4,2                   ; @NCLOBBER
	.comm	_NTO,4,2                        ; @NTO
	.comm	_NHERE,4,2                      ; @NHERE
	.comm	_heredoc,8,3                    ; @heredoc
	.comm	_NFROMFD,4,2                    ; @NFROMFD
	.comm	_NFROMTO,4,2                    ; @NFROMTO
	.comm	_NFROM,4,2                      ; @NFROM
	.comm	_redirnode,8,3                  ; @redirnode
	.no_dead_strip	_parseredir
.subsections_via_symbols
