	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvneta_mac_config
_mvneta_mac_config:                     ## @mvneta_mac_config
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %edi
	callq	_to_net_dev
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_MVNETA_GMAC_CTRL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mvreg_read
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_MVNETA_GMAC_CTRL_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mvreg_read
	movl	%eax, %r12d
	movq	_MVNETA_GMAC_CTRL_4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mvreg_read
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_MVNETA_GMAC_CLOCK_DIVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mvreg_read
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_MVNETA_GMAC_AUTONEG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mvreg_read
	movq	%r14, %rdx
	movq	_MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPCREL(%rip), %rsi
	movq	_MVNETA_GMAC2_PORT_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rsi), %r13d
	movq	_MVNETA_GMAC_INBAND_AN_ENABLE@GOTPCREL(%rip), %rsi
	movq	_MVNETA_GMAC_INBAND_RESTART_AN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rsi), %r14d
	movq	_MVNETA_GMAC_CONFIG_MII_SPEED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	movq	_MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	movq	_MVNETA_GMAC_AN_SPEED_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	movq	_MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	movq	_MVNETA_GMAC_CONFIG_FLOW_CTRL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	notl	%r13d
	movq	_MVNETA_GMAC_AN_FLOW_CTRL_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	andl	%r12d, %r13d
	movq	_MVNETA_GMAC2_PORT_RGMII@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r13d
	movq	_MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	movl	%eax, %r12d
	movq	_MVNETA_GMAC_AN_DUPLEX_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	notl	%r14d
	movq	_MVNETA_GMAC0_PORT_1000BASE_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%rdx), %rdi
	movq	_PHY_INTERFACE_MODE_QSGMII@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_3
## %bb.2:
	callq	_phy_interface_mode_is_8023z
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_MVNETA_GMAC2_PCS_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_4:
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	andl	%r12d, %r14d
	movl	40(%rdx), %edi
	movq	_Pause@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phylink_test
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_6:
	orl	%r14d, %r12d
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	notl	%r13d
	notl	%ebx
	movq	_MLO_PAUSE_TXRX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	andl	8(%rcx), %eax
	je	LBB0_8
## %bb.7:
	movq	_MVNETA_GMAC_CONFIG_FLOW_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%eax, %r12d
	andl	-68(%rbp), %r13d                ## 4-byte Folded Reload
	andl	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_phylink_autoneg_inband
	testl	%eax, %eax
	movq	_MVNETA_GMAC2_PORT_RESET@GOTPCREL(%rip), %r14
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	je	LBB0_9
## %bb.16:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movq	_MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_MVNETA_GMAC_FORCE_LINK_DOWN@GOTPCREL(%rip), %rax
	movq	_MVNETA_GMAC_FORCE_LINK_PASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r12d
	movq	_MVNETA_GMAC_INBAND_AN_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_MVNETA_GMAC_AN_SPEED_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_MVNETA_GMAC_AN_DUPLEX_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	_MVNETA_GMAC0_PORT_1000BASE_X@GOTPCREL(%rip), %rsi
	jmp	LBB0_23
LBB0_9:
	xorl	%eax, %eax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$0, 32(%rdx)
	je	LBB0_11
## %bb.10:
	movq	_MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	orl	%r12d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rdx), %rax
	movq	_SPEED_1000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_MVNETA_GMAC0_PORT_1000BASE_X@GOTPCREL(%rip), %rsi
	je	LBB0_13
## %bb.12:
	movq	_SPEED_2500@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.14:
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_23
## %bb.15:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_MVNETA_GMAC_CONFIG_MII_SPEED@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_23
LBB0_18:
	movq	_MVNETA_GMAC0_PORT_1000BASE_X@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r13d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_MVNETA_GMAC_FORCE_LINK_DOWN@GOTPCREL(%rip), %rax
	movq	_MVNETA_GMAC_FORCE_LINK_PASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r12d
	movq	_MVNETA_GMAC_INBAND_AN_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_MLO_PAUSE_AN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdx)
	je	LBB0_21
