	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_doinsert                 ## -- Begin function _hash_doinsert
	.p2align	4, 0x90
__hash_doinsert:                        ## @_hash_doinsert
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -108(%rbp)                ## 4-byte Spill
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	$0, -104(%rbp)
	movq	%rsi, %rdi
	callq	__hash_get_indextuple_hashkey
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_IndexTupleSize
	movq	%rax, %rdi
	callq	_MAXALIGN
	movq	%rax, %r12
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HASH_METAPAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HASH_NOLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LH_META_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	callq	__hash_getbuf
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HashMaxItemSize
	cmpq	%rax, %r12
	jle	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%ebx, %edi
	callq	_HashMaxItemSize
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r14d, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	movq	_HASH_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	leaq	-104(%rbp), %rcx
	callq	__hash_getbucketbuf_from_hashkey
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpq	$0, -104(%rbp)
	setne	%dil
	callq	_Assert
	movl	%r15d, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_CheckForSerializableConflictIn
	movq	%r12, %rdi
	callq	_BufferGetPage
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r13
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_H_BUCKET_BEING_SPLIT
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_IsBufferCleanupOK
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LockBuffer
	movq	-104(%rbp), %rax
	movl	20(%rax), %r9d
	movl	(%rax), %r8d
	movl	16(%rax), %eax
	movl	%eax, (%rsp)
	movl	%r15d, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	__hash_finish_split
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	__hash_dropbuf
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	__hash_dropbuf
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_1
LBB0_6:
	movl	%r14d, %edi
	callq	_PageGetFreeSpace
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_18
## %bb.7:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_LockBuffer
	xorl	%ecx, %ecx
	cmpq	%r12, %rbx
	sete	%cl
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	__hash_addovflpage
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_BufferGetPage
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_PageGetFreeSpace
	xorl	%edi, %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, %rax
	setge	%dil
	callq	_Assert
	movq	_LH_OVERFLOW_PAGE@GOTPCREL(%rip), %r15
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r13
	movq	_LH_PAGE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%r13), %eax
	xorl	%edi, %edi
	cmpl	(%r15), %eax
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r13)
	sete	%dil
	callq	_Assert
	movl	%r14d, %edi
	callq	_PageGetFreeSpace
	cmpq	%rbx, %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jge	LBB0_18
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_H_HAS_DEAD_TUPLES
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_IsBufferCleanupOK
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %edi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	__hash_vacuum_one_page
	movl	%r14d, %edi
	callq	_PageGetFreeSpace
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_18
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	12(%r13), %ebx
	movl	%ebx, %edi
	callq	_BlockNumberIsValid
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%r12, %rsi
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LockBuffer
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	__hash_relbuf
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_LH_OVERFLOW_PAGE@GOTPCREL(%rip), %r15
	movq	_HASH_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	__hash_getbuf
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_BufferGetPage
	movl	%eax, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_18:
	movq	_BUFFER_LOCK_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_LockBuffer
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movl	%r15d, %edi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	callq	__hash_pgaddtup
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_MarkBufferDirty
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	callq	_HashPageGetMeta
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	incl	%edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, 4(%rax)
	cvtsi2sdq	8(%rax), %xmm0
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	incl	%ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	movsd	%xmm0, -88(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_MarkBufferDirty
	movl	%r15d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	%ebx, -96(%rbp)
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	_SizeOfHashInsert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rdi
	callq	_XLogRegisterData
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$1, %edi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_XLogRegisterBuffer
	movl	(%rbx), %edx
	xorl	%edi, %edi
	movq	%r13, %rsi
	callq	_XLogRegisterBuffer
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_IndexTupleSize
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_XLogRegisterBufData
	movq	_RM_HASH_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_HASH_INSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_PageSetLSN
	movq	%r15, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	movl	%ebx, %esi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	callq	_PageSetLSN
LBB0_20:
	xorps	%xmm0, %xmm0
	cvtsi2sdl	-56(%rbp), %xmm0        ## 4-byte Folded Reload
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	-80(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	-88(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_LockBuffer
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	__hash_relbuf
	cmpq	%r12, %r13
	je	LBB0_22
## %bb.21:
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	__hash_dropbuf
LBB0_22:
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	ucomisd	-80(%rbp), %xmm0                ## 8-byte Folded Reload
	jbe	LBB0_24
## %bb.23:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	__hash_expandtable
LBB0_24:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	__hash_dropbuf
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_HASH_METAPAGE,4,2              ## @HASH_METAPAGE
	.comm	_HASH_NOLOCK,4,2                ## @HASH_NOLOCK
	.comm	_LH_META_PAGE,4,2               ## @LH_META_PAGE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index row size %zu exceeds hash maximum %zu"

L_.str.1:                               ## @.str.1
	.asciz	"Values larger than a buffer page cannot be indexed."

	.comm	_HASH_WRITE,4,2                 ## @HASH_WRITE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
	.comm	_LH_OVERFLOW_PAGE,4,2           ## @LH_OVERFLOW_PAGE
	.comm	_LH_PAGE_TYPE,4,2               ## @LH_PAGE_TYPE
	.comm	_BUFFER_LOCK_EXCLUSIVE,4,2      ## @BUFFER_LOCK_EXCLUSIVE
	.comm	_SizeOfHashInsert,4,2           ## @SizeOfHashInsert
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_RM_HASH_ID,4,2                 ## @RM_HASH_ID
	.comm	_XLOG_HASH_INSERT,4,2           ## @XLOG_HASH_INSERT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_doinsert                 ; -- Begin function _hash_doinsert
	.p2align	2
__hash_doinsert:                        ; @_hash_doinsert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	str	w2, [sp, #8]                    ; 4-byte Folded Spill
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #24]
	mov	x0, x1
	bl	__hash_get_indextuple_hashkey
	mov	x26, x0
	str	x20, [sp]                       ; 8-byte Folded Spill
	mov	x0, x20
	bl	_IndexTupleSize
	bl	_MAXALIGN
	mov	x24, x0
Lloh0:
	adrp	x21, _LH_META_PAGE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LH_META_PAGE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
Lloh2:
	adrp	x8, _HASH_METAPAGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HASH_METAPAGE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _HASH_NOLOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HASH_NOLOCK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w3, [x21]
	mov	x0, x19
	bl	__hash_getbuf
	mov	x25, x0
	bl	_BufferGetPage
	mov	x20, x0
	bl	_HashMaxItemSize
	cmp	x24, x0
	b.le	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_HashMaxItemSize
	mov	x2, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	bl	_errmsg
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
Lloh18:
	adrp	x8, _HASH_WRITE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HASH_WRITE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x26
	bl	__hash_getbucketbuf_from_hashkey
	mov	x22, x0
	ldr	x8, [sp, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	bl	_CheckForSerializableConflictIn
	mov	x0, x22
	bl	_BufferGetPage
	mov	x23, x0
	bl	_PageGetSpecialPointer
	mov	x28, x0
	ldr	x27, [x0]
	bl	_H_BUCKET_BEING_SPLIT
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_IsBufferCleanupOK
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh21:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_LockBuffer
	ldr	x8, [sp, #24]
	ldr	w4, [x8]
	ldp	w6, w5, [x8, #16]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x22
	mov	x3, x27
	bl	__hash_finish_split
	mov	x0, x19
	mov	x1, x22
	bl	__hash_dropbuf
	mov	x0, x19
	mov	x1, x25
	bl	__hash_dropbuf
	b	LBB0_1
LBB0_6:
	mov	x0, x23
	bl	_PageGetFreeSpace
	mov	x26, x22
	cmp	x0, x24
	b.ge	LBB0_18
; %bb.7:
Lloh24:
	adrp	x21, _LH_OVERFLOW_PAGE@GOTPAGE
Lloh25:
	ldr	x21, [x21, _LH_OVERFLOW_PAGE@GOTPAGEOFF]
	mov	x26, x22
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
Lloh26:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_LockBuffer
	cmp	x26, x22
	cset	w3, eq
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	bl	__hash_addovflpage
	mov	x26, x0
	bl	_BufferGetPage
	mov	x23, x0
	bl	_PageGetFreeSpace
	cmp	x0, x20
	cset	w0, ge
	bl	_Assert
	mov	x21, x24
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x24, x20
	mov	x0, x23
	bl	_PageGetSpecialPointer
	mov	x28, x0
	ldr	w8, [x0, #8]
Lloh29:
	adrp	x9, _LH_PAGE_TYPE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _LH_PAGE_TYPE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	w9, [x21]
	cmp	w8, w9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x28]
	cmp	x8, x27
	cset	w0, eq
	bl	_Assert
	mov	x0, x23
	bl	_PageGetFreeSpace
	cmp	x0, x20
	b.ge	LBB0_18
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
	bl	_H_HAS_DEAD_TUPLES
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x26
	bl	_IsBufferCleanupOK
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	mov	x2, x25
	mov	x3, x26
	bl	__hash_vacuum_one_page
	mov	x0, x23
	bl	_PageGetFreeSpace
	cmp	x0, x24
	b.ge	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, x24
	mov	x24, x21
	ldr	w21, [x28, #12]
	mov	x0, x21
	bl	_BlockNumberIsValid
	cbz	x0, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	x26, x22
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh32:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_LockBuffer
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	__hash_relbuf
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh35:
	adrp	x8, _HASH_WRITE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HASH_WRITE@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x21
	mov	x21, x24
	bl	__hash_getbuf
	mov	x26, x0
	bl	_BufferGetPage
	mov	x23, x0
	b	LBB0_9
LBB0_18:
Lloh38:
	adrp	x8, _BUFFER_LOCK_EXCLUSIVE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BUFFER_LOCK_EXCLUSIVE@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_LockBuffer
	bl	_START_CRIT_SECTION
	mov	x0, x19
	mov	x1, x26
	mov	x2, x24
	ldr	x24, [sp]                       ; 8-byte Folded Reload
	mov	x3, x24
	bl	__hash_pgaddtup
	mov	x21, x0
	mov	x0, x26
	bl	_MarkBufferDirty
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_HashPageGetMeta
	ldp	w9, w8, [x0]
	add	w23, w8, #1
	str	w23, [x0, #4]
	ldr	d0, [x0, #8]
	scvtf	d8, d0
	add	w8, w9, #1
	scvtf	d9, w8
	mov	x0, x25
	bl	_MarkBufferDirty
	mov	x0, x19
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_20
; %bb.19:
	str	w21, [sp, #16]
	bl	_XLogBeginInsert
Lloh41:
	adrp	x8, _SizeOfHashInsert@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SizeOfHashInsert@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_XLogRegisterData
Lloh44:
	adrp	x21, _REGBUF_STANDARD@GOTPAGE
Lloh45:
	ldr	x21, [x21, _REGBUF_STANDARD@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w0, #1
	mov	x1, x25
	bl	_XLogRegisterBuffer
	ldr	w2, [x21]
	mov	w0, #0
	mov	x1, x26
	bl	_XLogRegisterBuffer
	mov	x0, x24
	bl	_IndexTupleSize
	mov	x2, x0
	mov	w0, #0
	mov	x1, x24
	bl	_XLogRegisterBufData
Lloh46:
	adrp	x8, _RM_HASH_ID@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RM_HASH_ID@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x8, _XLOG_HASH_INSERT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _XLOG_HASH_INSERT@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	bl	_XLogInsert
	mov	x21, x0
	mov	x0, x26
	bl	_BufferGetPage
	mov	x1, x21
	bl	_PageSetLSN
	mov	x0, x25
	bl	_BufferGetPage
	mov	x1, x21
	bl	_PageSetLSN
LBB0_20:
	scvtf	d10, w23
	fmul	d8, d8, d9
	bl	_END_CRIT_SECTION
Lloh52:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh53:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_LockBuffer
	mov	x0, x19
	mov	x1, x26
	bl	__hash_relbuf
	cmp	x26, x22
	b.eq	LBB0_22
; %bb.21:
	mov	x0, x19
	mov	x1, x22
	bl	__hash_dropbuf
LBB0_22:
	fcmp	d8, d10
	b.pl	LBB0_24
; %bb.23:
	mov	x0, x19
	mov	x1, x25
	bl	__hash_expandtable
LBB0_24:
	mov	x0, x19
	mov	x1, x25
	bl	__hash_dropbuf
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_HASH_METAPAGE,4,2              ; @HASH_METAPAGE
	.comm	_HASH_NOLOCK,4,2                ; @HASH_NOLOCK
	.comm	_LH_META_PAGE,4,2               ; @LH_META_PAGE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index row size %zu exceeds hash maximum %zu"

l_.str.1:                               ; @.str.1
	.asciz	"Values larger than a buffer page cannot be indexed."

	.comm	_HASH_WRITE,4,2                 ; @HASH_WRITE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
	.comm	_LH_OVERFLOW_PAGE,4,2           ; @LH_OVERFLOW_PAGE
	.comm	_LH_PAGE_TYPE,4,2               ; @LH_PAGE_TYPE
	.comm	_BUFFER_LOCK_EXCLUSIVE,4,2      ; @BUFFER_LOCK_EXCLUSIVE
	.comm	_SizeOfHashInsert,4,2           ; @SizeOfHashInsert
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_RM_HASH_ID,4,2                 ; @RM_HASH_ID
	.comm	_XLOG_HASH_INSERT,4,2           ; @XLOG_HASH_INSERT
.subsections_via_symbols
