	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __md_stop
___md_stop:                             ## @__md_stop
	.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	%rdi, %rbx
	movq	32(%rdi), %r15
	callq	_md_bitmap_destroy
	movq	%rbx, %rdi
	callq	_mddev_detach
	movq	_md_misc_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_flush_workqueue
	leaq	24(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	$0, 32(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	callq	*16(%r15)
	movq	$0, 16(%rbx)
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	_md_redundancy_group@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
LBB0_3:
	movl	(%r15), %edi
	callq	_module_put
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_md_misc_wq,4,2                 ## @md_misc_wq
	.comm	_md_redundancy_group,4,2        ## @md_redundancy_group
	.comm	_MD_RECOVERY_FROZEN,4,2         ## @MD_RECOVERY_FROZEN
	.no_dead_strip	___md_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __md_stop
___md_stop:                             ; @__md_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	x21, [x0, #32]
	bl	_md_bitmap_destroy
	mov	x0, x19
	bl	_mddev_detach
Lloh0:
	adrp	x8, _md_misc_wq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _md_misc_wq@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_flush_workqueue
	add	x20, x19, #24
	mov	x0, x20
	bl	_spin_lock
	str	xzr, [x19, #32]
	mov	x0, x20
	bl	_spin_unlock
	ldr	x8, [x21, #16]
	ldr	x1, [x19, #16]
	mov	x0, x19
	blr	x8
	str	xzr, [x19, #16]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _md_redundancy_group@GOTPAGE
Lloh4:
	ldr	x8, [x8, _md_redundancy_group@GOTPAGEOFF]
	str	x8, [x19, #8]
LBB0_3:
	ldr	w0, [x21]
	bl	_module_put
Lloh5:
	adrp	x8, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_clear_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_md_misc_wq,4,2                 ; @md_misc_wq
	.comm	_md_redundancy_group,4,2        ; @md_redundancy_group
	.comm	_MD_RECOVERY_FROZEN,4,2         ; @MD_RECOVERY_FROZEN
	.no_dead_strip	___md_stop
.subsections_via_symbols
