	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atl1c_phy_reset                ## -- Begin function atl1c_phy_reset
	.p2align	4, 0x90
_atl1c_phy_reset:                       ## @atl1c_phy_reset
	.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
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r15
	movq	_REG_GPHY_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-48(%rbp), %rdx
	callq	_AT_READ_REG
	movq	_GPHY_CTRL_EXT_RESET@GOTPCREL(%rip), %r13
	movq	_GPHY_CTRL_PHY_IDDQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r13), %eax
	movq	_GPHY_CTRL_GATE_25M_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_GPHY_CTRL_PWDOWN_HW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_GPHY_CTRL_CLS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	-48(%rbp), %eax
	movq	_GPHY_CTRL_SEL_ANA_RST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ATL1C_HIB_DISABLE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_GPHY_CTRL_HIB_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_GPHY_CTRL_HIB_PULSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, (%rbx)
	je	LBB0_1
## %bb.2:
	orl	%edx, %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %edx
	jmp	LBB0_3
LBB0_1:
	orl	%eax, %edx
	orl	%ecx, %edx
LBB0_3:
	movl	%edx, -48(%rbp)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_AT_WRITE_REG
	movq	%rbx, %rdi
	callq	_AT_WRITE_FLUSH
	movl	$10, %edi
	callq	_udelay
	movl	(%r14), %esi
	movl	(%r13), %edx
	orl	-48(%rbp), %edx
	movq	%rbx, %rdi
	callq	_AT_WRITE_REG
	movq	%rbx, %rdi
	callq	_AT_WRITE_FLUSH
	movq	_GPHY_CTRL_EXT_RST_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %edi
	callq	_udelay
	movq	8(%rbx), %rax
	movq	_athr_l2c_b@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_5
## %bb.4:
	movq	_MIIDBG_CFGLPSPD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_atl1c_read_phy_dbg
	movl	(%r13), %esi
	movq	_CFGLPSPD_RSTCNT_CLK125SW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	8(%rbx), %rax
	movq	(%r14), %rcx
LBB0_5:
	movq	_athr_l2c_b2@GOTPCREL(%rip), %r13
	cmpq	%rcx, %rax
	je	LBB0_7
## %bb.6:
	cmpq	(%r13), %rax
	jne	LBB0_8
LBB0_7:
	movq	%r13, %r12
	movq	_MIIDBG_CABLE1TH_DET@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_atl1c_read_phy_dbg
	movq	_CABLE1TH_DET_EN@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -44(%rbp)
	movl	(%r13), %esi
	movq	%r12, %r13
	movq	_ATL1C_HIB_DISABLE@GOTPCREL(%rip), %r12
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
LBB0_8:
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.15:
	movq	_MIIDBG_LEGCYPS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_atl1c_read_phy_dbg
	movl	(%r14), %esi
	movq	_LEGCYPS_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	_MIIDBG_HIBNEG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_atl1c_read_phy_dbg
	movl	(%r14), %esi
	movq	_HIBNEG_PSHIB_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	-44(%rbp), %edx
	jmp	LBB0_16
