	.file	"extr_smartpqi_init.c_pqisrc_flush_cache.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IN\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Failed to allocate memory for flush cache params\n"
	.align 8
.LC2:
	.string	"error in build send raid req ret=%d\n"
	.section	.rodata.str1.1
.LC3:
	.string	"OUT\n"
	.text
	.p2align 4
	.globl	pqisrc_flush_cache
	.type	pqisrc_flush_cache, @function
pqisrc_flush_cache:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	DBG_FUNC@PLT
	mov	rdi, rbp
	call	pqisrc_ctrl_offline@PLT
	test	rax, rax
	je	.L2
.L11:
	mov	r12d, DWORD PTR PQI_STATUS_FAILURE[rip]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, 4
	mov	rdi, rbp
	call	os_mem_alloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L14
	mov	DWORD PTR [rax], ebx
	lea	r12, 4[rsp]
	mov	edx, 4
	xor	esi, esi
	mov	rdi, r12
	call	memset@PLT
	push	0
	.cfi_def_cfa_offset 72
	mov	rdx, r13
	mov	rsi, r12
	push	QWORD PTR RAID_CTLR_LUNID[rip]
	.cfi_def_cfa_offset 80
	xor	r9d, r9d
	mov	ecx, 4
	mov	rdi, rbp
	mov	r8d, DWORD PTR SA_CACHE_FLUSH[rip]
	call	pqisrc_build_send_raid_request@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	test	r12d, r12d
	jne	.L15
.L5:
	mov	rdi, rbp
	mov	edx, 4
	mov	rsi, r13
	call	os_mem_free@PLT
	lea	rdi, .LC3[rip]
	call	DBG_FUNC@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, r12d
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	DBG_ERR@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	DBG_ERR@PLT
	jmp	.L11
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pqisrc_flush_cache, .-pqisrc_flush_cache
	.comm	SA_CACHE_FLUSH,4,4
	.comm	RAID_CTLR_LUNID,8,8
	.comm	PQI_STATUS_SUCCESS,4,4
	.comm	PQI_STATUS_FAILURE,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_smartpqi_init.c_pqisrc_flush_cache.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IN\012\000"
	.align	2
.LC1:
	.ascii	"Failed to allocate memory for flush cache params\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"error in build send raid req ret=%d\012\000"
	.align	2
.LC3:
	.ascii	"OUT\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pqisrc_flush_cache
	.syntax unified
	.arm
	.fpu softvfp
	.type	pqisrc_flush_cache, %function
pqisrc_flush_cache:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L16
	sub	sp, sp, #28
	ldr	r0, .L16+4
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	DBG_FUNC
	mov	r0, r4
	bl	pqisrc_ctrl_offline
	subs	r7, r0, #0
	beq	.L2
.L11:
	ldr	r3, .L16+8
	ldr	r5, [r3]
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r1, #4
	mov	r0, r4
	bl	os_mem_alloc
	subs	r6, r0, #0
	beq	.L14
	ldr	r2, .L16+12
	ldr	r3, .L16+16
	str	r5, [r6]
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, r4
	stm	sp, {r2, r7}
	str	r3, [sp, #8]
	mov	r2, r6
	mov	r3, #4
	str	r7, [sp, #12]
	add	r1, sp, #16
	str	r7, [sp, #16]
	bl	pqisrc_build_send_raid_request
	subs	r5, r0, #0
	bne	.L15
.L5:
	mov	r1, r6
	mov	r0, r4
	mov	r2, #4
	bl	os_mem_free
	ldr	r0, .L16+20
	bl	DBG_FUNC
	b	.L1
.L15:
	mov	r1, r5
	ldr	r0, .L16+24
	bl	DBG_ERR
	b	.L5
.L14:
	ldr	r0, .L16+28
	bl	DBG_ERR
	b	.L11
.L13:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC0
	.word	PQI_STATUS_FAILURE
	.word	SA_CACHE_FLUSH
	.word	RAID_CTLR_LUNID
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.size	pqisrc_flush_cache, .-pqisrc_flush_cache
	.comm	SA_CACHE_FLUSH,4,4
	.comm	RAID_CTLR_LUNID,4,4
	.comm	PQI_STATUS_SUCCESS,4,4
	.comm	PQI_STATUS_FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
