	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_reshape_read_error
_handle_reshape_read_error:             ## @handle_reshape_read_error
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rsi), %r13d
	movq	8(%rdi), %r14
	movq	_devs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	callq	_struct_size
	movq	_GFP_NOIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	movq	8(%r15), %rax
	movl	16(%rax), %edi
	callq	_get_resync_pages
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	leaq	16(%r14), %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	___raid10_find_phys
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%rax), %ebx
	sarl	$9, %ebx
	cmpl	%ebx, %r13d
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	cmovll	%r13d, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	shll	$9, %ebx
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=2
	incl	%r15d
	cmpl	(%r14), %r15d
	movl	$0, %eax
	cmovgel	%eax, %r15d
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	je	LBB0_11
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%r15d, %rcx
	leaq	(%rcx,%rcx,2), %r12
	movslq	(%rax,%r12,8), %rax
	movq	8(%r14), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%rax, %r13
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movslq	%r14d, %rbx
	imulq	%rcx, %rbx
	addq	8(%rax,%r12,8), %rbx
	movq	%r13, %rdi
	callq	_atomic_inc
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%r14,8), %rcx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	_REQ_OP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_sync_page_io
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_rdev_dec_pending
	xorl	%eax, %eax
	callq	_rcu_read_lock
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	incq	-80(%rbp)                       ## 8-byte Folded Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	subl	-60(%rbp), %r13d                ## 4-byte Folded Reload
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	jne	LBB0_3
LBB0_10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_11:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_MD_RECOVERY_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_13:
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_devs,4,2                       ## @devs
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_MD_RECOVERY_INTR,4,2           ## @MD_RECOVERY_INTR
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_In_sync,4,2                    ## @In_sync
	.comm	_REQ_OP_READ,4,2                ## @REQ_OP_READ
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_handle_reshape_read_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_reshape_read_error
_handle_reshape_read_error:             ; @handle_reshape_read_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x1
	mov	x19, x0
	ldr	w22, [x1]
	ldr	x25, [x0, #8]
Lloh0:
	adrp	x8, _devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _devs@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x25]
	bl	_struct_size
Lloh3:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #16]
	bl	_get_resync_pages
	ldr	x8, [x0]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w8, [x21, #16]
	str	w8, [x20, #16]
	add	x0, x25, #16
	mov	x1, x20
	bl	___raid10_find_phys
	cbz	w22, LBB0_10
; %bb.2:
	mov	x21, #0
	mov	w26, #0
Lloh6:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	mov	w28, #24
Lloh8:
	adrp	x24, _Faulty@GOTPAGE
Lloh9:
	ldr	x24, [x24, _Faulty@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w8, [x8]
	asr	w8, w8, #9
	cmp	w22, w8
	str	w22, [sp, #8]                   ; 4-byte Folded Spill
	csel	w22, w22, w8, lt
	bl	_rcu_read_lock
	str	w22, [sp, #4]                   ; 4-byte Folded Spill
	lsl	w8, w22, #9
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	mov	x27, x26
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	w8, w27, #1
	ldr	w9, [x25]
	cmp	w8, w9
	csinc	w27, wzr, w27, ge
	cmp	w27, w26
	b.eq	LBB0_11
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	smull	x9, w27, w28
	ldrsw	x8, [x8, x9]
	ldr	x9, [x25, #8]
	ldr	w0, [x9, x8, lsl #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	x22, x0
	ldr	w0, [x24]
	add	x23, x22, #4
	mov	x1, x23
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
Lloh10:
	adrp	x8, _In_sync@GOTPAGE
Lloh11:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=2
	sxtw	x8, w27
	ldr	x9, [x20, #8]
	madd	x8, x8, x28, x9
	ldr	x8, [x8, #8]
Lloh13:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh15:
	ldrsw	x9, [x9]
	sxtw	x10, w21
	madd	x23, x9, x10, x8
	mov	x0, x22
	bl	_atomic_inc
	bl	_rcu_read_unlock
	ldp	x9, x8, [sp, #16]               ; 16-byte Folded Reload
	ldr	x3, [x8, x9, lsl #3]
Lloh16:
	adrp	x8, _REQ_OP_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REQ_OP_READ@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x1, x23
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	mov	w5, #0
	mov	w6, #0
	bl	_sync_page_io
	mov	x23, x0
	mov	x0, x22
	mov	x1, x19
	bl	_rdev_dec_pending
	bl	_rcu_read_lock
	cbz	w23, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_rcu_read_unlock
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	add	x21, x21, #1
	mov	x26, x27
	ldp	w8, w22, [sp, #4]               ; 8-byte Folded Reload
	subs	w22, w22, w8
Lloh19:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	b.ne	LBB0_3
LBB0_10:
	mov	x0, x20
	bl	_kfree
	mov	w0, #0
	b	LBB0_14
LBB0_11:
	bl	_rcu_read_unlock
Lloh21:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	x0, x20
	bl	_kfree
Lloh24:
	adrp	x8, _EIO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh26:
	adrp	x8, _MD_RECOVERY_INTR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MD_RECOVERY_INTR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_devs,4,2                       ; @devs
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_MD_RECOVERY_INTR,4,2           ; @MD_RECOVERY_INTR
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_In_sync,4,2                    ; @In_sync
	.comm	_REQ_OP_READ,4,2                ; @REQ_OP_READ
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_handle_reshape_read_error
.subsections_via_symbols
