	.file	"extr_ixgbe_x540.c_ixgbe_init_eeprom_params_X540.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Eeprom params: type = %d, size = %d\n"
	.text
	.p2align 4
	.globl	ixgbe_init_eeprom_params_X540
	.type	ixgbe_init_eeprom_params_X540, @function
ixgbe_init_eeprom_params_X540:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR ixgbe_eeprom_uninitialized[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L8
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR ixgbe_flash[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	DWORD PTR 8[rdi], 10
	mov	QWORD PTR [rdi], rax
	call	IXGBE_EEC@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	IXGBE_READ_REG@PLT
	mov	ecx, DWORD PTR IXGBE_EEC_SIZE_SHIFT[rip]
	and	eax, DWORD PTR IXGBE_EEC_SIZE[rip]
	sar	eax, cl
	movsx	rdi, eax
	add	rdi, QWORD PTR IXGBE_EEPROM_WORD_SIZE_SHIFT[rip]
	call	BIT@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 12[rbp], eax
	mov	ecx, eax
	call	hw_dbg@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ixgbe_init_eeprom_params_X540, .-ixgbe_init_eeprom_params_X540
	.comm	ixgbe_flash,8,8
	.comm	ixgbe_eeprom_uninitialized,8,8
	.comm	IXGBE_EEPROM_WORD_SIZE_SHIFT,8,8
	.comm	IXGBE_EEC_SIZE_SHIFT,4,4
	.comm	IXGBE_EEC_SIZE,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_ixgbe_x540.c_ixgbe_init_eeprom_params_X540.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Eeprom params: type = %d, size = %d\012\000"
	.text
	.align	2
	.global	ixgbe_init_eeprom_params_X540
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_init_eeprom_params_X540, %function
ixgbe_init_eeprom_params_X540:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
	mov	r0, #0
	bx	lr
.L8:
	mov	r2, #10
	ldr	r3, .L9+4
	push	{r4, lr}
	ldr	r3, [r3]
	str	r2, [r0, #4]
	str	r3, [r0]
	mov	r4, r0
	bl	IXGBE_EEC
	mov	r1, r0
	mov	r0, r4
	bl	IXGBE_READ_REG
	ldr	r3, .L9+8
	ldr	r1, .L9+12
	ldr	r2, .L9+16
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	and	r0, r0, r3
	add	r0, r2, r0, asr r1
	bl	BIT
	ldr	r2, [r4]
	mov	r3, r0
	str	r0, [r4, #8]
	ldr	r1, .L9+20
	mov	r0, r4
	bl	hw_dbg
	mov	r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	ixgbe_eeprom_uninitialized
	.word	ixgbe_flash
	.word	IXGBE_EEC_SIZE
	.word	IXGBE_EEC_SIZE_SHIFT
	.word	IXGBE_EEPROM_WORD_SIZE_SHIFT
	.word	.LC0
	.size	ixgbe_init_eeprom_params_X540, .-ixgbe_init_eeprom_params_X540
	.comm	ixgbe_flash,4,4
	.comm	ixgbe_eeprom_uninitialized,4,4
	.comm	IXGBE_EEPROM_WORD_SIZE_SHIFT,4,4
	.comm	IXGBE_EEC_SIZE_SHIFT,4,4
	.comm	IXGBE_EEC_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
