	.file	"extr_mpt_volume.c_volume_cache.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"extra arguments"
.LC1:
	.string	"missing arguments"
.LC2:
	.string	"volume cache: %s"
.LC3:
	.string	"enable"
.LC4:
	.string	"enabled"
.LC5:
	.string	"disable"
.LC6:
	.string	"disabled"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC7:
	.string	"volume cache: invalid flag, must be 'enable' or 'disable'\n"
	.section	.rodata.str1.1
.LC8:
	.string	"mpt_open"
.LC9:
	.string	"Invalid volume: %s"
.LC10:
	.string	"volume cache unchanged"
.LC11:
	.string	"volume cache change failed"
	.text
	.p2align 4
	.type	volume_cache, @function
volume_cache:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	edi, 3
	je	.L2
	lea	rax, .LC1[rip]
	lea	rsi, .LC0[rip]
	cmovle	rsi, rax
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	warnx@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L42
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbp, QWORD PTR 16[rsi]
	mov	rbx, rsi
	movsx	edi, BYTE PTR 0[rbp]
	test	dil, dil
	je	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	call	tolower@PLT
	add	rbp, 1
	mov	BYTE PTR -1[rbp], al
	movsx	edi, BYTE PTR 0[rbp]
	test	dil, dil
	jne	.L6
	mov	rbp, QWORD PTR 16[rbx]
.L5:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	jne	.L43
.L7:
	mov	edi, DWORD PTR mpt_unit[rip]
	call	mpt_open@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L44
	mov	rsi, QWORD PTR 8[rbx]
	lea	rcx, 4[rsp]
	mov	rdx, rsp
	mov	edi, eax
	call	mpt_lookup_volume@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L45
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR [rsp]
	xor	ecx, ecx
	mov	edi, r14d
	call	mpt_vol_info@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L46
	mov	rdi, QWORD PTR 16[rbx]
	mov	edx, 7
	lea	rsi, .LC3[rip]
	mov	r15d, DWORD PTR [rax]
	call	strncmp@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, QWORD PTR 16[rbx]
	mov	r13d, r15d
	mov	edx, 8
	lea	rsi, .LC5[rip]
	or	r13d, 1
	call	strncmp@PLT
	test	rax, rax
	je	.L15
.L12:
	cmp	r13d, r15d
	je	.L16
	mov	DWORD PTR 0[rbp], r13d
	mov	esi, DWORD PTR MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS[rip]
	mov	r9d, r13d
	xor	r8d, r8d
	push	0
	.cfi_def_cfa_offset 88
	mov	edi, r14d
	push	0
	.cfi_def_cfa_offset 96
	push	0
	.cfi_def_cfa_offset 104
	push	0
	.cfi_def_cfa_offset 112
	push	0
	.cfi_def_cfa_offset 120
	push	0
	.cfi_def_cfa_offset 128
	push	0
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	mov	ecx, DWORD PTR 68[rsp]
	mov	edx, DWORD PTR 64[rsp]
	call	mpt_raid_action@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 80
	mov	r12d, eax
	test	eax, eax
	jne	.L47
