	.file	"extr_ich8lan.c_e1000_write_nvm_ich8lan.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"nvm parameter(s) out of bounds\n"
	.text
	.p2align 4
	.type	e1000_write_nvm_ich8lan, @function
e1000_write_nvm_ich8lan:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	cmp	rax, rsi
	jle	.L2
	sub	rax, rsi
	mov	rbx, rsi
	mov	r13, rdx
	cmp	rax, rdx
	jl	.L2
	test	rdx, rdx
	je	.L2
	mov	r12, rdi
	mov	rbp, rcx
	call	[QWORD PTR 24[rdi]]
	test	r13, r13
	jle	.L6
	mov	rax, QWORD PTR [r12]
	sal	rbx, 4
	mov	rcx, rbp
	lea	rsi, 0[rbp+r13*8]
	add	rax, rbx
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdx, QWORD PTR [rcx]
	add	rcx, 8
	mov	DWORD PTR [rax], 1
	add	rax, 16
	mov	QWORD PTR -8[rax], rdx
	cmp	rcx, rsi
	jne	.L7
.L6:
	mov	rdi, r12
	call	[QWORD PTR 16[r12]]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	e_dbg@PLT
	mov	eax, DWORD PTR E1000_ERR_NVM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	e1000_write_nvm_ich8lan, .-e1000_write_nvm_ich8lan
	.comm	E1000_ERR_NVM,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_ich8lan.c_e1000_write_nvm_ich8lan.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nvm parameter(s) out of bounds\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_write_nvm_ich8lan, %function
e1000_write_nvm_ich8lan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	ip, r1
	ble	.L2
	mov	r4, r1
	clz	r1, r2
	sub	ip, ip, r4
	lsr	r1, r1, #5
	cmp	ip, r2
	orrlt	r1, r1, #1
	cmp	r1, #0
	mov	r7, r2
	beq	.L3
.L2:
	ldr	r0, .L10
	bl	e_dbg
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r6, r3
	ldr	r3, [r0, #12]
	mov	r5, r0
	blx	r3
	cmp	r7, #0
	ble	.L5
	mov	r0, #1
	ldr	ip, [r5]
	add	r2, r7, r4
	sub	r3, r6, #4
	add	r2, ip, r2, lsl #3
	add	r1, ip, r4, lsl #3
.L6:
	ldr	ip, [r3, #4]!
	stm	r1, {r0, ip}
	add	r1, r1, #8
	cmp	r1, r2
	bne	.L6
.L5:
	mov	r0, r5
	ldr	r3, [r5, #8]
	blx	r3
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	E1000_ERR_NVM
	.size	e1000_write_nvm_ich8lan, .-e1000_write_nvm_ich8lan
	.comm	E1000_ERR_NVM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
