	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FreezeMultiXactId
_FreezeMultiXactId:                     ## @FreezeMultiXactId
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	16(%rbp), %r12
	movl	$0, (%r12)
	movq	_HEAP_XMAX_IS_MULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%esi, %edi
	callq	_Assert
	movl	%r15d, %edi
	callq	_MultiXactIdIsValid
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_HEAP_LOCKED_UPGRADED
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	_FRM_INVALIDATE_XMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
LBB0_3:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_51:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_MultiXactIdPrecedes
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_errmsg_internal
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movl	%ebx, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	leaq	-48(%rbp), %rsi
	movl	%r15d, %edi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_GetMultiXactIdMembers
	testl	%eax, %eax
	jle	LBB0_2
## %bb.7:
	movl	%eax, %r14d
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	(%rax,%rbx,8), %edi
	movl	%r15d, %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_19 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_19
## %bb.52:
	movq	_FRM_NOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rbp), %rcx
	orl	%eax, (%rcx)
	movq	-48(%rbp), %rdi
	callq	_pfree
	jmp	LBB0_3
LBB0_8:
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_MultiXactIdPrecedes
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movl	%ebx, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_MultiXactIdIsRunning
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_errmsg_internal
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_11:
	movl	%ebx, %edi
	callq	_HEAP_XMAX_IS_LOCKED_ONLY
	testq	%rax, %rax
	jne	LBB0_2
## %bb.12:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_MultiXactIdGetUpdateXid
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_TransactionIdIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	%r15d, %edi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_errmsg_internal
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_14:
	movl	%r15d, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movl	%r15d, %edi
	callq	_TransactionIdDidCommit
	testq	%rax, %rax
	je	LBB0_2
## %bb.16:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_errmsg_internal
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_2
LBB0_20:
	leal	(,%r14,8), %edi
	callq	_palloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_53
## %bb.21:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%r13d, %r13d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	4(%rax,%r13,8), %edi
	callq	_ISUPDATE_from_mxstatus
	movq	-48(%rbp), %rcx
	movl	(%rcx,%r13,8), %ebx
	testq	%rax, %rax
	je	LBB0_37
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	%r12, %r15
	movl	%ebx, %edi
	callq	_TransactionIdIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	%ebx, %edi
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_errmsg_internal
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testq	%rax, %rax
	je	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	%r15, %r12
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %edi
	callq	_TransactionIdIsCurrentTransactionId
	testq	%rax, %rax
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	-48(%rbp), %rax
	movl	(%rax,%r13,8), %edi
	callq	_TransactionIdIsInProgress
	testq	%rax, %rax
	je	LBB0_42
LBB0_39:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-48(%rbp), %rax
	movl	(%rax,%r13,8), %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_TransactionIdPrecedes
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_Assert
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, %ebx
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %edi
	callq	_TransactionIdIsInProgress
	testq	%rax, %rax
	movq	%r15, %r12
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	-60(%rbp), %edi                 ## 4-byte Reload
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	callq	_TransactionIdIsValid
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
LBB0_33:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_errmsg_internal
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_36:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movslq	%ecx, %rax
	incl	%ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, (%rdx,%rax,8)
LBB0_41:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %r15d
LBB0_42:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	jne	LBB0_22
	jmp	LBB0_43
LBB0_31:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%ebx, %edi
	callq	_TransactionIdDidCommit
	movl	$1, %r14d
	testq	%rax, %rax
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	jne	LBB0_28
## %bb.32:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	%edi, %ebx
	jmp	LBB0_33
LBB0_43:
	movq	-48(%rbp), %rdi
	callq	_pfree
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_44
## %bb.45:
	movl	%r15d, %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	movq	16(%rbp), %rbx
	je	LBB0_49
## %bb.46:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_49
## %bb.47:
	xorl	%edi, %edi
	cmpl	$1, %r14d
	sete	%dil
	callq	_Assert
	movq	_FRM_RETURN_IS_XID@GOTPCREL(%rip), %rcx
	movl	(%rbx), %eax
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_50
## %bb.48:
	movq	_FRM_MARK_COMMITTED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_50
LBB0_53:
	movq	-48(%rbp), %rdi
	callq	_pfree
LBB0_44:
	movq	_FRM_INVALIDATE_XMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rbp), %rcx
	orl	%eax, (%rcx)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_50
LBB0_49:
	movl	%r14d, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_MultiXactIdCreateFromMembers
	movl	%eax, %r15d
	movq	_FRM_RETURN_IS_MULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_50:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_pfree
	jmp	LBB0_51
LBB0_17:
	movq	_FRM_RETURN_IS_XID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	jmp	LBB0_51
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ## @HEAP_XMAX_IS_MULTI
	.comm	_FRM_INVALIDATE_XMAX,4,2        ## @FRM_INVALIDATE_XMAX
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ## @ERRCODE_DATA_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"found multixact %u from before relminmxid %u"

