	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_store
_action_store:                          ## @action_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	40(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$0, 8(%rax)
	je	LBB0_2
## %bb.4:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	leaq	16(%r12), %rbx
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	callq	_set_bit
	jmp	LBB0_9
LBB0_8:
	callq	_clear_bit
LBB0_9:
	movq	_MD_RECOVERY_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_33
## %bb.10:
	movq	%r12, %rdi
	callq	_mddev_lock
	testl	%eax, %eax
	jne	LBB0_33
## %bb.11:
	movq	_md_misc_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_flush_workqueue
	cmpq	$0, 24(%r12)
	je	LBB0_13
## %bb.12:
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	%r12, %rdi
	callq	_md_reap_sync_thread
LBB0_13:
	movq	%r12, %rdi
	callq	_mddev_unlock
LBB0_33:
	cmpl	$2, (%r12)
	jne	LBB0_35
## %bb.34:
	movl	$0, (%r12)
	movq	24(%r12), %rdi
	callq	_md_wakeup_thread
LBB0_35:
	movq	_MD_RECOVERY_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r12), %rsi
	callq	_set_bit
	movq	8(%r12), %rdi
	callq	_md_wakeup_thread
	movl	4(%r12), %edi
	callq	_sysfs_notify_dirent_safe
	movl	%r14d, %ebx
	jmp	LBB0_36
LBB0_14:
	movq	_MD_RECOVERY_RUNNING@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	16(%r12), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	jmp	LBB0_33
