	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_insert                    ## -- Begin function heap_insert
	.p2align	4, 0x90
_heap_insert:                           ## @heap_insert
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, %r12d
	xorl	%eax, %eax
	callq	_GetCurrentTransactionId
	movq	_InvalidBuffer@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	%rcx, -64(%rbp)
	movl	%r12d, %edi
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_heap_prepare_insert
	movq	%rax, %r15
	movl	(%rax), %esi
	movq	(%r13), %rdx
	movq	$0, (%rsp)
	leaq	-64(%rbp), %r9
	movl	%r12d, %edi
	movl	%r14d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_RelationGetBufferForTuple
	movq	%rax, %rbx
	movq	(%r13), %rdx
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_CheckForSerializableConflictIn
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movq	_HEAP_INSERT_SPECULATIVE@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%cl
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_RelationPutHeapTuple
	movq	%rbx, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageIsAllVisible
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageClearAllVisible
	leaq	4(%r15), %rdi
	callq	_ItemPointerGetBlockNumber
	movq	-64(%rbp), %rdx
	movq	_VISIBILITYMAP_VALID_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_visibilitymap_clear
LBB0_2:
	movq	%rbx, %rdi
	callq	_MarkBufferDirty
	movq	_HEAP_INSERT_SKIP_WAL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_20
## %bb.3:
	movl	%r12d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_20
## %bb.4:
	movq	%rbx, %rdi
	callq	_BufferGetPage
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_XLOG_HEAP_INSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_RelationIsAccessibleInLogicalDecoding
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_log_heap_new_cid
LBB0_6:
	leaq	4(%r15), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_ItemPointerGetOffsetNumber
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rcx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_PageGetMaxOffsetNumber
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	_XLOG_HEAP_INIT_PAGE@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	_REGBUF_WILL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_11
LBB0_10:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_11:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ItemPointerGetOffsetNumber
	movq	%rax, -80(%rbp)
	movl	$0, -88(%rbp)
	testq	%r13, %r13
	je	LBB0_13
## %bb.12:
	movq	_XLH_INSERT_ALL_VISIBLE_CLEARED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, -88(%rbp)
LBB0_13:
	movq	_HEAP_INSERT_SPECULATIVE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_XLH_INSERT_IS_SPECULATIVE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -88(%rbp)
LBB0_15:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ItemPointerGetBlockNumber
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_BufferGetBlockNumber
	xorl	%edi, %edi
	cmpq	%rax, %r13
	sete	%dil
	callq	_Assert
	movl	%r12d, %edi
	callq	_RelationIsLogicallyLogged
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_HEAP_INSERT_NO_LOGICAL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_18
LBB0_17:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_19
LBB0_18:
	movq	_XLH_INSERT_CONTAINS_NEW_TUPLE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -88(%rbp)
	movq	_REGBUF_KEEP_DATA@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	orl	(%rax), %r13d
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_19:
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	_SizeOfHeapInsert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdi
	callq	_XLogRegisterData
	movq	8(%r15), %rax
	movl	8(%rax), %ecx
	movl	%ecx, -96(%rbp)
	movl	4(%rax), %ecx
	movl	%ecx, -100(%rbp)
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_XLogRegisterBuffer
	movq	_SizeOfHeapHeader@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-104(%rbp), %rsi
	xorl	%edi, %edi
	callq	_XLogRegisterBufData
	movq	_SizeofHeapTupleHeader@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movl	(%r15), %edx
	subl	%esi, %edx
	addq	8(%r15), %rsi
	xorl	%edi, %edi
	callq	_XLogRegisterBufData
	movq	_XLOG_INCLUDE_ORIGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_XLogSetRecordFlags
	movq	_RM_HEAP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_XLogInsert
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_PageSetLSN
LBB0_20:
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	movq	%rbx, %rdi
	callq	_UnlockReleaseBuffer
	movq	-64(%rbp), %rdi
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_22
## %bb.21:
	callq	_ReleaseBuffer
