	.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_scan_analyze_next_tuple
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_heapam_scan_analyze_next_tuple:        ## @heapam_scan_analyze_next_tuple
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	%r8, %rdi
	callq	_TTS_IS_BUFFERTUPLE
	movl	%eax, %edi
	callq	_Assert
	movl	8(%rbx), %edi
	callq	_BufferGetPage
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_PageGetMaxOffsetNumber
	movq	(%rbx), %rsi
	cmpq	%rax, %rsi
	jle	LBB0_1
LBB0_11:
	movl	8(%rbx), %edi
	callq	_UnlockReleaseBuffer
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	callq	_ExecClearTuple
	xorl	%eax, %eax
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rax, %r13
	leaq	16(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	callq	_HeapTupleHeaderGetUpdateXid
	movl	%eax, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testl	%eax, %eax
	je	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, (%rax)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	leaq	1(%rax), %rsi
	movq	%rsi, (%rbx)
	cmpq	%r13, %rax
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_PageGetItemId
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_ItemIdIsNormal
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rbx), %esi
	movq	(%rbx), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ItemPointerSet
	movl	(%rbx), %edi
	callq	_RelationGetRelid
	movl	%eax, 12(%r14)
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_PageGetItem
	movq	%rax, (%r14)
	movl	%r12d, %edi
	callq	_ItemIdGetLength
	movl	%eax, 8(%r14)
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_HeapTupleSatisfiesVacuum
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	callq	_HeapTupleHeaderGetXmin
	movl	%eax, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testl	%eax, %eax
	je	LBB0_10
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %edi
	callq	_ItemIdIsDead
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	jmp	LBB0_10
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, (%rax)
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_ExecStoreBufferHeapTuple
	incq	(%rbx)
	movl	$1, %eax
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.comm	_InvalidBuffer,4,2              ## @InvalidBuffer
	.no_dead_strip	_heapam_scan_analyze_next_tuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heapam_scan_analyze_next_tuple
_heapam_scan_analyze_next_tuple:        ; @heapam_scan_analyze_next_tuple
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x4
	bl	_TTS_IS_BUFFERTUPLE
	bl	_Assert
	ldr	w0, [x19, #8]
	bl	_BufferGetPage
	mov	x24, x0
	bl	_PageGetMaxOffsetNumber
	ldr	x1, [x19]
	cmp	x1, x0
	b.le	LBB0_3
LBB0_1:
	ldr	w0, [x19, #8]
	bl	_UnlockReleaseBuffer
Lloh0:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_ExecClearTuple
	mov	w0, #0
LBB0_2:
	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_3:
	mov	x25, x0
	add	x26, x20, #16
	fmov	d8, #1.00000000
Lloh3:
	adrp	x27, lJTI0_0@PAGE
Lloh4:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20]
	bl	_HeapTupleHeaderGetUpdateXid
	bl	_TransactionIdIsCurrentTransactionId
	cbz	w0, LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	d0, [x22]
	fadd	d0, d0, d8
	str	d0, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19]
	add	x1, x8, #1
	str	x1, [x19]
	cmp	x8, x25
	b.ge	LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_PageGetItemId
	mov	x28, x0
	bl	_ItemIdIsNormal
	cbz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x19, #12]
	ldr	x2, [x19]
	mov	x0, x26
	bl	_ItemPointerSet
	ldr	w0, [x19]
	bl	_RelationGetRelid
	str	w0, [x20, #12]
	mov	x0, x24
	mov	x1, x28
	bl	_PageGetItem
	str	x0, [x20]
	mov	x0, x28
	bl	_ItemIdGetLength
	str	w0, [x20, #8]
	ldr	w2, [x19, #8]
	mov	x0, x20
	mov	x1, x23
	bl	_HeapTupleSatisfiesVacuum
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20]
	bl	_HeapTupleHeaderGetXmin
	bl	_TransactionIdIsCurrentTransactionId
	cbz	w0, LBB0_6
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
	bl	_ItemIdIsDead
	cbnz	x0, LBB0_5
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	b	LBB0_6
LBB0_13:
	ldr	d0, [x21]
	fmov	d1, #1.00000000
	fadd	d0, d0, d1
	str	d0, [x21]
	ldr	w2, [x19, #8]
	mov	x0, x20
	mov	x1, x20
	bl	_ExecStoreBufferHeapTuple
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected HeapTupleSatisfiesVacuum result"

	.comm	_InvalidBuffer,4,2              ; @InvalidBuffer
	.no_dead_strip	_heapam_scan_analyze_next_tuple
.subsections_via_symbols
