	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_new_xmax_infomask
_compute_new_xmax_infomask:             ## @compute_new_xmax_infomask
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_TransactionIdIsCurrentTransactionId
	movl	%eax, %edi
	callq	_Assert
	movq	_HEAP_XMAX_INVALID@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_1
LBB0_6:
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.7:
	cmpl	$131, -80(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.9:
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
LBB0_8:
	movq	32(%rbp), %r13
	movq	16(%rbp), %r12
	movq	24(%rbp), %rbx
	jmp	LBB0_50
LBB0_1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	movq	_HEAP_XMAX_IS_MULTI@GOTPCREL(%rip), %r12
	movq	_HEAP_XMAX_COMMITTED@GOTPCREL(%rip), %r15
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	testl	%r13d, (%r12)
	je	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	testl	%r13d, %eax
	sete	%dil
	callq	_Assert
	movl	%r13d, %edi
	callq	_HEAP_LOCKED_UPGRADED
	testq	%rax, %rax
	jne	LBB0_4
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_MultiXactIdIsRunning
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	testl	%eax, %eax
	jne	LBB0_4
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_MultiXactIdGetUpdateXid
	movq	%rax, %rdi
	callq	_TransactionIdDidCommit
	testq	%rax, %rax
	jne	LBB0_20
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %eax
	jne	LBB0_25
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_TransactionIdIsInProgress
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	testq	%rbx, %rbx
	jne	LBB0_30
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_5
## %bb.44:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_TransactionIdDidCommit
	testq	%rax, %rax
	jne	LBB0_45
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
	orl	%eax, %r13d
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %eax
	je	LBB0_2
	jmp	LBB0_6
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	je	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_HEAP_XMAX_IS_KEYSHR_LOCKED
	movq	_MultiXactStatusForKeyShare@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_HEAP_XMAX_IS_SHR_LOCKED
	movq	_MultiXactStatusForShare@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_HEAP_XMAX_IS_EXCL_LOCKED
	testq	%rax, %rax
	je	LBB0_41
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MultiXactStatusForUpdate@GOTPCREL(%rip), %rcx
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MultiXactStatusForNoKeyUpdate@GOTPCREL(%rip), %rcx
	jmp	LBB0_38
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_MultiXactStatusUpdate@GOTPCREL(%rip), %rcx
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MultiXactStatusNoKeyUpdate@GOTPCREL(%rip), %rcx
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %edi
	movl	%edi, -88(%rbp)                 ## 4-byte Spill
	callq	_TUPLOCK_from_mxstatus
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	movl	%eax, %edi
	callq	_Assert
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	%ebx, %eax
	cmovlel	%ebx, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_elog
	movl	(%r14), %eax
	orl	%eax, %r13d
	movq	_HEAP_XMAX_LOCK_ONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %r13d
	jmp	LBB0_42
LBB0_10:
	movq	_HEAP_XMAX_LOCK_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_16
## %bb.11:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	movq	32(%rbp), %r13
	movq	16(%rbp), %r12
	movq	24(%rbp), %rbx
	jmpq	*%rdx
LBB0_14:
	movq	_HEAP_XMAX_SHR_LOCK@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_25:
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_26
## %bb.27:
	movq	_MultiXactStatusNoKeyUpdate@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_20:
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_get_mxact_status_for_lock
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_MultiXactIdExpand
LBB0_21:
	movq	%rax, %r14
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	callq	_GetMultiXactIdHintBits
	jmp	LBB0_22
LBB0_16:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_22:
	movq	32(%rbp), %r13
	jmp	LBB0_23
LBB0_15:
	movq	_HEAP_XMAX_EXCL_LOCK@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_12:
	movq	_HEAP_XMAX_KEYSHR_LOCK@GOTPCREL(%rip), %rcx
LBB0_13:
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_50
LBB0_49:
	movq	_HEAP_XMAX_EXCL_LOCK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
LBB0_50:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_51
LBB0_26:
	movq	_MultiXactStatusUpdate@GOTPCREL(%rip), %rax
LBB0_28:
	movq	32(%rbp), %r13
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax), %r12d
                                        ## kill: def $edi killed $edi killed $rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_get_mxact_status_for_lock
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_MultiXactIdCreate
	movq	%rax, %r14
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	callq	_GetMultiXactIdHintBits
LBB0_23:
	movq	16(%rbp), %r12
	movq	24(%rbp), %rbx
