	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heap_lock_updated_tuple_rec
_heap_lock_updated_tuple_rec:           ## @heap_lock_updated_tuple_rec
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movl	%edx, -136(%rbp)                ## 4-byte Spill
	movl	%edi, %r15d
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
	leaq	-144(%rbp), %r14
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_ItemPointerCopy
	movl	$0, -80(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -76(%rbp)
	movq	%r14, %rdi
	callq	_ItemPointerGetBlockNumber
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ItemPointerCopy
	movq	_SnapshotAny@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	%r15d, %edi
	callq	_heap_fetch
	testl	%eax, %eax
	je	LBB0_59
## %bb.1:
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movq	-56(%rbp), %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageIsAllVisible
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	movq	_BUFFER_LOCK_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	-56(%rbp), %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageIsAllVisible
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %edi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	leaq	-128(%rbp), %rdx
	callq	_visibilitymap_pin
	movq	-56(%rbp), %rdi
	movq	_BUFFER_LOCK_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	callq	_TransactionIdIsValid
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	callq	_HeapTupleHeaderGetXmin
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_TransactionIdEquals
	testl	%eax, %eax
	je	LBB0_60
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	callq	_HeapTupleHeaderGetXmin
	movl	%eax, %edi
	callq	_TransactionIdDidAbort
	testq	%rax, %rax
	jne	LBB0_60
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %r14d
	movq	-72(%rbp), %rdi
	movl	(%rdi), %r12d
	movl	4(%rdi), %r13d
	callq	_HeapTupleHeaderGetRawXmax
	movl	%eax, %ebx
	movq	_HEAP_XMAX_INVALID@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	callq	_HeapTupleHeaderGetRawXmax
	movl	%eax, %r15d
	movq	_HEAP_XMAX_IS_MULTI@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movl	%ebx, -140(%rbp)                ## 4-byte Spill
	je	LBB0_36
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rax
	movl	(%rax), %edi
	callq	_HEAP_LOCKED_UPGRADED
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movl	%r12d, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	movl	%r15d, %edi
	leaq	-120(%rbp), %rsi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_GetMultiXactIdMembers
	testl	%eax, %eax
	jle	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-120(%rbp), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %edi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	leaq	-72(%rbp), %rcx
	leaq	-96(%rbp), %r8
	callq	_test_lockmode_for_conflict
	movq	%rax, %r13
	movq	_TM_SelfModified@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	cmpl	$0, -96(%rbp)
	jne	LBB0_39
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	_TM_Ok@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_40
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=2
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_16
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-120(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_pfree
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-140(%rbp), %ebx                ## 4-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rax
	movl	4(%rax), %edx
	subq	$8, %rsp
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	-136(%rbp), %ecx                ## 4-byte Reload
	movl	-92(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	leaq	-100(%rbp), %rax
	pushq	%rax
	leaq	-80(%rbp), %rax
	pushq	%rax
	leaq	-76(%rbp), %rax
	pushq	%rax
	callq	_compute_new_xmax_infomask
	addq	$32, %rsp
	movq	-56(%rbp), %rdi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageIsAllVisible
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-128(%rbp), %rdx
	movq	_VISIBILITYMAP_ALL_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	callq	_visibilitymap_clear
	testq	%rax, %rax
	movl	$1, %eax
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	cmovnel	%eax, %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movq	-72(%rbp), %rdi
	movl	-76(%rbp), %esi
	callq	_HeapTupleHeaderSetXmax
	movq	_HEAP_XMAX_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	-72(%rbp), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rcx)
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	4(%rcx), %edx
	orl	-80(%rbp), %eax
	movl	%eax, (%rcx)
	orl	-100(%rbp), %edx
	movl	%edx, 4(%rcx)
	movq	-56(%rbp), %rdi
	callq	_MarkBufferDirty
	movl	%r15d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	callq	_BufferGetPage
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	-56(%rbp), %rsi
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_XLogRegisterBuffer
	leaq	-64(%rbp), %rdi
	callq	_ItemPointerGetOffsetNumber
	movl	%eax, -108(%rbp)
	movl	-76(%rbp), %eax
	movl	%eax, -112(%rbp)
	movl	-80(%rbp), %edi
	movl	-100(%rbp), %esi
	callq	_compute_infobits
	movl	%eax, -116(%rbp)
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	testl	%ecx, %ecx
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_XLH_LOCK_ALL_FROZEN_CLEARED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, -120(%rbp)
	movq	_SizeOfHeapLockUpdated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-120(%rbp), %rdi
	callq	_XLogRegisterData
	movq	_RM_HEAP2_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_HEAP2_LOCK_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_PageSetLSN
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	movq	_HEAP_XMAX_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_60
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_HeapTupleHeaderIndicatesMovedPartitions
	testq	%rax, %rax
	jne	LBB0_60
## %bb.33:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rsi
	addq	$8, %rsi
	leaq	-64(%rbp), %rdi
	callq	_ItemPointerEquals
	testq	%rax, %rax
	jne	LBB0_60
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	callq	_HeapTupleHeaderIsOnlyLocked
	testq	%rax, %rax
	jne	LBB0_60
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	callq	_HeapTupleHeaderGetUpdateXid
	movl	%eax, %r12d
	movq	-72(%rbp), %rdi
	addq	$8, %rdi
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_ItemPointerCopy
	movq	-56(%rbp), %rdi
	callq	_UnlockReleaseBuffer
	movl	$0, -80(%rbp)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	%rbx, %rdi
	callq	_ItemPointerGetBlockNumber
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	callq	_ItemPointerCopy
	movq	_SnapshotAny@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	leaq	-72(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_heap_fetch
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_59
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	testq	%rax, %rax
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	callq	_HEAP_XMAX_IS_KEYSHR_LOCKED
	testq	%rax, %rax
	je	LBB0_43
## %bb.38:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_MultiXactStatusForKeyShare@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$10, %ebx
	jmp	LBB0_3
LBB0_39:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	-120(%rbp), %rax
	movl	(%rax,%rbx,8), %edi
	movq	_XLTW_LockUpdated@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	leaq	-64(%rbp), %rdx
	callq	_XactLockTableWait
	movl	$5, %ebx
	jmp	LBB0_4
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$6, %ebx
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %r12d
	movq	-120(%rbp), %rdi
	callq	_pfree
	cmpl	$5, %ebx
	je	LBB0_5
	jmp	LBB0_55
LBB0_41:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_MultiXactStatusUpdate@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_43:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	callq	_HEAP_XMAX_IS_SHR_LOCKED
	testq	%rax, %rax
	je	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_MultiXactStatusForShare@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_45:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MultiXactStatusNoKeyUpdate@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_46:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	callq	_HEAP_XMAX_IS_EXCL_LOCKED
	testq	%rax, %rax
	je	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_MultiXactStatusForUpdate@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_49:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movl	-132(%rbp), %edi                ## 4-byte Reload
	jmp	LBB0_52
LBB0_50:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MultiXactStatusForNoKeyUpdate@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %edi
LBB0_52:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%edi, -132(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	leaq	-72(%rbp), %rcx
	leaq	-96(%rbp), %r8
	callq	_test_lockmode_for_conflict
	movq	%rax, %r13
	movq	_TM_SelfModified@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_57
## %bb.53:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -96(%rbp)
	je	LBB0_58
## %bb.54:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	_XLTW_LockUpdated@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	leaq	-64(%rbp), %rdx
	callq	_XactLockTableWait
	movl	$5, %ebx
	movl	%r14d, %r12d
	cmpl	$5, %ebx
	je	LBB0_5
LBB0_55:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$6, %ebx
	je	LBB0_61
## %bb.56:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$10, %ebx
	je	LBB0_31
	jmp	LBB0_65
LBB0_57:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_31
LBB0_58:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_TM_Ok@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_23
	jmp	LBB0_61
LBB0_59:
	movq	_TM_Ok@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_62
LBB0_60:
	movq	_TM_Ok@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_61:
	movq	-56(%rbp), %rdi
	callq	_UnlockReleaseBuffer
LBB0_62:
	movq	-128(%rbp), %rdi
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_64
## %bb.63:
	callq	_ReleaseBuffer
LBB0_64:
	movq	%r13, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_65:
                                        ## implicit-def: $r13
	jmp	LBB0_64
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_SnapshotAny,4,2                ## @SnapshotAny
	.comm	_TM_Ok,8,3                      ## @TM_Ok
	.comm	_BUFFER_LOCK_EXCLUSIVE,4,2      ## @BUFFER_LOCK_EXCLUSIVE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
	.comm	_HEAP_XMAX_INVALID,4,2          ## @HEAP_XMAX_INVALID
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ## @HEAP_XMAX_IS_MULTI
	.comm	_TM_SelfModified,8,3            ## @TM_SelfModified
	.comm	_XLTW_LockUpdated,4,2           ## @XLTW_LockUpdated
	.comm	_MultiXactStatusForKeyShare,4,2 ## @MultiXactStatusForKeyShare
	.comm	_MultiXactStatusForShare,4,2    ## @MultiXactStatusForShare
	.comm	_HEAP_KEYS_UPDATED,4,2          ## @HEAP_KEYS_UPDATED
	.comm	_MultiXactStatusForUpdate,4,2   ## @MultiXactStatusForUpdate
	.comm	_MultiXactStatusForNoKeyUpdate,4,2 ## @MultiXactStatusForNoKeyUpdate
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid lock status in tuple"

	.comm	_MultiXactStatusUpdate,4,2      ## @MultiXactStatusUpdate
	.comm	_MultiXactStatusNoKeyUpdate,4,2 ## @MultiXactStatusNoKeyUpdate
	.comm	_VISIBILITYMAP_ALL_FROZEN,4,2   ## @VISIBILITYMAP_ALL_FROZEN
	.comm	_HEAP_XMAX_BITS,4,2             ## @HEAP_XMAX_BITS
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_XLH_LOCK_ALL_FROZEN_CLEARED,4,2 ## @XLH_LOCK_ALL_FROZEN_CLEARED
	.comm	_SizeOfHeapLockUpdated,4,2      ## @SizeOfHeapLockUpdated
	.comm	_RM_HEAP2_ID,4,2                ## @RM_HEAP2_ID
	.comm	_XLOG_HEAP2_LOCK_UPDATED,4,2    ## @XLOG_HEAP2_LOCK_UPDATED
	.no_dead_strip	_heap_lock_updated_tuple_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heap_lock_updated_tuple_rec
_heap_lock_updated_tuple_rec:           ; @heap_lock_updated_tuple_rec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	str	w2, [sp, #20]                   ; 4-byte Folded Spill
	mov	x8, x1
	mov	x21, x0
Lloh0:
	adrp	x20, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x20, [x20, _InvalidTransactionId@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh2:
	adrp	x9, _InvalidBuffer@GOTPAGE
Lloh3:
	ldr	x9, [x9, _InvalidBuffer@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	x9, [sp, #56]
	sub	x1, x29, #84
	mov	x0, x8
	bl	_ItemPointerCopy
	str	wzr, [sp, #76]
	ldr	w8, [x20]
	str	w8, [sp, #68]
	sub	x0, x29, #84
	bl	_ItemPointerGetBlockNumber
	mov	x26, x0
	add	x8, sp, #88
	add	x24, x8, #8
	sub	x0, x29, #84
	mov	x1, x24
	bl	_ItemPointerCopy
Lloh5:
	adrp	x8, _SnapshotAny@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SnapshotAny@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #88
	add	x3, sp, #80
	mov	x0, x21
	bl	_heap_fetch
	cbz	w0, LBB0_55
; %bb.1:
	str	wzr, [sp, #24]                  ; 4-byte Folded Spill
Lloh8:
	adrp	x25, _BUFFER_LOCK_EXCLUSIVE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _BUFFER_LOCK_EXCLUSIVE@GOTPAGEOFF]
Lloh10:
	adrp	x22, _HEAP_XMAX_INVALID@GOTPAGE
Lloh11:
	ldr	x22, [x22, _HEAP_XMAX_INVALID@GOTPAGEOFF]
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #80]
Lloh12:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	x8, [sp, #32]
	ldr	w0, [x8, x20]
Lloh15:
	adrp	x8, _XLTW_LockUpdated@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XLTW_LockUpdated@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x21, x24
	mov	x1, x24
	mov	x24, x25
	mov	x2, x25
	bl	_XactLockTableWait
	mov	w20, #5
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x22
Lloh18:
	adrp	x22, _HEAP_XMAX_INVALID@GOTPAGE
Lloh19:
	ldr	x22, [x22, _HEAP_XMAX_INVALID@GOTPAGEOFF]
	ldr	x0, [sp, #32]
	bl	_pfree
	cmp	w20, #5
	b.ne	LBB0_52
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	bl	_CHECK_FOR_INTERRUPTS
	ldr	x0, [sp, #80]
	bl	_BufferGetPage
	bl	_PageIsAllVisible
	cbnz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #80]
	ldr	w1, [x25]
	bl	_LockBuffer
	ldr	x0, [sp, #80]
	bl	_BufferGetPage
	bl	_PageIsAllVisible
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #80]
Lloh20:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_LockBuffer
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #56
	mov	x0, x21
	mov	x1, x26
	bl	_visibilitymap_pin
	ldr	x0, [sp, #80]
	ldr	w1, [x25]
	bl	_LockBuffer
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_TransactionIdIsValid
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #88]
	bl	_HeapTupleHeaderGetXmin
	mov	x1, x19
	bl	_TransactionIdEquals
	cbz	w0, LBB0_56
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #88]
	bl	_HeapTupleHeaderGetXmin
	bl	_TransactionIdDidAbort
	cbnz	x0, LBB0_56
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #88]
	ldp	w27, w23, [x0]
	bl	_HeapTupleHeaderGetRawXmax
	mov	x28, x0
	ldr	w8, [x22]
	tst	w8, w27
	b.ne	LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #88]
	bl	_HeapTupleHeaderGetRawXmax
	mov	x20, x0
Lloh23:
	adrp	x8, _HEAP_XMAX_IS_MULTI@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HEAP_XMAX_IS_MULTI@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_32
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x25
	mov	x25, x24
	mov	x24, x21
	ldr	x8, [sp, #88]
	ldr	w0, [x8]
	bl	_HEAP_LOCKED_UPGRADED
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x27
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	mov	x3, x0
	add	x1, sp, #32
	mov	x0, x20
	mov	w2, #0
	bl	_GetMultiXactIdMembers
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
	mov	w8, w0
	lsl	x21, x8, #3
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #32]
	add	x8, x8, x20
	ldp	w1, w0, [x8]
	add	x3, sp, #88
	add	x4, sp, #52
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_test_lockmode_for_conflict
	mov	x23, x0
Lloh26:
	adrp	x8, _TM_SelfModified@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TM_SelfModified@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_35
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [sp, #52]
	cbnz	w8, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
Lloh29:
	adrp	x8, _TM_Ok@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TM_Ok@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_36
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x20, x20, #8
	cmp	x21, x20
	b.ne	LBB0_15
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_pfree
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x24
	mov	x24, x25
	mov	x25, x22
Lloh32:
	adrp	x22, _HEAP_XMAX_INVALID@GOTPAGE
Lloh33:
	ldr	x22, [x22, _HEAP_XMAX_INVALID@GOTPAGEOFF]
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #88]
	ldr	w2, [x8, #4]
	add	x8, sp, #72
	str	x8, [sp]
	add	x6, sp, #68
	add	x7, sp, #76
	mov	x0, x28
	mov	x1, x27
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	mov	w5, #0
	bl	_compute_new_xmax_infomask
	ldr	x0, [sp, #80]
	bl	_BufferGetPage
	bl	_PageIsAllVisible
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [sp, #56]
Lloh34:
	adrp	x8, _VISIBILITYMAP_ALL_FROZEN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _VISIBILITYMAP_ALL_FROZEN@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x26
	bl	_visibilitymap_clear
	cmp	x0, #0
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	csinc	w8, w8, wzr, eq
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_START_CRIT_SECTION
	ldr	x0, [sp, #88]
	ldr	w1, [sp, #68]
	bl	_HeapTupleHeaderSetXmax
Lloh37:
	adrp	x8, _HEAP_XMAX_BITS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HEAP_XMAX_BITS@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ldr	x9, [sp, #88]
	ldp	w10, w11, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
Lloh40:
	adrp	x10, _HEAP_KEYS_UPDATED@GOTPAGE
Lloh41:
	ldr	x10, [x10, _HEAP_KEYS_UPDATED@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	bic	w10, w11, w10
	ldr	w11, [sp, #76]
	orr	w8, w11, w8
	str	w8, [x9]
	ldr	w8, [sp, #72]
	orr	w8, w8, w10
	str	w8, [x9, #4]
	ldr	x0, [sp, #80]
	bl	_MarkBufferDirty
	mov	x0, x21
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #80]
	bl	_BufferGetPage
	mov	x20, x0
	bl	_XLogBeginInsert
	ldr	x1, [sp, #80]
Lloh43:
	adrp	x8, _REGBUF_STANDARD@GOTPAGE
Lloh44:
	ldr	x8, [x8, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	mov	w0, #0
	bl	_XLogRegisterBuffer
	mov	x0, x24
	bl	_ItemPointerGetOffsetNumber
	ldp	w8, w1, [sp, #68]
	stp	w8, w0, [sp, #40]
	ldr	w0, [sp, #76]
	bl	_compute_infobits
Lloh46:
	adrp	x8, _XLH_LOCK_ALL_FROZEN_CLEARED@GOTPAGE
Lloh47:
	ldr	x8, [x8, _XLH_LOCK_ALL_FROZEN_CLEARED@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w9, #0
	csel	w8, wzr, w8, eq
	stp	w8, w0, [sp, #32]
Lloh49:
	adrp	x8, _SizeOfHeapLockUpdated@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SizeOfHeapLockUpdated@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	add	x0, sp, #32
	bl	_XLogRegisterData
Lloh52:
	adrp	x8, _RM_HEAP2_ID@GOTPAGE
Lloh53:
	ldr	x8, [x8, _RM_HEAP2_ID@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x8, _XLOG_HEAP2_LOCK_UPDATED@GOTPAGE
Lloh56:
	ldr	x8, [x8, _XLOG_HEAP2_LOCK_UPDATED@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	bl	_XLogInsert
	mov	x1, x0
	mov	x0, x20
	bl	_PageSetLSN
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_END_CRIT_SECTION
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #88]
	ldr	w8, [x0]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_56
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_HeapTupleHeaderIndicatesMovedPartitions
	cbnz	x0, LBB0_56
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #88]
	add	x1, x8, #8
	mov	x0, x24
	bl	_ItemPointerEquals
	cbnz	x0, LBB0_56
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #88]
	bl	_HeapTupleHeaderIsOnlyLocked
	cbnz	x0, LBB0_56
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #88]
	bl	_HeapTupleHeaderGetUpdateXid
	mov	x19, x0
	ldr	x8, [sp, #88]
	add	x0, x8, #8
	sub	x1, x29, #84
	bl	_ItemPointerCopy
	ldr	x0, [sp, #80]
	bl	_UnlockReleaseBuffer
	str	wzr, [sp, #76]
Lloh58:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh59:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	str	w8, [sp, #68]
	sub	x0, x29, #84
	bl	_ItemPointerGetBlockNumber
	mov	x26, x0
	sub	x0, x29, #84
	mov	x1, x24
	bl	_ItemPointerCopy
Lloh61:
	adrp	x8, _SnapshotAny@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SnapshotAny@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	add	x2, sp, #88
	add	x3, sp, #80
	mov	x0, x21
	bl	_heap_fetch
	cbnz	w0, LBB0_4
	b	LBB0_55
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	cbz	x0, LBB0_38
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_HEAP_XMAX_IS_KEYSHR_LOCKED
	cbz	x0, LBB0_40
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh64:
	adrp	x8, _MultiXactStatusForKeyShare@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MultiXactStatusForKeyShare@GOTPAGEOFF]
	b	LBB0_48
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #10
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #6
LBB0_37:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x24
	mov	x24, x25
	b	LBB0_3
LBB0_38:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh66:
	adrp	x8, _HEAP_KEYS_UPDATED@GOTPAGE
Lloh67:
	ldr	x8, [x8, _HEAP_KEYS_UPDATED@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh69:
	adrp	x8, _MultiXactStatusUpdate@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MultiXactStatusUpdate@GOTPAGEOFF]
	b	LBB0_48
LBB0_40:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_HEAP_XMAX_IS_SHR_LOCKED
	cbz	x0, LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh71:
	adrp	x8, _MultiXactStatusForShare@GOTPAGE
Lloh72:
	ldr	x8, [x8, _MultiXactStatusForShare@GOTPAGEOFF]
	b	LBB0_48
LBB0_42:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh73:
	adrp	x8, _MultiXactStatusNoKeyUpdate@GOTPAGE
Lloh74:
	ldr	x8, [x8, _MultiXactStatusNoKeyUpdate@GOTPAGEOFF]
	b	LBB0_48
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_HEAP_XMAX_IS_EXCL_LOCKED
	cbz	x0, LBB0_46
; %bb.44:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh75:
	adrp	x8, _HEAP_KEYS_UPDATED@GOTPAGE
Lloh76:
	ldr	x8, [x8, _HEAP_KEYS_UPDATED@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_47
; %bb.45:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh78:
	adrp	x8, _MultiXactStatusForUpdate@GOTPAGE
Lloh79:
	ldr	x8, [x8, _MultiXactStatusForUpdate@GOTPAGEOFF]
	b	LBB0_48
LBB0_46:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh80:
	adrp	x8, _ERROR@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
Lloh83:
	adrp	x1, l_.str@PAGE
Lloh84:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	w0, [sp, #16]                   ; 4-byte Folded Reload
	b	LBB0_49
LBB0_47:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh85:
	adrp	x8, _MultiXactStatusForNoKeyUpdate@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MultiXactStatusForNoKeyUpdate@GOTPAGEOFF]
LBB0_48:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x8]
LBB0_49:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x3, sp, #88
	add	x4, sp, #52
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x1, x20
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_test_lockmode_for_conflict
Lloh87:
	adrp	x8, _TM_SelfModified@GOTPAGE
Lloh88:
	ldr	x8, [x8, _TM_SelfModified@GOTPAGEOFF]
Lloh89:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_27
; %bb.50:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	w8, [sp, #52]
	cbz	w8, LBB0_54
; %bb.51:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #80]
Lloh90:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh91:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	bl	_LockBuffer
Lloh93:
	adrp	x8, _XLTW_LockUpdated@GOTPAGE
Lloh94:
	ldr	x8, [x8, _XLTW_LockUpdated@GOTPAGEOFF]
Lloh95:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	bl	_XactLockTableWait
	mov	w20, #5
	cmp	w20, #5
	b.eq	LBB0_4
LBB0_52:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #6
	b.eq	LBB0_57
; %bb.53:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #10
	b.eq	LBB0_27
	b	LBB0_61
LBB0_54:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh96:
	adrp	x8, _TM_Ok@GOTPAGE
Lloh97:
	ldr	x8, [x8, _TM_Ok@GOTPAGEOFF]
Lloh98:
	ldr	x8, [x8]
	cmp	x23, x8
	b.eq	LBB0_22
	b	LBB0_57
LBB0_55:
Lloh99:
	adrp	x8, _TM_Ok@GOTPAGE
Lloh100:
	ldr	x8, [x8, _TM_Ok@GOTPAGEOFF]
Lloh101:
	ldr	x23, [x8]
Lloh102:
	adrp	x19, _InvalidBuffer@GOTPAGE
Lloh103:
	ldr	x19, [x19, _InvalidBuffer@GOTPAGEOFF]
	b	LBB0_58
LBB0_56:
Lloh104:
	adrp	x8, _TM_Ok@GOTPAGE
Lloh105:
	ldr	x8, [x8, _TM_Ok@GOTPAGEOFF]
Lloh106:
	ldr	x23, [x8]
LBB0_57:
Lloh107:
	adrp	x19, _InvalidBuffer@GOTPAGE
Lloh108:
	ldr	x19, [x19, _InvalidBuffer@GOTPAGEOFF]
	ldr	x0, [sp, #80]
	bl	_UnlockReleaseBuffer
LBB0_58:
	ldr	x0, [sp, #56]
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_60
; %bb.59:
	bl	_ReleaseBuffer
LBB0_60:
	mov	x0, x23
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_61:
                                        ; implicit-def: $x23
	b	LBB0_60
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.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	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh107, Lloh108
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_SnapshotAny,4,2                ; @SnapshotAny
	.comm	_TM_Ok,8,3                      ; @TM_Ok
	.comm	_BUFFER_LOCK_EXCLUSIVE,4,2      ; @BUFFER_LOCK_EXCLUSIVE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
	.comm	_HEAP_XMAX_INVALID,4,2          ; @HEAP_XMAX_INVALID
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ; @HEAP_XMAX_IS_MULTI
	.comm	_TM_SelfModified,8,3            ; @TM_SelfModified
	.comm	_XLTW_LockUpdated,4,2           ; @XLTW_LockUpdated
	.comm	_MultiXactStatusForKeyShare,4,2 ; @MultiXactStatusForKeyShare
	.comm	_MultiXactStatusForShare,4,2    ; @MultiXactStatusForShare
	.comm	_HEAP_KEYS_UPDATED,4,2          ; @HEAP_KEYS_UPDATED
	.comm	_MultiXactStatusForUpdate,4,2   ; @MultiXactStatusForUpdate
	.comm	_MultiXactStatusForNoKeyUpdate,4,2 ; @MultiXactStatusForNoKeyUpdate
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid lock status in tuple"

	.comm	_MultiXactStatusUpdate,4,2      ; @MultiXactStatusUpdate
	.comm	_MultiXactStatusNoKeyUpdate,4,2 ; @MultiXactStatusNoKeyUpdate
	.comm	_VISIBILITYMAP_ALL_FROZEN,4,2   ; @VISIBILITYMAP_ALL_FROZEN
	.comm	_HEAP_XMAX_BITS,4,2             ; @HEAP_XMAX_BITS
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_XLH_LOCK_ALL_FROZEN_CLEARED,4,2 ; @XLH_LOCK_ALL_FROZEN_CLEARED
	.comm	_SizeOfHeapLockUpdated,4,2      ; @SizeOfHeapLockUpdated
	.comm	_RM_HEAP2_ID,4,2                ; @RM_HEAP2_ID
	.comm	_XLOG_HEAP2_LOCK_UPDATED,4,2    ; @XLOG_HEAP2_LOCK_UPDATED
	.no_dead_strip	_heap_lock_updated_tuple_rec
.subsections_via_symbols
