	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comparetup_index_hash
_comparetup_index_hash:                 ## @comparetup_index_hash
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	$0, 12(%r15)
	sete	%dil
	callq	_Assert
	movl	8(%r15), %edi
	callq	_DatumGetUInt32
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movl	%eax, %edi
	callq	__hash_hashkey2bucket
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpl	$0, 12(%r14)
	sete	%dil
	callq	_Assert
	movl	8(%r14), %edi
	callq	_DatumGetUInt32
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movl	%eax, %edi
	callq	__hash_hashkey2bucket
	movl	$1, %ebx
	cmpq	%rax, %r12
	jg	LBB0_6
## %bb.1:
	movl	$-1, %ebx
	jl	LBB0_6
## %bb.2:
	movq	(%r15), %r15
	movq	(%r14), %r14
	movq	%r15, %rdi
	callq	_ItemPointerGetBlockNumber
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ItemPointerGetBlockNumber
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setge	%al
	jne	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_ItemPointerGetOffsetNumber
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ItemPointerGetOffsetNumber
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setge	%al
	jne	LBB0_3
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_Assert
	jmp	LBB0_6
LBB0_3:
	movb	%al, %cl
	leal	(%rcx,%rcx), %ebx
	decl	%ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_comparetup_index_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comparetup_index_hash
_comparetup_index_hash:                 ; @comparetup_index_hash
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x20, #8]
	bl	_DatumGetUInt32
	ldp	w2, w1, [x21, #4]
	ldr	w3, [x21]
	bl	__hash_hashkey2bucket
	mov	x22, x0
	ldr	w8, [x19, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x19, #8]
	bl	_DatumGetUInt32
	ldp	w2, w1, [x21, #4]
	ldr	w3, [x21]
	bl	__hash_hashkey2bucket
	cmp	x22, x0
	b.le	LBB0_2
; %bb.1:
	mov	w21, #1
	b	LBB0_6
LBB0_2:
	mov	w21, #-1
	b.lt	LBB0_6
; %bb.3:
	ldr	x20, [x20]
	ldr	x19, [x19]
	mov	x0, x20
	bl	_ItemPointerGetBlockNumber
	mov	x22, x0
	mov	x0, x19
	bl	_ItemPointerGetBlockNumber
	cmp	x22, x0
	cneg	w21, w21, ge
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_ItemPointerGetOffsetNumber
	mov	x20, x0
	mov	x0, x19
	bl	_ItemPointerGetOffsetNumber
	mov	w8, #-1
	cmp	x20, x0
	cneg	w21, w8, ge
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	bl	_Assert
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_comparetup_index_hash
.subsections_via_symbols