LBB0_51:
	movl	-44(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-48(%rbp), %eax
	movl	%eax, (%r13)
	movq	%r14, (%r12)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movq	_HEAP_KEYS_UPDATED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_46
## %bb.47:
	movq	_MultiXactStatusNoKeyUpdate@GOTPCREL(%rip), %rax
	jmp	LBB0_48
LBB0_46:
	movq	_MultiXactStatusUpdate@GOTPCREL(%rip), %rax
LBB0_48:
	movq	32(%rbp), %r13
	movq	16(%rbp), %r12
	movq	24(%rbp), %rbx
	movl	(%rax), %r15d
                                        ## kill: def $edi killed $edi killed $rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_get_mxact_status_for_lock
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_MultiXactIdCreate
	movq	%rax, %r14
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	callq	_GetMultiXactIdHintBits
	jmp	LBB0_51
LBB0_40:
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_get_mxact_status_for_lock
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_MultiXactIdCreate
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_49
	.end_data_region
                                        ## -- End function
	.comm	_HEAP_XMAX_INVALID,4,2          ## @HEAP_XMAX_INVALID
	.comm	_HEAP_KEYS_UPDATED,4,2          ## @HEAP_KEYS_UPDATED
	.comm	_HEAP_XMAX_LOCK_ONLY,4,2        ## @HEAP_XMAX_LOCK_ONLY
	.comm	_HEAP_XMAX_KEYSHR_LOCK,4,2      ## @HEAP_XMAX_KEYSHR_LOCK
	.comm	_HEAP_XMAX_SHR_LOCK,4,2         ## @HEAP_XMAX_SHR_LOCK
	.comm	_HEAP_XMAX_EXCL_LOCK,4,2        ## @HEAP_XMAX_EXCL_LOCK
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid lock mode"

	.comm	_HEAP_XMAX_IS_MULTI,4,2         ## @HEAP_XMAX_IS_MULTI
	.comm	_HEAP_XMAX_COMMITTED,4,2        ## @HEAP_XMAX_COMMITTED
	.comm	_MultiXactStatusUpdate,4,2      ## @MultiXactStatusUpdate
	.comm	_MultiXactStatusNoKeyUpdate,4,2 ## @MultiXactStatusNoKeyUpdate
	.comm	_MultiXactStatusForKeyShare,4,2 ## @MultiXactStatusForKeyShare
	.comm	_MultiXactStatusForShare,4,2    ## @MultiXactStatusForShare
	.comm	_MultiXactStatusForUpdate,4,2   ## @MultiXactStatusForUpdate
	.comm	_MultiXactStatusForNoKeyUpdate,4,2 ## @MultiXactStatusForNoKeyUpdate
	.comm	_WARNING,4,2                    ## @WARNING
L_.str.1:                               ## @.str.1
	.asciz	"LOCK_ONLY found for Xid in progress %u"

	.no_dead_strip	_compute_new_xmax_infomask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_new_xmax_infomask
_compute_new_xmax_infomask:             ; @compute_new_xmax_infomask
	.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	x19, x7
	mov	x28, x6
	str	w5, [sp, #20]                   ; 4-byte Folded Spill
	mov	x23, x4
	mov	x21, x3
	mov	x24, x2
	mov	x26, x1
	mov	x22, x0
	ldr	x20, [x29, #16]
	mov	x0, x3
	bl	_TransactionIdIsCurrentTransactionId
	bl	_Assert
Lloh0:
	adrp	x25, _HEAP_XMAX_INVALID@GOTPAGE
Lloh1:
	ldr	x25, [x25, _HEAP_XMAX_INVALID@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w26
	stp	x20, x19, [sp, #24]             ; 16-byte Folded Spill
	b.eq	LBB0_4
LBB0_1:
	str	xzr, [sp, #40]
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_27
; %bb.2:
	cmp	w23, #131
	ldp	x20, x19, [sp, #24]             ; 16-byte Folded Reload
	b.ne	LBB0_38
LBB0_3:
Lloh2:
	adrp	x8, _HEAP_KEYS_UPDATED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_KEYS_UPDATED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	b	LBB0_38
LBB0_4:
Lloh5:
	adrp	x20, _HEAP_XMAX_IS_MULTI@GOTPAGE
Lloh6:
	ldr	x20, [x20, _HEAP_XMAX_IS_MULTI@GOTPAGEOFF]
Lloh7:
	adrp	x19, _HEAP_XMAX_COMMITTED@GOTPAGE
Lloh8:
	ldr	x19, [x19, _HEAP_XMAX_COMMITTED@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
	bic	w9, w26, w8
	ldr	w8, [x25]
	orr	w26, w9, w8
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	tst	w8, w26
	b.ne	LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20]
	ldr	w8, [x19]
	and	w8, w8, w26
	tst	w9, w26
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x26
	bl	_HEAP_LOCKED_UPGRADED
	cbnz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	mov	x1, x0
	mov	x0, x22
	bl	_MultiXactIdIsRunning
	cbnz	w0, LBB0_31
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	cbnz	w0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x26
	bl	_MultiXactIdGetUpdateXid
	bl	_TransactionIdDidCommit
	cbz	x0, LBB0_5
	b	LBB0_31
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w8, LBB0_30
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_TransactionIdIsInProgress
	mov	x27, x0
	mov	x0, x26
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	cbnz	x27, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_TransactionIdDidCommit
	cbnz	x0, LBB0_30
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x25]
	orr	w26, w8, w26
	b	LBB0_6
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_HEAP_XMAX_IS_KEYSHR_LOCKED
Lloh9:
	adrp	x8, _MultiXactStatusForKeyShare@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MultiXactStatusForKeyShare@GOTPAGEOFF]
	cbnz	x0, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_HEAP_XMAX_IS_SHR_LOCKED
Lloh11:
	adrp	x8, _MultiXactStatusForShare@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MultiXactStatusForShare@GOTPAGEOFF]
	cbnz	x0, LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_HEAP_XMAX_IS_EXCL_LOCKED
	cbz	x0, LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh13:
	adrp	x8, _HEAP_KEYS_UPDATED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HEAP_KEYS_UPDATED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w24
Lloh16:
	adrp	x8, _MultiXactStatusForUpdate@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MultiXactStatusForUpdate@GOTPAGEOFF]
Lloh18:
	adrp	x9, _MultiXactStatusForNoKeyUpdate@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MultiXactStatusForNoKeyUpdate@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh20:
	adrp	x8, _HEAP_KEYS_UPDATED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HEAP_KEYS_UPDATED@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w24
Lloh23:
	adrp	x8, _MultiXactStatusUpdate@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MultiXactStatusUpdate@GOTPAGEOFF]
Lloh25:
	adrp	x9, _MultiXactStatusNoKeyUpdate@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MultiXactStatusNoKeyUpdate@GOTPAGEOFF]
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	csel	x8, x9, x8, eq
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w28, [x8]
	mov	x0, x28
	bl	_TUPLOCK_from_mxstatus
	cmp	x22, x21
	b.ne	LBB0_40
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x0
	mov	x0, x26
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	bl	_Assert
	cmp	w23, w27
	csel	w23, w23, w27, gt
	ldr	w8, [x25]
	orr	w26, w8, w26
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_6
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh27:
	adrp	x8, _WARNING@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	ldr	w8, [x25]
	orr	w9, w8, w26
Lloh32:
	adrp	x10, _HEAP_XMAX_LOCK_ONLY@GOTPAGE
Lloh33:
	ldr	x10, [x10, _HEAP_XMAX_LOCK_ONLY@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	bic	w26, w9, w10
	b	LBB0_6
LBB0_27:
Lloh35:
	adrp	x8, _HEAP_XMAX_LOCK_ONLY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HEAP_XMAX_LOCK_ONLY@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [sp, #44]
	sub	w9, w23, #128
	cmp	w9, #3
	ldp	x20, x19, [sp, #24]             ; 16-byte Folded Reload
	b.hi	LBB0_34
; %bb.28:
Lloh38:
	adrp	x10, lJTI0_0@PAGE
Lloh39:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_29
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_29:
Lloh40:
	adrp	x9, _HEAP_XMAX_SHR_LOCK@GOTPAGE
Lloh41:
	ldr	x9, [x9, _HEAP_XMAX_SHR_LOCK@GOTPAGEOFF]
	b	LBB0_37
LBB0_30:
	str	xzr, [sp, #40]
Lloh42:
	adrp	x8, _HEAP_KEYS_UPDATED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _HEAP_KEYS_UPDATED@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w24
Lloh45:
	adrp	x8, _MultiXactStatusUpdate@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MultiXactStatusUpdate@GOTPAGEOFF]
Lloh47:
	adrp	x9, _MultiXactStatusNoKeyUpdate@GOTPAGE
Lloh48:
	ldr	x9, [x9, _MultiXactStatusNoKeyUpdate@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w25, [x8]
	mov	x0, x23
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_get_mxact_status_for_lock
	mov	x3, x0
	mov	x0, x22
	mov	x1, x25
	mov	x2, x21
	bl	_MultiXactIdCreate
	b	LBB0_32
LBB0_31:
	str	xzr, [sp, #40]
	mov	x0, x23
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_get_mxact_status_for_lock
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_MultiXactIdExpand
LBB0_32:
	mov	x21, x0
	add	x1, sp, #44
	add	x2, sp, #40
	bl	_GetMultiXactIdHintBits
LBB0_33:
	ldp	x20, x19, [sp, #24]             ; 16-byte Folded Reload
	b	LBB0_38
LBB0_34:
Lloh49:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh50:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh51:
	ldr	x21, [x8]
Lloh52:
	adrp	x8, _ERROR@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x1, l_.str@PAGE
Lloh56:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	b	LBB0_38
LBB0_35:
Lloh57:
	adrp	x9, _HEAP_XMAX_EXCL_LOCK@GOTPAGE
Lloh58:
	ldr	x9, [x9, _HEAP_XMAX_EXCL_LOCK@GOTPAGEOFF]
	b	LBB0_37
LBB0_36:
Lloh59:
	adrp	x9, _HEAP_XMAX_KEYSHR_LOCK@GOTPAGE
Lloh60:
	ldr	x9, [x9, _HEAP_XMAX_KEYSHR_LOCK@GOTPAGEOFF]
LBB0_37:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #44]
LBB0_38:
	ldr	w8, [sp, #44]
	str	w8, [x19]
	ldr	w8, [sp, #40]
	str	w8, [x20]
	str	x21, [x28]
	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
LBB0_39:
Lloh61:
	adrp	x9, _HEAP_XMAX_EXCL_LOCK@GOTPAGE
Lloh62:
	ldr	x9, [x9, _HEAP_XMAX_EXCL_LOCK@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #44]
	b	LBB0_3
LBB0_40:
	str	xzr, [sp, #40]
	mov	x0, x23
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_get_mxact_status_for_lock
	mov	x3, x0
	mov	x0, x22
	mov	x1, x28
	mov	x2, x21
	bl	_MultiXactIdCreate
	mov	x21, x0
	add	x1, sp, #44
	add	x2, sp, #40
	bl	_GetMultiXactIdHintBits
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_33
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_29-LBB0_29)>>2
	.byte	(LBB0_35-LBB0_29)>>2
	.byte	(LBB0_36-LBB0_29)>>2
	.byte	(LBB0_39-LBB0_29)>>2
                                        ; -- End function
	.comm	_HEAP_XMAX_INVALID,4,2          ; @HEAP_XMAX_INVALID
	.comm	_HEAP_KEYS_UPDATED,4,2          ; @HEAP_KEYS_UPDATED
	.comm	_HEAP_XMAX_LOCK_ONLY,4,2        ; @HEAP_XMAX_LOCK_ONLY
	.comm	_HEAP_XMAX_KEYSHR_LOCK,4,2      ; @HEAP_XMAX_KEYSHR_LOCK
	.comm	_HEAP_XMAX_SHR_LOCK,4,2         ; @HEAP_XMAX_SHR_LOCK
	.comm	_HEAP_XMAX_EXCL_LOCK,4,2        ; @HEAP_XMAX_EXCL_LOCK
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid lock mode"

	.comm	_HEAP_XMAX_IS_MULTI,4,2         ; @HEAP_XMAX_IS_MULTI
	.comm	_HEAP_XMAX_COMMITTED,4,2        ; @HEAP_XMAX_COMMITTED
	.comm	_MultiXactStatusUpdate,4,2      ; @MultiXactStatusUpdate
	.comm	_MultiXactStatusNoKeyUpdate,4,2 ; @MultiXactStatusNoKeyUpdate
	.comm	_MultiXactStatusForKeyShare,4,2 ; @MultiXactStatusForKeyShare
	.comm	_MultiXactStatusForShare,4,2    ; @MultiXactStatusForShare
	.comm	_MultiXactStatusForUpdate,4,2   ; @MultiXactStatusForUpdate
	.comm	_MultiXactStatusForNoKeyUpdate,4,2 ; @MultiXactStatusForNoKeyUpdate
	.comm	_WARNING,4,2                    ; @WARNING
l_.str.1:                               ; @.str.1
	.asciz	"LOCK_ONLY found for Xid in progress %u"

	.no_dead_strip	_compute_new_xmax_infomask
.subsections_via_symbols
