	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __e1000_shutdown
___e1000_shutdown:                      ## @__e1000_shutdown
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_pci_get_drvdata
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	testl	%r12d, %r12d
	movq	_E1000_WUFC_LNKC@GOTPCREL(%rip), %r14
	cmovneq	%r14, %rax
	leaq	16(%r13), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	movq	_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_STATUS_LU@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	(%r14), %ecx
	notl	%ecx
	xorl	%r14d, %r14d
	cmpl	$1, %eax
	sbbl	%r14d, %r14d
	orl	%ecx, %r14d
	andl	%ebx, %r14d
	je	LBB0_15
## %bb.1:
	movq	%r13, %rdi
	callq	_e1000_setup_rctl
	movq	%r15, %rdi
	callq	_e1000e_set_rx_mode
	movq	_E1000_WUFC_MC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_RCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_RCTL_MPE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
LBB0_3:
	movq	_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_ADVD3WUC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FLAG2_HAS_PHY_WAKEUP@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%ecx, %ecx
	andl	4(%r13), %edx
	jne	LBB0_5
## %bb.4:
	movq	_E1000_CTRL_EN_PHY_PWR_MGMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
	orl	%ecx, %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movq	16(%r13), %rax
	movq	_e1000_media_type_fiber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_e1000_media_type_internal_serdes@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.8:
	testl	%r12d, %r12d
	je	LBB0_9
LBB0_10:
	movq	_FLAG_IS_ICH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_e1000_suspend_workarounds_ich8lan
LBB0_12:
	movl	(%r15), %eax
	testl	%eax, 4(%r13)
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_e1000_init_phy_wakeup
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_36
	jmp	LBB0_16
LBB0_15:
	movq	_WUC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_WUFC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	%r13, %rdi
	callq	_e1000_power_down_phy
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_7:
	movq	_CTRL_EXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_EXT_SDP3_DATA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	testl	%r12d, %r12d
	jne	LBB0_10
LBB0_9:
	movq	%r13, %rdi
	callq	_e1000e_power_up_phy
	jmp	LBB0_10
LBB0_14:
	movq	_WUFC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_ew32
	movq	_WUC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_E1000_WUC_PME_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ew32
LBB0_16:
	movq	24(%r13), %rax
	movq	_e1000_phy_igp_3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movq	%rbx, %rdi
	callq	_e1000e_igp3_phy_powerdown_workaround_ich8lan
	jmp	LBB0_21
LBB0_18:
	movq	56(%r13), %rax
	movq	_e1000_pch_lpt@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_21
## %bb.19:
	movq	_E1000_WUFC_EX@GOTPCREL(%rip), %rax
	movq	_E1000_WUFC_MC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_E1000_WUFC_BC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_20
LBB0_21:
	movq	24(%r13), %rax
	movq	_e1000_phy_i217@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jl	LBB0_33
## %bb.22:
	cmpl	$0, 12(%r13)
	je	LBB0_33
## %bb.23:
	cmpl	$0, 48(%r13)
	je	LBB0_33
## %bb.24:
	movl	$0, -44(%rbp)
	movq	%rbx, %rdi
	callq	*32(%r13)
	testl	%eax, %eax
	jne	LBB0_32
## %bb.25:
	movq	_I82579_LPI_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_e1e_rphy_locked
	testl	%eax, %eax
	jne	LBB0_32
## %bb.26:
	movl	48(%r13), %eax
	andl	12(%r13), %eax
	movq	_I82579_EEE_100_SUPPORTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.27:
	movq	_I82579_LPI_CTRL_100_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, -44(%rbp)
LBB0_28:
	movq	_I82579_EEE_1000_SUPPORTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.30:
	movq	_I82579_LPI_CTRL_1000_ENABLE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -44(%rbp)
	jmp	LBB0_31
LBB0_20:
	xorl	%esi, %esi
	testl	%r12d, %r12d
	sete	%sil
	movq	%rbx, %rdi
	callq	_e1000_enable_ulp_lpt_lp
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_36
	jmp	LBB0_21
LBB0_29:
	movl	-44(%rbp), %edx
LBB0_31:
	movl	(%r14), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_e1e_wphy_locked
