	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MultiXactAdvanceNextMXact      ## -- Begin function MultiXactAdvanceNextMXact
	.p2align	4, 0x90
_MultiXactAdvanceNextMXact:             ## @MultiXactAdvanceNextMXact
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MultiXactGenLock@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_MultiXactState@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	movq	%rbx, %rsi
	callq	_MultiXactIdPrecedes
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_debug_elog3
	movq	(%r12), %rax
	movq	%rbx, 8(%rax)
	jmp	LBB0_3
LBB0_1:
	movq	(%r12), %rax
LBB0_3:
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_MultiXactOffsetPrecedes
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_debug_elog3
	movq	(%r12), %rax
	movq	%r14, (%rax)
LBB0_5:
	movl	(%r15), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MultiXactGenLock,4,2           ## @MultiXactGenLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_MultiXactState,8,3             ## @MultiXactState
	.comm	_DEBUG2,4,2                     ## @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MultiXact: setting next multi to %u"

L_.str.1:                               ## @.str.1
	.asciz	"MultiXact: setting next offset to %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MultiXactAdvanceNextMXact      ; -- Begin function MultiXactAdvanceNextMXact
	.p2align	2
_MultiXactAdvanceNextMXact:             ; @MultiXactAdvanceNextMXact
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MultiXactGenLock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MultiXactGenLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x22, _MultiXactState@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MultiXactState@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x8, #8]
	mov	x1, x20
	bl	_MultiXactIdPrecedes
Lloh7:
	adrp	x23, _DEBUG2@GOTPAGE
Lloh8:
	ldr	x23, [x23, _DEBUG2@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_debug_elog3
	ldr	x8, [x22]
	str	x20, [x8, #8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x22]
LBB0_3:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_MultiXactOffsetPrecedes
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x23]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_debug_elog3
	ldr	x8, [x22]
	str	x19, [x8]
LBB0_5:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_LWLockRelease
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MultiXactGenLock,4,2           ; @MultiXactGenLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_MultiXactState,8,3             ; @MultiXactState
	.comm	_DEBUG2,4,2                     ; @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MultiXact: setting next multi to %u"

l_.str.1:                               ; @.str.1
	.asciz	"MultiXact: setting next offset to %u"

.subsections_via_symbols
