	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reshape_request
_reshape_request:                       ## @reshape_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	48(%rdi), %rax
	testl	%esi, %esi
	je	LBB0_1
LBB0_8:
	cmpq	$0, 24(%r15)
	movq	(%rax), %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.9:
	decl	%edi
	leaq	32(%rax), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_first_dev_address
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	decl	%edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	48(%rax), %rsi
	callq	_last_dev_address
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	12(%rcx), %r14d
	movl	(%rcx), %r8d
	movl	48(%rcx), %ebx
	decl	%r8d
	andl	32(%rcx), %ebx
	notl	%ebx
	andl	%r8d, %ebx
	movq	_RESYNC_BLOCK_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leal	511(%rdx), %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	sarl	$9, %esi
	leal	(%rbx,%rsi), %edx
	movl	%r8d, %edi
	subl	%esi, %edi
	incl	%edi
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	cmpl	%r8d, %edx
	cmovgel	%ebx, %edi
	movq	%rdi, %r12
	cmpl	%eax, %r14d
	jge	LBB0_11
	jmp	LBB0_12
LBB0_1:
	movq	%rdx, %r14
	cmpq	$0, 24(%r15)
	je	LBB0_5
## %bb.2:
	movq	(%rax), %rbx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rax, %r12
	callq	_raid10_size
	cmpq	%rax, %rbx
	jae	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_raid10_size
	movq	%rax, %rbx
	subq	(%r12), %rbx
	movq	%r12, %rax
	jmp	LBB0_6
LBB0_10:
	leaq	32(%rax), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_last_dev_address
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	48(%rax), %rsi
	callq	_first_dev_address
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	12(%rcx), %eax
	movl	48(%rcx), %edi
	andl	32(%rcx), %edi
	movl	(%rcx), %ebx
	orl	%ebx, %edi
	movq	_RESYNC_BLOCK_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leal	511(%rdx), %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	sarl	$9, %esi
	leal	(%rsi,%rbx), %edx
	cmpl	%edi, %edx
	movq	%rbx, %r12
	leal	-1(%rsi,%rbx), %edx
	cmovgl	%edi, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %r14d
	jg	LBB0_12
LBB0_11:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,4), %rsi
	addq	%rsi, %rsi
	addq	40(%rcx), %rsi
	callq	_time_after
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_18
LBB0_12:
	movq	%rcx, %rdi
	callq	_wait_barrier
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movl	%eax, 4(%r15)
	cmpq	$0, 24(%r15)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_raid10_size
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subl	(%rcx), %eax
LBB0_14:
	movl	%eax, (%r15)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rcx)
	movq	_MD_CHANGE_DEVS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_set_bit
	movl	36(%r15), %edi
	callq	_md_wakeup_thread
	movl	32(%r15), %ebx
	cmpq	$0, 8(%r15)
	je	LBB0_15
## %bb.16:
	xorl	%eax, %eax
	callq	_kthread_should_stop
	xorl	%esi, %esi
	testq	%rax, %rax
	setne	%sil
	jmp	LBB0_17
LBB0_15:
	movl	$1, %esi
LBB0_17:
	movl	%ebx, %edi
	callq	_wait_event
	movl	4(%r15), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_allow_barrier
	movq	%rbx, %rcx
