	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_stripe
_handle_stripe:                         ## @handle_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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	80(%rdi), %r12
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	addq	$48, %rdi
	movq	%rdi, -248(%rbp)                ## 8-byte Spill
	callq	_spin_lock
	movq	_STRIPE_SYNC_REQUESTED@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	56(%rbx), %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	76(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_STRIPE_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_STRIPE_SYNCING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_set_bit
	movq	_STRIPE_INSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_clear_bit
	movq	_STRIPE_REPLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_clear_bit
LBB0_4:
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_5:
	movslq	-44(%rbp), %r14                 ## 4-byte Folded Reload
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_clear_bit
	movq	_STRIPE_DELAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_clear_bit
	movl	32(%rbx), %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, %rbx
	movq	56(%rax), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	72(%rax), %rdi
	callq	_atomic_read
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %r8
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %r9
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	64(%rcx), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	24(%rdx), %rdx
	movq	%rdx, 8(%rsp)
	movq	%rcx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_pr_debug
	leaq	-224(%rbp), %rsi
	movq	%r13, %rdi
	callq	_analyse_stripe
	cmpq	$0, -168(%rbp)
	je	LBB0_25
## %bb.6:
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
LBB0_7:
	callq	_set_bit
LBB0_8:
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock
	movq	-160(%rbp), %rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	16(%r12), %rsi
	cmpq	$0, 8(%rsi)
	movq	-160(%rbp), %rdi
	je	LBB0_45
## %bb.10:
	callq	_md_wait_for_blocked_rdev
LBB0_11:
	cmpq	$0, -168(%rbp)
	je	LBB0_46
LBB0_12:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_46
## %bb.13:
	shlq	$4, %r14
	addq	$-16, %r14
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %r15
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	32(%r13), %rsi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_rdev_clear_badblocks
	movq	16(%r12), %rsi
	movq	%rbx, %rdi
	callq	_rdev_dec_pending
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	$-16, %r14
	decl	-44(%rbp)                       ## 4-byte Folded Spill
	je	LBB0_46
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	_R5_WriteError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%r13), %rbx
	addq	%r14, %rbx
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	32(%r12), %rax
	movq	%r13, %rcx
	movq	(%rax,%r14), %r13
	movq	32(%rcx), %rsi
	movl	(%r15), %edx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_rdev_set_badblocks
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	16(%r12), %rdi
	movq	%r13, %rsi
	callq	_md_error
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	callq	_rdev_dec_pending
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_R5_MadeGood@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	32(%r12), %rax
	movq	(%rax,%r14), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rsi
	movl	(%r15), %edx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_rdev_clear_badblocks
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	callq	_rdev_dec_pending
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_R5_MadeGoodRepl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_15
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	32(%r12), %rax
	movq	8(%rax,%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_14
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rax,%r14), %rbx
	jmp	LBB0_14
LBB0_25:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-160(%rbp), %rdi
	callq	_unlikely
	testq	%rax, %rax
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %rax
	je	LBB0_33
## %bb.26:
	cmpq	$0, -120(%rbp)
	jne	LBB0_52
## %bb.27:
	cmpq	$0, -144(%rbp)
	jne	LBB0_52
## %bb.28:
	cmpq	$0, -136(%rbp)
	jne	LBB0_52
## %bb.29:
	cmpq	$0, -128(%rbp)
	jne	LBB0_52
## %bb.30:
	cmpq	$0, -112(%rbp)
	jne	LBB0_52
## %bb.31:
	cmpq	$0, -88(%rbp)
	jne	LBB0_52
## %bb.32:
	movq	-160(%rbp), %rdi
	movq	16(%r12), %rsi
	callq	_rdev_dec_pending
	movq	$0, -160(%rbp)
LBB0_33:
	cmpq	$0, -80(%rbp)
	je	LBB0_36
## %bb.34:
	movq	_STRIPE_BIOFILL_RUN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_36
## %bb.35:
	movq	_STRIPE_OP_BIOFILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-176(%rbp), %rsi
	callq	_set_bit
	movl	(%rbx), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
LBB0_36:
	movl	-152(%rbp), %esi
	movl	-224(%rbp), %edx
	movq	-96(%rbp), %rcx
	movq	-112(%rbp), %r8
	movq	-216(%rbp), %r9
	movq	-208(%rbp), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-216(%rbp), %rax
	cmpq	(%r12), %rax
	jle	LBB0_41
## %bb.37:
	movq	$0, 64(%r13)
	movq	$0, 24(%r13)
	movq	-112(%rbp), %rax
	addq	-96(%rbp), %rax
	addq	-88(%rbp), %rax
	je	LBB0_39
