	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RecordNewMultiXact
_RecordNewMultiXact:                    ## @RecordNewMultiXact
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movl	%edi, %r14d
	movq	_MultiXactOffsetControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movl	%r14d, %edi
	callq	_MultiXactIdToOffsetPage
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_MultiXactIdToOffsetEntry
	movl	%eax, %r15d
	movq	_MultiXactOffsetCtl@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	movl	%r14d, %ecx
	callq	_SimpleLruReadPage
	movq	(%r12), %rcx
	movq	(%rcx), %rdi
	movq	8(%rdi), %rcx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movslq	%eax, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%r15d, %rsi
	movl	%r13d, (%rcx,%rsi,4)
	movq	(%rdi), %rax
	movl	$1, (%rax,%rdx,4)
	movq	_MultiXactOffsetControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movq	_MultiXactMemberControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r13d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$-1, -48(%rbp)                  ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MultiXactMemberCtl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r8
	movq	8(%r8), %rcx
	movslq	-52(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	(%rcx,%rdx,8), %rsi
	movslq	-64(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	4(%r14,%r12,8), %edi
	movl	%edi, (%rsi,%rcx)
	movslq	-44(%rbp), %rdi                 ## 4-byte Folded Reload
	movq	_MXACT_MEMBER_BITS_PER_XACT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$-1, %ebx
	shll	%cl, %ebx
	notl	%ebx
	movl	%r13d, %ecx
	shll	%cl, %ebx
	notl	%ebx
	movl	(%r14,%r12,8), %eax
	shll	%cl, %eax
	andl	(%rsi,%rdi), %ebx
	orl	%ebx, %eax
	movl	%eax, (%rsi,%rdi)
	movq	(%r8), %rax
	movl	$1, (%rax,%rdx,4)
	incq	%r12
	cmpq	%r12, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %ebx
	movl	(%r14,%r12,8), %eax
	xorl	%edi, %edi
	movq	_MultiXactStatusUpdate@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setle	%dil
	callq	_Assert
	movl	%ebx, %edi
	callq	_MXOffsetToMemberPage
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_MXOffsetToMemberOffset
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_MXOffsetToFlagsOffset
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_MXOffsetToFlagsBitShift
	movl	%eax, %r13d
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MultiXactMemberCtl@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_SimpleLruReadPage
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
LBB0_5:
	movq	_MultiXactMemberControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MultiXactOffsetControlLock,4,2 ## @MultiXactOffsetControlLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_MultiXactOffsetCtl,8,3         ## @MultiXactOffsetCtl
	.comm	_MultiXactMemberControlLock,4,2 ## @MultiXactMemberControlLock
	.comm	_MultiXactStatusUpdate,4,2      ## @MultiXactStatusUpdate
	.comm	_MultiXactMemberCtl,8,3         ## @MultiXactMemberCtl
	.comm	_MXACT_MEMBER_BITS_PER_XACT,4,2 ## @MXACT_MEMBER_BITS_PER_XACT
	.no_dead_strip	_RecordNewMultiXact
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RecordNewMultiXact
_RecordNewMultiXact:                    ; @RecordNewMultiXact
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x23, x2
	mov	x20, x1
	mov	x27, x0
Lloh0:
	adrp	x21, _MultiXactOffsetControlLock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MultiXactOffsetControlLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x25, _LW_EXCLUSIVE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _LW_EXCLUSIVE@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_LWLockAcquire
	mov	x0, x27
	bl	_MultiXactIdToOffsetPage
	mov	x22, x0
	mov	x0, x27
	bl	_MultiXactIdToOffsetEntry
	mov	x24, x0
Lloh4:
	adrp	x26, _MultiXactOffsetCtl@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MultiXactOffsetCtl@GOTPAGEOFF]
	ldr	x0, [x26]
	mov	w28, #1
	mov	x1, x22
	mov	w2, #1
	str	w27, [sp, #12]                  ; 4-byte Folded Spill
	mov	x3, x27
	bl	_SimpleLruReadPage
	mov	x22, x0
	ldr	x8, [x26]
	ldr	x8, [x8]
	ldp	x8, x9, [x8]
	ldr	x9, [x9, w0, sxtw #3]
	str	w20, [x9, w24, sxtw #2]
	str	w28, [x8, w0, sxtw #2]
	ldr	w0, [x21]
	bl	_LWLockRelease
Lloh6:
	adrp	x8, _MultiXactMemberControlLock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MultiXactMemberControlLock@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_LWLockAcquire
	cmp	w23, #1
	b.lt	LBB0_5
; %bb.1:
Lloh9:
	adrp	x21, _MultiXactMemberCtl@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MultiXactMemberCtl@GOTPAGEOFF]
	mov	w28, #-1
	mov	w27, w23
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldp	x8, x9, [x8]
	ldr	x9, [x9, w22, sxtw #3]
	ldr	w10, [x19, #4]
	str	w10, [x9, w23, sxtw]
	sxtw	x10, w24
	ldr	w11, [x9, x10]
Lloh11:
	adrp	x12, _MXACT_MEMBER_BITS_PER_XACT@GOTPAGE
Lloh12:
	ldr	x12, [x12, _MXACT_MEMBER_BITS_PER_XACT@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	mov	w13, #-1
	lsl	w12, w13, w12
	mvn	w12, w12
	lsl	w12, w12, w25
	bic	w11, w11, w12
	ldr	w12, [x19], #8
	lsl	w12, w12, w25
	orr	w11, w11, w12
	str	w11, [x9, x10]
	mov	w9, #1
	str	w9, [x8, w22, sxtw #2]
	add	w20, w20, #1
	subs	x27, x27, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _MultiXactStatusUpdate@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MultiXactStatusUpdate@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, le
	bl	_Assert
	mov	x0, x20
	bl	_MXOffsetToMemberPage
	mov	x26, x0
	mov	x0, x20
	bl	_MXOffsetToMemberOffset
	mov	x23, x0
	mov	x0, x20
	bl	_MXOffsetToFlagsOffset
	mov	x24, x0
	mov	x0, x20
	bl	_MXOffsetToFlagsBitShift
	mov	x25, x0
	cmp	w26, w28
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21]
	mov	x1, x26
	mov	w2, #1
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	bl	_SimpleLruReadPage
	mov	x22, x0
	mov	x28, x26
	b	LBB0_2
LBB0_5:
Lloh17:
	adrp	x8, _MultiXactMemberControlLock@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MultiXactMemberControlLock@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_LWLockRelease
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MultiXactOffsetControlLock,4,2 ; @MultiXactOffsetControlLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_MultiXactOffsetCtl,8,3         ; @MultiXactOffsetCtl
	.comm	_MultiXactMemberControlLock,4,2 ; @MultiXactMemberControlLock
	.comm	_MultiXactStatusUpdate,4,2      ; @MultiXactStatusUpdate
	.comm	_MultiXactMemberCtl,8,3         ; @MultiXactMemberCtl
	.comm	_MXACT_MEMBER_BITS_PER_XACT,4,2 ; @MXACT_MEMBER_BITS_PER_XACT
	.no_dead_strip	_RecordNewMultiXact
.subsections_via_symbols