LBB0_22:
	movl	%r12d, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_CacheInvalidateHeapTuple
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_pgstat_count_heap_insert
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %r15
	je	LBB0_24
## %bb.23:
	movl	4(%r15), %eax
	movl	%eax, 4(%rcx)
	movq	%r15, %rdi
	callq	_heap_freetuple
LBB0_24:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_HEAP_INSERT_SPECULATIVE,4,2    ## @HEAP_INSERT_SPECULATIVE
	.comm	_VISIBILITYMAP_VALID_BITS,4,2   ## @VISIBILITYMAP_VALID_BITS
	.comm	_HEAP_INSERT_SKIP_WAL,4,2       ## @HEAP_INSERT_SKIP_WAL
	.comm	_XLOG_HEAP_INSERT,4,2           ## @XLOG_HEAP_INSERT
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_XLOG_HEAP_INIT_PAGE,4,2        ## @XLOG_HEAP_INIT_PAGE
	.comm	_REGBUF_WILL_INIT,4,2           ## @REGBUF_WILL_INIT
	.comm	_XLH_INSERT_ALL_VISIBLE_CLEARED,4,2 ## @XLH_INSERT_ALL_VISIBLE_CLEARED
	.comm	_XLH_INSERT_IS_SPECULATIVE,4,2  ## @XLH_INSERT_IS_SPECULATIVE
	.comm	_HEAP_INSERT_NO_LOGICAL,4,2     ## @HEAP_INSERT_NO_LOGICAL
	.comm	_XLH_INSERT_CONTAINS_NEW_TUPLE,4,2 ## @XLH_INSERT_CONTAINS_NEW_TUPLE
	.comm	_REGBUF_KEEP_DATA,4,2           ## @REGBUF_KEEP_DATA
	.comm	_SizeOfHeapInsert,4,2           ## @SizeOfHeapInsert
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_SizeOfHeapHeader,4,2           ## @SizeOfHeapHeader
	.comm	_SizeofHeapTupleHeader,4,2      ## @SizeofHeapTupleHeader
	.comm	_XLOG_INCLUDE_ORIGIN,4,2        ## @XLOG_INCLUDE_ORIGIN
	.comm	_RM_HEAP_ID,4,2                 ## @RM_HEAP_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_insert                    ; -- Begin function heap_insert
	.p2align	2
_heap_insert:                           ; @heap_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_GetCurrentTransactionId
	mov	x2, x0
