	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_dump_eeprom
_e1000_dump_eeprom:                     ## @e1000_dump_eeprom
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	(%r14), %r15
	movq	%r14, %rdi
	callq	*8(%r15)
	movl	%eax, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	*(%r15)
	movq	_EEPROM_CHECKSUM_REG@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leaq	(%rcx,%rcx), %rax
	movslq	(%rbx,%rcx,8), %rdx
	leal	1(%rax), %esi
	movslq	%esi, %rsi
	movl	(%rbx,%rsi,4), %esi
	shll	$8, %esi
	movslq	%esi, %r15
	addq	%rdx, %r15
	testq	%rcx, %rcx
	jle	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx,%rdx,4), %rsi
	movl	4(%rbx,%rdx,4), %edi
	shll	$8, %edi
	movslq	%edi, %rdi
	addq	%rsi, %rdi
	leaq	(%rcx,%rdi,4), %rcx
	addq	$2, %rdx
	cmpq	%rax, %rdx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%ecx, %ecx
LBB0_5:
	movq	_EEPROM_SUM@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	subq	%rcx, %r12
	sarq	$2, %r12
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	movl	$16, %ecx
	movl	$1, %r8d
	movq	%rbx, %r9
	pushq	$0
	pushq	$128
	callq	_print_hex_dump
	addq	$16, %rsp
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_EEPROM_CHECKSUM_REG,4,2        ## @EEPROM_CHECKSUM_REG
	.comm	_EEPROM_SUM,8,3                 ## @EEPROM_SUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/*********************/\n"

L_.str.1:                               ## @.str.1
	.asciz	"Current EEPROM Checksum : 0x%04x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Calculated              : 0x%04x\n"

L_.str.3:                               ## @.str.3
	.asciz	"Offset    Values\n"

L_.str.4:                               ## @.str.4
	.asciz	"========  ======\n"

	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
L_.str.5:                               ## @.str.5
	.space	1

	.comm	_DUMP_PREFIX_OFFSET,4,2         ## @DUMP_PREFIX_OFFSET
L_.str.6:                               ## @.str.6
	.asciz	"Include this output when contacting your support provider.\n"

L_.str.7:                               ## @.str.7
	.asciz	"This is not a software error! Something bad happened to\n"

L_.str.8:                               ## @.str.8
	.asciz	"your hardware or EEPROM image. Ignoring this problem could\n"

L_.str.9:                               ## @.str.9
	.asciz	"result in further problems, possibly loss of data,\n"

L_.str.10:                              ## @.str.10
	.asciz	"corruption or system hangs!\n"

L_.str.11:                              ## @.str.11
	.asciz	"The MAC Address will be reset to 00:00:00:00:00:00,\n"

L_.str.12:                              ## @.str.12
	.asciz	"which is invalid and requires you to set the proper MAC\n"

L_.str.13:                              ## @.str.13
	.asciz	"address manually before continuing to enable this network\n"

L_.str.14:                              ## @.str.14
	.asciz	"device. Please inspect the EEPROM dump and report the\n"

L_.str.15:                              ## @.str.15
	.asciz	"issue to your hardware vendor or Intel Customer Support.\n"

	.no_dead_strip	_e1000_dump_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_dump_eeprom
_e1000_dump_eeprom:                     ; @e1000_dump_eeprom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x20, [x0]
	ldr	x21, [x20]
	ldr	x8, [x21, #8]
	mov	x0, x20
	blr	x8
	str	w0, [sp, #16]
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21]
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, x19
	blr	x8
Lloh3:
	adrp	x8, _EEPROM_CHECKSUM_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEPROM_CHECKSUM_REG@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x8]
	lsl	x8, x9, #1
	lsl	x10, x9, #3
	ldrsw	x10, [x19, x10]
	orr	w11, w8, #0x1
	ldr	w11, [x19, w11, sxtw #2]
	lsl	w11, w11, #8
	add	x21, x10, w11, sxtw
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	x9, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x19, x10, lsl #2
	ldp	w12, w11, [x11]
	add	w11, w12, w11, lsl #8
	add	x9, x9, w11, sxtw #2
	add	x10, x10, #2
	cmp	x10, x8
	b.lt	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x9, #0
LBB0_5:
Lloh6:
	adrp	x8, _EEPROM_SUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EEPROM_SUM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sub	x8, x8, x9
	asr	x22, x8, #2
Lloh9:
	adrp	x20, l_.str@PAGE
Lloh10:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pr_err
	str	x21, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	str	x22, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
Lloh19:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w3, #16
	mov	w4, #1
	mov	x5, x19
	mov	w6, #128
	mov	w7, #0
	bl	_print_hex_dump
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_err
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_err
Lloh31:
	adrp	x0, l_.str.8@PAGE
Lloh32:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_err
Lloh33:
	adrp	x0, l_.str.9@PAGE
Lloh34:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_err
Lloh35:
	adrp	x0, l_.str.10@PAGE
Lloh36:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_err
Lloh37:
	adrp	x0, l_.str.11@PAGE
Lloh38:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pr_err
Lloh39:
	adrp	x0, l_.str.12@PAGE
Lloh40:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pr_err
Lloh41:
	adrp	x0, l_.str.13@PAGE
Lloh42:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_err
Lloh43:
	adrp	x0, l_.str.14@PAGE
Lloh44:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_pr_err
Lloh45:
	adrp	x0, l_.str.15@PAGE
Lloh46:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_pr_err
	mov	x0, x20
	bl	_pr_err
	mov	x0, x19
	bl	_kfree
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_EEPROM_CHECKSUM_REG,4,2        ; @EEPROM_CHECKSUM_REG
	.comm	_EEPROM_SUM,8,3                 ; @EEPROM_SUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/*********************/\n"

l_.str.1:                               ; @.str.1
	.asciz	"Current EEPROM Checksum : 0x%04x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Calculated              : 0x%04x\n"

l_.str.3:                               ; @.str.3
	.asciz	"Offset    Values\n"

l_.str.4:                               ; @.str.4
	.asciz	"========  ======\n"

	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
l_.str.5:                               ; @.str.5
	.space	1

	.comm	_DUMP_PREFIX_OFFSET,4,2         ; @DUMP_PREFIX_OFFSET
l_.str.6:                               ; @.str.6
	.asciz	"Include this output when contacting your support provider.\n"

l_.str.7:                               ; @.str.7
	.asciz	"This is not a software error! Something bad happened to\n"

l_.str.8:                               ; @.str.8
	.asciz	"your hardware or EEPROM image. Ignoring this problem could\n"

l_.str.9:                               ; @.str.9
	.asciz	"result in further problems, possibly loss of data,\n"

l_.str.10:                              ; @.str.10
	.asciz	"corruption or system hangs!\n"

l_.str.11:                              ; @.str.11
	.asciz	"The MAC Address will be reset to 00:00:00:00:00:00,\n"

l_.str.12:                              ; @.str.12
	.asciz	"which is invalid and requires you to set the proper MAC\n"

l_.str.13:                              ; @.str.13
	.asciz	"address manually before continuing to enable this network\n"

l_.str.14:                              ; @.str.14
	.asciz	"device. Please inspect the EEPROM dump and report the\n"

l_.str.15:                              ; @.str.15
	.asciz	"issue to your hardware vendor or Intel Customer Support.\n"

	.no_dead_strip	_e1000_dump_eeprom
.subsections_via_symbols
