	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_flash_cycle_ich8lan
_e1000_flash_cycle_ich8lan:             ## @e1000_flash_cycle_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_ICH_FLASH_HSFCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er16flash
	movabsq	$-4294967296, %rsi              ## imm = 0xFFFFFFFF00000000
	andq	%rax, %rsi
	orq	$1, %rsi
	movl	(%rbx), %edi
	callq	_ew16flash
	xorl	%ebx, %ebx
	testq	%r14, %r14
	cmovgq	%r14, %rbx
	incq	%rbx
	movq	_ICH_FLASH_HSFSTS@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_er16flash
	movl	$1, %edi
	callq	_udelay
	decq	%rbx
	jne	LBB0_1
## %bb.2:
	movq	_E1000_ERR_NVM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICH_FLASH_HSFCTL,4,2           ## @ICH_FLASH_HSFCTL
	.comm	_ICH_FLASH_HSFSTS,4,2           ## @ICH_FLASH_HSFSTS
	.comm	_E1000_ERR_NVM,4,2              ## @E1000_ERR_NVM
	.no_dead_strip	_e1000_flash_cycle_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_flash_cycle_ich8lan
_e1000_flash_cycle_ich8lan:             ; @e1000_flash_cycle_ich8lan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x20, _ICH_FLASH_HSFCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ICH_FLASH_HSFCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er16flash
	and	x8, x0, #0xffffffff00000000
	orr	x1, x8, #0x1
	ldr	w0, [x20]
	bl	_ew16flash
	cmp	x19, #0
	csel	x8, x19, xzr, gt
	add	x19, x8, #1
Lloh2:
	adrp	x20, _ICH_FLASH_HSFSTS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ICH_FLASH_HSFSTS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_er16flash
	mov	w0, #1
	bl	_udelay
	subs	x19, x19, #1
	b.ne	LBB0_1
; %bb.2:
Lloh4:
	adrp	x8, _E1000_ERR_NVM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E1000_ERR_NVM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ICH_FLASH_HSFCTL,4,2           ; @ICH_FLASH_HSFCTL
	.comm	_ICH_FLASH_HSFSTS,4,2           ; @ICH_FLASH_HSFSTS
	.comm	_E1000_ERR_NVM,4,2              ; @E1000_ERR_NVM
	.no_dead_strip	_e1000_flash_cycle_ich8lan
.subsections_via_symbols