LBB0_18:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	leaq	32(%rcx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, %rbx
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%r13d, %r13d
LBB0_43:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%r13d, 16(%r8)
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	16(%rbx), %edi
	movl	%r13d, %esi
	callq	_md_sync_acct
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_atomic_inc
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_generic_make_request
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	addl	%r13d, %ebx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	addl	%r13d, %r14d
	cmpl	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jg	LBB0_44
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_32 Depth 2
                                        ##       Child Loop BB0_34 Depth 3
                                        ##     Child Loop BB0_38 Depth 2
	movl	36(%rcx), %edi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %r12
	callq	_mempool_alloc
	movq	%rax, %r13
	xorl	%esi, %esi
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	setne	%sil
	movq	%r12, %rdi
	callq	_raise_barrier
	leaq	32(%r13), %rdi
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%r15, 56(%r13)
	movl	%ebx, (%r13)
	movq	_R10BIO_IsReshape@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r13), %r14
	movq	%r14, %rsi
	callq	_set_bit
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	subl	%ebx, %eax
	movl	%eax, 16(%r13)
	movq	%r12, %rdi
	movq	%r13, %rsi
	leaq	-60(%rbp), %rdx
	callq	_read_balance
	movq	%rax, %rbx
	movq	_R10BIO_Previous@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RESYNC_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_bio_alloc_mddev
	movq	%rax, %r15
	movl	16(%rbx), %eax
	movl	%eax, 16(%r15)
	movq	24(%r13), %rax
	movq	40(%r13), %rcx
	shlq	$5, %rax
	movq	24(%rbx), %rdx
	addq	16(%rcx,%rax), %rdx
	movq	%rdx, 64(%r15)
	movq	%r13, 56(%r15)
	movq	_end_sync_read@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 52(%r15)
	movq	_READ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 48(%r15)
	xorl	%edx, %edx
	movq	_BIO_POOL_MASK@GOTPCREL(%rip), %rsi
	subl	(%rsi), %edx
	andl	(%r15), %edx
	movl	%edx, (%r15)
	movq	_BIO_UPTODATE@GOTPCREL(%rip), %rsi
	movb	(%rsi), %sil
	btsl	%esi, %edx
	movl	%edx, (%r15)
	movq	$0, 24(%r15)
	movq	$0, 40(%r15)
	movl	$0, 4(%r15)
	movq	%r15, 48(%r13)
	movq	(%rcx,%rax), %rax
	movq	%rax, 24(%r13)
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	___raid10_find_phys
	movq	$0, 8(%r15)
	cmpl	$0, 16(%r12)
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %r8
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rdi
	xorl	%ebx, %ebx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_23 Depth=2
	movq	%r12, %r15
LBB0_30:                                ##   in Loop: Header=BB0_23 Depth=2
	incl	%ebx
	movl	16(%rdi), %eax
	addl	%eax, %eax
	movq	%r15, %r12
	cmpl	%eax, %ebx
	jge	LBB0_25