LBB0_18:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	_MD_RECOVERY_RECOVER@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	jmp	LBB0_33
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_28
## %bb.21:
	movq	40(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.22:
	movq	%r12, %rdi
	callq	_mddev_lock
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_36
## %bb.23:
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_26
LBB0_28:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	_MD_RECOVERY_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	jmp	LBB0_31
LBB0_30:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmd_match
	testq	%rax, %rax
	je	LBB0_2
LBB0_31:
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	_MD_RECOVERY_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	_MD_RECOVERY_SYNC@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_36:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	40(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
	movl	%eax, %ebx
LBB0_26:
	movq	%r12, %rdi
	callq	_mddev_unlock
	testl	%ebx, %ebx
	jne	LBB0_36
## %bb.27:
	leaq	32(%r12), %rdi
	leaq	L_.str.5(%rip), %rdx
	xorl	%esi, %esi
	callq	_sysfs_notify
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"idle"

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

	.comm	_MD_RECOVERY_FROZEN,4,2         ## @MD_RECOVERY_FROZEN
	.comm	_MD_RECOVERY_RUNNING,4,2        ## @MD_RECOVERY_RUNNING
	.comm	_md_misc_wq,4,2                 ## @md_misc_wq
	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.2:                               ## @.str.2
	.asciz	"resync"

L_.str.3:                               ## @.str.3
	.asciz	"recover"

	.comm	_MD_RECOVERY_RECOVER,4,2        ## @MD_RECOVERY_RECOVER
L_.str.4:                               ## @.str.4
	.asciz	"reshape"

L_.str.5:                               ## @.str.5
	.asciz	"degraded"

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

	.comm	_MD_RECOVERY_CHECK,4,2          ## @MD_RECOVERY_CHECK
L_.str.7:                               ## @.str.7
	.asciz	"repair"

	.comm	_MD_RECOVERY_REQUESTED,4,2      ## @MD_RECOVERY_REQUESTED
	.comm	_MD_RECOVERY_SYNC,4,2           ## @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_NEEDED,4,2         ## @MD_RECOVERY_NEEDED
	.no_dead_strip	_action_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_store
_action_store:                          ; @action_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
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_31
; %bb.1:
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_31
; %bb.2:
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	cbz	x0, LBB0_15
LBB0_4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	mov	x8, x0
Lloh6:
	adrp	x9, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	add	x21, x20, #16
	mov	x1, x21
	cbz	x8, LBB0_6
; %bb.5:
	bl	_set_bit
	b	LBB0_7
LBB0_6:
	bl	_clear_bit
LBB0_7:
Lloh9:
	adrp	x8, _MD_RECOVERY_RUNNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MD_RECOVERY_RUNNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_12
; %bb.8:
	mov	x0, x20
	bl	_mddev_lock
	cbnz	w0, LBB0_12
; %bb.9:
Lloh12:
	adrp	x8, _md_misc_wq@GOTPAGE
Lloh13:
	ldr	x8, [x8, _md_misc_wq@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_flush_workqueue
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_11
; %bb.10:
Lloh15:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	mov	x0, x20
	bl	_md_reap_sync_thread
LBB0_11:
	mov	x0, x20
	bl	_mddev_unlock
LBB0_12:
	ldr	w8, [x20]
	cmp	w8, #2
	b.ne	LBB0_14
; %bb.13:
	str	wzr, [x20]
	ldr	x0, [x20, #24]
	bl	_md_wakeup_thread
LBB0_14:
Lloh18:
	adrp	x8, _MD_RECOVERY_NEEDED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MD_RECOVERY_NEEDED@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	add	x1, x20, #16
	bl	_set_bit
	ldr	x0, [x20, #8]
	bl	_md_wakeup_thread
	ldr	w0, [x20, #4]
	bl	_sysfs_notify_dirent_safe
	mov	x22, x19
	b	LBB0_33
LBB0_15:
Lloh21:
	adrp	x23, _MD_RECOVERY_RUNNING@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MD_RECOVERY_RUNNING@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x21, x20, #16
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_17
; %bb.16:
Lloh23:
	adrp	x8, _EBUSY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_32
LBB0_17:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	cbz	x0, LBB0_19
; %bb.18:
Lloh27:
	adrp	x8, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
	b	LBB0_12
LBB0_19:
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	cbz	x0, LBB0_22
; %bb.20:
Lloh32:
	adrp	x8, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
Lloh35:
	adrp	x8, _MD_RECOVERY_RECOVER@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MD_RECOVERY_RECOVER@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	b	LBB0_12
LBB0_22:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	cbz	x0, LBB0_27
; %bb.23:
	ldr	x8, [x20, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_31
; %bb.24:
	mov	x0, x20
	bl	_mddev_lock
	mov	x22, x0
	cbnz	w0, LBB0_33
; %bb.25:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_34
; %bb.26:
Lloh39:
	adrp	x8, _EBUSY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_35
LBB0_27:
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	cbz	x0, LBB0_29
; %bb.28:
Lloh44:
	adrp	x8, _MD_RECOVERY_CHECK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MD_RECOVERY_CHECK@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	b	LBB0_30
LBB0_29:
Lloh47:
	adrp	x1, l_.str.7@PAGE
Lloh48:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_cmd_match
	cbz	x0, LBB0_31
LBB0_30:
Lloh49:
	adrp	x8, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
Lloh52:
	adrp	x8, _MD_RECOVERY_REQUESTED@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MD_RECOVERY_REQUESTED@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
Lloh55:
	adrp	x8, _MD_RECOVERY_SYNC@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MD_RECOVERY_SYNC@GOTPAGEOFF]
	b	LBB0_21
LBB0_31:
Lloh57:
	adrp	x8, _EINVAL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_32:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_33:
	mov	x0, x22
	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_34:
Lloh59:
	adrp	x8, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
	ldr	x8, [x20, #40]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x22, x0
LBB0_35:
	mov	x0, x20
	bl	_mddev_unlock
	cbnz	w22, LBB0_33
; %bb.36:
	add	x0, x20, #32
Lloh62:
	adrp	x2, l_.str.5@PAGE
Lloh63:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, #0
	bl	_sysfs_notify
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"idle"

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

	.comm	_MD_RECOVERY_FROZEN,4,2         ; @MD_RECOVERY_FROZEN
	.comm	_MD_RECOVERY_RUNNING,4,2        ; @MD_RECOVERY_RUNNING
	.comm	_md_misc_wq,4,2                 ; @md_misc_wq
	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.2:                               ; @.str.2
	.asciz	"resync"

l_.str.3:                               ; @.str.3
	.asciz	"recover"

	.comm	_MD_RECOVERY_RECOVER,4,2        ; @MD_RECOVERY_RECOVER
l_.str.4:                               ; @.str.4
	.asciz	"reshape"

l_.str.5:                               ; @.str.5
	.asciz	"degraded"

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

	.comm	_MD_RECOVERY_CHECK,4,2          ; @MD_RECOVERY_CHECK
l_.str.7:                               ; @.str.7
	.asciz	"repair"

	.comm	_MD_RECOVERY_REQUESTED,4,2      ; @MD_RECOVERY_REQUESTED
	.comm	_MD_RECOVERY_SYNC,4,2           ; @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_NEEDED,4,2         ; @MD_RECOVERY_NEEDED
	.no_dead_strip	_action_store
.subsections_via_symbols
