	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MultiXactIdSetOldestMember     ## -- Begin function MultiXactIdSetOldestMember
	.p2align	4, 0x90
_MultiXactIdSetOldestMember:            ## @MultiXactIdSetOldestMember
	.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	_OldestMemberMXactId@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_MyBackendId@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_MultiXactIdIsValid
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_MultiXactGenLock@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_MultiXactState@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_FirstMultiXactId@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmpq	%rbx, %rax
	cmovgq	%rax, %rbx
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movq	%rbx, (%rax,%rcx,8)
	movl	(%r12), %edi
	callq	_LWLockRelease
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debug_elog4                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OldestMemberMXactId,8,3        ## @OldestMemberMXactId
	.comm	_MyBackendId,8,3                ## @MyBackendId
	.comm	_MultiXactGenLock,4,2           ## @MultiXactGenLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_MultiXactState,8,3             ## @MultiXactState
	.comm	_FirstMultiXactId,8,3           ## @FirstMultiXactId
	.comm	_DEBUG2,4,2                     ## @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MultiXact: setting OldestMember[%d] = %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MultiXactIdSetOldestMember     ; -- Begin function MultiXactIdSetOldestMember
	.p2align	2
_MultiXactIdSetOldestMember:            ; @MultiXactIdSetOldestMember
	.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
Lloh0:
	adrp	x21, _OldestMemberMXactId@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OldestMemberMXactId@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x20, _MyBackendId@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MyBackendId@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x0, [x8, x9, lsl #3]
	bl	_MultiXactIdIsValid
	cbz	w0, 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
	ret
LBB0_2:
Lloh4:
	adrp	x22, _MultiXactGenLock@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MultiXactGenLock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh6:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh9:
	adrp	x8, _MultiXactState@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MultiXactState@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _FirstMultiXactId@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FirstMultiXactId@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x19, x8, x9, gt
	ldr	x8, [x21]
	ldr	x9, [x20]
	str	x19, [x8, x9, lsl #3]
	ldr	w0, [x22]
	bl	_LWLockRelease
Lloh15:
	adrp	x8, _DEBUG2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DEBUG2@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x2, [x20]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	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	_debug_elog4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OldestMemberMXactId,8,3        ; @OldestMemberMXactId
	.comm	_MyBackendId,8,3                ; @MyBackendId
	.comm	_MultiXactGenLock,4,2           ; @MultiXactGenLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_MultiXactState,8,3             ; @MultiXactState
	.comm	_FirstMultiXactId,8,3           ; @FirstMultiXactId
	.comm	_DEBUG2,4,2                     ; @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MultiXact: setting OldestMember[%d] = %u"

.subsections_via_symbols
