	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heap_page_is_all_visible
_heap_page_is_all_visible:              ## @heap_page_is_all_visible
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %ebx
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	callq	_BufferGetPage
	movl	%eax, %r13d
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_BufferGetBlockNumber
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$1, (%r14)
	movl	%r13d, %edi
	callq	_PageGetMaxOffsetNumber
	movq	%rax, %r12
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	$1, %eax
	cmpq	%r12, %r14
	jg	LBB0_21
## %bb.1:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_OffsetNumberNext
	movq	%rax, %r14
	cmpq	%r12, %rax
	jg	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_PageGetItemId
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ItemIdIsUsed
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_ItemIdIsRedirected
	testq	%rax, %rax
	jne	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-72(%rbp), %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	callq	_ItemPointerSet
	movl	%r15d, %edi
	callq	_ItemIdIsDead
	testq	%rax, %rax
	jne	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_ItemIdIsNormal
	movl	%eax, %edi
	callq	_Assert
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_PageGetItem
	movq	%rax, -88(%rbp)
	movl	%r15d, %edi
	callq	_ItemIdGetLength
	movl	%eax, -76(%rbp)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_RelationGetRelid
	movl	%eax, -80(%rbp)
	movq	_OldestXmin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_HeapTupleSatisfiesVacuum
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$129, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-130(%rax), %ecx
	cmpl	$3, %ecx
	jb	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %eax
	je	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi
	callq	_HeapTupleHeaderXminCommitted
	testl	%eax, %eax
	je	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi
	callq	_HeapTupleHeaderGetXmin
	movl	%eax, %ebx
	movq	_OldestXmin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_TransactionIdPrecedes
	testl	%eax, %eax
	je	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_TransactionIdFollows
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, (%r15)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi
	callq	_heap_tuple_needs_eventual_freeze
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	jmp	LBB0_16
LBB0_17:
	movl	$1, %eax
	jmp	LBB0_21
LBB0_19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	%r14, %rdi
	callq	_OffsetNumberNext
	jmp	LBB0_20
LBB0_18:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_OldestXmin,4,2                 ## @OldestXmin
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.no_dead_strip	_heap_page_is_all_visible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heap_page_is_all_visible
_heap_page_is_all_visible:              ; @heap_page_is_all_visible
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_BufferGetPage
	mov	x23, x0
	mov	x0, x21
	bl	_BufferGetBlockNumber
	mov	x24, x0
Lloh0:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	w27, #1
	str	w27, [x19]
	mov	x0, x23
	bl	_PageGetMaxOffsetNumber
Lloh3:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh5:
	ldr	x26, [x8]
	cmp	x26, x0
	b.gt	LBB0_20
; %bb.1:
	mov	x25, x0
	add	x8, sp, #8
	add	x27, x8, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	bl	_OffsetNumberNext
	mov	x26, x0
	cmp	x0, x25
	b.gt	LBB0_17
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x26
	bl	_PageGetItemId
	mov	x28, x0
	bl	_ItemIdIsUsed
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	bl	_ItemIdIsRedirected
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	x1, x24
	mov	x2, x26
	bl	_ItemPointerSet
	mov	x0, x28
	bl	_ItemIdIsDead
	cbnz	x0, LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	bl	_ItemIdIsNormal
	bl	_Assert
	mov	x0, x23
	mov	x1, x28
	bl	_PageGetItem
	str	x0, [sp, #8]
	mov	x0, x28
	bl	_ItemIdGetLength
	str	w0, [sp, #20]
	mov	x0, x22
	bl	_RelationGetRelid
	str	w0, [sp, #16]
Lloh6:
	adrp	x8, _OldestXmin@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OldestXmin@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x21
	bl	_HeapTupleSatisfiesVacuum
	cmp	w0, #129
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w0, #130
	cmp	w8, #3
	b.lo	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #128
	b.eq	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_HeapTupleHeaderXminCommitted
	cbz	w0, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_HeapTupleHeaderGetXmin
	mov	x28, x0
Lloh14:
	adrp	x8, _OldestXmin@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OldestXmin@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_TransactionIdPrecedes
	cbz	w0, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x20]
	mov	x0, x28
	bl	_TransactionIdFollows
	cbz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	str	w28, [x20]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_heap_tuple_needs_eventual_freeze
	cbz	w0, LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x19]
	b	LBB0_2
LBB0_17:
	mov	w27, #1
	b	LBB0_20
LBB0_18:
	str	wzr, [x19]
	mov	x0, x26
	bl	_OffsetNumberNext
	mov	w27, #0
	b	LBB0_20
LBB0_19:
	mov	w27, #0
	str	wzr, [x19]
LBB0_20:
	mov	x0, x27
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_OldestXmin,4,2                 ; @OldestXmin
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.no_dead_strip	_heap_page_is_all_visible
.subsections_via_symbols
