	.file	"extr_cnic.c_cnic_bnx2x_iscsi_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cnic_bnx2x_iscsi_update, @function
cnic_bnx2x_iscsi_update:
.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	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	BNX2X_SW_CID@PLT
	lea	rdx, 4[rsp]
	mov	rdi, r12
	mov	esi, eax
	call	cnic_get_l5_cid@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rsp]
	mov	r13, rsp
	mov	rdi, r12
	mov	rdx, r13
	call	cnic_get_kwqe_16_data@PLT
	mov	rdi, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	rdi, rdi
	je	.L1
	mov	rsi, rbx
	mov	edx, 4
	call	memcpy@PLT
	mov	ecx, DWORD PTR ISCSI_CONNECTION_TYPE[rip]
	mov	edx, DWORD PTR [rbx]
	mov	r8, r13
	mov	esi, DWORD PTR ISCSI_RAMROD_CMD_ID_UPDATE_CONN[rip]
	mov	rdi, rbp
	call	cnic_submit_kwqe_16@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cnic_bnx2x_iscsi_update, .-cnic_bnx2x_iscsi_update
	.comm	ISCSI_RAMROD_CMD_ID_UPDATE_CONN,4,4
	.comm	ISCSI_CONNECTION_TYPE,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_cnic.c_cnic_bnx2x_iscsi_update.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cnic_bnx2x_iscsi_update, %function
cnic_bnx2x_iscsi_update:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r3, .L10
	sub	sp, sp, #24
	ldr	r0, [r1]
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r6, [r5]
	bl	BNX2X_SW_CID
	add	r2, sp, #16
	mov	r1, r0
	mov	r0, r6
	bl	cnic_get_l5_cid
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r6
	ldr	r1, [sp, #16]
	add	r2, sp, #12
	bl	cnic_get_kwqe_16_data
	cmp	r0, #0
	beq	.L9
	mov	r1, r4
	mov	r2, #4
	bl	memcpy
	add	r2, sp, #12
	ldr	r3, .L10+8
	ldr	r1, .L10+12
	str	r2, [sp]
	mov	r0, r5
	ldr	r2, [r4]
	ldr	r3, [r3]
	ldr	r1, [r1]
	bl	cnic_submit_kwqe_16
	b	.L1
.L9:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	EINVAL
	.word	ISCSI_CONNECTION_TYPE
	.word	ISCSI_RAMROD_CMD_ID_UPDATE_CONN
	.word	ENOMEM
	.size	cnic_bnx2x_iscsi_update, .-cnic_bnx2x_iscsi_update
	.comm	ISCSI_RAMROD_CMD_ID_UPDATE_CONN,4,4
	.comm	ISCSI_CONNECTION_TYPE,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
