	.file	"extr_bfa_fcs_lport.c_bfa_fcs_lookup_port.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfa_fcs_lookup_port
	.type	bfa_fcs_lookup_port, @function
bfa_fcs_lookup_port:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	sete	dil
	movzx	edi, dil
	call	WARN_ON@PLT
	mov	esi, r14d
	mov	rdi, rbp
	call	bfa_fcs_vf_lookup@PLT
	mov	r12, rax
	test	rax, rax
	je	.L11
	test	r13d, r13d
	je	.L1
	cmp	DWORD PTR [rax], r13d
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	esi, r13d
	mov	rdi, rax
	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
	jmp	bfa_fcs_fabric_vport_lookup@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, r14d
	mov	rdi, rbp
	call	bfa_trc@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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_fcs_lookup_port, .-bfa_fcs_lookup_port
	.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_fcs_lport.c_bfa_fcs_lookup_port.c"
	.text
	.align	2
	.global	bfa_fcs_lookup_port
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_fcs_lookup_port, %function
bfa_fcs_lookup_port:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	clz	r0, r0
	mov	r7, r1
	lsr	r0, r0, #5
	mov	r6, r2
	bl	WARN_ON
	mov	r1, r7
	mov	r0, r5
	bl	bfa_fcs_vf_lookup
	subs	r4, r0, #0
	beq	.L11
	cmp	r6, #0
	beq	.L1
	ldr	r3, [r4]
	cmp	r3, r6
	beq	.L1
	mov	r1, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	bfa_fcs_fabric_vport_lookup
.L11:
	mov	r1, r7
	mov	r0, r5
	bl	bfa_trc
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
	.size	bfa_fcs_lookup_port, .-bfa_fcs_lookup_port
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
