	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_eeprom_checks
_e1000_eeprom_checks:                   ## @e1000_eeprom_checks
	.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
	movl	$0, -28(%rbp)
	movq	8(%rdi), %rax
	movq	_e1000_82573@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	addq	$8, %rdi
	movq	_NVM_INIT_CONTROL2_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %r14
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_e1000_read_nvm
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_le16_to_cpus
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.2:
	movl	-28(%rbp), %r14d
	xorl	%edi, %edi
	callq	_BIT
	testl	%r14d, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_82573,8,3                ## @e1000_82573
	.comm	_NVM_INIT_CONTROL2_REG,4,2      ## @NVM_INIT_CONTROL2_REG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: detected DSPD enabled in EEPROM\n"

	.no_dead_strip	_e1000_eeprom_checks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_eeprom_checks
_e1000_eeprom_checks:                   ; @e1000_eeprom_checks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]!
	str	wzr, [sp, #12]
Lloh0:
	adrp	x9, _e1000_82573@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_82573@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _NVM_INIT_CONTROL2_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVM_INIT_CONTROL2_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	w2, #1
	bl	_e1000_read_nvm
	mov	x20, x0
	add	x0, sp, #12
	bl	_le16_to_cpus
	cbnz	w20, LBB0_4
; %bb.2:
	ldr	w20, [sp, #12]
	mov	w0, #0
	bl	_BIT
	tst	w0, w20
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_82573,8,3                ; @e1000_82573
	.comm	_NVM_INIT_CONTROL2_REG,4,2      ; @NVM_INIT_CONTROL2_REG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: detected DSPD enabled in EEPROM\n"

	.no_dead_strip	_e1000_eeprom_checks
.subsections_via_symbols
