	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SnapshotResetXmin
_SnapshotResetXmin:                     ## @SnapshotResetXmin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ActiveSnapshot@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	_RegisteredSnapshots@GOTPCREL(%rip), %rdi
	callq	_pairingheap_is_empty
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
LBB0_3:
	movq	_SnapshotData@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ph_node@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_RegisteredSnapshots@GOTPCREL(%rip), %rdi
	callq	_pairingheap_first
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pairingheap_container
	movq	%rax, %rbx
	movq	_MyPgXact@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movl	(%rbx), %eax
	movq	_MyPgXact@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ActiveSnapshot,8,3             ## @ActiveSnapshot
	.comm	_RegisteredSnapshots,4,2        ## @RegisteredSnapshots
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_MyPgXact,8,3                   ## @MyPgXact
	.comm	_SnapshotData,4,2               ## @SnapshotData
	.comm	_ph_node,4,2                    ## @ph_node
	.no_dead_strip	_SnapshotResetXmin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SnapshotResetXmin
_SnapshotResetXmin:                     ; @SnapshotResetXmin
	.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
Lloh0:
	adrp	x8, _ActiveSnapshot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ActiveSnapshot@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x0, _RegisteredSnapshots@GOTPAGE
Lloh4:
	ldr	x0, [x0, _RegisteredSnapshots@GOTPAGEOFF]
	bl	_pairingheap_is_empty
Lloh5:
	adrp	x21, _MyPgXact@GOTPAGE
Lloh6:
	ldr	x21, [x21, _MyPgXact@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x19, _InvalidTransactionId@GOTPAGE
Lloh8:
	ldr	x19, [x19, _InvalidTransactionId@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _SnapshotData@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SnapshotData@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x8, _ph_node@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ph_node@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x0, _RegisteredSnapshots@GOTPAGE
Lloh16:
	ldr	x0, [x0, _RegisteredSnapshots@GOTPAGEOFF]
	bl	_pairingheap_first
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_pairingheap_container
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_5
LBB0_4:
	ldr	w8, [x19]
	ldr	x9, [x21]
	str	w8, [x9]
LBB0_5:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ActiveSnapshot,8,3             ; @ActiveSnapshot
	.comm	_RegisteredSnapshots,4,2        ; @RegisteredSnapshots
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_MyPgXact,8,3                   ; @MyPgXact
	.comm	_SnapshotData,4,2               ; @SnapshotData
	.comm	_ph_node,4,2                    ; @ph_node
	.no_dead_strip	_SnapshotResetXmin
.subsections_via_symbols
