	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HeapTupleIsSurelyDead          ## -- Begin function HeapTupleIsSurelyDead
	.p2align	4, 0x90
_HeapTupleIsSurelyDead:                 ## @HeapTupleIsSurelyDead
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	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	%r15, %rdi
	callq	_HeapTupleHeaderXminCommitted
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	movq	_HEAP_XMAX_INVALID@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testl	%edi, (%rax)
	jne	LBB0_6
## %bb.3:
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movl	(%r15), %eax
	movq	_HEAP_XMAX_IS_MULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	_HEAP_XMAX_COMMITTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	callq	_HeapTupleHeaderGetRawXmax
	movl	%eax, %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TransactionIdPrecedes          ## TAILCALL
LBB0_1:
	movq	%r15, %rdi
	callq	_HeapTupleHeaderXminInvalid
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_HEAP_XMAX_INVALID,4,2          ## @HEAP_XMAX_INVALID
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ## @HEAP_XMAX_IS_MULTI
	.comm	_HEAP_XMAX_COMMITTED,4,2        ## @HEAP_XMAX_COMMITTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HeapTupleIsSurelyDead          ; -- Begin function HeapTupleIsSurelyDead
	.p2align	2
_HeapTupleIsSurelyDead:                 ; @HeapTupleIsSurelyDead
	.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, x1
	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_5
; %bb.1:
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _HEAP_XMAX_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEAP_XMAX_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.2:
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _HEAP_XMAX_IS_MULTI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HEAP_XMAX_IS_MULTI@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_HeapTupleHeaderXminInvalid
	cmp	x0, #0
	cset	w0, ne
LBB0_6:
	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_7:
Lloh9:
	adrp	x9, _HEAP_XMAX_COMMITTED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HEAP_XMAX_COMMITTED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.8:
	mov	x0, x20
	bl	_HeapTupleHeaderGetRawXmax
	mov	x1, x19
	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
	b	_TransactionIdPrecedes
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_HEAP_XMAX_INVALID,4,2          ; @HEAP_XMAX_INVALID
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ; @HEAP_XMAX_IS_MULTI
	.comm	_HEAP_XMAX_COMMITTED,4,2        ; @HEAP_XMAX_COMMITTED
.subsections_via_symbols