.L14:
	mov	edi, r14d
	call	close@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC4[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L7
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC5[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L7
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC6[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L7
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	warnx@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L44:
	lea	rdi, .LC8[rip]
	mov	r12d, DWORD PTR errno[rip]
	call	warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L45:
	mov	rdx, QWORD PTR 8[rbx]
	mov	edi, eax
	lea	rsi, .LC9[rip]
	xor	eax, eax
	call	warnc@PLT
	mov	edi, r14d
	call	close@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR 16[rbx]
	mov	edx, 8
	lea	rsi, .LC5[rip]
	mov	r13d, r15d
	call	strncmp@PLT
	test	rax, rax
	jne	.L16
.L15:
	and	r13d, -2
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L47:
	mov	edi, eax
	lea	rsi, .LC11[rip]
	xor	eax, eax
	call	warnc@PLT
	jmp	.L14
.L46:
	mov	edi, r14d
	call	close@PLT
	mov	r12d, DWORD PTR errno[rip]
	jmp	.L1
.L16:
	lea	rdi, .LC10[rip]
	xor	eax, eax
	call	warnx@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	edi, r14d
	call	close@PLT
	jmp	.L1
.L42:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	volume_cache, .-volume_cache
	.comm	mpt_unit,4,4
	.comm	errno,4,4
	.comm	MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mpt_volume.c_volume_cache.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"extra arguments\000"
	.align	2
.LC1:
	.ascii	"missing arguments\000"
	.align	2
.LC2:
	.ascii	"volume cache: %s\000"
	.align	2
.LC3:
	.ascii	"enable\000"
	.align	2
.LC4:
	.ascii	"enabled\000"
	.align	2
.LC5:
	.ascii	"disable\000"
	.align	2
.LC6:
	.ascii	"disabled\000"
	.align	2
.LC7:
	.ascii	"volume cache: invalid flag, must be 'enable' or 'di"
	.ascii	"sable'\012\000"
	.align	2
.LC8:
	.ascii	"mpt_open\000"
	.align	2
.LC9:
	.ascii	"Invalid volume: %s\000"
	.align	2
.LC10:
	.ascii	"volume cache unchanged\000"
	.align	2
.LC11:
	.ascii	"volume cache change failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	volume_cache, %function
volume_cache:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L48
	sub	sp, sp, #56
	cmp	r0, #3
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	beq	.L2
	ldrle	r1, .L48+4
	ldrgt	r1, .L48+8
	ldr	r0, .L48+12
	bl	warnx
	ldr	r3, .L48+16
	ldr	r4, [r3]
.L1:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L41
	mov	r0, r4
	add	sp, sp, #56
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r4, [r1, #8]
	mov	r5, r1
	ldrb	r0, [r4]	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L5
.L6:
	bl	tolower
	strb	r0, [r4]
	ldrb	r0, [r4, #1]!	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L6
	ldr	r4, [r5, #8]
.L5:
	mov	r0, r4
	ldr	r1, .L48+20
	bl	strcmp
	cmp	r0, #0
	beq	.L7
	mov	r0, r4
	ldr	r1, .L48+24
	bl	strcmp
	cmp	r0, #0
	bne	.L42
.L7:
	ldr	r3, .L48+28
	ldr	r0, [r3]
	bl	mpt_open
	subs	r6, r0, #0
	blt	.L43
	ldr	r1, [r5, #4]
	add	r3, sp, #48
	add	r2, sp, #44
	bl	mpt_lookup_volume
	subs	r4, r0, #0
	bne	.L44
	mov	r3, r4
	mov	r0, r6
	ldr	r2, [sp, #48]
	ldr	r1, [sp, #44]
	bl	mpt_vol_info
	subs	r7, r0, #0
	beq	.L45
	ldr	r8, [r5, #8]
	ldr	r1, .L48+20
	mov	r0, r8
	bl	strcmp
	mov	r5, r0
	ldr	r1, .L48+32
	mov	r0, r8
	bl	strcmp
	cmp	r5, #0
	ldr	r3, [r7]
	beq	.L46
	cmp	r0, #0
	moveq	r2, r3
	bne	.L16
.L15:
	bic	r2, r2, #1
.L12:
	cmp	r2, r3
	beq	.L16
	mov	ip, #0
	ldr	r1, .L48+36
	str	r2, [r7]
	str	r2, [sp, #4]
	ldr	r1, [r1]
	mov	r0, r6
	ldr	r3, [sp, #48]
	ldr	r2, [sp, #44]
	str	ip, [sp, #36]
	str	ip, [sp, #32]
	str	ip, [sp, #28]
	str	ip, [sp, #24]
	str	ip, [sp, #20]
	str	ip, [sp, #16]
	str	ip, [sp, #12]
	str	ip, [sp, #8]
	str	ip, [sp]
	bl	mpt_raid_action
	subs	r4, r0, #0
	bne	.L47
.L14:
	mov	r0, r6
	bl	close
	b	.L1
.L42:
	mov	r0, r4
	ldr	r1, .L48+32
	bl	strcmp
	cmp	r0, #0
	beq	.L7
	mov	r0, r4
	ldr	r1, .L48+40
	bl	strcmp
	cmp	r0, #0
	beq	.L7
	ldr	r0, .L48+44
	bl	warnx
	ldr	r3, .L48+16
	ldr	r4, [r3]
	b	.L1
.L46:
	cmp	r0, #0
	orr	r2, r3, #1
	bne	.L12
	b	.L15
.L43:
	ldr	r3, .L48+48
	ldr	r0, .L48+52
	ldr	r4, [r3]
	bl	warn
	b	.L1
.L44:
	ldr	r2, [r5, #4]
	ldr	r1, .L48+56
	bl	warnc
	mov	r0, r6
	bl	close
	b	.L1
.L47:
	ldr	r1, .L48+60
	bl	warnc
	b	.L14
.L16:
	ldr	r0, .L48+64
	bl	warnx
	mov	r0, r7
	bl	free
	mov	r0, r6
	bl	close
	b	.L1
.L45:
	mov	r0, r6
	bl	close
	ldr	r3, .L48+48
	ldr	r4, [r3]
	b	.L1
.L41:
	bl	__stack_chk_fail
.L49:
	.align	2
.L48:
	.word	.LC12
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	EINVAL
	.word	.LC3
	.word	.LC4
	.word	mpt_unit
	.word	.LC5
	.word	MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS
	.word	.LC6
	.word	.LC7
	.word	errno
	.word	.LC8
	.word	.LC9
	.word	.LC11
	.word	.LC10
	.size	volume_cache, .-volume_cache
	.comm	mpt_unit,4,4
	.comm	errno,4,4
	.comm	MPI_RAID_ACTION_CHANGE_VOLUME_SETTINGS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
