	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function graph_state
_graph_state:                           ## @graph_state
	.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	_lookaheads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,8), %eax
	movq	_larno@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_graph_file@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_itemset@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_itemsetend@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jae	LBB0_13
## %bb.1:
	movq	_symbol_pname@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$4, %rcx
	movq	_itemsetend@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jae	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movslq	(%rcx), %r14
	shlq	$2, %r14
	movq	_ritem@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax), %ebx
	addq	$4, %rax
	testl	%ebx, %ebx
	jns	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	negl	%ebx
	movl	(%r13), %edi
	movq	(%r12), %rax
	movq	_rlhs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	(%rax,%rcx,8), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_rrhs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rax,%rbx,4), %r15
	shlq	$2, %r15
	movq	_ritem@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	cmpq	%r14, %r15
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %edi
	movq	(%r12), %rax
	movslq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	addq	$4, %r15
	cmpq	%r14, %r15
	jb	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movl	$46, %edi
	callq	_putc
	movl	(%r15), %eax
	testl	%eax, %eax
	leaq	L_.str.3(%rip), %rbx
	js	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %r15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %edi
	movq	(%r12), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %eax
	addq	$4, %r15
	testl	%eax, %eax
	jns	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	testl	%edi, %edi
	jns	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	negl	%edi
	callq	_graph_LA
	jmp	LBB0_12
LBB0_13:
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lookaheads,8,3                 ## @lookaheads
	.comm	_larno,4,2                      ## @larno
	.comm	_graph_file,4,2                 ## @graph_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\tq%d [label=\"%d:\\l"

	.comm	_itemset,8,3                    ## @itemset
	.comm	_itemsetend,8,3                 ## @itemsetend
	.comm	_ritem,8,3                      ## @ritem
L_.str.1:                               ## @.str.1
	.asciz	"  %s -> "

	.comm	_symbol_pname,8,3               ## @symbol_pname
	.comm	_rlhs,8,3                       ## @rlhs
	.comm	_rrhs,8,3                       ## @rrhs
L_.str.2:                               ## @.str.2
	.asciz	"%s "

L_.str.3:                               ## @.str.3
	.asciz	" %s"

L_.str.4:                               ## @.str.4
	.asciz	"\\l"

L_.str.5:                               ## @.str.5
	.asciz	"\"];"

	.no_dead_strip	_graph_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function graph_state
_graph_state:                           ; @graph_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _lookaheads@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lookaheads@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
Lloh3:
	adrp	x9, _larno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _larno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x23, _graph_file@GOTPAGE
Lloh7:
	ldr	x23, [x23, _graph_file@GOTPAGEOFF]
	ldr	w8, [x23]
	stp	x0, x0, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_fprintf
Lloh10:
	adrp	x8, _itemset@GOTPAGE
Lloh11:
	ldr	x8, [x8, _itemset@GOTPAGEOFF]
Lloh12:
	ldr	x24, [x8]
Lloh13:
	adrp	x25, _itemsetend@GOTPAGE
Lloh14:
	ldr	x25, [x25, _itemsetend@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x24, x8
	b.hs	LBB0_12
; %bb.1:
Lloh15:
	adrp	x26, _ritem@GOTPAGE
Lloh16:
	ldr	x26, [x26, _ritem@GOTPAGEOFF]
Lloh17:
	adrp	x27, _symbol_pname@GOTPAGE
Lloh18:
	ldr	x27, [x27, _symbol_pname@GOTPAGEOFF]
Lloh19:
	adrp	x20, l_.str.2@PAGE
Lloh20:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh21:
	adrp	x21, l_.str.3@PAGE
Lloh22:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh23:
	adrp	x22, l_.str.4@PAGE
Lloh24:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x23]
	mov	x1, x22
	bl	_fprintf
	add	x24, x24, #4
	ldr	x8, [x25]
	cmp	x24, x8
	b.hs	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x26]
	ldrsw	x9, [x24]
	add	x28, x8, x9, lsl #2
	mov	x8, x28
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x8], #4
	tbz	w9, #31, LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	neg	w19, w9
	ldr	w0, [x23]
	ldr	x8, [x27]
Lloh25:
	adrp	x9, _rlhs@GOTPAGE
Lloh26:
	ldr	x9, [x9, _rlhs@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	x9, [x9, w19, uxtw #3]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	x8, [x26]
Lloh30:
	adrp	x9, _rrhs@GOTPAGE
Lloh31:
	ldr	x9, [x9, _rrhs@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldrsw	x9, [x9, w19, uxtw #2]
	add	x19, x8, x9, lsl #2
	cmp	x19, x28
	b.hs	LBB0_7
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23]
	ldr	x8, [x27]
	ldrsw	x9, [x19], #4
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
	mov	x1, x20
	bl	_fprintf
	cmp	x19, x28
	b.lo	LBB0_6
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x23]
	mov	w0, #46
	bl	_putc
	ldr	w8, [x19]
	tbnz	w8, #31, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #4
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23]
	ldr	x9, [x27]
	ldr	x8, [x9, w8, uxtw #3]
	str	x8, [sp]
	mov	x1, x21
	bl	_fprintf
	ldr	w8, [x19], #4
	tbz	w8, #31, LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	tbz	w8, #31, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	neg	w0, w8
	bl	_graph_LA
	b	LBB0_2
LBB0_12:
	ldr	w0, [x23]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_fprintf
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_lookaheads,8,3                 ; @lookaheads
	.comm	_larno,4,2                      ; @larno
	.comm	_graph_file,4,2                 ; @graph_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\tq%d [label=\"%d:\\l"

	.comm	_itemset,8,3                    ; @itemset
	.comm	_itemsetend,8,3                 ; @itemsetend
	.comm	_ritem,8,3                      ; @ritem
l_.str.1:                               ; @.str.1
	.asciz	"  %s -> "

	.comm	_symbol_pname,8,3               ; @symbol_pname
	.comm	_rlhs,8,3                       ; @rlhs
	.comm	_rrhs,8,3                       ; @rrhs
l_.str.2:                               ; @.str.2
	.asciz	"%s "

l_.str.3:                               ; @.str.3
	.asciz	" %s"

l_.str.4:                               ; @.str.4
	.asciz	"\\l"

l_.str.5:                               ; @.str.5
	.asciz	"\"];"

	.no_dead_strip	_graph_state
.subsections_via_symbols
