	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heapgettup
_heapgettup:                            ## @heapgettup
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	56(%rdi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	callq	_ScanDirectionIsBackward
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_ScanDirectionIsForward
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	cmpl	$0, (%r14)
	je	LBB0_2
## %bb.9:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	32(%r14), %r12
	leaq	80(%r14), %rdi
	callq	_ItemPointerGetOffsetNumber
	movl	%eax, %edi
	callq	_OffsetNumberNext
	movl	%eax, %r13d
LBB0_10:
	movl	64(%r14), %edi
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	64(%r14), %edi
	callq	_BufferGetPage
	movq	%rax, %rbx
	movl	44(%r14), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rdx
	callq	_TestForOldSnapshot
	movq	%rbx, %r15
	movq	%rbx, %rdi
	callq	_PageGetMaxOffsetNumber
	subl	%r13d, %eax
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edx
LBB0_24:
	leaq	72(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	negl	%eax
	movl	$0, %ebx
	sbbl	%ebx, %ebx
	movl	%ecx, %eax
	negl	%eax
	movl	$0, %r13d
	sbbq	%r13, %r13
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, %esi
	callq	_PageGetItemId
	movq	%rax, %r15
	leaq	80(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	orl	$1, %ebx
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	orq	$1, %r13
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_PageGetItemId
	movq	%rax, %r15
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	incl	%eax
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=2
	testl	%r12d, %r12d
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_59
LBB0_32:                                ##   in Loop: Header=BB0_27 Depth=2
	addl	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	addq	-112(%rbp), %r15                ## 8-byte Folded Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	decl	%eax
	cmpl	$1, %eax
	jle	LBB0_33
LBB0_27:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_ItemIdIsNormal
	testl	%eax, %eax
	je	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_PageGetItem
	movq	%rax, 72(%r14)
	movq	%r15, %rdi
	callq	_ItemIdGetLength
	movq	%rax, 88(%r14)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	callq	_ItemPointerSet
	movl	64(%r14), %edx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rbx
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_HeapTupleSatisfiesVisibility
	movl	%eax, %r12d
	movl	44(%rbx), %esi
	movl	64(%rbx), %ecx
	movl	%eax, %edi
	movq	%r13, %rdx
	movl	%r14d, %r8d
	movq	%rbx, %r14
	callq	_CheckForSerializableConflictOut
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	testl	%r12d, %r12d
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	44(%r14), %edi
	callq	_RelationGetDescr
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	callq	_HeapKeyTest
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	64(%r14), %edi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	je	LBB0_42
## %bb.34:                              ##   in Loop: Header=BB0_25 Depth=1
	movb	$1, %al
	cmpq	24(%r14), %r12
	jne	LBB0_35
## %bb.38:                              ##   in Loop: Header=BB0_25 Depth=1
	testq	%r12, %r12
	je	LBB0_39
LBB0_40:                                ##   in Loop: Header=BB0_25 Depth=1
	testb	%al, %al
	je	LBB0_41
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	48(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_47
## %bb.43:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	44(%r14), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_table_block_parallelscan_nextpage
	movq	%rax, %r12
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_44
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	16(%r14), %rcx
	xorl	%eax, %eax
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_25 Depth=1
	xorl	%eax, %eax
	decq	%rcx
	movq	%rcx, 16(%r14)
	sete	%al
LBB0_37:                                ##   in Loop: Header=BB0_25 Depth=1
	testl	%eax, %eax
	setne	%al
	testq	%r12, %r12
	jne	LBB0_40
LBB0_39:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	8(%r14), %r12
	testb	%al, %al
	jne	LBB0_55
LBB0_41:                                ##   in Loop: Header=BB0_25 Depth=1
	decq	%r12
LBB0_44:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_heapgetpage
	movl	64(%r14), %edi
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	64(%r14), %edi
	callq	_BufferGetPage
	movq	%rax, %r13
	movl	44(%r14), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rdx
	callq	_TestForOldSnapshot
	movq	%r13, %rdi
	callq	_PageGetMaxOffsetNumber
	movl	%eax, %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_46
LBB0_47:                                ##   in Loop: Header=BB0_25 Depth=1
	incq	%r12
	cmpq	8(%r14), %r12
	movl	$0, %eax
	cmovgeq	%rax, %r12
	cmpq	24(%r14), %r12
	je	LBB0_53
## %bb.48:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	16(%r14), %rax
	xorl	%ebx, %ebx
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_25 Depth=1
	xorl	%ebx, %ebx
	decq	%rax
	movq	%rax, 16(%r14)
	sete	%bl
LBB0_50:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	_SO_ALLOW_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 40(%r14)
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	44(%r14), %edi
	movq	%r12, %rsi
	callq	_ss_report_location
LBB0_52:                                ##   in Loop: Header=BB0_25 Depth=1
	testl	%ebx, %ebx
	je	LBB0_44
	jmp	LBB0_55
LBB0_59:
	movl	64(%r14), %edi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LockBuffer                     ## TAILCALL
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.12:
	xorl	%edi, %edi
	cmpq	$0, 48(%r14)
	sete	%dil
	callq	_Assert
	cmpl	$0, (%r14)
	je	LBB0_13
## %bb.16:
	movq	32(%r14), %r12
LBB0_17:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	64(%r14), %edi
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	64(%r14), %edi
	callq	_BufferGetPage
	movq	%rax, %rbx
	movl	44(%r14), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rdx
	callq	_TestForOldSnapshot
	movq	%rbx, %r15
	movq	%rbx, %rdi
	callq	_PageGetMaxOffsetNumber
	cmpl	$0, (%r14)
	je	LBB0_18
## %bb.23:
	leaq	80(%r14), %rdi
	callq	_ItemPointerGetOffsetNumber
	movl	%eax, %edi
	callq	_OffsetNumberPrev
	movl	%eax, %edx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_24
LBB0_2:
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.3:
	cmpq	$0, 16(%r14)
	je	LBB0_4
## %bb.5:
	movq	48(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movl	44(%r14), %edi
	movl	%ebx, %esi
	callq	_table_block_parallelscan_startblock_init
	movl	44(%r14), %edi
	movl	%ebx, %esi
	callq	_table_block_parallelscan_nextpage
	movq	%rax, %r12
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_4
	jmp	LBB0_8
LBB0_19:
	cmpl	$0, (%r14)
	je	LBB0_4
## %bb.20:
	leaq	80(%r14), %rbx
	movq	%rbx, %rdi
	callq	_ItemPointerGetBlockNumber
	cmpq	32(%r14), %rax
	je	LBB0_22
## %bb.21:
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_heapgetpage
LBB0_22:
	movl	64(%r14), %edi
	callq	_BufferGetPage
	movq	%rax, %r15
	movl	44(%r14), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rdx
	callq	_TestForOldSnapshot
	movq	%rbx, %rdi
	callq	_ItemPointerGetOffsetNumber
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_PageGetItemId
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ItemIdIsNormal
	movl	%eax, %edi
	callq	_Assert
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_PageGetItem
	movq	%rax, 72(%r14)
	movq	%rbx, %rdi
	callq	_ItemIdGetLength
	movq	%rax, 88(%r14)
	jmp	LBB0_58
LBB0_13:
	movq	8(%r14), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.14:
	cmpq	$0, 16(%r14)
	je	LBB0_4
## %bb.15:
	movq	_SO_ALLOW_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 40(%r14)
	movq	24(%r14), %rax
	testq	%rax, %rax
	cmovgq	%rax, %r12
	decq	%r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_heapgetpage
	jmp	LBB0_17
LBB0_4:
	movl	64(%r14), %edi
	callq	_BufferIsValid
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_Assert
	movq	$0, 72(%r14)
LBB0_58:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	%eax, %edx
	movl	$1, (%r14)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_24
LBB0_7:
	movq	24(%r14), %r12
LBB0_8:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_heapgetpage
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	$1, (%r14)
	jmp	LBB0_10
LBB0_53:
	movq	_SO_ALLOW_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 40(%r14)
	je	LBB0_55
## %bb.54:
	movl	44(%r14), %edi
	movq	%r12, %rsi
	callq	_ss_report_location
LBB0_55:
	movl	64(%r14), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_57
## %bb.56:
	movl	64(%r14), %edi
	callq	_ReleaseBuffer
LBB0_57:
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	movq	$0, 72(%r14)
	movl	$0, (%r14)
	jmp	LBB0_58
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.comm	_FirstOffsetNumber,4,2          ## @FirstOffsetNumber
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.comm	_SO_ALLOW_SYNC,4,2              ## @SO_ALLOW_SYNC
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
	.comm	_InvalidBuffer,4,2              ## @InvalidBuffer
	.no_dead_strip	_heapgettup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heapgettup
_heapgettup:                            ; @heapgettup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	mov	x22, x1
	mov	x19, x0
	ldr	w20, [x0, #56]
	mov	x0, x1
	bl	_ScanDirectionIsBackward
	mov	x21, x0
	mov	x0, x22
	bl	_ScanDirectionIsForward
	cbz	x0, LBB0_34
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_39
; %bb.2:
	ldr	x8, [x19, #32]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	add	x0, x19, #80
	bl	_ItemPointerGetOffsetNumber
	bl	_OffsetNumberNext
	mov	x28, x0
LBB0_3:
	ldr	w0, [x19, #64]
Lloh0:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	w0, [x19, #64]
	bl	_BufferGetPage
	mov	x27, x0
	ldr	w1, [x19, #44]
	mov	x0, x20
	mov	x2, x27
	bl	_TestForOldSnapshot
	mov	x0, x27
	bl	_PageGetMaxOffsetNumber
	sub	w8, w0, w28
	add	w22, w8, #1
LBB0_4:
	add	x25, x19, #72
	mov	x0, x27
	mov	x1, x28
	bl	_PageGetItemId
	mov	x23, x0
	add	x8, x19, #80
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	str	w21, [sp]                       ; 4-byte Folded Spill
	cmp	w21, #0
	mov	w8, #1
	cneg	w21, w8, ne
	cneg	x26, x8, ne
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x19, #48]
	cbz	x1, LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19, #44]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_table_block_parallelscan_nextpage
	mov	x1, x0
Lloh3:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_57
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	bl	_heapgetpage
	ldr	w0, [x19, #64]
Lloh6:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	w0, [x19, #64]
	bl	_BufferGetPage
	mov	x27, x0
	ldr	w1, [x19, #44]
	mov	x0, x20
	mov	x2, x27
	bl	_TestForOldSnapshot
	mov	x0, x27
	bl	_PageGetMaxOffsetNumber
	mov	x22, x0
Lloh9:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w23, #0
	csel	w28, w8, w0, eq
	mov	x0, x27
	mov	x1, x28
	bl	_PageGetItemId
	mov	x23, x0
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w22, #1
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	cbnz	w22, LBB0_33
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	w28, w28, w21
	add	x23, x23, x26
	sub	w24, w24, #1
	cmp	w24, #1
	b.le	LBB0_16
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_ItemIdIsNormal
	cbz	w0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x27
	mov	x1, x23
	bl	_PageGetItem
	str	x0, [x19, #72]
	mov	x0, x23
	bl	_ItemIdGetLength
	str	x0, [x19, #88]
	ldp	x0, x1, [sp, #8]                ; 16-byte Folded Reload
	mov	x2, x28
	bl	_ItemPointerSet
	ldr	w2, [x19, #64]
	mov	x0, x25
	mov	x1, x20
	bl	_HeapTupleSatisfiesVisibility
	mov	x22, x0
	ldr	w1, [x19, #44]
	ldr	w3, [x19, #64]
	mov	x2, x25
	mov	x4, x20
	bl	_CheckForSerializableConflictOut
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	cbz	w22, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w0, [x19, #44]
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x25
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	ldr	x3, [sp, #24]                   ; 8-byte Folded Reload
	mov	x4, x22
	bl	_HeapKeyTest
	b	LBB0_10
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19, #64]
Lloh12:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	w23, [sp]                       ; 4-byte Folded Reload
	cbz	w23, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #24]
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x1, x8
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #1
	cbnz	x1, LBB0_24
	b	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #16]
Lloh15:
	adrp	x9, _InvalidBlockNumber@GOTPAGE
Lloh16:
	ldr	x9, [x9, _InvalidBlockNumber@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	subs	x8, x8, #1
	str	x8, [x19, #16]
	cset	w8, eq
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #0
	cset	w8, ne
	cbnz	x1, LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x19, #8]
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w8, #0, LBB0_57
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	x1, x1, #1
	b	LBB0_7
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	add	x8, x1, #1
	ldr	x9, [x19, #8]
	cmp	x8, x9
	csinc	x1, xzr, x1, ge
	ldr	x8, [x19, #24]
	cmp	x1, x8
	b.eq	LBB0_55
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #16]
Lloh18:
	adrp	x9, _InvalidBlockNumber@GOTPAGE
Lloh19:
	ldr	x9, [x9, _InvalidBlockNumber@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w22, #0
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	subs	x8, x8, #1
	str	x8, [x19, #16]
	cset	w22, eq
LBB0_30:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #40]
Lloh21:
	adrp	x9, _SO_ALLOW_SYNC@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SO_ALLOW_SYNC@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19, #44]
	mov	x24, x1
	bl	_ss_report_location
	mov	x1, x24
LBB0_32:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	w22, LBB0_7
	b	LBB0_57
LBB0_33:
	ldr	w0, [x19, #64]
Lloh24:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_LockBuffer
LBB0_34:
	cbz	w21, LBB0_43
; %bb.35:
	ldr	x8, [x19, #48]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19]
	cbz	w8, LBB0_47
; %bb.36:
	ldr	x8, [x19, #32]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
LBB0_37:
	ldr	w0, [x19, #64]
Lloh27:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	w0, [x19, #64]
	bl	_BufferGetPage
	mov	x27, x0
	ldr	w1, [x19, #44]
	mov	x0, x20
	mov	x2, x27
	bl	_TestForOldSnapshot
	mov	x0, x27
	bl	_PageGetMaxOffsetNumber
	ldr	w8, [x19]
	cbz	w8, LBB0_52
; %bb.38:
	add	x0, x19, #80
	bl	_ItemPointerGetOffsetNumber
	bl	_OffsetNumberPrev
	mov	x28, x0
	mov	x22, x0
	b	LBB0_4
LBB0_39:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_50
; %bb.40:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_50
; %bb.41:
	ldr	x22, [x19, #48]
	cbz	x22, LBB0_53
; %bb.42:
	ldr	w0, [x19, #44]
	mov	x1, x22
	bl	_table_block_parallelscan_startblock_init
	ldr	w0, [x19, #44]
	mov	x1, x22
	bl	_table_block_parallelscan_nextpage
	mov	x9, x0
Lloh30:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh31:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_50
	b	LBB0_54
LBB0_43:
	ldr	w8, [x19]
	cbz	w8, LBB0_50
; %bb.44:
	add	x21, x19, #80
	mov	x0, x21
	bl	_ItemPointerGetBlockNumber
	ldr	x8, [x19, #32]
	cmp	x0, x8
	b.eq	LBB0_46
; %bb.45:
	mov	x1, x0
	mov	x0, x19
	bl	_heapgetpage
LBB0_46:
	ldr	w0, [x19, #64]
	bl	_BufferGetPage
	mov	x22, x0
	ldr	w1, [x19, #44]
	mov	x0, x20
	mov	x2, x22
	bl	_TestForOldSnapshot
	mov	x0, x21
	bl	_ItemPointerGetOffsetNumber
	mov	x1, x0
	mov	x0, x22
	bl	_PageGetItemId
	mov	x20, x0
	bl	_ItemIdIsNormal
	bl	_Assert
	mov	x0, x22
	mov	x1, x20
	bl	_PageGetItem
	str	x0, [x19, #72]
	mov	x0, x20
	bl	_ItemIdGetLength
	str	x0, [x19, #88]
	b	LBB0_51
LBB0_47:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_50
; %bb.48:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_50
; %bb.49:
Lloh33:
	adrp	x9, _SO_ALLOW_SYNC@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SO_ALLOW_SYNC@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	ldr	w10, [x19, #40]
	bic	w9, w10, w9
	str	w9, [x19, #40]
	ldr	x9, [x19, #24]
	cmp	x9, #0
	csel	x8, x9, x8, gt
	sub	x1, x8, #1
	mov	x0, x19
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	bl	_heapgetpage
	b	LBB0_37
LBB0_50:
	ldr	w0, [x19, #64]
	bl	_BufferIsValid
	cmp	x0, #0
	cset	w0, eq
	bl	_Assert
	str	xzr, [x19, #72]
LBB0_51:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_52:
	mov	x28, x0
	mov	w8, #1
	str	w8, [x19]
	mov	x22, x0
	b	LBB0_4
LBB0_53:
	ldr	x9, [x19, #24]
LBB0_54:
	mov	x0, x19
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	mov	x1, x9
	bl	_heapgetpage
Lloh36:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh38:
	ldr	w28, [x8]
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_3
LBB0_55:
	ldr	w8, [x19, #40]
Lloh39:
	adrp	x9, _SO_ALLOW_SYNC@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SO_ALLOW_SYNC@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_57
; %bb.56:
	ldr	w0, [x19, #44]
	bl	_ss_report_location
LBB0_57:
	ldr	w0, [x19, #64]
	bl	_BufferIsValid
	cbz	x0, LBB0_59
; %bb.58:
	ldr	w0, [x19, #64]
	bl	_ReleaseBuffer
LBB0_59:
Lloh42:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh43:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [x19, #64]
Lloh45:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh46:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	str	xzr, [x19, #72]
	str	wzr, [x19]
	b	LBB0_51
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.comm	_FirstOffsetNumber,4,2          ; @FirstOffsetNumber
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.comm	_SO_ALLOW_SYNC,4,2              ; @SO_ALLOW_SYNC
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
	.comm	_InvalidBuffer,4,2              ; @InvalidBuffer
	.no_dead_strip	_heapgettup
.subsections_via_symbols