LBB0_9:
	movq	8(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_11
## %bb.10:
	cmpq	(%r13), %rax
	jne	LBB0_12
LBB0_11:
	movq	_MIIDBG_VOLT_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_atl1c_read_phy_dbg
	movq	_VOLT_CTRL_SWLOWEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	movl	%edx, -44(%rbp)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	8(%rbx), %rax
LBB0_12:
	movq	_athr_l1d@GOTPCREL(%rip), %rcx
	movq	_athr_l1d_2@GOTPCREL(%rip), %rdi
	movq	_L1D_LEGCYPS_DEF@GOTPCREL(%rip), %rdx
	movq	%rdx, %rsi
	cmpq	(%rdi), %rax
	je	LBB0_14
## %bb.13:
	movq	_L1C_LEGCYPS_DEF@GOTPCREL(%rip), %rsi
LBB0_14:
	cmpq	(%rcx), %rax
	cmoveq	%rdx, %rsi
	movl	(%rsi), %edx
	movl	%edx, -44(%rbp)
	movq	_MIIDBG_LEGCYPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	_MIIDBG_SYSMODCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SYSMODCTRL_IECHOADJ_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_16:
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	8(%rbx), %rax
	movq	_athr_l1d@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.17:
	movq	_athr_l1d_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:
	cmpq	(%r13), %rax
	jne	LBB0_20
LBB0_19:
	movq	_REG_LPI_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_AT_READ_REG
	movl	(%r14), %esi
	movq	_LPI_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-52(%rbp), %edx
	movq	%rbx, %rdi
	callq	_AT_WRITE_REG
	movq	_MIIEXT_ANEG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MIIEXT_LOCAL_EEEADV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_atl1c_write_phy_ext
	movq	_MIIEXT_PCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MIIEXT_CLDCTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_L2CB_CLDCTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_ext
LBB0_20:
	movq	_MIIDBG_ANACTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ANACTRL_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	_MIIDBG_SRDSYSMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SRDSYSMOD_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	_MIIDBG_TST10BTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TST10BTCFG_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	_MIIDBG_TST100BTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TST100BTCFG_DEF@GOTPCREL(%rip), %rax
	movq	_TST100BTCFG_LITCH_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_dbg
	movq	_IER_LINK_UP@GOTPCREL(%rip), %rax
	movq	_IER_LINK_DOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%edx, -44(%rbp)
	movq	_MII_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_atl1c_write_phy_reg
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_23
## %bb.21:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_msg_hw
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
LBB0_23:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_GPHY_CTRL,4,2              ## @REG_GPHY_CTRL
	.comm	_GPHY_CTRL_EXT_RESET,4,2        ## @GPHY_CTRL_EXT_RESET
	.comm	_GPHY_CTRL_PHY_IDDQ,4,2         ## @GPHY_CTRL_PHY_IDDQ
	.comm	_GPHY_CTRL_GATE_25M_EN,4,2      ## @GPHY_CTRL_GATE_25M_EN
	.comm	_GPHY_CTRL_PWDOWN_HW,4,2        ## @GPHY_CTRL_PWDOWN_HW
	.comm	_GPHY_CTRL_CLS,4,2              ## @GPHY_CTRL_CLS
	.comm	_GPHY_CTRL_SEL_ANA_RST,4,2      ## @GPHY_CTRL_SEL_ANA_RST
	.comm	_ATL1C_HIB_DISABLE,4,2          ## @ATL1C_HIB_DISABLE
	.comm	_GPHY_CTRL_HIB_EN,4,2           ## @GPHY_CTRL_HIB_EN
	.comm	_GPHY_CTRL_HIB_PULSE,4,2        ## @GPHY_CTRL_HIB_PULSE
	.comm	_GPHY_CTRL_EXT_RST_TO,4,2       ## @GPHY_CTRL_EXT_RST_TO
	.comm	_athr_l2c_b,8,3                 ## @athr_l2c_b
	.comm	_MIIDBG_CFGLPSPD,4,2            ## @MIIDBG_CFGLPSPD
	.comm	_CFGLPSPD_RSTCNT_CLK125SW,4,2   ## @CFGLPSPD_RSTCNT_CLK125SW
	.comm	_athr_l2c_b2,8,3                ## @athr_l2c_b2
	.comm	_MIIDBG_CABLE1TH_DET,4,2        ## @MIIDBG_CABLE1TH_DET
	.comm	_CABLE1TH_DET_EN,4,2            ## @CABLE1TH_DET_EN
	.comm	_MIIDBG_VOLT_CTRL,4,2           ## @MIIDBG_VOLT_CTRL
	.comm	_VOLT_CTRL_SWLOWEST,4,2         ## @VOLT_CTRL_SWLOWEST
	.comm	_athr_l1d,8,3                   ## @athr_l1d
	.comm	_athr_l1d_2,8,3                 ## @athr_l1d_2
	.comm	_L1D_LEGCYPS_DEF,4,2            ## @L1D_LEGCYPS_DEF
	.comm	_L1C_LEGCYPS_DEF,4,2            ## @L1C_LEGCYPS_DEF
	.comm	_MIIDBG_LEGCYPS,4,2             ## @MIIDBG_LEGCYPS
	.comm	_MIIDBG_SYSMODCTRL,4,2          ## @MIIDBG_SYSMODCTRL
	.comm	_SYSMODCTRL_IECHOADJ_DEF,4,2    ## @SYSMODCTRL_IECHOADJ_DEF
	.comm	_LEGCYPS_EN,4,2                 ## @LEGCYPS_EN
	.comm	_MIIDBG_HIBNEG,4,2              ## @MIIDBG_HIBNEG
	.comm	_HIBNEG_PSHIB_EN,4,2            ## @HIBNEG_PSHIB_EN
	.comm	_REG_LPI_CTRL,4,2               ## @REG_LPI_CTRL
	.comm	_LPI_CTRL_EN,4,2                ## @LPI_CTRL_EN
	.comm	_MIIEXT_ANEG,4,2                ## @MIIEXT_ANEG
	.comm	_MIIEXT_LOCAL_EEEADV,4,2        ## @MIIEXT_LOCAL_EEEADV
	.comm	_MIIEXT_PCS,4,2                 ## @MIIEXT_PCS
	.comm	_MIIEXT_CLDCTRL3,4,2            ## @MIIEXT_CLDCTRL3
	.comm	_L2CB_CLDCTRL3,4,2              ## @L2CB_CLDCTRL3
	.comm	_MIIDBG_ANACTRL,4,2             ## @MIIDBG_ANACTRL
	.comm	_ANACTRL_DEF,4,2                ## @ANACTRL_DEF
	.comm	_MIIDBG_SRDSYSMOD,4,2           ## @MIIDBG_SRDSYSMOD
	.comm	_SRDSYSMOD_DEF,4,2              ## @SRDSYSMOD_DEF
	.comm	_MIIDBG_TST10BTCFG,4,2          ## @MIIDBG_TST10BTCFG
	.comm	_TST10BTCFG_DEF,4,2             ## @TST10BTCFG_DEF
	.comm	_MIIDBG_TST100BTCFG,4,2         ## @MIIDBG_TST100BTCFG
	.comm	_TST100BTCFG_DEF,4,2            ## @TST100BTCFG_DEF
	.comm	_TST100BTCFG_LITCH_EN,4,2       ## @TST100BTCFG_LITCH_EN
	.comm	_IER_LINK_UP,4,2                ## @IER_LINK_UP
	.comm	_IER_LINK_DOWN,4,2              ## @IER_LINK_DOWN
	.comm	_MII_IER,4,2                    ## @MII_IER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error enable PHY linkChange Interrupt\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atl1c_phy_reset                ; -- Begin function atl1c_phy_reset
	.p2align	2
_atl1c_phy_reset:                       ; @atl1c_phy_reset
	.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	x21, x0
	ldr	x20, [x0, #16]
	ldr	x19, [x20]
Lloh0:
	adrp	x22, _REG_GPHY_CTRL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REG_GPHY_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #8
	bl	_AT_READ_REG
Lloh2:
	adrp	x24, _GPHY_CTRL_EXT_RESET@GOTPAGE
Lloh3:
	ldr	x24, [x24, _GPHY_CTRL_EXT_RESET@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh4:
	adrp	x9, _GPHY_CTRL_PHY_IDDQ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GPHY_CTRL_PHY_IDDQ@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh7:
	adrp	x9, _GPHY_CTRL_GATE_25M_EN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GPHY_CTRL_GATE_25M_EN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh10:
	adrp	x9, _GPHY_CTRL_PWDOWN_HW@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GPHY_CTRL_PWDOWN_HW@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh13:
	adrp	x9, _GPHY_CTRL_CLS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GPHY_CTRL_CLS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [sp, #8]
	bic	w8, w9, w8
Lloh16:
	adrp	x9, _GPHY_CTRL_SEL_ANA_RST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _GPHY_CTRL_SEL_ANA_RST@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x21]
Lloh19:
	adrp	x23, _ATL1C_HIB_DISABLE@GOTPAGE
Lloh20:
	ldr	x23, [x23, _ATL1C_HIB_DISABLE@GOTPAGEOFF]
	ldr	w10, [x23]
Lloh21:
	adrp	x11, _GPHY_CTRL_HIB_EN@GOTPAGE
Lloh22:
	ldr	x11, [x11, _GPHY_CTRL_HIB_EN@GOTPAGEOFF]
	tst	w10, w9
Lloh23:
	ldr	w9, [x11]
Lloh24:
	adrp	x10, _GPHY_CTRL_HIB_PULSE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _GPHY_CTRL_HIB_PULSE@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w11, w10, w9
	bic	w11, w8, w11
	orr	w8, w9, w8
	orr	w8, w8, w10
	csel	w2, w11, w8, ne
	str	w2, [sp, #8]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_AT_WRITE_REG
	mov	x0, x21
	bl	_AT_WRITE_FLUSH
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x22]
	ldr	w8, [sp, #8]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	x0, x21
	bl	_AT_WRITE_REG
	mov	x0, x21
	bl	_AT_WRITE_FLUSH
Lloh27:
	adrp	x8, _GPHY_CTRL_EXT_RST_TO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GPHY_CTRL_EXT_RST_TO@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #1
	bl	_udelay
	ldr	x8, [x21, #8]
Lloh30:
	adrp	x25, _athr_l2c_b@GOTPAGE
Lloh31:
	ldr	x25, [x25, _athr_l2c_b@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh32:
	adrp	x22, _MIIDBG_CFGLPSPD@GOTPAGE
Lloh33:
	ldr	x22, [x22, _MIIDBG_CFGLPSPD@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x21
	bl	_atl1c_read_phy_dbg
	ldr	w1, [x22]
	ldr	w8, [sp, #12]
Lloh34:
	adrp	x9, _CFGLPSPD_RSTCNT_CLK125SW@GOTPAGE
Lloh35:
	ldr	x9, [x9, _CFGLPSPD_RSTCNT_CLK125SW@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	bic	w2, w8, w9
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
	ldr	x8, [x21, #8]
	ldr	x9, [x25]
LBB0_2:
Lloh37:
	adrp	x22, _athr_l2c_b2@GOTPAGE
Lloh38:
	ldr	x22, [x22, _athr_l2c_b2@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_4:
Lloh39:
	adrp	x24, _MIIDBG_CABLE1TH_DET@GOTPAGE
Lloh40:
	ldr	x24, [x24, _MIIDBG_CABLE1TH_DET@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x2, sp, #12
	mov	x0, x21
	bl	_atl1c_read_phy_dbg
Lloh41:
	adrp	x8, _CABLE1TH_DET_EN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CABLE1TH_DET_EN@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
LBB0_5:
	ldr	w8, [x21]
	ldr	w9, [x23]
Lloh44:
	adrp	x24, _athr_l1d@GOTPAGE
Lloh45:
	ldr	x24, [x24, _athr_l1d@GOTPAGEOFF]
Lloh46:
	adrp	x23, _athr_l1d_2@GOTPAGE
Lloh47:
	ldr	x23, [x23, _athr_l1d_2@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh48:
	adrp	x25, _MIIDBG_LEGCYPS@GOTPAGE
Lloh49:
	ldr	x25, [x25, _MIIDBG_LEGCYPS@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x2, sp, #12
	mov	x0, x21
	bl	_atl1c_read_phy_dbg
	ldr	w1, [x25]
	ldr	w8, [sp, #12]
Lloh50:
	adrp	x9, _LEGCYPS_EN@GOTPAGE
Lloh51:
	ldr	x9, [x9, _LEGCYPS_EN@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	bic	w2, w8, w9
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
Lloh53:
	adrp	x25, _MIIDBG_HIBNEG@GOTPAGE
Lloh54:
	ldr	x25, [x25, _MIIDBG_HIBNEG@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x2, sp, #12
	mov	x0, x21
	bl	_atl1c_read_phy_dbg
	ldr	w1, [x25]
	ldr	w8, [sp, #12]
Lloh55:
	adrp	x9, _HIBNEG_PSHIB_EN@GOTPAGE
Lloh56:
	ldr	x9, [x9, _HIBNEG_PSHIB_EN@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	and	w2, w9, w8
	b	LBB0_11
LBB0_7:
	ldr	x8, [x21, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.8:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_9:
Lloh58:
	adrp	x25, _MIIDBG_VOLT_CTRL@GOTPAGE
Lloh59:
	ldr	x25, [x25, _MIIDBG_VOLT_CTRL@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x2, sp, #12
	mov	x0, x21
	bl	_atl1c_read_phy_dbg
Lloh60:
	adrp	x8, _VOLT_CTRL_SWLOWEST@GOTPAGE
Lloh61:
	ldr	x8, [x8, _VOLT_CTRL_SWLOWEST@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
	ldr	x8, [x21, #8]
LBB0_10:
	ldr	x9, [x24]
	ldr	x10, [x23]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
Lloh63:
	adrp	x8, _L1D_LEGCYPS_DEF@GOTPAGE
Lloh64:
	ldr	x8, [x8, _L1D_LEGCYPS_DEF@GOTPAGEOFF]
Lloh65:
	adrp	x9, _L1C_LEGCYPS_DEF@GOTPAGE
Lloh66:
	ldr	x9, [x9, _L1C_LEGCYPS_DEF@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	str	w2, [sp, #12]
Lloh67:
	adrp	x8, _MIIDBG_LEGCYPS@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MIIDBG_LEGCYPS@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
Lloh70:
	adrp	x8, _MIIDBG_SYSMODCTRL@GOTPAGE
Lloh71:
	ldr	x8, [x8, _MIIDBG_SYSMODCTRL@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
Lloh73:
	adrp	x8, _SYSMODCTRL_IECHOADJ_DEF@GOTPAGE
Lloh74:
	ldr	x8, [x8, _SYSMODCTRL_IECHOADJ_DEF@GOTPAGEOFF]
Lloh75:
	ldr	w2, [x8]
LBB0_11:
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
	ldr	x8, [x21, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.12:
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_15
LBB0_14:
Lloh76:
	adrp	x22, _REG_LPI_CTRL@GOTPAGE
Lloh77:
	ldr	x22, [x22, _REG_LPI_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #4
	mov	x0, x21
	bl	_AT_READ_REG
	ldr	w1, [x22]
	ldr	w8, [sp, #4]
Lloh78:
	adrp	x9, _LPI_CTRL_EN@GOTPAGE
Lloh79:
	ldr	x9, [x9, _LPI_CTRL_EN@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	bic	w2, w8, w9
	mov	x0, x21
	bl	_AT_WRITE_REG
Lloh81:
	adrp	x8, _MIIEXT_ANEG@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MIIEXT_ANEG@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
Lloh84:
	adrp	x8, _MIIEXT_LOCAL_EEEADV@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MIIEXT_LOCAL_EEEADV@GOTPAGEOFF]
Lloh86:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w3, #0
	bl	_atl1c_write_phy_ext
Lloh87:
	adrp	x8, _MIIEXT_PCS@GOTPAGE
Lloh88:
	ldr	x8, [x8, _MIIEXT_PCS@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
Lloh90:
	adrp	x8, _MIIEXT_CLDCTRL3@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MIIEXT_CLDCTRL3@GOTPAGEOFF]
Lloh92:
	ldr	w2, [x8]
Lloh93:
	adrp	x8, _L2CB_CLDCTRL3@GOTPAGE
Lloh94:
	ldr	x8, [x8, _L2CB_CLDCTRL3@GOTPAGEOFF]
Lloh95:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_atl1c_write_phy_ext
LBB0_15:
Lloh96:
	adrp	x8, _MIIDBG_ANACTRL@GOTPAGE
Lloh97:
	ldr	x8, [x8, _MIIDBG_ANACTRL@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
Lloh99:
	adrp	x8, _ANACTRL_DEF@GOTPAGE
Lloh100:
	ldr	x8, [x8, _ANACTRL_DEF@GOTPAGEOFF]
Lloh101:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
Lloh102:
	adrp	x8, _MIIDBG_SRDSYSMOD@GOTPAGE
Lloh103:
	ldr	x8, [x8, _MIIDBG_SRDSYSMOD@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
Lloh105:
	adrp	x8, _SRDSYSMOD_DEF@GOTPAGE
Lloh106:
	ldr	x8, [x8, _SRDSYSMOD_DEF@GOTPAGEOFF]
Lloh107:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
Lloh108:
	adrp	x8, _MIIDBG_TST10BTCFG@GOTPAGE
Lloh109:
	ldr	x8, [x8, _MIIDBG_TST10BTCFG@GOTPAGEOFF]
Lloh110:
	ldr	w1, [x8]
Lloh111:
	adrp	x8, _TST10BTCFG_DEF@GOTPAGE
Lloh112:
	ldr	x8, [x8, _TST10BTCFG_DEF@GOTPAGEOFF]
Lloh113:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
Lloh114:
	adrp	x8, _MIIDBG_TST100BTCFG@GOTPAGE
Lloh115:
	ldr	x8, [x8, _MIIDBG_TST100BTCFG@GOTPAGEOFF]
Lloh116:
	adrp	x9, _TST100BTCFG_DEF@GOTPAGE
Lloh117:
	ldr	x9, [x9, _TST100BTCFG_DEF@GOTPAGEOFF]
Lloh118:
	ldr	w1, [x8]
Lloh119:
	ldr	w8, [x9]
Lloh120:
	adrp	x9, _TST100BTCFG_LITCH_EN@GOTPAGE
Lloh121:
	ldr	x9, [x9, _TST100BTCFG_LITCH_EN@GOTPAGEOFF]
Lloh122:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x21
	bl	_atl1c_write_phy_dbg
Lloh123:
	adrp	x8, _IER_LINK_UP@GOTPAGE
Lloh124:
	ldr	x8, [x8, _IER_LINK_UP@GOTPAGEOFF]
Lloh125:
	ldr	w8, [x8]
Lloh126:
	adrp	x9, _IER_LINK_DOWN@GOTPAGE
Lloh127:
	ldr	x9, [x9, _IER_LINK_DOWN@GOTPAGEOFF]
Lloh128:
	ldr	w9, [x9]
	orr	w2, w9, w8
	str	w2, [sp, #12]
Lloh129:
	adrp	x8, _MII_IER@GOTPAGE
Lloh130:
	ldr	x8, [x8, _MII_IER@GOTPAGEOFF]
Lloh131:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_atl1c_write_phy_reg
	mov	x21, x0
	cbz	w0, LBB0_18
; %bb.16:
	mov	x0, x20
	bl	_netif_msg_hw
	cbz	x0, LBB0_18
; %bb.17:
Lloh132:
	adrp	x1, l_.str@PAGE
Lloh133:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_18:
	mov	x0, x21
	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 AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh118
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh132, Lloh133
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_GPHY_CTRL,4,2              ; @REG_GPHY_CTRL
	.comm	_GPHY_CTRL_EXT_RESET,4,2        ; @GPHY_CTRL_EXT_RESET
	.comm	_GPHY_CTRL_PHY_IDDQ,4,2         ; @GPHY_CTRL_PHY_IDDQ
	.comm	_GPHY_CTRL_GATE_25M_EN,4,2      ; @GPHY_CTRL_GATE_25M_EN
	.comm	_GPHY_CTRL_PWDOWN_HW,4,2        ; @GPHY_CTRL_PWDOWN_HW
	.comm	_GPHY_CTRL_CLS,4,2              ; @GPHY_CTRL_CLS
	.comm	_GPHY_CTRL_SEL_ANA_RST,4,2      ; @GPHY_CTRL_SEL_ANA_RST
	.comm	_ATL1C_HIB_DISABLE,4,2          ; @ATL1C_HIB_DISABLE
	.comm	_GPHY_CTRL_HIB_EN,4,2           ; @GPHY_CTRL_HIB_EN
	.comm	_GPHY_CTRL_HIB_PULSE,4,2        ; @GPHY_CTRL_HIB_PULSE
	.comm	_GPHY_CTRL_EXT_RST_TO,4,2       ; @GPHY_CTRL_EXT_RST_TO
	.comm	_athr_l2c_b,8,3                 ; @athr_l2c_b
	.comm	_MIIDBG_CFGLPSPD,4,2            ; @MIIDBG_CFGLPSPD
	.comm	_CFGLPSPD_RSTCNT_CLK125SW,4,2   ; @CFGLPSPD_RSTCNT_CLK125SW
	.comm	_athr_l2c_b2,8,3                ; @athr_l2c_b2
	.comm	_MIIDBG_CABLE1TH_DET,4,2        ; @MIIDBG_CABLE1TH_DET
	.comm	_CABLE1TH_DET_EN,4,2            ; @CABLE1TH_DET_EN
	.comm	_MIIDBG_VOLT_CTRL,4,2           ; @MIIDBG_VOLT_CTRL
	.comm	_VOLT_CTRL_SWLOWEST,4,2         ; @VOLT_CTRL_SWLOWEST
	.comm	_athr_l1d,8,3                   ; @athr_l1d
	.comm	_athr_l1d_2,8,3                 ; @athr_l1d_2
	.comm	_L1D_LEGCYPS_DEF,4,2            ; @L1D_LEGCYPS_DEF
	.comm	_L1C_LEGCYPS_DEF,4,2            ; @L1C_LEGCYPS_DEF
	.comm	_MIIDBG_LEGCYPS,4,2             ; @MIIDBG_LEGCYPS
	.comm	_MIIDBG_SYSMODCTRL,4,2          ; @MIIDBG_SYSMODCTRL
	.comm	_SYSMODCTRL_IECHOADJ_DEF,4,2    ; @SYSMODCTRL_IECHOADJ_DEF
	.comm	_LEGCYPS_EN,4,2                 ; @LEGCYPS_EN
	.comm	_MIIDBG_HIBNEG,4,2              ; @MIIDBG_HIBNEG
	.comm	_HIBNEG_PSHIB_EN,4,2            ; @HIBNEG_PSHIB_EN
	.comm	_REG_LPI_CTRL,4,2               ; @REG_LPI_CTRL
	.comm	_LPI_CTRL_EN,4,2                ; @LPI_CTRL_EN
	.comm	_MIIEXT_ANEG,4,2                ; @MIIEXT_ANEG
	.comm	_MIIEXT_LOCAL_EEEADV,4,2        ; @MIIEXT_LOCAL_EEEADV
	.comm	_MIIEXT_PCS,4,2                 ; @MIIEXT_PCS
	.comm	_MIIEXT_CLDCTRL3,4,2            ; @MIIEXT_CLDCTRL3
	.comm	_L2CB_CLDCTRL3,4,2              ; @L2CB_CLDCTRL3
	.comm	_MIIDBG_ANACTRL,4,2             ; @MIIDBG_ANACTRL
	.comm	_ANACTRL_DEF,4,2                ; @ANACTRL_DEF
	.comm	_MIIDBG_SRDSYSMOD,4,2           ; @MIIDBG_SRDSYSMOD
	.comm	_SRDSYSMOD_DEF,4,2              ; @SRDSYSMOD_DEF
	.comm	_MIIDBG_TST10BTCFG,4,2          ; @MIIDBG_TST10BTCFG
	.comm	_TST10BTCFG_DEF,4,2             ; @TST10BTCFG_DEF
	.comm	_MIIDBG_TST100BTCFG,4,2         ; @MIIDBG_TST100BTCFG
	.comm	_TST100BTCFG_DEF,4,2            ; @TST100BTCFG_DEF
	.comm	_TST100BTCFG_LITCH_EN,4,2       ; @TST100BTCFG_LITCH_EN
	.comm	_IER_LINK_UP,4,2                ; @IER_LINK_UP
	.comm	_IER_LINK_DOWN,4,2              ; @IER_LINK_DOWN
	.comm	_MII_IER,4,2                    ; @MII_IER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error enable PHY linkChange Interrupt\n"

.subsections_via_symbols
