	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function volume_cache
_volume_cache:                          ## @volume_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	%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
	cmpl	$3, %edi
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	16(%rsi), %rbx
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_6
## %bb.3:
	incq	%rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_tolower
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
## %bb.5:
	movq	16(%r15), %rbx
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	16(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	16(%r15), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	16(%r15), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmovgq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_23
LBB0_12:
	movq	_mpt_unit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mpt_open
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movl	%eax, %r14d
	movq	8(%r15), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%eax, %edi
	callq	_mpt_lookup_volume
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	movq	8(%r15), %rdx
	leaq	L_.str.9(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_warnc
LBB0_22:
	movl	%r14d, %edi
	callq	_close
	jmp	LBB0_23
LBB0_13:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rdi
	callq	_warn
LBB0_23:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	callq	_mpt_vol_info
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %r12
	movl	(%rax), %r13d
	movq	16(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$7, %edx
	callq	_strncmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	orl	%r13d, %ebx
	movq	16(%r15), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$8, %edx
	callq	_strncmp
	movl	%r13d, %r9d
	andl	$-2, %r9d
	testq	%rax, %rax
	cmovnel	%ebx, %r9d
	cmpl	%r13d, %r9d
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.10(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_22
LBB0_17:
	movl	%r14d, %edi
	callq	_close
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_23
LBB0_20:
	movl	%r9d, (%r12)
	movq	_MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movups	%xmm0, 16(%rsp)
	movl	$0, 56(%rsp)
	movl	$0, 32(%rsp)
	movl	$0, 8(%rsp)
	movq	$0, (%rsp)
	movl	%r14d, %edi
	xorl	%r8d, %r8d
	callq	_mpt_raid_action
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.11(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_warnc
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"volume cache: %s"

L_.str.1:                               ## @.str.1
	.asciz	"extra arguments"

L_.str.2:                               ## @.str.2
	.asciz	"missing arguments"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"enable"

L_.str.4:                               ## @.str.4
	.asciz	"enabled"

L_.str.5:                               ## @.str.5
	.asciz	"disable"

L_.str.6:                               ## @.str.6
	.asciz	"disabled"

L_.str.7:                               ## @.str.7
	.asciz	"volume cache: invalid flag, must be 'enable' or 'disable'\n"

	.comm	_mpt_unit,4,2                   ## @mpt_unit
	.comm	_errno,4,2                      ## @errno
L_.str.8:                               ## @.str.8
	.asciz	"mpt_open"

L_.str.9:                               ## @.str.9
	.asciz	"Invalid volume: %s"

L_.str.10:                              ## @.str.10
	.asciz	"volume cache unchanged"

	.comm	_MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS,4,2 ## @MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS
L_.str.11:                              ## @.str.11
	.asciz	"volume cache change failed"

	.no_dead_strip	_volume_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function volume_cache
_volume_cache:                          ; @volume_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	cmp	w0, #3
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x1
	ldr	x0, [x1, #16]
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.2:
	add	x20, x0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_tolower
	sturb	w0, [x20, #-1]
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_3
; %bb.4:
	ldr	x0, [x19, #16]
LBB0_5:
Lloh0:
	adrp	x1, l_.str.3@PAGE
Lloh1:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.6:
	ldr	x0, [x19, #16]
Lloh2:
	adrp	x1, l_.str.4@PAGE
Lloh3:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.7:
	ldr	x0, [x19, #16]
Lloh4:
	adrp	x1, l_.str.5@PAGE
Lloh5:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x0, [x19, #16]
Lloh6:
	adrp	x1, l_.str.6@PAGE
Lloh7:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.9:
Lloh8:
	adrp	x0, l_.str.7@PAGE
Lloh9:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x8, x9, x8, gt
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
LBB0_11:
	bl	_warnx
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
	b	LBB0_18
LBB0_12:
Lloh19:
	adrp	x8, _mpt_unit@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mpt_unit@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_mpt_open
	tbnz	w0, #31, LBB0_17
; %bb.13:
	mov	x20, x0
	ldr	x1, [x19, #8]
	sub	x2, x29, #52
	add	x3, sp, #56
	bl	_mpt_lookup_volume
	cbz	w0, LBB0_19
; %bb.14:
	mov	x21, x0
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.9@PAGE
Lloh23:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_15:
	mov	x0, x21
	bl	_warnc
LBB0_16:
	mov	x0, x20
	bl	_close
	b	LBB0_18
LBB0_17:
Lloh24:
	adrp	x8, _errno@GOTPAGE
Lloh25:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh26:
	ldr	w21, [x8]
Lloh27:
	adrp	x0, l_.str.8@PAGE
Lloh28:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_warn
LBB0_18:
	mov	x0, x21
	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
	add	sp, sp, #128
	ret
LBB0_19:
	ldur	w1, [x29, #-52]
	ldr	w2, [sp, #56]
	mov	x0, x20
	mov	x3, #0
	bl	_mpt_vol_info
	cbz	x0, LBB0_22
; %bb.20:
	mov	x21, x0
	ldr	w22, [x0]
	ldr	x0, [x19, #16]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #7
	bl	_strncmp
	cmp	x0, #0
	cset	w8, eq
	orr	w23, w22, w8
	ldr	x0, [x19, #16]
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #8
	bl	_strncmp
	and	w8, w22, #0xfffffffe
	cmp	x0, #0
	csel	w5, w8, w23, eq
	cmp	w5, w22
	b.ne	LBB0_23
; %bb.21:
Lloh33:
	adrp	x0, l_.str.10@PAGE
Lloh34:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_warnx
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_close
	mov	w21, #0
	b	LBB0_18
LBB0_22:
	mov	x0, x20
	bl	_close
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w21, [x8]
	b	LBB0_18
LBB0_23:
	str	w5, [x21]
Lloh38:
	adrp	x8, _MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldur	w2, [x29, #-52]
	ldr	w3, [sp, #56]
	str	wzr, [sp, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #24]
	str	wzr, [sp, #16]
	str	q0, [sp]
	mov	x0, x20
	mov	w4, #0
	mov	x6, #0
	mov	w7, #0
	bl	_mpt_raid_action
	mov	x21, x0
	cbz	w0, LBB0_16
; %bb.24:
Lloh41:
	adrp	x1, l_.str.11@PAGE
Lloh42:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"volume cache: %s"

l_.str.1:                               ; @.str.1
	.asciz	"extra arguments"

l_.str.2:                               ; @.str.2
	.asciz	"missing arguments"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"enable"

l_.str.4:                               ; @.str.4
	.asciz	"enabled"

l_.str.5:                               ; @.str.5
	.asciz	"disable"

l_.str.6:                               ; @.str.6
	.asciz	"disabled"

l_.str.7:                               ; @.str.7
	.asciz	"volume cache: invalid flag, must be 'enable' or 'disable'\n"

	.comm	_mpt_unit,4,2                   ; @mpt_unit
	.comm	_errno,4,2                      ; @errno
l_.str.8:                               ; @.str.8
	.asciz	"mpt_open"

l_.str.9:                               ; @.str.9
	.asciz	"Invalid volume: %s"

l_.str.10:                              ; @.str.10
	.asciz	"volume cache unchanged"

	.comm	_MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS,4,2 ; @MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS
l_.str.11:                              ; @.str.11
	.asciz	"volume cache change failed"

	.no_dead_strip	_volume_cache
.subsections_via_symbols
