	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_failed_stripe
_handle_failed_stripe:                  ## @handle_failed_stripe
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	32(%rsi), %edi
	callq	_BUG_ON
	testl	%ebx, %ebx
	je	LBB0_36
## %bb.1:
	leaq	20(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	20(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rbx
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	leaq	(%rax,%r12), %rsi
	addq	$8, %rsi
	callq	_clear_bit
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	je	LBB0_36
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_31 Depth 2
	decq	%rbx
	movq	_R5_ReadError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	leaq	(%rbx,%rbx,2), %r12
	shlq	$4, %r12
	leaq	(%rax,%r12), %rsi
	addq	$8, %rsi
	callq	_test_bit
	testq	%rax, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	24(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	8(%r13), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	leaq	(%rcx,%rcx,2), %rbx
	movq	40(%rax,%rbx), %r15
	movq	$0, 40(%rax,%rbx)
	movq	$0, 24(%r13)
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	%r13, %rdi
	callq	_log_stripe_write_finished
	movq	_R5_Overlap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rbx), %rsi
	addq	$8, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_wake_up
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%r12), %rsi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rsi, %rax
	cmpq	%rax, (%r15)
	jge	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%r15, %rdi
	callq	_r5_next_bio
	movq	%rax, %rbx
	movq	8(%r14), %rdi
	callq	_md_write_end
	movq	%r15, %rdi
	callq	_bio_io_error
	movq	%rbx, %r15
	testq	%rbx, %rbx
	jne	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	movl	16(%r13), %esi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_md_bitmap_endwrite
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movq	32(%rax,%r12), %r15
	movq	$0, 32(%rax,%r12)
	movq	_R5_SkipCopy@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	(%rax,%r12), %rsi
	addq	$8, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_R5_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rsi
	addq	$8, %rsi
	callq	_test_bit
	movq	%rax, %rdi
	callq	_WARN_ON
	movq	8(%r13), %rax
	movl	24(%rax,%rbx), %ecx
	movl	%ecx, 28(%rax,%rbx)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%r12), %rsi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rsi, %rax
	cmpq	%rax, (%rbx)
	jge	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%rbx, %rdi
	callq	_r5_next_bio
	movq	%rax, %r15
	movq	8(%r14), %rdi
	callq	_md_write_end
	movq	%rbx, %rdi
	callq	_bio_io_error
	movq	%r15, %rbx
	testq	%r15, %r15
	jne	LBB0_21
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_R5_Wantfill@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	leaq	(%rax,%r12), %rsi
	addq	$8, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_33
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jle	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_R5_Insync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	leaq	(%rax,%r12), %rsi
	addq	$8, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_R5_ReadError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	leaq	(%rax,%r12), %rsi
	addq	$8, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_33
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_irq
	movq	8(%r13), %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rax,%rbx), %r15
	movq	$0, 16(%rax,%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irq
	movq	_R5_Overlap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	leaq	(%rax,%rbx), %rsi
	addq	$8, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_wake_up
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	decl	24(%rax)
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%r12), %rsi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rsi, %rax
	cmpq	%rax, (%r15)
	jge	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	movq	%r15, %rdi
	callq	_r5_next_bio
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_bio_io_error
	movq	%rbx, %r15
	testq	%rbx, %rbx
	jne	LBB0_31
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	movl	16(%r13), %esi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_md_bitmap_endwrite
	jmp	LBB0_35
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_atomic_inc
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	16(%r13), %esi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_rdev_set_badblocks
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	_md_error
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_rdev_dec_pending
	jmp	LBB0_10
LBB0_36:
	xorps	%xmm0, %xmm0
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, 8(%rax)
	movq	_STRIPE_FULL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	leaq	16(%r14), %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_38
