	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function snapshot_ctr
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_snapshot_ctr:                          ## @snapshot_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$3, %esi
	ja	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	_FMODE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_dm_target_is_snapshot_merge
	testq	%rax, %rax
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	je	LBB0_5
## %bb.4:
	movq	_FMODE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$184, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r13
	movl	%r15d, -120(%rbp)
	movq	%r12, -112(%rbp)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_dm_consume_args
	movq	%rbx, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_parse_snapshot_features
	movq	%r13, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_18
## %bb.8:
	movq	(%r12), %rsi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%rdi), %rax
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movq	%rax, %r14
	movq	%rax, %rcx
	callq	_dm_get_device
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_17
LBB0_6:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rbx)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_50
LBB0_10:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	8(%r12), %r14
	movq	%r14, %rdi
	callq	_dm_get_dev_t
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	cmpq	%rbx, %rax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_15
LBB0_13:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	32(%rbx), %edi
	callq	_dm_table_get_mode
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	$16, %rcx
	movq	%rbx, %rdi
	movq	%rcx, %rbx
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_dm_get_device
	testl	%eax, %eax
	je	LBB0_19
## %bb.14:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
LBB0_15:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_dm_put_device
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_18:
	callq	_kfree
LBB0_50:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	addq	$16, %r12
	addl	$-2, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	24(%rbx), %r13
	leaq	-100(%rbp), %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r13, %r9
	callq	_dm_exception_store_create
	testl	%eax, %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_21
