	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function persistent_ctr
_persistent_ctr:                        ## @persistent_ctr
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$88, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 80(%rax)
	movl	$1, (%rax)
	movq	_SNAPSHOT_DISK_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movq	$0, 64(%rbx)
	movq	_NUM_SNAPSHOT_HDR_CHUNKS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	%rax, 40(%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	movups	%xmm0, 24(%rbx)
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_atomic_set
	movq	$0, 8(%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_create_singlethread_workqueue
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%rbx, (%r14)
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	leaq	L_.str.1(%rip), %rdi
	callq	_DMERR
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SNAPSHOT_DISK_VERSION,4,2      ## @SNAPSHOT_DISK_VERSION
	.comm	_NUM_SNAPSHOT_HDR_CHUNKS,8,3    ## @NUM_SNAPSHOT_HDR_CHUNKS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ksnaphd"

L_.str.1:                               ## @.str.1
	.asciz	"couldn't start header metadata update thread"

	.no_dead_strip	_persistent_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function persistent_ctr
_persistent_ctr:                        ; @persistent_ctr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #88
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #80]
	mov	w8, #1
	str	w8, [x0]
Lloh3:
	adrp	x8, _SNAPSHOT_DISK_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNAPSHOT_DISK_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #72]
	stp	xzr, xzr, [x0, #56]
Lloh6:
	adrp	x8, _NUM_SNAPSHOT_HDR_CHUNKS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NUM_SNAPSHOT_HDR_CHUNKS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, #1
	stp	x8, xzr, [x0, #40]
	add	x0, x0, #16
	stp	xzr, xzr, [x20, #24]
	mov	w1, #0
	bl	_atomic_set
	str	xzr, [x20, #8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_create_singlethread_workqueue
	str	w0, [x20, #4]
	cbz	w0, LBB0_3
; %bb.2:
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_kfree
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DMERR
LBB0_4:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SNAPSHOT_DISK_VERSION,4,2      ; @SNAPSHOT_DISK_VERSION
	.comm	_NUM_SNAPSHOT_HDR_CHUNKS,8,3    ; @NUM_SNAPSHOT_HDR_CHUNKS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ksnaphd"

l_.str.1:                               ; @.str.1
	.asciz	"couldn't start header metadata update thread"

	.no_dead_strip	_persistent_ctr
.subsections_via_symbols
