	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_output
_c_output:                              ## @c_output
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_c_initialize
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_open_input
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_extendfile
	movq	%rax, %r15
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_open_output
	xorl	%eax, %eax
	callq	_add_warning
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_extendfile
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	_fout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_f_print
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_6
LBB0_5:
	movq	_fout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_f_print
LBB0_6:
	movq	_fout@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ftell
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_definition
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rdi
	callq	_emit
	jmp	LBB0_8
LBB0_9:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:
	movl	(%r12), %edi
	callq	_ftell
	cmpq	%rax, %rbx
	jne	LBB0_11
## %bb.12:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unlink                         ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".h"

	.comm	_fout,4,2                       ## @fout
L_.str.1:                               ## @.str.1
	.asciz	"#include \"%s\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"#include <rpc/rpc.h>\n"

	.no_dead_strip	_c_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c_output
_c_output:                              ; @c_output
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	bl	_c_initialize
	mov	x0, x21
	mov	x1, x22
	bl	_open_input
	cbz	w20, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_extendfile
	mov	x19, x0
LBB0_2:
	mov	x0, x21
	mov	x1, x19
	bl	_open_output
	bl	_add_warning
Lloh0:
	adrp	x22, _fout@GOTPAGE
Lloh1:
	ldr	x22, [x22, _fout@GOTPAGEOFF]
	cbz	x21, LBB0_5
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_extendfile
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	w0, [x22]
	str	x21, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_f_print
	mov	x0, x21
	bl	_free
	b	LBB0_6
LBB0_5:
	ldr	w0, [x22]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_f_print
LBB0_6:
	ldr	w0, [x22]
	bl	_ftell
	mov	x21, x0
	bl	_get_definition
	cbz	x0, LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	bl	_emit
	bl	_get_definition
	cbnz	x0, LBB0_7
LBB0_8:
	cbz	w20, LBB0_11
; %bb.9:
	ldr	w0, [x22]
	bl	_ftell
	cmp	x21, x0
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_unlink
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".h"

	.comm	_fout,4,2                       ; @fout
l_.str.1:                               ; @.str.1
	.asciz	"#include \"%s\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"#include <rpc/rpc.h>\n"

	.no_dead_strip	_c_output
.subsections_via_symbols
