	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _hash_splitbucket
__hash_splitbucket:                     ## @_hash_splitbucket
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MaxIndexTuplesPerPage@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$3, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_BufferGetPage
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_BufferGetPage
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%r14, %rdi
	callq	_BufferGetBlockNumber
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_BufferGetBlockNumber
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_PredicateLockPageSplit
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	movl	%r13d, %edi
	callq	_PageGetMaxOffsetNumber
	movq	%rax, %rbx
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	%rbx, %r12
	jle	LBB0_2
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %ebx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	cmpq	%rdi, %rsi
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_LockBuffer
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbp), %r14
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%edi, %edi
	cmpq	-136(%rbp), %rax                ## 8-byte Folded Reload
	sete	%dil
	callq	_Assert
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	-112(%rbp), %rbx                ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	%r12, %rdi
	callq	_OffsetNumberNext
	movq	%rax, %r12
	cmpq	%rbx, %rax
	jg	LBB0_17
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	movl	$0, -64(%rbp)
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_PageGetItemId
	movl	%eax, %edi
	callq	_ItemIdIsDead
	testq	%rax, %rax
	jne	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_PageGetItemId
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	4(%rbx), %rsi
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	leaq	-64(%rbp), %rcx
	callq	_hash_search
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$0, -64(%rbp)
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rbx, %rdi
	callq	__hash_get_indextuple_hashkey
	movl	%eax, %edi
	movl	24(%rbp), %esi
	movl	32(%rbp), %edx
	movl	40(%rbp), %ecx
	callq	__hash_hashkey2bucket
	cmpq	-176(%rbp), %rax                ## 8-byte Folded Reload
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rbx, %rdi
	callq	_CopyIndexTuple
	movq	%rax, %rbx
	movq	_INDEX_MOVED_BY_SPLIT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_IndexTupleSize
	movq	%rax, %rdi
	callq	_MAXALIGN
	movq	%rax, %r14
	leal	1(%r15), %esi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_PageGetFreeSpaceForMultipleTuples
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%r14,%rdx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r14, -168(%rbp)                ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%r15d, %r8d
	callq	__hash_pgaddmultitup
	movq	%rbx, %rdi
	callq	_MarkBufferDirty
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_log_split_page
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LockBuffer
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=2
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r14,%rbx,8), %rdi
	callq	_pfree
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%ecx, %ecx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpq	-104(%rbp), %rdx                ## 8-byte Folded Reload
	sete	%cl
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	callq	__hash_addovflpage
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_BufferGetPage
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	xorl	%edx, %edx
	xorl	%r15d, %r15d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-168(%rbp), %r14                ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=2
	movslq	%r15d, %rax
	incl	%r15d
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,8)
	addq	%r14, %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	16(%rbp), %r14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	callq	__hash_relbuf
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %r14
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	%ebx, %edi
	callq	_BlockNumberIsValid
	testl	%eax, %eax
	je	LBB0_21
## %bb.34:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_HASH_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LH_OVERFLOW_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	__hash_getbuf
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_BufferGetPage
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_1
LBB0_21:
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movl	%r12d, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%r15d, %r8d
	callq	__hash_pgaddmultitup
	movq	%rbx, %rdi
	callq	_MarkBufferDirty
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_log_split_page
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	cmpq	%rdi, %rbx
	jne	LBB0_23
## %bb.22:
	movl	(%r14), %esi
	callq	_LockBuffer
	testl	%r15d, %r15d
	jg	LBB0_25
	jmp	LBB0_27
LBB0_23:
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	__hash_relbuf
	testl	%r15d, %r15d
	jle	LBB0_27