## %bb.20:
	leaq	L_.str.5(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_24
LBB0_21:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, 176(%rbx)
	movl	$1, (%rbx)
	leaq	156(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 160(%rbx)
	movq	%rbx, %r14
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	152(%rbx), %rdi
	callq	_spin_lock_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, 136(%rbx)
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%rbx)
	leaq	128(%rbx), %rdi
	callq	_init_rwsem
	leaq	124(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	120(%rbx), %rdi
	callq	_spin_lock_init
	leaq	84(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%rbx)
	movups	%xmm0, 104(%rbx)
	callq	_bio_list_init
	movq	%rbx, %rdi
	callq	_init_hash_tables
	testq	%rax, %rax
	movq	%r15, %rbx
	je	LBB0_25
## %bb.22:
	leaq	L_.str.6(%rip), %rax
	movq	%rax, (%rbx)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_25:
	leaq	80(%r14), %rdi
	callq	_init_waitqueue_head
	movq	_dm_kcopyd_throttle@GOTPCREL(%rip), %rdi
	callq	_dm_kcopyd_client_create
	movl	%eax, 40(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movl	40(%r14), %edi
	callq	_PTR_ERR
	movq	%r14, %r15
	movl	%eax, %r13d
	leaq	L_.str.7(%rip), %rax
	movq	%rax, (%rbx)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_28:
	addq	$44, %r14
	movq	_MIN_IOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pending_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_mempool_init_slab_pool
	testl	%eax, %eax
	je	LBB0_29
## %bb.51:
	movl	%eax, %r13d
	leaq	L_.str.8(%rip), %rax
	movq	%rax, (%rbx)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_52
LBB0_29:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, %al
	movl	$2, %r14d
	subl	%eax, %r14d
	movq	_DM_TRACKED_CHUNK_HASH_SIZE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_32
## %bb.30:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	72(%r13), %rdi
	addq	%r12, %rdi
	callq	_INIT_HLIST_HEAD
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_31
LBB0_32:
	leaq	64(%r13), %rdi
	callq	_spin_lock_init
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, 24(%rbx)
	movl	%r14d, 8(%rbx)
	cmpq	$0, 56(%r13)
	je	LBB0_34
## %bb.33:
	cmpq	$1, 48(%r13)
	movl	$2, %eax
	sbbl	$0, %eax
	movl	%eax, 12(%rbx)
LBB0_34:
	movl	$4, 16(%rbx)
	movq	%r13, %rdi
	callq	_register_snapshot
	movl	%eax, %r13d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_36
## %bb.35:
	leaq	L_.str.9(%rip), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_43
LBB0_36:
	testl	%r13d, %r13d
	js	LBB0_43
## %bb.37:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	je	LBB0_39
## %bb.38:
	movq	$0, (%rdi)
LBB0_49:
	xorl	%r13d, %r13d
	jmp	LBB0_50
LBB0_39:
	movq	8(%rdi), %rax
	movq	_dm_add_exception@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	*(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_40
## %bb.44:
	je	LBB0_46
## %bb.45:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	leaq	L_.str.11(%rip), %rdi
	callq	_DMWARN
LBB0_46:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_47
## %bb.48:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dm_set_target_max_io_len
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_42
	jmp	LBB0_49
LBB0_40:
	leaq	L_.str.10(%rip), %rax
	jmp	LBB0_41
LBB0_47:
	leaq	L_.str.12(%rip), %rax
LBB0_41:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_42:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_unregister_snapshot
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_43:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_mempool_exit
LBB0_52:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	40(%r15), %edi
	callq	_dm_kcopyd_client_destroy
LBB0_27:
	leaq	36(%r15), %rdi
	movq	_pending_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dm_exception_table_exit
	movq	%r15, %rdi
	addq	$32, %rdi
	movq	_exception_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dm_exception_table_exit
LBB0_23:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_dm_exception_store_destroy
LBB0_24:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_dm_put_device
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FMODE_READ,4,2                 ## @FMODE_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"requires 4 or more arguments"

	.comm	_FMODE_WRITE,4,2                ## @FMODE_WRITE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Cannot allocate private snapshot structure"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Cannot get origin device"

L_.str.3:                               ## @.str.3
	.asciz	"COW device cannot be the same as origin device"

L_.str.4:                               ## @.str.4
	.asciz	"Cannot get COW device"

L_.str.5:                               ## @.str.5
	.asciz	"Couldn't create exception store"

	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
L_.str.6:                               ## @.str.6
	.asciz	"Unable to allocate hash table space"

	.comm	_dm_kcopyd_throttle,4,2         ## @dm_kcopyd_throttle
L_.str.7:                               ## @.str.7
	.asciz	"Could not create kcopyd client"

	.comm	_MIN_IOS,4,2                    ## @MIN_IOS
	.comm	_pending_cache,4,2              ## @pending_cache
L_.str.8:                               ## @.str.8
	.asciz	"Could not allocate mempool for pending exceptions"

	.comm	_DM_TRACKED_CHUNK_HASH_SIZE,4,2 ## @DM_TRACKED_CHUNK_HASH_SIZE
L_.str.9:                               ## @.str.9
	.asciz	"Snapshot origin struct allocation failed"

	.comm	_dm_add_exception,4,2           ## @dm_add_exception
L_.str.10:                              ## @.str.10
	.asciz	"Failed to read snapshot metadata"

L_.str.11:                              ## @.str.11
	.asciz	"Snapshot is marked invalid."

L_.str.12:                              ## @.str.12
	.asciz	"Chunk size not set"

	.comm	_exception_cache,4,2            ## @exception_cache
	.no_dead_strip	_snapshot_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snapshot_ctr
_snapshot_ctr:                          ; @snapshot_ctr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cmp	w1, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	mov	x25, x2
	mov	x23, x1
Lloh4:
	adrp	x8, _FMODE_READ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FMODE_READ@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_dm_target_is_snapshot_merge
Lloh7:
	adrp	x8, _FMODE_WRITE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FMODE_WRITE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	x0, #0
	mov	w9, #1
	cinc	w26, w9, ne
	csel	w22, w20, w8, eq
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w0, #184
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	str	w23, [sp, #16]
	str	x25, [sp, #24]
	add	x0, sp, #16
	mov	w1, #4
	bl	_dm_consume_args
	add	x0, sp, #16
	mov	x1, x20
	mov	x2, x19
	bl	_parse_snapshot_features
	mov	x24, x0
	cbnz	w0, LBB0_46
; %bb.4:
	ldr	x1, [x25]
	add	x21, x20, #8
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	bl	_dm_get_device
	cbz	w0, LBB0_8
; %bb.5:
	mov	x24, x0
Lloh13:
	adrp	x8, l_.str.2@PAGE
Lloh14:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x19]
	b	LBB0_46
LBB0_6:
Lloh15:
	adrp	x8, l_.str.1@PAGE
Lloh16:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_47
LBB0_8:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x22, [x8]
	ldr	x24, [x25, #8]
	mov	x0, x24
	bl	_dm_get_dev_t
	cbz	x0, LBB0_11
; %bb.9:
	cmp	x0, x22
	b.ne	LBB0_11
; %bb.10:
Lloh19:
	adrp	x8, l_.str.3@PAGE
Lloh20:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [x19]
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_45
LBB0_11:
	ldr	w0, [x19, #32]
	bl	_dm_table_get_mode
	mov	x2, x0
	add	x22, x20, #16
	mov	x0, x19
	mov	x1, x24
	mov	x3, x22
	bl	_dm_get_device
	cbz	w0, LBB0_13
; %bb.12:
	mov	x24, x0
Lloh24:
	adrp	x8, l_.str.4@PAGE
Lloh25:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [x19]
	b	LBB0_45
LBB0_13:
	add	x2, x25, #16
	sub	w1, w23, #2
	add	x23, x20, #24
	add	x4, sp, #12
	mov	x0, x19
	mov	x3, x20
	mov	x5, x23
	bl	_dm_exception_store_create
	cbz	w0, LBB0_15
; %bb.14:
Lloh26:
	adrp	x8, l_.str.5@PAGE
Lloh27:
	add	x8, x8, l_.str.5@PAGEOFF
	str	x8, [x19]
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_44
LBB0_15:
	stp	xzr, x19, [x20, #168]
	mov	w8, #1
	str	w8, [x20]
	add	x0, x20, #156
	str	xzr, [x20, #160]
	mov	w1, #0
	bl	_atomic_set
	add	x0, x20, #152
	bl	_spin_lock_init
	stp	xzr, xzr, [x20, #136]
Lloh31:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x20, #132]
	add	x0, x20, #128
	bl	_init_rwsem
	add	x0, x20, #124
	bl	_INIT_LIST_HEAD
	add	x0, x20, #120
	bl	_spin_lock_init
	add	x0, x20, #84
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #88]
	stur	q0, [x20, #104]
	bl	_bio_list_init
	mov	x0, x20
	bl	_init_hash_tables
	cbz	x0, LBB0_17
; %bb.16:
Lloh34:
	adrp	x8, l_.str.6@PAGE
Lloh35:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [x19]
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_43
LBB0_17:
	add	x0, x20, #80
	bl	_init_waitqueue_head
Lloh39:
	adrp	x0, _dm_kcopyd_throttle@GOTPAGE
Lloh40:
	ldr	x0, [x0, _dm_kcopyd_throttle@GOTPAGEOFF]
	bl	_dm_kcopyd_client_create
	str	w0, [x20, #40]
	bl	_IS_ERR
Lloh41:
	adrp	x27, _pending_cache@GOTPAGE
Lloh42:
	ldr	x27, [x27, _pending_cache@GOTPAGEOFF]
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w0, [x20, #40]
	bl	_PTR_ERR
	mov	x24, x0
Lloh43:
	adrp	x8, l_.str.7@PAGE
Lloh44:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x19]
	b	LBB0_42
LBB0_19:
	add	x25, x20, #44
Lloh45:
	adrp	x8, _MIN_IOS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MIN_IOS@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	ldr	w2, [x27]
	mov	x0, x25
	bl	_mempool_init_slab_pool
	cbz	w0, LBB0_21
; %bb.20:
	mov	x24, x0
Lloh48:
	adrp	x8, l_.str.8@PAGE
Lloh49:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [x19]
	b	LBB0_41
LBB0_21:
	str	x25, [sp]                       ; 8-byte Folded Spill
Lloh50:
	adrp	x24, _DM_TRACKED_CHUNK_HASH_SIZE@GOTPAGE
Lloh51:
	ldr	x24, [x24, _DM_TRACKED_CHUNK_HASH_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.22:
	mov	x28, #0
	mov	x25, #0
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #72]
	add	x0, x8, x28
	bl	_INIT_HLIST_HEAD
	add	x25, x25, #1
	ldrsw	x8, [x24]
	add	x28, x28, #4
	cmp	x25, x8
	b.lt	LBB0_23
LBB0_24:
	add	x0, x20, #64
	bl	_spin_lock_init
	str	x20, [x19, #24]
	str	w26, [x19, #8]
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_26
; %bb.25:
	ldr	x8, [x20, #48]
	cmp	x8, #0
	mov	w8, #1
	cinc	w8, w8, ne
	str	w8, [x19, #12]
LBB0_26:
	mov	w8, #4
	str	w8, [x19, #16]
	mov	x0, x20
	bl	_register_snapshot
	mov	x24, x0
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_28
; %bb.27:
Lloh55:
	adrp	x8, l_.str.9@PAGE
Lloh56:
	add	x8, x8, l_.str.9@PAGEOFF
	str	x8, [x19]
	b	LBB0_40
LBB0_28:
	tbnz	w24, #31, LBB0_40
; %bb.29:
	ldr	x0, [x23]
	cbz	w24, LBB0_31
; %bb.30:
	mov	w24, #0
	str	xzr, [x0]
	b	LBB0_47
LBB0_31:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh57:
	adrp	x9, _dm_add_exception@GOTPAGE
Lloh58:
	ldr	x9, [x9, _dm_add_exception@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x9]
	mov	x2, x20
	blr	x8
	mov	x24, x0
	tbnz	w0, #31, LBB0_36
; %bb.32:
	cbz	w24, LBB0_34
; %bb.33:
	str	wzr, [x20]
Lloh60:
	adrp	x0, l_.str.11@PAGE
Lloh61:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_DMWARN
LBB0_34:
	ldr	x8, [x23]
	ldr	x1, [x8]
	cbz	x1, LBB0_37
; %bb.35:
	mov	x0, x19
	bl	_dm_set_target_max_io_len
	mov	x24, x0
	cbnz	w0, LBB0_39
	b	LBB0_47
LBB0_36:
Lloh62:
	adrp	x8, l_.str.10@PAGE
Lloh63:
	add	x8, x8, l_.str.10@PAGEOFF
	b	LBB0_38
LBB0_37:
Lloh64:
	adrp	x8, l_.str.12@PAGE
Lloh65:
	add	x8, x8, l_.str.12@PAGEOFF
LBB0_38:
	str	x8, [x19]
LBB0_39:
	mov	x0, x20
	bl	_unregister_snapshot
LBB0_40:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_mempool_exit
LBB0_41:
	ldr	w0, [x20, #40]
	bl	_dm_kcopyd_client_destroy
LBB0_42:
	add	x0, x20, #36
	ldr	w1, [x27]
	bl	_dm_exception_table_exit
	add	x0, x20, #32
Lloh66:
	adrp	x8, _exception_cache@GOTPAGE
Lloh67:
	ldr	x8, [x8, _exception_cache@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	bl	_dm_exception_table_exit
LBB0_43:
	ldr	x0, [x23]
	bl	_dm_exception_store_destroy
LBB0_44:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_dm_put_device
LBB0_45:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_dm_put_device
LBB0_46:
	mov	x0, x20
	bl	_kfree
LBB0_47:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FMODE_READ,4,2                 ; @FMODE_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"requires 4 or more arguments"

	.comm	_FMODE_WRITE,4,2                ; @FMODE_WRITE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Cannot allocate private snapshot structure"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Cannot get origin device"

l_.str.3:                               ; @.str.3
	.asciz	"COW device cannot be the same as origin device"

l_.str.4:                               ; @.str.4
	.asciz	"Cannot get COW device"

l_.str.5:                               ; @.str.5
	.asciz	"Couldn't create exception store"

	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
l_.str.6:                               ; @.str.6
	.asciz	"Unable to allocate hash table space"

	.comm	_dm_kcopyd_throttle,4,2         ; @dm_kcopyd_throttle
l_.str.7:                               ; @.str.7
	.asciz	"Could not create kcopyd client"

	.comm	_MIN_IOS,4,2                    ; @MIN_IOS
	.comm	_pending_cache,4,2              ; @pending_cache
l_.str.8:                               ; @.str.8
	.asciz	"Could not allocate mempool for pending exceptions"

	.comm	_DM_TRACKED_CHUNK_HASH_SIZE,4,2 ; @DM_TRACKED_CHUNK_HASH_SIZE
l_.str.9:                               ; @.str.9
	.asciz	"Snapshot origin struct allocation failed"

	.comm	_dm_add_exception,4,2           ; @dm_add_exception
l_.str.10:                              ; @.str.10
	.asciz	"Failed to read snapshot metadata"

l_.str.11:                              ; @.str.11
	.asciz	"Snapshot is marked invalid."

l_.str.12:                              ; @.str.12
	.asciz	"Chunk size not set"

	.comm	_exception_cache,4,2            ; @exception_cache
	.no_dead_strip	_snapshot_ctr
.subsections_via_symbols
