	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function state_store
_state_store:                           ## @state_store
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_EINVAL@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	subl	(%r13), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	16(%r15), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_7
## %bb.2:
	movq	%r15, %rsi
	callq	_md_error
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	16(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.9:
	movq	_Blocked@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_clear_bit
	movq	16(%r15), %rdi
	movq	%r15, %rsi
	callq	_remove_and_add_spares
LBB0_10:
	cmpl	$0, (%r15)
	js	LBB0_11
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_16
LBB0_5:
	movl	%ebx, %r14d
	jmp	LBB0_6
LBB0_17:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_WriteMostly@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_set_bit
	movq	16(%r15), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_mddev_create_wb_pool
	jmp	LBB0_16
LBB0_11:
	movq	16(%r15), %r12
	movq	%r12, %rdi
	callq	_mddev_is_clustered
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_md_cluster_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
LBB0_13:
	movq	%r15, %rdi
	callq	_md_kick_rdev_from_array
	cmpq	$0, 8(%r12)
	je	LBB0_15
## %bb.14:
	movq	_MD_SB_CHANGE_DEVS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r12), %rsi
	callq	_set_bit
	movl	16(%r12), %edi
	callq	_md_wakeup_thread
LBB0_15:
	movq	%r12, %rdi
	callq	_md_new_event
	jmp	LBB0_16
LBB0_19:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	16(%r15), %rdi
	movq	%r15, %rsi
	callq	_mddev_destroy_wb_pool
	movq	_WriteMostly@GOTPCREL(%rip), %rax
LBB0_37:
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_clear_bit
	jmp	LBB0_16
LBB0_21:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	movq	_Blocked@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_set_bit
	jmp	LBB0_16
LBB0_24:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_30
## %bb.25:
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_29
## %bb.26:
	movq	_ExternalBbl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_29
## %bb.27:
	cmpq	$0, 32(%r15)
	je	LBB0_29
## %bb.28:
	movq	16(%r15), %rdi
	movq	%r15, %rsi
	callq	_md_error
LBB0_29:
	movq	_Blocked@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_BlockedBadBlocks@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	leaq	40(%r15), %rdi
	callq	_wake_up
LBB0_52:
	movq	_MD_RECOVERY_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rsi
	addq	$20, %rsi
	callq	_set_bit
	movq	16(%r15), %rax
	movl	16(%rax), %edi
	callq	_md_wakeup_thread
LBB0_16:
	movl	8(%r15), %edi
	callq	_sysfs_notify_dirent_safe
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_33
## %bb.31:
	cmpl	$-1, (%r15)
	je	LBB0_32
LBB0_33:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:
	movq	_FailFast@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_35:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_38
## %bb.36:
	movq	_FailFast@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_32:
	movq	_In_sync@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_38:
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_43
## %bb.39:
	cmpl	$0, (%r15)
	js	LBB0_43
## %bb.40:
	movq	_Journal@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_41
LBB0_43:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	movq	_WriteErrorSeen@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_45:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movq	_WriteErrorSeen@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_41:
	movq	16(%r15), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_4
## %bb.42:
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	movl	(%r15), %eax
	movl	%eax, 4(%r15)
	movl	$-1, (%r15)
	jmp	LBB0_16
LBB0_47:
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_53
## %bb.48:
	cmpl	$0, (%r15)
	js	LBB0_52
## %bb.49:
	movq	_Journal@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_52
## %bb.50:
	movq	_Replacement@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_52
## %bb.51:
	movq	_WantReplacement@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	jmp	LBB0_52
