	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_phy_hw_reset_ich8lan
_e1000_phy_hw_reset_ich8lan:            ## @e1000_phy_hw_reset_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_e1000_pch2lan@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_FWSM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_ICH_FWSM_FW_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_e1000_gate_hw_phy_config_ich8lan
LBB0_3:
	movq	%rbx, %rdi
	callq	_e1000e_phy_hw_reset_generic
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_e1000_post_phy_reset_ich8lan   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_pch2lan,8,3              ## @e1000_pch2lan
	.comm	_FWSM,4,2                       ## @FWSM
	.comm	_E1000_ICH_FWSM_FW_VALID,4,2    ## @E1000_ICH_FWSM_FW_VALID
	.no_dead_strip	_e1000_phy_hw_reset_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_phy_hw_reset_ich8lan
_e1000_phy_hw_reset_ich8lan:            ; @e1000_phy_hw_reset_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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _e1000_pch2lan@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_pch2lan@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _FWSM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FWSM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_er32
Lloh6:
	adrp	x8, _E1000_ICH_FWSM_FW_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_ICH_FWSM_FW_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	bl	_e1000_gate_hw_phy_config_ich8lan
LBB0_3:
	mov	x0, x19
	bl	_e1000e_phy_hw_reset_generic
	cbz	x0, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_e1000_post_phy_reset_ich8lan
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_pch2lan,8,3              ; @e1000_pch2lan
	.comm	_FWSM,4,2                       ; @FWSM
	.comm	_E1000_ICH_FWSM_FW_VALID,4,2    ; @E1000_ICH_FWSM_FW_VALID
	.no_dead_strip	_e1000_phy_hw_reset_ich8lan
.subsections_via_symbols
