	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HeapTupleSatisfiesToast
_HeapTupleSatisfiesToast:               ## @HeapTupleSatisfiesToast
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %r13
	addq	$8, %rdi
	callq	_ItemPointerIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	(%rbx), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_Assert
	movq	%r13, %rdi
	callq	_HeapTupleHeaderXminCommitted
	testl	%eax, %eax
	je	LBB0_1
LBB0_12:
	movl	$1, %r15d
	jmp	LBB0_13
LBB0_1:
	movq	%r13, %rdi
	callq	_HeapTupleHeaderXminInvalid
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_2
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r13), %eax
	movq	_HEAP_MOVED_OFF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.3:
	movq	%r13, %rdi
	callq	_HeapTupleHeaderGetXvac
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:
	movl	%r12d, %edi
	callq	_TransactionIdIsInProgress
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:
	movl	%r12d, %edi
	callq	_TransactionIdDidCommit
	testq	%rax, %rax
	je	LBB0_11
LBB0_6:
	movq	_HEAP_XMIN_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_SetHintBits
	jmp	LBB0_13
LBB0_7:
	movq	_HEAP_MOVED_IN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.8:
	movq	%r13, %rdi
	callq	_HeapTupleHeaderGetXvac
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:
	movl	%r12d, %edi
	callq	_TransactionIdIsInProgress
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	movl	%r12d, %edi
	callq	_TransactionIdDidCommit
	testq	%rax, %rax
	je	LBB0_6
LBB0_11:
	movq	_HEAP_XMIN_COMMITTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_SetHintBits
	jmp	LBB0_12
LBB0_14:
	movq	%r13, %rdi
	callq	_HeapTupleHeaderGetXmin
	movl	%eax, %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_HEAP_MOVED_OFF,4,2             ## @HEAP_MOVED_OFF
	.comm	_HEAP_XMIN_INVALID,4,2          ## @HEAP_XMIN_INVALID
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_HEAP_XMIN_COMMITTED,4,2        ## @HEAP_XMIN_COMMITTED
	.comm	_HEAP_MOVED_IN,4,2              ## @HEAP_MOVED_IN
	.no_dead_strip	_HeapTupleSatisfiesToast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HeapTupleSatisfiesToast
_HeapTupleSatisfiesToast:               ; @HeapTupleSatisfiesToast
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x0
	ldr	x20, [x0, #16]
	add	x0, x0, #8
	bl	_ItemPointerIsValid
	bl	_Assert
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_Assert
	mov	x0, x20
	bl	_HeapTupleHeaderXminCommitted
	cbz	w0, LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_HeapTupleHeaderXminInvalid
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _HEAP_MOVED_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HEAP_MOVED_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_HeapTupleHeaderGetXvac
	mov	x21, x0
	bl	_TransactionIdIsCurrentTransactionId
	cbnz	x0, LBB0_3
; %bb.7:
	mov	x0, x21
	bl	_TransactionIdIsInProgress
	cbnz	x0, LBB0_1
; %bb.8:
	mov	x0, x21
	bl	_TransactionIdDidCommit
	cbz	x0, LBB0_14
LBB0_9:
Lloh6:
	adrp	x8, _HEAP_XMIN_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HEAP_XMIN_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_SetHintBits
	b	LBB0_3
LBB0_10:
Lloh12:
	adrp	x9, _HEAP_MOVED_IN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HEAP_MOVED_IN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.11:
	mov	x0, x20
	bl	_HeapTupleHeaderGetXvac
	mov	x21, x0
	bl	_TransactionIdIsCurrentTransactionId
	cbnz	x0, LBB0_1
; %bb.12:
	mov	x0, x21
	bl	_TransactionIdIsInProgress
	cbnz	x0, LBB0_3
; %bb.13:
	mov	x0, x21
	bl	_TransactionIdDidCommit
	cbz	x0, LBB0_9
LBB0_14:
Lloh15:
	adrp	x8, _HEAP_XMIN_COMMITTED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HEAP_XMIN_COMMITTED@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh19:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_SetHintBits
	b	LBB0_1
LBB0_15:
	mov	x0, x20
	bl	_HeapTupleHeaderGetXmin
	bl	_TransactionIdIsValid
	cbnz	w0, LBB0_1
	b	LBB0_4
	.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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_HEAP_MOVED_OFF,4,2             ; @HEAP_MOVED_OFF
	.comm	_HEAP_XMIN_INVALID,4,2          ; @HEAP_XMIN_INVALID
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_HEAP_XMIN_COMMITTED,4,2        ; @HEAP_XMIN_COMMITTED
	.comm	_HEAP_MOVED_IN,4,2              ; @HEAP_MOVED_IN
	.no_dead_strip	_HeapTupleSatisfiesToast
.subsections_via_symbols