LBB0_32:
	movq	%rbx, %rdi
	callq	*40(%r13)
LBB0_33:
	movq	%r13, %rdi
	callq	_e1000e_release_hw_control
	movq	%r12, %rdi
	callq	_pci_clear_master
	movq	_FLAG_IS_QUAD_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, 8(%r13)
	je	LBB0_36
## %bb.34:
	movq	(%r12), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_36
## %bb.35:
	movq	_PCI_EXP_DEVCTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pcie_capability_read_word
	movl	(%r14), %esi
	movq	_PCI_EXP_DEVCTL_CERE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-48(%rbp), %edx
	movq	%rbx, %rdi
	callq	_pcie_capability_write_word
	movq	%r12, %rdi
	callq	_pci_save_state
	movq	%r12, %rdi
	callq	_pci_prepare_to_sleep
	movl	(%r14), %esi
	movl	-48(%rbp), %edx
	movq	%rbx, %rdi
	callq	_pcie_capability_write_word
LBB0_36:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_WUFC_LNKC,4,2            ## @E1000_WUFC_LNKC
	.comm	_STATUS,4,2                     ## @STATUS
	.comm	_E1000_STATUS_LU,4,2            ## @E1000_STATUS_LU
	.comm	_E1000_WUFC_MC,4,2              ## @E1000_WUFC_MC
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_MPE,4,2             ## @E1000_RCTL_MPE
	.comm	_CTRL,4,2                       ## @CTRL
	.comm	_E1000_CTRL_ADVD3WUC,4,2        ## @E1000_CTRL_ADVD3WUC
	.comm	_FLAG2_HAS_PHY_WAKEUP,4,2       ## @FLAG2_HAS_PHY_WAKEUP
	.comm	_E1000_CTRL_EN_PHY_PWR_MGMT,4,2 ## @E1000_CTRL_EN_PHY_PWR_MGMT
	.comm	_e1000_media_type_fiber,8,3     ## @e1000_media_type_fiber
	.comm	_e1000_media_type_internal_serdes,8,3 ## @e1000_media_type_internal_serdes
	.comm	_CTRL_EXT,4,2                   ## @CTRL_EXT
	.comm	_E1000_CTRL_EXT_SDP3_DATA,4,2   ## @E1000_CTRL_EXT_SDP3_DATA
	.comm	_FLAG_IS_ICH,4,2                ## @FLAG_IS_ICH
	.comm	_WUFC,4,2                       ## @WUFC
	.comm	_WUC,4,2                        ## @WUC
	.comm	_E1000_WUC_PME_EN,4,2           ## @E1000_WUC_PME_EN
	.comm	_e1000_phy_igp_3,8,3            ## @e1000_phy_igp_3
	.comm	_e1000_pch_lpt,8,3              ## @e1000_pch_lpt
	.comm	_E1000_WUFC_EX,4,2              ## @E1000_WUFC_EX
	.comm	_E1000_WUFC_BC,4,2              ## @E1000_WUFC_BC
	.comm	_e1000_phy_i217,8,3             ## @e1000_phy_i217
	.comm	_I82579_LPI_CTRL,4,2            ## @I82579_LPI_CTRL
	.comm	_I82579_EEE_100_SUPPORTED,4,2   ## @I82579_EEE_100_SUPPORTED
	.comm	_I82579_LPI_CTRL_100_ENABLE,4,2 ## @I82579_LPI_CTRL_100_ENABLE
	.comm	_I82579_EEE_1000_SUPPORTED,4,2  ## @I82579_EEE_1000_SUPPORTED
	.comm	_I82579_LPI_CTRL_1000_ENABLE,4,2 ## @I82579_LPI_CTRL_1000_ENABLE
	.comm	_FLAG_IS_QUAD_PORT,4,2          ## @FLAG_IS_QUAD_PORT
	.comm	_PCI_EXP_DEVCTL,4,2             ## @PCI_EXP_DEVCTL
	.comm	_PCI_EXP_DEVCTL_CERE,4,2        ## @PCI_EXP_DEVCTL_CERE
	.no_dead_strip	___e1000_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __e1000_shutdown
___e1000_shutdown:                      ; @__e1000_shutdown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	bl	_pci_get_drvdata
	mov	x24, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x21, x0, #16
