	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5c_flush_stripe
_r5c_flush_stripe:                      ## @r5c_flush_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	8(%rsi), %r15
	movq	%r15, %rdi
	callq	_list_empty
	movl	%eax, %edi
	callq	_BUG_ON
	movq	_STRIPE_R5C_CACHING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_BUG_ON
	movq	_STRIPE_ON_RELEASE_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_BUG_ON
	leaq	12(%r14), %rdi
	callq	_lockdep_assert_held
	movq	%r15, %rdi
	callq	_list_del_init
	leaq	4(%rbx), %rdi
	callq	_atomic_inc
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	leaq	8(%r14), %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	callq	_r5c_make_stripe_write_out
	movq	_STRIPE_R5C_PARTIAL_STRIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$4, %r14
LBB0_2:
	movq	%r14, %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raid5_release_stripe           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STRIPE_R5C_CACHING,4,2         ## @STRIPE_R5C_CACHING
	.comm	_STRIPE_HANDLE,4,2              ## @STRIPE_HANDLE
	.comm	_STRIPE_ON_RELEASE_LIST,4,2     ## @STRIPE_ON_RELEASE_LIST
	.comm	_STRIPE_R5C_PARTIAL_STRIPE,4,2  ## @STRIPE_R5C_PARTIAL_STRIPE
	.no_dead_strip	_r5c_flush_stripe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r5c_flush_stripe
_r5c_flush_stripe:                      ; @r5c_flush_stripe
	.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
	mov	x19, x1
	mov	x20, x0
	add	x21, x1, #8
	mov	x0, x21
	bl	_list_empty
	bl	_BUG_ON
Lloh0:
	adrp	x8, _STRIPE_R5C_CACHING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRIPE_R5C_CACHING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh3:
	adrp	x22, _STRIPE_HANDLE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _STRIPE_HANDLE@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x19
	bl	_test_bit
	bl	_BUG_ON
Lloh5:
	adrp	x8, _STRIPE_ON_RELEASE_LIST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRIPE_ON_RELEASE_LIST@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	bl	_BUG_ON
	add	x0, x20, #12
	bl	_lockdep_assert_held
	mov	x0, x21
	bl	_list_del_init
	add	x0, x19, #4
	bl	_atomic_inc
	ldr	w0, [x22]
	mov	x1, x19
	bl	_set_bit
	add	x0, x20, #8
	bl	_atomic_inc
	mov	x0, x19
	bl	_r5c_make_stripe_write_out
Lloh8:
	adrp	x8, _STRIPE_R5C_PARTIAL_STRIPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STRIPE_R5C_PARTIAL_STRIPE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	add	x0, x20, #4
	b	LBB0_3
LBB0_2:
	mov	x0, x20
LBB0_3:
	bl	_atomic_inc
	mov	x0, x19
	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
	b	_raid5_release_stripe
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRIPE_R5C_CACHING,4,2         ; @STRIPE_R5C_CACHING
	.comm	_STRIPE_HANDLE,4,2              ; @STRIPE_HANDLE
	.comm	_STRIPE_ON_RELEASE_LIST,4,2     ; @STRIPE_ON_RELEASE_LIST
	.comm	_STRIPE_R5C_PARTIAL_STRIPE,4,2  ; @STRIPE_R5C_PARTIAL_STRIPE
	.no_dead_strip	_r5c_flush_stripe
.subsections_via_symbols
