	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_stripe_expansion
_handle_stripe_expansion:               ## @handle_stripe_expansion
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	$0, -80(%rbp)
	movl	24(%rsi), %edi
	callq	_BUG_ON
	movq	_STRIPE_EXPAND_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r13), %rsi
	callq	_clear_bit
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_21
## %bb.1:
	xorl	%ecx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %r14
	xorl	%ebx, %ebx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_raid5_release_stripe
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %eax
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_21
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	4(%r13), %ecx
	cmpq	%rcx, %rbx
	je	LBB0_20
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r13), %ecx
	cmpq	%rcx, %rbx
	je	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_raid5_compute_blocknr
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_raid5_compute_sector
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_raid5_get_active_stripe
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	_STRIPE_EXPANDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	addq	$12, %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_R5_Expanded@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movslq	-44(%rbp), %rsi
	shlq	$3, %rsi
	addq	16(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_init_async_submit
	movq	16(%r15), %rax
	movslq	-44(%rbp), %rcx
	movl	4(%rax,%rcx,8), %edi
	movq	16(%r13), %rax
	movl	4(%rax,%rbx,8), %esi
	movq	_STRIPE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-64(%rbp), %r9
	callq	_async_memcpy
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)
	movl	(%r12), %edi
	movslq	-44(%rbp), %rsi
	shlq	$3, %rsi
	addq	16(%r15), %rsi
	callq	_set_bit
	movq	_R5_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	-44(%rbp), %rsi
	shlq	$3, %rsi
	addq	16(%r15), %rsi
	callq	_set_bit
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%r14
	movslq	%ecx, %rax
	addq	$8, %r12
	cmpq	%rax, %r14
	jge	LBB0_14
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r15), %eax
	cmpq	%rax, %r14
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	8(%r15), %eax
	cmpq	%rax, %r14
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	_R5_Expanded@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rsi
	addq	%r12, %rsi
	callq	_test_bit
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %r14d
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_STRIPE_EXPAND_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_set_bit
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-44(%rbp), %r14
	jmp	LBB0_18
LBB0_21:
	leaq	-80(%rbp), %rdi
	callq	_async_tx_quiesce
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRIPE_EXPAND_SOURCE,4,2       ## @STRIPE_EXPAND_SOURCE
	.comm	_STRIPE_EXPANDING,4,2           ## @STRIPE_EXPANDING
	.comm	_R5_Expanded,4,2                ## @R5_Expanded
	.comm	_STRIPE_SIZE,4,2                ## @STRIPE_SIZE
	.comm	_R5_UPTODATE,4,2                ## @R5_UPTODATE
	.comm	_STRIPE_EXPAND_READY,4,2        ## @STRIPE_EXPAND_READY
	.comm	_STRIPE_HANDLE,4,2              ## @STRIPE_HANDLE
	.no_dead_strip	_handle_stripe_expansion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_stripe_expansion
_handle_stripe_expansion:               ; @handle_stripe_expansion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	ldr	w0, [x1, #24]
	bl	_BUG_ON
Lloh0:
	adrp	x8, _STRIPE_EXPAND_SOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRIPE_EXPAND_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_clear_bit
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x22, #0
	mov	x21, #0
Lloh3:
	adrp	x25, _STRIPE_EXPANDING@GOTPAGE
Lloh4:
	ldr	x25, [x25, _STRIPE_EXPANDING@GOTPAGEOFF]
Lloh5:
	adrp	x26, _R5_Expanded@GOTPAGE
Lloh6:
	ldr	x26, [x26, _R5_Expanded@GOTPAGEOFF]
Lloh7:
	adrp	x28, _STRIPE_SIZE@GOTPAGE
Lloh8:
	ldr	x28, [x28, _STRIPE_SIZE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_raid5_release_stripe
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_19
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w9, [x19, #4]
	cmp	x21, x9
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x19, #8]
	cmp	x21, x9
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_raid5_compute_blocknr
	mov	x1, x0
	add	x3, sp, #4
	mov	x0, x20
	mov	w2, #0
	mov	x4, #0
	bl	_raid5_compute_sector
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #1
	bl	_raid5_get_active_stripe
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	ldr	w0, [x25]
	add	x24, x23, #12
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x26]
	ldr	x8, [x23, #16]
	ldrsw	x9, [sp, #4]
	add	x1, x8, x9, lsl #3
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	x2, x22
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_init_async_submit
	ldr	x8, [x23, #16]
	ldrsw	x9, [sp, #4]
	add	x8, x8, x9, lsl #3
	ldr	w0, [x8, #4]
	ldr	x8, [x19, #16]
	add	x8, x8, x21, lsl #3
	ldr	w1, [x8, #4]
	ldr	w4, [x28]
	mov	x5, sp
	mov	w2, #0
	mov	w3, #0
	bl	_async_memcpy
	mov	x22, x0
	str	x0, [sp, #8]
	ldr	w0, [x26]
	ldr	x8, [x23, #16]
	ldrsw	x9, [sp, #4]
	add	x1, x8, x9, lsl #3
	bl	_set_bit
Lloh9:
	adrp	x8, _R5_UPTODATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _R5_UPTODATE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [x23, #16]
	ldrsw	x9, [sp, #4]
	add	x1, x8, x9, lsl #3
	bl	_set_bit
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x28
	mov	x28, #0
	mov	x27, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x27, x27, #1
	add	x28, x28, #8
	cmp	x27, w8, sxtw
	b.ge	LBB0_16
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x23, #4]
	cmp	x27, x9
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w9, [x23, #8]
	cmp	x27, x9
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x26]
	ldr	x8, [x23, #16]
	add	x1, x8, x28
	bl	_test_bit
	ldr	w8, [x20]
	cbnz	x0, LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x25
Lloh12:
	adrp	x25, _STRIPE_EXPANDING@GOTPAGE
Lloh13:
	ldr	x25, [x25, _STRIPE_EXPANDING@GOTPAGEOFF]
	cmp	w27, w8
	b.ne	LBB0_2
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w27, #0
	cmp	w27, w8
	b.ne	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x8, _STRIPE_EXPAND_READY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STRIPE_EXPAND_READY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_set_bit
Lloh17:
	adrp	x8, _STRIPE_HANDLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STRIPE_HANDLE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_set_bit
	b	LBB0_2
LBB0_19:
	add	x0, sp, #8
	bl	_async_tx_quiesce
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_STRIPE_EXPAND_SOURCE,4,2       ; @STRIPE_EXPAND_SOURCE
	.comm	_STRIPE_EXPANDING,4,2           ; @STRIPE_EXPANDING
	.comm	_R5_Expanded,4,2                ; @R5_Expanded
	.comm	_STRIPE_SIZE,4,2                ; @STRIPE_SIZE
	.comm	_R5_UPTODATE,4,2                ; @R5_UPTODATE
	.comm	_STRIPE_EXPAND_READY,4,2        ; @STRIPE_EXPAND_READY
	.comm	_STRIPE_HANDLE,4,2              ; @STRIPE_HANDLE
	.no_dead_strip	_handle_stripe_expansion
.subsections_via_symbols
