	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PhysicalReplicationSlotNewXmin
_PhysicalReplicationSlotNewXmin:        ## @PhysicalReplicationSlotNewXmin
	.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, %r15
	movq	_MyReplicationSlot@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_SpinLockAcquire
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MyPgXact@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	16(%rbx), %rdi
	callq	_TransactionIdIsNormal
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_TransactionIdIsNormal
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	%r15, 16(%rbx)
	movq	%r15, 32(%rbx)
	xorl	%r15d, %r15d
LBB0_5:
	movq	24(%rbx), %rdi
	callq	_TransactionIdIsNormal
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_TransactionIdIsNormal
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	24(%rbx), %rdi
	movq	%r14, %rsi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movq	%r14, 24(%rbx)
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	callq	_SpinLockRelease
LBB0_9:
	xorl	%eax, %eax
	callq	_ReplicationSlotMarkDirty
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ReplicationSlotsComputeRequiredXmin ## TAILCALL
LBB0_3:
	movb	$1, %r15b
	jmp	LBB0_5
LBB0_10:
	movq	%rbx, %rdi
	callq	_SpinLockRelease
	testb	%r15b, %r15b
	je	LBB0_9
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyReplicationSlot,8,3          ## @MyReplicationSlot
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_MyPgXact,8,3                   ## @MyPgXact
	.no_dead_strip	_PhysicalReplicationSlotNewXmin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PhysicalReplicationSlotNewXmin
_PhysicalReplicationSlotNewXmin:        ; @PhysicalReplicationSlotNewXmin
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MyReplicationSlot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyReplicationSlot@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	mov	x0, x19
	bl	_SpinLockAcquire
Lloh3:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MyPgXact@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MyPgXact@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	w8, [x9]
	ldr	x0, [x19, #16]
	bl	_TransactionIdIsNormal
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_TransactionIdIsNormal
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x0, [x19, #16]
	mov	x1, x21
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_9
LBB0_3:
	mov	w22, #0
	str	x21, [x19, #16]
	str	x21, [x19, #32]
LBB0_4:
	ldr	x0, [x19, #24]
	bl	_TransactionIdIsNormal
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_TransactionIdIsNormal
	cbz	w0, LBB0_7
; %bb.6:
	ldr	x0, [x19, #24]
	mov	x1, x20
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_10
LBB0_7:
	str	x20, [x19, #24]
	str	x20, [x19, #8]
	mov	x0, x19
	bl	_SpinLockRelease
LBB0_8:
	bl	_ReplicationSlotMarkDirty
	mov	w0, #0
	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	_ReplicationSlotsComputeRequiredXmin
LBB0_9:
	mov	w22, #1
	b	LBB0_4
LBB0_10:
	mov	x0, x19
	bl	_SpinLockRelease
	tbz	w22, #0, LBB0_8
; %bb.11:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MyReplicationSlot,8,3          ; @MyReplicationSlot
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_MyPgXact,8,3                   ; @MyPgXact
	.no_dead_strip	_PhysicalReplicationSlotNewXmin
.subsections_via_symbols
