	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetOldestMultiXactId           ## -- Begin function GetOldestMultiXactId
	.p2align	4, 0x90
_GetOldestMultiXactId:                  ## @GetOldestMultiXactId
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MultiXactGenLock@GOTPCREL(%rip), %rax
	movl	(%rax), %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), %r14
	cmpq	%r14, %rax
	cmovgq	%rax, %r14
	movq	_MaxOldestSlot@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.1:
	xorl	%ebx, %ebx
	movq	_OldestVisibleMXactId@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12), %rax
	incq	%rbx
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_OldestMemberMXactId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax,%rbx,8), %r13
	movq	%r13, %rdi
	callq	_MultiXactIdIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MultiXactIdPrecedes
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	8(%rax,%rbx,8), %r13
	movq	%r13, %rdi
	callq	_MultiXactIdIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MultiXactIdPrecedes
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
	jmp	LBB0_8
LBB0_9:
	movq	_MultiXactGenLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MultiXactGenLock,4,2           ## @MultiXactGenLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_MultiXactState,8,3             ## @MultiXactState
	.comm	_FirstMultiXactId,8,3           ## @FirstMultiXactId
	.comm	_MaxOldestSlot,4,2              ## @MaxOldestSlot
	.comm	_OldestMemberMXactId,8,3        ## @OldestMemberMXactId
	.comm	_OldestVisibleMXactId,8,3       ## @OldestVisibleMXactId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetOldestMultiXactId           ; -- Begin function GetOldestMultiXactId
	.p2align	2
_GetOldestMultiXactId:                  ; @GetOldestMultiXactId
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x21, _MultiXactGenLock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MultiXactGenLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x8, _MultiXactState@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MultiXactState@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _FirstMultiXactId@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FirstMultiXactId@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x19, x8, x9, gt
Lloh11:
	adrp	x22, _MaxOldestSlot@GOTPAGE
Lloh12:
	ldr	x22, [x22, _MaxOldestSlot@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w23, #1
Lloh13:
	adrp	x24, _OldestMemberMXactId@GOTPAGE
Lloh14:
	ldr	x24, [x24, _OldestMemberMXactId@GOTPAGEOFF]
Lloh15:
	adrp	x25, _OldestVisibleMXactId@GOTPAGE
Lloh16:
	ldr	x25, [x25, _OldestVisibleMXactId@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x23, #1
	ldrsw	x9, [x22]
	cmp	x23, x9
	mov	x23, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x20, [x8, x23, lsl #3]
	mov	x0, x20
	bl	_MultiXactIdIsValid
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_MultiXactIdPrecedes
	cmp	x0, #0
	csel	x19, x19, x20, eq
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	ldr	x20, [x8, x23, lsl #3]
	mov	x0, x20
	bl	_MultiXactIdIsValid
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_MultiXactIdPrecedes
	cmp	x0, #0
	csel	x19, x19, x20, eq
	b	LBB0_2
LBB0_7:
	ldr	w0, [x21]
	bl	_LWLockRelease
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MultiXactGenLock,4,2           ; @MultiXactGenLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_MultiXactState,8,3             ; @MultiXactState
	.comm	_FirstMultiXactId,8,3           ; @FirstMultiXactId
	.comm	_MaxOldestSlot,4,2              ; @MaxOldestSlot
	.comm	_OldestMemberMXactId,8,3        ; @OldestMemberMXactId
	.comm	_OldestVisibleMXactId,8,3       ; @OldestVisibleMXactId
.subsections_via_symbols
