	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_get_eee_status_i354        ## -- Begin function igb_get_eee_status_i354
	.p2align	4, 0x90
_igb_get_eee_status_i354:               ## @igb_get_eee_status_i354
	.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), %rax
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%rdi), %rax
	movq	_M88E1543_E_PHY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_M88E1512_E_PHY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_3:
	movq	_E1000_PCS_STATUS_ADDR_I354@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_E1000_PCS_STATUS_DEV_I354@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rcx
	callq	_igb_read_xmdio_reg
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_E1000_PCS_STATUS_TX_LPI_RCVD@GOTPCREL(%rip), %rax
	movq	_E1000_PCS_STATUS_RX_LPI_RCVD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%eax, %eax
	andl	-12(%rbp), %ecx
	setne	%al
	movl	%eax, (%rbx)
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.comm	_M88E1543_E_PHY_ID,8,3          ## @M88E1543_E_PHY_ID
	.comm	_M88E1512_E_PHY_ID,8,3          ## @M88E1512_E_PHY_ID
	.comm	_E1000_PCS_STATUS_ADDR_I354,4,2 ## @E1000_PCS_STATUS_ADDR_I354
	.comm	_E1000_PCS_STATUS_DEV_I354,4,2  ## @E1000_PCS_STATUS_DEV_I354
	.comm	_E1000_PCS_STATUS_TX_LPI_RCVD,4,2 ## @E1000_PCS_STATUS_TX_LPI_RCVD
	.comm	_E1000_PCS_STATUS_RX_LPI_RCVD,4,2 ## @E1000_PCS_STATUS_RX_LPI_RCVD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_get_eee_status_i354        ; -- Begin function igb_get_eee_status_i354
	.p2align	2
_igb_get_eee_status_i354:               ; @igb_get_eee_status_i354
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _M88E1543_E_PHY_ID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _M88E1543_E_PHY_ID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _M88E1512_E_PHY_ID@GOTPAGE
Lloh7:
	ldr	x10, [x10, _M88E1512_E_PHY_ID@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	x19, x1
Lloh9:
	adrp	x8, _E1000_PCS_STATUS_ADDR_I354@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E1000_PCS_STATUS_ADDR_I354@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _E1000_PCS_STATUS_DEV_I354@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_PCS_STATUS_DEV_I354@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x3, sp, #12
	bl	_igb_read_xmdio_reg
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w8, [sp, #12]
Lloh15:
	adrp	x9, _E1000_PCS_STATUS_TX_LPI_RCVD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _E1000_PCS_STATUS_TX_LPI_RCVD@GOTPAGEOFF]
Lloh17:
	adrp	x10, _E1000_PCS_STATUS_RX_LPI_RCVD@GOTPAGE
Lloh18:
	ldr	x10, [x10, _E1000_PCS_STATUS_RX_LPI_RCVD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.comm	_M88E1543_E_PHY_ID,8,3          ; @M88E1543_E_PHY_ID
	.comm	_M88E1512_E_PHY_ID,8,3          ; @M88E1512_E_PHY_ID
	.comm	_E1000_PCS_STATUS_ADDR_I354,4,2 ; @E1000_PCS_STATUS_ADDR_I354
	.comm	_E1000_PCS_STATUS_DEV_I354,4,2  ; @E1000_PCS_STATUS_DEV_I354
	.comm	_E1000_PCS_STATUS_TX_LPI_RCVD,4,2 ; @E1000_PCS_STATUS_TX_LPI_RCVD
	.comm	_E1000_PCS_STATUS_RX_LPI_RCVD,4,2 ; @E1000_PCS_STATUS_RX_LPI_RCVD
.subsections_via_symbols
