	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emitrecalc
_emitrecalc:                            ## @emitrecalc
	.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	(%rsi), %rax
	movq	_TERM@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	8(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.3:
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_print
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_print
	movq	_nts@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:
	leaq	L_.str.5(%rip), %r12
	leaq	L_.str.6(%rip), %r13
	leaq	L_.str.7(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_print
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_print
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_print
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_print
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
LBB0_7:
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TERM,8,3                       ## @TERM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INDIR"

L_.str.1:                               ## @.str.1
	.asciz	"VREGP"

L_.str.2:                               ## @.str.2
	.asciz	"%sif (mayrecalc(a)) {\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s%1struct %Pstate *q = a->syms[RX]->u.t.cse->x.state;\n"

	.comm	_nts,8,3                        ## @nts
L_.str.4:                               ## @.str.4
	.asciz	"%s%1if (q->cost[%P%S_NT] == 0) {\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s%2p->cost[%P%S_NT] = 0;\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s%2p->rule.%P%S = q->rule.%P%S;\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s%1}\n"

L_.str.8:                               ## @.str.8
	.asciz	"%s}\n"

	.no_dead_strip	_emitrecalc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emitrecalc
_emitrecalc:                            ; @emitrecalc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x21, _TERM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TERM@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldr	w0, [x1, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x20, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
LBB0_4:
	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
	add	sp, sp, #80
	ret
LBB0_5:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_print
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_print
Lloh10:
	adrp	x8, _nts@GOTPAGE
Lloh11:
	ldr	x8, [x8, _nts@GOTPAGEOFF]
Lloh12:
	ldr	x24, [x8]
	cbz	x24, LBB0_8
; %bb.6:
Lloh13:
	adrp	x20, l_.str.4@PAGE
Lloh14:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh15:
	adrp	x21, l_.str.5@PAGE
Lloh16:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh17:
	adrp	x22, l_.str.6@PAGE
Lloh18:
	add	x22, x22, l_.str.6@PAGEOFF
Lloh19:
	adrp	x23, l_.str.7@PAGE
Lloh20:
	add	x23, x23, l_.str.7@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x24, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_print
	str	x24, [sp]
	mov	x0, x21
	mov	x1, x19
	bl	_print
	stp	x24, x24, [sp]
	mov	x0, x22
	mov	x1, x19
	bl	_print
	mov	x0, x23
	mov	x1, x19
	bl	_print
	ldr	x24, [x24]
	cbnz	x24, LBB0_7
LBB0_8:
Lloh21:
	adrp	x0, l_.str.8@PAGE
Lloh22:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x19
	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
	add	sp, sp, #80
	b	_print
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_TERM,8,3                       ; @TERM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INDIR"

l_.str.1:                               ; @.str.1
	.asciz	"VREGP"

l_.str.2:                               ; @.str.2
	.asciz	"%sif (mayrecalc(a)) {\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s%1struct %Pstate *q = a->syms[RX]->u.t.cse->x.state;\n"

	.comm	_nts,8,3                        ; @nts
l_.str.4:                               ; @.str.4
	.asciz	"%s%1if (q->cost[%P%S_NT] == 0) {\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s%2p->cost[%P%S_NT] = 0;\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s%2p->rule.%P%S = q->rule.%P%S;\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s%1}\n"

l_.str.8:                               ; @.str.8
	.asciz	"%s}\n"

	.no_dead_strip	_emitrecalc
.subsections_via_symbols
