	.file	"extr_ixgb_ee.c_ixgb_write_eeprom.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ixgb_write_eeprom
	.type	ixgb_write_eeprom, @function
ixgb_write_eeprom:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	call	ixgb_setup_eeprom@PLT
	mov	esi, DWORD PTR EEPROM_EWEN_OPCODE[rip]
	mov	rdi, rbp
	mov	edx, 5
	call	ixgb_shift_out_bits@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, rbp
	call	ixgb_shift_out_bits@PLT
	mov	rdi, rbp
	call	ixgb_standby_eeprom@PLT
	mov	esi, DWORD PTR EEPROM_WRITE_OPCODE[rip]
	mov	rdi, rbp
	mov	edx, 3
	call	ixgb_shift_out_bits@PLT
	mov	esi, r13d
	mov	rdi, rbp
	mov	edx, 6
	call	ixgb_shift_out_bits@PLT
	mov	esi, r12d
	mov	edx, 16
	mov	rdi, rbp
	call	ixgb_shift_out_bits@PLT
	mov	rdi, rbp
	call	ixgb_wait_eeprom_command@PLT
	mov	rdi, rbp
	call	ixgb_standby_eeprom@PLT
	mov	esi, DWORD PTR EEPROM_EWDS_OPCODE[rip]
	mov	rdi, rbp
	mov	edx, 5
	call	ixgb_shift_out_bits@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, rbp
	call	ixgb_shift_out_bits@PLT
	mov	rdi, rbp
	call	ixgb_cleanup_eeprom@PLT
	mov	edi, DWORD PTR EEPROM_ICW1_SIGNATURE_CLEAR[rip]
	call	cpu_to_le16@PLT
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	.cfi_endproc
.LFE0:
	.size	ixgb_write_eeprom, .-ixgb_write_eeprom
	.comm	EEPROM_WRITE_OPCODE,4,4
	.comm	EEPROM_ICW1_SIGNATURE_CLEAR,4,4
	.comm	EEPROM_EWEN_OPCODE,4,4
	.comm	EEPROM_EWDS_OPCODE,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_ixgb_ee.c_ixgb_write_eeprom.c"
	.text
	.align	2
	.global	ixgb_write_eeprom
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgb_write_eeprom, %function
ixgb_write_eeprom:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r1
	mov	r5, r2
	ldr	r7, [r0]
	bl	ixgb_setup_eeprom
	ldr	r3, .L4
	mov	r2, #5
	ldr	r1, [r3]
	mov	r0, r4
	bl	ixgb_shift_out_bits
	mov	r2, #4
	mov	r1, #0
	mov	r0, r4
	bl	ixgb_shift_out_bits
	mov	r0, r4
	bl	ixgb_standby_eeprom
	ldr	r3, .L4+4
	mov	r2, #3
	ldr	r1, [r3]
	mov	r0, r4
	bl	ixgb_shift_out_bits
	mov	r1, r6
	mov	r2, #6
	mov	r0, r4
	bl	ixgb_shift_out_bits
	mov	r1, r5
	mov	r2, #16
	mov	r0, r4
	bl	ixgb_shift_out_bits
	mov	r0, r4
	bl	ixgb_wait_eeprom_command
	mov	r0, r4
	bl	ixgb_standby_eeprom
	ldr	r3, .L4+8
	mov	r2, #5
	ldr	r1, [r3]
	mov	r0, r4
	bl	ixgb_shift_out_bits
	mov	r2, #4
	mov	r1, #0
	mov	r0, r4
	bl	ixgb_shift_out_bits
	mov	r0, r4
	bl	ixgb_cleanup_eeprom
	ldr	r3, .L4+12
	ldr	r0, [r3]
	bl	cpu_to_le16
	str	r0, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	EEPROM_EWEN_OPCODE
	.word	EEPROM_WRITE_OPCODE
	.word	EEPROM_EWDS_OPCODE
	.word	EEPROM_ICW1_SIGNATURE_CLEAR
	.size	ixgb_write_eeprom, .-ixgb_write_eeprom
	.comm	EEPROM_WRITE_OPCODE,4,4
	.comm	EEPROM_ICW1_SIGNATURE_CLEAR,4,4
	.comm	EEPROM_EWEN_OPCODE,4,4
	.comm	EEPROM_EWDS_OPCODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
