	.file	"extr_cnic.c_cnic_bnx2x_iscsi_init2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cnic_bnx2x_iscsi_init2, @function
cnic_bnx2x_iscsi_init2:
.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
	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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 4[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r13, 8[rsp]
	call	netdev_priv@PLT
	mov	edx, 8
	xor	esi, esi
	mov	rdi, r13
	mov	r12d, DWORD PTR [rax]
	call	memset@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR ISCSI_KCQE_COMPLETION_STATUS_ISCSI_NOT_SUPPORTED[rip]
	mov	DWORD PTR 12[rsp], eax
.L3:
	mov	eax, DWORD PTR ISCSI_KCQE_OPCODE_INIT[rip]
	mov	esi, DWORD PTR CNIC_ULP_ISCSI[rip]
	lea	rdx, 16[rsp]
	mov	rdi, rbp
	mov	ecx, 1
	mov	QWORD PTR 16[rsp], r13
	mov	DWORD PTR 8[rsp], eax
	call	cnic_reply_bnx2x_kcqes@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, r12d
	mov	r14d, DWORD PTR [rax]
	call	TSTORM_ISCSI_ERROR_BITMAP_OFFSET@PLT
	add	rax, QWORD PTR BAR_TSTRORM_INTMEM[rip]
	mov	rdi, rbp
	mov	edx, r14d
	mov	rsi, rax
	call	CNIC_WR@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, r12d
	mov	r14d, DWORD PTR 4[rax]
	call	TSTORM_ISCSI_ERROR_BITMAP_OFFSET@PLT
	add	rax, QWORD PTR BAR_TSTRORM_INTMEM[rip]
	mov	rdi, rbp
	mov	rsi, rax
	mov	edx, r14d
	add	rsi, 4
	call	CNIC_WR@PLT
	mov	r14d, DWORD PTR [rbx]
	mov	edi, r12d
	call	USTORM_ISCSI_CQ_SQN_SIZE_OFFSET@PLT
	add	rax, QWORD PTR BAR_USTRORM_INTMEM[rip]
	mov	rdi, rbp
	mov	edx, r14d
	mov	rsi, rax
	call	CNIC_WR16@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, r12d
	mov	r14d, DWORD PTR [rax]
	call	USTORM_ISCSI_ERROR_BITMAP_OFFSET@PLT
	add	rax, QWORD PTR BAR_USTRORM_INTMEM[rip]
	mov	rdi, rbp
	mov	edx, r14d
	mov	rsi, rax
	call	CNIC_WR@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, r12d
	mov	r14d, DWORD PTR 4[rax]
	call	USTORM_ISCSI_ERROR_BITMAP_OFFSET@PLT
	add	rax, QWORD PTR BAR_USTRORM_INTMEM[rip]
	mov	rdi, rbp
	mov	rsi, rax
	mov	edx, r14d
	add	rsi, 4
	call	CNIC_WR@PLT
	mov	r14d, DWORD PTR [rbx]
	mov	edi, r12d
	call	CSTORM_ISCSI_CQ_SQN_SIZE_OFFSET@PLT
	add	rax, QWORD PTR BAR_CSTRORM_INTMEM[rip]
	mov	rdi, rbp
	mov	rsi, rax
	mov	edx, r14d
	call	CNIC_WR16@PLT
	mov	eax, DWORD PTR ISCSI_KCQE_COMPLETION_STATUS_SUCCESS[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cnic_bnx2x_iscsi_init2, .-cnic_bnx2x_iscsi_init2
	.comm	ISCSI_KCQE_OPCODE_INIT,4,4
	.comm	ISCSI_KCQE_COMPLETION_STATUS_SUCCESS,4,4
	.comm	ISCSI_KCQE_COMPLETION_STATUS_ISCSI_NOT_SUPPORTED,4,4
	.comm	CNIC_ULP_ISCSI,4,4
	.comm	BAR_USTRORM_INTMEM,8,8
	.comm	BAR_TSTRORM_INTMEM,8,8
	.comm	BAR_CSTRORM_INTMEM,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_cnic.c_cnic_bnx2x_iscsi_init2.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_init2, %function
cnic_bnx2x_iscsi_init2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L8
	mov	r4, r0
	sub	sp, sp, #20
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r1
	bl	netdev_priv
	mov	r3, #0
	ldr	r2, [r4]
	ldr	r6, [r0]
	cmp	r2, r3
	str	r3, [sp]
	str	r3, [sp, #4]
	bne	.L2
	ldr	r3, .L8+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
.L3:
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	ldr	ip, [r2]
	ldr	r1, [r3]
	add	r2, sp, #8
	mov	r3, #1
	mov	r0, r4
	str	sp, [sp, #8]
	str	ip, [sp]
	bl	cnic_reply_bnx2x_kcqes
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r0, r6
	bl	TSTORM_ISCSI_ERROR_BITMAP_OFFSET
	ldr	r7, .L8+16
	ldr	r2, [r5, #4]
	ldr	r1, [r7]
	ldr	r2, [r2]
	add	r1, r0, r1
	mov	r0, r4
	bl	CNIC_WR
	mov	r0, r6
	bl	TSTORM_ISCSI_ERROR_BITMAP_OFFSET
	ldr	r1, [r7]
	ldr	r3, [r5, #4]
	add	r1, r0, r1
	ldr	r2, [r3, #4]
	add	r1, r1, #4
	mov	r0, r4
	bl	CNIC_WR
	mov	r0, r6
	bl	USTORM_ISCSI_CQ_SQN_SIZE_OFFSET
	mov	r1, r0
	ldr	r7, .L8+20
	ldr	r2, [r5]
	ldr	r3, [r7]
	mov	r0, r4
	add	r1, r1, r3
	bl	CNIC_WR16
	mov	r0, r6
	bl	USTORM_ISCSI_ERROR_BITMAP_OFFSET
	ldr	r3, [r5, #4]
	ldr	r1, [r7]
	ldr	r2, [r3]
	add	r1, r0, r1
	mov	r0, r4
	bl	CNIC_WR
	mov	r0, r6
	bl	USTORM_ISCSI_ERROR_BITMAP_OFFSET
	ldr	r1, [r7]
	ldr	r3, [r5, #4]
	add	r1, r0, r1
	ldr	r2, [r3, #4]
	add	r1, r1, #4
	mov	r0, r4
	bl	CNIC_WR
	mov	r0, r6
	bl	CSTORM_ISCSI_CQ_SQN_SIZE_OFFSET
	mov	r1, r0
	ldr	r3, .L8+24
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r5]
	add	r1, r1, r3
	bl	CNIC_WR16
	ldr	r3, .L8+28
	ldr	r3, [r3]
	str	r3, [sp, #4]
	b	.L3
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	ISCSI_KCQE_COMPLETION_STATUS_ISCSI_NOT_SUPPORTED
	.word	ISCSI_KCQE_OPCODE_INIT
	.word	CNIC_ULP_ISCSI
	.word	BAR_TSTRORM_INTMEM
	.word	BAR_USTRORM_INTMEM
	.word	BAR_CSTRORM_INTMEM
	.word	ISCSI_KCQE_COMPLETION_STATUS_SUCCESS
	.size	cnic_bnx2x_iscsi_init2, .-cnic_bnx2x_iscsi_init2
	.comm	ISCSI_KCQE_OPCODE_INIT,4,4
	.comm	ISCSI_KCQE_COMPLETION_STATUS_SUCCESS,4,4
	.comm	ISCSI_KCQE_COMPLETION_STATUS_ISCSI_NOT_SUPPORTED,4,4
	.comm	CNIC_ULP_ISCSI,4,4
	.comm	BAR_USTRORM_INTMEM,4,4
	.comm	BAR_TSTRORM_INTMEM,4,4
	.comm	BAR_CSTRORM_INTMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
