	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_sorts
_do_sorts:                              ## @do_sorts
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_mc_nodes_lang_count@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movq	_mc_nodes@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.1:
	xorl	%edi, %edi
	movq	%rbx, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%edi
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, (%r14)
	jmp	LBB0_5
LBB0_6:
	testl	%edi, %edi
	je	LBB0_15
## %bb.7:
	shll	$3, %edi
	callq	_xmalloc
	movq	_mc_nodes_lang@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.8:
	xorl	%eax, %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cltq
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx), %rsi
	movq	%rdx, (%rsi,%rax,8)
	incq	%rax
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	movq	(%rcx), %rax
LBB0_14:
	movslq	(%r14), %rsi
	movq	_sort_mc_node_lang@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	movl	$8, %edx
	callq	_qsort
LBB0_15:
	movl	$-8, %r14d
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	%ebx, %edi
	callq	_enum_facility
	addl	$8, %r14d
	testq	%rax, %rax
	jne	LBB0_16
## %bb.17:
	movq	_mc_facility_codes_count@GOTPCREL(%rip), %r15
	movl	%ebx, (%r15)
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.18:
	movl	%r14d, %edi
	callq	_xmalloc
	movq	_mc_facility_codes@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	xorl	%edi, %edi
	callq	_enum_facility
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movl	%ebx, %edi
	callq	_enum_facility
	testq	%rax, %rax
	jne	LBB0_20
LBB0_21:
	movq	(%r14), %rdi
	movslq	(%r15), %rsi
	movq	_sort_keyword_by_nval@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_qsort
LBB0_22:
	movl	$-8, %r14d
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	%ebx, %edi
	callq	_enum_severity
	addl	$8, %r14d
	testq	%rax, %rax
	jne	LBB0_23
## %bb.24:
	movq	_mc_severity_codes_count@GOTPCREL(%rip), %r15
	movl	%ebx, (%r15)
	testl	%ebx, %ebx
	je	LBB0_29
## %bb.25:
	movl	%r14d, %edi
	callq	_xmalloc
	movq	_mc_severity_codes@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	xorl	%edi, %edi
	callq	_enum_severity
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movl	%ebx, %edi
	callq	_enum_severity
	testq	%rax, %rax
	jne	LBB0_27
LBB0_28:
	movq	(%r14), %rdi
	movslq	(%r15), %rsi
	movq	_sort_keyword_by_nval@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qsort                          ## TAILCALL
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mc_nodes_lang_count,4,2        ## @mc_nodes_lang_count
	.comm	_mc_nodes,8,3                   ## @mc_nodes
	.comm	_mc_nodes_lang,8,3              ## @mc_nodes_lang
	.comm	_sort_mc_node_lang,4,2          ## @sort_mc_node_lang
	.comm	_mc_facility_codes_count,4,2    ## @mc_facility_codes_count
	.comm	_mc_facility_codes,8,3          ## @mc_facility_codes
	.comm	_sort_keyword_by_nval,4,2       ## @sort_keyword_by_nval
	.comm	_mc_severity_codes_count,4,2    ## @mc_severity_codes_count
	.comm	_mc_severity_codes,8,3          ## @mc_severity_codes
	.no_dead_strip	_do_sorts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_sorts
_do_sorts:                              ; @do_sorts
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _mc_nodes_lang_count@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mc_nodes_lang_count@GOTPAGEOFF]
	str	wzr, [x19]
Lloh2:
	adrp	x8, _mc_nodes@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mc_nodes@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
	cbz	x20, LBB0_15
; %bb.1:
	mov	w8, #0
	mov	x9, x20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9]
	cbz	x9, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w8, #1
	ldr	x10, [x10]
	cbnz	x10, LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w8, [x19]
	b	LBB0_2
LBB0_6:
	cbz	w8, LBB0_15
; %bb.7:
	lsl	w0, w8, #3
	bl	_xmalloc
Lloh5:
	adrp	x8, _mc_nodes_lang@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mc_nodes_lang@GOTPAGEOFF]
	str	x0, [x8]
	cbz	x20, LBB0_14
