	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid5_sync_request
_raid5_sync_request:                    ## @raid5_sync_request
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	32(%rdi), %r15
	cmpq	%rsi, %rbx
	jle	LBB0_3
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	40(%r15), %edi
	xorl	%esi, %esi
	cmpl	$2, (%r15)
	setne	%sil
	callq	_wait_event
	movq	_MD_RECOVERY_RESHAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	28(%r14), %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reshape_request                ## TAILCALL
LBB0_3:
	movq	_MD_RECOVERY_RESHAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	28(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%r15, %rdi
	callq	_end_reshape
	jmp	LBB0_25
LBB0_5:
	movq	16(%r14), %rax
	cmpq	8(%r15), %rax
	jl	LBB0_10
## %bb.6:
	movq	_MD_RECOVERY_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	(%r14), %rcx
	subq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	$1, (%r12)
	jmp	LBB0_26
LBB0_8:
	movq	8(%r14), %rsi
	cmpq	%rbx, %rsi
	jge	LBB0_23
## %bb.9:
	movl	24(%r14), %edi
	leaq	-56(%rbp), %rdx
	movl	$1, %ecx
	callq	_md_bitmap_end_sync
	jmp	LBB0_24
LBB0_10:
	movq	_MD_RECOVERY_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_14
## %bb.11:
	cmpq	$0, 32(%r15)
	jne	LBB0_14
## %bb.12:
	movl	24(%r14), %edi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	_md_bitmap_start_sync
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	-56(%rbp), %rcx
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, %rcx
	jge	LBB0_27
LBB0_14:
	movl	24(%r14), %edi
	xorl	%r12d, %r12d
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_md_bitmap_cond_end_sync
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_raid5_get_active_stripe
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_raid5_get_active_stripe
	movq	%rax, %rbx
	movl	$1, %edi
	callq	_schedule_timeout_uninterruptible
LBB0_16:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	cmpl	$0, 16(%r15)
	jle	LBB0_22
## %bb.17:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	$1, %r12d
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%r13
	movslq	16(%r15), %rax
	cmpq	%rax, %r13
	jge	LBB0_22
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%r13,4), %edi
	callq	_READ_ONCE
	testq	%rax, %rax
	je	LBB0_18
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_Faulty@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_18
	jmp	LBB0_19
LBB0_22:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	24(%r14), %edi
	leaq	-56(%rbp), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_md_bitmap_start_sync
	movq	_STRIPE_SYNC_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_raid5_release_stripe
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_26
LBB0_23:
	movq	$0, 32(%r15)
LBB0_24:
	movl	24(%r14), %edi
	callq	_md_bitmap_close_sync
LBB0_25:
	xorl	%ecx, %ecx
LBB0_26:
	movq	%rcx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movl	$1, (%r12)
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_29
## %bb.28:
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	subq	%rdx, %rcx
	jmp	LBB0_26
LBB0_29:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	subq	%rdx, %rcx
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_MD_RECOVERY_RESHAPE,4,2        ## @MD_RECOVERY_RESHAPE
	.comm	_MD_RECOVERY_SYNC,4,2           ## @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_REQUESTED,4,2      ## @MD_RECOVERY_REQUESTED
	.comm	_STRIPE_SECTORS,8,3             ## @STRIPE_SECTORS
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_STRIPE_SYNC_REQUESTED,4,2      ## @STRIPE_SYNC_REQUESTED
	.comm	_STRIPE_HANDLE,4,2              ## @STRIPE_HANDLE
	.no_dead_strip	_raid5_sync_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid5_sync_request
