	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function primary
_primary:                               ## @primary
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EOI@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	%edi, (%rax)
	je	LBB0_28
## %bb.1:
	movl	%edi, %ebx
	movq	_LPAREN@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_13
## %bb.2:
	movq	_parenlevel@GOTPCREL(%rip), %r15
	incl	(%r15)
	movq	_nargc@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	decq	%rax
	movq	%rax, (%rbx)
	movq	_t_wp@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rdi
	jmp	LBB0_5
LBB0_13:
	movl	%ebx, %edi
	callq	_TOKEN_TYPE
	movq	_UNOP@GOTPCREL(%rip), %rsi
	movq	_nargc@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	cmpq	(%rsi), %rax
	jne	LBB0_23
## %bb.14:
	decq	%rcx
	movq	%rcx, (%rdx)
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	callq	_syntax
LBB0_16:
	movq	_t_wp@GOTPCREL(%rip), %rax
	cmpl	$128, %ebx
	je	LBB0_20
## %bb.17:
	cmpl	$130, %ebx
	je	LBB0_21
## %bb.18:
	cmpl	$129, %ebx
	jne	LBB0_22
## %bb.19:
	movq	(%rax), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rax
	xorl	%r14d, %r14d
	cmpb	$0, (%rax)
	sete	%r14b
	jmp	LBB0_28
LBB0_23:
	testq	%rcx, %rcx
	jle	LBB0_24
## %bb.25:
	movq	_t_wp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	jmp	LBB0_26
LBB0_3:
	xorl	%edi, %edi
LBB0_5:
	callq	_t_lex
	movq	_RPAREN@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_7
## %bb.6:
	decl	(%r15)
	xorl	%r14d, %r14d
	jmp	LBB0_28
