	.file	"extr_bnx2i_iscsi.c_bnx2i_ep_poll.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bnx2i_ep_poll, @function
bnx2i_ep_poll:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, QWORD PTR [rdi]
	mov	rdx, QWORD PTR [rbx]
	cmp	rdx, QWORD PTR EP_STATE_IDLE[rip]
	je	.L4
	cmp	rdx, QWORD PTR EP_STATE_CONNECT_FAILED[rip]
	je	.L4
	cmp	rdx, QWORD PTR EP_STATE_OFLD_FAILED[rip]
	je	.L4
	cmp	rdx, QWORD PTR EP_STATE_CONNECT_COMPL[rip]
	mov	eax, 1
	je	.L1
	mov	edi, esi
	call	msecs_to_jiffies@PLT
	mov	esi, 1
	mov	edx, eax
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR EP_STATE_OFLD_FAILED[rip]
	je	.L5
	cmp	rax, QWORD PTR EP_STATE_CONNECT_FAILED[rip]
	je	.L5
	xor	esi, esi
	cmp	QWORD PTR EP_STATE_CONNECT_COMPL[rip], rax
	sete	sil
.L5:
	mov	edi, DWORD PTR 8[rbx]
	call	wait_event_interruptible_timeout@PLT
	mov	rcx, QWORD PTR EP_STATE_OFLD_FAILED[rip]
	cmp	QWORD PTR [rbx], rcx
	je	.L4
	test	eax, eax
	mov	edx, 1
	cmovg	eax, edx
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bnx2i_ep_poll, .-bnx2i_ep_poll
	.comm	EP_STATE_OFLD_FAILED,8,8
	.comm	EP_STATE_IDLE,8,8
	.comm	EP_STATE_CONNECT_FAILED,8,8
	.comm	EP_STATE_CONNECT_COMPL,8,8
	.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_bnx2i_iscsi.c_bnx2i_ep_poll.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2i_ep_poll, %function
bnx2i_ep_poll:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L8
	ldr	r4, [r0]
	ldr	r2, [r2]
	ldr	r3, [r4]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L8+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	ldr	r5, .L8+8
	ldr	r2, [r5]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L8+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L5
	mov	r0, r1
	ldr	r6, [r4, #4]
	bl	msecs_to_jiffies
	mov	r1, #0
	mov	r2, r0
	mov	r0, r6
	bl	wait_event_interruptible_timeout
	ldr	r2, [r4]
	ldr	r3, [r5]
	cmp	r2, r3
	beq	.L4
	cmp	r0, #1
	movge	r0, #1
	pop	{r4, r5, r6, pc}
.L4:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	EP_STATE_IDLE
	.word	EP_STATE_CONNECT_FAILED
	.word	EP_STATE_OFLD_FAILED
	.word	EP_STATE_CONNECT_COMPL
	.size	bnx2i_ep_poll, .-bnx2i_ep_poll
	.comm	EP_STATE_OFLD_FAILED,4,4
	.comm	EP_STATE_IDLE,4,4
	.comm	EP_STATE_CONNECT_FAILED,4,4
	.comm	EP_STATE_CONNECT_COMPL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
