	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdev_set_badblocks             ## -- Begin function rdev_set_badblocks
	.p2align	4, 0x90
_rdev_set_badblocks:                    ## @rdev_set_badblocks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	addl	16(%rdi,%rax,8), %esi
	addq	$12, %rdi
	xorl	%ecx, %ecx
	callq	_md_set_badblocks
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_sysfs_notify_dirent_safe
	movq	_MD_CHANGE_CLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	$4, %rsi
	callq	_set_bit
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_md_wakeup_thread
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MD_CHANGE_CLEAN,4,2            ## @MD_CHANGE_CLEAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdev_set_badblocks             ; -- Begin function rdev_set_badblocks
	.p2align	2
_rdev_set_badblocks:                    ; @rdev_set_badblocks
	.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
	cmp	w3, #0
	mov	w8, #24
	mov	w9, #16
	csel	x8, x9, x8, eq
	ldr	w8, [x0, x8]
	add	w1, w8, w1
	add	x0, x0, #12
	mov	w3, #0
	bl	_md_set_badblocks
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_sysfs_notify_dirent_safe
Lloh0:
	adrp	x8, _MD_CHANGE_CLEAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MD_CHANGE_CLEAN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19]
	add	x1, x8, #4
	bl	_set_bit
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_md_wakeup_thread
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MD_CHANGE_CLEAN,4,2            ; @MD_CHANGE_CLEAN
.subsections_via_symbols
