	.file	"extr_qlcnic_ctx.c_qlcnic_82xx_set_nic_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to set nic info%d\n"
	.text
	.p2align 4
	.globl	qlcnic_82xx_set_nic_info
	.type	qlcnic_82xx_set_nic_info, @function
qlcnic_82xx_set_nic_info:
.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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rcx, QWORD PTR QLCNIC_MGMT_FUNC[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	cmp	QWORD PTR [rax], rcx
	je	.L2
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	r14, rdi
	mov	rdi, QWORD PTR [rdi]
	mov	rbx, rsi
	lea	rdx, 12[rsp]
	mov	esi, 72
	call	dma_alloc_coherent@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r13, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR [rbx]
	lea	rbp, 16[rsp]
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	QWORD PTR 64[r13], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	QWORD PTR 56[r13], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	QWORD PTR 48[r13], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 36[rbx]
	mov	QWORD PTR 40[r13], rax
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	DWORD PTR 36[r13], eax
	mov	eax, DWORD PTR 32[rbx]
	mov	DWORD PTR 32[r13], eax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 20[rbx]
	mov	QWORD PTR 24[r13], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 24[rbx]
	mov	QWORD PTR 16[r13], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 28[rbx]
	mov	QWORD PTR 8[r13], rax
	call	cpu_to_le16@PLT
	mov	edx, DWORD PTR QLCNIC_CMD_SET_NIC_INFO[rip]
	mov	rsi, r14
	mov	rdi, rbp
	mov	QWORD PTR 0[r13], rax
	call	qlcnic_alloc_mbx_args@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L11
.L5:
	mov	ecx, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR [r14]
	mov	rdx, r13
	mov	esi, 72
	call	dma_free_coherent@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 12[rsp]
	mov	r12, QWORD PTR 16[rsp]
	call	MSD@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	DWORD PTR 4[r12], eax
	mov	r12, QWORD PTR 16[rsp]
	call	LSD@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, rbp
	mov	rdi, r14
	mov	DWORD PTR 8[r12], eax
	mov	eax, DWORD PTR [rbx]
	sal	eax, 16
	or	eax, 72
	mov	DWORD PTR 12[rdx], eax
	call	qlcnic_issue_cmd@PLT
	cmp	DWORD PTR QLCNIC_RCODE_SUCCESS[rip], eax
	mov	r12d, eax
	je	.L6
	mov	rdi, QWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
.L6:
	mov	rdi, rbp
	call	qlcnic_free_mbx_args@PLT
	jmp	.L5
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qlcnic_82xx_set_nic_info, .-qlcnic_82xx_set_nic_info
	.comm	QLCNIC_RCODE_SUCCESS,4,4
	.comm	QLCNIC_MGMT_FUNC,8,8
	.comm	QLCNIC_CMD_SET_NIC_INFO,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,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_qlcnic_ctx.c_qlcnic_82xx_set_nic_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to set nic info%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qlcnic_82xx_set_nic_info
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_82xx_set_nic_info, %function
qlcnic_82xx_set_nic_info:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, [r0, #4]
	ldr	r3, .L13
	ldr	r2, [r2]
	ldr	r3, [r3]
	sub	sp, sp, #20
	cmp	r2, r3
	ldr	r3, .L13+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L2
	ldr	r3, .L13+8
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r3, .L13+12
	mov	r5, r0
	mov	r4, r1
	ldr	r3, [r3]
	mov	r1, #40
	ldr	r0, [r0]
	add	r2, sp, #4
	bl	dma_alloc_coherent
	subs	r7, r0, #0
	beq	.L11
	ldr	r0, [r4]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [r7, #36]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #8]
	str	r3, [r7, #32]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #12]
	str	r3, [r7, #28]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #36]
	str	r3, [r7, #24]
	bl	cpu_to_le32
	ldr	r3, [r4, #32]
	str	r0, [r7, #20]
	str	r3, [r7, #16]
	ldr	r0, [r4, #16]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #20]
	str	r3, [r7, #12]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #24]
	str	r3, [r7, #8]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #28]
	str	r3, [r7, #4]
	bl	cpu_to_le16
	ldr	r3, .L13+16
	str	r0, [r7]
	mov	r1, r5
	ldr	r2, [r3]
	add	r0, sp, #8
	bl	qlcnic_alloc_mbx_args
	subs	r6, r0, #0
	beq	.L12
.L5:
	mov	r2, r7
	mov	r1, #40
	ldr	r0, [r5]
	ldr	r3, [sp, #4]
	bl	dma_free_coherent
	b	.L1
.L12:
	ldmib	sp, {r0, r6}
	bl	MSD
	str	r0, [r6, #4]
	ldmib	sp, {r0, r6}
	bl	LSD
	str	r0, [r6, #8]
	ldr	r3, [r4]
	ldr	r2, [sp, #8]
	lsl	r3, r3, #16
	orr	r3, r3, #40
	str	r3, [r2, #12]
	mov	r0, r5
	add	r1, sp, #8
	bl	qlcnic_issue_cmd
	ldr	r3, .L13+20
	mov	r6, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
	mov	r2, r0
	ldr	r1, .L13+24
	ldr	r0, [r5]
	bl	dev_err
	ldr	r3, .L13+8
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L6:
	add	r0, sp, #8
	bl	qlcnic_free_mbx_args
	b	.L5
.L11:
	ldr	r3, .L13+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	QLCNIC_MGMT_FUNC
	.word	.LC1
	.word	EIO
	.word	GFP_KERNEL
	.word	QLCNIC_CMD_SET_NIC_INFO
	.word	QLCNIC_RCODE_SUCCESS
	.word	.LC0
	.word	ENOMEM
	.size	qlcnic_82xx_set_nic_info, .-qlcnic_82xx_set_nic_info
	.comm	QLCNIC_RCODE_SUCCESS,4,4
	.comm	QLCNIC_MGMT_FUNC,4,4
	.comm	QLCNIC_CMD_SET_NIC_INFO,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
