	.file	"extr_e1000_82575.c_igb_update_nvm_checksum_with_offset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"NVM Read Error while updating checksum.\n"
	.align 8
.LC1:
	.string	"NVM Write Error while updating checksum.\n"
	.text
	.p2align 4
	.type	igb_update_nvm_checksum_with_offset, @function
igb_update_nvm_checksum_with_offset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	add	rsi, QWORD PTR NVM_CHECKSUM_REG[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 8[rsp], 0
	cmp	rbp, rsi
	jge	.L7
	mov	rbx, rbp
	lea	r13, 16[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, QWORD PTR NVM_CHECKSUM_REG[rip]
	mov	rax, QWORD PTR 16[rsp]
	add	rbx, 1
	add	rax, QWORD PTR 8[rsp]
	add	rsi, rbp
	mov	QWORD PTR 8[rsp], rax
	cmp	rsi, rbx
	jle	.L2
.L5:
	mov	rcx, r13
	mov	edx, 1
	mov	rsi, rbx
	mov	rdi, r14
	call	[QWORD PTR 8[r14]]
	mov	r12, rax
	test	rax, rax
	je	.L3
	lea	rdi, .LC0[rip]
	call	hw_dbg@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L7:
	.cfi_restore_state
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, QWORD PTR NVM_SUM[rip]
	lea	rcx, 8[rsp]
	mov	rdi, r14
	sub	rdx, rax
	mov	QWORD PTR 8[rsp], rdx
	mov	edx, 1
	call	[QWORD PTR [r14]]
	mov	r12, rax
	test	rax, rax
	je	.L1
.L4:
	endbr64
	lea	rdi, .LC1[rip]
	call	hw_dbg@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	igb_update_nvm_checksum_with_offset, .-igb_update_nvm_checksum_with_offset
	.comm	NVM_SUM,8,8
	.comm	NVM_CHECKSUM_REG,8,8
	.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_e1000_82575.c_igb_update_nvm_checksum_with_offset.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NVM Read Error while updating checksum.\012\000"
	.align	2
.LC1:
	.ascii	"NVM Write Error while updating checksum.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_update_nvm_checksum_with_offset, %function
igb_update_nvm_checksum_with_offset:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r2, #0
	ldr	r7, .L15
	ldr	r1, .L15+4
	ldr	r3, [r7]
	sub	sp, sp, #16
	add	r3, r6, r3
	cmp	r6, r3
	ldr	r1, [r1]
	str	r1, [sp, #12]
	mov	r1,#0
	mov	r5, r0
	str	r2, [sp, #4]
	bge	.L2
	mov	r8, r6
	b	.L5
.L3:
	ldr	r3, [r7]
	ldr	r2, [sp, #4]
	ldr	r1, [sp, #8]
	add	r8, r8, #1
	add	r3, r6, r3
	add	r2, r2, r1
	cmp	r3, r8
	str	r2, [sp, #4]
	ble	.L2
.L5:
	ldr	r4, [r5, #4]
	mov	r2, #1
	mov	r1, r8
	mov	r0, r5
	add	r3, sp, #8
	blx	r4
	subs	r4, r0, #0
	beq	.L3
	ldr	r0, .L15+8
	bl	hw_dbg
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L15+12
	mov	r1, r3
	ldr	r3, [r0]
	ldr	r4, [r5]
	sub	r2, r3, r2
	str	r2, [sp, #4]
	mov	r0, r5
	mov	r2, #1
	add	r3, sp, #4
	blx	r4
	subs	r4, r0, #0
	beq	.L1
.L4:
	ldr	r0, .L15+16
	bl	hw_dbg
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	NVM_CHECKSUM_REG
	.word	.LC2
	.word	.LC0
	.word	NVM_SUM
	.word	.LC1
	.size	igb_update_nvm_checksum_with_offset, .-igb_update_nvm_checksum_with_offset
	.comm	NVM_SUM,4,4
	.comm	NVM_CHECKSUM_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