Lloh0:
	adrp	x28, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x28, [x28, _InvalidBuffer@GOTPAGEOFF]
	ldr	x8, [x28]
	str	x8, [sp, #40]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	mov	x4, x23
	bl	_heap_prepare_insert
	mov	x21, x0
	ldr	w1, [x0]
	ldr	x2, [x28]
	add	x5, sp, #40
	mov	x0, x20
	mov	x3, x23
	mov	x4, x22
	mov	x6, #0
	bl	_RelationGetBufferForTuple
	mov	x22, x0
	ldr	x2, [x28]
	mov	x0, x20
	mov	x1, #0
	bl	_CheckForSerializableConflictIn
	bl	_START_CRIT_SECTION
Lloh2:
	adrp	x8, _HEAP_INSERT_SPECULATIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_INSERT_SPECULATIVE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w3, ne
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_RelationPutHeapTuple
	mov	x0, x22
	bl	_BufferGetPage
	bl	_PageIsAllVisible
	mov	x26, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_BufferGetPage
	bl	_PageClearAllVisible
	add	x0, x21, #4
	bl	_ItemPointerGetBlockNumber
	mov	x1, x0
	ldr	x2, [sp, #40]
Lloh5:
	adrp	x8, _VISIBILITYMAP_VALID_BITS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VISIBILITYMAP_VALID_BITS@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_visibilitymap_clear
LBB0_2:
	mov	x0, x22
	bl	_MarkBufferDirty
Lloh8:
	adrp	x8, _HEAP_INSERT_SKIP_WAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HEAP_INSERT_SKIP_WAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w23
	b.ne	LBB0_19
; %bb.3:
	mov	x0, x20
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_19
; %bb.4:
	mov	x0, x22
	bl	_BufferGetPage
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
Lloh11:
	adrp	x8, _XLOG_HEAP_INSERT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XLOG_HEAP_INSERT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp]                        ; 4-byte Folded Spill
	mov	x0, x20
	bl	_RelationIsAccessibleInLogicalDecoding
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	bl	_log_heap_new_cid
LBB0_6:
	add	x27, x21, #4
	mov	x0, x27
	bl	_ItemPointerGetOffsetNumber
Lloh14:
	adrp	x25, _FirstOffsetNumber@GOTPAGE
Lloh15:
	ldr	x25, [x25, _FirstOffsetNumber@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	bl	_PageGetMaxOffsetNumber
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
Lloh16:
	adrp	x8, _XLOG_HEAP_INIT_PAGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _XLOG_HEAP_INIT_PAGE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [sp]                        ; 4-byte Folded Reload
	orr	w9, w8, w9
	str	w9, [sp]                        ; 4-byte Folded Spill
Lloh19:
	adrp	x8, _REGBUF_WILL_INIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REGBUF_WILL_INIT@GOTPAGEOFF]
Lloh21:
	ldr	w24, [x8]
	b	LBB0_10
LBB0_9:
	mov	w24, #0
LBB0_10:
	mov	x0, x27
	bl	_ItemPointerGetOffsetNumber
	str	x0, [sp, #32]
	str	wzr, [sp, #24]
	cbz	x26, LBB0_12
; %bb.11:
Lloh22:
	adrp	x8, _XLH_INSERT_ALL_VISIBLE_CLEARED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _XLH_INSERT_ALL_VISIBLE_CLEARED@GOTPAGEOFF]
Lloh24:
	ldr	w25, [x8]
	str	w25, [sp, #24]
	b	LBB0_13
LBB0_12:
	mov	w25, #0
LBB0_13:
Lloh25:
	adrp	x8, _HEAP_INSERT_SPECULATIVE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HEAP_INSERT_SPECULATIVE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_15
; %bb.14:
Lloh28:
	adrp	x8, _XLH_INSERT_IS_SPECULATIVE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _XLH_INSERT_IS_SPECULATIVE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	orr	w25, w25, w8
	str	w25, [sp, #24]
LBB0_15:
	mov	x0, x27
	bl	_ItemPointerGetBlockNumber
	mov	x26, x0
	mov	x0, x22
	bl	_BufferGetBlockNumber
	cmp	x26, x0
	cset	w0, eq
	bl	_Assert
	mov	x0, x20
	bl	_RelationIsLogicallyLogged
	cbz	x0, LBB0_18
; %bb.16:
Lloh31:
	adrp	x8, _HEAP_INSERT_NO_LOGICAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HEAP_INSERT_NO_LOGICAL@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w23
	b.ne	LBB0_18
; %bb.17:
Lloh34:
	adrp	x8, _XLH_INSERT_CONTAINS_NEW_TUPLE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _XLH_INSERT_CONTAINS_NEW_TUPLE@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	orr	w8, w25, w8
	str	w8, [sp, #24]
Lloh37:
	adrp	x8, _REGBUF_KEEP_DATA@GOTPAGE
Lloh38:
	ldr	x8, [x8, _REGBUF_KEEP_DATA@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_18:
	ldr	w23, [sp]                       ; 4-byte Folded Reload
	bl	_XLogBeginInsert
Lloh40:
	adrp	x8, _SizeOfHeapInsert@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SizeOfHeapInsert@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	add	x0, sp, #24
	bl	_XLogRegisterData
	ldr	x8, [x21, #8]
	ldr	w9, [x8, #8]
	str	w9, [sp, #16]
	ldr	d0, [x8]
	str	d0, [sp, #8]
Lloh43:
	adrp	x8, _REGBUF_STANDARD@GOTPAGE
Lloh44:
	ldr	x8, [x8, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	orr	w2, w8, w24
	mov	w0, #0
	mov	x1, x22
	bl	_XLogRegisterBuffer
Lloh46:
	adrp	x8, _SizeOfHeapHeader@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SizeOfHeapHeader@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w0, #0
	bl	_XLogRegisterBufData
	ldr	x8, [x21, #8]
Lloh49:
	adrp	x9, _SizeofHeapTupleHeader@GOTPAGE
Lloh50:
	ldr	x9, [x9, _SizeofHeapTupleHeader@GOTPAGEOFF]
Lloh51:
	ldrsw	x9, [x9]
	add	x1, x8, x9
	ldr	w8, [x21]
	sub	w2, w8, w9
	mov	w0, #0
	bl	_XLogRegisterBufData
Lloh52:
	adrp	x8, _XLOG_INCLUDE_ORIGIN@GOTPAGE
Lloh53:
	ldr	x8, [x8, _XLOG_INCLUDE_ORIGIN@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_XLogSetRecordFlags
Lloh55:
	adrp	x8, _RM_HEAP_ID@GOTPAGE
Lloh56:
	ldr	x8, [x8, _RM_HEAP_ID@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_XLogInsert
	mov	x1, x0
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	bl	_PageSetLSN
LBB0_19:
	bl	_END_CRIT_SECTION
	mov	x0, x22
	bl	_UnlockReleaseBuffer
	ldr	x0, [sp, #40]
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_21
; %bb.20:
	bl	_ReleaseBuffer
LBB0_21:
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	bl	_CacheInvalidateHeapTuple
	mov	x0, x20
	mov	w1, #1
	bl	_pgstat_count_heap_insert
	cmp	x21, x19
	b.eq	LBB0_23
; %bb.22:
	ldr	w8, [x21, #4]
	str	w8, [x19, #4]
	mov	x0, x21
	bl	_heap_freetuple
LBB0_23:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_HEAP_INSERT_SPECULATIVE,4,2    ; @HEAP_INSERT_SPECULATIVE
	.comm	_VISIBILITYMAP_VALID_BITS,4,2   ; @VISIBILITYMAP_VALID_BITS
	.comm	_HEAP_INSERT_SKIP_WAL,4,2       ; @HEAP_INSERT_SKIP_WAL
	.comm	_XLOG_HEAP_INSERT,4,2           ; @XLOG_HEAP_INSERT
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_XLOG_HEAP_INIT_PAGE,4,2        ; @XLOG_HEAP_INIT_PAGE
	.comm	_REGBUF_WILL_INIT,4,2           ; @REGBUF_WILL_INIT
	.comm	_XLH_INSERT_ALL_VISIBLE_CLEARED,4,2 ; @XLH_INSERT_ALL_VISIBLE_CLEARED
	.comm	_XLH_INSERT_IS_SPECULATIVE,4,2  ; @XLH_INSERT_IS_SPECULATIVE
	.comm	_HEAP_INSERT_NO_LOGICAL,4,2     ; @HEAP_INSERT_NO_LOGICAL
	.comm	_XLH_INSERT_CONTAINS_NEW_TUPLE,4,2 ; @XLH_INSERT_CONTAINS_NEW_TUPLE
	.comm	_REGBUF_KEEP_DATA,4,2           ; @REGBUF_KEEP_DATA
	.comm	_SizeOfHeapInsert,4,2           ; @SizeOfHeapInsert
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_SizeOfHeapHeader,4,2           ; @SizeOfHeapHeader
	.comm	_SizeofHeapTupleHeader,4,2      ; @SizeofHeapTupleHeader
	.comm	_XLOG_INCLUDE_ORIGIN,4,2        ; @XLOG_INCLUDE_ORIGIN
	.comm	_RM_HEAP_ID,4,2                 ; @RM_HEAP_ID
.subsections_via_symbols