## %bb.39:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_md_wakeup_thread               ## TAILCALL
LBB0_38:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R5_ReadError,4,2               ## @R5_ReadError
	.comm	_In_sync,4,2                    ## @In_sync
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_STRIPE_SECTORS,8,3             ## @STRIPE_SECTORS
	.comm	_R5_Overlap,4,2                 ## @R5_Overlap
	.comm	_R5_SkipCopy,4,2                ## @R5_SkipCopy
	.comm	_R5_UPTODATE,4,2                ## @R5_UPTODATE
	.comm	_R5_Wantfill,4,2                ## @R5_Wantfill
	.comm	_R5_Insync,4,2                  ## @R5_Insync
	.comm	_R5_LOCKED,4,2                  ## @R5_LOCKED
	.comm	_STRIPE_FULL_WRITE,4,2          ## @STRIPE_FULL_WRITE
	.no_dead_strip	_handle_failed_stripe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_failed_stripe
_handle_failed_stripe:                  ; @handle_failed_stripe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #32]
	bl	_BUG_ON
	cbz	w24, LBB0_35
; %bb.1:
	add	x22, x20, #20
	add	x23, x19, #20
	sxtw	x26, w24
	mov	w28, #48
Lloh0:
	adrp	x27, _STRIPE_SECTORS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _STRIPE_SECTORS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh2:
	adrp	x8, _R5_LOCKED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R5_LOCKED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	madd	x8, x26, x28, x8
	add	x1, x8, #8
	bl	_clear_bit
	cbz	w26, LBB0_35
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	sub	x26, x26, #1
Lloh5:
	adrp	x8, _R5_ReadError@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R5_ReadError@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	madd	x8, x26, x28, x8
	add	x1, x8, #8
	bl	_test_bit
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_rcu_read_lock
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x26, lsl #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
Lloh8:
	adrp	x8, _In_sync@GOTPAGE
