	.file	"extr_e1000_nvm.c_e1000_validate_nvm_checksum_generic.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"e1000_validate_nvm_checksum_generic"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"NVM Read Error\n"
.LC2:
	.string	"NVM Checksum Invalid\n"
	.text
	.p2align 4
	.globl	e1000_validate_nvm_checksum_generic
	.type	e1000_validate_nvm_checksum_generic, @function
e1000_validate_nvm_checksum_generic:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	DEBUGFUNC@PLT
	cmp	QWORD PTR NVM_CHECKSUM_REG[rip], 0
	js	.L8
	xor	ebx, ebx
	xor	r13d, r13d
	mov	r14, rsp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	r13, QWORD PTR [rsp]
	add	rbx, 1
	cmp	QWORD PTR NVM_CHECKSUM_REG[rip], rbx
	jl	.L2
.L5:
	mov	rcx, r14
	mov	edx, 1
	mov	rsi, rbx
	mov	rdi, rbp
	call	[QWORD PTR 0[rbp]]
	mov	r12, rax
	test	rax, rax
	je	.L3
	lea	rdi, .LC1[rip]
	call	DEBUGOUT@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.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
.L8:
	.cfi_restore_state
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	QWORD PTR NVM_SUM[rip], r13
	mov	r12, QWORD PTR E1000_SUCCESS[rip]
	je	.L1
	lea	rdi, .LC2[rip]
	call	DEBUGOUT@PLT
	mov	r12, QWORD PTR E1000_ERR_NVM[rip]
	neg	r12
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	e1000_validate_nvm_checksum_generic, .-e1000_validate_nvm_checksum_generic
	.comm	NVM_SUM,8,8
	.comm	NVM_CHECKSUM_REG,8,8
	.comm	E1000_SUCCESS,8,8
	.comm	E1000_ERR_NVM,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_nvm.c_e1000_validate_nvm_checksum_generic.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"e1000_validate_nvm_checksum_generic\000"
	.align	2
.LC1:
	.ascii	"NVM Read Error\012\000"
	.align	2
.LC2:
	.ascii	"NVM Checksum Invalid\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	e1000_validate_nvm_checksum_generic
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_validate_nvm_checksum_generic, %function
e1000_validate_nvm_checksum_generic:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L14
	ldr	r8, .L14+4
	sub	sp, sp, #8
	mov	r6, r0
	ldr	r0, .L14+8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	DEBUGFUNC
	ldr	r3, [r8]
	cmp	r3, #0
	blt	.L8
	mov	r5, #0
	mov	r7, r5
	b	.L5
.L3:
	ldr	r2, [r8]
	ldr	r3, [sp]
	add	r5, r5, #1
	cmp	r2, r5
	add	r7, r7, r3
	blt	.L2
.L5:
	ldr	r4, [r6]
	mov	r3, sp
	mov	r2, #1
	mov	r1, r5
	mov	r0, r6
	blx	r4
	subs	r4, r0, #0
	beq	.L3
	ldr	r0, .L14+12
	bl	DEBUGOUT
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r7, #0
.L2:
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmp	r3, r7
	ldreq	r3, .L14+20
	ldreq	r4, [r3]
	beq	.L1
.L13:
	ldr	r0, .L14+24
	bl	DEBUGOUT
	ldr	r3, .L14+28
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	NVM_CHECKSUM_REG
	.word	.LC0
	.word	.LC1
	.word	NVM_SUM
	.word	E1000_SUCCESS
	.word	.LC2
	.word	E1000_ERR_NVM
	.size	e1000_validate_nvm_checksum_generic, .-e1000_validate_nvm_checksum_generic
	.comm	NVM_SUM,4,4
	.comm	NVM_CHECKSUM_REG,4,4
	.comm	E1000_SUCCESS,4,4
	.comm	E1000_ERR_NVM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
