	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_validate_nvm_checksum_82580
_igb_validate_nvm_checksum_82580:       ## @igb_validate_nvm_checksum_82580
	.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, %r15
	movq	_NVM_COMPATIBILITY_REG_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rcx
	movl	$1, %edx
	callq	*(%rdi)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
	jmp	LBB0_6
LBB0_3:
	movq	_NVM_COMPATIBILITY_BIT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	testl	%eax, -36(%rbp)
	setne	%cl
	leal	(%rcx,%rcx,2), %r12d
	incl	%r12d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_NVM_82580_LAN_FUNC_OFFSET
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_igb_validate_nvm_checksum_with_offset
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_4
	jmp	LBB0_6
LBB0_5:
	movq	%rax, %r14
LBB0_6:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVM_COMPATIBILITY_REG_3,4,2    ## @NVM_COMPATIBILITY_REG_3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVM Read Error\n"

	.comm	_NVM_COMPATIBILITY_BIT_MASK,4,2 ## @NVM_COMPATIBILITY_BIT_MASK
	.no_dead_strip	_igb_validate_nvm_checksum_82580
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_validate_nvm_checksum_82580
_igb_validate_nvm_checksum_82580:       ; @igb_validate_nvm_checksum_82580
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVM_COMPATIBILITY_REG_3@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVM_COMPATIBILITY_REG_3@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x3, sp, #12
	mov	w2, #1
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
	b	LBB0_7
LBB0_2:
	mov	w20, #0
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _NVM_COMPATIBILITY_BIT_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NVM_COMPATIBILITY_BIT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #4
	csinc	w22, w8, wzr, ne
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_NVM_82580_LAN_FUNC_OFFSET
	mov	x1, x0
	mov	x0, x19
	bl	_igb_validate_nvm_checksum_with_offset
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	cmp	w22, w20
	b.ne	LBB0_3
; %bb.5:
	mov	x21, #0
	b	LBB0_7
LBB0_6:
	mov	x21, x0
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NVM_COMPATIBILITY_REG_3,4,2    ; @NVM_COMPATIBILITY_REG_3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVM Read Error\n"

	.comm	_NVM_COMPATIBILITY_BIT_MASK,4,2 ; @NVM_COMPATIBILITY_BIT_MASK
	.no_dead_strip	_igb_validate_nvm_checksum_82580
.subsections_via_symbols
