	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heap_prune_chain
_heap_prune_chain:                      ## @heap_prune_chain
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %edi
	callq	_BufferGetPage
	movl	%eax, %r14d
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_PageGetMaxOffsetNumber
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_MaxHeapTuplesPerPage@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_RelationGetRelid
	movl	%eax, -128(%rbp)
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_PageGetItemId
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ItemIdIsNormal
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_PageGetItem
	movq	%rax, %r13
	movq	%rax, -136(%rbp)
	movl	%ebx, %edi
	callq	_ItemIdGetLength
	movq	%rax, -144(%rbp)
	movl	%r15d, %edi
	callq	_BufferGetBlockNumber
	leaq	-152(%rbp), %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_ItemPointerSet
	movq	%r13, %rdi
	callq	_HeapTupleHeaderIsHeapOnly
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	-152(%rbp), %rdi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_HeapTupleSatisfiesVacuum
	xorl	%r15d, %r15d
	cmpl	$132, %eax
	jne	LBB0_43
## %bb.3:
	movq	%r13, %rdi
	callq	_HeapTupleHeaderIsHotUpdated
	testl	%eax, %eax
	jne	LBB0_43
## %bb.4:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_heap_prune_record_unused
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_HeapTupleHeaderAdvanceLatestRemovedXid
	movl	$1, %r15d
	jmp	LBB0_43
LBB0_5:
	movl	%r14d, -108(%rbp)               ## 4-byte Spill
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	ja	LBB0_30
## %bb.6:
	cmpq	%r12, -120(%rbp)                ## 8-byte Folded Reload
	jb	LBB0_30
