	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MultiXactSetNextMXact          ## -- Begin function MultiXactSetNextMXact
	.p2align	4, 0x90
_MultiXactSetNextMXact:                 ## @MultiXactSetNextMXact
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_debug_elog4
	movq	_MultiXactGenLock@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_MultiXactState@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, 4(%rax)
	movl	%r14d, (%rax)
	movl	(%r15), %edi
	callq	_LWLockRelease
	movq	_IsBinaryUpgrade@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MaybeExtendOffsetSlru          ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG2,4,2                     ## @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MultiXact: setting next multi to %u offset %u"

	.comm	_MultiXactGenLock,4,2           ## @MultiXactGenLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_MultiXactState,8,3             ## @MultiXactState
	.comm	_IsBinaryUpgrade,8,3            ## @IsBinaryUpgrade
.subsections_via_symbols

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

	.comm	_MultiXactGenLock,4,2           ; @MultiXactGenLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_MultiXactState,8,3             ; @MultiXactState
	.comm	_IsBinaryUpgrade,8,3            ; @IsBinaryUpgrade
.subsections_via_symbols
