	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree                           ## -- Begin function tree
	.p2align	4, 0x90
_tree:                                  ## @tree
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$32, %edi
	callq	_alloc
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_lookup
	movq	%rax, %rbx
	testq	%r15, %r15
	setne	%cl
	testq	%r14, %r14
	setne	%al
	andb	%cl, %al
	movl	%eax, %ecx
	xorb	$1, %cl
	movzbl	%al, %r12d
	addl	%r12d, %r12d
	testq	%r14, %r14
	jne	LBB0_3
## %bb.1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movl	$1, %r12d
	movb	$1, %al
	xorl	%ecx, %ecx
LBB0_3:
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.4:
	testb	%al, %al
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
LBB0_12:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_yyerror
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_term
	jmp	LBB0_13
LBB0_6:
	testq	%rbx, %rbx
	setne	%dl
	xorb	$1, %cl
	orb	%dl, %cl
	jne	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_nonterm
LBB0_13:
	movq	%rax, %rbx
LBB0_14:
	movq	(%rbx), %rax
	movq	_TERM@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_19
## %bb.15:
	movl	8(%rbx), %ecx
	cmpl	$-1, %ecx
	jne	LBB0_17
## %bb.16:
	movl	%r12d, 8(%rbx)
	movl	%r12d, %ecx
LBB0_17:
	movq	%rax, %rdx
	cmpl	%ecx, %r12d
	je	LBB0_19
## %bb.18:
	leaq	L_.str.2(%rip), %rdi
	movq	%rsi, %r12
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_yyerror
	movq	(%rbx), %rax
	movq	(%r12), %rdx
LBB0_19:
	xorl	%ecx, %ecx
	cmpq	%rdx, %rax
	sete	%cl
	movq	%rbx, 24(%r13)
	movl	%ecx, (%r13)
	movq	%r15, 16(%r13)
	testq	%r15, %r15
	je	LBB0_21
## %bb.20:
	addl	(%r15), %ecx
	movl	%ecx, (%r13)
LBB0_21:
	movq	%r14, 8(%r13)
	testq	%r14, %r14
	je	LBB0_23
## %bb.22:
	addl	(%r14), %ecx
	movl	%ecx, (%r13)
LBB0_23:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.10:
	movq	(%rbx), %rcx
	movq	_NONTERM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	setne	%cl
	xorb	$1, %al
	orb	%cl, %al
	jne	LBB0_14
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_12
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"undefined terminal `%s'\n"

	.comm	_NONTERM,8,3                    ## @NONTERM
L_.str.1:                               ## @.str.1
	.asciz	"`%s' is a nonterminal\n"

	.comm	_TERM,8,3                       ## @TERM
L_.str.2:                               ## @.str.2
	.asciz	"inconsistent arity for terminal `%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree                           ; -- Begin function tree
	.p2align	2
_tree:                                  ; @tree
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x22, x0
	mov	w0, #32
	bl	_alloc
	mov	x20, x0
	mov	x0, x22
	bl	_lookup
	mov	x23, x0
	cmp	x21, #0
	cset	w8, ne
	cmp	x19, #0
	cset	w9, ne
	ands	w8, w8, w9
	eor	w9, w8, #0x1
	mov	w10, #2
	csel	w24, w10, wzr, ne
	cbnz	x19, LBB0_3
; %bb.1:
	cbz	x21, LBB0_3
; %bb.2:
	mov	w9, #0
	mov	w8, #1
	mov	w24, #1
LBB0_3:
	cbnz	x23, LBB0_7
; %bb.4:
	tbz	w8, #0, LBB0_7
; %bb.5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	mov	x1, x22
	bl	_yyerror
	mov	x0, x22
	mov	w1, #-1
	bl	_term
	b	LBB0_9
LBB0_7:
	cmp	x23, #0
	cset	w10, ne
	orn	w9, w10, w9
	tbnz	w9, #0, LBB0_20
; %bb.8:
	mov	x0, x22
	bl	_nonterm
LBB0_9:
	mov	x23, x0
LBB0_10:
	ldr	x8, [x23]
Lloh2:
	adrp	x25, _TERM@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TERM@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.11:
	ldr	w10, [x23, #8]
	cmn	w10, #1
	b.ne	LBB0_13
; %bb.12:
	str	w24, [x23, #8]
	mov	x10, x24
LBB0_13:
	mov	x9, x8
	cmp	w24, w10
	b.eq	LBB0_15
; %bb.14:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_yyerror
	ldr	x8, [x23]
	ldr	x9, [x25]
LBB0_15:
	cmp	x8, x9
	cset	w8, eq
	str	w8, [x20]
	stp	x21, x23, [x20, #16]
	cbz	x21, LBB0_17
; %bb.16:
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x20]
LBB0_17:
	str	x19, [x20, #8]
	cbz	x19, LBB0_19
; %bb.18:
	ldr	w9, [x19]
	add	w8, w8, w9
	str	w8, [x20]
LBB0_19:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_20:
	cbz	x23, LBB0_10
; %bb.21:
	ldr	x9, [x23]
Lloh6:
	adrp	x10, _NONTERM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NONTERM@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	cset	w9, ne
	orn	w8, w9, w8
	tbnz	w8, #0, LBB0_10
; %bb.22:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"undefined terminal `%s'\n"

	.comm	_NONTERM,8,3                    ; @NONTERM
l_.str.1:                               ; @.str.1
	.asciz	"`%s' is a nonterminal\n"

	.comm	_TERM,8,3                       ; @TERM
l_.str.2:                               ; @.str.2
	.asciz	"inconsistent arity for terminal `%s'\n"

.subsections_via_symbols