L_.str.1:                               ## @.str.1
	.asciz	"multixact %u from before cutoff %u found to be still running"

L_.str.2:                               ## @.str.2
	.asciz	"found update xid %u from before relfrozenxid %u"

L_.str.3:                               ## @.str.3
	.asciz	"cannot freeze committed update xid %u"

	.comm	_FRM_RETURN_IS_XID,4,2          ## @FRM_RETURN_IS_XID
	.comm	_FRM_NOOP,4,2                   ## @FRM_NOOP
L_.str.4:                               ## @.str.4
	.asciz	"found update xid %u from before xid cutoff %u"

	.comm	_FRM_MARK_COMMITTED,4,2         ## @FRM_MARK_COMMITTED
	.comm	_FRM_RETURN_IS_MULTI,4,2        ## @FRM_RETURN_IS_MULTI
	.no_dead_strip	_FreezeMultiXactId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FreezeMultiXactId
_FreezeMultiXactId:                     ; @FreezeMultiXactId
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x6
	mov	x24, x5
	mov	x20, x4
	mov	x25, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	str	wzr, [x6]
Lloh0:
	adrp	x8, _HEAP_XMAX_IS_MULTI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEAP_XMAX_IS_MULTI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w1
	bl	_Assert
	mov	x0, x22
	bl	_MultiXactIdIsValid
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_HEAP_LOCKED_UPGRADED
	cbz	x0, LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _FRM_INVALIDATE_XMAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FRM_INVALIDATE_XMAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_3:
Lloh6:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
LBB0_4:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	mov	x0, x22
	mov	x1, x25
	bl	_MultiXactIdPrecedes
	cbz	x0, LBB0_12
; %bb.6:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
Lloh12:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
	str	x25, [sp]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_7:
	mov	x0, x23
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	mov	x3, x0
	add	x1, sp, #24
	mov	x0, x22
	mov	w2, #0
	bl	_GetMultiXactIdMembers
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.8:
	mov	x23, x0
	mov	x22, #0
	mov	w8, w0
	lsl	x25, x8, #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x22]
	mov	x1, x20
	bl	_TransactionIdPrecedes
	cbnz	x0, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #8
	cmp	x25, x22
	b.ne	LBB0_9
