	.file	"extr_i40e_nvm.c_i40e_read_nvm_word.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40e_read_nvm_word
	.type	i40e_read_nvm_word, @function
i40e_read_nvm_word:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR I40E_HW_FLAG_NVM_READ_REQUIRES_LOCK[rip], eax
	je	.L5
	mov	esi, DWORD PTR I40E_RESOURCE_READ[rip]
	call	i40e_acquire_nvm@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L1
.L5:
	mov	rdx, r14
	mov	esi, r13d
	mov	rdi, rbp
	call	__i40e_read_nvm_word@PLT
	mov	r12, rax
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR I40E_HW_FLAG_NVM_READ_REQUIRES_LOCK[rip], eax
	jne	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	i40e_release_nvm@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
	.cfi_endproc
.LFE0:
	.size	i40e_read_nvm_word, .-i40e_read_nvm_word
	.comm	I40E_RESOURCE_READ,4,4
	.comm	I40E_HW_FLAG_NVM_READ_REQUIRES_LOCK,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_nvm.c_i40e_read_nvm_word.c"
	.text
	.align	2
	.global	i40e_read_nvm_word
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_read_nvm_word, %function
i40e_read_nvm_word:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L9
	ldr	ip, [r0]
	ldr	r3, [r7]
	mov	r4, r0
	tst	ip, r3
	mov	r8, r1
	mov	r6, r2
	beq	.L5
	ldr	r3, .L9+4
	ldr	r1, [r3]
	bl	i40e_acquire_nvm
	subs	r5, r0, #0
	bne	.L1
.L5:
	mov	r2, r6
	mov	r1, r8
	mov	r0, r4
	bl	__i40e_read_nvm_word
	ldr	r3, [r7]
	ldr	r2, [r4]
	mov	r5, r0
	tst	r2, r3
	bne	.L8
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r4
	bl	i40e_release_nvm
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	I40E_HW_FLAG_NVM_READ_REQUIRES_LOCK
	.word	I40E_RESOURCE_READ
	.size	i40e_read_nvm_word, .-i40e_read_nvm_word
	.comm	I40E_RESOURCE_READ,4,4
	.comm	I40E_HW_FLAG_NVM_READ_REQUIRES_LOCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
