	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetLatestSnapshot              ## -- Begin function GetLatestSnapshot
	.p2align	4, 0x90
_GetLatestSnapshot:                     ## @GetLatestSnapshot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_IsInParallelMode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	xorl	%eax, %eax
	callq	_HistoricSnapshotActive
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	_FirstSnapshotSet@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_SecondarySnapshotData@GOTPCREL(%rip), %rdi
	callq	_GetSnapshotData
	movq	_SecondarySnapshot@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_GetTransactionSnapshot         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot update SecondarySnapshot during a parallel operation"

	.comm	_FirstSnapshotSet,4,2           ## @FirstSnapshotSet
	.comm	_SecondarySnapshotData,4,2      ## @SecondarySnapshotData
	.comm	_SecondarySnapshot,4,2          ## @SecondarySnapshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetLatestSnapshot              ; -- Begin function GetLatestSnapshot
	.p2align	2
_GetLatestSnapshot:                     ; @GetLatestSnapshot
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_IsInParallelMode
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	bl	_HistoricSnapshotActive
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
Lloh5:
	adrp	x8, _FirstSnapshotSet@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FirstSnapshotSet@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, _SecondarySnapshotData@GOTPAGE
Lloh9:
	ldr	x0, [x0, _SecondarySnapshotData@GOTPAGEOFF]
	bl	_GetSnapshotData
Lloh10:
	adrp	x8, _SecondarySnapshot@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SecondarySnapshot@GOTPAGEOFF]
Lloh12:
	str	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_GetTransactionSnapshot
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot update SecondarySnapshot during a parallel operation"

	.comm	_FirstSnapshotSet,4,2           ; @FirstSnapshotSet
	.comm	_SecondarySnapshotData,4,2      ; @SecondarySnapshotData
	.comm	_SecondarySnapshot,4,2          ; @SecondarySnapshot
.subsections_via_symbols