## %bb.38:
	leaq	-184(%rbp), %r8
	leaq	-224(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_handle_failed_stripe
LBB0_39:
	movq	-120(%rbp), %rax
	addq	-128(%rbp), %rax
	je	LBB0_41
## %bb.40:
	leaq	-224(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_handle_failed_sync
LBB0_41:
	movq	24(%r13), %rbx
	movq	_reconstruct_state_prexor_drain_result@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_reconstruct_state_drain_result@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_43
## %bb.42:
	cmpq	%rcx, %rbx
	jne	LBB0_74
LBB0_43:
	movq	%rcx, -240(%rbp)                ## 8-byte Spill
	movq	_reconstruct_state_idle@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r13)
	movq	_R5_UPTODATE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	8(%r13), %rsi
	shlq	$4, %rsi
	addq	40(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_53
## %bb.44:
	xorl	%eax, %eax
	jmp	LBB0_54
LBB0_45:
	callq	_rdev_dec_pending
	cmpq	$0, -168(%rbp)
	jne	LBB0_12
LBB0_46:
	movq	-176(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_48
## %bb.47:
	movq	%r13, %rdi
	callq	_raid_run_ops
LBB0_48:
	leaq	-224(%rbp), %rsi
	movq	%r13, %rdi
	callq	_ops_run_io
	cmpl	$0, -200(%rbp)
	je	LBB0_51
## %bb.49:
	leaq	24(%r12), %rbx
	movq	%rbx, %rdi
	callq	_atomic_dec
	movq	%rbx, %rdi
	callq	_atomic_read
	movq	_IO_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_51
## %bb.50:
	movq	16(%r12), %rax
	movl	(%rax), %edi
	callq	_md_wakeup_thread
LBB0_51:
	movl	-184(%rbp), %edi
	callq	_return_io
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_53:
	movq	_R5_Discard@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rsi
	shlq	$4, %rsi
	addq	40(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	sete	%al
LBB0_54:
	movzbl	%al, %edi
	callq	_BUG_ON
	movq	16(%r13), %rsi
	testq	%rsi, %rsi
	movq	%r12, -232(%rbp)                ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	js	LBB0_57
## %bb.55:
	movl	(%r15), %edi
	shlq	$4, %rsi
	addq	40(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_58
LBB0_57:
	xorl	%eax, %eax
	jmp	LBB0_59
LBB0_58:
	movq	_R5_Discard@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rsi
	shlq	$4, %rsi
	addq	40(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	sete	%al
LBB0_59:
	movzbl	%al, %edi
	callq	_BUG_ON
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_72
## %bb.60:
	leaq	-1(%r14), %rbx
	movq	%r14, %r15
	shlq	$4, %r15
	addq	$-16, %r15
	jmp	LBB0_63
LBB0_61:                                ##   in Loop: Header=BB0_63 Depth=1
	movq	_STRIPE_INSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
	.p2align	4, 0x90
LBB0_62:                                ##   in Loop: Header=BB0_63 Depth=1
	decq	%rbx
	addq	$-16, %r15
	cmpl	$-1, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_72
LBB0_63:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %r12
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r12,%r15), %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_62
## %bb.64:                              ##   in Loop: Header=BB0_63 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%rax), %rbx
	je	LBB0_67
## %bb.65:                              ##   in Loop: Header=BB0_63 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	16(%rax), %rbx
	je	LBB0_67
## %bb.66:                              ##   in Loop: Header=BB0_63 Depth=1
	cmpq	$0, 8(%r12,%r15)
	je	LBB0_62
	.p2align	4, 0x90
LBB0_67:                                ##   in Loop: Header=BB0_63 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_R5_Wantwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_set_bit
	movq	-240(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_62
## %bb.68:                              ##   in Loop: Header=BB0_63 Depth=1
	movq	_R5_Insync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_61
## %bb.69:                              ##   in Loop: Header=BB0_63 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%rax), %rbx
	je	LBB0_71
## %bb.70:                              ##   in Loop: Header=BB0_63 Depth=1
	cmpq	16(%rax), %rbx
	jne	LBB0_62
LBB0_71:                                ##   in Loop: Header=BB0_63 Depth=1
	cmpq	$0, -216(%rbp)
	je	LBB0_61
	jmp	LBB0_62
LBB0_72:
	movq	_STRIPE_PREREAD_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_and_clear_bit
	testq	%rax, %rax
	movq	-232(%rbp), %r12                ## 8-byte Reload
	je	LBB0_74
## %bb.73:
	movl	$1, -200(%rbp)
LBB0_74:
	movq	8(%r13), %r15
	movq	40(%r13), %r8
	movq	-216(%rbp), %rsi
	testq	%rsi, %rsi
	jle	LBB0_80
## %bb.75:
	movq	-208(%rbp), %rdi
	movq	(%rdi), %rbx
	movb	$1, %dl
	movb	$1, %al
	cmpq	%r15, %rbx
	je	LBB0_78
## %bb.76:
	cmpq	$2, %rsi
	jb	LBB0_83
## %bb.77:
	cmpq	%r15, 8(%rdi)
	sete	%al
LBB0_78:
	movzbl	%al, %eax
	movl	%eax, -196(%rbp)
	movq	16(%r13), %rcx
	cmpq	%rcx, %rbx
	jne	LBB0_81
## %bb.79:
	movq	%rbx, %rcx
	jmp	LBB0_86
LBB0_80:
	movl	$0, -196(%rbp)
	movq	16(%r13), %rcx
	xorl	%eax, %eax
	jmp	LBB0_85
LBB0_81:
	cmpq	$2, %rsi
	jb	LBB0_85
## %bb.82:
	cmpq	%rcx, 8(%rdi)
	jne	LBB0_85
	jmp	LBB0_86
LBB0_83:
	movl	$0, -196(%rbp)
	movq	16(%r13), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jne	LBB0_85
## %bb.84:
	movl	$1, -192(%rbp)
	cmpq	$0, -88(%rbp)
	jne	LBB0_90
	jmp	LBB0_96
LBB0_85:
	cmpl	$6, 8(%r12)
	setl	%dl
LBB0_86:
	movzbl	%dl, %edx
	movl	%edx, -192(%rbp)
	cmpq	$0, -88(%rbp)
	je	LBB0_96
## %bb.87:
	movq	%rcx, %rbx
	testl	%eax, %eax
	je	LBB0_90
LBB0_88:
	cmpl	$0, -192(%rbp)
	je	LBB0_94
LBB0_89:
	leaq	-184(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_handle_stripe_clean_event
	jmp	LBB0_96
LBB0_90:
	movq	_R5_Insync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shlq	$4, %r15
	addq	%r8, %r15
	movq	%r15, %rsi
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_96
## %bb.91:
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_96
## %bb.92:
	movq	_R5_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_170
## %bb.93:
	movq	%rbx, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_88
LBB0_94:
	movq	_R5_Insync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shlq	$4, %rcx
	addq	%rcx, %r8
	movq	%r8, %rsi
	movq	%r8, %rbx
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_96
## %bb.95:
	movq	%rbx, %rsi
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_168
LBB0_96:
	movq	-96(%rbp), %rax
	orq	-104(%rbp), %rax
	jne	LBB0_104
## %bb.97:
	cmpl	$6, 8(%r12)
	movq	-112(%rbp), %rax
	jne	LBB0_100
## %bb.98:
	testq	%rax, %rax
	je	LBB0_100
## %bb.99:
	cmpq	$0, -216(%rbp)
	jne	LBB0_104
LBB0_100:
	cmpq	$0, -120(%rbp)
	je	LBB0_102
## %bb.101:
	movl	-188(%rbp), %ecx
	addl	-224(%rbp), %ecx
	cmpl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	jl	LBB0_104
LBB0_102:
	cmpq	$0, -128(%rbp)
	jne	LBB0_104
## %bb.103:
	cmpq	$0, -144(%rbp)
	je	LBB0_105
LBB0_104:
	leaq	-224(%rbp), %rsi
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_handle_stripe_fill
	movq	-112(%rbp), %rax
LBB0_105:
	testq	%rax, %rax
	je	LBB0_107
## %bb.106:
	cmpq	$0, 24(%r13)
	je	LBB0_112
LBB0_107:
	cmpq	$0, 64(%r13)
	jne	LBB0_114
LBB0_108:
	cmpq	$0, -120(%rbp)
	je	LBB0_117
## %bb.109:
	cmpl	$0, -152(%rbp)
	jne	LBB0_117
## %bb.110:
	movq	_STRIPE_COMPUTE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_117
## %bb.111:
	movq	_STRIPE_INSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_117
	jmp	LBB0_114
LBB0_112:
	cmpq	$0, 64(%r13)
	jne	LBB0_114
## %bb.113:
	leaq	-224(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_handle_stripe_dirtying
	cmpq	$0, 64(%r13)
	je	LBB0_108
LBB0_114:
	cmpl	$6, 8(%r12)
	jne	LBB0_116
## %bb.115:
	leaq	-224(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_handle_parity_checks6
	jmp	LBB0_117
LBB0_116:
	leaq	-224(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_handle_parity_checks5
LBB0_117:
	movq	-128(%rbp), %rax
	orq	-120(%rbp), %rax
	je	LBB0_129
## %bb.118:
	cmpl	$0, -152(%rbp)
	jne	LBB0_129
## %bb.119:
	movq	_STRIPE_COMPUTE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_129
## %bb.120:
	movq	_STRIPE_REPLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_129
## %bb.121:
	cmpl	$0, 12(%r12)
	jle	LBB0_126
## %bb.122:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_124
	.p2align	4, 0x90
LBB0_123:                               ##   in Loop: Header=BB0_124 Depth=1
	incq	%r15
	movslq	12(%r12), %rax
	addq	$16, %rbx
	cmpq	%rax, %r15
	jge	LBB0_126
LBB0_124:                               ## =>This Inner Loop Header: Depth=1
	movq	_R5_NeedReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%r13), %rsi
	addq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_123
## %bb.125:                             ##   in Loop: Header=BB0_124 Depth=1
	movq	_R5_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%r13), %rsi
	addq	%rbx, %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	movq	_R5_WantReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%r13), %rsi
	addq	%rbx, %rsi
	callq	_set_bit
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%r13), %rsi
	addq	%rbx, %rsi
	callq	_set_bit
	incl	-152(%rbp)
	jmp	LBB0_123
LBB0_126:
	cmpq	$0, -128(%rbp)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_128
## %bb.127:
	movq	_STRIPE_INSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
LBB0_128:
	movq	_STRIPE_REPLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_129:
	movq	-120(%rbp), %rax
	orq	-128(%rbp), %rax
	je	LBB0_132
## %bb.130:
	cmpl	$0, -152(%rbp)
	jne	LBB0_132
## %bb.131:
	movq	_STRIPE_COMPUTE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_149
LBB0_132:
	movq	-216(%rbp), %rax
	cmpq	(%r12), %rax
	jg	LBB0_143
## %bb.133:
	movq	16(%r12), %rcx
	cmpl	$0, 16(%rcx)
	jne	LBB0_143
## %bb.134:
	testq	%rax, %rax
	jle	LBB0_143
## %bb.135:
	xorl	%r15d, %r15d
	movq	_R5_ReadError@GOTPCREL(%rip), %r13
	jmp	LBB0_138
LBB0_136:                               ##   in Loop: Header=BB0_138 Depth=1
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	incl	-152(%rbp)
	.p2align	4, 0x90
LBB0_137:                               ##   in Loop: Header=BB0_138 Depth=1
	incq	%r15
	cmpq	%r15, -216(%rbp)
	jle	LBB0_143
LBB0_138:                               ## =>This Inner Loop Header: Depth=1
	movq	-208(%rbp), %rax
	movq	(%rax,%r15,8), %rbx
	movl	(%r13), %edi
	shlq	$4, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	40(%rax), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_137
## %bb.139:                             ##   in Loop: Header=BB0_138 Depth=1
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_137
## %bb.140:                             ##   in Loop: Header=BB0_138 Depth=1
	movq	_R5_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_137
## %bb.141:                             ##   in Loop: Header=BB0_138 Depth=1
	movq	_R5_ReWrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movq	_R5_Wantread@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_136
## %bb.142:                             ##   in Loop: Header=BB0_138 Depth=1
	movq	_R5_Wantwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_R5_ReWrite@GOTPCREL(%rip), %rcx
	jmp	LBB0_136
LBB0_143:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	24(%r13), %rax
	movq	_reconstruct_state_result@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_156
## %bb.144:
	movq	32(%r13), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_get_active_stripe
	testq	%rax, %rax
	je	LBB0_153
## %bb.145:
	movq	%rax, %r13
	movq	_STRIPE_EXPAND_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rbx
	addq	$56, %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_152
## %bb.146:
	movq	_STRIPE_DELAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_set_bit
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	_STRIPE_PREREAD_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_148
## %bb.147:
	leaq	24(%r12), %rdi
	callq	_atomic_inc
LBB0_148:
	movq	%r13, %rdi
	callq	_release_stripe
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_149:
	movq	_STRIPE_INSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_132
## %bb.150:
	movq	16(%r12), %rdi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_md_done_sync
	movq	_STRIPE_SYNCING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	movq	_R5_Overlap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rsi
	shlq	$4, %rsi
	addq	40(%r13), %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_132
## %bb.151:
	leaq	40(%r12), %rdi
	callq	_wake_up
	jmp	LBB0_132
LBB0_152:
	movq	%r13, %rdi
	callq	_release_stripe
LBB0_153:
	movq	_reconstruct_state_idle@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 24(%r13)
	movq	_STRIPE_EXPANDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	movslq	12(%r12), %r15
	testq	%r15, %r15
	je	LBB0_156
## %bb.154:
	movq	%r15, %rbx
	shlq	$4, %rbx
	addq	$-16, %rbx
	.p2align	4, 0x90
LBB0_155:                               ## =>This Inner Loop Header: Depth=1
	movq	_R5_Wantwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%r13), %rsi
	addq	%rbx, %rsi
	callq	_set_bit
	movq	_R5_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%r13), %rsi
	addq	%rbx, %rsi
	callq	_set_bit
	incl	-152(%rbp)
	addq	$-16, %rbx
	decl	%r15d
	jne	LBB0_155
LBB0_156:
	cmpq	$0, -136(%rbp)
	je	LBB0_164
## %bb.157:
	movq	_STRIPE_EXPANDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_159
## %bb.158:
	cmpq	$0, 24(%r13)
	je	LBB0_163
LBB0_159:
	cmpq	$0, -136(%rbp)
	je	LBB0_164
## %bb.160:
	cmpq	$0, 24(%r13)
	jne	LBB0_164
## %bb.161:
	cmpl	$0, -152(%rbp)
	jne	LBB0_164
## %bb.162:
	movq	_STRIPE_EXPAND_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	leaq	44(%r12), %rdi
	callq	_atomic_dec
	leaq	40(%r12), %rdi
	callq	_wake_up
	movq	16(%r12), %rdi
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_md_done_sync
	jmp	LBB0_164
LBB0_163:
	movl	12(%r12), %eax
	movl	%eax, (%r13)
	movq	32(%r13), %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_stripe_set_idx
	leaq	-224(%rbp), %rsi
	movq	%r13, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_schedule_reconstruction
LBB0_164:
	cmpq	$0, -144(%rbp)
	je	LBB0_8
## %bb.165:
	cmpl	$0, -152(%rbp)
	jne	LBB0_8
## %bb.166:
	movq	_STRIPE_COMPUTE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.167:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_handle_stripe_expansion
	jmp	LBB0_8
LBB0_168:
	movq	%rbx, %rsi
	movq	_R5_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_89
## %bb.169:
	movq	%rbx, %rsi
	movq	_R5_Discard@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_89
	jmp	LBB0_96
LBB0_170:
	movq	_R5_Discard@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movq	%rbx, %rcx
	testq	%rax, %rax
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	jne	LBB0_88
	jmp	LBB0_96
	.cfi_endproc
                                        ## -- End function
	.comm	_STRIPE_SYNC_REQUESTED,4,2      ## @STRIPE_SYNC_REQUESTED
	.comm	_STRIPE_DISCARD,4,2             ## @STRIPE_DISCARD
	.comm	_STRIPE_SYNCING,4,2             ## @STRIPE_SYNCING
	.comm	_STRIPE_INSYNC,4,2              ## @STRIPE_INSYNC
	.comm	_STRIPE_REPLACED,4,2            ## @STRIPE_REPLACED
	.comm	_STRIPE_HANDLE,4,2              ## @STRIPE_HANDLE
	.comm	_STRIPE_DELAYED,4,2             ## @STRIPE_DELAYED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"handling stripe %llu, state=%#lx cnt=%d, pd_idx=%d, qd_idx=%d\n, check:%d, reconstruct:%d\n"

	.comm	_STRIPE_BIOFILL_RUN,4,2         ## @STRIPE_BIOFILL_RUN
	.comm	_STRIPE_OP_BIOFILL,4,2          ## @STRIPE_OP_BIOFILL
L_.str.1:                               ## @.str.1
	.asciz	"locked=%d uptodate=%d to_read=%d to_write=%d failed=%d failed_num=%d,%d\n"

	.comm	_reconstruct_state_prexor_drain_result,8,3 ## @reconstruct_state_prexor_drain_result
	.comm	_reconstruct_state_drain_result,8,3 ## @reconstruct_state_drain_result
	.comm	_reconstruct_state_idle,8,3     ## @reconstruct_state_idle
	.comm	_R5_UPTODATE,4,2                ## @R5_UPTODATE
	.comm	_R5_Discard,4,2                 ## @R5_Discard
	.comm	_R5_LOCKED,4,2                  ## @R5_LOCKED
L_.str.2:                               ## @.str.2
	.asciz	"Writing block %d\n"

	.comm	_R5_Wantwrite,4,2               ## @R5_Wantwrite
	.comm	_R5_Insync,4,2                  ## @R5_Insync
	.comm	_STRIPE_PREREAD_ACTIVE,4,2      ## @STRIPE_PREREAD_ACTIVE
	.comm	_STRIPE_COMPUTE_RUN,4,2         ## @STRIPE_COMPUTE_RUN
	.comm	_R5_NeedReplace,4,2             ## @R5_NeedReplace
	.comm	_R5_WantReplace,4,2             ## @R5_WantReplace
	.comm	_STRIPE_SECTORS,4,2             ## @STRIPE_SECTORS
	.comm	_R5_Overlap,4,2                 ## @R5_Overlap
	.comm	_R5_ReadError,4,2               ## @R5_ReadError
	.comm	_R5_ReWrite,4,2                 ## @R5_ReWrite
	.comm	_R5_Wantread,4,2                ## @R5_Wantread
	.comm	_reconstruct_state_result,8,3   ## @reconstruct_state_result
	.comm	_STRIPE_EXPAND_SOURCE,4,2       ## @STRIPE_EXPAND_SOURCE
	.comm	_STRIPE_EXPANDING,4,2           ## @STRIPE_EXPANDING
	.comm	_STRIPE_EXPAND_READY,4,2        ## @STRIPE_EXPAND_READY
	.comm	_R5_WriteError,4,2              ## @R5_WriteError
	.comm	_R5_MadeGood,4,2                ## @R5_MadeGood
	.comm	_R5_MadeGoodRepl,4,2            ## @R5_MadeGoodRepl
	.comm	_IO_THRESHOLD,8,3               ## @IO_THRESHOLD
	.no_dead_strip	_handle_stripe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_stripe
_handle_stripe:                         ; @handle_stripe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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	x20, x0
	ldr	x19, [x0, #80]
	ldr	w21, [x0]
	add	x26, x0, #48
	mov	x0, x26
	bl	_spin_lock
Lloh0:
	adrp	x22, _STRIPE_SYNC_REQUESTED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _STRIPE_SYNC_REQUESTED@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x25, x20, #56
	mov	x1, x25
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.1:
	add	x24, x20, #76
	mov	x0, x24
	bl	_spin_lock
Lloh2:
	adrp	x8, _STRIPE_DISCARD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRIPE_DISCARD@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x22]
	mov	x1, x25
	bl	_test_and_clear_bit
	cbz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _STRIPE_SYNCING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRIPE_SYNCING@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_set_bit
Lloh8:
	adrp	x8, _STRIPE_INSYNC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STRIPE_INSYNC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_clear_bit
Lloh11:
	adrp	x8, _STRIPE_REPLACED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STRIPE_REPLACED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_clear_bit
LBB0_4:
	mov	x0, x24
	bl	_spin_unlock
LBB0_5:
	sxtw	x23, w21
Lloh14:
	adrp	x27, _STRIPE_HANDLE@GOTPAGE
Lloh15:
	ldr	x27, [x27, _STRIPE_HANDLE@GOTPAGEOFF]
	ldr	w0, [x27]
	mov	x1, x25
	bl	_clear_bit
Lloh16:
	adrp	x8, _STRIPE_DELAYED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STRIPE_DELAYED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_clear_bit
	ldr	w24, [x20, #32]
	ldr	x22, [x20, #56]
	add	x0, x20, #72
	bl	_atomic_read
	ldur	q0, [x20, #8]
	ldr	x8, [x20, #64]
	ldr	x9, [x20, #24]
	stp	x8, x9, [sp, #32]
	str	q0, [sp, #16]
	stp	x22, x0, [sp]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	bl	_pr_debug
	add	x1, sp, #80
	mov	x0, x20
	bl	_analyse_stripe
	ldr	x8, [sp, #136]
	cbz	x8, LBB0_24
LBB0_6:
	ldr	w0, [x27]
	mov	x1, x25
	bl	_set_bit
LBB0_7:
	mov	x0, x26
	bl	_spin_unlock
	ldr	x0, [sp, #144]
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x1, [x19, #16]
	ldr	x8, [x1, #8]
	ldr	x0, [sp, #144]
	cbz	x8, LBB0_39
; %bb.9:
	bl	_md_wait_for_blocked_rdev
LBB0_10:
	ldr	x8, [sp, #136]
	cbz	x8, LBB0_40
LBB0_11:
	cbz	w21, LBB0_40
; %bb.12:
	lsl	x8, x23, #4
	sub	x24, x8, #16
Lloh21:
	adrp	x25, _R5_WriteError@GOTPAGE
Lloh22:
	ldr	x25, [x25, _R5_WriteError@GOTPAGEOFF]
Lloh23:
	adrp	x26, _R5_MadeGood@GOTPAGE
Lloh24:
	ldr	x26, [x26, _R5_MadeGood@GOTPAGEOFF]
Lloh25:
	adrp	x27, _R5_MadeGoodRepl@GOTPAGE
Lloh26:
	ldr	x27, [x27, _R5_MadeGoodRepl@GOTPAGEOFF]
Lloh27:
	adrp	x28, _STRIPE_SECTORS@GOTPAGE
Lloh28:
	ldr	x28, [x28, _STRIPE_SECTORS@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x1, [x20, #32]
	ldr	w2, [x28]
	mov	x0, x22
	mov	w3, #0
	bl	_rdev_clear_badblocks
	ldr	x1, [x19, #16]
	mov	x0, x22
	bl	_rdev_dec_pending
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	sub	x24, x24, #16
	subs	w21, w21, #1
	b.eq	LBB0_40
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #40]
	ldr	w0, [x25]
	add	x22, x8, x24
	mov	x1, x22
	bl	_test_and_clear_bit
	cbz	x0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #32]
	ldr	x23, [x8, x24]
	ldr	x1, [x20, #32]
	ldr	w2, [x28]
	mov	x0, x23
	mov	w3, #0
	bl	_rdev_set_badblocks
	cbnz	w0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x19, #16]
	mov	x1, x23
	bl	_md_error
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x1, [x19, #16]
	mov	x0, x23
	bl	_rdev_dec_pending
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_test_and_clear_bit
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #32]
	ldr	x23, [x8, x24]
	ldr	x1, [x20, #32]
	ldr	w2, [x28]
	mov	x0, x23
	mov	w3, #0
	bl	_rdev_clear_badblocks
	ldr	x1, [x19, #16]
	mov	x0, x23
	bl	_rdev_dec_pending
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	bl	_test_and_clear_bit
	cbz	x0, LBB0_14
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #32]
	add	x9, x8, x24
	ldr	x22, [x9, #8]
	cbnz	x22, LBB0_13
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x22, [x8, x24]
	b	LBB0_13
LBB0_24:
	add	x24, sp, #80
	ldr	x0, [sp, #144]
	bl	_unlikely
	cbz	x0, LBB0_27
; %bb.25:
	ldp	q1, q0, [sp, #160]
	cmtst.2d	v0, v0, v0
	cmtst.2d	v1, v1, v1
	uzp1.4s	v0, v1, v0
	xtn.4h	v0, v0
	umov.h	w8, v0[0]
	umov.h	w9, v0[1]
	and	w9, w9, #0x1
	umov.h	w10, v0[2]
	bfi	w8, w9, #1, #1
	and	w9, w10, #0x1
	bfi	w8, w9, #2, #1
	umov.h	w9, v0[3]
	bfi	w8, w9, #3, #29
	and	w8, w8, #0xf
	ldr	x9, [sp, #192]
	ldr	x10, [x24, #136]
	cmp	w8, #0
	ccmp	x9, #0, #0, eq
	ccmp	x10, #0, #0, eq
	b.ne	LBB0_6
; %bb.26:
	ldr	x0, [sp, #144]
	ldr	x1, [x19, #16]
	bl	_rdev_dec_pending
	str	xzr, [sp, #144]
LBB0_27:
	ldr	x8, [x24, #144]
	cbz	x8, LBB0_30
; %bb.28:
Lloh29:
	adrp	x22, _STRIPE_BIOFILL_RUN@GOTPAGE
Lloh30:
	ldr	x22, [x22, _STRIPE_BIOFILL_RUN@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x25
	bl	_test_bit
	cbnz	x0, LBB0_30
; %bb.29:
Lloh31:
	adrp	x8, _STRIPE_OP_BIOFILL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _STRIPE_OP_BIOFILL@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	add	x8, sp, #80
	add	x1, x8, #48
	bl	_set_bit
	ldr	w0, [x22]
	mov	x1, x25
	bl	_set_bit
LBB0_30:
	stp	x23, x25, [sp, #56]             ; 16-byte Folded Spill
	ldr	w1, [sp, #152]
	ldr	x8, [x24, #128]
	ldr	x9, [sp, #192]
	ldp	x10, x11, [sp, #88]
	ldp	x12, x11, [x11]
	ldr	w13, [sp, #80]
	stp	x12, x11, [sp, #32]
	stp	x9, x10, [sp, #16]
	stp	x13, x8, [sp]
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	ldr	x8, [sp, #88]
	ldr	x9, [x19]
	cmp	x8, x9
	b.le	LBB0_35
; %bb.31:
	str	xzr, [x20, #64]
	str	xzr, [x20, #24]
	ldr	x8, [sp, #192]
	ldp	x9, x10, [x24, #128]
	add	x8, x8, x9
	cmn	x8, x10
	b.eq	LBB0_33
; %bb.32:
	add	x8, sp, #80
	add	x4, x8, #40
	add	x2, sp, #80
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_handle_failed_stripe
LBB0_33:
	ldp	x9, x8, [sp, #176]
	cmn	x8, x9
	b.eq	LBB0_35
; %bb.34:
	add	x2, sp, #80
	mov	x0, x19
	mov	x1, x20
	bl	_handle_failed_sync
LBB0_35:
	str	x26, [sp, #48]                  ; 8-byte Folded Spill
Lloh36:
	adrp	x8, _reconstruct_state_prexor_drain_result@GOTPAGE
Lloh37:
	ldr	x8, [x8, _reconstruct_state_prexor_drain_result@GOTPAGEOFF]
	ldr	x28, [x20, #24]
Lloh38:
	ldr	x27, [x8]
Lloh39:
	adrp	x8, _reconstruct_state_drain_result@GOTPAGE
Lloh40:
	ldr	x8, [x8, _reconstruct_state_drain_result@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x28, x8
	b.eq	LBB0_37
; %bb.36:
	cmp	x28, x27
	b.ne	LBB0_65
LBB0_37:
Lloh42:
	adrp	x8, _reconstruct_state_idle@GOTPAGE
Lloh43:
	ldr	x8, [x8, _reconstruct_state_idle@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	str	x8, [x20, #24]
Lloh45:
	adrp	x22, _R5_UPTODATE@GOTPAGE
Lloh46:
	ldr	x22, [x22, _R5_UPTODATE@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x20, #40]
	ldr	x9, [x20, #8]
	add	x1, x8, x9, lsl #4
	bl	_test_bit
	cbz	x0, LBB0_46
; %bb.38:
	mov	w0, #0
	b	LBB0_47
LBB0_39:
	bl	_rdev_dec_pending
	ldr	x8, [sp, #136]
	cbnz	x8, LBB0_11
LBB0_40:
	ldr	x1, [sp, #128]
	cbz	x1, LBB0_42
; %bb.41:
	mov	x0, x20
	bl	_raid_run_ops
LBB0_42:
	add	x1, sp, #80
	mov	x0, x20
	bl	_ops_run_io
	ldr	w8, [sp, #104]
	cbz	w8, LBB0_45
; %bb.43:
	add	x20, x19, #24
	mov	x0, x20
	bl	_atomic_dec
	mov	x0, x20
	bl	_atomic_read
Lloh47:
	adrp	x8, _IO_THRESHOLD@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IO_THRESHOLD@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_45
; %bb.44:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_md_wakeup_thread
LBB0_45:
	ldr	w0, [sp, #120]
	bl	_return_io
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_46:
Lloh50:
	adrp	x8, _R5_Discard@GOTPAGE
Lloh51:
	ldr	x8, [x8, _R5_Discard@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	ldr	x8, [x20, #40]
	ldr	x9, [x20, #8]
	add	x1, x8, x9, lsl #4
	bl	_test_bit
	cmp	x0, #0
	cset	w0, eq
LBB0_47:
	bl	_BUG_ON
	ldr	x8, [x20, #16]
	tbnz	x8, #63, LBB0_49
; %bb.48:
	ldr	w0, [x22]
	ldr	x9, [x20, #40]
	add	x1, x9, x8, lsl #4
	bl	_test_bit
	cbz	x0, LBB0_50
LBB0_49:
	mov	w0, #0
	bl	_BUG_ON
	cbnz	w21, LBB0_51
	b	LBB0_63
LBB0_50:
Lloh53:
	adrp	x8, _R5_Discard@GOTPAGE
Lloh54:
	ldr	x8, [x8, _R5_Discard@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	ldr	x8, [x20, #40]
	ldr	x9, [x20, #16]
	add	x1, x8, x9, lsl #4
	bl	_test_bit
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	cbz	w21, LBB0_63
LBB0_51:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	sub	x24, x8, #1
	lsl	x8, x8, #4
	sub	x22, x8, #8
Lloh56:
	adrp	x23, _R5_LOCKED@GOTPAGE
Lloh57:
	ldr	x23, [x23, _R5_LOCKED@GOTPAGEOFF]
	b	LBB0_54
LBB0_52:                                ;   in Loop: Header=BB0_54 Depth=1
Lloh58:
	adrp	x8, _STRIPE_INSYNC@GOTPAGE
Lloh59:
	ldr	x8, [x8, _STRIPE_INSYNC@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	ldr	x1, [sp, #64]                   ; 8-byte Folded Reload
	bl	_set_bit
LBB0_53:                                ;   in Loop: Header=BB0_54 Depth=1
	sub	x24, x24, #1
	sub	x22, x22, #16
	cmn	w24, #1
	b.eq	LBB0_63
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x20, #40]
	ldr	w0, [x23]
	add	x8, x25, x22
	sub	x26, x8, #8
	mov	x1, x26
	bl	_test_bit
	cbz	x0, LBB0_53
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=1
	ldr	x8, [x20, #8]
	cmp	x24, x8
	b.eq	LBB0_58
; %bb.56:                               ;   in Loop: Header=BB0_54 Depth=1
	ldr	x8, [x20, #16]
	cmp	x24, x8
	b.eq	LBB0_58
; %bb.57:                               ;   in Loop: Header=BB0_54 Depth=1
	ldr	x8, [x25, x22]
	cbz	x8, LBB0_53
LBB0_58:                                ;   in Loop: Header=BB0_54 Depth=1
Lloh61:
	adrp	x0, l_.str.2@PAGE
Lloh62:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x24
	bl	_pr_debug
Lloh63:
	adrp	x8, _R5_Wantwrite@GOTPAGE
Lloh64:
	ldr	x8, [x8, _R5_Wantwrite@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	mov	x1, x26
	bl	_set_bit
	cmp	x28, x27
	b.eq	LBB0_53
; %bb.59:                               ;   in Loop: Header=BB0_54 Depth=1
Lloh66:
	adrp	x8, _R5_Insync@GOTPAGE
Lloh67:
	ldr	x8, [x8, _R5_Insync@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	mov	x1, x26
	bl	_test_bit
	cbz	x0, LBB0_52
; %bb.60:                               ;   in Loop: Header=BB0_54 Depth=1
	ldr	x8, [x20, #8]
	cmp	x24, x8
	b.eq	LBB0_62
; %bb.61:                               ;   in Loop: Header=BB0_54 Depth=1
	ldr	x8, [x20, #16]
	cmp	x24, x8
	b.ne	LBB0_53
LBB0_62:                                ;   in Loop: Header=BB0_54 Depth=1
	ldr	x8, [sp, #88]
	cbz	x8, LBB0_52
	b	LBB0_53
LBB0_63:
Lloh69:
	adrp	x8, _STRIPE_PREREAD_ACTIVE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _STRIPE_PREREAD_ACTIVE@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	ldr	x1, [sp, #64]                   ; 8-byte Folded Reload
	bl	_test_and_clear_bit
	cbz	x0, LBB0_65
; %bb.64:
	mov	w8, #1
	str	w8, [sp, #104]
LBB0_65:
	ldr	x25, [x20, #40]
	ldr	x8, [x20, #8]
	ldr	x11, [sp, #88]
	cmp	x11, #1
	b.lt	LBB0_68
; %bb.66:
	ldr	x12, [sp, #96]
	ldr	x26, [x12]
	cmp	x26, x8
	b.ne	LBB0_69
; %bb.67:
	mov	w9, #1
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
	add	x22, sp, #80
	b	LBB0_71
LBB0_68:
	mov	w9, #0
	str	wzr, [sp, #108]
	ldr	x10, [x20, #16]
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
	add	x22, sp, #80
	b	LBB0_79
LBB0_69:
	cmp	x11, #2
	add	x22, sp, #80
	b.lo	LBB0_76
; %bb.70:
	ldr	x9, [x12, #8]
	cmp	x9, x8
	cset	w9, eq
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
LBB0_71:
	str	w9, [sp, #108]
	ldr	x10, [x20, #16]
	cmp	x26, x10
	b.ne	LBB0_73
; %bb.72:
	mov	w11, #1
	b	LBB0_81
LBB0_73:
	cmp	x11, #2
	b.lo	LBB0_79
; %bb.74:
	ldr	x11, [x12, #8]
	cmp	x11, x10
	b.ne	LBB0_79
; %bb.75:
	mov	w11, #1
	b	LBB0_80
LBB0_76:
	str	wzr, [sp, #108]
	ldr	x10, [x20, #16]
	cmp	x26, x10
	b.ne	LBB0_78
; %bb.77:
	mov	w9, #1
	str	w9, [sp, #112]
	ldr	x9, [x22, #136]
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
	cbnz	x9, LBB0_85
	b	LBB0_91
LBB0_78:
	mov	w9, #0
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
LBB0_79:
	ldr	w11, [x19, #8]
	cmp	w11, #6
	cset	w11, lt
LBB0_80:
	mov	x26, x10
LBB0_81:
	str	w11, [sp, #112]
	ldr	x10, [x22, #136]
	cbz	x10, LBB0_91
; %bb.82:
	cbz	w9, LBB0_85
LBB0_83:
	ldr	w8, [sp, #112]
	cbz	w8, LBB0_89
LBB0_84:
	add	x8, sp, #80
	add	x3, x8, #40
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_handle_stripe_clean_event
	b	LBB0_91
LBB0_85:
Lloh72:
	adrp	x9, _R5_Insync@GOTPAGE
Lloh73:
	ldr	x9, [x9, _R5_Insync@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x9]
	add	x24, x25, x8, lsl #4
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_91
; %bb.86:
Lloh75:
	adrp	x8, _R5_LOCKED@GOTPAGE
Lloh76:
	ldr	x8, [x8, _R5_LOCKED@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_91
; %bb.87:
Lloh78:
	adrp	x8, _R5_UPTODATE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _R5_UPTODATE@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_83
; %bb.88:
Lloh81:
	adrp	x8, _R5_Discard@GOTPAGE
Lloh82:
	ldr	x8, [x8, _R5_Discard@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_83
	b	LBB0_91
LBB0_89:
Lloh84:
	adrp	x8, _R5_Insync@GOTPAGE
Lloh85:
	ldr	x8, [x8, _R5_Insync@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	add	x24, x25, x26, lsl #4
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_91
; %bb.90:
Lloh87:
	adrp	x8, _R5_LOCKED@GOTPAGE
Lloh88:
	ldr	x8, [x8, _R5_LOCKED@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_162
LBB0_91:
	ldr	x8, [x22, #128]
	ldr	x9, [sp, #200]
	orr	x8, x8, x9
	cbnz	x8, LBB0_99
; %bb.92:
	ldr	w9, [x19, #8]
	ldr	x8, [sp, #192]
	cmp	w9, #6
	b.ne	LBB0_95
; %bb.93:
	cbz	x8, LBB0_95
; %bb.94:
	ldr	x9, [sp, #88]
	cbnz	x9, LBB0_99
LBB0_95:
	ldr	x9, [sp, #184]
	cbz	x9, LBB0_97
; %bb.96:
	ldr	w9, [sp, #80]
	ldr	w10, [sp, #116]
	add	w9, w10, w9
	cmp	w9, w21
	b.lt	LBB0_99
LBB0_97:
	ldr	x9, [sp, #176]
	cbnz	x9, LBB0_99
; %bb.98:
	ldr	x9, [sp, #160]
	cbz	x9, LBB0_100
LBB0_99:
	add	x1, sp, #80
	mov	x0, x20
	mov	x2, x21
	bl	_handle_stripe_fill
	ldr	x8, [sp, #192]
LBB0_100:
	cbz	x8, LBB0_102
; %bb.101:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_107
LBB0_102:
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_109
LBB0_103:
	ldr	x8, [sp, #184]
	cbz	x8, LBB0_112
; %bb.104:
	ldr	w8, [sp, #152]
	cbnz	w8, LBB0_112
; %bb.105:
Lloh90:
	adrp	x8, _STRIPE_COMPUTE_RUN@GOTPAGE
Lloh91:
	ldr	x8, [x8, _STRIPE_COMPUTE_RUN@GOTPAGEOFF]
Lloh92:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbnz	x0, LBB0_112
; %bb.106:
Lloh93:
	adrp	x8, _STRIPE_INSYNC@GOTPAGE
Lloh94:
	ldr	x8, [x8, _STRIPE_INSYNC@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbnz	x0, LBB0_112
	b	LBB0_109
LBB0_107:
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_109
; %bb.108:
	add	x2, sp, #80
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_handle_stripe_dirtying
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_103
LBB0_109:
	ldr	w8, [x19, #8]
	add	x2, sp, #80
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	cmp	w8, #6
	b.ne	LBB0_111
; %bb.110:
	bl	_handle_parity_checks6
	b	LBB0_112
LBB0_111:
	bl	_handle_parity_checks5
LBB0_112:
	ldp	x8, x9, [sp, #176]
	orr	x8, x8, x9
	cbz	x8, LBB0_124
; %bb.113:
	ldr	w8, [sp, #152]
	cbnz	w8, LBB0_124
; %bb.114:
Lloh96:
	adrp	x8, _STRIPE_COMPUTE_RUN@GOTPAGE
Lloh97:
	ldr	x8, [x8, _STRIPE_COMPUTE_RUN@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbnz	x0, LBB0_124
; %bb.115:
Lloh99:
	adrp	x22, _STRIPE_REPLACED@GOTPAGE
Lloh100:
	ldr	x22, [x22, _STRIPE_REPLACED@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x23
	bl	_test_bit
	cbnz	x0, LBB0_124
; %bb.116:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_121
; %bb.117:
	mov	x23, #0
	mov	x24, #0
Lloh101:
	adrp	x25, _R5_NeedReplace@GOTPAGE
Lloh102:
	ldr	x25, [x25, _R5_NeedReplace@GOTPAGEOFF]
Lloh103:
	adrp	x26, _R5_UPTODATE@GOTPAGE
Lloh104:
	ldr	x26, [x26, _R5_UPTODATE@GOTPAGEOFF]
Lloh105:
	adrp	x27, _R5_WantReplace@GOTPAGE
Lloh106:
	ldr	x27, [x27, _R5_WantReplace@GOTPAGEOFF]
Lloh107:
	adrp	x28, _R5_LOCKED@GOTPAGE
Lloh108:
	ldr	x28, [x28, _R5_LOCKED@GOTPAGEOFF]
	b	LBB0_119
LBB0_118:                               ;   in Loop: Header=BB0_119 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19, #12]
	add	x23, x23, #16
	cmp	x24, x8
	b.ge	LBB0_121
LBB0_119:                               ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	ldr	x8, [x20, #40]
	add	x1, x8, x23
	bl	_test_bit
	cbz	x0, LBB0_118
; %bb.120:                              ;   in Loop: Header=BB0_119 Depth=1
	ldr	w0, [x26]
	ldr	x8, [x20, #40]
	add	x1, x8, x23
	bl	_test_bit
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w0, [x27]
	ldr	x8, [x20, #40]
	add	x1, x8, x23
	bl	_set_bit
	ldr	w0, [x28]
	ldr	x8, [x20, #40]
	add	x1, x8, x23
	bl	_set_bit
	ldr	w8, [sp, #152]
	add	w8, w8, #1
	str	w8, [sp, #152]
	b	LBB0_118
LBB0_121:
	ldr	x8, [sp, #176]
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_123
; %bb.122:
Lloh109:
	adrp	x8, _STRIPE_INSYNC@GOTPAGE
Lloh110:
	ldr	x8, [x8, _STRIPE_INSYNC@GOTPAGEOFF]
Lloh111:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_set_bit
LBB0_123:
	ldr	w0, [x22]
	mov	x1, x23
	bl	_set_bit
LBB0_124:
	ldp	x9, x8, [sp, #176]
	orr	x8, x8, x9
	cbz	x8, LBB0_127
; %bb.125:
	ldr	w8, [sp, #152]
	cbnz	w8, LBB0_127
; %bb.126:
Lloh112:
	adrp	x8, _STRIPE_COMPUTE_RUN@GOTPAGE
Lloh113:
	ldr	x8, [x8, _STRIPE_COMPUTE_RUN@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_143
LBB0_127:
	ldr	x8, [sp, #88]
	ldr	x9, [x19]
	cmp	x8, x9
	b.gt	LBB0_129
; %bb.128:
	ldr	x9, [x19, #16]
	ldr	w9, [x9, #16]
	cmp	w9, #0
	ccmp	x8, #1, #8, eq
	b.ge	LBB0_135
LBB0_129:
	ldr	x8, [x20, #24]
Lloh115:
	adrp	x9, _reconstruct_state_result@GOTPAGE
Lloh116:
	ldr	x9, [x9, _reconstruct_state_result@GOTPAGEOFF]
Lloh117:
	ldr	x9, [x9]
	cmp	x8, x9
	ldr	x26, [sp, #48]                  ; 8-byte Folded Reload
	ldr	x27, [sp, #64]                  ; 8-byte Folded Reload
	b.ne	LBB0_150
; %bb.130:
	ldr	x1, [x20, #32]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	mov	w4, #1
	bl	_get_active_stripe
	cbz	x0, LBB0_147
; %bb.131:
	mov	x24, x0
Lloh118:
	adrp	x8, _STRIPE_EXPAND_SOURCE@GOTPAGE
Lloh119:
	ldr	x8, [x8, _STRIPE_EXPAND_SOURCE@GOTPAGEOFF]
Lloh120:
	ldr	w0, [x8]
	add	x25, x24, #56
	mov	x1, x25
	bl	_test_bit
	cbz	x0, LBB0_146
; %bb.132:
Lloh121:
	adrp	x8, _STRIPE_DELAYED@GOTPAGE
Lloh122:
	ldr	x8, [x8, _STRIPE_DELAYED@GOTPAGEOFF]
Lloh123:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_set_bit
Lloh124:
	adrp	x8, _STRIPE_HANDLE@GOTPAGE
Lloh125:
	ldr	x8, [x8, _STRIPE_HANDLE@GOTPAGEOFF]
Lloh126:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_set_bit
Lloh127:
	adrp	x8, _STRIPE_PREREAD_ACTIVE@GOTPAGE
Lloh128:
	ldr	x8, [x8, _STRIPE_PREREAD_ACTIVE@GOTPAGEOFF]
Lloh129:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_and_set_bit
	cbnz	w0, LBB0_134
; %bb.133:
	add	x0, x19, #24
	bl	_atomic_inc
LBB0_134:
	mov	x0, x24
	bl	_release_stripe
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	b	LBB0_7
LBB0_135:
	mov	x22, #0
Lloh130:
	adrp	x23, _R5_ReadError@GOTPAGE
Lloh131:
	ldr	x23, [x23, _R5_ReadError@GOTPAGEOFF]
Lloh132:
	adrp	x25, _R5_LOCKED@GOTPAGE
Lloh133:
	ldr	x25, [x25, _R5_LOCKED@GOTPAGEOFF]
Lloh134:
	adrp	x26, _R5_UPTODATE@GOTPAGE
Lloh135:
	ldr	x26, [x26, _R5_UPTODATE@GOTPAGEOFF]
Lloh136:
	adrp	x27, _R5_ReWrite@GOTPAGE
Lloh137:
	ldr	x27, [x27, _R5_ReWrite@GOTPAGEOFF]
Lloh138:
	adrp	x28, _R5_Wantread@GOTPAGE
Lloh139:
	ldr	x28, [x28, _R5_Wantread@GOTPAGEOFF]
	b	LBB0_138
LBB0_136:                               ;   in Loop: Header=BB0_138 Depth=1
	ldr	w0, [x8]
	mov	x1, x24
	bl	_set_bit
	ldr	w0, [x25]
	mov	x1, x24
	bl	_set_bit
	ldr	w8, [sp, #152]
	add	w8, w8, #1
	str	w8, [sp, #152]
LBB0_137:                               ;   in Loop: Header=BB0_138 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #88]
	cmp	x8, x22
	b.le	LBB0_129
LBB0_138:                               ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #40]
	ldr	x9, [sp, #96]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x23]
	add	x24, x8, x9, lsl #4
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_137
; %bb.139:                              ;   in Loop: Header=BB0_138 Depth=1
	ldr	w0, [x25]
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_137
; %bb.140:                              ;   in Loop: Header=BB0_138 Depth=1
	ldr	w0, [x26]
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_137
; %bb.141:                              ;   in Loop: Header=BB0_138 Depth=1
	ldr	w0, [x27]
	mov	x1, x24
	bl	_test_bit
	mov	x8, x28
	cbnz	x0, LBB0_136
; %bb.142:                              ;   in Loop: Header=BB0_138 Depth=1
Lloh140:
	adrp	x8, _R5_Wantwrite@GOTPAGE
Lloh141:
	ldr	x8, [x8, _R5_Wantwrite@GOTPAGEOFF]
Lloh142:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_set_bit
	mov	x8, x27
	b	LBB0_136
LBB0_143:
Lloh143:
	adrp	x8, _STRIPE_INSYNC@GOTPAGE
Lloh144:
	ldr	x8, [x8, _STRIPE_INSYNC@GOTPAGEOFF]
Lloh145:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_127
; %bb.144:
	ldr	x0, [x19, #16]
Lloh146:
	adrp	x8, _STRIPE_SECTORS@GOTPAGE
Lloh147:
	ldr	x8, [x8, _STRIPE_SECTORS@GOTPAGEOFF]
Lloh148:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_md_done_sync
Lloh149:
	adrp	x8, _STRIPE_SYNCING@GOTPAGE
Lloh150:
	ldr	x8, [x8, _STRIPE_SYNCING@GOTPAGEOFF]
Lloh151:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_clear_bit
Lloh152:
	adrp	x8, _R5_Overlap@GOTPAGE
Lloh153:
	ldr	x8, [x8, _R5_Overlap@GOTPAGEOFF]
Lloh154:
	ldr	w0, [x8]
	ldr	x8, [x20, #40]
	ldr	x9, [x20, #8]
	add	x1, x8, x9, lsl #4
	bl	_test_and_clear_bit
	cbz	x0, LBB0_127
; %bb.145:
	add	x0, x19, #40
	bl	_wake_up
	b	LBB0_127
LBB0_146:
	mov	x0, x24
	bl	_release_stripe
LBB0_147:
Lloh155:
	adrp	x8, _reconstruct_state_idle@GOTPAGE
Lloh156:
	ldr	x8, [x8, _reconstruct_state_idle@GOTPAGEOFF]
Lloh157:
	ldr	x8, [x8]
	str	x8, [x20, #24]
Lloh158:
	adrp	x8, _STRIPE_EXPANDING@GOTPAGE
Lloh159:
	ldr	x8, [x8, _STRIPE_EXPANDING@GOTPAGEOFF]
Lloh160:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_clear_bit
	ldr	w22, [x19, #12]
	cbz	w22, LBB0_150
; %bb.148:
	sxtw	x8, w22
	lsl	x8, x8, #4
	sub	x23, x8, #16
Lloh161:
	adrp	x24, _R5_Wantwrite@GOTPAGE
Lloh162:
	ldr	x24, [x24, _R5_Wantwrite@GOTPAGEOFF]
Lloh163:
	adrp	x25, _R5_LOCKED@GOTPAGE
Lloh164:
	ldr	x25, [x25, _R5_LOCKED@GOTPAGEOFF]
LBB0_149:                               ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldr	x8, [x20, #40]
	add	x1, x8, x23
	bl	_set_bit
	ldr	w0, [x25]
	ldr	x8, [x20, #40]
	add	x1, x8, x23
	bl	_set_bit
	ldr	w8, [sp, #152]
	add	w8, w8, #1
	str	w8, [sp, #152]
	sub	x23, x23, #16
	sub	w22, w22, #1
	cbnz	w22, LBB0_149
LBB0_150:
	ldr	x8, [sp, #168]
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_158
; %bb.151:
Lloh165:
	adrp	x8, _STRIPE_EXPANDING@GOTPAGE
Lloh166:
	ldr	x8, [x8, _STRIPE_EXPANDING@GOTPAGEOFF]
Lloh167:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_test_bit
	cbz	x0, LBB0_153
; %bb.152:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_157
LBB0_153:
	ldr	x8, [sp, #168]
	cbz	x8, LBB0_158
; %bb.154:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_158
; %bb.155:
	ldr	w8, [sp, #152]
	cbnz	w8, LBB0_158
; %bb.156:
Lloh168:
	adrp	x8, _STRIPE_EXPAND_READY@GOTPAGE
Lloh169:
	ldr	x8, [x8, _STRIPE_EXPAND_READY@GOTPAGEOFF]
Lloh170:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_clear_bit
	add	x0, x19, #44
	bl	_atomic_dec
	add	x0, x19, #40
	bl	_wake_up
	ldr	x0, [x19, #16]
Lloh171:
	adrp	x8, _STRIPE_SECTORS@GOTPAGE
Lloh172:
	ldr	x8, [x8, _STRIPE_SECTORS@GOTPAGEOFF]
Lloh173:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_md_done_sync
	b	LBB0_158
LBB0_157:
	ldr	w8, [x19, #12]
	str	w8, [x20]
	ldr	x0, [x20, #32]
	mov	x1, x19
	mov	w2, #0
	mov	x3, x20
	bl	_stripe_set_idx
	add	x1, sp, #80
	mov	x0, x20
	mov	w2, #1
	mov	w3, #1
	bl	_schedule_reconstruction
LBB0_158:
	ldr	x8, [sp, #160]
	cbz	x8, LBB0_7
; %bb.159:
	ldr	w8, [sp, #152]
	cbnz	w8, LBB0_7
; %bb.160:
Lloh174:
	adrp	x8, _STRIPE_COMPUTE_RUN@GOTPAGE
Lloh175:
	ldr	x8, [x8, _STRIPE_COMPUTE_RUN@GOTPAGEOFF]
Lloh176:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_test_bit
	cbnz	x0, LBB0_7
; %bb.161:
	mov	x0, x19
	mov	x1, x20
	bl	_handle_stripe_expansion
	b	LBB0_7
LBB0_162:
Lloh177:
	adrp	x8, _R5_UPTODATE@GOTPAGE
Lloh178:
	ldr	x8, [x8, _R5_UPTODATE@GOTPAGEOFF]
Lloh179:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_84
; %bb.163:
Lloh180:
	adrp	x8, _R5_Discard@GOTPAGE
Lloh181:
	ldr	x8, [x8, _R5_Discard@GOTPAGEOFF]
Lloh182:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_84
	b	LBB0_91
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh138, Lloh139
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpLdrGot	Lloh134, Lloh135
	.loh AdrpLdrGot	Lloh132, Lloh133
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGot	Lloh163, Lloh164
	.loh AdrpLdrGot	Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh165, Lloh166, Lloh167
	.loh AdrpLdrGotLdr	Lloh171, Lloh172, Lloh173
	.loh AdrpLdrGotLdr	Lloh168, Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh174, Lloh175, Lloh176
	.loh AdrpLdrGotLdr	Lloh177, Lloh178, Lloh179
	.loh AdrpLdrGotLdr	Lloh180, Lloh181, Lloh182
	.cfi_endproc
                                        ; -- End function
	.comm	_STRIPE_SYNC_REQUESTED,4,2      ; @STRIPE_SYNC_REQUESTED
	.comm	_STRIPE_DISCARD,4,2             ; @STRIPE_DISCARD
	.comm	_STRIPE_SYNCING,4,2             ; @STRIPE_SYNCING
	.comm	_STRIPE_INSYNC,4,2              ; @STRIPE_INSYNC
	.comm	_STRIPE_REPLACED,4,2            ; @STRIPE_REPLACED
	.comm	_STRIPE_HANDLE,4,2              ; @STRIPE_HANDLE
	.comm	_STRIPE_DELAYED,4,2             ; @STRIPE_DELAYED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"handling stripe %llu, state=%#lx cnt=%d, pd_idx=%d, qd_idx=%d\n, check:%d, reconstruct:%d\n"

	.comm	_STRIPE_BIOFILL_RUN,4,2         ; @STRIPE_BIOFILL_RUN
	.comm	_STRIPE_OP_BIOFILL,4,2          ; @STRIPE_OP_BIOFILL
l_.str.1:                               ; @.str.1
	.asciz	"locked=%d uptodate=%d to_read=%d to_write=%d failed=%d failed_num=%d,%d\n"

	.comm	_reconstruct_state_prexor_drain_result,8,3 ; @reconstruct_state_prexor_drain_result
	.comm	_reconstruct_state_drain_result,8,3 ; @reconstruct_state_drain_result
	.comm	_reconstruct_state_idle,8,3     ; @reconstruct_state_idle
	.comm	_R5_UPTODATE,4,2                ; @R5_UPTODATE
	.comm	_R5_Discard,4,2                 ; @R5_Discard
	.comm	_R5_LOCKED,4,2                  ; @R5_LOCKED
l_.str.2:                               ; @.str.2
	.asciz	"Writing block %d\n"

	.comm	_R5_Wantwrite,4,2               ; @R5_Wantwrite
	.comm	_R5_Insync,4,2                  ; @R5_Insync
	.comm	_STRIPE_PREREAD_ACTIVE,4,2      ; @STRIPE_PREREAD_ACTIVE
	.comm	_STRIPE_COMPUTE_RUN,4,2         ; @STRIPE_COMPUTE_RUN
	.comm	_R5_NeedReplace,4,2             ; @R5_NeedReplace
	.comm	_R5_WantReplace,4,2             ; @R5_WantReplace
	.comm	_STRIPE_SECTORS,4,2             ; @STRIPE_SECTORS
	.comm	_R5_Overlap,4,2                 ; @R5_Overlap
	.comm	_R5_ReadError,4,2               ; @R5_ReadError
	.comm	_R5_ReWrite,4,2                 ; @R5_ReWrite
	.comm	_R5_Wantread,4,2                ; @R5_Wantread
	.comm	_reconstruct_state_result,8,3   ; @reconstruct_state_result
	.comm	_STRIPE_EXPAND_SOURCE,4,2       ; @STRIPE_EXPAND_SOURCE
	.comm	_STRIPE_EXPANDING,4,2           ; @STRIPE_EXPANDING
	.comm	_STRIPE_EXPAND_READY,4,2        ; @STRIPE_EXPAND_READY
	.comm	_R5_WriteError,4,2              ; @R5_WriteError
	.comm	_R5_MadeGood,4,2                ; @R5_MadeGood
	.comm	_R5_MadeGoodRepl,4,2            ; @R5_MadeGoodRepl
	.comm	_IO_THRESHOLD,8,3               ; @IO_THRESHOLD
	.no_dead_strip	_handle_stripe
.subsections_via_symbols