LBB0_7:
	movl	%eax, %edi
	callq	_oexpr
	movl	%eax, %r14d
	movq	(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_8
## %bb.9:
	decq	%rax
	movq	%rax, (%rbx)
	movq	_t_wp@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rdi
	jmp	LBB0_10
LBB0_24:
	xorl	%edi, %edi
LBB0_26:
	callq	_t_lex
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TOKEN_TYPE
	movq	_BINOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.29:
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_binop                          ## TAILCALL
LBB0_27:
	movq	_t_wp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	callq	_strlen
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setg	%r14b
	jmp	LBB0_28
LBB0_8:
	xorl	%edi, %edi
LBB0_10:
	callq	_t_lex
	cmpl	(%r12), %eax
	je	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_syntax
LBB0_12:
	decl	(%r15)
	jmp	LBB0_28
LBB0_20:
	movq	(%rax), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rax
	xorl	%r14d, %r14d
	cmpb	$0, (%rax)
	setne	%r14b
LBB0_28:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	(%rax), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rdi
	callq	_getn
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isatty                         ## TAILCALL
LBB0_22:
	movq	(%rax), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_filstat                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOI,4,2                        ## @EOI
	.comm	_LPAREN,4,2                     ## @LPAREN
	.comm	_parenlevel,4,2                 ## @parenlevel
	.comm	_nargc,8,3                      ## @nargc
	.comm	_t_wp,8,3                       ## @t_wp
	.comm	_RPAREN,4,2                     ## @RPAREN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"closing paren expected"

	.comm	_UNOP,8,3                       ## @UNOP
L_.str.1:                               ## @.str.1
	.asciz	"argument expected"

	.comm	_BINOP,8,3                      ## @BINOP
	.no_dead_strip	_primary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function primary
_primary:                               ; @primary
	.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
Lloh0:
	adrp	x8, _EOI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_27
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x8, _LPAREN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LPAREN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_5
; %bb.3:
Lloh6:
	adrp	x20, _parenlevel@GOTPAGE
Lloh7:
	ldr	x20, [x20, _parenlevel@GOTPAGEOFF]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
Lloh8:
	adrp	x21, _nargc@GOTPAGE
Lloh9:
	ldr	x21, [x21, _nargc@GOTPAGEOFF]
	ldr	x8, [x21]
	subs	x8, x8, #1
	b.lt	LBB0_14
; %bb.4:
	str	x8, [x21]
Lloh10:
	adrp	x8, _t_wp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _t_wp@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x0, [x9, #8]!
	str	x9, [x8]
	b	LBB0_15
LBB0_5:
	mov	x0, x19
	bl	_TOKEN_TYPE
Lloh12:
	adrp	x8, _UNOP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UNOP@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x8]
Lloh15:
	adrp	x9, _nargc@GOTPAGE
Lloh16:
	ldr	x9, [x9, _nargc@GOTPAGEOFF]
	ldr	x8, [x9]
	cmp	x0, x10
	b.ne	LBB0_12
; %bb.6:
	subs	x8, x8, #1
	str	x8, [x9]
	b.ne	LBB0_8
; %bb.7:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_syntax
LBB0_8:
Lloh19:
	adrp	x8, _t_wp@GOTPAGE
Lloh20:
	ldr	x8, [x8, _t_wp@GOTPAGEOFF]
	cmp	w19, #128
	b.eq	LBB0_28
; %bb.9:
	cmp	w19, #130
	b.eq	LBB0_29
; %bb.10:
	cmp	w19, #129
	b.ne	LBB0_30
; %bb.11:
	ldr	x9, [x8]
	ldr	x10, [x9, #8]!
	str	x9, [x8]
	ldrb	w8, [x10]
	cmp	w8, #0
	cset	w19, eq
	b	LBB0_27
LBB0_12:
Lloh21:
	adrp	x20, _t_wp@GOTPAGE
Lloh22:
	ldr	x20, [x20, _t_wp@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_19
; %bb.13:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	b	LBB0_20
LBB0_14:
	mov	x0, #0
LBB0_15:
	bl	_t_lex
Lloh23:
	adrp	x22, _RPAREN@GOTPAGE
Lloh24:
	ldr	x22, [x22, _RPAREN@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.16:
	mov	w19, #0
	b	LBB0_26
LBB0_17:
	bl	_oexpr
	mov	x19, x0
	ldr	x8, [x21]
	subs	x8, x8, #1
	b.lt	LBB0_23
; %bb.18:
	str	x8, [x21]
Lloh25:
	adrp	x8, _t_wp@GOTPAGE
Lloh26:
	ldr	x8, [x8, _t_wp@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x0, [x9, #8]!
	str	x9, [x8]
	b	LBB0_24
LBB0_19:
	mov	x0, #0
LBB0_20:
	bl	_t_lex
	mov	x19, x0
	bl	_TOKEN_TYPE
Lloh27:
	adrp	x8, _BINOP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BINOP@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_22
; %bb.21:
	mov	x0, x19
	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
	b	_binop
LBB0_22:
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_strlen
	cmp	x0, #0
	cset	w19, gt
	b	LBB0_27
LBB0_23:
	mov	x0, #0
LBB0_24:
	bl	_t_lex
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_26
; %bb.25:
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_syntax
LBB0_26:
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
LBB0_27:
	mov	x0, x19
	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_28:
	ldr	x9, [x8]
	ldr	x10, [x9, #8]!
	str	x9, [x8]
	ldrb	w8, [x10]
	cmp	w8, #0
	cset	w19, ne
	b	LBB0_27
LBB0_29:
	ldr	x9, [x8]
	ldr	x0, [x9, #8]!
	str	x9, [x8]
	bl	_getn
	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
	b	_isatty
LBB0_30:
	ldr	x9, [x8]
	ldr	x0, [x9, #8]!
	str	x9, [x8]
	mov	x1, x19
	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
	b	_filstat
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_EOI,4,2                        ; @EOI
	.comm	_LPAREN,4,2                     ; @LPAREN
	.comm	_parenlevel,4,2                 ; @parenlevel
	.comm	_nargc,8,3                      ; @nargc
	.comm	_t_wp,8,3                       ; @t_wp
	.comm	_RPAREN,4,2                     ; @RPAREN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"closing paren expected"

	.comm	_UNOP,8,3                       ; @UNOP
l_.str.1:                               ; @.str.1
	.asciz	"argument expected"

	.comm	_BINOP,8,3                      ; @BINOP
	.no_dead_strip	_primary
.subsections_via_symbols
