	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid_message
_raid_message:                          ## @raid_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.4:
	movq	%rdx, %r12
	movq	(%rdx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	leaq	20(%r15), %r14
	movq	_MD_RECOVERY_FROZEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r14, %rsi
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	callq	_clear_bit
	jmp	LBB0_7
LBB0_5:
	callq	_set_bit
LBB0_7:
	movq	(%r12), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.19:
	movl	20(%r15), %esi
	movq	%r15, %rdi
	callq	_decipher_sync_action
	movq	_st_idle@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.21:
	movq	(%r12), %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.22:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_23
## %bb.25:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_28
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_9:
	cmpq	$0, 24(%r15)
	je	LBB0_11
## %bb.10:
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_md_reap_sync_thread
LBB0_11:
	cmpl	$2, (%r15)
	jne	LBB0_15
LBB0_12:
	movl	$0, (%r15)
	cmpl	$0, 16(%r15)
	jne	LBB0_15
## %bb.13:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_md_wakeup_thread
	jmp	LBB0_15
LBB0_20:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_23:
	movq	_MD_RECOVERY_RECOVER@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_26:
	movq	_MD_RECOVERY_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_28:
	movq	_MD_RECOVERY_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	_MD_RECOVERY_SYNC@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	cmpl	$2, (%r15)
	je	LBB0_12
LBB0_15:
	movq	_MD_RECOVERY_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	xorl	%ebx, %ebx
	cmpl	$0, 16(%r15)
	jne	LBB0_18
## %bb.16:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_md_wakeup_thread
LBB0_18:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"frozen"

	.comm	_MD_RECOVERY_FROZEN,4,2         ## @MD_RECOVERY_FROZEN
L_.str.1:                               ## @.str.1
	.asciz	"idle"

	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_st_idle,8,3                    ## @st_idle
	.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	"check"

	.comm	_MD_RECOVERY_CHECK,4,2          ## @MD_RECOVERY_CHECK
	.comm	_MD_RECOVERY_REQUESTED,4,2      ## @MD_RECOVERY_REQUESTED
	.comm	_MD_RECOVERY_SYNC,4,2           ## @MD_RECOVERY_SYNC
L_.str.5:                               ## @.str.5
	.asciz	"repair"

	.comm	_MD_RECOVERY_NEEDED,4,2         ## @MD_RECOVERY_NEEDED
	.no_dead_strip	_raid_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid_message
_raid_message:                          ; @raid_message
	.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
	ldr	x19, [x0]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_12
; %bb.1:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.2:
	mov	x21, x2
	ldr	x0, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	mov	x8, x0
Lloh2:
	adrp	x9, _MD_RECOVERY_FROZEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MD_RECOVERY_FROZEN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
	add	x20, x19, #20
	mov	x1, x20
	cbz	w8, LBB0_4
; %bb.3:
	bl	_clear_bit
	b	LBB0_5
LBB0_4:
	bl	_set_bit
LBB0_5:
	ldr	x22, [x21]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_14
; %bb.6:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_14
; %bb.7:
	ldr	w1, [x19, #20]
	mov	x0, x19
	bl	_decipher_sync_action
Lloh9:
	adrp	x8, _st_idle@GOTPAGE
Lloh10:
	ldr	x8, [x8, _st_idle@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.8:
	ldr	x21, [x21]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_16
; %bb.9:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_26
; %bb.10:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_27
; %bb.11:
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_28
LBB0_12:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_24
LBB0_14:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_16
; %bb.15:
Lloh22:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	mov	x0, x19
	bl	_md_reap_sync_thread
LBB0_16:
	ldr	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_20
; %bb.17:
	str	wzr, [x19]
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_20
; %bb.18:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_md_wakeup_thread
LBB0_20:
Lloh25:
	adrp	x8, _MD_RECOVERY_NEEDED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MD_RECOVERY_NEEDED@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_23
; %bb.21:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_24
; %bb.22:
	bl	_md_wakeup_thread
LBB0_23:
	mov	w0, #0
LBB0_24:
	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
	ret
LBB0_25:
Lloh28:
	adrp	x8, _EBUSY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_13
LBB0_26:
Lloh30:
	adrp	x8, _MD_RECOVERY_RECOVER@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MD_RECOVERY_RECOVER@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:
Lloh32:
	adrp	x8, _MD_RECOVERY_CHECK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MD_RECOVERY_CHECK@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_28:
Lloh35:
	adrp	x8, _MD_RECOVERY_REQUESTED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MD_RECOVERY_REQUESTED@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
Lloh38:
	adrp	x8, _MD_RECOVERY_SYNC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MD_RECOVERY_SYNC@GOTPAGEOFF]
LBB0_29:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"frozen"

	.comm	_MD_RECOVERY_FROZEN,4,2         ; @MD_RECOVERY_FROZEN
l_.str.1:                               ; @.str.1
	.asciz	"idle"

	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_st_idle,8,3                    ; @st_idle
	.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	"check"

	.comm	_MD_RECOVERY_CHECK,4,2          ; @MD_RECOVERY_CHECK
	.comm	_MD_RECOVERY_REQUESTED,4,2      ; @MD_RECOVERY_REQUESTED
	.comm	_MD_RECOVERY_SYNC,4,2           ; @MD_RECOVERY_SYNC
l_.str.5:                               ; @.str.5
	.asciz	"repair"

	.comm	_MD_RECOVERY_NEEDED,4,2         ; @MD_RECOVERY_NEEDED
	.no_dead_strip	_raid_message
.subsections_via_symbols