LBB0_25:
	movl	%r15d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rdi
	callq	_pfree
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_26
LBB0_27:
	movq	_BUFFER_LOCK_EXCLUSIVE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_LockBuffer
	movq	%r15, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_LockBuffer
	movq	%r13, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movq	_LH_BUCKET_BEING_SPLIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_LH_BUCKET_BEING_POPULATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
	movq	_LH_BUCKET_NEEDS_SPLIT_CLEANUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_MarkBufferDirty
	movq	%r13, %rdi
	callq	_MarkBufferDirty
	movl	%r12d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movl	(%rbx), %eax
	movl	%eax, -60(%rbp)
	movl	(%r14), %eax
	movl	%eax, -64(%rbp)
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	_SizeOfHashSplitComplete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	callq	_XLogRegisterData
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_XLogRegisterBuffer
	movl	(%rbx), %edx
	movl	$1, %edi
	movq	%r13, %rsi
	callq	_XLogRegisterBuffer
	movq	_RM_HASH_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_HASH_SPLIT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_PageSetLSN
	movq	%r13, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_PageSetLSN
LBB0_29:
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	movq	%r15, %rdi
	callq	_IsBufferCleanupOK
	movq	%rax, %rbx
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_LockBuffer
	testq	%rbx, %rbx
	je	LBB0_31
## %bb.30:
	movq	%r15, %rdi
	callq	_BufferGetBlockNumber
	subq	$64, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movups	%xmm0, 16(%rsp)
	movl	40(%rbp), %ecx
	movl	%ecx, 8(%rsp)
	movl	32(%rbp), %ecx
	movl	%ecx, (%rsp)
	movl	$1, 32(%rsp)
	movl	%r12d, %edi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	movl	24(%rbp), %r9d
	callq	_hashbucketcleanup
	addq	$64, %rsp
	jmp	LBB0_32
LBB0_31:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_LockBuffer
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxIndexTuplesPerPage,4,2      ## @MaxIndexTuplesPerPage
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_INDEX_MOVED_BY_SPLIT_MASK,4,2  ## @INDEX_MOVED_BY_SPLIT_MASK
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
	.comm	_HASH_READ,4,2                  ## @HASH_READ
	.comm	_LH_OVERFLOW_PAGE,4,2           ## @LH_OVERFLOW_PAGE
	.comm	_BUFFER_LOCK_EXCLUSIVE,4,2      ## @BUFFER_LOCK_EXCLUSIVE
	.comm	_LH_BUCKET_BEING_SPLIT,4,2      ## @LH_BUCKET_BEING_SPLIT
	.comm	_LH_BUCKET_BEING_POPULATED,4,2  ## @LH_BUCKET_BEING_POPULATED
	.comm	_LH_BUCKET_NEEDS_SPLIT_CLEANUP,4,2 ## @LH_BUCKET_NEEDS_SPLIT_CLEANUP
	.comm	_SizeOfHashSplitComplete,4,2    ## @SizeOfHashSplitComplete
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_RM_HASH_ID,4,2                 ## @RM_HASH_ID
	.comm	_XLOG_HASH_SPLIT_COMPLETE,4,2   ## @XLOG_HASH_SPLIT_COMPLETE
	.no_dead_strip	__hash_splitbucket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _hash_splitbucket
