	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_header
_write_header:                          ## @write_header
	.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	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movl	$607, %esi                      ## imm = 0x25F
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fwrite
	movq	_mc_nodes@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	L_.str.1(%rip), %rdi
	movl	$39, %esi
	movl	$1, %edx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rcx
	callq	_fwrite
	movq	_mc_severity_codes_count@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_8
## %bb.1:
	jle	LBB0_7
## %bb.2:
	movq	_mc_severity_codes@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %r14
	movq	(%r14), %rdi
	callq	_convert_unicode_to_ACP
	movq	16(%r14), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_mcset_out_values_are_decimal@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	L_.str.4(%rip), %r12
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r12
	callq	_convert_unicode_to_ACP
	movq	16(%r14), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	_mc_severity_codes_count@GOTPCREL(%rip), %r12
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
LBB0_8:
	leaq	L_.str.6(%rip), %rdi
	movl	$43, %esi
	movl	$1, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
	movq	_mc_facility_codes_count@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_16
## %bb.9:
	jle	LBB0_15
## %bb.10:
	movq	_mc_facility_codes@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %r14
	movq	(%r14), %rdi
	callq	_convert_unicode_to_ACP
	movq	16(%r14), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_mcset_out_values_are_decimal@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	%r12, %r15
	leaq	L_.str.4(%rip), %r12
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r12
	callq	_convert_unicode_to_ACP
	movq	16(%r14), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %r12
	movq	_mc_facility_codes@GOTPCREL(%rip), %r15
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_14
LBB0_15:
	leaq	L_.str.5(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
LBB0_16:
	movl	$10, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_fputc
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.17:
	movq	_mcset_msg_id_typedef@GOTPCREL(%rip), %r14
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_24
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	callq	_convert_unicode_to_ACP
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_fputs
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	16(%rbx), %r8d
	movl	20(%rbx), %edx
	movl	(%r14), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_write_header_define
	jmp	LBB0_23
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/* Do not edit this file manually.\n   This file is autogenerated by windmc.  */\n\n//\n//  The values are 32 bit layed out as follows:\n//\n//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1\n//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0\n//  +---+-+-+-----------------------+-------------------------------+\n//  |Sev|C|R|     Facility          |               Code            |\n//  +---+-+-+-----------------------+-------------------------------+\n//\n//  where\n//\n//      C    - is the Customer code flag\n//\n//      R    - is a reserved bit\n//\n//      Code - is the facility's status code\n//\n"

	.comm	_mc_nodes,8,3                   ## @mc_nodes
L_.str.1:                               ## @.str.1
	.asciz	"//      Sev  - is the severity code\n//\n"

	.comm	_mc_severity_codes_count,4,2    ## @mc_severity_codes_count
	.comm	_mc_severity_codes,8,3          ## @mc_severity_codes
L_.str.2:                               ## @.str.2
	.asciz	"//           %s - %02lx\n"

	.comm	_mcset_out_values_are_decimal,4,2 ## @mcset_out_values_are_decimal
L_.str.3:                               ## @.str.3
	.asciz	"#define %s 0x%lx\n"

L_.str.4:                               ## @.str.4
	.asciz	"#define %s 0x%lu\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"//      Facility - is the facility code\n//\n"

	.comm	_mc_facility_codes_count,4,2    ## @mc_facility_codes_count
	.comm	_mc_facility_codes,8,3          ## @mc_facility_codes
L_.str.7:                               ## @.str.7
	.asciz	"//           %s - %04lx\n"

	.comm	_mcset_msg_id_typedef,4,2       ## @mcset_msg_id_typedef
	.no_dead_strip	_write_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_header
_write_header:                          ; @write_header
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #607
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh2:
	adrp	x8, _mc_nodes@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mc_nodes@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #39
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh7:
	adrp	x22, _mc_severity_codes_count@GOTPAGE
Lloh8:
	ldr	x22, [x22, _mc_severity_codes_count@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_8
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
Lloh9:
	adrp	x24, _mc_severity_codes@GOTPAGE
Lloh10:
	ldr	x24, [x24, _mc_severity_codes@GOTPAGEOFF]
Lloh11:
	adrp	x20, l_.str.2@PAGE
Lloh12:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh13:
	adrp	x26, l_.str.4@PAGE
Lloh14:
	add	x26, x26, l_.str.4@PAGEOFF
Lloh15:
	adrp	x27, l_.str.3@PAGE
Lloh16:
	add	x27, x27, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x28, [x8, x23, lsl #3]
	ldr	x0, [x28]
	bl	_convert_unicode_to_ACP
	ldr	x8, [x28, #16]
	stp	x0, x8, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_fprintf
	ldr	x0, [x28, #8]
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh17:
	adrp	x8, _mcset_out_values_are_decimal@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mcset_out_values_are_decimal@GOTPAGEOFF]
Lloh19:
	ldr	w25, [x8]
	bl	_convert_unicode_to_ACP
	ldr	x8, [x28, #16]
	cmp	w25, #0
	csel	x1, x27, x26, eq
	stp	x0, x8, [sp]
	mov	x0, x19
	bl	_fprintf
	b	LBB0_3
LBB0_7:
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_8:
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #43
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh24:
	adrp	x22, _mc_facility_codes_count@GOTPAGE
Lloh25:
	ldr	x22, [x22, _mc_facility_codes_count@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_16
; %bb.9:
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.10:
	mov	x23, #0
Lloh26:
	adrp	x24, _mc_facility_codes@GOTPAGE
Lloh27:
	ldr	x24, [x24, _mc_facility_codes@GOTPAGEOFF]
Lloh28:
	adrp	x20, l_.str.7@PAGE
Lloh29:
	add	x20, x20, l_.str.7@PAGEOFF
Lloh30:
	adrp	x26, l_.str.4@PAGE
Lloh31:
	add	x26, x26, l_.str.4@PAGEOFF
Lloh32:
	adrp	x27, l_.str.3@PAGE
Lloh33:
	add	x27, x27, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.ge	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x28, [x8, x23, lsl #3]
	ldr	x0, [x28]
	bl	_convert_unicode_to_ACP
	ldr	x8, [x28, #16]
	stp	x0, x8, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_fprintf
	ldr	x0, [x28, #8]
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh34:
	adrp	x8, _mcset_out_values_are_decimal@GOTPAGE
Lloh35:
	ldr	x8, [x8, _mcset_out_values_are_decimal@GOTPAGEOFF]
Lloh36:
	ldr	w25, [x8]
	bl	_convert_unicode_to_ACP
	ldr	x8, [x28, #16]
	cmp	w25, #0
	csel	x1, x27, x26, eq
	stp	x0, x8, [sp]
	mov	x0, x19
	bl	_fprintf
	b	LBB0_11
LBB0_15:
Lloh37:
	adrp	x0, l_.str.5@PAGE
Lloh38:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_16:
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	cbz	x21, LBB0_24
; %bb.17:
Lloh39:
	adrp	x20, _mcset_msg_id_typedef@GOTPAGE
Lloh40:
	ldr	x20, [x20, _mcset_msg_id_typedef@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_24
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	cbz	x0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_convert_unicode_to_ACP
	cbz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x1, x19
	bl	_fputs
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x1, [x21, #24]
	cbz	x1, LBB0_18
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w3, [x20]
	ldp	w4, w2, [x21, #16]
	mov	x0, x19
	bl	_write_header_define
	b	LBB0_18
LBB0_24:
	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
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/* Do not edit this file manually.\n   This file is autogenerated by windmc.  */\n\n//\n//  The values are 32 bit layed out as follows:\n//\n//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1\n//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0\n//  +---+-+-+-----------------------+-------------------------------+\n//  |Sev|C|R|     Facility          |               Code            |\n//  +---+-+-+-----------------------+-------------------------------+\n//\n//  where\n//\n//      C    - is the Customer code flag\n//\n//      R    - is a reserved bit\n//\n//      Code - is the facility's status code\n//\n"

	.comm	_mc_nodes,8,3                   ; @mc_nodes
l_.str.1:                               ; @.str.1
	.asciz	"//      Sev  - is the severity code\n//\n"

	.comm	_mc_severity_codes_count,4,2    ; @mc_severity_codes_count
	.comm	_mc_severity_codes,8,3          ; @mc_severity_codes
l_.str.2:                               ; @.str.2
	.asciz	"//           %s - %02lx\n"

	.comm	_mcset_out_values_are_decimal,4,2 ; @mcset_out_values_are_decimal
l_.str.3:                               ; @.str.3
	.asciz	"#define %s 0x%lx\n"

l_.str.4:                               ; @.str.4
	.asciz	"#define %s 0x%lu\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"//      Facility - is the facility code\n//\n"

	.comm	_mc_facility_codes_count,4,2    ; @mc_facility_codes_count
	.comm	_mc_facility_codes,8,3          ; @mc_facility_codes
l_.str.7:                               ; @.str.7
	.asciz	"//           %s - %04lx\n"

	.comm	_mcset_msg_id_typedef,4,2       ; @mcset_msg_id_typedef
	.no_dead_strip	_write_header
.subsections_via_symbols
