	.file	"extr_bnx2fc_tgt.c_bnx2fc_tgt_lookup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rport obtained\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"rport 0x%x is in DELETED state\n"
	.text
	.p2align 4
	.globl	bnx2fc_tgt_lookup
	.type	bnx2fc_tgt_lookup, @function
bnx2fc_tgt_lookup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, DWORD PTR BNX2FC_NUM_MAX_SESS[rip]
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	test	edx, edx
	jle	.L6
	mov	rax, QWORD PTR [rax]
	sub	edx, 1
	lea	rcx, 8[rax+rdx*8]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, 8
	cmp	rax, rcx
	je	.L6
.L5:
	mov	r12, QWORD PTR [rax]
	test	r12, r12
	je	.L3
	cmp	QWORD PTR 8[r12], rdi
	jne	.L3
	mov	r8, QWORD PTR [r12]
	cmp	QWORD PTR 8[r8], rsi
	jne	.L3
	mov	rax, QWORD PTR RPORT_ST_DELETE[rip]
	cmp	QWORD PTR [r8], rax
	je	.L4
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	BNX2FC_TGT_DBG@PLT
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	r12d, r12d
.L1:
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	mov	rdx, rsi
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	BNX2FC_TGT_DBG@PLT
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bnx2fc_tgt_lookup, .-bnx2fc_tgt_lookup
	.comm	RPORT_ST_DELETE,8,8
	.comm	BNX2FC_NUM_MAX_SESS,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_bnx2fc_tgt.c_bnx2fc_tgt_lookup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rport obtained\012\000"
	.align	2
.LC1:
	.ascii	"rport 0x%x is in DELETED state\012\000"
	.text
	.align	2
	.global	bnx2fc_tgt_lookup
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2fc_tgt_lookup, %function
bnx2fc_tgt_lookup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	push	{r4, r5, r6, lr}
	ldr	r5, [r2]
	ldr	r3, [r0]
	cmp	r5, #0
	ldr	r2, [r3]
	ble	.L6
	ldr	ip, [r2]
	mov	r3, #0
	sub	ip, ip, #4
	b	.L5
.L3:
	cmp	r5, r3
	beq	.L6
.L5:
	ldr	r4, [ip, #4]!
	add	r3, r3, #1
	cmp	r4, #0
	beq	.L3
	ldr	lr, [r4, #4]
	cmp	lr, r0
	bne	.L3
	ldr	lr, [r4]
	ldr	r6, [lr, #4]
	cmp	r6, r1
	bne	.L3
	ldr	r3, .L13+4
	ldr	r2, [lr]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
	mov	r0, r4
	ldr	r1, .L13+8
	bl	BNX2FC_TGT_DBG
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	mov	r2, r1
	mov	r0, r4
	ldr	r1, .L13+12
	bl	BNX2FC_TGT_DBG
	mov	r4, #0
	b	.L1
.L14:
	.align	2
.L13:
	.word	BNX2FC_NUM_MAX_SESS
	.word	RPORT_ST_DELETE
	.word	.LC0
	.word	.LC1
	.size	bnx2fc_tgt_lookup, .-bnx2fc_tgt_lookup
	.comm	RPORT_ST_DELETE,4,4
	.comm	BNX2FC_NUM_MAX_SESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
