	.file	"extr_i40e_dcb.c_i40e_read_lldp_cfg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40e_read_lldp_cfg
	.type	i40e_read_lldp_cfg, @function
i40e_read_lldp_cfg:
.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
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR I40E_ERR_PARAM[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L1
	mov	r13, rsi
	mov	esi, DWORD PTR I40E_RESOURCE_READ[rip]
	mov	rbp, rdi
	call	i40e_acquire_nvm@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	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
.L8:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	esi, DWORD PTR I40E_SR_NVM_CONTROL_WORD[rip]
	xor	edx, edx
	mov	rdi, rbp
	push	0
	.cfi_def_cfa_offset 64
	mov	r9d, 1
	mov	ecx, 4
	lea	r8, 20[rsp]
	call	i40e_aq_read_nvm@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	i40e_release_nvm@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	test	r12, r12
	jne	.L1
	mov	eax, DWORD PTR 4[rsp]
	test	DWORD PTR I40E_SR_NVM_MAP_STRUCTURE_TYPE[rip], eax
	je	.L4
	mov	ecx, DWORD PTR I40E_SR_LLDP_CFG_PTR[rip]
	mov	edx, DWORD PTR I40E_SR_EMP_MODULE_PTR[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	_i40e_read_lldp_cfg@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, DWORD PTR I40E_NVM_LLDP_CFG_PTR[rip]
	mov	edx, DWORD PTR I40E_EMP_MODULE_PTR[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	_i40e_read_lldp_cfg@PLT
	mov	r12, rax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i40e_read_lldp_cfg, .-i40e_read_lldp_cfg
	.comm	I40E_SR_NVM_MAP_STRUCTURE_TYPE,4,4
	.comm	I40E_SR_NVM_CONTROL_WORD,4,4
	.comm	I40E_SR_LLDP_CFG_PTR,4,4
	.comm	I40E_SR_EMP_MODULE_PTR,4,4
	.comm	I40E_RESOURCE_READ,4,4
	.comm	I40E_NVM_LLDP_CFG_PTR,4,4
	.comm	I40E_ERR_PARAM,8,8
	.comm	I40E_EMP_MODULE_PTR,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_i40e_dcb.c_i40e_read_lldp_cfg.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	i40e_read_lldp_cfg
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_read_lldp_cfg, %function
i40e_read_lldp_cfg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	sub	sp, sp, #24
	subs	r5, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L9
	ldr	r3, .L12+4
	mov	r6, r0
	ldr	r1, [r3]
	bl	i40e_acquire_nvm
	subs	r4, r0, #0
	beq	.L10
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, #1
	ldr	r1, .L12+8
	str	r4, [sp, #8]
	str	r0, [sp, #4]
	add	r3, sp, #16
	mov	r2, r4
	ldr	r1, [r1]
	mov	r0, r6
	str	r3, [sp]
	mov	r3, #4
	bl	i40e_aq_read_nvm
	mov	r4, r0
	mov	r0, r6
	bl	i40e_release_nvm
	cmp	r4, #0
	bne	.L1
	ldr	r3, .L12+12
	ldr	r2, [sp, #16]
	ldr	r3, [r3]
	mov	r1, r5
	tst	r2, r3
	ldrne	r3, .L12+16
	ldrne	r2, .L12+20
	ldreq	r3, .L12+24
	ldreq	r2, .L12+28
	mov	r0, r6
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	_i40e_read_lldp_cfg
	mov	r4, r0
	b	.L1
.L9:
	ldr	r3, .L12+32
	ldr	r4, [r3]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	I40E_RESOURCE_READ
	.word	I40E_SR_NVM_CONTROL_WORD
	.word	I40E_SR_NVM_MAP_STRUCTURE_TYPE
	.word	I40E_SR_LLDP_CFG_PTR
	.word	I40E_SR_EMP_MODULE_PTR
	.word	I40E_NVM_LLDP_CFG_PTR
	.word	I40E_EMP_MODULE_PTR
	.word	I40E_ERR_PARAM
	.size	i40e_read_lldp_cfg, .-i40e_read_lldp_cfg
	.comm	I40E_SR_NVM_MAP_STRUCTURE_TYPE,4,4
	.comm	I40E_SR_NVM_CONTROL_WORD,4,4
	.comm	I40E_SR_LLDP_CFG_PTR,4,4
	.comm	I40E_SR_EMP_MODULE_PTR,4,4
	.comm	I40E_RESOURCE_READ,4,4
	.comm	I40E_NVM_LLDP_CFG_PTR,4,4
	.comm	I40E_ERR_PARAM,4,4
	.comm	I40E_EMP_MODULE_PTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
