	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid5d
_raid5d:                                ## @raid5d
	.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	(%rdi), %r14
	movq	8(%r14), %r12
	leaq	L_.str(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%r14, %rdi
	callq	_md_check_recovery
	leaq	16(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%r12), %rbx
	cmpq	8(%r12), %rbx
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movl	4(%r14), %edi
	callq	_bitmap_unplug
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movslq	%ebx, %rax
	movq	%rax, 8(%r12)
	movq	%r12, %rdi
	callq	_activate_bit_delay
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %r14d
	movq	%r12, %rdi
	callq	_remove_bio_from_retry
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_retry_aligned_read
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_lock_irq
	leal	1(%r14), %r13d
	testl	%ebx, %ebx
	jne	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_handle_active_stripes
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
	addl	%r14d, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	movq	_MD_CHANGE_PENDING@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btrl	%ecx, %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	%r14, %rdi
	callq	_md_check_recovery
	movq	%r15, %rdi
	callq	_spin_lock_irq
	jmp	LBB0_1
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_async_tx_issue_pending_all
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_unplug_slaves
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+++ raid5d active\n"

	.comm	_MD_CHANGE_PENDING,4,2          ## @MD_CHANGE_PENDING
L_.str.1:                               ## @.str.1
	.asciz	"%d stripes handled\n"

L_.str.2:                               ## @.str.2
	.asciz	"--- raid5d inactive\n"

	.no_dead_strip	_raid5d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid5d
_raid5d:                                ; @raid5d
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x19, [x0]
	ldr	x20, [x19, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_md_check_recovery
	add	x21, x20, #16
	mov	x0, x21
	bl	_spin_lock_irq
	mov	w25, #0
Lloh2:
	adrp	x23, _MD_CHANGE_PENDING@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MD_CHANGE_PENDING@GOTPAGEOFF]
	mov	w24, #1
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldp	x22, x8, [x20]
	cmp	x22, x8
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_spin_unlock_irq
	ldr	w0, [x19, #4]
	bl	_bitmap_unplug
	mov	x0, x21
	bl	_spin_lock_irq
	sxtw	x8, w22
	str	x8, [x20, #8]
	mov	x0, x20
	bl	_activate_bit_delay
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x26, x25
	mov	x0, x20
	bl	_remove_bio_from_retry
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x20
	mov	x1, x22
	bl	_retry_aligned_read
	mov	x22, x0
	mov	x0, x21
	bl	_spin_lock_irq
	add	w25, w26, #1
	cbnz	w22, LBB0_3
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_handle_active_stripes
	cbz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w25, w0, w26
	ldr	w8, [x19]
	ldr	w9, [x23]
	lsl	w9, w24, w9
	bics	wzr, w8, w9
	b.eq	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_md_check_recovery
	mov	x0, x21
	bl	_spin_lock_irq
	b	LBB0_1
LBB0_8:
	str	x26, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	mov	x0, x21
	bl	_spin_unlock_irq
	bl	_async_tx_issue_pending_all
	mov	x0, x19
	bl	_unplug_slaves
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_pr_debug
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+++ raid5d active\n"

	.comm	_MD_CHANGE_PENDING,4,2          ; @MD_CHANGE_PENDING
l_.str.1:                               ; @.str.1
	.asciz	"%d stripes handled\n"

l_.str.2:                               ; @.str.2
	.asciz	"--- raid5d inactive\n"

	.no_dead_strip	_raid5d
.subsections_via_symbols
