	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retry_aligned_read
_retry_aligned_read:                    ## @retry_aligned_read
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	andl	(%rsi), %ebx
	leaq	-44(%rbp), %rcx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_raid5_compute_sector
	movl	%eax, %r14d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_bio_end_sector
	cmpl	%eax, %ebx
	jge	LBB0_9
## %bb.1:
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_STRIPE_SECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %ebx
	addl	%eax, %r14d
	incl	%r13d
	cmpl	%r15d, %ebx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	-76(%rbp), %r13d                ## 4-byte Folded Reload
	jb	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_raid5_get_active_stripe
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movl	-44(%rbp), %edx
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_add_stripe_bio
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_R5_ReadNoMerge@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	-44(%rbp), %rsi
	shlq	$2, %rsi
	addq	(%r12), %rsi
	callq	_set_bit
	movq	%r12, %rdi
	callq	_handle_stripe
	movq	%r12, %rdi
	callq	_raid5_release_stripe
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	incl	%r12d
	jmp	LBB0_8
LBB0_9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bio_endio
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_wake_up
	jmp	LBB0_11
LBB0_6:
	movq	%r12, %rdi
	callq	_raid5_release_stripe
LBB0_4:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movl	%r13d, (%rax)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_11:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRIPE_SECTORS,8,3             ## @STRIPE_SECTORS
	.comm	_R5_ReadNoMerge,4,2             ## @R5_ReadNoMerge
	.no_dead_strip	_retry_aligned_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retry_aligned_read
_retry_aligned_read:                    ; @retry_aligned_read
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x27, _STRIPE_SECTORS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _STRIPE_SECTORS@GOTPAGEOFF]
	ldr	w9, [x27]
	neg	w9, w9
	and	w23, w8, w9
	add	x3, sp, #12
	mov	x1, x23
	mov	w2, #0
	mov	x4, #0
	bl	_raid5_compute_sector
	mov	x24, x0
	mov	x0, x21
	bl	_bio_end_sector
	mov	w20, #0
	cmp	w23, w0
	b.ge	LBB0_7
; %bb.1:
	mov	x25, x0
	mov	w20, #0
	mov	w28, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	add	w24, w24, w8
	add	w28, w28, #1
	add	w23, w23, w8
	cmp	w23, w25
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w28, w22
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	w2, #0
	mov	w3, #1
	mov	w4, #1
	bl	_raid5_get_active_stripe
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	ldr	w2, [sp, #12]
	mov	x1, x21
	mov	w3, #0
	mov	w4, #0
	bl	_add_stripe_bio
	cbz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh2:
	adrp	x8, _R5_ReadNoMerge@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R5_ReadNoMerge@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x26]
	ldrsw	x9, [sp, #12]
	add	x1, x8, x9, lsl #2
	bl	_set_bit
	mov	x0, x26
	bl	_handle_stripe
	mov	x0, x26
	bl	_raid5_release_stripe
	add	w20, w20, #1
	b	LBB0_2
LBB0_7:
	mov	x0, x21
	bl	_bio_endio
	add	x0, x19, #8
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_11
; %bb.8:
	add	x0, x19, #4
	bl	_wake_up
	b	LBB0_11
LBB0_9:
	mov	x0, x26
	bl	_raid5_release_stripe
LBB0_10:
	str	x21, [x19, #16]
	str	w28, [x19]
LBB0_11:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STRIPE_SECTORS,8,3             ; @STRIPE_SECTORS
	.comm	_R5_ReadNoMerge,4,2             ; @R5_ReadNoMerge
	.no_dead_strip	_retry_aligned_read
.subsections_via_symbols