; %bb.8:
	mov	w9, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x20, [x20]
	cbz	x20, LBB0_13
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x10, [x20, #8]
	cbz	x10, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sbfiz	x11, x9, #3, #32
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x8]
	str	x10, [x12, x11]
	ldr	x10, [x10]
	add	x11, x11, #8
	add	w9, w9, #1
	cbnz	x10, LBB0_12
	b	LBB0_9
LBB0_13:
	ldr	x0, [x8]
LBB0_14:
	ldrsw	x1, [x19]
Lloh7:
	adrp	x8, _sort_mc_node_lang@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sort_mc_node_lang@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	w2, #8
	bl	_qsort
LBB0_15:
	mov	w19, #-8
	mov	w20, #-1
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	mov	x0, x20
	bl	_enum_facility
	add	w19, w19, #8
	cbnz	x0, LBB0_16
; %bb.17:
Lloh10:
	adrp	x22, _mc_facility_codes_count@GOTPAGE
Lloh11:
	ldr	x22, [x22, _mc_facility_codes_count@GOTPAGEOFF]
	str	w20, [x22]
Lloh12:
	adrp	x21, _sort_keyword_by_nval@GOTPAGE
Lloh13:
	ldr	x21, [x21, _sort_keyword_by_nval@GOTPAGEOFF]
	cbz	w20, LBB0_22
; %bb.18:
	mov	x0, x19
	bl	_xmalloc
Lloh14:
	adrp	x20, _mc_facility_codes@GOTPAGE
Lloh15:
	ldr	x20, [x20, _mc_facility_codes@GOTPAGEOFF]
	str	x0, [x20]
	mov	w0, #0
	bl	_enum_facility
	cbz	x0, LBB0_21
; %bb.19:
	mov	x8, #0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	add	x19, x8, #1
	str	x0, [x9, x8, lsl #3]
	mov	x0, x19
	bl	_enum_facility
	mov	x8, x19
	cbnz	x0, LBB0_20
LBB0_21:
	ldr	x0, [x20]
	ldrsw	x1, [x22]
	ldr	w3, [x21]
	mov	w2, #8
	bl	_qsort
LBB0_22:
	mov	w19, #-8
	mov	w20, #-1
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	mov	x0, x20
	bl	_enum_severity
	add	w19, w19, #8
	cbnz	x0, LBB0_23
; %bb.24:
Lloh16:
	adrp	x22, _mc_severity_codes_count@GOTPAGE
Lloh17:
	ldr	x22, [x22, _mc_severity_codes_count@GOTPAGEOFF]
	str	w20, [x22]
	cbz	w20, LBB0_29
; %bb.25:
	mov	x0, x19
	bl	_xmalloc
Lloh18:
	adrp	x20, _mc_severity_codes@GOTPAGE
Lloh19:
	ldr	x20, [x20, _mc_severity_codes@GOTPAGEOFF]
	str	x0, [x20]
	mov	w0, #0
	bl	_enum_severity
	cbz	x0, LBB0_28
; %bb.26:
	mov	x8, #0
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	add	x19, x8, #1
	str	x0, [x9, x8, lsl #3]
	mov	x0, x19
	bl	_enum_severity
	mov	x8, x19
	cbnz	x0, LBB0_27
LBB0_28:
	ldr	x0, [x20]
	ldrsw	x1, [x22]
	ldr	w3, [x21]
	mov	w2, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_qsort
LBB0_29:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_mc_nodes_lang_count,4,2        ; @mc_nodes_lang_count
	.comm	_mc_nodes,8,3                   ; @mc_nodes
	.comm	_mc_nodes_lang,8,3              ; @mc_nodes_lang
	.comm	_sort_mc_node_lang,4,2          ; @sort_mc_node_lang
	.comm	_mc_facility_codes_count,4,2    ; @mc_facility_codes_count
	.comm	_mc_facility_codes,8,3          ; @mc_facility_codes
	.comm	_sort_keyword_by_nval,4,2       ; @sort_keyword_by_nval
	.comm	_mc_severity_codes_count,4,2    ; @mc_severity_codes_count
	.comm	_mc_severity_codes,8,3          ; @mc_severity_codes
	.no_dead_strip	_do_sorts
.subsections_via_symbols