__hash_splitbucket:                     ; @_hash_splitbucket
	.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, #128
	mov	x23, x7
	mov	x27, x6
	mov	x28, x5
	mov	x24, x4
	stur	x3, [x29, #-112]                ; 8-byte Folded Spill
	stur	x2, [x29, #-160]                ; 8-byte Folded Spill
	stur	x1, [x29, #-200]                ; 8-byte Folded Spill
	mov	x21, x0
	ldp	w26, w25, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MaxIndexTuplesPerPage@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MaxIndexTuplesPerPage@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0xffffffff0
	sub	x9, x9, x12
	stur	x9, [x29, #-192]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x12
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	mov	sp, x8
	mov	x0, x4
	bl	_BufferGetPage
	mov	x20, x0
	bl	_PageGetSpecialPointer
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
	mov	x0, x28
	bl	_BufferGetPage
	stur	w0, [x29, #-148]                ; 4-byte Folded Spill
	bl	_PageGetSpecialPointer
	mov	x0, x24
	bl	_BufferGetBlockNumber
	mov	x19, x0
	mov	x0, x28
	bl	_BufferGetBlockNumber
	mov	x2, x0
	stur	w21, [x29, #-116]               ; 4-byte Folded Spill
	mov	x0, x21
	mov	x1, x19
	bl	_PredicateLockPageSplit
	mov	x21, #0
	mov	w22, #0
	stp	x28, x24, [x29, #-184]          ; 16-byte Folded Spill
	stp	x28, x24, [x29, #-144]          ; 16-byte Folded Spill
	stp	w25, w26, [x29, #-168]          ; 8-byte Folded Spill
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
	mov	x0, x20
	bl	_PageGetMaxOffsetNumber
Lloh10:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh12:
	ldr	x28, [x8]
	cmp	x28, x0
	b.le	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldp	x1, x8, [x29, #-136]            ; 16-byte Folded Reload
	ldr	w19, [x8, #4]
	ldur	x24, [x29, #-176]               ; 8-byte Folded Reload
	cmp	x1, x24
	b.ne	LBB0_18
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh13:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_LockBuffer
	ldur	w28, [x29, #-116]               ; 4-byte Folded Reload
	b	LBB0_19
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x24, x0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	cmp	x0, x8
	cset	w0, eq
	bl	_Assert
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x28
	bl	_OffsetNumberNext
	mov	x28, x0
	cmp	x0, x24
	b.gt	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
	stur	wzr, [x29, #-96]
	mov	x0, x20
	mov	x1, x28
	bl	_PageGetItemId
	bl	_ItemIdIsDead
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	mov	x1, x28
	bl	_PageGetItemId
	mov	x1, x0
	mov	x0, x20
	bl	_PageGetItem
	mov	x19, x0
	cbz	x27, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x1, x19, #4
Lloh16:
	adrp	x8, _HASH_FIND@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HASH_FIND@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	sub	x3, x29, #96
	mov	x0, x27
	bl	_hash_search
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	ldur	w8, [x29, #-96]
	cbnz	w8, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	bl	__hash_get_indextuple_hashkey
	mov	x1, x23
	mov	x2, x26
	mov	x3, x25
	bl	__hash_hashkey2bucket
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x25, x23
	mov	x0, x19
	bl	_CopyIndexTuple
	mov	x19, x0
Lloh19:
	adrp	x8, _INDEX_MOVED_BY_SPLIT_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INDEX_MOVED_BY_SPLIT_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	bl	_IndexTupleSize
	bl	_MAXALIGN
	mov	x23, x0
	add	w1, w22, #1
	ldur	w0, [x29, #-148]                ; 4-byte Folded Reload
	bl	_PageGetFreeSpaceForMultipleTuples
	add	x8, x23, x21
	cmp	x0, x8
	b.ge	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	bl	_START_CRIT_SECTION
	ldur	w21, [x29, #-116]               ; 4-byte Folded Reload
	mov	x0, x21
	ldur	x26, [x29, #-144]               ; 8-byte Folded Reload
	mov	x1, x26
	ldur	x2, [x29, #-104]                ; 8-byte Folded Reload
	ldur	x3, [x29, #-192]                ; 8-byte Folded Reload
	mov	x4, x22
	bl	__hash_pgaddmultitup
	mov	x0, x26
	bl	_MarkBufferDirty
	mov	x0, x21
	mov	x1, x26
	bl	_log_split_page
	bl	_END_CRIT_SECTION
Lloh22:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_LockBuffer
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	w21, w22
	ldur	x22, [x29, #-104]               ; 8-byte Folded Reload
LBB0_15:                                ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x22], #8
	bl	_pfree
	subs	x21, x21, #1
	b.ne	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=2
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldur	x2, [x29, #-144]                ; 8-byte Folded Reload
	cmp	x2, x8
	cset	w3, eq
	ldur	w0, [x29, #-116]                ; 4-byte Folded Reload
	ldur	x1, [x29, #-200]                ; 8-byte Folded Reload
	bl	__hash_addovflpage
	stur	x0, [x29, #-144]                ; 8-byte Folded Spill
	bl	_BufferGetPage
	stur	w0, [x29, #-148]                ; 4-byte Folded Spill
	bl	_PageGetSpecialPointer
	mov	x21, #0
	mov	w22, #0
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=2
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	str	x19, [x8, w22, sxtw #3]
	add	w22, w22, #1
	add	x21, x21, x23
	mov	x23, x25
	ldp	w25, w26, [x29, #-168]          ; 8-byte Folded Reload
	b	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_1 Depth=1
	ldur	w28, [x29, #-116]               ; 4-byte Folded Reload
	mov	x0, x28
	bl	__hash_relbuf
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
	ldur	x20, [x29, #-104]               ; 8-byte Folded Reload
	mov	x0, x19
	bl	_BlockNumberIsValid
	cbz	w0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_1 Depth=1
Lloh25:
	adrp	x8, _HASH_READ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HASH_READ@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x8, _LH_OVERFLOW_PAGE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LH_OVERFLOW_PAGE@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x28
	mov	x1, x19
	bl	__hash_getbuf
	stur	x0, [x29, #-136]                ; 8-byte Folded Spill
	bl	_BufferGetPage
	mov	x20, x0
	bl	_PageGetSpecialPointer
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
	b	LBB0_1
LBB0_21:
	bl	_START_CRIT_SECTION
	mov	x0, x28
	ldur	x19, [x29, #-144]               ; 8-byte Folded Reload
	mov	x1, x19
	mov	x2, x20
	ldur	x3, [x29, #-192]                ; 8-byte Folded Reload
	mov	x4, x22
	bl	__hash_pgaddmultitup
	mov	x0, x19
	bl	_MarkBufferDirty
	mov	x0, x28
	mov	x1, x19
	bl	_log_split_page
	bl	_END_CRIT_SECTION
	ldur	x21, [x29, #-184]               ; 8-byte Folded Reload
	cmp	x19, x21
	b.ne	LBB0_23
; %bb.22:
Lloh31:
	adrp	x27, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh32:
	ldr	x27, [x27, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x21
	bl	_LockBuffer
	cmp	w22, #1
	b.ge	LBB0_24
	b	LBB0_26
LBB0_23:
	mov	x0, x28
	mov	x1, x19
	bl	__hash_relbuf
Lloh33:
	adrp	x27, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh34:
	ldr	x27, [x27, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
	cmp	w22, #1
	b.lt	LBB0_26
LBB0_24:
	mov	w19, w22
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20], #8
	bl	_pfree
	subs	x19, x19, #1
	b.ne	LBB0_25
LBB0_26:
Lloh35:
	adrp	x20, _BUFFER_LOCK_EXCLUSIVE@GOTPAGE
Lloh36:
	ldr	x20, [x20, _BUFFER_LOCK_EXCLUSIVE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x24
	bl	_LockBuffer
	mov	x0, x24
	bl	_BufferGetPage
	bl	_PageGetSpecialPointer
	mov	x19, x0
	ldr	w1, [x20]
	mov	x0, x21
	bl	_LockBuffer
	mov	x0, x21
	bl	_BufferGetPage
	bl	_PageGetSpecialPointer
	mov	x20, x0
	bl	_START_CRIT_SECTION
Lloh37:
	adrp	x8, _LH_BUCKET_BEING_SPLIT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LH_BUCKET_BEING_SPLIT@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh40:
	adrp	x8, _LH_BUCKET_BEING_POPULATED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _LH_BUCKET_BEING_POPULATED@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
Lloh43:
	adrp	x8, _LH_BUCKET_NEEDS_SPLIT_CLEANUP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _LH_BUCKET_NEEDS_SPLIT_CLEANUP@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x24
	bl	_MarkBufferDirty
	mov	x0, x21
	bl	_MarkBufferDirty
	mov	x0, x28
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_28
; %bb.27:
	ldr	w8, [x19]
	stur	w8, [x29, #-92]
	ldr	w8, [x20]
	stur	w8, [x29, #-96]
	bl	_XLogBeginInsert
Lloh46:
	adrp	x8, _SizeOfHashSplitComplete@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SizeOfHashSplitComplete@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	sub	x0, x29, #96
	bl	_XLogRegisterData
Lloh49:
	adrp	x19, _REGBUF_STANDARD@GOTPAGE
Lloh50:
	ldr	x19, [x19, _REGBUF_STANDARD@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w0, #0
	mov	x1, x24
	bl	_XLogRegisterBuffer
	ldr	w2, [x19]
	mov	w0, #1
	mov	x1, x21
	bl	_XLogRegisterBuffer
Lloh51:
	adrp	x8, _RM_HASH_ID@GOTPAGE
Lloh52:
	ldr	x8, [x8, _RM_HASH_ID@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x8, _XLOG_HASH_SPLIT_COMPLETE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _XLOG_HASH_SPLIT_COMPLETE@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_XLogInsert
	mov	x19, x0
	mov	x0, x24
	bl	_BufferGetPage
	mov	x1, x19
	bl	_PageSetLSN
	mov	x0, x21
	bl	_BufferGetPage
	mov	x1, x19
	bl	_PageSetLSN
LBB0_28:
	bl	_END_CRIT_SECTION
	mov	x0, x24
	bl	_IsBufferCleanupOK
	mov	x19, x0
	ldr	w1, [x27]
	mov	x0, x21
	bl	_LockBuffer
	cbz	x19, LBB0_30
; %bb.29:
	mov	x0, x24
	bl	_BufferGetBlockNumber
	mov	x3, x0
	sub	sp, sp, #48
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #24]
	mov	w8, #1
	str	w8, [sp, #16]
	str	q0, [sp]
	mov	x0, x28
	ldur	x1, [x29, #-160]                ; 8-byte Folded Reload
	mov	x2, x24
	mov	x4, #0
	mov	x5, x23
	mov	x6, x26
	mov	x7, x25
	bl	_hashbucketcleanup
	add	sp, sp, #48
	b	LBB0_31
LBB0_30:
	ldr	w1, [x27]
	mov	x0, x24
	bl	_LockBuffer
LBB0_31:
	ldur	x8, [x29, #-88]
Lloh57:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh58:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	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_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxIndexTuplesPerPage,4,2      ; @MaxIndexTuplesPerPage
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_INDEX_MOVED_BY_SPLIT_MASK,4,2  ; @INDEX_MOVED_BY_SPLIT_MASK
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
	.comm	_HASH_READ,4,2                  ; @HASH_READ
	.comm	_LH_OVERFLOW_PAGE,4,2           ; @LH_OVERFLOW_PAGE
	.comm	_BUFFER_LOCK_EXCLUSIVE,4,2      ; @BUFFER_LOCK_EXCLUSIVE
	.comm	_LH_BUCKET_BEING_SPLIT,4,2      ; @LH_BUCKET_BEING_SPLIT
	.comm	_LH_BUCKET_BEING_POPULATED,4,2  ; @LH_BUCKET_BEING_POPULATED
	.comm	_LH_BUCKET_NEEDS_SPLIT_CLEANUP,4,2 ; @LH_BUCKET_NEEDS_SPLIT_CLEANUP
	.comm	_SizeOfHashSplitComplete,4,2    ; @SizeOfHashSplitComplete
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_RM_HASH_ID,4,2                 ; @RM_HASH_ID
	.comm	_XLOG_HASH_SPLIT_COMPLETE,4,2   ; @XLOG_HASH_SPLIT_COMPLETE
	.no_dead_strip	__hash_splitbucket
.subsections_via_symbols