Lloh0:
	adrp	x23, _E1000_WUFC_LNKC@GOTPAGE
Lloh1:
	ldr	x23, [x23, _E1000_WUFC_LNKC@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x0, x23, eq
	ldr	w25, [x8]
Lloh2:
	adrp	x8, _STATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_er32
Lloh5:
	adrp	x8, _E1000_STATUS_LU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_STATUS_LU@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x23]
	tst	w8, w0
	mov	w8, #-1
	csinv	w8, w8, w9, eq
	ands	w23, w8, w25
	b.eq	LBB0_10
; %bb.1:
	mov	x0, x20
	bl	_e1000_setup_rctl
	mov	x0, x24
	bl	_e1000e_set_rx_mode
Lloh8:
	adrp	x8, _E1000_WUFC_MC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E1000_WUFC_MC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_3
; %bb.2:
Lloh11:
	adrp	x24, _RCTL@GOTPAGE
Lloh12:
	ldr	x24, [x24, _RCTL@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_er32
Lloh13:
	adrp	x8, _E1000_RCTL_MPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E1000_RCTL_MPE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x24]
	bl	_ew32
LBB0_3:
Lloh16:
	adrp	x25, _CTRL@GOTPAGE
Lloh17:
	ldr	x25, [x25, _CTRL@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_er32
Lloh18:
	adrp	x8, _E1000_CTRL_ADVD3WUC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _E1000_CTRL_ADVD3WUC@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldr	w9, [x20, #4]
Lloh21:
	adrp	x24, _FLAG2_HAS_PHY_WAKEUP@GOTPAGE
Lloh22:
	ldr	x24, [x24, _FLAG2_HAS_PHY_WAKEUP@GOTPAGEOFF]
Lloh23:
	adrp	x10, _E1000_CTRL_EN_PHY_PWR_MGMT@GOTPAGE
Lloh24:
	ldr	x10, [x10, _E1000_CTRL_EN_PHY_PWR_MGMT@GOTPAGEOFF]
	ldr	w11, [x24]
Lloh25:
	ldr	w10, [x10]
	tst	w11, w9
	csel	w9, w10, wzr, eq
	orr	w1, w8, w9
	ldr	w0, [x25]
	bl	_ew32
	ldr	x8, [x20, #16]
Lloh26:
	adrp	x9, _e1000_media_type_fiber@GOTPAGE
Lloh27:
	ldr	x9, [x9, _e1000_media_type_fiber@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.4:
Lloh29:
	adrp	x9, _e1000_media_type_internal_serdes@GOTPAGE
Lloh30:
	ldr	x9, [x9, _e1000_media_type_internal_serdes@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.5:
	cbz	w22, LBB0_12
LBB0_6:
	ldr	w8, [x20, #8]
Lloh32:
	adrp	x9, _FLAG_IS_ICH@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FLAG_IS_ICH@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_e1000_suspend_workarounds_ich8lan
LBB0_8:
	ldr	w8, [x20, #4]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.9:
	mov	x0, x20
	mov	x1, x23
	bl	_e1000_init_phy_wakeup
	cbnz	w0, LBB0_35
	b	LBB0_14
LBB0_10:
Lloh35:
	adrp	x8, _WUC@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WUC@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
Lloh38:
	adrp	x8, _WUFC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WUFC@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
	mov	x0, x20
	bl	_e1000_power_down_phy
	b	LBB0_14
LBB0_11:
Lloh41:
	adrp	x25, _CTRL_EXT@GOTPAGE
Lloh42:
	ldr	x25, [x25, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_er32
Lloh43:
	adrp	x8, _E1000_CTRL_EXT_SDP3_DATA@GOTPAGE
Lloh44:
	ldr	x8, [x8, _E1000_CTRL_EXT_SDP3_DATA@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x25]
	bl	_ew32
	cbnz	w22, LBB0_6
LBB0_12:
	mov	x0, x20
	bl	_e1000e_power_up_phy
	b	LBB0_6
LBB0_13:
Lloh46:
	adrp	x8, _WUFC@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WUFC@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_ew32
Lloh49:
	adrp	x8, _WUC@GOTPAGE
Lloh50:
	ldr	x8, [x8, _WUC@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x8, _E1000_WUC_PME_EN@GOTPAGE
Lloh53:
	ldr	x8, [x8, _E1000_WUC_PME_EN@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	bl	_ew32
LBB0_14:
	ldr	x8, [x20, #24]
Lloh55:
	adrp	x9, _e1000_phy_igp_3@GOTPAGE
Lloh56:
	ldr	x9, [x9, _e1000_phy_igp_3@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x21
	bl	_e1000e_igp3_phy_powerdown_workaround_ich8lan
	b	LBB0_18
LBB0_16:
	ldr	x8, [x20, #56]
Lloh58:
	adrp	x9, _e1000_pch_lpt@GOTPAGE
Lloh59:
	ldr	x9, [x9, _e1000_pch_lpt@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_18
; %bb.17:
Lloh61:
	adrp	x8, _E1000_WUFC_EX@GOTPAGE
Lloh62:
	ldr	x8, [x8, _E1000_WUFC_EX@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _E1000_WUFC_MC@GOTPAGE
Lloh65:
	ldr	x9, [x9, _E1000_WUFC_MC@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh67:
	adrp	x9, _E1000_WUFC_BC@GOTPAGE
Lloh68:
	ldr	x9, [x9, _E1000_WUFC_BC@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w23
	b.eq	LBB0_27
LBB0_18:
	ldr	x8, [x20, #24]
Lloh70:
	adrp	x9, _e1000_phy_i217@GOTPAGE
Lloh71:
	ldr	x9, [x9, _e1000_phy_i217@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_31
; %bb.19:
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_31
; %bb.20:
	ldr	w8, [x20, #48]
	cbz	w8, LBB0_31
; %bb.21:
	str	wzr, [sp, #12]
	ldr	x8, [x20, #32]
	mov	x0, x21
	blr	x8
	cbnz	w0, LBB0_30
; %bb.22:
Lloh73:
	adrp	x22, _I82579_LPI_CTRL@GOTPAGE
Lloh74:
	ldr	x22, [x22, _I82579_LPI_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x21
	bl	_e1e_rphy_locked
	cbnz	w0, LBB0_30
; %bb.23:
	ldr	w8, [x20, #12]
	ldr	w9, [x20, #48]
	and	w8, w9, w8
Lloh75:
	adrp	x9, _I82579_EEE_100_SUPPORTED@GOTPAGE
Lloh76:
	ldr	x9, [x9, _I82579_EEE_100_SUPPORTED@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_25
; %bb.24:
Lloh78:
	adrp	x9, _I82579_LPI_CTRL_100_ENABLE@GOTPAGE
Lloh79:
	ldr	x9, [x9, _I82579_LPI_CTRL_100_ENABLE@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]
	orr	w9, w10, w9
	str	w9, [sp, #12]
LBB0_25:
Lloh81:
	adrp	x9, _I82579_EEE_1000_SUPPORTED@GOTPAGE
Lloh82:
	ldr	x9, [x9, _I82579_EEE_1000_SUPPORTED@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_28
; %bb.26:
Lloh84:
	adrp	x8, _I82579_LPI_CTRL_1000_ENABLE@GOTPAGE
Lloh85:
	ldr	x8, [x8, _I82579_LPI_CTRL_1000_ENABLE@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	b	LBB0_29
LBB0_27:
	cmp	w22, #0
	cset	w1, eq
	mov	x0, x21
	bl	_e1000_enable_ulp_lpt_lp
	cbnz	w0, LBB0_35
	b	LBB0_18
LBB0_28:
	ldr	w2, [sp, #12]
LBB0_29:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_e1e_wphy_locked
LBB0_30:
	ldr	x8, [x20, #40]
	mov	x0, x21
	blr	x8
LBB0_31:
	mov	x0, x20
	bl	_e1000e_release_hw_control
	mov	x0, x19
	bl	_pci_clear_master
	ldr	w8, [x20, #8]
Lloh87:
	adrp	x9, _FLAG_IS_QUAD_PORT@GOTPAGE
Lloh88:
	ldr	x9, [x9, _FLAG_IS_QUAD_PORT@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.32:
	ldr	x8, [x19]
	ldr	x20, [x8]
	cbz	x20, LBB0_34
; %bb.33:
Lloh90:
	adrp	x21, _PCI_EXP_DEVCTL@GOTPAGE
Lloh91:
	ldr	x21, [x21, _PCI_EXP_DEVCTL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x20
	bl	_pcie_capability_read_word
	ldr	w1, [x21]
	ldr	w8, [sp, #8]
Lloh92:
	adrp	x9, _PCI_EXP_DEVCTL_CERE@GOTPAGE
Lloh93:
	ldr	x9, [x9, _PCI_EXP_DEVCTL_CERE@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	bic	w2, w8, w9
	mov	x0, x20
	bl	_pcie_capability_write_word
	mov	x0, x19
	bl	_pci_save_state
	mov	x0, x19
	bl	_pci_prepare_to_sleep
	ldr	w1, [x21]
	ldr	w2, [sp, #8]
	mov	x0, x20
	bl	_pcie_capability_write_word
LBB0_34:
	mov	w0, #0
LBB0_35:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_WUFC_LNKC,4,2            ; @E1000_WUFC_LNKC
	.comm	_STATUS,4,2                     ; @STATUS
	.comm	_E1000_STATUS_LU,4,2            ; @E1000_STATUS_LU
	.comm	_E1000_WUFC_MC,4,2              ; @E1000_WUFC_MC
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_MPE,4,2             ; @E1000_RCTL_MPE
	.comm	_CTRL,4,2                       ; @CTRL
	.comm	_E1000_CTRL_ADVD3WUC,4,2        ; @E1000_CTRL_ADVD3WUC
	.comm	_FLAG2_HAS_PHY_WAKEUP,4,2       ; @FLAG2_HAS_PHY_WAKEUP
	.comm	_E1000_CTRL_EN_PHY_PWR_MGMT,4,2 ; @E1000_CTRL_EN_PHY_PWR_MGMT
	.comm	_e1000_media_type_fiber,8,3     ; @e1000_media_type_fiber
	.comm	_e1000_media_type_internal_serdes,8,3 ; @e1000_media_type_internal_serdes
	.comm	_CTRL_EXT,4,2                   ; @CTRL_EXT
	.comm	_E1000_CTRL_EXT_SDP3_DATA,4,2   ; @E1000_CTRL_EXT_SDP3_DATA
	.comm	_FLAG_IS_ICH,4,2                ; @FLAG_IS_ICH
	.comm	_WUFC,4,2                       ; @WUFC
	.comm	_WUC,4,2                        ; @WUC
	.comm	_E1000_WUC_PME_EN,4,2           ; @E1000_WUC_PME_EN
	.comm	_e1000_phy_igp_3,8,3            ; @e1000_phy_igp_3
	.comm	_e1000_pch_lpt,8,3              ; @e1000_pch_lpt
	.comm	_E1000_WUFC_EX,4,2              ; @E1000_WUFC_EX
	.comm	_E1000_WUFC_BC,4,2              ; @E1000_WUFC_BC
	.comm	_e1000_phy_i217,8,3             ; @e1000_phy_i217
	.comm	_I82579_LPI_CTRL,4,2            ; @I82579_LPI_CTRL
	.comm	_I82579_EEE_100_SUPPORTED,4,2   ; @I82579_EEE_100_SUPPORTED
	.comm	_I82579_LPI_CTRL_100_ENABLE,4,2 ; @I82579_LPI_CTRL_100_ENABLE
	.comm	_I82579_EEE_1000_SUPPORTED,4,2  ; @I82579_EEE_1000_SUPPORTED
	.comm	_I82579_LPI_CTRL_1000_ENABLE,4,2 ; @I82579_LPI_CTRL_1000_ENABLE
	.comm	_FLAG_IS_QUAD_PORT,4,2          ; @FLAG_IS_QUAD_PORT
	.comm	_PCI_EXP_DEVCTL,4,2             ; @PCI_EXP_DEVCTL
	.comm	_PCI_EXP_DEVCTL_CERE,4,2        ; @PCI_EXP_DEVCTL_CERE
	.no_dead_strip	___e1000_shutdown
.subsections_via_symbols
