	.file	"extr_pmcraid.c_pmcraid_process_ccn.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Host RCB (CCN) failed with IOASC: 0x%08X\n"
	.text
	.p2align 4
	.type	pmcraid_process_ccn, @function
pmcraid_process_ccn:
.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	rax, QWORD PTR [rdi]
	mov	rbp, rdi
	mov	r13, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rax]
	call	le32_to_cpu@PLT
	mov	QWORD PTR 24[r13], 0
	mov	rdi, rbp
	mov	r12, rax
	call	pmcraid_return_cmd@PLT
	cmp	QWORD PTR PMCRAID_IOASC_IOA_WAS_RESET[rip], r12
	je	.L1
	lea	rdi, 16[r13]
	call	atomic_read@PLT
	cmp	eax, 1
	je	.L1
	test	r12, r12
	je	.L5
	mov	rdi, QWORD PTR 8[r13]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	xor	ebp, ebp
	call	dev_info@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	call	spin_lock_irqsave@PLT
	mov	esi, DWORD PTR PMCRAID_HCAM_CODE_CONFIG_CHANGE[rip]
	mov	rdi, r13
	call	pmcraid_send_hcam@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	rsi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	mov	edi, DWORD PTR [rax]
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r13
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	pmcraid_handle_config_change@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pmcraid_process_ccn, .-pmcraid_process_ccn
	.comm	PMCRAID_IOASC_IOA_WAS_RESET,8,8
	.comm	PMCRAID_HCAM_CODE_CONFIG_CHANGE,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_pmcraid.c_pmcraid_process_ccn.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Host RCB (CCN) failed with IOASC: 0x%08X\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmcraid_process_ccn, %function
pmcraid_process_ccn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldm	r0, {r3, r6}
	mov	r4, r0
	ldr	r0, [r3]
	bl	le32_to_cpu
	mov	r3, #0
	mov	r5, r0
	str	r3, [r6, #12]
	mov	r0, r4
	bl	pmcraid_return_cmd
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r5
	popeq	{r4, r5, r6, pc}
	add	r0, r6, #8
	bl	atomic_read
	cmp	r0, #1
	popeq	{r4, r5, r6, pc}
	cmp	r5, #0
	beq	.L5
	mov	r4, #0
	mov	r2, r5
	ldr	r1, .L11+4
	ldr	r0, [r6, #4]
	bl	dev_info
	ldr	r3, [r6]
	mov	r1, r4
	ldr	r0, [r3]
	bl	spin_lock_irqsave
	ldr	r3, .L11+8
	mov	r0, r6
	ldr	r1, [r3]
	bl	pmcraid_send_hcam
	ldr	r3, [r6]
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	spin_unlock_irqrestore
.L5:
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	pmcraid_handle_config_change
.L12:
	.align	2
.L11:
	.word	PMCRAID_IOASC_IOA_WAS_RESET
	.word	.LC0
	.word	PMCRAID_HCAM_CODE_CONFIG_CHANGE
	.size	pmcraid_process_ccn, .-pmcraid_process_ccn
	.comm	PMCRAID_IOASC_IOA_WAS_RESET,4,4
	.comm	PMCRAID_HCAM_CODE_CONFIG_CHANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