Lloh9:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x25, x24, #4
	mov	x1, x25
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh11:
	adrp	x8, _Faulty@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	cbz	x0, LBB0_32
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_rcu_read_unlock
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_spin_lock_irq
	ldr	x8, [x20, #8]
	add	x9, x26, x26, lsl #1
	lsl	x21, x9, #4
	add	x8, x8, x21
	ldr	x24, [x8, #40]
	str	xzr, [x8, #40]
	str	xzr, [x20, #24]
	mov	x0, x22
	bl	_spin_unlock_irq
	mov	x0, x20
	bl	_log_stripe_write_finished
Lloh14:
	adrp	x8, _R5_Overlap@GOTPAGE
Lloh15:
	ldr	x8, [x8, _R5_Overlap@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	add	x8, x8, x21
	add	x1, x8, #8
	bl	_test_and_clear_bit
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_wake_up
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x24, LBB0_14
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x9, [x20, #8]
	mul	x10, x26, x28
	ldr	x1, [x9, x10]
	ldr	x9, [x27]
	add	x9, x9, x1
	cmp	x8, x9
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x24
	bl	_r5_next_bio
	mov	x25, x0
	ldr	x0, [x19, #8]
	bl	_md_write_end
	mov	x0, x24
	bl	_bio_io_error
	mov	x24, x25
	cbnz	x25, LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	ldr	w1, [x20, #16]
	ldr	x2, [x27]
	mov	w3, #0
	mov	w4, #0
	bl	_md_bitmap_endwrite
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	madd	x8, x26, x28, x8
	ldr	x21, [x8, #32]
	str	xzr, [x8, #32]
Lloh17:
	adrp	x9, _R5_SkipCopy@GOTPAGE
Lloh18:
	ldr	x9, [x9, _R5_SkipCopy@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x9]
	add	x1, x8, #8
	bl	_test_and_clear_bit
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x8, _R5_UPTODATE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _R5_UPTODATE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	add	x9, x26, x26, lsl #1
	lsl	x24, x9, #4
	add	x8, x8, x24
	add	x1, x8, #8
	bl	_test_bit
	bl	_WARN_ON
	ldr	x8, [x20, #8]
	add	x8, x8, x24
	ldr	w9, [x8, #24]
	str	w9, [x8, #28]
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x21, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x21
LBB0_18:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x9, [x20, #8]
	mul	x10, x26, x28
	ldr	x1, [x9, x10]
	ldr	x9, [x27]
	add	x9, x9, x1
	cmp	x8, x9
	b.ge	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x0, x24
	bl	_r5_next_bio
	mov	x25, x0
	ldr	x0, [x19, #8]
	bl	_md_write_end
	mov	x0, x24
	bl	_bio_io_error
	mov	x24, x25
	cbnz	x25, LBB0_18
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh23:
	adrp	x8, _R5_Wantfill@GOTPAGE
Lloh24:
	ldr	x8, [x8, _R5_Wantfill@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	madd	x8, x26, x28, x8
	add	x1, x8, #8
	bl	_test_bit
	cbnz	x0, LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.le	LBB0_30
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh26:
	adrp	x8, _R5_Insync@GOTPAGE
Lloh27:
	ldr	x8, [x8, _R5_Insync@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	madd	x8, x26, x28, x8
	add	x1, x8, #8
	bl	_test_bit
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh29:
	adrp	x8, _R5_ReadError@GOTPAGE
Lloh30:
	ldr	x8, [x8, _R5_ReadError@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	madd	x8, x26, x28, x8
	add	x1, x8, #8
	bl	_test_bit
	cbz	x0, LBB0_30
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_spin_lock_irq
	ldr	x8, [x20, #8]
	add	x9, x26, x26, lsl #1
	lsl	x25, x9, #4
	add	x8, x8, x25
	ldr	x24, [x8, #16]
	str	xzr, [x8, #16]
	mov	x0, x22
	bl	_spin_unlock_irq
Lloh32:
	adrp	x8, _R5_Overlap@GOTPAGE
Lloh33:
	ldr	x8, [x8, _R5_Overlap@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	add	x8, x8, x25
	add	x1, x8, #8
	bl	_test_and_clear_bit
	cbz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_wake_up
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x24, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x9, #24]
	sub	w8, w8, #1
	str	w8, [x9, #24]
LBB0_28:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x9, [x20, #8]
	mul	x10, x26, x28
	ldr	x1, [x9, x10]
	ldr	x9, [x27]
	add	x9, x9, x1
	cmp	x8, x9
	b.ge	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	mov	x0, x24
	bl	_r5_next_bio
	mov	x25, x0
	mov	x0, x24
	bl	_bio_io_error
	mov	x24, x25
	cbnz	x25, LBB0_28
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x21, LBB0_2
; %bb.31:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	ldr	w1, [x20, #16]
	ldr	x2, [x27]
	mov	w3, #0
	mov	w4, #0
	bl	_md_bitmap_endwrite
	b	LBB0_2
LBB0_32:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_atomic_inc
	bl	_rcu_read_unlock
	ldr	w1, [x20, #16]
	ldr	x2, [x27]
	mov	x0, x24
	mov	w3, #0
	bl	_rdev_set_badblocks
	cbnz	w0, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x24
	bl	_md_error
LBB0_34:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x19, #8]
	mov	x0, x24
	bl	_rdev_dec_pending
	b	LBB0_8
LBB0_35:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	stp	xzr, xzr, [x8, #8]
Lloh35:
	adrp	x8, _STRIPE_FULL_WRITE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _STRIPE_FULL_WRITE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_38
; %bb.36:
	add	x0, x19, #16
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_38
; %bb.37:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_md_wakeup_thread
LBB0_38:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_R5_ReadError,4,2               ; @R5_ReadError
	.comm	_In_sync,4,2                    ; @In_sync
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_STRIPE_SECTORS,8,3             ; @STRIPE_SECTORS
	.comm	_R5_Overlap,4,2                 ; @R5_Overlap
	.comm	_R5_SkipCopy,4,2                ; @R5_SkipCopy
	.comm	_R5_UPTODATE,4,2                ; @R5_UPTODATE
	.comm	_R5_Wantfill,4,2                ; @R5_Wantfill
	.comm	_R5_Insync,4,2                  ; @R5_Insync
	.comm	_R5_LOCKED,4,2                  ; @R5_LOCKED
	.comm	_STRIPE_FULL_WRITE,4,2          ; @STRIPE_FULL_WRITE
	.no_dead_strip	_handle_failed_stripe
.subsections_via_symbols
