	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_read_invm_word_i210
_igb_read_invm_word_i210:               ## @igb_read_invm_word_i210
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_E1000_ERR_INVM_VALUE_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_E1000_INVM_SIZE@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jle	LBB0_11
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %rbx
	addq	%r12, %rbx
	incq	%rbx
	cmpq	(%r15), %rbx
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_E1000_INVM_DATA_REG
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_INVM_DWORD_TO_RECORD_TYPE
	movq	_E1000_INVM_UNINITIALIZED_STRUCTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, %r12d
	movl	$0, %r14d
	movq	_E1000_INVM_CSR_AUTOLOAD_STRUCTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_E1000_INVM_CSR_AUTOLOAD_DATA_SIZE_IN_DWORDS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_E1000_INVM_RSA_KEY_SHA256_STRUCTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_E1000_INVM_RSA_KEY_SHA256_DATA_SIZE_IN_DWORDS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_E1000_INVM_WORD_AUTOLOAD_STRUCTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_INVM_DWORD_TO_WORD_ADDRESS
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_10
## %bb.9:
	movl	%r13d, %edi
	callq	_INVM_DWORD_TO_WORD_DATA
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_hw_dbg
	jmp	LBB0_14
LBB0_11:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.13:
	negq	%rbx
	leaq	L_.str.1(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_hw_dbg
	jmp	LBB0_14
LBB0_12:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ERR_INVM_VALUE_NOT_FOUND,8,3 ## @E1000_ERR_INVM_VALUE_NOT_FOUND
	.comm	_E1000_INVM_SIZE,8,3            ## @E1000_INVM_SIZE
	.comm	_E1000_INVM_UNINITIALIZED_STRUCTURE,8,3 ## @E1000_INVM_UNINITIALIZED_STRUCTURE
	.comm	_E1000_INVM_CSR_AUTOLOAD_STRUCTURE,8,3 ## @E1000_INVM_CSR_AUTOLOAD_STRUCTURE
	.comm	_E1000_INVM_CSR_AUTOLOAD_DATA_SIZE_IN_DWORDS,8,3 ## @E1000_INVM_CSR_AUTOLOAD_DATA_SIZE_IN_DWORDS
	.comm	_E1000_INVM_RSA_KEY_SHA256_STRUCTURE,8,3 ## @E1000_INVM_RSA_KEY_SHA256_STRUCTURE
	.comm	_E1000_INVM_RSA_KEY_SHA256_DATA_SIZE_IN_DWORDS,8,3 ## @E1000_INVM_RSA_KEY_SHA256_DATA_SIZE_IN_DWORDS
	.comm	_E1000_INVM_WORD_AUTOLOAD_STRUCTURE,8,3 ## @E1000_INVM_WORD_AUTOLOAD_STRUCTURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read INVM Word 0x%02x = %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Requested word 0x%02x not found in OTP\n"

	.no_dead_strip	_igb_read_invm_word_i210
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_read_invm_word_i210
_igb_read_invm_word_i210:               ; @igb_read_invm_word_i210
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _E1000_ERR_INVM_VALUE_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_ERR_INVM_VALUE_NOT_FOUND@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh3:
	adrp	x24, _E1000_INVM_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _E1000_INVM_SIZE@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
Lloh5:
	adrp	x25, _E1000_INVM_UNINITIALIZED_STRUCTURE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _E1000_INVM_UNINITIALIZED_STRUCTURE@GOTPAGEOFF]
Lloh7:
	adrp	x27, _E1000_INVM_CSR_AUTOLOAD_DATA_SIZE_IN_DWORDS@GOTPAGE
Lloh8:
	ldr	x27, [x27, _E1000_INVM_CSR_AUTOLOAD_DATA_SIZE_IN_DWORDS@GOTPAGEOFF]
Lloh9:
	adrp	x28, _E1000_INVM_RSA_KEY_SHA256_STRUCTURE@GOTPAGE
Lloh10:
	ldr	x28, [x28, _E1000_INVM_RSA_KEY_SHA256_STRUCTURE@GOTPAGEOFF]
Lloh11:
	adrp	x20, _E1000_INVM_RSA_KEY_SHA256_DATA_SIZE_IN_DWORDS@GOTPAGE
Lloh12:
	ldr	x20, [x20, _E1000_INVM_RSA_KEY_SHA256_DATA_SIZE_IN_DWORDS@GOTPAGEOFF]
Lloh13:
	adrp	x23, _E1000_INVM_WORD_AUTOLOAD_STRUCTURE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _E1000_INVM_WORD_AUTOLOAD_STRUCTURE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x21, x19
	add	x8, x8, x26
	add	x21, x8, #1
	ldr	x8, [x24]
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_E1000_INVM_DATA_REG
	bl	_rd32
	mov	x22, x0
	bl	_INVM_DWORD_TO_RECORD_TYPE
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh15:
	adrp	x8, _E1000_INVM_CSR_AUTOLOAD_STRUCTURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E1000_INVM_CSR_AUTOLOAD_STRUCTURE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x9, [x27]
	cmp	x0, x8
	csel	x19, x9, xzr, eq
	ldr	x8, [x28]
	ldr	x9, [x20]
	cmp	x0, x8
	csel	x26, x9, xzr, eq
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_INVM_DWORD_TO_WORD_ADDRESS
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.6:
	mov	x0, x22
	bl	_INVM_DWORD_TO_WORD_DATA
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x0, [x8]
	str	x0, [sp]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_hw_dbg
	b	LBB0_9
LBB0_7:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_9
; %bb.8:
	neg	x20, x8
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_hw_dbg
	b	LBB0_10
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ERR_INVM_VALUE_NOT_FOUND,8,3 ; @E1000_ERR_INVM_VALUE_NOT_FOUND
	.comm	_E1000_INVM_SIZE,8,3            ; @E1000_INVM_SIZE
	.comm	_E1000_INVM_UNINITIALIZED_STRUCTURE,8,3 ; @E1000_INVM_UNINITIALIZED_STRUCTURE
	.comm	_E1000_INVM_CSR_AUTOLOAD_STRUCTURE,8,3 ; @E1000_INVM_CSR_AUTOLOAD_STRUCTURE
	.comm	_E1000_INVM_CSR_AUTOLOAD_DATA_SIZE_IN_DWORDS,8,3 ; @E1000_INVM_CSR_AUTOLOAD_DATA_SIZE_IN_DWORDS
	.comm	_E1000_INVM_RSA_KEY_SHA256_STRUCTURE,8,3 ; @E1000_INVM_RSA_KEY_SHA256_STRUCTURE
	.comm	_E1000_INVM_RSA_KEY_SHA256_DATA_SIZE_IN_DWORDS,8,3 ; @E1000_INVM_RSA_KEY_SHA256_DATA_SIZE_IN_DWORDS
	.comm	_E1000_INVM_WORD_AUTOLOAD_STRUCTURE,8,3 ; @E1000_INVM_WORD_AUTOLOAD_STRUCTURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read INVM Word 0x%02x = %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Requested word 0x%02x not found in OTP\n"

	.no_dead_strip	_igb_read_invm_word_i210
.subsections_via_symbols
