	.file	"extr_82571.c_e1000_valid_led_default_82571.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NVM Read Error\n"
	.text
	.p2align 4
	.type	e1000_valid_led_default_82571, @function
e1000_valid_led_default_82571:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rcx, rsi
	mov	edx, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	esi, DWORD PTR NVM_ID_LED_SETTINGS[rip]
	call	e1000_read_nvm@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L8
	mov	eax, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR [rbx]
	add	eax, -128
	cmp	eax, 2
	jbe	.L9
	cmp	DWORD PTR ID_LED_RESERVED_0000[rip], edx
	je	.L5
	cmp	DWORD PTR ID_LED_RESERVED_FFFF[rip], edx
	je	.L5
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmp	DWORD PTR ID_LED_RESERVED_F746[rip], edx
	jne	.L1
	mov	eax, DWORD PTR ID_LED_DEFAULT_82573[rip]
	mov	DWORD PTR [rbx], eax
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, DWORD PTR ID_LED_DEFAULT[rip]
	mov	DWORD PTR [rbx], eax
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	e_dbg@PLT
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	e1000_valid_led_default_82571, .-e1000_valid_led_default_82571
	.comm	NVM_ID_LED_SETTINGS,4,4
	.comm	ID_LED_RESERVED_FFFF,4,4
	.comm	ID_LED_RESERVED_F746,4,4
	.comm	ID_LED_RESERVED_0000,4,4
	.comm	ID_LED_DEFAULT_82573,4,4
	.comm	ID_LED_DEFAULT,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_82571.c_e1000_valid_led_default_82571.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NVM Read Error\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_valid_led_default_82571, %function
e1000_valid_led_default_82571:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L10
	push	{r4, r5, r6, lr}
	mov	r3, r1
	mov	r4, r1
	ldr	r1, [r2]
	mov	r2, #1
	mov	r5, r0
	bl	e1000_read_nvm
	subs	r6, r0, #0
	bne	.L8
	ldr	r3, [r5]
	ldr	r2, [r4]
	sub	r3, r3, #128
	cmp	r3, #2
	bls	.L9
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, r2
	beq	.L5
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, r2
	beq	.L5
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L10+12
	ldr	r3, [r3]
	cmp	r3, r2
	bne	.L1
	ldr	r3, .L10+16
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, .L10+20
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r0, .L10+24
	bl	e_dbg
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	NVM_ID_LED_SETTINGS
	.word	ID_LED_RESERVED_0000
	.word	ID_LED_RESERVED_FFFF
	.word	ID_LED_RESERVED_F746
	.word	ID_LED_DEFAULT_82573
	.word	ID_LED_DEFAULT
	.word	.LC0
	.size	e1000_valid_led_default_82571, .-e1000_valid_led_default_82571
	.comm	NVM_ID_LED_SETTINGS,4,4
	.comm	ID_LED_RESERVED_FFFF,4,4
	.comm	ID_LED_RESERVED_F746,4,4
	.comm	ID_LED_RESERVED_0000,4,4
	.comm	ID_LED_DEFAULT_82573,4,4
	.comm	ID_LED_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
