	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare
_prepare:                               ## @prepare
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	%edx, %esi
	shll	$5, %esi
	callq	_apr_palloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_crude_order@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$24, %edx
	callq	_qsort
	testl	%r15d, %r15d
	jle	LBB0_33
## %bb.1:
	movl	%r15d, %r14d
	shll	$3, %r15d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	shlq	$5, %r14
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rbx)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_apr_pcalloc
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx,%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 24(%rax,%rbx)
	movq	%r13, 16(%rax,%rbx)
	addq	$24, %r13
	addq	$32, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_2
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$32, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	-1(%rax), %r14
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_33
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_14 Depth 3
                                        ##       Child Loop BB0_12 Depth 3
                                        ##     Child Loop BB0_20 Depth 2
                                        ##       Child Loop BB0_28 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,8), %r12
	addq	$16, %r12
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	shlq	$5, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	addq	%rdx, %rcx
	addq	$8, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	shlq	$5, %rax
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, (%rsi,%rcx,8)
	incl	%edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, (%rax)
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r13
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_18
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_14 Depth 3
                                        ##       Child Loop BB0_12 Depth 3
	movq	(%rax,%r13,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%r15, %r14
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rsi
	movl	(%rbx), %edi
	callq	_strcmp
	addq	$24, %rbx
	incq	%r15
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	xorl	%r15d, %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movl	%r15d, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rcx
	movl	%ecx, %edx
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	(%rsi), %rsi
	testq	%rcx, %rcx
	jle	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%rax, %rdi
	shlq	$5, %rdi
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rdi, (%rsi,%rbx,8)
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=3
	incq	%rbx
	cmpq	%rbx, %rdx
	jne	LBB0_12
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_32
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,8), %r12
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	shlq	$5, %rcx
	addq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=2
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, (%rsi,%r8,8)
	incl	%edx
	movl	%edx, (%rax)
LBB0_31:                                ##   in Loop: Header=BB0_20 Depth=2
	incq	%rbx
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_32
LBB0_20:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_28 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
	movq	(%rax,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_32
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_20 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%r13, %r14
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=3
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	(%r15), %edi
	callq	_strcmp
	addq	$24, %r15
	incq	%r13
	testl	%eax, %eax
	jne	LBB0_28
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=2
	xorl	%r13d, %r13d
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=2
	movl	%r13d, %eax
	shlq	$5, %rax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi,%rax), %r8
	movl	%r8d, %edx
	movq	8(%rsi,%rax), %rsi
	testq	%r8, %r8
	jle	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=2
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_20 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rsi,%rdi,8)
	je	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_26 Depth=3
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_26
	jmp	LBB0_30
LBB0_33:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crude_order,4,2                ## @crude_order
	.no_dead_strip	_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare
_prepare:                               ; @prepare
	.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	x23, x2
	mov	x19, x1
	mov	x21, x0
	lsl	w1, w2, #5
	bl	_apr_palloc
	mov	x20, x0
Lloh0:
	adrp	x8, _crude_order@GOTPAGE
Lloh1:
	ldr	x8, [x8, _crude_order@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	mov	w2, #24
	bl	_qsort
	cmp	w23, #1
	b.lt	LBB0_30
; %bb.1:
	lsl	w22, w23, #3
	mov	w24, w23
	add	x23, x20, #16
	str	x24, [sp]                       ; 8-byte Folded Spill
	mov	x25, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	stur	wzr, [x23, #-16]
	mov	x0, x21
	mov	x1, x22
	bl	_apr_pcalloc
	stp	x0, x25, [x23, #-8]
	str	xzr, [x23, #8]
	add	x25, x25, #24
	add	x23, x23, #32
	subs	x24, x24, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x28, #0
	add	x21, x19, #32
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	sub	x24, x8, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cmp	x28, x8
	b.eq	LBB0_30
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
                                        ;       Child Loop BB0_16 Depth 3
                                        ;     Child Loop BB0_22 Depth 2
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_28 Depth 3
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	mov	w8, #24
	madd	x26, x28, x8, x19
	ldr	x8, [x26, #16]!
	cbz	x8, LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, #0
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x28, x20, x9, lsl #5
	add	x23, x28, #8
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	sxtw	x11, w8
	add	x9, x20, x9, lsl #5
	str	x9, [x10, x11, lsl #3]
	add	w8, w8, #1
	str	w8, [x28]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x27, x27, #1
	ldr	x8, [x26]
	cbz	x8, LBB0_18
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
                                        ;       Child Loop BB0_16 Depth 3
	ldr	x1, [x8, x27, lsl #3]
	cbz	x1, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x19, #8]
	bl	_strcmp
	mov	x25, #0
	cbz	w0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x22, x21
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x24, x25
	b.eq	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x26]
	ldr	x1, [x8, x27, lsl #3]
	ldr	w0, [x22], #24
	bl	_strcmp
	add	x25, x25, #1
	cbnz	w0, LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	and	x9, x25, #0xffffffff
	ldr	w8, [x28]
	ldr	x10, [x23]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x11, x20, x9, lsl #5
	mov	x12, x8
	mov	x13, x10
LBB0_16:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x14, [x13]
	cmp	x14, x11
	b.eq	LBB0_8
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=3
	add	x13, x13, #8
	subs	x12, x12, #1
	b.ne	LBB0_16
	b	LBB0_7
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	mov	w8, #24
	madd	x26, x28, x8, x19
	ldr	x8, [x26]
	cbz	x8, LBB0_4
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, #0
	add	x23, x20, x28, lsl #5
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=2
	sxtw	x11, w9
	str	x23, [x10, x11, lsl #3]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=2
	add	x27, x27, #1
	ldr	x8, [x26]
	cbz	x8, LBB0_4
LBB0_22:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_28 Depth 3
	ldr	x1, [x8, x27, lsl #3]
	cbz	x1, LBB0_4
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	ldr	w0, [x19, #8]
	bl	_strcmp
	mov	x25, #0
	cbz	w0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x22, x21
LBB0_25:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_22 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x24, x25
	b.eq	LBB0_21
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=3
	ldr	x8, [x26]
	ldr	x1, [x8, x27, lsl #3]
	ldr	w0, [x22], #24
	bl	_strcmp
	add	x25, x25, #1
	cbnz	w0, LBB0_25
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=2
	and	x8, x25, #0xffffffff
	add	x8, x20, x8, lsl #5
	ldr	w9, [x8]
	ldr	x10, [x8, #8]
	mov	x11, x9
	mov	x12, x10
	cmp	w9, #1
	b.lt	LBB0_20
LBB0_28:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_22 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x13, [x12]
	cmp	x13, x23
	b.eq	LBB0_21
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=3
	add	x12, x12, #8
	subs	x11, x11, #1
	b.ne	LBB0_28
	b	LBB0_20
LBB0_30:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_crude_order,4,2                ; @crude_order
	.no_dead_strip	_prepare
.subsections_via_symbols