LBB0_23:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%r8), %rax
	movl	%ebx, %r13d
	shrl	%r13d
	shlq	$5, %r13
	movslq	(%rax,%r13), %rcx
	movq	24(%rdi), %rdx
	shlq	$4, %rcx
	leaq	(%rdx,%rcx), %rsi
	testb	$1, %bl
	leaq	8(%rdx,%rcx), %rcx
	leaq	24(%rax,%r13), %rdx
	leaq	8(%rax,%r13), %rax
	cmovneq	%rdx, %rax
	cmoveq	%rsi, %rcx
	movq	(%rcx), %r14
	testq	%r14, %r14
	je	LBB0_24
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	(%rax), %r15
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	%r12, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_23 Depth=2
	movl	16(%r14), %eax
	movl	%eax, 16(%r15)
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	40(%r8), %rax
	movq	8(%r14), %rcx
	addq	16(%rax,%r13), %rcx
	movq	%rcx, 64(%r15)
	movq	%r8, 56(%r15)
	movq	_end_reshape_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r15)
	movq	_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	xorl	%eax, %eax
	movq	_BIO_POOL_MASK@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	andl	(%r15), %eax
	movl	%eax, (%r15)
	movq	_BIO_UPTODATE@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	btsl	%ecx, %eax
	movl	%eax, (%r15)
	movq	%r12, 8(%r15)
	movq	$0, 24(%r15)
	movq	$0, 40(%r15)
	movl	$0, 4(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	-60(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_26
## %bb.31:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_32 Depth=2
	sarl	$9, %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addl	%r14d, %r13d
	addl	%edi, %ebx
	cmpl	%ebx, %ecx
	jle	LBB0_43
LBB0_32:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_34 Depth 3
	movl	%esi, %edi
	sarl	$9, %edi
	movl	%ebx, %eax
	cltd
	idivl	%edi
	movl	%ecx, %r14d
	subl	%ebx, %r14d
	shll	$9, %r14d
	cmpl	%esi, %r14d
	cmovgel	%esi, %r14d
	testq	%r15, %r15
	je	LBB0_42
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	movq	40(%r8), %rcx
	movq	8(%rcx), %rcx
	movq	32(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %r12
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_19 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_bio_add_page
	testq	%rax, %rax
	je	LBB0_35
## %bb.40:                              ##   in Loop: Header=BB0_34 Depth=3
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_34
## %bb.41:                              ##   in Loop: Header=BB0_32 Depth=2
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-60(%rbp), %ecx
	movl	%esi, %edi
	sarl	$9, %edi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpq	%rbx, %r15
	je	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_BIO_SEG_VALID@GOTPCREL(%rip), %rdx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decq	24(%r15)
	subl	%r14d, 4(%r15)
	movzbl	(%rdx), %ecx
	movl	$-2, %eax
	roll	%cl, %eax
	andl	%eax, (%r15)
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_43
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	cmpq	%rbx, %r15
	jne	LBB0_38
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_43
LBB0_20:
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %r15
	movq	%r15, %rsi
	callq	_set_bit
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_48
LBB0_44:
	cmpq	$0, 24(%r15)
	movq	(%rcx), %rax
	movslq	%r14d, %rdx
	je	LBB0_46
## %bb.45:
	subq	%rdx, %rax
	jmp	LBB0_47
LBB0_46:
	addq	%rdx, %rax
LBB0_47:
	movq	%rax, (%rcx)
	jmp	LBB0_48
LBB0_4:
	cmpq	$0, 24(%r15)
	movq	%r12, %rax
	jne	LBB0_8
LBB0_5:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_6:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	movl	%ebx, (%r15)
	addq	$40, %r15
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movl	$1, (%r14)
	movq	%rbx, %r14
LBB0_48:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sync_completed"

	.comm	_RESYNC_BLOCK_SIZE,4,2          ## @RESYNC_BLOCK_SIZE
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_MD_CHANGE_DEVS,4,2             ## @MD_CHANGE_DEVS
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_R10BIO_IsReshape,4,2           ## @R10BIO_IsReshape
	.comm	_R10BIO_Previous,4,2            ## @R10BIO_Previous
	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_RESYNC_PAGES,4,2               ## @RESYNC_PAGES
	.comm	_end_sync_read,4,2              ## @end_sync_read
	.comm	_READ,4,2                       ## @READ
	.comm	_BIO_POOL_MASK,4,2              ## @BIO_POOL_MASK
	.comm	_BIO_UPTODATE,4,2               ## @BIO_UPTODATE
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_end_reshape_write,4,2          ## @end_reshape_write
	.comm	_WRITE,4,2                      ## @WRITE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_BIO_SEG_VALID,4,2              ## @BIO_SEG_VALID
	.no_dead_strip	_reshape_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reshape_request
_reshape_request:                       ; @reshape_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x0
	ldr	x20, [x0, #48]
	cbz	w1, LBB0_3
LBB0_1:
	ldr	x8, [x24, #24]
	ldr	x0, [x20]
Lloh0:
	adrp	x22, _jiffies@GOTPAGE
Lloh1:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
Lloh2:
	adrp	x23, _RESYNC_BLOCK_SIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _RESYNC_BLOCK_SIZE@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.2:
	sub	w0, w0, #1
	add	x1, x20, #32
	bl	_first_dev_address
	mov	x21, x0
	ldr	w8, [x20, #8]
	sub	w0, w8, #1
	add	x1, x20, #48
	bl	_last_dev_address
	ldr	w8, [x20]
	sub	w11, w8, #1
	ldr	w8, [x20, #32]
	ldr	w9, [x20, #48]
	and	w8, w9, w8
	bic	w8, w11, w8
	ldr	w9, [x23]
	add	w10, w9, #511
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #9
	add	w10, w8, w9
	cmp	w10, w11
	ldr	w10, [x20, #12]
	str	w11, [sp, #20]                  ; 4-byte Folded Spill
	sub	w9, w11, w9
	csinc	w19, w8, w9, ge
	add	w8, w10, w21
	cmp	w8, w0
	b.ge	LBB0_7
	b	LBB0_8
LBB0_3:
	mov	x22, x2
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_43
; %bb.4:
	ldr	x19, [x20]
	mov	x0, x24
	mov	w1, #0
	mov	w2, #0
	bl	_raid10_size
	cmp	x19, x0
	b.hs	LBB0_42
; %bb.5:
	mov	x0, x24
	mov	w1, #0
	mov	w2, #0
	bl	_raid10_size
	ldr	x8, [x20]
	sub	x21, x0, x8
	b	LBB0_44
LBB0_6:
	add	x1, x20, #32
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_last_dev_address
	mov	x21, x0
	ldr	w0, [x20, #8]
	add	x1, x20, #48
	bl	_first_dev_address
	ldr	w8, [x20, #12]
	ldr	w19, [x20]
	ldr	w9, [x20, #32]
	ldr	w10, [x20, #48]
	and	w9, w10, w9
	orr	w9, w9, w19
	ldr	w10, [x23]
	add	w11, w10, #511
	cmp	w10, #0
	csel	w10, w11, w10, lt
	add	w10, w19, w10, asr #9
	sub	w11, w10, #1
	cmp	w10, w9
	csel	w9, w9, w11, gt
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	add	w8, w8, w0
	cmp	w21, w8
	b.gt	LBB0_8
LBB0_7:
	ldr	x0, [x22]
	ldr	x8, [x20, #40]
Lloh4:
	adrp	x9, _HZ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh6:
	ldrsw	x9, [x9]
	mov	w10, #10
	madd	x1, x9, x10, x8
	bl	_time_after
	cbz	x0, LBB0_14
LBB0_8:
	mov	x0, x20
	bl	_wait_barrier
	ldr	w8, [x20]
	str	w8, [x24, #4]
	ldr	x9, [x24, #24]
	cbz	x9, LBB0_10
; %bb.9:
	mov	x0, x24
	mov	w1, #0
	mov	w2, #0
	bl	_raid10_size
	ldr	w8, [x20]
	sub	w8, w0, w8
LBB0_10:
	str	w8, [x24]
	ldr	x8, [x22]
	str	x8, [x20, #40]
Lloh7:
	adrp	x8, _MD_CHANGE_DEVS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MD_CHANGE_DEVS@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, x24, #8
	bl	_set_bit
	ldr	w0, [x24, #36]
	bl	_md_wakeup_thread
	ldr	w21, [x24, #32]
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_12
; %bb.11:
	bl	_kthread_should_stop
	cmp	x0, #0
	cset	w1, ne
	b	LBB0_13
LBB0_12:
	mov	w1, #1
LBB0_13:
	mov	x0, x21
	bl	_wait_event
	ldr	w8, [x24, #4]
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_allow_barrier
LBB0_14:
	mov	w21, #0
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
Lloh10:
	adrp	x28, _BIO_POOL_MASK@GOTPAGE
Lloh11:
	ldr	x28, [x28, _BIO_POOL_MASK@GOTPAGEOFF]
	add	x8, x20, #32
	stp	x8, x24, [sp]                   ; 16-byte Folded Spill
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh12:
	adrp	x28, _BIO_POOL_MASK@GOTPAGE
Lloh13:
	ldr	x28, [x28, _BIO_POOL_MASK@GOTPAGEOFF]
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	str	w26, [x23, #16]
	ldr	w0, [x21, #16]
	mov	x1, x26
	bl	_md_sync_acct
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_atomic_inc
	str	xzr, [x21, #8]
	mov	x0, x21
	bl	_generic_make_request
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	add	w21, w26, w21
	add	w19, w19, w26
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w19, w8
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	b.gt	LBB0_38
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
                                        ;       Child Loop BB0_29 Depth 3
                                        ;     Child Loop BB0_34 Depth 2
	ldr	w0, [x20, #36]
Lloh14:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_mempool_alloc
	mov	x23, x0
	cmp	w21, #0
	cset	w1, ne
	mov	x0, x20
	bl	_raise_barrier
	add	x25, x23, #32
	mov	x0, x25
	mov	w1, #0
	bl	_atomic_set
	str	x24, [x23, #56]
	str	w19, [x23]
Lloh17:
	adrp	x8, _R10BIO_IsReshape@GOTPAGE
Lloh18:
	ldr	x8, [x8, _R10BIO_IsReshape@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x22, x23, #8
	mov	x1, x22
	bl	_set_bit
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	sub	w8, w8, w19
	str	w8, [x23, #16]
	add	x2, sp, #44
	mov	x0, x20
	mov	x1, x23
	bl	_read_balance
	mov	x26, x0
Lloh20:
	adrp	x8, _R10BIO_Previous@GOTPAGE
Lloh21:
	ldr	x8, [x8, _R10BIO_Previous@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	cbz	x26, LBB0_37
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	stp	x25, x21, [sp, #24]             ; 16-byte Folded Spill
Lloh23:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _RESYNC_PAGES@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RESYNC_PAGES@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x2, x24
	bl	_bio_alloc_mddev
	mov	x21, x0
	ldr	w8, [x26, #16]
	str	w8, [x0, #16]
	ldr	x8, [x23, #40]
	ldr	x9, [x23, #24]
	add	x8, x8, x9, lsl #5
	ldr	x9, [x8, #16]
	ldr	x10, [x26, #24]
	add	x9, x10, x9
	stp	x23, x9, [x0, #56]
Lloh29:
	adrp	x9, _end_sync_read@GOTPAGE
Lloh30:
	ldr	x9, [x9, _end_sync_read@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _READ@GOTPAGE
Lloh33:
	ldr	x10, [x10, _READ@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	stp	w10, w9, [x0, #48]
	ldr	w9, [x28]
	ldr	w10, [x0]
	neg	w9, w9
	and	w9, w10, w9
	str	w9, [x0]
Lloh35:
	adrp	x10, _BIO_UPTODATE@GOTPAGE
Lloh36:
	ldr	x10, [x10, _BIO_UPTODATE@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	mov	w11, #1
	lsl	w10, w11, w10
	orr	w9, w10, w9
	stp	w9, wzr, [x0]
	str	xzr, [x0, #24]
	str	xzr, [x0, #40]
	str	x0, [x23, #48]
	ldr	x8, [x8]
	str	x8, [x23, #24]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x23
	bl	___raid10_find_phys
	str	xzr, [x21, #8]
	ldr	w8, [x20, #16]
	mov	x25, x21
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w24, #0
	mov	x25, x21
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	w24, w24, #1
	ldr	w8, [x20, #16]
	cmp	w24, w8, lsl #1
	b.ge	LBB0_24
LBB0_21:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #40]
	lsr	w27, w24, #1
	add	x8, x8, x27, lsl #5
	add	x9, x8, #24
	ldr	x10, [x8], #8
	ldr	x11, [x20, #24]
	lsl	x10, x10, #32
	add	x10, x11, x10, asr #28
	add	x11, x10, #8
	tst	w24, #0x1
	csel	x8, x8, x9, eq
	csel	x9, x10, x11, eq
	ldr	x22, [x9]
	cbz	x22, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	x26, [x8]
Lloh38:
	adrp	x8, _Faulty@GOTPAGE
Lloh39:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cbnz	x0, LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	w8, [x22, #16]
	str	w8, [x26, #16]
	ldr	x8, [x23, #40]
	add	x8, x8, x27, lsl #5
	ldr	x8, [x8, #16]
	ldr	x9, [x22, #8]
	add	x8, x9, x8
	stp	x23, x8, [x26, #56]
Lloh41:
	adrp	x8, _end_reshape_write@GOTPAGE
Lloh42:
	ldr	x8, [x8, _end_reshape_write@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _WRITE@GOTPAGE
Lloh45:
	ldr	x9, [x9, _WRITE@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	stp	w9, w8, [x26, #48]
	ldr	w8, [x28]
	ldr	w9, [x26]
	neg	w8, w8
	and	w8, w9, w8
	str	w8, [x26]
Lloh47:
	adrp	x9, _BIO_UPTODATE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _BIO_UPTODATE@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w8, w9, w8
	stp	w8, wzr, [x26]
	str	x25, [x26, #8]
	str	xzr, [x26, #24]
	str	xzr, [x26, #40]
	mov	x25, x26
	b	LBB0_20
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [sp, #44]
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w24, #0
	mov	w26, #0
Lloh50:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	asr	w11, w27, #9
	add	w19, w11, w19
	add	w26, w11, w26
	add	w24, w10, w24
	cmp	w8, w24
	b.le	LBB0_16
LBB0_27:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_29 Depth 3
	asr	w10, w9, #9
	sub	w11, w8, w24
	lsl	w11, w11, #9
	cmp	w11, w9
	csel	w27, w11, w9, lt
	cbz	x25, LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	x8, [x23, #40]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, #32]
	sdiv	w9, w24, w10
	ldr	x22, [x8, w9, sxtw #3]
	mov	x28, x25
LBB0_29:                                ;   Parent Loop BB0_17 Depth=1
                                        ;     Parent Loop BB0_27 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x28
	mov	x1, x22
	mov	x2, x27
	mov	w3, #0
	bl	_bio_add_page
	cbz	x0, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=3
	ldr	x28, [x28, #8]
	cbnz	x28, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=2
Lloh53:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x8]
	ldr	w8, [sp, #44]
	asr	w10, w9, #9
Lloh56:
	adrp	x28, _BIO_POOL_MASK@GOTPAGE
Lloh57:
	ldr	x28, [x28, _BIO_POOL_MASK@GOTPAGEOFF]
	b	LBB0_26
LBB0_32:                                ;   in Loop: Header=BB0_17 Depth=1
	cmp	x25, x28
	b.eq	LBB0_15
; %bb.33:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w11, #1
Lloh58:
	adrp	x12, _BIO_SEG_VALID@GOTPAGE
Lloh59:
	ldr	x12, [x12, _BIO_SEG_VALID@GOTPAGEOFF]
LBB0_34:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25, #24]
	sub	x8, x8, #1
	str	x8, [x25, #24]
	ldp	w9, w8, [x25]
	sub	w8, w8, w27
	ldr	w10, [x12]
	lsl	w10, w11, w10
	bic	w9, w9, w10
	stp	w9, w8, [x25]
	ldr	x25, [x25, #8]
	cbz	x25, LBB0_15
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=2
	cmp	x25, x28
	b.ne	LBB0_34
	b	LBB0_15
LBB0_36:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w26, #0
	b	LBB0_16
LBB0_37:
Lloh60:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	add	x1, x24, #16
	bl	_set_bit
	b	LBB0_46
LBB0_38:
	ldr	x10, [x24, #24]
	ldr	x8, [x20]
	mov	x9, x21
	sxtw	x9, w9
	cbz	x10, LBB0_40
; %bb.39:
	sub	x8, x8, x9
	b	LBB0_41
LBB0_40:
	add	x8, x8, x9
LBB0_41:
	str	x8, [x20]
	b	LBB0_46
LBB0_42:
	ldr	x8, [x24, #24]
	cbnz	x8, LBB0_1
LBB0_43:
	ldr	x21, [x20]
	cbz	x21, LBB0_1
LBB0_44:
	cbz	w21, LBB0_1
; %bb.45:
	str	w21, [x24], #40
Lloh63:
	adrp	x2, l_.str@PAGE
Lloh64:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x24
	mov	x1, #0
	bl	_sysfs_notify
	mov	w8, #1
	str	w8, [x22]
LBB0_46:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sync_completed"

	.comm	_RESYNC_BLOCK_SIZE,4,2          ; @RESYNC_BLOCK_SIZE
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_MD_CHANGE_DEVS,4,2             ; @MD_CHANGE_DEVS
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_R10BIO_IsReshape,4,2           ; @R10BIO_IsReshape
	.comm	_R10BIO_Previous,4,2            ; @R10BIO_Previous
	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RESYNC_PAGES,4,2               ; @RESYNC_PAGES
	.comm	_end_sync_read,4,2              ; @end_sync_read
	.comm	_READ,4,2                       ; @READ
	.comm	_BIO_POOL_MASK,4,2              ; @BIO_POOL_MASK
	.comm	_BIO_UPTODATE,4,2               ; @BIO_UPTODATE
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_end_reshape_write,4,2          ; @end_reshape_write
	.comm	_WRITE,4,2                      ; @WRITE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_BIO_SEG_VALID,4,2              ; @BIO_SEG_VALID
	.no_dead_strip	_reshape_request
.subsections_via_symbols
