	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_valid_led_default_82571
_e1000_valid_led_default_82571:         ## @e1000_valid_led_default_82571
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_NVM_ID_LED_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_e1000_read_nvm
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_9
LBB0_2:
	movl	(%rbx), %ecx
	addl	$-128, %ecx
	movl	(%r14), %eax
	cmpl	$2, %ecx
	ja	LBB0_5
## %bb.3:
	movq	_ID_LED_RESERVED_F746@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.4:
	movq	_ID_LED_DEFAULT_82573@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_ID_LED_RESERVED_0000@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_ID_LED_RESERVED_FFFF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
LBB0_7:
	movq	_ID_LED_DEFAULT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_9:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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_F746,4,2       ## @ID_LED_RESERVED_F746
	.comm	_ID_LED_DEFAULT_82573,4,2       ## @ID_LED_DEFAULT_82573
	.comm	_ID_LED_RESERVED_0000,4,2       ## @ID_LED_RESERVED_0000
	.comm	_ID_LED_RESERVED_FFFF,4,2       ## @ID_LED_RESERVED_FFFF
	.comm	_ID_LED_DEFAULT,4,2             ## @ID_LED_DEFAULT
	.no_dead_strip	_e1000_valid_led_default_82571
.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_82571
_e1000_valid_led_default_82571:         ; @e1000_valid_led_default_82571
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
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_8
LBB0_2:
	ldr	w8, [x21]
	sub	w9, w8, #128
	ldr	w8, [x19]
	cmp	w9, #2
	b.hi	LBB0_5
; %bb.3:
Lloh5:
	adrp	x9, _ID_LED_RESERVED_F746@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ID_LED_RESERVED_F746@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.4:
Lloh8:
	adrp	x8, _ID_LED_DEFAULT_82573@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ID_LED_DEFAULT_82573@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x9, _ID_LED_RESERVED_0000@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ID_LED_RESERVED_0000@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _ID_LED_RESERVED_FFFF@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ID_LED_RESERVED_FFFF@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_8
; %bb.6:
Lloh16:
	adrp	x8, _ID_LED_DEFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ID_LED_DEFAULT@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.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_F746,4,2       ; @ID_LED_RESERVED_F746
	.comm	_ID_LED_DEFAULT_82573,4,2       ; @ID_LED_DEFAULT_82573
	.comm	_ID_LED_RESERVED_0000,4,2       ; @ID_LED_RESERVED_0000
	.comm	_ID_LED_RESERVED_FFFF,4,2       ; @ID_LED_RESERVED_FFFF
	.comm	_ID_LED_DEFAULT,4,2             ; @ID_LED_DEFAULT
	.no_dead_strip	_e1000_valid_led_default_82571
.subsections_via_symbols