## %bb.19:
	cmpq	$0, 24(%rdx)
	je	LBB0_21
## %bb.20:
	movq	_MVNETA_GMAC_AN_FLOW_CTRL_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_21:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_22
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_22:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_23:
	movl	%r13d, %eax
	xorl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	testl	%eax, (%rsi)
	jne	LBB0_26
## %bb.24:
	movl	%r8d, %eax
	xorl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movq	_MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	jne	LBB0_26
## %bb.25:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	xorl	%ecx, %eax
	movq	_MVNETA_GMAC_INBAND_AN_ENABLE@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_27
LBB0_26:
	movq	_MVNETA_GMAC_AUTONEG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MVNETA_GMAC_FORCE_LINK_PASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movq	_MVNETA_GMAC_FORCE_LINK_DOWN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r8d, %ebx
	callq	_mvreg_write
	movl	%ebx, %r8d
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_27:
	movq	16(%rdx), %rax
	movq	_SPEED_2500@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.28:
	movq	_MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_29:
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	notl	%ecx
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.30:
	movq	(%rdx), %rax
	cmpq	%rax, (%r15)
	je	LBB0_35
## %bb.31:
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_34
## %bb.32:
	movq	_PHY_INTERFACE_MODE_1000BASEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_34
## %bb.33:
	movq	_PHY_INTERFACE_MODE_2500BASEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_35
