	.file	"extr_qedi_iscsi.c_qedi_iscsi_update_conn.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"memory alloc failed\n"
.LC1:
	.string	"Could not update connection\n"
	.text
	.p2align 4
	.type	qedi_iscsi_update_conn, @function
qedi_iscsi_update_conn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	edi, 32
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rsi]
	mov	r12, QWORD PTR [rsi]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rbx, QWORD PTR [rax]
	call	kzalloc@PLT
	test	rax, rax
	je	.L14
	cmp	QWORD PTR 32[rbx], 0
	mov	QWORD PTR 24[rax], 0
	mov	rbp, rax
	jne	.L15
	cmp	QWORD PTR 24[rbx], 0
	jne	.L16
.L5:
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR 16[rax], 0
	jne	.L17
.L6:
	cmp	QWORD PTR 8[rax], 0
	jne	.L18
.L7:
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR [rax]
	mov	esi, DWORD PTR [r12]
	mov	edi, DWORD PTR 4[r13]
	mov	DWORD PTR 16[rbp], edx
	mov	edx, DWORD PTR 20[rbx]
	mov	DWORD PTR 12[rbp], edx
	mov	edx, DWORD PTR 16[rbx]
	mov	DWORD PTR 4[rbp], eax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 8[rbp], edx
	mov	rdx, rbp
	mov	DWORD PTR 0[rbp], eax
	mov	rax, QWORD PTR qedi_ops[rip]
	call	[QWORD PTR [rax]]
	mov	r12d, eax
	test	eax, eax
	jne	.L19
.L8:
	mov	rdi, rbp
	call	kfree@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	mov	esi, DWORD PTR ISCSI_CONN_UPDATE_RAMROD_PARAMS_HD_EN[rip]
	xor	edi, edi
	mov	edx, 1
	call	SET_FIELD@PLT
	cmp	QWORD PTR 24[rbx], 0
	je	.L5
.L16:
	mov	rdi, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR ISCSI_CONN_UPDATE_RAMROD_PARAMS_DD_EN[rip]
	mov	edx, 1
	call	SET_FIELD@PLT
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR 16[rax], 0
	je	.L6
.L17:
	mov	rdi, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR ISCSI_CONN_UPDATE_RAMROD_PARAMS_INITIAL_R2T[rip]
	mov	edx, 1
	call	SET_FIELD@PLT
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR 8[rax], 0
	je	.L7
.L18:
	mov	rdi, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR ISCSI_CONN_UPDATE_RAMROD_PARAMS_IMMEDIATE_DATA[rip]
	mov	edx, 1
	call	SET_FIELD@PLT
	mov	rax, QWORD PTR 8[rbx]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r12d, DWORD PTR ENXIO[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	neg	r12d
	call	QEDI_ERR@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	QEDI_ERR@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	qedi_iscsi_update_conn, .-qedi_iscsi_update_conn
	.comm	qedi_ops,8,8
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_INITIAL_R2T,4,4
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_IMMEDIATE_DATA,4,4
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_HD_EN,4,4
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_DD_EN,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENXIO,4,4
	.comm	ENOMEM,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_qedi_iscsi.c_qedi_iscsi_update_conn.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"memory alloc failed\012\000"
	.align	2
.LC1:
	.ascii	"Could not update connection\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qedi_iscsi_update_conn, %function
qedi_iscsi_update_conn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	ldr	r1, .L32
	ldr	r2, [r3, #4]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r1]
	mov	r6, r0
	mov	r0, #24
	ldr	r5, [r2]
	ldr	r7, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L26
	mov	r0, #0
	ldr	r3, [r5, #20]
	str	r0, [r4, #20]
	cmp	r3, r0
	bne	.L27
	ldr	r3, [r5, #16]
	cmp	r3, #0
	bne	.L28
.L5:
	ldr	r3, [r5, #4]
	ldr	r2, [r3, #12]
	cmp	r2, #0
	bne	.L29
.L6:
	ldr	r2, [r3, #8]
	cmp	r2, #0
	bne	.L30
.L7:
	ldr	r1, .L32+4
	ldr	r2, [r3, #4]
	ldr	r0, [r1]
	ldr	ip, [r3]
	ldr	lr, [r5, #12]
	ldr	r3, [r0]
	ldr	r1, [r7]
	ldr	r0, [r5, #8]
	str	r2, [r4, #16]
	ldr	r2, [r5]
	str	r0, [r4, #8]
	str	r2, [r4]
	ldr	r0, [r6, #4]
	mov	r2, r4
	str	lr, [r4, #12]
	str	ip, [r4, #4]
	blx	r3
	subs	r5, r0, #0
	bne	.L31
.L8:
	mov	r0, r4
	bl	kfree
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L27:
	ldr	r3, .L32+8
	mov	r2, #1
	ldr	r1, [r3]
	bl	SET_FIELD
	ldr	r3, [r5, #16]
	cmp	r3, #0
	beq	.L5
.L28:
	ldr	r3, .L32+12
	mov	r2, #1
	ldr	r1, [r3]
	ldr	r0, [r4, #20]
	bl	SET_FIELD
	ldr	r3, [r5, #4]
	ldr	r2, [r3, #12]
	cmp	r2, #0
	beq	.L6
.L29:
	ldr	r3, .L32+16
	mov	r2, #1
	ldr	r1, [r3]
	ldr	r0, [r4, #20]
	bl	SET_FIELD
	ldr	r3, [r5, #4]
	ldr	r2, [r3, #8]
	cmp	r2, #0
	beq	.L7
.L30:
	ldr	r3, .L32+20
	mov	r2, #1
	ldr	r1, [r3]
	ldr	r0, [r4, #20]
	bl	SET_FIELD
	ldr	r3, [r5, #4]
	b	.L7
.L31:
	ldr	r3, .L32+24
	mov	r0, r6
	ldr	r5, [r3]
	ldr	r1, .L32+28
	rsb	r5, r5, #0
	bl	QEDI_ERR
	b	.L8
.L26:
	mov	r0, r6
	ldr	r1, .L32+32
	bl	QEDI_ERR
	ldr	r3, .L32+36
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L33:
	.align	2
.L32:
	.word	GFP_KERNEL
	.word	qedi_ops
	.word	ISCSI_CONN_UPDATE_RAMROD_PARAMS_HD_EN
	.word	ISCSI_CONN_UPDATE_RAMROD_PARAMS_DD_EN
	.word	ISCSI_CONN_UPDATE_RAMROD_PARAMS_INITIAL_R2T
	.word	ISCSI_CONN_UPDATE_RAMROD_PARAMS_IMMEDIATE_DATA
	.word	ENXIO
	.word	.LC1
	.word	.LC0
	.word	ENOMEM
	.size	qedi_iscsi_update_conn, .-qedi_iscsi_update_conn
	.comm	qedi_ops,4,4
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_INITIAL_R2T,4,4
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_IMMEDIATE_DATA,4,4
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_HD_EN,4,4
	.comm	ISCSI_CONN_UPDATE_RAMROD_PARAMS_DD_EN,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENXIO,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
