	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comparetup_cluster
_comparetup_cluster:                    ## @comparetup_cluster
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdx), %r14
	movq	8(%rdx), %rbx
	movq	(%rbx), %rcx
	movq	(%rcx), %r12
	movq	8(%rdi), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rdx), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %eax
	movl	4(%rdi), %edi
	movl	(%rsi), %ecx
	movl	4(%rsi), %edx
	movl	%eax, %esi
	movq	%r14, %r8
	callq	_ApplySortComparator
	testq	%rax, %rax
	jne	LBB0_21
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	leaq	-64(%rbp), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_heap_getattr
	movl	%eax, %r13d
	leaq	-60(%rbp), %rcx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_heap_getattr
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %ecx
	movl	%r13d, %edi
	movl	%eax, %edx
	movq	%r14, %r8
	callq	_ApplySortAbbrevFullComparator
	testq	%rax, %rax
	jne	LBB0_21
LBB0_5:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpl	$1, (%r12)
	je	LBB0_20
## %bb.6:
	addq	$8, %r14
	movq	8(%r12), %rbx
	movl	$1, %ecx
	cmpq	$0, 8(%rbx)
	jne	LBB0_13
LBB0_8:
	xorl	%eax, %eax
	cmpl	(%r12), %ecx
	jge	LBB0_21
## %bb.9:
	movl	%ecx, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	incq	%r15
	movq	(%rbx), %rax
	movq	-8(%rax,%r15,8), %r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	leaq	-64(%rbp), %rcx
	callq	_heap_getattr
	movl	%eax, %r13d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	leaq	-60(%rbp), %rcx
	callq	_heap_getattr
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %ecx
	movl	%r13d, %edi
	movl	%eax, %edx
	movq	%r14, %r8
	callq	_ApplySortComparator
	testq	%rax, %rax
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	cmpq	%rax, %r15
	jge	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$8, %r14
	movq	8(%rcx), %rbx
	jmp	LBB0_10
LBB0_1:
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpq	$0, 8(%rbx)
	je	LBB0_8
LBB0_13:
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$2, %rax
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%r15), %r15d
	shlq	$2, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	4(%r12), %edi
	callq	_ResetPerTupleExprContext
	movl	4(%r12), %edi
	callq	_GetPerTupleExprContext
	movq	(%rax), %r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ExecStoreHeapTuple
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%r12, %rsi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	callq	_FormIndexDatum
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ExecStoreHeapTuple
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%r12, %rsi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %r13
	movq	%r15, %r8
	callq	_FormIndexDatum
	movl	-92(%rbp), %ebx                 ## 4-byte Reload
	cmpl	(%r12), %ebx
	jge	LBB0_19
## %bb.14:
	movl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %edi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %esi
	movl	(%r13,%rbx,4), %edx
	movl	(%r15,%rbx,4), %ecx
	movq	%r14, %r8
	callq	_ApplySortComparator
	testq	%rax, %rax
	jne	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	addq	$8, %r14
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_19:
	movq	-104(%rbp), %rsp                ## 8-byte Reload
LBB0_20:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_16:
	movq	-104(%rbp), %rsp                ## 8-byte Reload
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax def $rax
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
	.no_dead_strip	_comparetup_cluster
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comparetup_cluster
_comparetup_cluster:                    ; @comparetup_cluster
	.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
	sub	sp, sp, #32
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x20, [x2, #24]
	ldr	x8, [x2, #8]
	ldr	x9, [x8]
	ldr	x24, [x9]
	ldr	x22, [x0, #8]
	ldr	x21, [x1, #8]
	ldr	w23, [x2, #16]
	cbz	x24, LBB0_3
; %bb.1:
	ldp	w9, w8, [x0]
	ldp	w3, w2, [x1]
	mov	x0, x8
	mov	x1, x9
	mov	x4, x20
	bl	_ApplySortComparator
	cbz	x0, LBB0_9
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_20
LBB0_3:
	mov	w28, #0
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_14
LBB0_4:
	mov	x8, sp
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
Lloh3:
	adrp	x12, _INDEX_MAX_KEYS@GOTPAGE
Lloh4:
	ldr	x12, [x12, _INDEX_MAX_KEYS@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x24, x9, x12
	mov	sp, x24
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x25, x9, x12
	mov	sp, x25
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	ldr	w0, [x19, #4]
	bl	_ResetPerTupleExprContext
	ldr	w0, [x19, #4]
	bl	_GetPerTupleExprContext
	ldr	x27, [x0]
	mov	x0, x22
	mov	x1, x27
	mov	w2, #0
	bl	_ExecStoreHeapTuple
	ldr	x0, [x19, #8]
	ldr	w2, [x19, #4]
	mov	x1, x27
	mov	x3, x23
	mov	x4, x24
	bl	_FormIndexDatum
	mov	x0, x21
	mov	x1, x27
	mov	w2, #0
	bl	_ExecStoreHeapTuple
	ldr	x0, [x19, #8]
	ldr	w2, [x19, #4]
	mov	x1, x27
	mov	x3, x25
	mov	x4, x26
	bl	_FormIndexDatum
	ldr	w8, [x19]
	cmp	w28, w8
	b.ge	LBB0_8
; %bb.5:
	mov	w21, w28
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x21, #2
	ldr	w0, [x23, x8]
	ldr	w1, [x24, x8]
	ldr	w2, [x25, x8]
	ldr	w3, [x26, x8]
	mov	x4, x20
	bl	_ApplySortComparator
	cbnz	x0, LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	add	x20, x20, #8
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_6
LBB0_8:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_19
LBB0_9:
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.10:
	sub	x3, x29, #92
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_heap_getattr
	mov	x25, x0
	sub	x3, x29, #96
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_heap_getattr
	mov	x2, x0
	ldp	w3, w1, [x29, #-96]
	mov	x0, x25
	mov	x4, x20
	bl	_ApplySortAbbrevFullComparator
	cbnz	x0, LBB0_20
LBB0_11:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.12:
	mov	x0, #0
	b	LBB0_20
LBB0_13:
	add	x20, x20, #8
	ldr	x8, [x19, #8]
	mov	w28, #1
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_4
LBB0_14:
	ldr	w9, [x19]
	cmp	w28, w9
	b.ge	LBB0_19
; %bb.15:
	mov	w26, w28
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	ldr	x24, [x8, x26, lsl #3]
	sub	x3, x29, #92
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_heap_getattr
	mov	x25, x0
	sub	x3, x29, #96
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_heap_getattr
	mov	x2, x0
	ldp	w3, w1, [x29, #-96]
	mov	x0, x25
	mov	x4, x20
	bl	_ApplySortComparator
	cbnz	x0, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x19]
	cmp	x26, x8
	b.ge	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x20, x20, #8
	ldr	x8, [x19, #8]
	b	LBB0_16
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.21:
                                        ; kill: def $w0 killed $w0 killed $x0
	sub	sp, x29, #80
	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
LBB0_22:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_2
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
	.no_dead_strip	_comparetup_cluster
.subsections_via_symbols
