	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArraySetReplicationSlotXmin ## -- Begin function ProcArraySetReplicationSlotXmin
	.p2align	4, 0x90
_ProcArraySetReplicationSlotXmin:       ## @ProcArraySetReplicationSlotXmin
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockHeldByMe
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_Assert
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, 8(%rax)
	movq	%r14, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %edi
	callq	_Assert
	movq	_ProcArrayLock@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, 8(%rax)
	movq	%r14, (%rax)
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_procArray,8,3                  ## @procArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArraySetReplicationSlotXmin ; -- Begin function ProcArraySetReplicationSlotXmin
	.p2align	2
_ProcArraySetReplicationSlotXmin:       ; @ProcArraySetReplicationSlotXmin
	.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
	cbz	w2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LWLockHeldByMe
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
Lloh3:
	adrp	x8, _procArray@GOTPAGE
Lloh4:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x19, x20, [x8]
	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:
	mov	w0, #1
	bl	_Assert
Lloh6:
	adrp	x21, _ProcArrayLock@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ProcArrayLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh11:
	adrp	x8, _procArray@GOTPAGE
Lloh12:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	stp	x19, x20, [x8]
	ldr	w0, [x21]
	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	_LWLockRelease
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_procArray,8,3                  ; @procArray
.subsections_via_symbols
