	.file	"extr_bfa_cee.c_bfa_nw_cee_get_attr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfa_nw_cee_get_attr
	.type	bfa_nw_cee_get_attr, @function
bfa_nw_cee_get_attr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, 1
	test	rbx, rbx
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR 16[rbx], 0
	sete	dil
.L2:
	call	BUG_ON@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	bfa_nw_ioc_is_operational@PLT
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR BFA_STATUS_DEVBUSY[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	QWORD PTR 48[rbx], r13
	mov	r14, QWORD PTR 8[rbx]
	mov	DWORD PTR 40[rbx], r12d
	mov	rdi, QWORD PTR 16[rbx]
	mov	QWORD PTR 32[rbx], rbp
	mov	DWORD PTR [rbx], 1
	call	bfa_ioc_portid@PLT
	mov	edi, DWORD PTR 4[r14]
	mov	edx, DWORD PTR BFI_CEE_H2I_GET_CFG_REQ[rip]
	mov	esi, DWORD PTR BFI_MC_CEE[rip]
	mov	ecx, eax
	call	bfi_h2i_set@PLT
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR [r14]
	call	bfa_dma_be_addr_set@PLT
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, 8[rbx]
	xor	ecx, ecx
	xor	edx, edx
	call	bfa_nw_ioc_mbox_queue@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR BFA_STATUS_OK[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR BFA_STATUS_IOC_FAILURE[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bfa_nw_cee_get_attr, .-bfa_nw_cee_get_attr
	.comm	BFI_MC_CEE,4,4
	.comm	BFI_CEE_H2I_GET_CFG_REQ,4,4
	.comm	BFA_STATUS_OK,4,4
	.comm	BFA_STATUS_IOC_FAILURE,4,4
	.comm	BFA_STATUS_DEVBUSY,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_bfa_cee.c_bfa_nw_cee_get_attr.c"
	.text
	.align	2
	.global	bfa_nw_cee_get_attr
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_nw_cee_get_attr, %function
bfa_nw_cee_get_attr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r4, r0, #0
	ldrne	r0, [r4, #8]
	moveq	r0, #1
	clzne	r0, r0
	lsrne	r0, r0, #5
	mov	r6, r1
	mov	r7, r2
	mov	r5, r3
	bl	BUG_ON
	ldr	r0, [r4, #8]
	bl	bfa_nw_ioc_is_operational
	cmp	r0, #0
	beq	.L9
	ldr	r8, [r4]
	cmp	r8, #0
	beq	.L5
	ldr	r3, .L10
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r1, #1
	ldr	r9, [r4, #4]
	ldr	r2, .L10+4
	ldr	r3, .L10+8
	str	r6, [r4, #24]
	str	r7, [r4, #20]
	str	r5, [r4, #16]
	str	r1, [r4]
	ldr	r0, [r4, #8]
	ldr	r6, [r2]
	ldr	r7, [r3]
	ldr	r5, [r9, #4]
	bl	bfa_ioc_portid
	mov	r2, r7
	mov	r3, r0
	mov	r1, r6
	mov	r0, r5
	bl	bfi_h2i_set
	ldr	r1, [r4, #12]
	ldr	r0, [r9]
	bl	bfa_dma_be_addr_set
	mov	r3, r8
	mov	r2, r8
	ldr	r0, [r4, #8]
	add	r1, r4, #4
	bl	bfa_nw_ioc_mbox_queue
	ldr	r3, .L10+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	.align	2
.L10:
	.word	BFA_STATUS_DEVBUSY
	.word	BFI_MC_CEE
	.word	BFI_CEE_H2I_GET_CFG_REQ
	.word	BFA_STATUS_OK
	.word	BFA_STATUS_IOC_FAILURE
	.size	bfa_nw_cee_get_attr, .-bfa_nw_cee_get_attr
	.comm	BFI_MC_CEE,4,4
	.comm	BFI_CEE_H2I_GET_CFG_REQ,4,4
	.comm	BFA_STATUS_OK,4,4
	.comm	BFA_STATUS_IOC_FAILURE,4,4
	.comm	BFA_STATUS_DEVBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
