	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_valid_led_default_ich8lan
_e1000_valid_led_default_ich8lan:       ## @e1000_valid_led_default_ich8lan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_NVM_ID_LED_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_e1000_read_nvm
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_5
LBB0_2:
	movq	(%r14), %rax
	movq	_ID_LED_RESERVED_0000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_ID_LED_RESERVED_FFFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_4:
	movq	_ID_LED_DEFAULT_ICH8LAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVM_ID_LED_SETTINGS,4,2        ## @NVM_ID_LED_SETTINGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVM Read Error\n"

	.comm	_ID_LED_RESERVED_0000,8,3       ## @ID_LED_RESERVED_0000
	.comm	_ID_LED_RESERVED_FFFF,8,3       ## @ID_LED_RESERVED_FFFF
	.comm	_ID_LED_DEFAULT_ICH8LAN,8,3     ## @ID_LED_DEFAULT_ICH8LAN
	.no_dead_strip	_e1000_valid_led_default_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_valid_led_default_ich8lan
_e1000_valid_led_default_ich8lan:       ; @e1000_valid_led_default_ich8lan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _NVM_ID_LED_SETTINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVM_ID_LED_SETTINGS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #1
	mov	x3, x19
	bl	_e1000_read_nvm
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _ID_LED_RESERVED_0000@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ID_LED_RESERVED_0000@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _ID_LED_RESERVED_FFFF@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ID_LED_RESERVED_FFFF@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _ID_LED_DEFAULT_ICH8LAN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ID_LED_DEFAULT_ICH8LAN@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NVM_ID_LED_SETTINGS,4,2        ; @NVM_ID_LED_SETTINGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVM Read Error\n"

	.comm	_ID_LED_RESERVED_0000,8,3       ; @ID_LED_RESERVED_0000
	.comm	_ID_LED_RESERVED_FFFF,8,3       ; @ID_LED_RESERVED_FFFF
	.comm	_ID_LED_DEFAULT_ICH8LAN,8,3     ; @ID_LED_DEFAULT_ICH8LAN
	.no_dead_strip	_e1000_valid_led_default_ich8lan
.subsections_via_symbols
