	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_hook
_sort_hook:                             ## @sort_hook
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	_apr_hook_global_pool@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdi
	callq	_apr_pool_create
	movq	-48(%rbp), %rdi
	movq	8(%r14), %rsi
	movl	(%r14), %edx
	callq	_prepare
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_tsort
	movq	%rax, %rbx
	movl	(%r15), %edi
	movl	(%r14), %esi
	movl	$8, %edx
	callq	_apr_array_make
	movq	%rax, %r15
	movq	_apr_hook_debug_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_printf
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.3:
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
	incl	%r12d
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpl	(%r14), %r12d
	setl	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_apr_array_push
	movq	%rax, %r13
	movl	(%rbx), %esi
	movq	%rax, %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	_apr_hook_debug_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	jmp	LBB0_6
LBB0_7:
	movq	_apr_hook_debug_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$10, %edi
	callq	_fputc
LBB0_9:
	movq	-48(%rbp), %rdi
	callq	_apr_pool_destroy
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_apr_hook_global_pool,4,2       ## @apr_hook_global_pool
	.comm	_apr_hook_debug_enabled,8,3     ## @apr_hook_debug_enabled
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sorting %s:"

L_.str.1:                               ## @.str.1
	.asciz	" %s"

	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_sort_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_hook
_sort_hook:                             ; @sort_hook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x20, _apr_hook_global_pool@GOTPAGE
Lloh1:
	ldr	x20, [x20, _apr_hook_global_pool@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_apr_pool_create
	ldr	x0, [sp, #8]
	ldr	x1, [x19, #8]
	ldr	w2, [x19]
	bl	_prepare
	ldr	w1, [x19]
	bl	_tsort
	mov	x21, x0
	ldr	w0, [x20]
	ldr	w1, [x19]
	mov	w2, #8
	bl	_apr_array_make
	mov	x20, x0
Lloh2:
	adrp	x24, _apr_hook_debug_enabled@GOTPAGE
Lloh3:
	ldr	x24, [x24, _apr_hook_debug_enabled@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_printf
LBB0_2:
	cbz	x21, LBB0_7
; %bb.3:
	mov	w25, #0
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x21, #8]
	add	w25, w25, #1
	cbz	x21, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	w25, w8
	cset	w0, lt
	bl	_assert
	mov	x0, x20
	bl	_apr_array_push
	mov	x23, x0
	ldr	w1, [x21]
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x24]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x23]
	mov	x0, x22
	bl	_printf
	b	LBB0_4
LBB0_7:
	ldr	x8, [x24]
	cbz	x8, LBB0_9
; %bb.8:
Lloh8:
	adrp	x8, _stdout@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #10
	bl	_fputc
LBB0_9:
	ldr	x0, [sp, #8]
	bl	_apr_pool_destroy
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_apr_hook_global_pool,4,2       ; @apr_hook_global_pool
	.comm	_apr_hook_debug_enabled,8,3     ; @apr_hook_debug_enabled
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sorting %s:"

l_.str.1:                               ; @.str.1
	.asciz	" %s"

	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_sort_hook
.subsections_via_symbols
