	.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	%rsi, %r14
	movq	%rdi, %r15
	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	%r15, 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	%esi, %esi
	callq	_atomic_set
	movq	$0, 8(%rbx)
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	callq	_alloc_workqueue
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:
	movsbl	(%r14), %edi
	callq	_toupper
	cmpb	$79, %al
	jne	LBB0_8
## %bb.6:
	movl	$1, (%r15)
LBB0_7:
	movq	%rbx, 8(%r15)
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMERR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_DMERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	4(%rbx), %edi
	callq	_destroy_workqueue
LBB0_9:
	negl	%r14d
	movq	%rbx, %rdi
	callq	_kfree
LBB0_10:
	movl	%r14d, %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"

	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
L_.str.1:                               ## @.str.1
	.asciz	"couldn't start header metadata update thread"

L_.str.2:                               ## @.str.2
	.asciz	"Unsupported persistent store option: %s"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.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:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, 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_6
; %bb.1:
	mov	x19, x0
	str	x20, [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, [x19, #24]
	mov	w1, #0
	bl	_atomic_set
	str	xzr, [x19, #8]
Lloh9:
	adrp	x8, _WQ_MEM_RECLAIM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	bl	_alloc_workqueue
	str	w0, [x19, #4]
	cbz	w0, LBB0_7
; %bb.2:
	cbz	x21, LBB0_5
; %bb.3:
	ldrsb	w0, [x21]
	bl	_toupper
	cmp	w0, #79
	b.ne	LBB0_8
; %bb.4:
	mov	w8, #1
	str	w8, [x20]
LBB0_5:
	mov	w21, #0
	str	x19, [x20, #8]
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_10
LBB0_7:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DMERR
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	b	LBB0_9
LBB0_8:
	str	x21, [sp]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DMERR
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
	ldr	w0, [x19, #4]
	bl	_destroy_workqueue
LBB0_9:
	neg	w21, w20
	mov	x0, x19
	bl	_kfree
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.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"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
l_.str.1:                               ; @.str.1
	.asciz	"couldn't start header metadata update thread"

l_.str.2:                               ; @.str.2
	.asciz	"Unsupported persistent store option: %s"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_persistent_ctr
.subsections_via_symbols
