	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckpointerShmemInit          ## -- Begin function CheckpointerShmemInit
	.p2align	4, 0x90
_CheckpointerShmemInit:                 ## @CheckpointerShmemInit
	.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	_CheckpointerShmemSize
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	leaq	-20(%rbp), %rdx
	movl	%eax, %esi
	callq	_ShmemInitStruct
	movq	_CheckpointerShmem@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	cmpl	$0, -20(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_MemSet
	movq	(%r14), %rdi
	addq	$12, %rdi
	callq	_SpinLockInit
	movq	_NBuffers@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rdi
	movl	%eax, 8(%rdi)
	addq	$4, %rdi
	callq	_ConditionVariableInit
	movq	(%r14), %rdi
	callq	_ConditionVariableInit
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	"Checkpointer Data"

	.comm	_CheckpointerShmem,8,3          ## @CheckpointerShmem
	.comm	_NBuffers,4,2                   ## @NBuffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckpointerShmemInit          ; -- Begin function CheckpointerShmemInit
	.p2align	2
_CheckpointerShmemInit:                 ; @CheckpointerShmemInit
	.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	_CheckpointerShmemSize
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x1, x19
	bl	_ShmemInitStruct
Lloh2:
	adrp	x20, _CheckpointerShmem@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CheckpointerShmem@GOTPAGEOFF]
	str	x0, [x20]
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w1, #0
	mov	x2, x19
	bl	_MemSet
	ldr	x8, [x20]
	add	x0, x8, #12
	bl	_SpinLockInit
Lloh4:
	adrp	x8, _NBuffers@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NBuffers@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	x9, [x20]
	str	w8, [x9, #8]
	add	x0, x9, #4
	bl	_ConditionVariableInit
	ldr	x0, [x20]
	bl	_ConditionVariableInit
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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Checkpointer Data"

	.comm	_CheckpointerShmem,8,3          ; @CheckpointerShmem
	.comm	_NBuffers,4,2                   ; @NBuffers
.subsections_via_symbols