## %bb.7:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	cmpq	$0, (%rax,%r12,8)
	jne	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %r14d
	movl	-108(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_PageGetItemId
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ItemIdIsUsed
	testl	%eax, %eax
	je	LBB0_27
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %edi
	callq	_ItemIdIsRedirected
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, %ecx
	jg	LBB0_27
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movslq	%ecx, %rax
	incl	%ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, (%rcx,%rax,8)
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_ItemIdGetRedirect
	movq	%rax, %r12
	movl	%r14d, %r15d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %edi
	callq	_ItemIdIsDead
	testq	%rax, %rax
	jne	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %edi
	callq	_ItemIdIsNormal
	movl	%eax, %edi
	callq	_Assert
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_PageGetItem
	movq	%rax, %r13
	movq	%rax, -136(%rbp)
	movl	%r15d, %edi
	callq	_ItemIdGetLength
	movq	%rax, -144(%rbp)
	movl	%r14d, %r15d
	movl	%r14d, %edi
	callq	_BufferGetBlockNumber
	leaq	-152(%rbp), %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_ItemPointerSet
	movl	-96(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_TransactionIdIsValid
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_HeapTupleHeaderGetXmin
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_TransactionIdEquals
	testl	%eax, %eax
	je	LBB0_27
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rax
	incl	%ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, (%rcx,%rax,8)
	leaq	-152(%rbp), %rdi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_HeapTupleSatisfiesVacuum
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_HeapTupleHeaderGetUpdateXid
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_heap_prune_record_prunable
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_HeapTupleHeaderAdvanceLatestRemovedXid
LBB0_22:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_HeapTupleHeaderIsHotUpdated
	testl	%eax, %eax
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_HeapTupleHeaderIndicatesMovedPartitions
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	%r13, %rdi
	callq	_ItemPointerGetBlockNumber
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_BufferGetBlockNumber
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_Assert
	movq	%r13, %rdi
	callq	_ItemPointerGetOffsetNumber
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_HeapTupleHeaderGetUpdateXid
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r12
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jb	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	-120(%rbp), %r12                ## 8-byte Folded Reload
	jbe	LBB0_8
	jmp	LBB0_27
LBB0_30:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_OffsetNumberIsValid
	testq	%rax, %rax
	je	LBB0_41
## %bb.31:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	$1, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_38
LBB0_23:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
LBB0_19:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	jmp	LBB0_27
LBB0_18:
	movq	%r13, %rdi
	callq	_HeapTupleHeaderGetUpdateXid
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_heap_prune_record_prunable
LBB0_27:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_OffsetNumberIsValid
	testq	%rax, %rax
	je	LBB0_40
## %bb.28:
	movl	$1, %r13d
	xorl	%r15d, %r15d
	cmpl	$2, -72(%rbp)                   ## 4-byte Folded Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jl	LBB0_29
## %bb.32:
	movb	$1, %bl
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	je	LBB0_38
## %bb.33:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	leal	-1(%rax), %r15d
	leal	-2(%rax), %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r12,8), %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_heap_prune_record_unused
	cmpl	%r12d, %r13d
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_35 Depth=1
	incq	%r12
	cmpq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	jne	LBB0_35
## %bb.45:
	leaq	1(%r12), %r13
	cmpq	%r14, %r13
	setb	%bl
	movl	%r12d, %r15d
	jmp	LBB0_37
LBB0_40:
	xorl	%r15d, %r15d
	cmpl	$1, -72(%rbp)                   ## 4-byte Folded Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	jg	LBB0_43
LBB0_41:
	movl	%ebx, %edi
	callq	_ItemIdIsRedirected
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_42
	jmp	LBB0_43
LBB0_29:
	xorl	%ebx, %ebx
	jmp	LBB0_38
LBB0_36:
	addq	$2, %r12
	cmpq	%r14, %r12
	setb	%bl
	movq	-72(%rbp), %r13                 ## 8-byte Reload
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
LBB0_37:
	movq	-104(%rbp), %r12                ## 8-byte Reload
LBB0_38:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_ItemIdIsNormal
	cmpl	$1, %eax
	sbbl	$-1, %r15d
	testb	%bl, %bl
	je	LBB0_42
## %bb.39:
	movl	%r13d, %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_heap_prune_record_redirect
	jmp	LBB0_43
LBB0_42:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_heap_prune_record_dead
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.44:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_18
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_InvalidOffsetNumber,8,3        ## @InvalidOffsetNumber
	.comm	_MaxHeapTuplesPerPage,4,2       ## @MaxHeapTuplesPerPage
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.no_dead_strip	_heap_prune_chain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heap_prune_chain
_heap_prune_chain:                      ; @heap_prune_chain
	.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, #80
	stur	x4, [x29, #-128]                ; 8-byte Folded Spill
	mov	x22, x3
	mov	x28, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x0, x1
	bl	_BufferGetPage
	mov	x25, x0
Lloh3:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
Lloh6:
	adrp	x8, _InvalidOffsetNumber@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
	bl	_PageGetMaxOffsetNumber
	mov	x26, x0
Lloh9:
	adrp	x8, _MaxHeapTuplesPerPage@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MaxHeapTuplesPerPage@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x20
	bl	_RelationGetRelid
	stur	w0, [x29, #-96]
	mov	x0, x25
	mov	x1, x28
	bl	_PageGetItemId
	mov	x21, x0
	bl	_ItemIdIsNormal
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x25
	mov	x1, x21
	bl	_PageGetItem
	mov	x23, x0
	stur	x0, [x29, #-104]
	mov	x0, x21
	bl	_ItemIdGetLength
	stur	x0, [x29, #-112]
	mov	x0, x24
	bl	_BufferGetBlockNumber
	mov	x1, x0
	sub	x0, x29, #120
	mov	x2, x28
	bl	_ItemPointerSet
	mov	x0, x23
	bl	_HeapTupleHeaderIsHeapOnly
	cbz	x0, LBB0_5
; %bb.2:
	sub	x0, x29, #120
	mov	x1, x22
	mov	x2, x24
	bl	_HeapTupleSatisfiesVacuum
	cmp	w0, #132
	b.ne	LBB0_36
; %bb.3:
	mov	x0, x23
	bl	_HeapTupleHeaderIsHotUpdated
	cbnz	w0, LBB0_36
; %bb.4:
	ldur	x19, [x29, #-128]               ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x28
	bl	_heap_prune_record_unused
	mov	x0, x23
	mov	x1, x19
	bl	_HeapTupleHeaderAdvanceLatestRemovedXid
	mov	w21, #1
	b	LBB0_37
LBB0_5:
Lloh14:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x28
	ccmp	x26, x28, #0, ls
	b.hs	LBB0_8
; %bb.6:
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	bl	_OffsetNumberIsValid
	cbz	x0, LBB0_34
; %bb.7:
	stur	x19, [x29, #-136]               ; 8-byte Folded Spill
	b	LBB0_29
LBB0_8:
	stur	w22, [x29, #-148]               ; 4-byte Folded Spill
	stur	x19, [x29, #-136]               ; 8-byte Folded Spill
	mov	w22, #0
	stur	x28, [x29, #-160]               ; 8-byte Folded Spill
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
Lloh17:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x28, x8
	ccmp	x28, x26, #2, hs
	mov	x22, x19
	b.hi	LBB0_25
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x28, lsl #3]
	cbnz	x8, LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	mov	x1, x28
	bl	_PageGetItemId
	mov	x20, x0
	bl	_ItemIdIsUsed
	cbz	w0, LBB0_24
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_ItemIdIsRedirected
	cbz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w22, #0
	b.gt	LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w19, w22, #1
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	str	x28, [x8, w22, sxtw #3]
	mov	x0, x21
	bl	_ItemIdGetRedirect
	mov	x28, x0
	b	LBB0_9
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_ItemIdIsDead
	cbnz	x0, LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_ItemIdIsNormal
	bl	_Assert
	mov	x0, x25
	mov	x1, x20
	bl	_PageGetItem
	mov	x23, x0
	stur	x0, [x29, #-104]
	mov	x0, x20
	bl	_ItemIdGetLength
	stur	x0, [x29, #-112]
	mov	x0, x24
	bl	_BufferGetBlockNumber
	mov	x1, x0
	sub	x0, x29, #120
	mov	x2, x28
	bl	_ItemPointerSet
	mov	x0, x27
	bl	_TransactionIdIsValid
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
	bl	_HeapTupleHeaderGetXmin
	mov	x1, x27
	bl	_TransactionIdEquals
	cbz	w0, LBB0_24
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	add	w19, w22, #1
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	str	x28, [x8, w22, sxtw #3]
	sub	x0, x29, #120
	ldur	w1, [x29, #-148]                ; 4-byte Folded Reload
	mov	x2, x24
	bl	_HeapTupleSatisfiesVacuum
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_45
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh20:
	adrp	x11, lJTI0_0@PAGE
Lloh21:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_20
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
	bl	_HeapTupleHeaderGetUpdateXid
	mov	x1, x0
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_heap_prune_record_prunable
	ldur	x28, [x29, #-144]               ; 8-byte Folded Reload
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
	ldur	x1, [x29, #-128]                ; 8-byte Folded Reload
	bl	_HeapTupleHeaderAdvanceLatestRemovedXid
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
	bl	_HeapTupleHeaderIsHotUpdated
	cbz	w0, LBB0_44
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
	bl	_HeapTupleHeaderIndicatesMovedPartitions
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x23
	bl	_ItemPointerGetBlockNumber
	mov	x20, x0
	mov	x0, x24
	bl	_BufferGetBlockNumber
	cmp	x20, x0
	cset	w0, eq
	bl	_Assert
	mov	x0, x23
	bl	_ItemPointerGetOffsetNumber
	mov	x20, x0
	mov	x0, x23
	bl	_HeapTupleHeaderGetUpdateXid
	mov	x27, x0
	stur	x28, [x29, #-144]               ; 8-byte Folded Spill
	mov	x28, x20
	b	LBB0_9
LBB0_24:
	mov	x19, x22
LBB0_25:
	ldur	x27, [x29, #-144]               ; 8-byte Folded Reload
	mov	x0, x27
	bl	_OffsetNumberIsValid
	cbz	x0, LBB0_33
; %bb.26:
	subs	w24, w19, #2
	ldur	x28, [x29, #-160]               ; 8-byte Folded Reload
	b.lt	LBB0_29
; %bb.27:
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x8, [x9]
	cmp	x8, x27
	b.ne	LBB0_39
; %bb.28:
	mov	w22, #0
	mov	w19, #1
	mov	w20, #1
	b	LBB0_30
LBB0_29:
	mov	w22, #0
	mov	w20, #0
	mov	w19, #1
LBB0_30:
	mov	x0, x21
	bl	_ItemIdIsNormal
	cmp	w0, #0
	cinc	w21, w22, ne
	tbz	w20, #0, LBB0_32
; %bb.31:
	ldp	x8, x0, [x29, #-136]            ; 16-byte Folded Reload
	ldr	x2, [x8, w19, uxtw #3]
	mov	x1, x28
	bl	_heap_prune_record_redirect
	b	LBB0_37
LBB0_32:
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	mov	x1, x28
	bl	_heap_prune_record_dead
	b	LBB0_37
LBB0_33:
	cmp	w19, #1
	ldur	x28, [x29, #-160]               ; 8-byte Folded Reload
	b.gt	LBB0_36
LBB0_34:
	mov	x0, x21
	bl	_ItemIdIsRedirected
	cbz	x0, LBB0_36
; %bb.35:
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	mov	x1, x28
	bl	_heap_prune_record_dead
LBB0_36:
	mov	w21, #0
LBB0_37:
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.38:
	mov	x0, x21
	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_39:
	mov	x23, #0
	sub	w22, w19, #1
	add	x26, x9, #8
	mov	w25, w19
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x26, x23, lsl #3]
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	mov	x1, x20
	bl	_heap_prune_record_unused
	cmp	w24, w23
	b.eq	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	add	x23, x23, #1
	cmp	x20, x27
	b.ne	LBB0_40
; %bb.42:
	add	x19, x23, #1
	cmp	x19, x25
	cset	w20, lo
	mov	x22, x23
	b	LBB0_30
LBB0_43:
	add	x8, x23, #2
	cmp	x8, x25
	cset	w20, lo
	b	LBB0_30
LBB0_44:
	stur	x28, [x29, #-144]               ; 8-byte Folded Spill
	b	LBB0_25
LBB0_45:
Lloh25:
	adrp	x8, _ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	b	LBB0_25
LBB0_46:
	mov	x0, x23
	bl	_HeapTupleHeaderGetUpdateXid
	mov	x1, x0
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_heap_prune_record_prunable
	b	LBB0_25
LBB0_47:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_25-LBB0_20)>>2
	.byte	(LBB0_25-LBB0_20)>>2
	.byte	(LBB0_46-LBB0_20)>>2
	.byte	(LBB0_21-LBB0_20)>>2
                                        ; -- End function
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_InvalidOffsetNumber,8,3        ; @InvalidOffsetNumber
	.comm	_MaxHeapTuplesPerPage,4,2       ; @MaxHeapTuplesPerPage
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.no_dead_strip	_heap_prune_chain
.subsections_via_symbols
