	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simplecmd
_simplecmd:                             ## @simplecmd
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	leaq	-72(%rbp), %rcx
	cmovneq	%rdi, %rcx
	movq	%rsi, -72(%rbp)
	movq	$0, -56(%rbp)
	movq	_CHKALIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-56(%rbp), %r13
	movq	_TWORD@GOTPCREL(%rip), %r12
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%ebx, %r14d
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %ebx
	movq	_checkkwd@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	xorl	%eax, %eax
	callq	_readtoken
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_makename
	movq	%rax, %r15
	movq	%rax, (%r13)
	movq	%rax, %r13
	addq	$8, %r13
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_wordtext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isassignment
	testl	%eax, %eax
	cmovel	%eax, %ebx
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_lasttoken@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TREDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_redirnode@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	xorl	%eax, %eax
	callq	_parsefname
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_7:
	movq	_TLP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_19
## %bb.8:
	movq	-56(%rbp), %rax
	addq	$8, %rax
	cmpq	%rax, %r13
	jne	LBB0_19
## %bb.9:
	cmpq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	jne	LBB0_19
## %bb.10:
	movq	_TRP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_consumetoken
	movq	_plinno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_funclinno@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	(%r15), %rdi
	callq	_noexpand
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movq	_quoteflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_14
## %bb.12:
	movq	(%r15), %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	(%r15), %r14
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movsbl	-1(%rax,%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	callq	_synerror
LBB0_15:
	movq	(%r15), %rdi
	callq	_rmescapes
	movq	(%r15), %rdi
	leaq	-60(%rbp), %rsi
	callq	_find_builtin
	testq	%rax, %rax
	js	LBB0_18
## %bb.16:
	cmpl	$0, -60(%rbp)
	je	LBB0_18
## %bb.17:
	leaq	L_.str.2(%rip), %rdi
	callq	_synerror
LBB0_18:
	movq	_NDEFUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_command
	movq	%rax, 8(%r15)
	movq	$0, (%rbx)
	jmp	LBB0_20
LBB0_19:
	movq	_tokpushback@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	$0, (%r13)
	movq	$0, (%rcx)
	movl	$4, %edi
	callq	_stalloc
	movq	%rax, %r15
	movq	_NCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	-56(%rbp), %rax
	movq	%rax, 8(%r15)
	movq	-72(%rbp), %rax
	movq	%rax, (%r15)
LBB0_20:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHKALIAS,4,2                   ## @CHKALIAS
	.comm	_checkkwd,4,2                   ## @checkkwd
	.comm	_TWORD,8,3                      ## @TWORD
	.comm	_wordtext,4,2                   ## @wordtext
	.comm	_lasttoken,8,3                  ## @lasttoken
	.comm	_TREDIR,8,3                     ## @TREDIR
	.comm	_redirnode,8,3                  ## @redirnode
	.comm	_TLP,8,3                        ## @TLP
	.comm	_TRP,4,2                        ## @TRP
	.comm	_plinno,8,3                     ## @plinno
	.comm	_funclinno,8,3                  ## @funclinno
	.comm	_quoteflag,8,3                  ## @quoteflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"!%*+-=?@}~"

L_.str.1:                               ## @.str.1
	.asciz	"Bad function name"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot override a special builtin with a function"

	.comm	_NDEFUN,4,2                     ## @NDEFUN
	.comm	_tokpushback,4,2                ## @tokpushback
	.comm	_NCMD,4,2                       ## @NCMD
	.no_dead_strip	_simplecmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simplecmd
_simplecmd:                             ; @simplecmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, #0
	stp	xzr, x1, [sp, #16]
	add	x8, sp, #24
	cmp	x1, #0
	csel	x22, x8, x0, eq
Lloh0:
	adrp	x8, _CHKALIAS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHKALIAS@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
Lloh3:
	adrp	x23, _checkkwd@GOTPAGE
Lloh4:
	ldr	x23, [x23, _checkkwd@GOTPAGEOFF]
Lloh5:
	adrp	x24, _TWORD@GOTPAGE
Lloh6:
	ldr	x24, [x24, _TWORD@GOTPAGEOFF]
Lloh7:
	adrp	x25, _wordtext@GOTPAGE
Lloh8:
	ldr	x25, [x25, _wordtext@GOTPAGEOFF]
Lloh9:
	adrp	x27, _lasttoken@GOTPAGE
Lloh10:
	ldr	x27, [x27, _lasttoken@GOTPAGEOFF]
	add	x21, sp, #16
Lloh11:
	adrp	x28, _TREDIR@GOTPAGE
Lloh12:
	ldr	x28, [x28, _TREDIR@GOTPAGEOFF]
Lloh13:
	adrp	x20, _redirnode@GOTPAGE
Lloh14:
	ldr	x20, [x20, _redirnode@GOTPAGEOFF]
	str	x22, [sp]                       ; 8-byte Folded Spill
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x8, x26
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x26, x8
	str	w8, [x23]
	bl	_readtoken
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	bl	_makename
	mov	x19, x0
	mov	w8, #0
	str	x0, [x21]
	add	x21, x0, #8
	cbz	w26, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	w0, [x25]
	bl	_isassignment
	cmp	w0, #0
	csel	w8, wzr, w26, eq
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x19, [x20]
	str	x19, [x22]
	bl	_parsefname
	mov	x22, x19
	b	LBB0_1
LBB0_7:
Lloh15:
	adrp	x9, _TLP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TLP@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x10, [sp, #16]
	add	x10, x10, #8
	cmp	x8, x9
	ccmp	x21, x10, #0, eq
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ccmp	x22, x8, #0, eq
	b.eq	LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _tokpushback@GOTPAGE
Lloh19:
	ldr	x8, [x8, _tokpushback@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	str	xzr, [x21]
	str	xzr, [x22]
	mov	w0, #4
	bl	_stalloc
	mov	x19, x0
Lloh20:
	adrp	x8, _NCMD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NCMD@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x0]
	ldp	x8, x9, [sp, #16]
	stp	x9, x8, [x0]
	b	LBB0_18
LBB0_9:
Lloh23:
	adrp	x8, _TRP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TRP@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_consumetoken
Lloh26:
	adrp	x8, _plinno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _plinno@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
Lloh29:
	adrp	x21, _funclinno@GOTPAGE
Lloh30:
	ldr	x21, [x21, _funclinno@GOTPAGEOFF]
	str	x8, [x21]
	ldr	x0, [x19]
	bl	_noexpand
	cbz	w0, LBB0_13
; %bb.10:
Lloh31:
	adrp	x8, _quoteflag@GOTPAGE
Lloh32:
	ldr	x8, [x8, _quoteflag@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cbnz	x8, LBB0_13
; %bb.11:
	ldr	x0, [x19]
	mov	w1, #47
	bl	_strchr
	cbnz	x0, LBB0_13
; %bb.12:
	ldr	x20, [x19]
	mov	x0, x20
	bl	_strlen
	add	x8, x20, w0, sxtw
	ldursb	w1, [x8, #-1]
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strchr
	cbz	x0, LBB0_14
LBB0_13:
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_synerror
LBB0_14:
	ldr	x0, [x19]
	bl	_rmescapes
	ldr	x0, [x19]
	add	x1, sp, #12
	bl	_find_builtin
	tbnz	x0, #63, LBB0_17
; %bb.15:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_17
; %bb.16:
Lloh38:
	adrp	x0, l_.str.2@PAGE
Lloh39:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_synerror
LBB0_17:
Lloh40:
	adrp	x8, _NDEFUN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NDEFUN@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	w8, [x19]
	bl	_command
	str	x0, [x19, #8]
	str	xzr, [x21]
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_CHKALIAS,4,2                   ; @CHKALIAS
	.comm	_checkkwd,4,2                   ; @checkkwd
	.comm	_TWORD,8,3                      ; @TWORD
	.comm	_wordtext,4,2                   ; @wordtext
	.comm	_lasttoken,8,3                  ; @lasttoken
	.comm	_TREDIR,8,3                     ; @TREDIR
	.comm	_redirnode,8,3                  ; @redirnode
	.comm	_TLP,8,3                        ; @TLP
	.comm	_TRP,4,2                        ; @TRP
	.comm	_plinno,8,3                     ; @plinno
	.comm	_funclinno,8,3                  ; @funclinno
	.comm	_quoteflag,8,3                  ; @quoteflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"!%*+-=?@}~"

l_.str.1:                               ; @.str.1
	.asciz	"Bad function name"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot override a special builtin with a function"

	.comm	_NDEFUN,4,2                     ; @NDEFUN
	.comm	_tokpushback,4,2                ; @tokpushback
	.comm	_NCMD,4,2                       ; @NCMD
	.no_dead_strip	_simplecmd
.subsections_via_symbols
