	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_read_flash_data32_ich8lan
_e1000_read_flash_data32_ich8lan:       ## @e1000_read_flash_data32_ich8lan
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ICH_FLASH_LINEAR_ADDR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	%esi, %r15d
	jl	LBB0_2
## %bb.1:
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	_e1000_pch_spt@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
LBB0_2:
	movq	_E1000_ERR_NVM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	andl	%esi, %r15d
	addl	(%r12), %r15d
	movq	$-1, %r13
	movq	_ICH_FLASH_HSFSTS@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_udelay
	movq	%r12, %rdi
	callq	_e1000_flash_cycle_init_ich8lan
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	callq	_er32flash
	movl	(%r14), %edi
	movl	$196608, %esi                   ## imm = 0x30000
	callq	_ew32flash
	movq	_ICH_FLASH_FADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_ew32flash
	movq	_ICH_FLASH_READ_COMMAND_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_e1000_flash_cycle_ich8lan
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_er16flash
	incq	%r13
	movq	_ICH_FLASH_CYCLE_REPEAT_COUNT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jl	LBB0_4
	jmp	LBB0_9
LBB0_5:
	movq	%rax, %rbx
	jmp	LBB0_9
LBB0_7:
	movq	_ICH_FLASH_FDATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32flash
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ERR_NVM,8,3              ## @E1000_ERR_NVM
	.comm	_ICH_FLASH_LINEAR_ADDR_MASK,4,2 ## @ICH_FLASH_LINEAR_ADDR_MASK
	.comm	_e1000_pch_spt,8,3              ## @e1000_pch_spt
	.comm	_ICH_FLASH_HSFSTS,4,2           ## @ICH_FLASH_HSFSTS
	.comm	_ICH_CYCLE_READ,4,2             ## @ICH_CYCLE_READ
	.comm	_ICH_FLASH_FADDR,4,2            ## @ICH_FLASH_FADDR
	.comm	_ICH_FLASH_READ_COMMAND_TIMEOUT,4,2 ## @ICH_FLASH_READ_COMMAND_TIMEOUT
	.comm	_ICH_FLASH_FDATA0,4,2           ## @ICH_FLASH_FDATA0
	.comm	_ICH_FLASH_CYCLE_REPEAT_COUNT,8,3 ## @ICH_FLASH_CYCLE_REPEAT_COUNT
	.no_dead_strip	_e1000_read_flash_data32_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_read_flash_data32_ich8lan
_e1000_read_flash_data32_ich8lan:       ; @e1000_read_flash_data32_ich8lan
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _ICH_FLASH_LINEAR_ADDR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICH_FLASH_LINEAR_ADDR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x9, [x0, #8]
Lloh3:
	adrp	x10, _e1000_pch_spt@GOTPAGE
Lloh4:
	ldr	x10, [x10, _e1000_pch_spt@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _E1000_ERR_NVM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_ERR_NVM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	neg	x22, x8
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x19, x2
	and	w8, w8, w1
	ldr	w9, [x20]
	add	w21, w9, w8
	mov	x23, #-1
Lloh9:
	adrp	x24, _ICH_FLASH_HSFSTS@GOTPAGE
Lloh10:
	ldr	x24, [x24, _ICH_FLASH_HSFSTS@GOTPAGEOFF]
Lloh11:
	adrp	x25, _ICH_FLASH_FADDR@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ICH_FLASH_FADDR@GOTPAGEOFF]
Lloh13:
	adrp	x26, _ICH_FLASH_READ_COMMAND_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x26, [x26, _ICH_FLASH_READ_COMMAND_TIMEOUT@GOTPAGEOFF]
Lloh15:
	adrp	x27, _ICH_FLASH_CYCLE_REPEAT_COUNT@GOTPAGE
Lloh16:
	ldr	x27, [x27, _ICH_FLASH_CYCLE_REPEAT_COUNT@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_udelay
	mov	x0, x20
	bl	_e1000_flash_cycle_init_ich8lan
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	bl	_er32flash
	ldr	w0, [x24]
	mov	w1, #196608
	bl	_ew32flash
	ldr	w0, [x25]
	mov	x1, x21
	bl	_ew32flash
	ldr	w1, [x26]
	mov	x0, x20
	bl	_e1000_flash_cycle_ich8lan
	mov	x22, x0
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	bl	_er16flash
	ldr	x8, [x27]
	add	x23, x23, #1
	cmp	x23, x8
	b.lt	LBB0_5
	b	LBB0_3
LBB0_8:
	mov	x22, x0
	b	LBB0_3
LBB0_9:
Lloh17:
	adrp	x8, _ICH_FLASH_FDATA0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ICH_FLASH_FDATA0@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_er32flash
	str	w0, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ERR_NVM,8,3              ; @E1000_ERR_NVM
	.comm	_ICH_FLASH_LINEAR_ADDR_MASK,4,2 ; @ICH_FLASH_LINEAR_ADDR_MASK
	.comm	_e1000_pch_spt,8,3              ; @e1000_pch_spt
	.comm	_ICH_FLASH_HSFSTS,4,2           ; @ICH_FLASH_HSFSTS
	.comm	_ICH_CYCLE_READ,4,2             ; @ICH_CYCLE_READ
	.comm	_ICH_FLASH_FADDR,4,2            ; @ICH_FLASH_FADDR
	.comm	_ICH_FLASH_READ_COMMAND_TIMEOUT,4,2 ; @ICH_FLASH_READ_COMMAND_TIMEOUT
	.comm	_ICH_FLASH_FDATA0,4,2           ; @ICH_FLASH_FDATA0
	.comm	_ICH_FLASH_CYCLE_REPEAT_COUNT,8,3 ; @ICH_FLASH_CYCLE_REPEAT_COUNT
	.no_dead_strip	_e1000_read_flash_data32_ich8lan
.subsections_via_symbols
