	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dust_ctr
_dust_ctr:                              ## @dust_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r13
	movl	28(%rdi), %edi
	movl	$2097152, %esi                  ## imm = 0x200000
	callq	_min
	cmpl	$3, %ebx
	jne	LBB0_1
## %bb.5:
	movq	%rax, %r15
	movq	16(%r14), %rdi
	leaq	-44(%rbp), %rdx
	movl	$10, %esi
	callq	_kstrtouint
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.8:
	cmpl	$511, %edi                      ## imm = 0x1FF
	ja	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	leaq	L_.str.1(%rip), %rax
LBB0_2:
	movq	%rax, (%r13)
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	_is_power_of_2
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movl	-44(%rbp), %edi
	callq	_to_sector
	cmpq	%r15, %rax
	jle	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_2
LBB0_14:
	movl	-44(%rbp), %r12d
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %r12d
	movq	8(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-45(%rbp), %rcx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_15
## %bb.16:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %r15
	movq	(%r14), %rbx
	movl	24(%r13), %edi
	callq	_dm_table_get_mode
	leaq	48(%r15), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_dm_get_device
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.8(%rip), %rax
	movq	%rax, (%r13)
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_3
LBB0_15:
	leaq	L_.str.6(%rip), %rax
	jmp	LBB0_2
LBB0_17:
	leaq	L_.str.7(%rip), %rax
	movq	%rax, (%r13)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_20:
	movl	%r12d, (%r15)
	movl	-44(%rbp), %eax
	movl	%eax, 4(%r15)
	movq	-56(%rbp), %rax
	movq	%rax, 8(%r15)
	movl	%r12d, %edi
	callq	___ffs
	movl	%eax, 44(%r15)
	movl	$0, 16(%r15)
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	$0, 32(%r15)
	movq	%r15, %rdi
	addq	$24, %rdi
	callq	_spin_lock_init
	movl	$0, 20(%r15)
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_dm_set_target_max_io_len
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BUG_ON
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%r13)
	movq	%r15, 16(%r13)
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid argument count"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Invalid block size parameter"

L_.str.2:                               ## @.str.2
	.asciz	"Block size must be at least 512"

L_.str.3:                               ## @.str.3
	.asciz	"Block size must be a power of 2"

L_.str.4:                               ## @.str.4
	.asciz	"Block size is too large"

	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
L_.str.5:                               ## @.str.5
	.asciz	"%llu%c"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid device offset sector"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.7:                               ## @.str.7
	.asciz	"Cannot allocate context"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.8:                               ## @.str.8
	.asciz	"Device lookup failed"

	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
	.no_dead_strip	_dust_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dust_ctr
_dust_ctr:                              ; @dust_ctr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #28]
	mov	w1, #2097152
	bl	_min
	cmp	w22, #3
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x0, [x20, #16]
	mov	x2, sp
	mov	w1, #10
	bl	_kstrtouint
	mov	x8, x0
	ldr	w0, [sp]
	cmp	x8, #0
	ccmp	w0, #0, #4, eq
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_3:
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_15
LBB0_4:
	cmp	w0, #511
	b.hi	LBB0_6
; %bb.5:
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_6:
	bl	_is_power_of_2
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w0, [sp]
	bl	_to_sector
	cmp	x0, x21
	b.le	LBB0_10
; %bb.8:
Lloh6:
	adrp	x8, l_.str.4@PAGE
Lloh7:
	add	x8, x8, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_9:
Lloh8:
	adrp	x8, l_.str.3@PAGE
Lloh9:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_10:
	ldr	w22, [sp]
Lloh10:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
	ldr	x0, [x20, #8]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #7
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.11:
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_19
; %bb.12:
	mov	x21, x0
	ldr	x20, [x20]
	ldr	w0, [x19, #24]
	bl	_dm_table_get_mode
	mov	x2, x0
	add	x3, x21, #48
	mov	x0, x19
	mov	x1, x20
	bl	_dm_get_device
	cbz	x0, LBB0_20
; %bb.13:
Lloh18:
	adrp	x8, l_.str.8@PAGE
Lloh19:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [x19]
	mov	x0, x21
	bl	_kfree
	b	LBB0_16
LBB0_14:
Lloh20:
	adrp	x8, l_.str.6@PAGE
Lloh21:
	add	x8, x8, l_.str.6@PAGEOFF
LBB0_15:
	str	x8, [x19]
LBB0_16:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
Lloh24:
	adrp	x8, l_.str.7@PAGE
Lloh25:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x19]
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_17
LBB0_20:
	lsr	w0, w22, w23
	str	w0, [x21]
	ldr	w8, [sp]
	str	w8, [x21, #4]
	ldr	x8, [sp, #8]
	str	x8, [x21, #8]
	bl	___ffs
Lloh28:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
	str	wzr, [x21, #16]
Lloh30:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #40]
	str	xzr, [x21, #32]
	add	x0, x21, #24
	bl	_spin_lock_init
	str	wzr, [x21, #20]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_dm_set_target_max_io_len
	cmp	x0, #0
	cset	w0, ne
	bl	_BUG_ON
	mov	w0, #0
	movi.2s	v0, #1
	str	d0, [x19, #8]
	str	x21, [x19, #16]
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid argument count"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Invalid block size parameter"

l_.str.2:                               ; @.str.2
	.asciz	"Block size must be at least 512"

l_.str.3:                               ; @.str.3
	.asciz	"Block size must be a power of 2"

l_.str.4:                               ; @.str.4
	.asciz	"Block size is too large"

	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
l_.str.5:                               ; @.str.5
	.asciz	"%llu%c"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid device offset sector"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.7:                               ; @.str.7
	.asciz	"Cannot allocate context"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.8:                               ; @.str.8
	.asciz	"Device lookup failed"

	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
	.no_dead_strip	_dust_ctr
.subsections_via_symbols
