	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comparetup_index_btree
_comparetup_index_btree:                ## @comparetup_index_btree
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdx), %r13
	movl	(%rdi), %esi
	movl	16(%rdi), %edi
	movl	(%r12), %ecx
	movl	16(%r12), %edx
	movq	%r13, %r8
	callq	_ApplySortComparator
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	%rax, %r15
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.3:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	movq	8(%r12), %r14
	movl	(%rbx), %r12d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	callq	_RelationGetDescr
	movl	%eax, %ebx
	cmpq	$0, (%r13)
	je	LBB0_7
## %bb.5:
	leaq	-52(%rbp), %rcx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_index_getattr
	movl	%eax, %r15d
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_index_getattr
	movl	-52(%rbp), %esi
	movl	-56(%rbp), %ecx
	movl	%r15d, %edi
	movl	%eax, %edx
	movq	%r13, %r8
	callq	_ApplySortAbbrevFullComparator
	testq	%rax, %rax
	jne	LBB0_1
LBB0_7:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	setne	%r14b
	cmpl	$2, %r12d
	jl	LBB0_11
## %bb.8:
	addq	$8, %r13
	negl	%r12d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	$2, %r12d
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%ebx, %edx
	leaq	-52(%rbp), %rcx
	callq	_index_getattr
	movl	%eax, %r15d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%ebx, %edx
	leaq	-56(%rbp), %rcx
	callq	_index_getattr
	movl	-52(%rbp), %esi
	movl	-56(%rbp), %ecx
	movl	%r15d, %edi
	movl	%eax, %edx
	movq	%r13, %r8
	callq	_ApplySortComparator
	testq	%rax, %rax
	jne	LBB0_1
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -52(%rbp)
	movl	$1, %eax
	cmovnel	%eax, %r14d
	addq	$8, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%r12d, %eax
	incl	%eax
	movl	%r12d, %ecx
	incl	%ecx
	movl	%ecx, %r12d
	cmpl	$1, %eax
	jne	LBB0_9
LBB0_11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_18
## %bb.12:
	testl	%r14d, %r14d
	jne	LBB0_18
## %bb.13:
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	xorl	%edi, %edi
	cmpq	%r12, %r13
	setne	%dil
	callq	_Assert
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_index_deform_tuple
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	4(%r15), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_BuildIndexValueDescription
	movq	%rax, %rbx
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_UNIQUE_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	4(%r15), %edi
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.14:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_errdetail
	jmp	LBB0_17
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errdetail
LBB0_17:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movl	8(%rax), %ebx
	callq	_RelationGetRelationName
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_errtableconstraint
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
LBB0_18:
	movq	%r13, %rdi
	callq	_ItemPointerGetBlockNumber
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_ItemPointerGetBlockNumber
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setge	%al
	jne	LBB0_21
## %bb.19:
	movq	%r13, %rdi
	callq	_ItemPointerGetOffsetNumber
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_ItemPointerGetOffsetNumber
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setge	%al
	jne	LBB0_21
## %bb.20:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_Assert
	jmp	LBB0_2
LBB0_21:
	movb	%al, %cl
	leal	(%rcx,%rcx), %r15d
	decl	%r15d
	jmp	LBB0_2
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNIQUE_VIOLATION,4,2   ## @ERRCODE_UNIQUE_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not create unique index \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"Key %s is duplicated."

L_.str.2:                               ## @.str.2
	.asciz	"Duplicate keys exist."

	.no_dead_strip	_comparetup_index_btree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comparetup_index_btree
_comparetup_index_btree:                ; @comparetup_index_btree
	.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, #16
	mov	x21, x2
	mov	x19, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x23, [x2, #24]
	ldr	w0, [x0, #16]
	ldr	w1, [x24]
	ldr	w2, [x19, #16]
	ldr	w3, [x19]
	mov	x4, x23
	bl	_ApplySortComparator
	cbnz	x0, LBB0_17
; %bb.1:
	ldr	x20, [x24, #8]
	ldr	x19, [x19, #8]
	ldp	w26, w0, [x21]
	bl	_RelationGetDescr
	mov	x22, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_4
; %bb.2:
	sub	x3, x29, #92
	mov	x0, x20
	mov	w1, #1
	mov	x2, x22
	bl	_index_getattr
	mov	x25, x0
	sub	x3, x29, #96
	mov	x0, x19
	mov	w1, #1
	mov	x2, x22
	bl	_index_getattr
	mov	x2, x0
	ldp	w3, w1, [x29, #-96]
	mov	x0, x25
	mov	x4, x23
	bl	_ApplySortAbbrevFullComparator
	cbz	x0, LBB0_4
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_17
LBB0_4:
	ldr	w8, [x24]
	cmp	w8, #0
	cset	w27, ne
	cmp	w26, #2
	b.lt	LBB0_8
; %bb.5:
	add	x23, x23, #8
	mov	w24, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w24, w24, #1
	sub	x3, x29, #92
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_index_getattr
	mov	x25, x0
	sub	x3, x29, #96
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_index_getattr
	mov	x2, x0
	ldp	w3, w1, [x29, #-96]
	mov	x0, x25
	mov	x4, x23
	bl	_ApplySortComparator
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x29, #-92]
	cmp	w8, #0
	csinc	w27, w27, wzr, eq
	add	x23, x23, #8
	cmp	w26, w24
	b.ne	LBB0_6
LBB0_8:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_14
; %bb.9:
	cbnz	w27, LBB0_14
; %bb.10:
	mov	x25, sp
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	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	cmp	x20, x19
	cset	w0, ne
	bl	_Assert
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_index_deform_tuple
	ldr	w0, [x21, #4]
	mov	x1, x23
	mov	x2, x24
	bl	_BuildIndexValueDescription
	mov	x23, x0
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
Lloh12:
	adrp	x8, _ERRCODE_UNIQUE_VIOLATION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_UNIQUE_VIOLATION@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x21, #4]
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	cbz	x23, LBB0_12
; %bb.11:
	str	x23, [sp, #-16]!
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errdetail
	add	sp, sp, #16
	b	LBB0_13
LBB0_12:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errdetail
LBB0_13:
	ldp	w0, w23, [x21, #4]
	bl	_RelationGetRelationName
	mov	x1, x0
	mov	x0, x23
	bl	_errtableconstraint
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	sp, x25
LBB0_14:
	mov	x0, x20
	bl	_ItemPointerGetBlockNumber
	mov	x21, x0
	mov	x0, x19
	bl	_ItemPointerGetBlockNumber
	mov	w22, #-1
	cmp	x21, x0
	cneg	w0, w22, ge
	b.ne	LBB0_17
; %bb.15:
	mov	x0, x20
	bl	_ItemPointerGetOffsetNumber
	mov	x20, x0
	mov	x0, x19
	bl	_ItemPointerGetOffsetNumber
	cmp	x20, x0
	cneg	w0, w22, ge
	b.ne	LBB0_17
; %bb.16:
	mov	w0, #0
	bl	_Assert
	mov	w0, #0
LBB0_17:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
                                        ; 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_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNIQUE_VIOLATION,4,2   ; @ERRCODE_UNIQUE_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not create unique index \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"Key %s is duplicated."

l_.str.2:                               ; @.str.2
	.asciz	"Duplicate keys exist."

	.no_dead_strip	_comparetup_index_btree
.subsections_via_symbols
