	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_symbols
_sort_symbols:                          ## @sort_symbols
	.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	_symbols@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rax
	decl	%ebx
	addl	$8, %edi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	callq	_malloc
	movq	%rax, %r15
	movq	(%r12), %rax
	movl	%ebx, %r14d
	negl	%r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r15, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rcx)
	movq	(%rax), %rax
	addq	$8, %rcx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	movq	_symlist_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$8, %edx
	callq	_qsort
	movq	(%r15), %rax
	movq	%rax, (%r12)
	cmpl	$-1, %ebx
	je	LBB0_7
## %bb.8:
	movl	%r14d, %esi
	leaq	-1(%rsi), %rcx
	leaq	-2(%rsi), %rdx
	cmpq	$7, %rdx
	jae	LBB0_10
## %bb.9:
	movl	$1, %edx
	jmp	LBB0_13
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rax, %rsi
	jmp	LBB0_16
LBB0_10:
	decq	%rsi
	andq	$-8, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15,%rdx,8), %rdi
	movq	%rdi, (%rax)
	movq	16(%r15,%rdx,8), %rax
	movq	%rax, (%rdi)
	movq	24(%r15,%rdx,8), %rdi
	movq	%rdi, (%rax)
	movq	32(%r15,%rdx,8), %rax
	movq	%rax, (%rdi)
	movq	40(%r15,%rdx,8), %rdi
	movq	%rdi, (%rax)
	movq	48(%r15,%rdx,8), %rax
	movq	%rax, (%rdi)
	movq	56(%r15,%rdx,8), %rdi
	movq	%rdi, (%rax)
	movq	64(%r15,%rdx,8), %rax
	movq	%rax, (%rdi)
	addq	$8, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_11
## %bb.12:
	incq	%rdx
LBB0_13:
	movq	%rax, %rsi
	testb	$7, %cl
	je	LBB0_16
## %bb.14:
	notl	%ebx
	leaq	(%r15,%rdx,8), %rcx
	andl	$7, %ebx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	movq	%rsi, (%rax)
	incq	%rdx
	movq	%rsi, %rax
	cmpq	%rdx, %rbx
	jne	LBB0_15
LBB0_16:
	movq	_lastSymbol@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	$0, (%rsi)
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_symbols,8,3                    ## @symbols
	.comm	_symlist_cmp,4,2                ## @symlist_cmp
	.comm	_lastSymbol,8,3                 ## @lastSymbol
	.no_dead_strip	_sort_symbols
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_symbols
_sort_symbols:                          ; @sort_symbols
	.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	x21, _symbols@GOTPAGE
Lloh1:
	ldr	x21, [x21, _symbols@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.1:
	mov	w0, #0
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	add	w20, w20, #1
	add	w0, w0, #8
	cbnz	x8, LBB0_2
; %bb.3:
	bl	_malloc
	mov	x19, x0
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x9, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x9], #8
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
LBB0_6:
Lloh2:
	adrp	x8, _symlist_cmp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _symlist_cmp@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #8
	bl	_qsort
	ldr	x8, [x19]
	str	x8, [x21]
	cmp	w20, #1
	b.ne	LBB0_9
; %bb.7:
	mov	x11, x8
	b	LBB0_11
LBB0_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
	ret
LBB0_9:
	add	x9, x19, #8
	sub	x10, x20, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #8
	str	x11, [x8]
	mov	x8, x11
	subs	x10, x10, #1
	b.ne	LBB0_10
LBB0_11:
Lloh5:
	adrp	x8, _lastSymbol@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lastSymbol@GOTPAGEOFF]
Lloh7:
	str	x11, [x8]
	str	xzr, [x11]
	mov	x0, x19
	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	_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_symbols,8,3                    ; @symbols
	.comm	_symlist_cmp,4,2                ; @symlist_cmp
	.comm	_lastSymbol,8,3                 ; @lastSymbol
	.no_dead_strip	_sort_symbols
.subsections_via_symbols