LBB0_34:
	movq	%rax, (%r15)
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	callq	_phy_power_off
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%r15, %rdi
	callq	_mvneta_comphy_init
	movl	%eax, %edi
	callq	_WARN_ON
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
LBB0_35:
	andl	-84(%rbp), %ecx                 ## 4-byte Folded Reload
	cmpl	-68(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_37
## %bb.36:
	movq	_MVNETA_GMAC_CTRL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%ecx, %r13d
	movl	%r8d, %ebx
	callq	_mvreg_write
	movl	%ebx, %r8d
	movl	%r13d, %ecx
LBB0_37:
	orl	%ecx, %r12d
	cmpl	-64(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	_MVNETA_GMAC_CTRL_2@GOTPCREL(%rip), %rbx
	je	LBB0_39
## %bb.38:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	%r8d, %edx
	callq	_mvreg_write
LBB0_39:
	cmpl	-84(%rbp), %r12d                ## 4-byte Folded Reload
	je	LBB0_41
## %bb.40:
	movq	_MVNETA_GMAC_CTRL_4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_mvreg_write
LBB0_41:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	cmpl	-88(%rbp), %edx                 ## 4-byte Folded Reload
	je	LBB0_43
## %bb.42:
	movq	_MVNETA_GMAC_CLOCK_DIVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mvreg_write
LBB0_43:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	je	LBB0_45
## %bb.44:
	movq	_MVNETA_GMAC_AUTONEG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mvreg_write
LBB0_45:
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r14)
	je	LBB0_48
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_mvreg_read
	testl	%eax, (%r14)
	jne	LBB0_46
LBB0_48:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVNETA_GMAC_CTRL_0,4,2         ## @MVNETA_GMAC_CTRL_0
	.comm	_MVNETA_GMAC_CTRL_2,4,2         ## @MVNETA_GMAC_CTRL_2
	.comm	_MVNETA_GMAC_CTRL_4,4,2         ## @MVNETA_GMAC_CTRL_4
	.comm	_MVNETA_GMAC_CLOCK_DIVIDER,4,2  ## @MVNETA_GMAC_CLOCK_DIVIDER
	.comm	_MVNETA_GMAC_AUTONEG_CONFIG,4,2 ## @MVNETA_GMAC_AUTONEG_CONFIG
	.comm	_MVNETA_GMAC0_PORT_1000BASE_X,4,2 ## @MVNETA_GMAC0_PORT_1000BASE_X
	.comm	_MVNETA_GMAC2_INBAND_AN_ENABLE,4,2 ## @MVNETA_GMAC2_INBAND_AN_ENABLE
	.comm	_MVNETA_GMAC2_PORT_RESET,4,2    ## @MVNETA_GMAC2_PORT_RESET
	.comm	_MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE,4,2 ## @MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE
	.comm	_MVNETA_GMAC_1MS_CLOCK_ENABLE,4,2 ## @MVNETA_GMAC_1MS_CLOCK_ENABLE
	.comm	_MVNETA_GMAC_INBAND_AN_ENABLE,4,2 ## @MVNETA_GMAC_INBAND_AN_ENABLE
	.comm	_MVNETA_GMAC_INBAND_RESTART_AN,4,2 ## @MVNETA_GMAC_INBAND_RESTART_AN
	.comm	_MVNETA_GMAC_CONFIG_MII_SPEED,4,2 ## @MVNETA_GMAC_CONFIG_MII_SPEED
	.comm	_MVNETA_GMAC_CONFIG_GMII_SPEED,4,2 ## @MVNETA_GMAC_CONFIG_GMII_SPEED
	.comm	_MVNETA_GMAC_AN_SPEED_EN,4,2    ## @MVNETA_GMAC_AN_SPEED_EN
	.comm	_MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL,4,2 ## @MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL
	.comm	_MVNETA_GMAC_CONFIG_FLOW_CTRL,4,2 ## @MVNETA_GMAC_CONFIG_FLOW_CTRL
	.comm	_MVNETA_GMAC_AN_FLOW_CTRL_EN,4,2 ## @MVNETA_GMAC_AN_FLOW_CTRL_EN
	.comm	_MVNETA_GMAC_CONFIG_FULL_DUPLEX,4,2 ## @MVNETA_GMAC_CONFIG_FULL_DUPLEX
	.comm	_MVNETA_GMAC_AN_DUPLEX_EN,4,2   ## @MVNETA_GMAC_AN_DUPLEX_EN
	.comm	_MVNETA_GMAC2_PORT_RGMII,4,2    ## @MVNETA_GMAC2_PORT_RGMII
	.comm	_PHY_INTERFACE_MODE_QSGMII,8,3  ## @PHY_INTERFACE_MODE_QSGMII
	.comm	_PHY_INTERFACE_MODE_SGMII,8,3   ## @PHY_INTERFACE_MODE_SGMII
	.comm	_MVNETA_GMAC2_PCS_ENABLE,4,2    ## @MVNETA_GMAC2_PCS_ENABLE
	.comm	_Pause,4,2                      ## @Pause
	.comm	_MLO_PAUSE_TXRX_MASK,4,2        ## @MLO_PAUSE_TXRX_MASK
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_SPEED_2500,8,3                 ## @SPEED_2500
	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_MVNETA_GMAC_FORCE_LINK_DOWN,4,2 ## @MVNETA_GMAC_FORCE_LINK_DOWN
	.comm	_MVNETA_GMAC_FORCE_LINK_PASS,4,2 ## @MVNETA_GMAC_FORCE_LINK_PASS
	.comm	_MLO_PAUSE_AN,4,2               ## @MLO_PAUSE_AN
	.comm	_PHY_INTERFACE_MODE_1000BASEX,8,3 ## @PHY_INTERFACE_MODE_1000BASEX
	.comm	_PHY_INTERFACE_MODE_2500BASEX,8,3 ## @PHY_INTERFACE_MODE_2500BASEX
	.no_dead_strip	_mvneta_mac_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvneta_mac_config
_mvneta_mac_config:                     ; @mvneta_mac_config
	.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	x25, x2
	str	w1, [sp, #8]                    ; 4-byte Folded Spill
	ldr	w0, [x0]
	bl	_to_net_dev
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _MVNETA_GMAC_CTRL_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVNETA_GMAC_CTRL_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mvreg_read
	mov	x20, x0
Lloh3:
	adrp	x8, _MVNETA_GMAC_CTRL_2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVNETA_GMAC_CTRL_2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mvreg_read
	mov	x21, x0
Lloh6:
	adrp	x8, _MVNETA_GMAC_CTRL_4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MVNETA_GMAC_CTRL_4@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mvreg_read
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh9:
	adrp	x8, _MVNETA_GMAC_CLOCK_DIVIDER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MVNETA_GMAC_CLOCK_DIVIDER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mvreg_read
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x8, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mvreg_read
Lloh15:
	adrp	x8, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	bic	w26, w20, w8
Lloh18:
	adrp	x8, _MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x20, _MVNETA_GMAC2_PORT_RESET@GOTPAGE
Lloh22:
	ldr	x20, [x20, _MVNETA_GMAC2_PORT_RESET@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w21, [sp, #16]                  ; 4-byte Folded Spill
	bic	w8, w21, w8
Lloh23:
	adrp	x9, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	str	w9, [sp, #4]                    ; 4-byte Folded Spill
Lloh26:
	adrp	x9, _MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPAGEOFF]
Lloh28:
	ldr	w28, [x9]
Lloh29:
	adrp	x9, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _MVNETA_GMAC_INBAND_RESTART_AN@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MVNETA_GMAC_INBAND_RESTART_AN@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh35:
	adrp	x10, _MVNETA_GMAC_CONFIG_MII_SPEED@GOTPAGE
Lloh36:
	ldr	x10, [x10, _MVNETA_GMAC_CONFIG_MII_SPEED@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh38:
	adrp	x10, _MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPAGE
Lloh39:
	ldr	x10, [x10, _MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh41:
	adrp	x10, _MVNETA_GMAC_AN_SPEED_EN@GOTPAGE
Lloh42:
	ldr	x10, [x10, _MVNETA_GMAC_AN_SPEED_EN@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh44:
	adrp	x21, _MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL@GOTPAGE
Lloh45:
	ldr	x21, [x21, _MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w9, w10
Lloh46:
	adrp	x24, _MVNETA_GMAC_CONFIG_FLOW_CTRL@GOTPAGE
Lloh47:
	ldr	x24, [x24, _MVNETA_GMAC_CONFIG_FLOW_CTRL@GOTPAGEOFF]
	ldr	w10, [x24]
	orr	w9, w9, w10
Lloh48:
	adrp	x10, _MVNETA_GMAC_AN_FLOW_CTRL_EN@GOTPAGE
Lloh49:
	ldr	x10, [x10, _MVNETA_GMAC_AN_FLOW_CTRL_EN@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh51:
	adrp	x10, _MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPAGE
Lloh52:
	ldr	x10, [x10, _MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh54:
	adrp	x10, _MVNETA_GMAC_AN_DUPLEX_EN@GOTPAGE
Lloh55:
	ldr	x10, [x10, _MVNETA_GMAC_AN_DUPLEX_EN@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	bic	w22, w0, w9
Lloh57:
	adrp	x9, _MVNETA_GMAC2_PORT_RGMII@GOTPAGE
Lloh58:
	ldr	x9, [x9, _MVNETA_GMAC2_PORT_RGMII@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w27, w9, w8
	ldr	x0, [x25]
Lloh60:
	adrp	x8, _PHY_INTERFACE_MODE_QSGMII@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_QSGMII@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
Lloh63:
	adrp	x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	bl	_phy_interface_mode_is_8023z
	cbz	x0, LBB0_4
LBB0_3:
Lloh66:
	adrp	x8, _MVNETA_GMAC2_PCS_ENABLE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _MVNETA_GMAC2_PCS_ENABLE@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	orr	w27, w8, w27
LBB0_4:
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	bic	w28, w8, w28
	ldr	w0, [x25, #40]
Lloh69:
	adrp	x8, _Pause@GOTPAGE
Lloh70:
	ldr	x8, [x8, _Pause@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	bl	_phylink_test
	ldr	w8, [x21]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w8, w8, w22
Lloh72:
	adrp	x9, _MLO_PAUSE_TXRX_MASK@GOTPAGE
Lloh73:
	ldr	x9, [x9, _MLO_PAUSE_TXRX_MASK@GOTPAGEOFF]
	ldr	w10, [x25, #8]
Lloh74:
	ldr	w9, [x9]
	ldr	w11, [x24]
	tst	w9, w10
	csel	w9, wzr, w11, eq
	orr	w21, w8, w9
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_phylink_autoneg_inband
Lloh75:
	adrp	x9, _MVNETA_GMAC_FORCE_LINK_PASS@GOTPAGE
Lloh76:
	ldr	x9, [x9, _MVNETA_GMAC_FORCE_LINK_PASS@GOTPAGEOFF]
Lloh77:
	adrp	x8, _MVNETA_GMAC_FORCE_LINK_DOWN@GOTPAGE
Lloh78:
	ldr	x8, [x8, _MVNETA_GMAC_FORCE_LINK_DOWN@GOTPAGEOFF]
Lloh79:
	adrp	x13, _SPEED_2500@GOTPAGE
Lloh80:
	ldr	x13, [x13, _SPEED_2500@GOTPAGEOFF]
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x10, [x25]
Lloh81:
	adrp	x11, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh82:
	ldr	x11, [x11, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
Lloh83:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_11
; %bb.6:
Lloh84:
	adrp	x10, _MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPAGE
Lloh85:
	ldr	x10, [x10, _MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPAGEOFF]
Lloh86:
	ldr	w10, [x10]
	orr	w27, w10, w27
Lloh87:
	adrp	x10, _MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPAGE
Lloh88:
	ldr	x10, [x10, _MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPAGEOFF]
Lloh89:
	ldr	w10, [x10]
	orr	w28, w10, w28
	ldr	w10, [x8]
	ldr	w11, [x9]
	orr	w10, w11, w10
	bic	w10, w21, w10
Lloh90:
	adrp	x11, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGE
Lloh91:
	ldr	x11, [x11, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGEOFF]
Lloh92:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh93:
	adrp	x11, _MVNETA_GMAC_AN_SPEED_EN@GOTPAGE
Lloh94:
	ldr	x11, [x11, _MVNETA_GMAC_AN_SPEED_EN@GOTPAGEOFF]
Lloh95:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh96:
	adrp	x11, _MVNETA_GMAC_AN_DUPLEX_EN@GOTPAGE
Lloh97:
	ldr	x11, [x11, _MVNETA_GMAC_AN_DUPLEX_EN@GOTPAGEOFF]
Lloh98:
	ldr	w11, [x11]
	orr	w22, w10, w11
	b	LBB0_16
LBB0_7:
	ldr	x10, [x25, #32]
Lloh99:
	adrp	x11, _MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPAGE
Lloh100:
	ldr	x11, [x11, _MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPAGEOFF]
Lloh101:
	ldr	w11, [x11]
	cmp	x10, #0
	csel	w10, wzr, w11, eq
	orr	w22, w10, w21
	ldr	x10, [x25, #16]
Lloh102:
	adrp	x11, _SPEED_1000@GOTPAGE
Lloh103:
	ldr	x11, [x11, _SPEED_1000@GOTPAGEOFF]
Lloh104:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_15
; %bb.8:
	ldr	x11, [x13]
	cmp	x10, x11
	b.eq	LBB0_15
; %bb.9:
Lloh105:
	adrp	x11, _SPEED_100@GOTPAGE
Lloh106:
	ldr	x11, [x11, _SPEED_100@GOTPAGEOFF]
Lloh107:
	ldr	x11, [x11]
	cmp	x10, x11
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
Lloh108:
	adrp	x23, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGE
Lloh109:
	ldr	x23, [x23, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGEOFF]
Lloh110:
	adrp	x12, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGE
Lloh111:
	ldr	x12, [x12, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGEOFF]
	b.ne	LBB0_17
; %bb.10:
Lloh112:
	adrp	x10, _MVNETA_GMAC_CONFIG_MII_SPEED@GOTPAGE
Lloh113:
	ldr	x10, [x10, _MVNETA_GMAC_CONFIG_MII_SPEED@GOTPAGEOFF]
Lloh114:
	ldr	w10, [x10]
	orr	w22, w10, w22
	b	LBB0_17
LBB0_11:
Lloh115:
	adrp	x12, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGE
Lloh116:
	ldr	x12, [x12, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGEOFF]
	ldr	w10, [x12]
	orr	w26, w10, w26
Lloh117:
	adrp	x10, _MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPAGE
Lloh118:
	ldr	x10, [x10, _MVNETA_GMAC_1MS_CLOCK_ENABLE@GOTPAGEOFF]
Lloh119:
	ldr	w10, [x10]
	orr	w28, w10, w28
	ldr	w10, [x8]
	ldr	w11, [x9]
	orr	w10, w11, w10
	bic	w10, w21, w10
Lloh120:
	adrp	x11, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGE
Lloh121:
	ldr	x11, [x11, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGEOFF]
Lloh122:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh123:
	adrp	x11, _MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPAGE
Lloh124:
	ldr	x11, [x11, _MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPAGEOFF]
Lloh125:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh126:
	adrp	x11, _MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPAGE
Lloh127:
	ldr	x11, [x11, _MVNETA_GMAC_CONFIG_FULL_DUPLEX@GOTPAGEOFF]
Lloh128:
	ldr	w11, [x11]
	orr	w22, w10, w11
	ldr	w10, [x25, #8]
Lloh129:
	adrp	x11, _MLO_PAUSE_AN@GOTPAGE
Lloh130:
	ldr	x11, [x11, _MLO_PAUSE_AN@GOTPAGEOFF]
Lloh131:
	ldr	w11, [x11]
	tst	w11, w10
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
	b.eq	LBB0_14
; %bb.12:
	ldr	x10, [x25, #24]
	cbz	x10, LBB0_14
; %bb.13:
Lloh132:
	adrp	x10, _MVNETA_GMAC_AN_FLOW_CTRL_EN@GOTPAGE
Lloh133:
	ldr	x10, [x10, _MVNETA_GMAC_AN_FLOW_CTRL_EN@GOTPAGEOFF]
Lloh134:
	ldr	w10, [x10]
	orr	w22, w10, w22
LBB0_14:
Lloh135:
	adrp	x23, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGE
Lloh136:
	ldr	x23, [x23, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
Lloh137:
	adrp	x10, _MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPAGE
Lloh138:
	ldr	x10, [x10, _MVNETA_GMAC_CONFIG_GMII_SPEED@GOTPAGEOFF]
Lloh139:
	ldr	w10, [x10]
	orr	w22, w10, w22
LBB0_16:
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
Lloh140:
	adrp	x23, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGE
Lloh141:
	ldr	x23, [x23, _MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE@GOTPAGEOFF]
Lloh142:
	adrp	x12, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGE
Lloh143:
	ldr	x12, [x12, _MVNETA_GMAC0_PORT_1000BASE_X@GOTPAGEOFF]
LBB0_17:
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	eor	w10, w26, w10
	ldr	w11, [x12]
	tst	w10, w11
	b.ne	LBB0_20
; %bb.18:
	ldr	w10, [sp, #16]                  ; 4-byte Folded Reload
	eor	w10, w27, w10
Lloh144:
	adrp	x11, _MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPAGE
Lloh145:
	ldr	x11, [x11, _MVNETA_GMAC2_INBAND_AN_ENABLE@GOTPAGEOFF]
Lloh146:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_20
; %bb.19:
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	eor	w10, w22, w10
Lloh147:
	adrp	x11, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGE
Lloh148:
	ldr	x11, [x11, _MVNETA_GMAC_INBAND_AN_ENABLE@GOTPAGEOFF]
Lloh149:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_21
LBB0_20:
Lloh150:
	adrp	x10, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGE
Lloh151:
	ldr	x10, [x10, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGEOFF]
Lloh152:
	ldr	w1, [x10]
	ldr	w9, [x9]
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	bic	w9, w10, w9
	ldr	w8, [x8]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x21, x13
	bl	_mvreg_write
	mov	x13, x21
LBB0_21:
	ldr	x8, [x25, #16]
	ldr	x9, [x13]
	ldr	w10, [x23]
	cmp	x8, x9
	csel	w21, w10, wzr, eq
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_27
; %bb.22:
	ldr	x9, [x19]
	ldr	x8, [x25]
	cmp	x9, x8
	b.eq	LBB0_27
; %bb.23:
Lloh153:
	adrp	x9, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh154:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
Lloh155:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.24:
Lloh156:
	adrp	x9, _PHY_INTERFACE_MODE_1000BASEX@GOTPAGE
Lloh157:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_1000BASEX@GOTPAGEOFF]
Lloh158:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.25:
Lloh159:
	adrp	x9, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGE
Lloh160:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGEOFF]
Lloh161:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
LBB0_26:
	str	x8, [x19]
	bl	_phy_power_off
	bl	_WARN_ON
	mov	x0, x19
	bl	_mvneta_comphy_init
	bl	_WARN_ON
LBB0_27:
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
	bic	w24, w25, w24
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w26, w8
Lloh162:
	adrp	x23, _MVNETA_GMAC_CTRL_2@GOTPAGE
Lloh163:
	ldr	x23, [x23, _MVNETA_GMAC_CTRL_2@GOTPAGEOFF]
	b.eq	LBB0_29
; %bb.28:
Lloh164:
	adrp	x8, _MVNETA_GMAC_CTRL_0@GOTPAGE
Lloh165:
	ldr	x8, [x8, _MVNETA_GMAC_CTRL_0@GOTPAGEOFF]
Lloh166:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	bl	_mvreg_write
LBB0_29:
	orr	w24, w21, w24
	ldr	w21, [sp, #16]                  ; 4-byte Folded Reload
	cmp	w27, w21
	b.eq	LBB0_31
; %bb.30:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x27
	bl	_mvreg_write
LBB0_31:
	cmp	w24, w25
	b.eq	LBB0_33
; %bb.32:
Lloh167:
	adrp	x8, _MVNETA_GMAC_CTRL_4@GOTPAGE
Lloh168:
	ldr	x8, [x8, _MVNETA_GMAC_CTRL_4@GOTPAGEOFF]
Lloh169:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_mvreg_write
LBB0_33:
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w28, w8
	b.eq	LBB0_35
; %bb.34:
Lloh170:
	adrp	x8, _MVNETA_GMAC_CLOCK_DIVIDER@GOTPAGE
Lloh171:
	ldr	x8, [x8, _MVNETA_GMAC_CLOCK_DIVIDER@GOTPAGEOFF]
Lloh172:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x28
	bl	_mvreg_write
LBB0_35:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w22, w8
	b.eq	LBB0_37
; %bb.36:
Lloh173:
	adrp	x8, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGE
Lloh174:
	ldr	x8, [x8, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGEOFF]
Lloh175:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_mvreg_write
LBB0_37:
	ldr	w8, [x20]
	tst	w8, w21
	b.eq	LBB0_39
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mvreg_read
	ldr	w8, [x20]
	tst	w8, w0
	b.ne	LBB0_38
LBB0_39:
	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
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGot	Lloh142, Lloh143
	.loh AdrpLdrGot	Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpLdrGot	Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.cfi_endproc
                                        ; -- End function
	.comm	_MVNETA_GMAC_CTRL_0,4,2         ; @MVNETA_GMAC_CTRL_0
	.comm	_MVNETA_GMAC_CTRL_2,4,2         ; @MVNETA_GMAC_CTRL_2
	.comm	_MVNETA_GMAC_CTRL_4,4,2         ; @MVNETA_GMAC_CTRL_4
	.comm	_MVNETA_GMAC_CLOCK_DIVIDER,4,2  ; @MVNETA_GMAC_CLOCK_DIVIDER
	.comm	_MVNETA_GMAC_AUTONEG_CONFIG,4,2 ; @MVNETA_GMAC_AUTONEG_CONFIG
	.comm	_MVNETA_GMAC0_PORT_1000BASE_X,4,2 ; @MVNETA_GMAC0_PORT_1000BASE_X
	.comm	_MVNETA_GMAC2_INBAND_AN_ENABLE,4,2 ; @MVNETA_GMAC2_INBAND_AN_ENABLE
	.comm	_MVNETA_GMAC2_PORT_RESET,4,2    ; @MVNETA_GMAC2_PORT_RESET
	.comm	_MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE,4,2 ; @MVNETA_GMAC4_SHORT_PREAMBLE_ENABLE
	.comm	_MVNETA_GMAC_1MS_CLOCK_ENABLE,4,2 ; @MVNETA_GMAC_1MS_CLOCK_ENABLE
	.comm	_MVNETA_GMAC_INBAND_AN_ENABLE,4,2 ; @MVNETA_GMAC_INBAND_AN_ENABLE
	.comm	_MVNETA_GMAC_INBAND_RESTART_AN,4,2 ; @MVNETA_GMAC_INBAND_RESTART_AN
	.comm	_MVNETA_GMAC_CONFIG_MII_SPEED,4,2 ; @MVNETA_GMAC_CONFIG_MII_SPEED
	.comm	_MVNETA_GMAC_CONFIG_GMII_SPEED,4,2 ; @MVNETA_GMAC_CONFIG_GMII_SPEED
	.comm	_MVNETA_GMAC_AN_SPEED_EN,4,2    ; @MVNETA_GMAC_AN_SPEED_EN
	.comm	_MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL,4,2 ; @MVNETA_GMAC_ADVERT_SYM_FLOW_CTRL
	.comm	_MVNETA_GMAC_CONFIG_FLOW_CTRL,4,2 ; @MVNETA_GMAC_CONFIG_FLOW_CTRL
	.comm	_MVNETA_GMAC_AN_FLOW_CTRL_EN,4,2 ; @MVNETA_GMAC_AN_FLOW_CTRL_EN
	.comm	_MVNETA_GMAC_CONFIG_FULL_DUPLEX,4,2 ; @MVNETA_GMAC_CONFIG_FULL_DUPLEX
	.comm	_MVNETA_GMAC_AN_DUPLEX_EN,4,2   ; @MVNETA_GMAC_AN_DUPLEX_EN
	.comm	_MVNETA_GMAC2_PORT_RGMII,4,2    ; @MVNETA_GMAC2_PORT_RGMII
	.comm	_PHY_INTERFACE_MODE_QSGMII,8,3  ; @PHY_INTERFACE_MODE_QSGMII
	.comm	_PHY_INTERFACE_MODE_SGMII,8,3   ; @PHY_INTERFACE_MODE_SGMII
	.comm	_MVNETA_GMAC2_PCS_ENABLE,4,2    ; @MVNETA_GMAC2_PCS_ENABLE
	.comm	_Pause,4,2                      ; @Pause
	.comm	_MLO_PAUSE_TXRX_MASK,4,2        ; @MLO_PAUSE_TXRX_MASK
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_SPEED_2500,8,3                 ; @SPEED_2500
	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_MVNETA_GMAC_FORCE_LINK_DOWN,4,2 ; @MVNETA_GMAC_FORCE_LINK_DOWN
	.comm	_MVNETA_GMAC_FORCE_LINK_PASS,4,2 ; @MVNETA_GMAC_FORCE_LINK_PASS
	.comm	_MLO_PAUSE_AN,4,2               ; @MLO_PAUSE_AN
	.comm	_PHY_INTERFACE_MODE_1000BASEX,8,3 ; @PHY_INTERFACE_MODE_1000BASEX
	.comm	_PHY_INTERFACE_MODE_2500BASEX,8,3 ; @PHY_INTERFACE_MODE_2500BASEX
	.no_dead_strip	_mvneta_mac_config
.subsections_via_symbols
