	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dust_message
_dust_message:                          ## @dust_message
	.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, %r15
	movl	%esi, %r13d
	movq	(%rdi), %r14
	movq	24(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_i_size_read
	movq	%rax, %rbx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	cmpl	$2, %r13d
	je	LBB0_15
## %bb.1:
	cmpl	$1, %r13d
	jne	LBB0_24
## %bb.2:
	movq	(%r15), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_28
## %bb.13:
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_25
## %bb.14:
	xorl	%eax, %eax
	cmpl	$0, 4(%r14)
	sete	%al
	movl	%eax, 4(%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_27
LBB0_15:
	movq	8(%r15), %rdi
	leaq	L_.str.12(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-41(%rbp), %rcx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_27
## %bb.16:
	movq	-56(%rbp), %r13
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_sector_div
	cmpq	%rbx, %r13
	jbe	LBB0_18
## %bb.17:
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMERR
	jmp	LBB0_27
LBB0_24:
	leaq	L_.str.14(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_DMERR
	jmp	LBB0_27
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
LBB0_26:
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_DMERR
LBB0_27:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	(%r15), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_23
LBB0_25:
	leaq	L_.str.15(%rip), %rdi
	jmp	LBB0_26
LBB0_19:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_dust_add_block
	movl	%eax, %r12d
	jmp	LBB0_27
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_DMINFO
	movl	$0, (%r14)
	jmp	LBB0_27
LBB0_21:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_dust_remove_block
	movl	%eax, %r12d
	jmp	LBB0_27
LBB0_9:
	leaq	L_.str.7(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_DMINFO
	movl	$1, (%r14)
	jmp	LBB0_27
LBB0_11:
	leaq	12(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	16(%r14), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_DMINFO
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_27
LBB0_23:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_dust_query_block
	movl	%eax, %r12d
	jmp	LBB0_27
LBB0_28:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dust_clear_badblocks           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,8,3               ## @SECTOR_SHIFT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"addbadblock"

L_.str.1:                               ## @.str.1
	.asciz	"removebadblock"

L_.str.2:                               ## @.str.2
	.asciz	"queryblock"

L_.str.3:                               ## @.str.3
	.asciz	"%s requires an additional argument"

L_.str.4:                               ## @.str.4
	.asciz	"disable"

L_.str.5:                               ## @.str.5
	.asciz	"disabling read failures on bad sectors"

L_.str.6:                               ## @.str.6
	.asciz	"enable"

L_.str.7:                               ## @.str.7
	.asciz	"enabling read failures on bad sectors"

L_.str.8:                               ## @.str.8
	.asciz	"countbadblocks"

L_.str.9:                               ## @.str.9
	.asciz	"countbadblocks: %llu badblock(s) found"

L_.str.10:                              ## @.str.10
	.asciz	"clearbadblocks"

L_.str.11:                              ## @.str.11
	.asciz	"quiet"

L_.str.12:                              ## @.str.12
	.asciz	"%llu%c"

L_.str.13:                              ## @.str.13
	.asciz	"selected block value out of range"

L_.str.14:                              ## @.str.14
	.asciz	"invalid number of arguments '%d'"

L_.str.15:                              ## @.str.15
	.asciz	"unrecognized message '%s' received"

	.no_dead_strip	_dust_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dust_message
_dust_message:                          ; @dust_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x22, x1
	ldr	x20, [x0]
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_i_size_read
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	cmp	w22, #2
	b.eq	LBB0_11
; %bb.1:
	cmp	w22, #1
	b.ne	LBB0_14
; %bb.2:
	ldr	x21, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_15
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_15
; %bb.4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_15
; %bb.5:
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_23
; %bb.6:
Lloh11:
	adrp	x1, l_.str.6@PAGE
Lloh12:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_25
; %bb.7:
Lloh13:
	adrp	x1, l_.str.8@PAGE
Lloh14:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_26
; %bb.8:
Lloh15:
	adrp	x1, l_.str.10@PAGE
Lloh16:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_28
; %bb.9:
Lloh17:
	adrp	x1, l_.str.11@PAGE
Lloh18:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbnz	w0, LBB0_21
; %bb.10:
	mov	w19, #0
	ldr	w8, [x20, #4]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x20, #4]
	b	LBB0_17
LBB0_11:
	mov	x23, x0
Lloh19:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	x22, [x8]
	ldr	x0, [x21, #8]
Lloh22:
	adrp	x1, l_.str.12@PAGE
Lloh23:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x2, sp, #24
	add	x3, sp, #23
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_17
; %bb.12:
	lsr	x23, x23, x22
	ldr	x22, [sp, #24]
	ldr	w1, [x20, #8]
	mov	x0, x23
	bl	_sector_div
	cmp	x22, x23
	b.ls	LBB0_18
; %bb.13:
Lloh24:
	adrp	x0, l_.str.13@PAGE
Lloh25:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_16
LBB0_14:
	str	x22, [sp]
Lloh26:
	adrp	x0, l_.str.14@PAGE
Lloh27:
	add	x0, x0, l_.str.14@PAGEOFF
	b	LBB0_16
LBB0_15:
	str	x21, [sp]
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_16:
	bl	_DMERR
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
	ldr	x21, [x21]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_22
; %bb.19:
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_24
; %bb.20:
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_27
LBB0_21:
	str	x21, [sp]
Lloh36:
	adrp	x0, l_.str.15@PAGE
Lloh37:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_16
LBB0_22:
	mov	x0, x20
	mov	x1, x22
	bl	_dust_add_block
	mov	x19, x0
	b	LBB0_17
LBB0_23:
Lloh38:
	adrp	x0, l_.str.5@PAGE
Lloh39:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DMINFO
	mov	w19, #0
	str	wzr, [x20]
	b	LBB0_17
LBB0_24:
	mov	x0, x20
	mov	x1, x22
	bl	_dust_remove_block
	mov	x19, x0
	b	LBB0_17
LBB0_25:
Lloh40:
	adrp	x0, l_.str.7@PAGE
Lloh41:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DMINFO
	mov	w19, #0
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_17
LBB0_26:
	add	x19, x20, #12
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #16]
	str	x8, [sp]
Lloh42:
	adrp	x0, l_.str.9@PAGE
Lloh43:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DMINFO
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w19, #0
	b	LBB0_17
LBB0_27:
	mov	x0, x20
	mov	x1, x22
	bl	_dust_query_block
	mov	x19, x0
	b	LBB0_17
LBB0_28:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_dust_clear_badblocks
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,8,3               ; @SECTOR_SHIFT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"addbadblock"

l_.str.1:                               ; @.str.1
	.asciz	"removebadblock"

l_.str.2:                               ; @.str.2
	.asciz	"queryblock"

l_.str.3:                               ; @.str.3
	.asciz	"%s requires an additional argument"

l_.str.4:                               ; @.str.4
	.asciz	"disable"

l_.str.5:                               ; @.str.5
	.asciz	"disabling read failures on bad sectors"

l_.str.6:                               ; @.str.6
	.asciz	"enable"

l_.str.7:                               ; @.str.7
	.asciz	"enabling read failures on bad sectors"

l_.str.8:                               ; @.str.8
	.asciz	"countbadblocks"

l_.str.9:                               ; @.str.9
	.asciz	"countbadblocks: %llu badblock(s) found"

l_.str.10:                              ; @.str.10
	.asciz	"clearbadblocks"

l_.str.11:                              ; @.str.11
	.asciz	"quiet"

l_.str.12:                              ; @.str.12
	.asciz	"%llu%c"

l_.str.13:                              ; @.str.13
	.asciz	"selected block value out of range"

l_.str.14:                              ; @.str.14
	.asciz	"invalid number of arguments '%d'"

l_.str.15:                              ; @.str.15
	.asciz	"unrecognized message '%s' received"

	.no_dead_strip	_dust_message
.subsections_via_symbols
