	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emitrule
_emitrule:                              ## @emitrule
	.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
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r12
	leaq	L_.str.2(%rip), %r15
	leaq	L_.str.1(%rip), %rbx
	movq	%rdi, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_print
	movq	(%r13), %r13
	testq	%r13, %r13
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_print
	movq	8(%r13), %r14
	testq	%r14, %r14
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_print
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_3
	jmp	LBB0_5
LBB0_6:
	movq	_ntnumber@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_print
	testq	%r12, %r12
	je	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_print
	movq	(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movq	_ntnumber@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_print
LBB0_9:
	leaq	L_.str.5(%rip), %rdi
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"static short %Pdecode_%S[] = {\n%10,\n"

L_.str.1:                               ## @.str.1
	.asciz	"%1%d,\n"

L_.str.2:                               ## @.str.2
	.asciz	"};\n\n"

L_.str.3:                               ## @.str.3
	.asciz	"static int %Prule(void *state, int goalnt) {\n%1if (goalnt < 1 || goalnt > %d)\n%2fatal(\"%Prule\", \"Bad goal nonterminal %%d\\n\", goalnt);\n%1if (!state)\n%2return 0;\n%1switch (goalnt) {\n"

	.comm	_ntnumber,4,2                   ## @ntnumber
L_.str.4:                               ## @.str.4
	.asciz	"%1case %P%S_NT:%1return %Pdecode_%S[((struct %Pstate *)state)->rule.%P%S];\n"

L_.str.5:                               ## @.str.5
	.asciz	"%1default:\n%2fatal(\"%Prule\", \"Bad goal nonterminal %%d\\n\", goalnt);\n%2return 0;\n%1}\n}\n\n"

	.no_dead_strip	_emitrule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emitrule
_emitrule:                              ; @emitrule
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.2@PAGE
Lloh3:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x23, x0
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_print
	ldr	x23, [x23]
	cbz	x23, LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	str	x23, [sp]
	mov	x0, x20
	bl	_print
	ldr	x24, [x23, #8]
	cbz	x24, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	str	x8, [sp]
	mov	x0, x22
	bl	_print
	ldr	x24, [x24, #8]
	cbnz	x24, LBB0_4
	b	LBB0_2
LBB0_5:
Lloh6:
	adrp	x8, _ntnumber@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ntnumber@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_print
	cbz	x19, LBB0_9
; %bb.6:
Lloh11:
	adrp	x20, l_.str.4@PAGE
Lloh12:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	stp	x19, x19, [sp, #8]
	str	x19, [sp]
	mov	x0, x20
	bl	_print
	ldr	x19, [x19]
	cbnz	x19, LBB0_7
	b	LBB0_9
LBB0_8:
Lloh13:
	adrp	x8, _ntnumber@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ntnumber@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_print
LBB0_9:
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_print
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"static short %Pdecode_%S[] = {\n%10,\n"

l_.str.1:                               ; @.str.1
	.asciz	"%1%d,\n"

l_.str.2:                               ; @.str.2
	.asciz	"};\n\n"

l_.str.3:                               ; @.str.3
	.asciz	"static int %Prule(void *state, int goalnt) {\n%1if (goalnt < 1 || goalnt > %d)\n%2fatal(\"%Prule\", \"Bad goal nonterminal %%d\\n\", goalnt);\n%1if (!state)\n%2return 0;\n%1switch (goalnt) {\n"

	.comm	_ntnumber,4,2                   ; @ntnumber
l_.str.4:                               ; @.str.4
	.asciz	"%1case %P%S_NT:%1return %Pdecode_%S[((struct %Pstate *)state)->rule.%P%S];\n"

l_.str.5:                               ; @.str.5
	.asciz	"%1default:\n%2fatal(\"%Prule\", \"Bad goal nonterminal %%d\\n\", goalnt);\n%2return 0;\n%1}\n}\n\n"

	.no_dead_strip	_emitrule
.subsections_via_symbols
