	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parsecmd                       ## -- Begin function parsecmd
	.p2align	4, 0x90
_parsecmd:                              ## @parsecmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_parser_temp_free_all
	movq	_heredoclist@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_tokpushback@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_checkkwd@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_doprompt@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setne	%dil
	callq	_setprompt
	movq	_needprompt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_readtoken
	movq	_TEOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_NEOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_TNL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	incq	(%r14)
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_list                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_heredoclist,8,3                ## @heredoclist
	.comm	_tokpushback,8,3                ## @tokpushback
	.comm	_checkkwd,8,3                   ## @checkkwd
	.comm	_doprompt,4,2                   ## @doprompt
	.comm	_needprompt,8,3                 ## @needprompt
	.comm	_TEOF,4,2                       ## @TEOF
	.comm	_NEOF,8,3                       ## @NEOF
	.comm	_TNL,4,2                        ## @TNL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parsecmd                       ; -- Begin function parsecmd
	.p2align	2
_parsecmd:                              ; @parsecmd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_parser_temp_free_all
Lloh0:
	adrp	x8, _heredoclist@GOTPAGE
Lloh1:
	ldr	x8, [x8, _heredoclist@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x20, _tokpushback@GOTPAGE
Lloh4:
	ldr	x20, [x20, _tokpushback@GOTPAGEOFF]
	str	xzr, [x20]
Lloh5:
	adrp	x8, _checkkwd@GOTPAGE
Lloh6:
	ldr	x8, [x8, _checkkwd@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	adrp	x8, _doprompt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _doprompt@GOTPAGEOFF]
Lloh10:
	str	w19, [x8]
	cmp	w19, #0
	cset	w0, ne
	bl	_setprompt
Lloh11:
	adrp	x8, _needprompt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _needprompt@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
	bl	_readtoken
Lloh14:
	adrp	x8, _TEOF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TEOF@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh17:
	adrp	x8, _NEOF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NEOF@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	b	LBB0_4
LBB0_2:
Lloh20:
	adrp	x8, _TNL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TNL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_list
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_heredoclist,8,3                ; @heredoclist
	.comm	_tokpushback,8,3                ; @tokpushback
	.comm	_checkkwd,8,3                   ; @checkkwd
	.comm	_doprompt,4,2                   ; @doprompt
	.comm	_needprompt,8,3                 ; @needprompt
	.comm	_TEOF,4,2                       ; @TEOF
	.comm	_NEOF,8,3                       ; @NEOF
	.comm	_TNL,4,2                        ; @TNL
.subsections_via_symbols
