	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PostPrepare_MultiXact          ## -- Begin function PostPrepare_MultiXact
	.p2align	4, 0x90
_PostPrepare_MultiXact:                 ## @PostPrepare_MultiXact
	.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
	movl	%edi, %r14d
	movq	_OldestMemberMXactId@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_MyBackendId@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	_MultiXactIdIsValid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_TwoPhaseGetDummyBackendId
	movq	%rax, %r14
	movq	_MultiXactGenLock@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	(%r12), %rax
	movq	%rbx, (%rax,%r14,8)
	movq	_InvalidMultiXactId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	(%r15), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movl	(%r13), %edi
	callq	_LWLockRelease
LBB0_2:
	movq	_InvalidMultiXactId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_OldestVisibleMXactId@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r15), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	_MXactContext@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MXactCache@GOTPCREL(%rip), %rdi
	callq	_dlist_init
	movq	_MXactCacheMembers@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OldestMemberMXactId,8,3        ## @OldestMemberMXactId
	.comm	_MyBackendId,8,3                ## @MyBackendId
	.comm	_MultiXactGenLock,4,2           ## @MultiXactGenLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_InvalidMultiXactId,8,3         ## @InvalidMultiXactId
	.comm	_OldestVisibleMXactId,8,3       ## @OldestVisibleMXactId
	.comm	_MXactContext,8,3               ## @MXactContext
	.comm	_MXactCache,4,2                 ## @MXactCache
	.comm	_MXactCacheMembers,8,3          ## @MXactCacheMembers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PostPrepare_MultiXact          ; -- Begin function PostPrepare_MultiXact
	.p2align	2
_PostPrepare_MultiXact:                 ; @PostPrepare_MultiXact
	.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	x20, x0
Lloh0:
	adrp	x22, _OldestMemberMXactId@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OldestMemberMXactId@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x21, _MyBackendId@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MyBackendId@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x19, [x8, x9, lsl #3]
	mov	x0, x19
	bl	_MultiXactIdIsValid
Lloh4:
	adrp	x23, _InvalidMultiXactId@GOTPAGE
Lloh5:
	ldr	x23, [x23, _InvalidMultiXactId@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	bl	_TwoPhaseGetDummyBackendId
	mov	x20, x0
Lloh6:
	adrp	x24, _MultiXactGenLock@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MultiXactGenLock@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	x8, [x22]
	str	x19, [x8, x20, lsl #3]
	ldr	x8, [x23]
	ldr	x9, [x22]
	ldr	x10, [x21]
	str	x8, [x9, x10, lsl #3]
	ldr	w0, [x24]
	bl	_LWLockRelease
LBB0_2:
	ldr	x8, [x23]
Lloh11:
	adrp	x9, _OldestVisibleMXactId@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OldestVisibleMXactId@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x10, [x21]
	str	x8, [x9, x10, lsl #3]
Lloh14:
	adrp	x8, _MXactContext@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MXactContext@GOTPAGEOFF]
Lloh16:
	str	xzr, [x8]
Lloh17:
	adrp	x0, _MXactCache@GOTPAGE
Lloh18:
	ldr	x0, [x0, _MXactCache@GOTPAGEOFF]
	bl	_dlist_init
Lloh19:
	adrp	x8, _MXactCacheMembers@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MXactCacheMembers@GOTPAGEOFF]
Lloh21:
	str	xzr, [x8]
	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
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_OldestMemberMXactId,8,3        ; @OldestMemberMXactId
	.comm	_MyBackendId,8,3                ; @MyBackendId
	.comm	_MultiXactGenLock,4,2           ; @MultiXactGenLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_InvalidMultiXactId,8,3         ; @InvalidMultiXactId
	.comm	_OldestVisibleMXactId,8,3       ; @OldestVisibleMXactId
	.comm	_MXactContext,8,3               ; @MXactContext
	.comm	_MXactCache,4,2                 ; @MXactCache
	.comm	_MXactCacheMembers,8,3          ; @MXactCacheMembers
.subsections_via_symbols
