	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid10_alloc_init_r10buf
_raid10_alloc_init_r10buf:              ## @raid10_alloc_init_r10buf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addq	$16, %rdi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mempool_alloc
	movq	%rax, %r15
	movq	_MD_RECOVERY_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_MD_RECOVERY_RESHAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movl	(%r14), %eax
	testl	%eax, %eax
	jg	LBB0_4
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$2, %eax
LBB0_4:
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %rbx
	decq	%r14
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%rax,%rbx), %r12
	movq	(%r12), %r13
	movq	%r12, %rdi
	callq	_bio_reset
	movq	%r13, (%r12)
	movq	(%r15), %rax
	movq	(%rax,%rbx), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %r13
	movq	%r12, %rdi
	callq	_bio_reset
	movq	%r13, (%r12)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_MD_RECOVERY_SYNC,4,2           ## @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_RESHAPE,4,2        ## @MD_RECOVERY_RESHAPE
	.no_dead_strip	_raid10_alloc_init_r10buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid10_alloc_init_r10buf
_raid10_alloc_init_r10buf:              ; @raid10_alloc_init_r10buf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	add	x0, x0, #16
Lloh0:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mempool_alloc
	mov	x19, x0
Lloh3:
	adrp	x8, _MD_RECOVERY_SYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD_RECOVERY_SYNC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x20, #8]
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MD_RECOVERY_RESHAPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MD_RECOVERY_RESHAPE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x1, [x20, #8]
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ge	LBB0_5
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w8, #2
LBB0_5:
	mov	x21, #0
	mov	w22, w8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #16
	subs	x22, x22, #1
	b.eq	LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x8, x8, x21
	ldr	x20, [x8, #8]
	ldr	x23, [x20]
	mov	x0, x20
	bl	_bio_reset
	str	x23, [x20]
	ldr	x8, [x19]
	ldr	x20, [x8, x21]
	cbz	x20, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x20]
	mov	x0, x20
	bl	_bio_reset
	str	x23, [x20]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_MD_RECOVERY_SYNC,4,2           ; @MD_RECOVERY_SYNC
	.comm	_MD_RECOVERY_RESHAPE,4,2        ; @MD_RECOVERY_RESHAPE
	.no_dead_strip	_raid10_alloc_init_r10buf
.subsections_via_symbols
