	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function heapam_index_build_range_scan
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_heapam_index_build_range_scan:         ## @heapam_index_build_range_scan
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -88(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -168(%rbp)                ## 8-byte Spill
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_MaxHeapTuplesPerPage@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_OidIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	%r13, %rdi
	callq	_IsSystemRelation
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movb	$1, %cl
	cmpq	$0, 40(%r14)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 32(%r14)
	setne	%cl
LBB0_2:
	movq	48(%rbp), %r15
	movl	%r12d, -72(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	sete	%al
	movb	%cl, -49(%rbp)                  ## 1-byte Spill
	xorb	$1, %cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	xorl	%eax, %eax
	callq	_CreateExecutorState
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GetPerTupleExprContext
	movq	%rax, %r12
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_table_slot_create
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -200(%rbp)                ## 8-byte Spill
	movq	%rax, 8(%r12)
	movl	24(%r14), %edi
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_ExecPrepareQual
	movq	%rax, %r12
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_IsBootstrapProcessingMode
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 20(%r14)
	je	LBB0_4
LBB0_5:
	testq	%r15, %r15
	je	LBB0_6
LBB0_10:
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_IsBootstrapProcessingMode
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_Assert
	movq	(%r15), %rbx
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
LBB0_12:
	movq	16(%r15), %rax
	testq	%rax, %rax
	cmoveq	%r15, %rax
	movq	(%rax), %rsi
	movq	_PROGRESS_SCAN_BLOCKS_TOTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_progress_update_param
LBB0_13:
	movq	%r12, -192(%rbp)                ## 8-byte Spill
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	_SnapshotAny@GOTPCREL(%rip), %rax
	movl	$1, %edi
	cmpq	(%rax), %rbx
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_IsMVCCSnapshot
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_15:
	movq	16(%rbp), %r12
	callq	_Assert
	movq	_SnapshotAny@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_TransactionIdIsValid
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	cmpq	%r14, %rbx
	cmovel	%eax, %edi
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	sete	%r14b
	callq	_Assert
	movq	%rbx, -176(%rbp)                ## 8-byte Spill
	cmpq	(%r13), %rbx
	sete	%al
	orb	%r14b, %al
	movzbl	%al, %edi
	callq	_Assert
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
## %bb.17:
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	24(%rbp), %rcx
	cmpq	%rcx, (%rax)
	sete	%dil
	callq	_Assert
	jmp	LBB0_18
LBB0_16:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	24(%rbp), %rdx
	callq	_heap_setscanlimits
LBB0_18:
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_heap_getnext
	testq	%rax, %rax
	movl	-72(%rbp), %r13d                ## 4-byte Reload
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_19
## %bb.20:
	movq	%rax, %r12
	xorpd	%xmm0, %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_ItemPointerGetBlockNumber
	movl	(%rbx,%r13,4), %edx
	leaq	-204(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ItemPointerSet
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movq	40(%rbp), %r9
	callq	*32(%rbp)
	movl	-72(%rbp), %r13d                ## 4-byte Reload
LBB0_60:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	-68(%rbp), %r14d                ## 4-byte Reload
LBB0_61:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_heap_getnext
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_62
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdi
	callq	_heapam_scan_get_blocks_done
	cmpq	-120(%rbp), %rax                ## 8-byte Folded Reload
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, %rbx
	movq	_PROGRESS_SCAN_BLOCKS_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_pgstat_progress_update_param
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-184(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, 8(%r15)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	24(%r15), %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	24(%r15), %edi
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	%ebx, %edi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_heap_get_root_tuples
	movl	24(%r15), %edi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	8(%r15), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	_SnapshotAny@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.52:                              ##   in Loop: Header=BB0_21 Depth=1
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_27 Depth=2
	cmpb	$0, -49(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_38
LBB0_46:                                ##   in Loop: Header=BB0_27 Depth=2
	movl	24(%r15), %edi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	_XLTW_InsertIndexUnique@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rdx
	callq	_XactLockTableWait
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
LBB0_27:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%r15), %edi
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	24(%r15), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_HeapTupleSatisfiesVacuum
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_68
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_32:                                ##   in Loop: Header=BB0_27 Depth=2
	testl	%r13d, %r13d
	jne	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	4(%r12), %edi
	callq	_HeapTupleHeaderGetXmin
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testl	%eax, %eax
	jne	LBB0_39
## %bb.35:                              ##   in Loop: Header=BB0_27 Depth=2
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_RelationGetRelationName
	movl	%r13d, %edi
	movl	-72(%rbp), %r13d                ## 4-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_27 Depth=2
	testl	%r13d, %r13d
	jne	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	4(%r12), %edi
	callq	_HeapTupleHeaderGetUpdateXid
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testl	%eax, %eax
	jne	LBB0_49
## %bb.43:                              ##   in Loop: Header=BB0_27 Depth=2
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_44
## %bb.45:                              ##   in Loop: Header=BB0_27 Depth=2
	cmpb	$0, -49(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_46
	jmp	LBB0_47
LBB0_44:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_RelationGetRelationName
	movl	%r13d, %edi
	movl	-72(%rbp), %r13d                ## 4-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_elog
	cmpb	$0, -49(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_46
LBB0_47:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	%r12, %rdi
	callq	_HeapTupleIsHotUpdated
	testl	%eax, %eax
	jne	LBB0_46
## %bb.48:                              ##   in Loop: Header=BB0_21 Depth=1
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_51
LBB0_33:                                ##   in Loop: Header=BB0_21 Depth=1
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_51
LBB0_68:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_31
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_HeapTupleIsHotUpdated
	testl	%eax, %eax
	jne	LBB0_30
	jmp	LBB0_50
LBB0_41:                                ##   in Loop: Header=BB0_21 Depth=1
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	jmp	LBB0_50
LBB0_39:                                ##   in Loop: Header=BB0_21 Depth=1
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
LBB0_38:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_51
LBB0_49:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_HeapTupleIsHotUpdated
	testl	%eax, %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_50
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
LBB0_31:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	24(%r15), %edi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	jmp	LBB0_61
LBB0_50:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
LBB0_51:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	24(%r15), %edi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
LBB0_53:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-200(%rbp), %r14                ## 8-byte Reload
	movl	(%r14), %edi
	callq	_MemoryContextReset
	movl	24(%r15), %edx
	movq	%r12, %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	callq	_ExecStoreBufferHeapTuple
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %rsi
	callq	_ExecQual
	testl	%eax, %eax
	je	LBB0_60
LBB0_55:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-168(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r8
	callq	_FormIndexDatum
	movq	%r12, %rdi
	callq	_HeapTupleIsHeapOnly
	testq	%rax, %rax
	je	LBB0_59
## %bb.56:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_ItemPointerGetOffsetNumber
	movl	%eax, %r14d
	movslq	%eax, %r13
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	-4(%rbx,%r13,4), %edi
	decq	%r13
	callq	_OffsetNumberIsValid
	testl	%eax, %eax
	jne	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r12, %rdi
	callq	_ItemPointerGetBlockNumber
	movl	%eax, %ebx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_RelationGetRelationName
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_errmsg_internal
	movl	-140(%rbp), %edi                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_59:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movq	40(%rbp), %r9
	callq	*32(%rbp)
	jmp	LBB0_60
LBB0_19:
	xorpd	%xmm0, %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
LBB0_62:
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_64
## %bb.63:
	movq	16(%r15), %rax
	testq	%rax, %rax
	cmoveq	%r15, %rax
	movq	(%rax), %rsi
	movq	_PROGRESS_SCAN_BLOCKS_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_progress_update_param
LBB0_64:
	movq	%r15, %rdi
	callq	_table_endscan
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_66
## %bb.65:
	callq	_UnregisterSnapshot
LBB0_66:
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_ExecDropSingleTupleTableSlot
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	callq	_FreeExecutorState
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, 16(%rcx)
	movq	$0, 8(%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_69
## %bb.67:
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_PROCARRAY_FLAGS_VACUUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_GetOldestXmin
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	testq	%r15, %r15
	jne	LBB0_10
LBB0_6:
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	_SnapshotAny@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	callq	_GetTransactionSnapshot
	movl	%eax, %edi
	callq	_RegisterSnapshot
	movq	%rax, %rbx
	movl	$1, -84(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	callq	_table_beginscan_strat
	movq	%rax, %r15
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
	jmp	LBB0_13
LBB0_69:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
LJTI0_0:
	.long	L0_0_set_29
	.long	L0_0_set_33
	.long	L0_0_set_32
	.long	L0_0_set_40
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.comm	_MaxHeapTuplesPerPage,4,2       ## @MaxHeapTuplesPerPage
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_PROCARRAY_FLAGS_VACUUM,4,2     ## @PROCARRAY_FLAGS_VACUUM
	.comm	_SnapshotAny,8,3                ## @SnapshotAny
	.comm	_PROGRESS_SCAN_BLOCKS_TOTAL,4,2 ## @PROGRESS_SCAN_BLOCKS_TOTAL
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.comm	_PROGRESS_SCAN_BLOCKS_DONE,4,2  ## @PROGRESS_SCAN_BLOCKS_DONE
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
	.comm	_WARNING,4,2                    ## @WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"concurrent insert in progress within table \"%s\""

	.comm	_XLTW_InsertIndexUnique,4,2     ## @XLTW_InsertIndexUnique
L_.str.1:                               ## @.str.1
	.asciz	"concurrent delete in progress within table \"%s\""

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ## @ERRCODE_DATA_CORRUPTED
L_.str.3:                               ## @.str.3
	.asciz	"failed to find parent tuple for heap-only tuple at (%u,%u) in table \"%s\""

	.comm	_NIL,4,2                        ## @NIL
	.no_dead_strip	_heapam_index_build_range_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heapam_index_build_range_scan
_heapam_index_build_range_scan:         ; @heapam_index_build_range_scan
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	sub	sp, sp, #160
	stp	x6, x7, [x29, #-160]            ; 16-byte Folded Spill
	mov	x21, x5
	mov	x24, x4
	mov	x27, x3
	mov	x28, x2
	mov	x22, x0
	ldr	x26, [x29, #32]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
Lloh3:
	adrp	x8, _INDEX_MAX_KEYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INDEX_MAX_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	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, #0x7fffffff0
	sub	x9, x9, x12
	stur	x9, [x29, #-240]                ; 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	x20, x8, x12
	mov	sp, x20
Lloh10:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh11:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
Lloh13:
	adrp	x8, _MaxHeapTuplesPerPage@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MaxHeapTuplesPerPage@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-184]                ; 8-byte Folded Spill
	mov	sp, x8
	stur	x1, [x29, #-216]                ; 8-byte Folded Spill
	ldr	x8, [x1]
	ldr	w0, [x8]
	bl	_OidIsValid
	bl	_Assert
	mov	x0, x22
	bl	_IsSystemRelation
	stur	w0, [x29, #-244]                ; 4-byte Folded Spill
	ldr	x8, [x28, #40]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w9, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x28, #32]
	cmp	x8, #0
	cset	w9, ne
LBB0_3:
	cmp	w24, #0
	cset	w8, eq
	stur	w9, [x29, #-124]                ; 4-byte Folded Spill
	eor	w9, w9, #0x1
	orr	w0, w8, w9
	bl	_Assert
	bl	_CreateExecutorState
	mov	x23, x0
	bl	_GetPerTupleExprContext
	mov	x25, x0
	mov	x0, x22
	mov	x1, #0
	bl	_table_slot_create
	stur	x0, [x29, #-144]                ; 8-byte Folded Spill
	stur	x25, [x29, #-192]               ; 8-byte Folded Spill
	str	x0, [x25, #8]
	ldr	w0, [x28, #24]
	stur	x23, [x29, #-208]               ; 8-byte Folded Spill
	mov	x1, x23
	bl	_ExecPrepareQual
	stur	x0, [x29, #-200]                ; 8-byte Folded Spill
Lloh18:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh19:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	stur	w8, [x29, #-120]                ; 4-byte Folded Spill
	bl	_IsBootstrapProcessingMode
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x28, #20]
	cbz	w8, LBB0_62
LBB0_5:
	ldur	w23, [x29, #-244]               ; 4-byte Folded Reload
	cbz	x26, LBB0_63
LBB0_6:
	bl	_IsBootstrapProcessingMode
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x27
	bl	_Assert
	stur	wzr, [x29, #-252]               ; 4-byte Folded Spill
	ldr	x25, [x26]
	cbz	w21, LBB0_8
LBB0_7:
	ldr	x8, [x26, #16]
	cmp	x8, #0
	csel	x8, x26, x8, eq
	ldr	x1, [x8]
Lloh21:
	adrp	x8, _PROGRESS_SCAN_BLOCKS_TOTAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PROGRESS_SCAN_BLOCKS_TOTAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_pgstat_progress_update_param
LBB0_8:
Lloh24:
	adrp	x8, _SnapshotAny@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SnapshotAny@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x25, x8
	stur	x20, [x29, #-136]               ; 8-byte Folded Spill
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #1
	mov	x19, x25
	b	LBB0_11
LBB0_10:
	mov	x0, x25
	mov	x19, x25
	bl	_IsMVCCSnapshot
	cmp	x0, #0
	cset	w0, ne
LBB0_11:
	bl	_Assert
Lloh27:
	adrp	x25, _SnapshotAny@GOTPAGE
Lloh28:
	ldr	x25, [x25, _SnapshotAny@GOTPAGEOFF]
	ldr	x20, [x25]
	ldur	w0, [x29, #-120]                ; 4-byte Folded Reload
	bl	_TransactionIdIsValid
	cmp	w0, #0
	cset	w8, eq
	cmp	x19, x20
	csel	w0, w0, w8, eq
	bl	_Assert
	ldr	x8, [x25]
	stur	x19, [x29, #-168]               ; 8-byte Folded Spill
	cmp	x19, x8
	ccmp	w24, #0, #4, ne
	cset	w0, eq
	bl	_Assert
	cbz	w27, LBB0_13
; %bb.12:
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh29:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh30:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	b	LBB0_14
LBB0_13:
	mov	x0, x26
	ldp	x1, x2, [x29, #-160]            ; 16-byte Folded Reload
	bl	_heap_setscanlimits
LBB0_14:
	ldur	x19, [x29, #-240]               ; 8-byte Folded Reload
Lloh32:
	adrp	x8, _ForwardScanDirection@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ForwardScanDirection@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_heap_getnext
	cbz	x0, LBB0_55
; %bb.15:
	mov	x27, x0
	movi	d8, #0000000000000000
	ldr	x9, [x29, #24]
	ldr	x8, [x29, #16]
	stp	x8, x9, [x29, #-232]            ; 16-byte Folded Spill
	fmov	d9, #1.00000000
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	sxtw	x19, w22
	mov	x0, x27
	bl	_ItemPointerGetBlockNumber
	mov	x1, x0
	ldr	w2, [x23, x19, lsl #2]
	sub	x0, x29, #116
	bl	_ItemPointerSet
	sub	x1, x29, #116
	ldp	x5, x0, [x29, #-224]            ; 16-byte Folded Reload
	ldp	x19, x8, [x29, #-240]           ; 16-byte Folded Reload
	mov	x2, x19
	ldur	x3, [x29, #-136]                ; 8-byte Folded Reload
	ldur	w4, [x29, #-160]                ; 4-byte Folded Reload
	blr	x8
	mov	x22, x25
	ldur	w23, [x29, #-244]               ; 4-byte Folded Reload
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
Lloh35:
	adrp	x8, _ForwardScanDirection@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ForwardScanDirection@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_heap_getnext
	mov	x27, x0
	cbz	x0, LBB0_56
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
	bl	_CHECK_FOR_INTERRUPTS
	cbz	w21, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x26
	bl	_heapam_scan_get_blocks_done
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	cmp	x0, x8
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x20, x0
Lloh38:
	adrp	x8, _PROGRESS_SCAN_BLOCKS_DONE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PROGRESS_SCAN_BLOCKS_DONE@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_pgstat_progress_update_param
	stur	x20, [x29, #-176]               ; 8-byte Folded Spill
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x26, #8]
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x26, #24]
	bl	_BufferGetPage
	mov	x20, x0
	ldr	w0, [x26, #24]
Lloh41:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_LockBuffer
	mov	x0, x20
	ldur	x1, [x29, #-184]                ; 8-byte Folded Reload
	bl	_heap_get_root_tuples
	ldr	w0, [x26, #24]
Lloh44:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	x8, [x26, #8]
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
LBB0_23:                                ;   in Loop: Header=BB0_18 Depth=1
Lloh47:
	adrp	x8, _SnapshotAny@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SnapshotAny@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=2
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	cbz	w8, LBB0_42
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	ldr	w0, [x26, #24]
Lloh50:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh51:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	bl	_LockBuffer
Lloh53:
	adrp	x8, _XLTW_InsertIndexUnique@GOTPAGE
Lloh54:
	ldr	x8, [x8, _XLTW_InsertIndexUnique@GOTPAGEOFF]
Lloh55:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, x22
	mov	x2, x27
	bl	_XactLockTableWait
	bl	_CHECK_FOR_INTERRUPTS
LBB0_27:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x26, #24]
Lloh56:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	w2, [x26, #24]
	mov	x0, x27
	ldur	w1, [x29, #-120]                ; 4-byte Folded Reload
	bl	_HeapTupleSatisfiesVacuum
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_52
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
Lloh59:
	adrp	x11, lJTI0_0@PAGE
Lloh60:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_29
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_29:                                ;   in Loop: Header=BB0_27 Depth=2
	cbnz	w24, LBB0_41
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	w0, [x27, #4]
	bl	_HeapTupleHeaderGetXmin
	mov	x25, x0
	bl	_TransactionIdIsCurrentTransactionId
	cbnz	w0, LBB0_41
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=2
	cbnz	w23, LBB0_25
; %bb.32:                               ;   in Loop: Header=BB0_27 Depth=2
Lloh61:
	adrp	x8, _WARNING@GOTPAGE
Lloh62:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh63:
	ldr	w20, [x8]
	mov	x0, x22
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
	mov	x0, x20
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
Lloh64:
	adrp	x1, l_.str@PAGE
Lloh65:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	add	sp, sp, #16
	b	LBB0_25
LBB0_33:                                ;   in Loop: Header=BB0_27 Depth=2
	cbnz	w24, LBB0_39
; %bb.34:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	w0, [x27, #4]
	bl	_HeapTupleHeaderGetUpdateXid
	mov	x25, x0
	bl	_TransactionIdIsCurrentTransactionId
	cbnz	w0, LBB0_50
; %bb.35:                               ;   in Loop: Header=BB0_27 Depth=2
	cbz	w23, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_27 Depth=2
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_26
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_27 Depth=2
Lloh66:
	adrp	x8, _WARNING@GOTPAGE
Lloh67:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh68:
	ldr	w20, [x8]
	mov	x0, x22
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
	mov	x0, x20
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
Lloh69:
	adrp	x1, l_.str.1@PAGE
Lloh70:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	add	sp, sp, #16
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_26
LBB0_38:                                ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x27
	bl	_HeapTupleIsHotUpdated
	cbnz	w0, LBB0_26
LBB0_39:                                ;   in Loop: Header=BB0_18 Depth=1
	stur	wzr, [x29, #-160]               ; 4-byte Folded Spill
	fadd	d8, d8, d9
	b	LBB0_43
LBB0_40:                                ;   in Loop: Header=BB0_18 Depth=1
	fadd	d8, d8, d9
	mov	w8, #1
	stur	w8, [x29, #-160]                ; 4-byte Folded Spill
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_44
LBB0_41:                                ;   in Loop: Header=BB0_18 Depth=1
	fadd	d8, d8, d9
LBB0_42:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #1
	stur	w8, [x29, #-160]                ; 4-byte Folded Spill
LBB0_43:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x26, #24]
Lloh71:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh72:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	bl	_LockBuffer
LBB0_44:                                ;   in Loop: Header=BB0_18 Depth=1
	ldur	x25, [x29, #-192]               ; 8-byte Folded Reload
	ldr	w0, [x25]
	bl	_MemoryContextReset
	ldr	w2, [x26, #24]
	mov	x0, x27
	ldur	x1, [x29, #-144]                ; 8-byte Folded Reload
	bl	_ExecStoreBufferHeapTuple
	ldur	x0, [x29, #-200]                ; 8-byte Folded Reload
	cbz	x0, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x1, x25
	bl	_ExecQual
	cbz	w0, LBB0_17
LBB0_46:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x28
	ldur	x1, [x29, #-144]                ; 8-byte Folded Reload
	ldur	x2, [x29, #-208]                ; 8-byte Folded Reload
	mov	x3, x19
	mov	x4, x20
	bl	_FormIndexDatum
	mov	x0, x27
	bl	_HeapTupleIsHeapOnly
	cbz	x0, LBB0_49
; %bb.47:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x25, x22
	mov	x0, x27
	bl	_ItemPointerGetOffsetNumber
	mov	x20, x0
	sub	w22, w0, #1
	ldur	x23, [x29, #-184]               ; 8-byte Folded Reload
	ldr	w0, [x23, w22, sxtw #2]
	bl	_OffsetNumberIsValid
	cbnz	w0, LBB0_16
; %bb.48:                               ;   in Loop: Header=BB0_18 Depth=1
Lloh74:
	adrp	x8, _ERROR@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	stur	w8, [x29, #-248]                ; 4-byte Folded Spill
Lloh77:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh79:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x27
	bl	_ItemPointerGetBlockNumber
	mov	x19, x24
	mov	x24, x21
	mov	x21, x28
	mov	x28, x0
	mov	x0, x25
	bl	_RelationGetRelationName
	mov	x3, x0
Lloh80:
	adrp	x0, l_.str.3@PAGE
Lloh81:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x28
	mov	x28, x21
	mov	x21, x24
	mov	x24, x19
	mov	x2, x20
	bl	_errmsg_internal
	mov	x1, x0
	ldur	w0, [x29, #-248]                ; 4-byte Folded Reload
	bl	_ereport
	b	LBB0_16
LBB0_49:                                ;   in Loop: Header=BB0_18 Depth=1
	ldp	x5, x0, [x29, #-224]            ; 16-byte Folded Reload
	mov	x1, x27
	mov	x2, x19
	mov	x3, x20
	ldur	w4, [x29, #-160]                ; 4-byte Folded Reload
	ldur	x8, [x29, #-232]                ; 8-byte Folded Reload
	blr	x8
	b	LBB0_17
LBB0_50:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x27
	bl	_HeapTupleIsHotUpdated
	cbz	w0, LBB0_54
; %bb.51:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #1
	str	w8, [x28]
	b	LBB0_53
LBB0_52:                                ;   in Loop: Header=BB0_18 Depth=1
Lloh82:
	adrp	x8, _ERROR@GOTPAGE
Lloh83:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
Lloh85:
	adrp	x1, l_.str.2@PAGE
Lloh86:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_53:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x26, #24]
Lloh87:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh88:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	bl	_LockBuffer
	b	LBB0_17
LBB0_54:                                ;   in Loop: Header=BB0_18 Depth=1
	stur	wzr, [x29, #-160]               ; 4-byte Folded Spill
	b	LBB0_43
LBB0_55:
	movi	d8, #0000000000000000
LBB0_56:
	cbz	w21, LBB0_58
; %bb.57:
	ldr	x8, [x26, #16]
	cmp	x8, #0
	csel	x8, x26, x8, eq
	ldr	x1, [x8]
Lloh90:
	adrp	x8, _PROGRESS_SCAN_BLOCKS_DONE@GOTPAGE
Lloh91:
	ldr	x8, [x8, _PROGRESS_SCAN_BLOCKS_DONE@GOTPAGEOFF]
Lloh92:
	ldr	w0, [x8]
	bl	_pgstat_progress_update_param
LBB0_58:
	mov	x0, x26
	bl	_table_endscan
	ldur	w8, [x29, #-252]                ; 4-byte Folded Reload
	cbz	w8, LBB0_60
; %bb.59:
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	bl	_UnregisterSnapshot
LBB0_60:
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	bl	_ExecDropSingleTupleTableSlot
	ldur	x0, [x29, #-208]                ; 8-byte Folded Reload
	bl	_FreeExecutorState
Lloh93:
	adrp	x8, _NIL@GOTPAGE
Lloh94:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	str	w8, [x28, #16]
	str	xzr, [x28, #8]
	ldur	x8, [x29, #-112]
Lloh96:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh97:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh98:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_67
; %bb.61:
	fmov	d0, d8
	sub	sp, x29, #96
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_62:
Lloh99:
	adrp	x8, _PROCARRAY_FLAGS_VACUUM@GOTPAGE
Lloh100:
	ldr	x8, [x8, _PROCARRAY_FLAGS_VACUUM@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_GetOldestXmin
	stur	w0, [x29, #-120]                ; 4-byte Folded Spill
	ldur	w23, [x29, #-244]               ; 4-byte Folded Reload
	cbnz	x26, LBB0_6
LBB0_63:
	ldur	w0, [x29, #-120]                ; 4-byte Folded Reload
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_65
; %bb.64:
	stur	wzr, [x29, #-252]               ; 4-byte Folded Spill
Lloh102:
	adrp	x8, _SnapshotAny@GOTPAGE
Lloh103:
	ldr	x8, [x8, _SnapshotAny@GOTPAGEOFF]
Lloh104:
	ldr	x25, [x8]
	b	LBB0_66
LBB0_65:
	bl	_GetTransactionSnapshot
	bl	_RegisterSnapshot
	mov	x25, x0
	mov	w9, #1
	stur	w9, [x29, #-252]                ; 4-byte Folded Spill
LBB0_66:
	mov	x0, x22
	mov	x1, x25
	mov	w2, #0
	mov	x3, #0
	mov	w4, #1
	mov	x5, x27
	bl	_table_beginscan_strat
	mov	x26, x0
	cbnz	w21, LBB0_7
	b	LBB0_8
LBB0_67:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_50-LBB0_29)>>2
	.byte	(LBB0_41-LBB0_29)>>2
	.byte	(LBB0_29-LBB0_29)>>2
	.byte	(LBB0_33-LBB0_29)>>2
	.byte	(LBB0_53-LBB0_29)>>2
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.comm	_MaxHeapTuplesPerPage,4,2       ; @MaxHeapTuplesPerPage
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_PROCARRAY_FLAGS_VACUUM,4,2     ; @PROCARRAY_FLAGS_VACUUM
	.comm	_SnapshotAny,8,3                ; @SnapshotAny
	.comm	_PROGRESS_SCAN_BLOCKS_TOTAL,4,2 ; @PROGRESS_SCAN_BLOCKS_TOTAL
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.comm	_PROGRESS_SCAN_BLOCKS_DONE,4,2  ; @PROGRESS_SCAN_BLOCKS_DONE
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
	.comm	_WARNING,4,2                    ; @WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"concurrent insert in progress within table \"%s\""

	.comm	_XLTW_InsertIndexUnique,4,2     ; @XLTW_InsertIndexUnique
l_.str.1:                               ; @.str.1
	.asciz	"concurrent delete in progress within table \"%s\""

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ; @ERRCODE_DATA_CORRUPTED
l_.str.3:                               ; @.str.3
	.asciz	"failed to find parent tuple for heap-only tuple at (%u,%u) in table \"%s\""

	.comm	_NIL,4,2                        ; @NIL
	.no_dead_strip	_heapam_index_build_range_scan
.subsections_via_symbols