_raid5_sync_request:                    ; @raid5_sync_request
	.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
	mov	x19, x0
	ldr	x21, [x0, #32]
	ldr	x23, [x0]
	cmp	x23, x1
	b.le	LBB0_3
; %bb.1:
	mov	x22, x2
	mov	x20, x1
	ldr	w0, [x21, #40]
	ldr	w8, [x21]
	cmp	w8, #2
	cset	w1, ne
	bl	_wait_event
Lloh0:
	adrp	x8, _MD_RECOVERY_RESHAPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MD_RECOVERY_RESHAPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x23, x19, #28
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	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	_reshape_request
LBB0_3:
Lloh3:
	adrp	x8, _MD_RECOVERY_RESHAPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD_RECOVERY_RESHAPE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #28
	bl	_test_bit
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	_end_reshape
	mov	x0, #0
	b	LBB0_26
LBB0_5:
	ldr	x8, [x19, #16]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.lt	LBB0_10
; %bb.6:
Lloh6:
	adrp	x8, _MD_RECOVERY_SYNC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MD_RECOVERY_SYNC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x8, [x19]
	sub	x0, x8, x20
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_26
LBB0_8:
	ldr	x1, [x19, #8]
	cmp	x1, x23
	b.ge	LBB0_22
; %bb.9:
	ldr	w0, [x19, #24]
	add	x2, sp, #8
	mov	w3, #1
	bl	_md_bitmap_end_sync
	b	LBB0_23
LBB0_10:
Lloh9:
	adrp	x8, _MD_RECOVERY_REQUESTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MD_RECOVERY_REQUESTED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
Lloh12:
	adrp	x24, _STRIPE_SECTORS@GOTPAGE
Lloh13:
	ldr	x24, [x24, _STRIPE_SECTORS@GOTPAGEOFF]
	cbnz	x0, LBB0_14
; %bb.11:
	ldr	x8, [x21, #32]
	cbnz	x8, LBB0_14
; %bb.12:
	ldr	w0, [x19, #24]
	add	x2, sp, #8
	mov	x1, x20
	mov	w3, #1
	bl	_md_bitmap_start_sync
	cbnz	w0, LBB0_14
; %bb.13:
	ldr	x8, [sp, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ge	LBB0_27
LBB0_14:
	ldr	w0, [x19, #24]
	mov	x1, x20
	mov	w2, #0
	bl	_md_bitmap_cond_end_sync
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	bl	_raid5_get_active_stripe
	mov	x22, x0
	cbnz	x0, LBB0_16
; %bb.15:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_raid5_get_active_stripe
	mov	x22, x0
	mov	w0, #1
	bl	_schedule_timeout_uninterruptible
LBB0_16:
	bl	_rcu_read_lock
	ldr	w8, [x21, #16]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.17:
	mov	x25, #0
	mov	w23, #0
Lloh14:
	adrp	x26, _Faulty@GOTPAGE
Lloh15:
	ldr	x26, [x26, _Faulty@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	w23, #1
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x21, #16]
	cmp	x25, x8
	b.ge	LBB0_25
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	ldr	w0, [x8, x25, lsl #2]
	bl	_READ_ONCE
	cbz	x0, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x1, x0
	ldr	w0, [x26]
	bl	_test_bit
	cbnz	x0, LBB0_18
	b	LBB0_19
LBB0_22:
	str	xzr, [x21, #32]
LBB0_23:
	ldr	w0, [x19, #24]
	bl	_md_bitmap_close_sync
	mov	x0, #0
	b	LBB0_26
LBB0_24:
	mov	w23, #0
LBB0_25:
	bl	_rcu_read_unlock
	ldr	w0, [x19, #24]
	add	x2, sp, #8
	mov	x1, x20
	mov	x3, x23
	bl	_md_bitmap_start_sync
Lloh16:
	adrp	x8, _STRIPE_SYNC_REQUESTED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STRIPE_SYNC_REQUESTED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
Lloh19:
	adrp	x8, _STRIPE_HANDLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STRIPE_HANDLE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
	mov	x0, x22
	bl	_raid5_release_stripe
	ldr	x0, [x24]
LBB0_26:
	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
	ret
LBB0_27:
	mov	w10, #1
	str	w10, [x22]
	sdiv	x8, x8, x9
	mul	x0, x8, x9
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MD_RECOVERY_RESHAPE,4,2        ; @MD_RECOVERY_RESHAPE
	.comm	_MD_RECOVERY_SYNC,4,2           ; @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_REQUESTED,4,2      ; @MD_RECOVERY_REQUESTED
	.comm	_STRIPE_SECTORS,8,3             ; @STRIPE_SECTORS
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_STRIPE_SYNC_REQUESTED,4,2      ; @STRIPE_SYNC_REQUESTED
	.comm	_STRIPE_HANDLE,4,2              ; @STRIPE_HANDLE
	.no_dead_strip	_raid5_sync_request
.subsections_via_symbols
