	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SnapMgrInit                    ## -- Begin function SnapMgrInit
	.p2align	4, 0x90
_SnapMgrInit:                           ## @SnapMgrInit
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_SnapMgrShmemSize
	leaq	L_.str(%rip), %rdi
	leaq	-20(%rbp), %rdx
	movl	%eax, %esi
	callq	_ShmemInitStruct
	movq	_oldSnapshotControl@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	cmpl	$0, -20(%rbp)
	jne	LBB0_2
## %bb.1:
	addq	$80, %rax
	movq	%rax, %rdi
	callq	_SpinLockInit
	movq	(%rbx), %rdi
	movq	$0, 72(%rdi)
	addq	$64, %rdi
	callq	_SpinLockInit
	movq	_InvalidTransactionId@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rbx), %rdi
	movq	%rax, 56(%rdi)
	movq	$0, 48(%rdi)
	addq	$40, %rdi
	callq	_SpinLockInit
	movq	(%rbx), %rax
	movq	$0, 32(%rax)
	movq	(%r14), %rcx
	movq	%rcx, 24(%rax)
	movq	$0, 16(%rax)
	movq	$0, 8(%rax)
	movq	$0, (%rax)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OldSnapshotControlData"

	.comm	_oldSnapshotControl,8,3         ## @oldSnapshotControl
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SnapMgrInit                    ; -- Begin function SnapMgrInit
	.p2align	2
_SnapMgrInit:                           ; @SnapMgrInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	bl	_SnapMgrShmemSize
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_ShmemInitStruct
Lloh2:
	adrp	x19, _oldSnapshotControl@GOTPAGE
Lloh3:
	ldr	x19, [x19, _oldSnapshotControl@GOTPAGEOFF]
	str	x0, [x19]
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
; %bb.1:
	add	x0, x0, #80
	bl	_SpinLockInit
	ldr	x8, [x19]
	str	xzr, [x8, #72]
	add	x0, x8, #64
	bl	_SpinLockInit
Lloh4:
	adrp	x20, _InvalidTransactionId@GOTPAGE
Lloh5:
	ldr	x20, [x20, _InvalidTransactionId@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x19]
	str	x8, [x9, #56]
	str	xzr, [x9, #48]
	add	x0, x9, #40
	bl	_SpinLockInit
	ldr	x8, [x19]
	str	xzr, [x8, #32]
	ldr	x9, [x20]
	str	x9, [x8, #24]
	str	xzr, [x8, #16]
	str	xzr, [x8, #8]
	str	xzr, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OldSnapshotControlData"

	.comm	_oldSnapshotControl,8,3         ; @oldSnapshotControl
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
.subsections_via_symbols
