	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_set_raid456_stripe_cache
_rs_set_raid456_stripe_cache:           ## @rs_set_raid456_stripe_cache
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	32(%rdi), %esi
	movl	36(%rdi), %edi
	callq	_max
	movl	%eax, %r14d
	movq	(%rbx), %r12
	movl	16(%rbx), %edi
	callq	_rt_is_raid456
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	24(%rbx), %r15
	movl	%r14d, %eax
	shrl	$31, %eax
	addl	%r14d, %eax
	sarl	%eax
	movslq	%eax, %r14
	cmpq	%r14, %r12
	jge	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_DMINFO
	jmp	LBB0_6
LBB0_1:
	movq	8(%rbx), %rax
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	%r12, %r14
LBB0_6:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	xorl	%r12d, %r12d
	cmpq	%r14, (%rax)
	je	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_raid5_set_cache_size
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	leaq	L_.str.3(%rip), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_12
LBB0_7:
	movq	8(%rbx), %rax
	leaq	L_.str.2(%rip), %rcx
LBB0_2:
	movq	%rcx, (%rax)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_12:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_DMINFO
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Inappropriate raid level; cannot change stripe_cache size"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Adjusting requested %u stripe cache entries to %u to suit stripe size"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot change stripe_cache size on inactive RAID set"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to set raid4/5/6 stripe cache size"

L_.str.4:                               ## @.str.4
	.asciz	"%u stripe cache entries"

	.no_dead_strip	_rs_set_raid456_stripe_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_set_raid456_stripe_cache
_rs_set_raid456_stripe_cache:           ; @rs_set_raid456_stripe_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #36]
	ldr	w1, [x19, #32]
	bl	_max
	cmp	w0, #0
	cinc	w22, w0, lt
	ldr	x20, [x19]
	ldr	w0, [x19, #16]
	bl	_rt_is_raid456
	cbz	w0, LBB0_7
; %bb.1:
	add	x21, x19, #24
	sbfx	x22, x22, #1, #31
	cmp	x20, x22
	b.ge	LBB0_3
; %bb.2:
	str	x22, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_DMINFO
	mov	x20, x22
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_11
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	bl	_raid5_set_cache_size
	cbz	w0, LBB0_10
; %bb.6:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, l_.str.3@PAGE
Lloh3:
	add	x9, x9, l_.str.3@PAGEOFF
	str	x9, [x8]
	b	LBB0_12
LBB0_7:
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_9:
	ldr	x9, [x19, #8]
	str	x8, [x9]
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_10:
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_DMINFO
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Inappropriate raid level; cannot change stripe_cache size"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Adjusting requested %u stripe cache entries to %u to suit stripe size"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot change stripe_cache size on inactive RAID set"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to set raid4/5/6 stripe cache size"

l_.str.4:                               ; @.str.4
	.asciz	"%u stripe cache entries"

	.no_dead_strip	_rs_set_raid456_stripe_cache
.subsections_via_symbols
