	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_sub_list
_sort_sub_list:                         ## @sort_sub_list
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.1:
	movq	_conf@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_free
	movl	(%r14), %eax
	movq	%r14, %rdi
	movq	_conf@GOTPCREL(%rip), %r14
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movq	8(%rdi), %rcx
	movq	(%rcx,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %edi
	callq	_new_gholder_item
	movq	%rax, %r12
	movq	(%rbx), %r13
	testq	%r13, %r13
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_9
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_new_gmetrics
	movq	%rax, (%r12,%rbx,8)
	movq	(%r13), %rcx
	movl	28(%rcx), %edx
	movl	%edx, 28(%rax)
	movl	24(%rcx), %edi
	callq	_xstrdup
	movq	(%r12,%rbx,8), %rcx
	movl	%eax, 24(%rcx)
	movq	(%r13), %rax
	movl	20(%rax), %edx
	movl	%edx, 20(%rcx)
	movl	16(%rax), %edx
	movl	%edx, 16(%rcx)
	movl	12(%rax), %edx
	movl	%edx, 12(%rcx)
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	8(%rax), %edx
	movl	%edx, 8(%rcx)
	movl	4(%rax), %edx
	movl	%edx, 4(%rcx)
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_sort_holder_items
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_delete_sub_list
	xorl	%eax, %eax
	callq	_new_gsublist
	testl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movl	16(%r14), %esi
	movq	(%r12), %rdx
	movq	%rax, %rdi
	callq	_add_sub_item_back
	movq	8(%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, (%rax,%rcx,8)
	cmpl	$1, %ebx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %ebx
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%r14), %esi
	movq	(%r12,%r15,8), %rdx
	movq	%r13, %rdi
	callq	_add_sub_item_back
	movq	8(%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, (%rax,%rcx,8)
	incq	%r15
	cmpq	%r15, %rbx
	jne	LBB0_12
	jmp	LBB0_13
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,8,3                       ## @conf
	.no_dead_strip	_sort_sub_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_sub_list
_sort_sub_list:                         ; @sort_sub_list
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x24, #0
Lloh0:
	adrp	x25, _conf@GOTPAGE
Lloh1:
	ldr	x25, [x25, _conf@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_free
	ldr	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x9, [x20, #8]
	ldr	x23, [x9, x24, lsl #3]
	cbz	x23, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x23, #8]
	bl	_new_gholder_item
	mov	x21, x0
	ldr	x26, [x23]
	cbz	x26, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x22, x22, #1
	ldr	x26, [x26, #8]
	cbz	x26, LBB0_11
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_new_gmetrics
	lsl	x27, x22, #3
	str	x0, [x21, x27]
	ldr	x8, [x26]
	ldp	w8, w9, [x8, #24]
	str	w9, [x0, #28]
	mov	x0, x8
	bl	_xstrdup
	ldr	x8, [x21, x27]
	ldr	x9, [x26]
	ldr	w10, [x9, #20]
	stp	w10, w0, [x8, #20]
	ldur	d0, [x9, #12]
	stur	d0, [x8, #12]
	ldr	x10, [x25]
	cbz	x10, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w10, [x9, #8]
	str	w10, [x8, #8]
	ldr	d0, [x9]
	str	d0, [x8]
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	_sort_holder_items
	mov	x0, x23
	bl	_delete_sub_list
	bl	_new_gsublist
	cbz	w22, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	w1, [x20, #16]
	ldr	x2, [x21]
	bl	_add_sub_item_back
	ldr	x8, [x20, #8]
	str	x23, [x8, x24, lsl #3]
	cmp	w22, #1
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w22
	add	x22, x21, #8
	sub	x26, x8, #1
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x20, #16]
	ldr	x2, [x22], #8
	mov	x0, x23
	bl	_add_sub_item_back
	ldr	x8, [x20, #8]
	str	x23, [x8, x24, lsl #3]
	subs	x26, x26, #1
	b.ne	LBB0_14
	b	LBB0_2
LBB0_15:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,8,3                       ; @conf
	.no_dead_strip	_sort_sub_list
.subsections_via_symbols
