	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_get_link_up_info_ich8lan
_e1000_get_link_up_info_ich8lan:        ## @e1000_get_link_up_info_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	%rdi, %rbx
	callq	_e1000e_get_speed_and_duplex_copper
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	8(%rbx), %rax
	movq	_e1000_ich8lan@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	movq	_e1000_phy_igp_3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movq	_SPEED_1000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_e1000_kmrn_lock_loss_workaround_ich8lan ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_ich8lan,8,3              ## @e1000_ich8lan
	.comm	_e1000_phy_igp_3,8,3            ## @e1000_phy_igp_3
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.no_dead_strip	_e1000_get_link_up_info_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_get_link_up_info_ich8lan
_e1000_get_link_up_info_ich8lan:        ; @e1000_get_link_up_info_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	x20, x1
	mov	x19, x0
	bl	_e1000e_get_speed_and_duplex_copper
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _e1000_ich8lan@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_ich8lan@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _e1000_phy_igp_3@GOTPAGE
Lloh4:
	ldr	x9, [x9, _e1000_phy_igp_3@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _SPEED_1000@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPEED_1000@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_e1000_kmrn_lock_loss_workaround_ich8lan
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_ich8lan,8,3              ; @e1000_ich8lan
	.comm	_e1000_phy_igp_3,8,3            ; @e1000_phy_igp_3
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.no_dead_strip	_e1000_get_link_up_info_ich8lan
.subsections_via_symbols
