	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emitclosure
_emitclosure:                           ## @emitclosure
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	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	%rdi, %r12
	leaq	L_.str(%rip), %r14
	movq	%rdi, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_print
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_print
	testq	%r12, %r12
	je	LBB0_13
## %bb.6:
	leaq	L_.str.5(%rip), %r15
	leaq	L_.str.3(%rip), %r13
	leaq	L_.str.4(%rip), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_print
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r12), %r12
	testq	%r12, %r12
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpq	$0, (%r12)
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_print
	movq	(%r12), %r14
	testq	%r14, %r14
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_emitrecord
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_9
	jmp	LBB0_11
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	jmp	_print                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"static void %Pclosure_%S(NODEPTR_TYPE, int);\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"static void %Pclosure_%S(NODEPTR_TYPE a, int c) {\n%1struct %Pstate *p = STATE_LABEL(a);\n"

L_.str.3:                               ## @.str.3
	.asciz	"\t"

L_.str.4:                               ## @.str.4
	.asciz	"c"

L_.str.5:                               ## @.str.5
	.asciz	"}\n\n"

	.no_dead_strip	_emitclosure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emitclosure
_emitclosure:                           ; @emitclosure
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_13
; %bb.1:
	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
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	x21, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [sp]
	mov	x0, x20
	bl	_print
	b	LBB0_2
LBB0_5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_print
	cbz	x19, LBB0_12
; %bb.6:
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh6:
	adrp	x21, l_.str.5@PAGE
Lloh7:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh10:
	adrp	x23, l_.str.4@PAGE
Lloh11:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_print
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_12
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x19, [sp]
	mov	x0, x20
	bl	_print
	ldr	x24, [x19]
	cbz	x24, LBB0_7
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w3, [x24]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_emitrecord
	ldr	x24, [x24, #8]
	cbnz	x24, LBB0_11
	b	LBB0_7
LBB0_12:
	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_13:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	b	_print
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"static void %Pclosure_%S(NODEPTR_TYPE, int);\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"static void %Pclosure_%S(NODEPTR_TYPE a, int c) {\n%1struct %Pstate *p = STATE_LABEL(a);\n"

l_.str.3:                               ; @.str.3
	.asciz	"\t"

l_.str.4:                               ; @.str.4
	.asciz	"c"

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

	.no_dead_strip	_emitclosure
.subsections_via_symbols
