	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_write_protect_nvm_ich8lan ## -- Begin function e1000e_write_protect_nvm_ich8lan
	.p2align	4, 0x90
_e1000e_write_protect_nvm_ich8lan:      ## @e1000e_write_protect_nvm_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	*8(%rdi)
	movq	_ICH_FLASH_GFPREG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32flash
	movq	%rax, %rbx
	movq	_ICH_FLASH_PR0@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_er32flash
	movq	_FLASH_GFPREG_BASE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	andl	%ebx, %ecx
	sarl	$16, %ebx
	andl	%eax, %ebx
	shlq	$32, %rbx
	orq	%rcx, %rbx
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_ew32flash
	movq	_ICH_FLASH_HSFSTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er16flash
	movabsq	$-4294967296, %rsi              ## imm = 0xFFFFFFFF00000000
	andq	%rax, %rsi
	orq	$1, %rsi
	movl	(%rbx), %edi
	callq	_ew32flash
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rdi)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICH_FLASH_GFPREG,4,2           ## @ICH_FLASH_GFPREG
	.comm	_ICH_FLASH_PR0,4,2              ## @ICH_FLASH_PR0
	.comm	_FLASH_GFPREG_BASE_MASK,4,2     ## @FLASH_GFPREG_BASE_MASK
	.comm	_ICH_FLASH_HSFSTS,4,2           ## @ICH_FLASH_HSFSTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_write_protect_nvm_ich8lan ; -- Begin function e1000e_write_protect_nvm_ich8lan
	.p2align	2
_e1000e_write_protect_nvm_ich8lan:      ; @e1000e_write_protect_nvm_ich8lan
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, #8]
	blr	x8
Lloh0:
	adrp	x8, _ICH_FLASH_GFPREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICH_FLASH_GFPREG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_er32flash
	mov	x20, x0
Lloh3:
	adrp	x21, _ICH_FLASH_PR0@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ICH_FLASH_PR0@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32flash
Lloh5:
	adrp	x8, _FLASH_GFPREG_BASE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLASH_GFPREG_BASE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	x1, x20, x8
	and	w8, w8, w20, asr #16
	bfi	x1, x8, #32, #32
	ldr	w0, [x21]
	bl	_ew32flash
Lloh8:
	adrp	x20, _ICH_FLASH_HSFSTS@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ICH_FLASH_HSFSTS@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er16flash
	and	x8, x0, #0xffffffff00000000
	orr	x1, x8, #0x1
	ldr	w0, [x20]
	bl	_ew32flash
	ldr	x1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ICH_FLASH_GFPREG,4,2           ; @ICH_FLASH_GFPREG
	.comm	_ICH_FLASH_PR0,4,2              ; @ICH_FLASH_PR0
	.comm	_FLASH_GFPREG_BASE_MASK,4,2     ; @FLASH_GFPREG_BASE_MASK
	.comm	_ICH_FLASH_HSFSTS,4,2           ; @ICH_FLASH_HSFSTS
.subsections_via_symbols