LBB0_53:
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_55
## %bb.54:
	movq	_WantReplacement@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_55:
	leaq	L_.str.14(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_58
## %bb.56:
	movq	16(%r15), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_3
## %bb.57:
	movq	_Replacement@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_58:
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_61
## %bb.59:
	movq	16(%r15), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_3
## %bb.60:
	movq	_Replacement@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_61:
	leaq	L_.str.16(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_70
## %bb.62:
	movq	16(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_63
## %bb.64:
	movq	_Faulty@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	12(%r15), %r12
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.65:
	cmpl	$-1, (%r15)
	jne	LBB0_3
## %bb.66:
	cmpl	$0, 4(%r15)
	js	LBB0_3
## %bb.67:
	movq	16(%r15), %rdi
	callq	_mddev_is_clustered
	testq	%rax, %rax
	je	LBB0_69
## %bb.68:
	movq	_md_cluster_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
LBB0_69:
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_clear_bit
	movq	%r15, %rdi
	callq	_add_bound_rdev
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_70:
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_73
## %bb.71:
	movq	16(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_73
## %bb.72:
	movq	_ExternalBbl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_set_bit
	movq	$0, 24(%r15)
	jmp	LBB0_16
LBB0_63:
	xorl	%ebx, %ebx
	subl	(%r13), %ebx
	jmp	LBB0_4
LBB0_73:
	leaq	L_.str.18(%rip), %rsi
	movq	%r12, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_4
## %bb.74:
	movq	16(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.75:
	movq	_ExternalBbl@GOTPCREL(%rip), %rax
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"faulty"

	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"remove"

	.comm	_Blocked,4,2                    ## @Blocked
	.comm	_md_cluster_ops,8,3             ## @md_cluster_ops
	.comm	_MD_SB_CHANGE_DEVS,4,2          ## @MD_SB_CHANGE_DEVS
L_.str.2:                               ## @.str.2
	.asciz	"writemostly"

	.comm	_WriteMostly,4,2                ## @WriteMostly
L_.str.3:                               ## @.str.3
	.asciz	"-writemostly"

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

L_.str.5:                               ## @.str.5
	.asciz	"-blocked"

	.comm	_ExternalBbl,4,2                ## @ExternalBbl
	.comm	_BlockedBadBlocks,4,2           ## @BlockedBadBlocks
	.comm	_MD_RECOVERY_NEEDED,4,2         ## @MD_RECOVERY_NEEDED
L_.str.6:                               ## @.str.6
	.asciz	"insync"

	.comm	_In_sync,4,2                    ## @In_sync
L_.str.7:                               ## @.str.7
	.asciz	"failfast"

	.comm	_FailFast,4,2                   ## @FailFast
L_.str.8:                               ## @.str.8
	.asciz	"-failfast"

L_.str.9:                               ## @.str.9
	.asciz	"-insync"

	.comm	_Journal,4,2                    ## @Journal
L_.str.10:                              ## @.str.10
	.asciz	"write_error"

	.comm	_WriteErrorSeen,4,2             ## @WriteErrorSeen
L_.str.11:                              ## @.str.11
	.asciz	"-write_error"

L_.str.12:                              ## @.str.12
	.asciz	"want_replacement"

	.comm	_Replacement,4,2                ## @Replacement
	.comm	_WantReplacement,4,2            ## @WantReplacement
L_.str.13:                              ## @.str.13
	.asciz	"-want_replacement"

L_.str.14:                              ## @.str.14
	.asciz	"replacement"

L_.str.15:                              ## @.str.15
	.asciz	"-replacement"

L_.str.16:                              ## @.str.16
	.asciz	"re-add"

L_.str.17:                              ## @.str.17
	.asciz	"external_bbl"

L_.str.18:                              ## @.str.18
	.asciz	"-external_bbl"

	.no_dead_strip	_state_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function state_store
_state_store:                           ; @state_store
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _EINVAL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EINVAL@GOTPAGEOFF]
	ldr	w22, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x20, #16]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x1, x20
	bl	_md_error
Lloh4:
	adrp	x8, _Faulty@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_test_bit
	cbnz	x0, LBB0_31
	b	LBB0_7
LBB0_3:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _Blocked@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Blocked@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_clear_bit
	ldr	x0, [x20, #16]
	mov	x1, x20
	bl	_remove_and_add_spares
LBB0_6:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_13
LBB0_7:
Lloh12:
	adrp	x8, _EBUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
LBB0_8:
	neg	w22, w8
LBB0_9:
	cbz	w22, LBB0_31
LBB0_10:
	mov	w19, w22
	b	LBB0_32
LBB0_11:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_18
; %bb.12:
Lloh17:
	adrp	x8, _WriteMostly@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WriteMostly@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_set_bit
	ldr	x0, [x20, #16]
	mov	x1, x20
	mov	w2, #0
	bl	_mddev_create_wb_pool
	b	LBB0_31
LBB0_13:
	ldr	x21, [x20, #16]
	mov	x0, x21
	bl	_mddev_is_clustered
	cbz	x0, LBB0_15
; %bb.14:
Lloh20:
	adrp	x8, _md_cluster_ops@GOTPAGE
Lloh21:
	ldr	x8, [x8, _md_cluster_ops@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_10
LBB0_15:
	mov	x0, x20
	bl	_md_kick_rdev_from_array
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_17
; %bb.16:
Lloh23:
	adrp	x8, _MD_SB_CHANGE_DEVS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MD_SB_CHANGE_DEVS@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	add	x1, x21, #24
	bl	_set_bit
	ldr	w0, [x21, #16]
	bl	_md_wakeup_thread
LBB0_17:
	mov	x0, x21
	bl	_md_new_event
	b	LBB0_31
LBB0_18:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_21
; %bb.19:
	ldr	x0, [x20, #16]
	mov	x1, x20
	bl	_mddev_destroy_wb_pool
Lloh28:
	adrp	x8, _WriteMostly@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WriteMostly@GOTPAGEOFF]
LBB0_20:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_clear_bit
	b	LBB0_31
LBB0_21:
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_24
; %bb.22:
Lloh32:
	adrp	x8, _Blocked@GOTPAGE
Lloh33:
	ldr	x8, [x8, _Blocked@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_set_bit
	b	LBB0_31
LBB0_24:
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_33
; %bb.25:
Lloh36:
	adrp	x8, _Faulty@GOTPAGE
Lloh37:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	add	x21, x20, #12
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_29
; %bb.26:
Lloh39:
	adrp	x8, _ExternalBbl@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ExternalBbl@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_29
; %bb.27:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_29
; %bb.28:
	ldr	x0, [x20, #16]
	mov	x1, x20
	bl	_md_error
LBB0_29:
Lloh42:
	adrp	x8, _Blocked@GOTPAGE
Lloh43:
	ldr	x8, [x8, _Blocked@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
Lloh45:
	adrp	x8, _BlockedBadBlocks@GOTPAGE
Lloh46:
	ldr	x8, [x8, _BlockedBadBlocks@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
	add	x0, x20, #40
	bl	_wake_up
LBB0_30:
Lloh48:
	adrp	x8, _MD_RECOVERY_NEEDED@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MD_RECOVERY_NEEDED@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	x8, [x20, #16]
	add	x1, x8, #20
	bl	_set_bit
	ldr	x8, [x20, #16]
	ldr	w0, [x8, #16]
	bl	_md_wakeup_thread
LBB0_31:
	ldr	w0, [x20, #8]
	bl	_sysfs_notify_dirent_safe
LBB0_32:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_33:
Lloh51:
	adrp	x1, l_.str.6@PAGE
Lloh52:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_35
; %bb.34:
	ldr	w8, [x20]
	cmn	w8, #1
	b.eq	LBB0_39
LBB0_35:
Lloh53:
	adrp	x1, l_.str.7@PAGE
Lloh54:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_37
; %bb.36:
Lloh55:
	adrp	x8, _FailFast@GOTPAGE
Lloh56:
	ldr	x8, [x8, _FailFast@GOTPAGEOFF]
	b	LBB0_23
LBB0_37:
Lloh57:
	adrp	x1, l_.str.8@PAGE
Lloh58:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_40
; %bb.38:
Lloh59:
	adrp	x8, _FailFast@GOTPAGE
Lloh60:
	ldr	x8, [x8, _FailFast@GOTPAGEOFF]
	b	LBB0_20
LBB0_39:
Lloh61:
	adrp	x8, _In_sync@GOTPAGE
Lloh62:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
	b	LBB0_23
LBB0_40:
	neg	w22, w22
Lloh63:
	adrp	x1, l_.str.9@PAGE
Lloh64:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_43
; %bb.41:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_43
; %bb.42:
Lloh65:
	adrp	x8, _Journal@GOTPAGE
Lloh66:
	ldr	x8, [x8, _Journal@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	add	x23, x20, #12
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_47
LBB0_43:
Lloh68:
	adrp	x1, l_.str.10@PAGE
Lloh69:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_45
; %bb.44:
Lloh70:
	adrp	x8, _WriteErrorSeen@GOTPAGE
Lloh71:
	ldr	x8, [x8, _WriteErrorSeen@GOTPAGEOFF]
	b	LBB0_23
LBB0_45:
Lloh72:
	adrp	x1, l_.str.11@PAGE
Lloh73:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_49
; %bb.46:
Lloh74:
	adrp	x8, _WriteErrorSeen@GOTPAGE
Lloh75:
	ldr	x8, [x8, _WriteErrorSeen@GOTPAGEOFF]
	b	LBB0_20
LBB0_47:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_9
; %bb.48:
Lloh76:
	adrp	x8, _In_sync@GOTPAGE
Lloh77:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_clear_bit
	ldr	w8, [x20]
	mov	w9, #-1
	stp	w9, w8, [x20]
	b	LBB0_31
LBB0_49:
Lloh79:
	adrp	x1, l_.str.12@PAGE
Lloh80:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_54
; %bb.50:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_30
; %bb.51:
Lloh81:
	adrp	x8, _Journal@GOTPAGE
Lloh82:
	ldr	x8, [x8, _Journal@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	add	x21, x20, #12
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_30
; %bb.52:
Lloh84:
	adrp	x8, _Replacement@GOTPAGE
Lloh85:
	ldr	x8, [x8, _Replacement@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_30
; %bb.53:
Lloh87:
	adrp	x8, _WantReplacement@GOTPAGE
Lloh88:
	ldr	x8, [x8, _WantReplacement@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	b	LBB0_30
LBB0_54:
Lloh90:
	adrp	x1, l_.str.13@PAGE
Lloh91:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_56
; %bb.55:
Lloh92:
	adrp	x8, _WantReplacement@GOTPAGE
Lloh93:
	ldr	x8, [x8, _WantReplacement@GOTPAGEOFF]
	b	LBB0_20
LBB0_56:
Lloh94:
	adrp	x1, l_.str.14@PAGE
Lloh95:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_59
; %bb.57:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_7
; %bb.58:
Lloh96:
	adrp	x8, _Replacement@GOTPAGE
Lloh97:
	ldr	x8, [x8, _Replacement@GOTPAGEOFF]
	b	LBB0_23
LBB0_59:
Lloh98:
	adrp	x1, l_.str.15@PAGE
Lloh99:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_62
; %bb.60:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_7
; %bb.61:
Lloh100:
	adrp	x8, _Replacement@GOTPAGE
Lloh101:
	ldr	x8, [x8, _Replacement@GOTPAGEOFF]
	b	LBB0_20
LBB0_62:
Lloh102:
	adrp	x1, l_.str.16@PAGE
Lloh103:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_70
; %bb.63:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_73
; %bb.64:
Lloh104:
	adrp	x23, _Faulty@GOTPAGE
Lloh105:
	ldr	x23, [x23, _Faulty@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x21, x20, #12
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.65:
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_7
; %bb.66:
	ldr	w8, [x20, #4]
	tbnz	w8, #31, LBB0_7
; %bb.67:
	ldr	x0, [x20, #16]
	bl	_mddev_is_clustered
	cbz	x0, LBB0_69
; %bb.68:
Lloh106:
	adrp	x8, _md_cluster_ops@GOTPAGE
Lloh107:
	ldr	x8, [x8, _md_cluster_ops@GOTPAGEOFF]
Lloh108:
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_10
LBB0_69:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_clear_bit
	mov	x0, x20
	bl	_add_bound_rdev
	mov	x22, x0
	b	LBB0_9
LBB0_70:
Lloh109:
	adrp	x1, l_.str.17@PAGE
Lloh110:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_74
; %bb.71:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_74
; %bb.72:
Lloh111:
	adrp	x8, _ExternalBbl@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ExternalBbl@GOTPAGEOFF]
Lloh113:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_set_bit
	str	xzr, [x20, #24]
	b	LBB0_31
LBB0_73:
	ldr	w8, [x24]
	b	LBB0_8
LBB0_74:
Lloh114:
	adrp	x1, l_.str.18@PAGE
Lloh115:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x21
	bl	_cmd_match
	cbz	x0, LBB0_9
; %bb.75:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.76:
Lloh116:
	adrp	x8, _ExternalBbl@GOTPAGE
Lloh117:
	ldr	x8, [x8, _ExternalBbl@GOTPAGEOFF]
	b	LBB0_20
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh116, Lloh117
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"faulty"

	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"remove"

	.comm	_Blocked,4,2                    ; @Blocked
	.comm	_md_cluster_ops,8,3             ; @md_cluster_ops
	.comm	_MD_SB_CHANGE_DEVS,4,2          ; @MD_SB_CHANGE_DEVS
l_.str.2:                               ; @.str.2
	.asciz	"writemostly"

	.comm	_WriteMostly,4,2                ; @WriteMostly
l_.str.3:                               ; @.str.3
	.asciz	"-writemostly"

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

l_.str.5:                               ; @.str.5
	.asciz	"-blocked"

	.comm	_ExternalBbl,4,2                ; @ExternalBbl
	.comm	_BlockedBadBlocks,4,2           ; @BlockedBadBlocks
	.comm	_MD_RECOVERY_NEEDED,4,2         ; @MD_RECOVERY_NEEDED
l_.str.6:                               ; @.str.6
	.asciz	"insync"

	.comm	_In_sync,4,2                    ; @In_sync
l_.str.7:                               ; @.str.7
	.asciz	"failfast"

	.comm	_FailFast,4,2                   ; @FailFast
l_.str.8:                               ; @.str.8
	.asciz	"-failfast"

l_.str.9:                               ; @.str.9
	.asciz	"-insync"

	.comm	_Journal,4,2                    ; @Journal
l_.str.10:                              ; @.str.10
	.asciz	"write_error"

	.comm	_WriteErrorSeen,4,2             ; @WriteErrorSeen
l_.str.11:                              ; @.str.11
	.asciz	"-write_error"

l_.str.12:                              ; @.str.12
	.asciz	"want_replacement"

	.comm	_Replacement,4,2                ; @Replacement
	.comm	_WantReplacement,4,2            ; @WantReplacement
l_.str.13:                              ; @.str.13
	.asciz	"-want_replacement"

l_.str.14:                              ; @.str.14
	.asciz	"replacement"

l_.str.15:                              ; @.str.15
	.asciz	"-replacement"

l_.str.16:                              ; @.str.16
	.asciz	"re-add"

l_.str.17:                              ; @.str.17
	.asciz	"external_bbl"

l_.str.18:                              ; @.str.18
	.asciz	"-external_bbl"

	.no_dead_strip	_state_store
.subsections_via_symbols
