	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1e_suspend
_atl1e_suspend:                         ## @atl1e_suspend
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %r14
	movl	$0, -44(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -72(%rbp)
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	___AT_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r12), %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%r14, %rdi
	callq	_atl1e_down
LBB0_2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	addq	$8, %r12
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_netif_device_detach
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.3:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	_MII_BMSR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-52(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_atl1e_read_phy_reg
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_atl1e_read_phy_reg
	movq	_ADVERTISE_10HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MII_CTRL1000@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_atl1e_write_phy_reg
	leaq	L_.str(%rip), %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_MII_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_atl1e_write_phy_reg
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
LBB0_9:
	movq	_REG_WOL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_AT_WRITE_REG
	movq	_REG_PCIE_PHYMISC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_AT_READ_REG
	movq	_PCIE_PHYMISC_FORCE_RCV_DET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_AT_WRITE_REG
	movq	%r12, %rdi
	callq	_atl1e_force_ps
	movl	$0, (%r12)
LBB0_10:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_pci_choose_state
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_pci_enable_wake
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_atl1e_free_irq
LBB0_12:
	movq	%r13, %rdi
	callq	_pci_disable_device
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_pci_choose_state
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_pci_set_power_state
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r12, %rdi
	callq	_atl1e_phy_commit
	testq	%rax, %rax
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_8
## %bb.13:
	movl	$0, (%r12)
	movq	_AT_WUFC_MAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_WOL_MAGIC_EN@GOTPCREL(%rip), %rcx
	movq	_WOL_MAGIC_PME_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	andl	%ecx, %eax
	testl	%eax, %eax
	cmovel	%eax, %edx
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	_AT_WUFC_LNKC@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_23
## %bb.14:
	movl	-52(%rbp), %eax
	movq	_BMSR_LSTATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_21
## %bb.15:
	movq	_AT_SUSPEND_LINK_TIMEOUT@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	jle	LBB0_19
## %bb.16:
	xorl	%r15d, %r15d
	leaq	-52(%rbp), %r14
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	$100, %edi
	callq	_msleep
	movq	_MII_BMSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_atl1e_read_phy_reg
	movl	-52(%rbp), %eax
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	incl	%r15d
	movq	_AT_SUSPEND_LINK_TIMEOUT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r15d
	jl	LBB0_17
LBB0_19:
	testl	%eax, %ecx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_21
## %bb.20:
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
LBB0_21:
	movq	_WOL_LINK_CHG_EN@GOTPCREL(%rip), %rax
	movq	_WOL_LINK_CHG_PME_EN@GOTPCREL(%rip), %rcx
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	movq	_MII_INT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_atl1e_write_phy_reg
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_8
LBB0_23:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
LBB0_24:
	movq	_MII_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	movq	%r12, %rdi
	callq	_atl1e_read_phy_reg
	movq	_MAC_CTRL_SPEED_10_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MAC_CTRL_SPEED_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_MAC_CTRL_RX_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MAC_CTRL_PRMLEN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	16(%r14), %edx
	movq	_MAC_CTRL_PRMLEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movl	%edx, -44(%rbp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-44(%rbp), %rsi
	callq	___atl1e_vlan_mode
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movq	_AT_WUFC_MAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.25:
	movq	_MAC_CTRL_BC_EN@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -44(%rbp)
	jmp	LBB0_27
LBB0_26:
	movl	-44(%rbp), %edx
LBB0_27:
	movl	4(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	_REG_WOL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_AT_WRITE_REG
	movq	_REG_MAC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	callq	_AT_WRITE_REG
	movq	_REG_PCIE_PHYMISC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_AT_READ_REG
	movq	_PCIE_PHYMISC_FORCE_RCV_DET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_AT_WRITE_REG
	movl	$1, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	___AT_RESETTING,4,2             ## @__AT_RESETTING
	.comm	_MII_BMSR,4,2                   ## @MII_BMSR
	.comm	_ADVERTISE_10HALF,4,2           ## @ADVERTISE_10HALF
	.comm	_MII_CTRL1000,4,2               ## @MII_CTRL1000
	.comm	_MII_ADVERTISE,4,2              ## @MII_ADVERTISE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set phy register failed\n"

	.comm	_AT_WUFC_MAG,4,2                ## @AT_WUFC_MAG
	.comm	_WOL_MAGIC_EN,4,2               ## @WOL_MAGIC_EN
	.comm	_WOL_MAGIC_PME_EN,4,2           ## @WOL_MAGIC_PME_EN
	.comm	_AT_WUFC_LNKC,4,2               ## @AT_WUFC_LNKC
	.comm	_BMSR_LSTATUS,4,2               ## @BMSR_LSTATUS
	.comm	_AT_SUSPEND_LINK_TIMEOUT,4,2    ## @AT_SUSPEND_LINK_TIMEOUT
L_.str.1:                               ## @.str.1
	.asciz	"Link may change when suspend\n"

	.comm	_WOL_LINK_CHG_EN,4,2            ## @WOL_LINK_CHG_EN
	.comm	_WOL_LINK_CHG_PME_EN,4,2        ## @WOL_LINK_CHG_PME_EN
	.comm	_MII_INT_CTRL,4,2               ## @MII_INT_CTRL
L_.str.2:                               ## @.str.2
	.asciz	"read write phy register failed\n"

	.comm	_MII_INT_STATUS,4,2             ## @MII_INT_STATUS
	.comm	_MAC_CTRL_RX_EN,4,2             ## @MAC_CTRL_RX_EN
	.comm	_MAC_CTRL_SPEED_10_100,4,2      ## @MAC_CTRL_SPEED_10_100
	.comm	_MAC_CTRL_SPEED_SHIFT,4,2       ## @MAC_CTRL_SPEED_SHIFT
	.comm	_MAC_CTRL_PRMLEN_MASK,4,2       ## @MAC_CTRL_PRMLEN_MASK
	.comm	_MAC_CTRL_PRMLEN_SHIFT,4,2      ## @MAC_CTRL_PRMLEN_SHIFT
	.comm	_MAC_CTRL_BC_EN,4,2             ## @MAC_CTRL_BC_EN
L_.str.3:                               ## @.str.3
	.asciz	"suspend MAC=0x%x\n"

	.comm	_REG_WOL_CTRL,4,2               ## @REG_WOL_CTRL
	.comm	_REG_MAC_CTRL,4,2               ## @REG_MAC_CTRL
	.comm	_REG_PCIE_PHYMISC,4,2           ## @REG_PCIE_PHYMISC
	.comm	_PCIE_PHYMISC_FORCE_RCV_DET,4,2 ## @PCIE_PHYMISC_FORCE_RCV_DET
	.no_dead_strip	_atl1e_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1e_suspend
_atl1e_suspend:                         ; @atl1e_suspend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_pci_get_drvdata
	mov	x22, x0
	bl	_netdev_priv
	mov	x21, x0
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
	mov	x23, x0
	ldr	w25, [x23], #8
	mov	x0, x22
	bl	_netif_running
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, ___AT_RESETTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___AT_RESETTING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #24
	bl	_test_bit
	bl	_WARN_ON
	mov	x0, x21
	bl	_atl1e_down
LBB0_2:
	mov	x0, x22
	bl	_netif_device_detach
	cbz	w25, LBB0_8
; %bb.3:
Lloh3:
	adrp	x27, _MII_BMSR@GOTPAGE
Lloh4:
	ldr	x27, [x27, _MII_BMSR@GOTPAGEOFF]
	ldr	w1, [x27]
	add	x2, sp, #24
	mov	x0, x23
	bl	_atl1e_read_phy_reg
	ldr	w1, [x27]
	add	x2, sp, #24
	mov	x0, x23
	bl	_atl1e_read_phy_reg
Lloh5:
	adrp	x8, _ADVERTISE_10HALF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADVERTISE_10HALF@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
Lloh8:
	adrp	x8, _MII_CTRL1000@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MII_CTRL1000@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x23
	mov	w2, #0
	bl	_atl1e_write_phy_reg
	cbnz	x0, LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _MII_ADVERTISE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MII_ADVERTISE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x24
	bl	_atl1e_write_phy_reg
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_atl1e_phy_commit
	cbz	x0, LBB0_12
LBB0_6:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	ldr	w0, [x21, #4]
	bl	_netdev_dbg
LBB0_8:
Lloh16:
	adrp	x8, _REG_WOL_CTRL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_WOL_CTRL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x23
	mov	w2, #0
	bl	_AT_WRITE_REG
Lloh19:
	adrp	x24, _REG_PCIE_PHYMISC@GOTPAGE
Lloh20:
	ldr	x24, [x24, _REG_PCIE_PHYMISC@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x23
	bl	_AT_READ_REG
Lloh21:
	adrp	x8, _PCIE_PHYMISC_FORCE_RCV_DET@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PCIE_PHYMISC_FORCE_RCV_DET@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x24]
	mov	x0, x23
	bl	_AT_WRITE_REG
	mov	x0, x23
	bl	_atl1e_force_ps
	mov	w24, #0
	str	wzr, [x23]
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_pci_choose_state
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_pci_enable_wake
	mov	x0, x22
	bl	_netif_running
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_atl1e_free_irq
LBB0_11:
	mov	x0, x19
	bl	_pci_disable_device
	mov	x0, x19
	mov	x1, x20
	bl	_pci_choose_state
	mov	x1, x0
	mov	x0, x19
	bl	_pci_set_power_state
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	str	wzr, [x23]
Lloh24:
	adrp	x26, _AT_WUFC_MAG@GOTPAGE
Lloh25:
	ldr	x26, [x26, _AT_WUFC_MAG@GOTPAGEOFF]
Lloh26:
	adrp	x8, _WOL_MAGIC_EN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WOL_MAGIC_EN@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x10, _WOL_MAGIC_PME_EN@GOTPAGE
Lloh30:
	ldr	x10, [x10, _WOL_MAGIC_PME_EN@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	orr	w8, w10, w8
	tst	w9, w25
	csel	w24, wzr, w8, eq
Lloh32:
	adrp	x8, _AT_WUFC_LNKC@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AT_WUFC_LNKC@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_23
; %bb.13:
	str	w24, [sp, #16]                  ; 4-byte Folded Spill
	ldr	w8, [sp, #24]
Lloh35:
	adrp	x28, _BMSR_LSTATUS@GOTPAGE
Lloh36:
	ldr	x28, [x28, _BMSR_LSTATUS@GOTPAGEOFF]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.14:
Lloh37:
	adrp	x26, _AT_SUSPEND_LINK_TIMEOUT@GOTPAGE
Lloh38:
	ldr	x26, [x26, _AT_SUSPEND_LINK_TIMEOUT@GOTPAGEOFF]
	ldr	w10, [x26]
	cmp	w10, #1
	b.lt	LBB0_18
; %bb.15:
	mov	w24, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #100
	bl	_msleep
	ldr	w1, [x27]
	add	x2, sp, #24
	mov	x0, x23
	bl	_atl1e_read_phy_reg
	ldr	w8, [sp, #24]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w24, w24, #1
	ldr	w10, [x26]
	cmp	w24, w10
	b.lt	LBB0_16
LBB0_18:
	tst	w9, w8
	b.ne	LBB0_20
; %bb.19:
	ldr	w0, [x21, #4]
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
LBB0_20:
Lloh41:
	adrp	x8, _WOL_LINK_CHG_EN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WOL_LINK_CHG_EN@GOTPAGEOFF]
Lloh43:
	ldr	w24, [x8]
Lloh44:
	adrp	x8, _WOL_LINK_CHG_PME_EN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WOL_LINK_CHG_PME_EN@GOTPAGEOFF]
Lloh46:
	ldr	w26, [x8]
Lloh47:
	adrp	x8, _MII_INT_CTRL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MII_INT_CTRL@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x23
	mov	w2, #1024
	bl	_atl1e_write_phy_reg
	cbz	x0, LBB0_22
; %bb.21:
Lloh50:
	adrp	x1, l_.str.2@PAGE
Lloh51:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_22:
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	orr	w8, w24, w8
	orr	w24, w8, w26
Lloh52:
	adrp	x26, _AT_WUFC_MAG@GOTPAGE
Lloh53:
	ldr	x26, [x26, _AT_WUFC_MAG@GOTPAGEOFF]
LBB0_23:
Lloh54:
	adrp	x8, _MII_INT_STATUS@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MII_INT_STATUS@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	add	x2, sp, #20
	mov	x0, x23
	bl	_atl1e_read_phy_reg
Lloh57:
	adrp	x8, _MAC_CTRL_RX_EN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _MAC_CTRL_RX_EN@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, _MAC_CTRL_SPEED_10_100@GOTPAGE
Lloh61:
	ldr	x9, [x9, _MAC_CTRL_SPEED_10_100@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
Lloh63:
	adrp	x10, _MAC_CTRL_SPEED_SHIFT@GOTPAGE
Lloh64:
	ldr	x10, [x10, _MAC_CTRL_SPEED_SHIFT@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	ldr	w9, [x21, #16]
Lloh66:
	adrp	x10, _MAC_CTRL_PRMLEN_MASK@GOTPAGE
Lloh67:
	ldr	x10, [x10, _MAC_CTRL_PRMLEN_MASK@GOTPAGEOFF]
Lloh68:
	ldr	w10, [x10]
Lloh69:
	adrp	x11, _MAC_CTRL_PRMLEN_SHIFT@GOTPAGE
Lloh70:
	ldr	x11, [x11, _MAC_CTRL_PRMLEN_SHIFT@GOTPAGEOFF]
	and	w9, w10, w9
Lloh71:
	ldr	w10, [x11]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	str	w8, [sp, #28]
	ldr	w0, [x22]
	add	x1, sp, #28
	bl	___atl1e_vlan_mode
	ldr	w8, [x26]
	tst	w8, w25
	b.eq	LBB0_25
; %bb.24:
Lloh72:
	adrp	x8, _MAC_CTRL_BC_EN@GOTPAGE
Lloh73:
	ldr	x8, [x8, _MAC_CTRL_BC_EN@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	ldr	w9, [sp, #28]
	orr	w8, w9, w8
	str	w8, [sp, #28]
	b	LBB0_26
LBB0_25:
	ldr	w8, [sp, #28]
LBB0_26:
	ldr	w0, [x21, #4]
	str	x8, [sp]
Lloh75:
	adrp	x1, l_.str.3@PAGE
Lloh76:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_dbg
Lloh77:
	adrp	x8, _REG_WOL_CTRL@GOTPAGE
Lloh78:
	ldr	x8, [x8, _REG_WOL_CTRL@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x24
	bl	_AT_WRITE_REG
Lloh80:
	adrp	x8, _REG_MAC_CTRL@GOTPAGE
Lloh81:
	ldr	x8, [x8, _REG_MAC_CTRL@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	ldr	w2, [sp, #28]
	mov	x0, x23
	bl	_AT_WRITE_REG
Lloh83:
	adrp	x24, _REG_PCIE_PHYMISC@GOTPAGE
Lloh84:
	ldr	x24, [x24, _REG_PCIE_PHYMISC@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x23
	bl	_AT_READ_REG
Lloh85:
	adrp	x8, _PCIE_PHYMISC_FORCE_RCV_DET@GOTPAGE
Lloh86:
	ldr	x8, [x8, _PCIE_PHYMISC_FORCE_RCV_DET@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x24]
	mov	x0, x23
	bl	_AT_WRITE_REG
	mov	w24, #1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	___AT_RESETTING,4,2             ; @__AT_RESETTING
	.comm	_MII_BMSR,4,2                   ; @MII_BMSR
	.comm	_ADVERTISE_10HALF,4,2           ; @ADVERTISE_10HALF
	.comm	_MII_CTRL1000,4,2               ; @MII_CTRL1000
	.comm	_MII_ADVERTISE,4,2              ; @MII_ADVERTISE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set phy register failed\n"

	.comm	_AT_WUFC_MAG,4,2                ; @AT_WUFC_MAG
	.comm	_WOL_MAGIC_EN,4,2               ; @WOL_MAGIC_EN
	.comm	_WOL_MAGIC_PME_EN,4,2           ; @WOL_MAGIC_PME_EN
	.comm	_AT_WUFC_LNKC,4,2               ; @AT_WUFC_LNKC
	.comm	_BMSR_LSTATUS,4,2               ; @BMSR_LSTATUS
	.comm	_AT_SUSPEND_LINK_TIMEOUT,4,2    ; @AT_SUSPEND_LINK_TIMEOUT
l_.str.1:                               ; @.str.1
	.asciz	"Link may change when suspend\n"

	.comm	_WOL_LINK_CHG_EN,4,2            ; @WOL_LINK_CHG_EN
	.comm	_WOL_LINK_CHG_PME_EN,4,2        ; @WOL_LINK_CHG_PME_EN
	.comm	_MII_INT_CTRL,4,2               ; @MII_INT_CTRL
l_.str.2:                               ; @.str.2
	.asciz	"read write phy register failed\n"

	.comm	_MII_INT_STATUS,4,2             ; @MII_INT_STATUS
	.comm	_MAC_CTRL_RX_EN,4,2             ; @MAC_CTRL_RX_EN
	.comm	_MAC_CTRL_SPEED_10_100,4,2      ; @MAC_CTRL_SPEED_10_100
	.comm	_MAC_CTRL_SPEED_SHIFT,4,2       ; @MAC_CTRL_SPEED_SHIFT
	.comm	_MAC_CTRL_PRMLEN_MASK,4,2       ; @MAC_CTRL_PRMLEN_MASK
	.comm	_MAC_CTRL_PRMLEN_SHIFT,4,2      ; @MAC_CTRL_PRMLEN_SHIFT
	.comm	_MAC_CTRL_BC_EN,4,2             ; @MAC_CTRL_BC_EN
l_.str.3:                               ; @.str.3
	.asciz	"suspend MAC=0x%x\n"

	.comm	_REG_WOL_CTRL,4,2               ; @REG_WOL_CTRL
	.comm	_REG_MAC_CTRL,4,2               ; @REG_MAC_CTRL
	.comm	_REG_PCIE_PHYMISC,4,2           ; @REG_PCIE_PHYMISC
	.comm	_PCIE_PHYMISC_FORCE_RCV_DET,4,2 ; @PCIE_PHYMISC_FORCE_RCV_DET
	.no_dead_strip	_atl1e_suspend
.subsections_via_symbols