; %bb.11:
Lloh17:
	adrp	x8, _FRM_NOOP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FRM_NOOP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x0, [sp, #24]
	bl	_pfree
	b	LBB0_3
LBB0_12:
	mov	x0, x22
	mov	x1, x24
	bl	_MultiXactIdPrecedes
	cbz	x0, LBB0_7
; %bb.13:
	mov	x0, x23
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	mov	x1, x0
	mov	x0, x22
	bl	_MultiXactIdIsRunning
	cbz	x0, LBB0_15
; %bb.14:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w25, [x8]
Lloh23:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_errcode
	str	x24, [sp]
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_15:
	mov	x0, x23
	bl	_HEAP_XMAX_IS_LOCKED_ONLY
	cbnz	x0, LBB0_2
; %bb.16:
	mov	x0, x22
	mov	x1, x23
	bl	_MultiXactIdGetUpdateXid
	mov	x23, x0
	bl	_TransactionIdIsValid
	bl	_Assert
	mov	x0, x23
	mov	x1, x21
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_18
; %bb.17:
Lloh28:
	adrp	x8, _ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w22, [x8]
Lloh31:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_errcode
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_18:
	mov	x0, x23
	mov	x1, x20
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_52
; %bb.19:
	mov	x0, x23
	bl	_TransactionIdDidCommit
	cbz	x0, LBB0_2
; %bb.20:
Lloh36:
	adrp	x8, _ERROR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh38:
	ldr	w20, [x8]
Lloh39:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_errcode
Lloh42:
	adrp	x0, l_.str.3@PAGE
Lloh43:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x23
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_2
LBB0_21:
	lsl	w0, w23, #3
	bl	_palloc
	mov	x22, x0
Lloh44:
	adrp	x27, _InvalidTransactionId@GOTPAGE
Lloh45:
	ldr	x27, [x27, _InvalidTransactionId@GOTPAGEOFF]
	cmp	w23, #1
	b.lt	LBB0_47
; %bb.22:
	mov	x26, #0
	str	xzr, [sp, #16]                  ; 8-byte Folded Spill
	mov	w24, #0
	ldr	w23, [x27]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	add	x8, x8, x26
	ldr	w0, [x8, #4]
	bl	_ISUPDATE_from_mxstatus
	ldr	x8, [sp, #24]
	ldr	w27, [x8, x26]
	cbz	x0, LBB0_35
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	bl	_TransactionIdIsValid
	bl	_Assert
	mov	x0, x27
	mov	x1, x21
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh46:
	adrp	x8, _ERROR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh48:
	ldr	w28, [x8]
Lloh49:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_errcode
	str	x21, [sp]
Lloh52:
	adrp	x0, l_.str.2@PAGE
Lloh53:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x27
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_26:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	bl	_TransactionIdIsCurrentTransactionId
	cbnz	x0, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	bl	_TransactionIdIsInProgress
	cbnz	x0, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	bl	_TransactionIdDidCommit
	cbz	x0, LBB0_41
; %bb.29:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	w8, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
LBB0_30:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x23
	bl	_TransactionIdIsValid
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
LBB0_31:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	mov	x1, x20
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh54:
	adrp	x8, _ERROR@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh56:
	ldr	w23, [x8]
Lloh57:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	bl	_errcode
	str	x20, [sp]
Lloh60:
	adrp	x0, l_.str.4@PAGE
Lloh61:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x27
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_34:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	bl	_TransactionIdIsValid
	cbnz	w0, LBB0_38
	b	LBB0_39
LBB0_35:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x27
	bl	_TransactionIdIsCurrentTransactionId
	cbnz	x0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x26]
	bl	_TransactionIdIsInProgress
	cbz	x0, LBB0_40
LBB0_37:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x26]
	mov	x1, x20
	bl	_TransactionIdPrecedes
	cmp	x0, #0
	cset	w0, eq
	bl	_Assert
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	mov	x27, x23
LBB0_38:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [sp, #24]
	ldr	x8, [x8, x26]
	str	x8, [x22, w24, sxtw #3]
	add	w24, w24, #1
LBB0_39:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x23, x27
LBB0_40:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x26, x26, #8
	cmp	x25, x26
	b.ne	LBB0_23
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x27, x23
	b	LBB0_31
LBB0_42:
	ldr	x0, [sp, #24]
	bl	_pfree
Lloh62:
	adrp	x27, _InvalidTransactionId@GOTPAGE
Lloh63:
	ldr	x27, [x27, _InvalidTransactionId@GOTPAGEOFF]
	cbz	w24, LBB0_48
; %bb.43:
	mov	x0, x23
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_49
; %bb.44:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_49
; %bb.45:
	cmp	w24, #1
	cset	w0, eq
	bl	_Assert
Lloh64:
	adrp	x8, _FRM_RETURN_IS_XID@GOTPAGE
Lloh65:
	ldr	x8, [x8, _FRM_RETURN_IS_XID@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_51
; %bb.46:
Lloh67:
	adrp	x9, _FRM_MARK_COMMITTED@GOTPAGE
Lloh68:
	ldr	x9, [x9, _FRM_MARK_COMMITTED@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	b	LBB0_50
LBB0_47:
	ldr	x0, [sp, #24]
	bl	_pfree
LBB0_48:
Lloh70:
	adrp	x8, _FRM_INVALIDATE_XMAX@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FRM_INVALIDATE_XMAX@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w23, [x27]
	b	LBB0_51
LBB0_49:
	mov	x0, x24
	mov	x1, x22
	bl	_MultiXactIdCreateFromMembers
	mov	x23, x0
Lloh73:
	adrp	x8, _FRM_RETURN_IS_MULTI@GOTPAGE
Lloh74:
	ldr	x8, [x8, _FRM_RETURN_IS_MULTI@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	ldr	w9, [x19]
LBB0_50:
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_51:
	mov	x0, x22
	bl	_pfree
	b	LBB0_4
LBB0_52:
Lloh76:
	adrp	x8, _FRM_RETURN_IS_XID@GOTPAGE
Lloh77:
	ldr	x8, [x8, _FRM_RETURN_IS_XID@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ; @HEAP_XMAX_IS_MULTI
	.comm	_FRM_INVALIDATE_XMAX,4,2        ; @FRM_INVALIDATE_XMAX
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ; @ERRCODE_DATA_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"found multixact %u from before relminmxid %u"

l_.str.1:                               ; @.str.1
	.asciz	"multixact %u from before cutoff %u found to be still running"

l_.str.2:                               ; @.str.2
	.asciz	"found update xid %u from before relfrozenxid %u"

l_.str.3:                               ; @.str.3
	.asciz	"cannot freeze committed update xid %u"

	.comm	_FRM_RETURN_IS_XID,4,2          ; @FRM_RETURN_IS_XID
	.comm	_FRM_NOOP,4,2                   ; @FRM_NOOP
l_.str.4:                               ; @.str.4
	.asciz	"found update xid %u from before xid cutoff %u"

	.comm	_FRM_MARK_COMMITTED,4,2         ; @FRM_MARK_COMMITTED
	.comm	_FRM_RETURN_IS_MULTI,4,2        ; @FRM_RETURN_IS_MULTI
	.no_dead_strip	_FreezeMultiXactId
.subsections_via_symbols
