	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bgmac_chip_reset
_bgmac_chip_reset:                      ## @bgmac_chip_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_bgmac_clk_enabled
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.2:
	movl	$1, (%r15)
LBB0_3:
	movq	_BGMAC_MAX_TX_RINGS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rsi
	addq	%r12, %rsi
	movq	%r15, %rdi
	callq	_bgmac_dma_tx_reset
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_BGMAC_CMDCFG_ML@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$-1, %esi
	xorl	%ecx, %ecx
	callq	_bgmac_cmdcfg_maskset
	movl	$1, %edi
	callq	_udelay
	movq	_BGMAC_MAX_RX_RINGS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.7:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rsi
	addq	%r12, %rsi
	movq	%r15, %rdi
	callq	_bgmac_dma_rx_reset
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movl	4(%r15), %eax
	movq	_BGMAC_FEAT_IDM_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_bgmac_chip_reset_idm_config
	movl	4(%r15), %eax
LBB0_11:
	movq	_BGMAC_FEAT_MISC_PLL_REQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	_BCMA_CLKCTLST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bgmac_set
	movl	(%rbx), %esi
	movq	_BGMAC_BCMA_CLKCTLST_MISC_PLL_ST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_bgmac_wait_value
	movl	4(%r15), %eax
LBB0_13:
	movq	_BGMAC_FEAT_SW_TYPE_PHY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.14:
	movl	$0, -36(%rbp)
	movq	_BGMAC_CHIPCTL_1_SW_TYPE_EPHY@GOTPCREL(%rip), %rax
	movq	_BGMAC_CHIPCTL_1_IF_TYPE_MII@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_bcm47xx_nvram_getenv
	testq	%rax, %rax
	jle	LBB0_23
## %bb.15:
	leaq	-40(%rbp), %rdi
	leaq	-36(%rbp), %rdx
	xorl	%esi, %esi
	callq	_kstrtou8
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	32(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdx
	callq	_dev_err
LBB0_17:
	movl	-36(%rbp), %eax
	shll	$4, %eax
	movzbl	%al, %r14d
	movl	%r14d, -36(%rbp)
	jmp	LBB0_32
LBB0_18:
	movq	_BGMAC_FEAT_CC4_IF_SW_TYPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.19:
	movq	_BGMAC_CHIPCTL_4_IF_TYPE_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BGMAC_CHIPCTL_4_SW_TYPE_EPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$0, -36(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_bcm47xx_nvram_getenv
	testq	%rax, %rax
	jle	LBB0_27
## %bb.20:
	leaq	-40(%rbp), %rdi
	leaq	-36(%rbp), %rdx
	xorl	%esi, %esi
	callq	_kstrtou8
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movl	32(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdx
	callq	_dev_err
LBB0_22:
	movl	-36(%rbp), %eax
	shll	$12, %eax
	movzwl	%ax, %r14d
	jmp	LBB0_34
LBB0_23:
	movl	4(%r15), %eax
	movq	_BGMAC_FEAT_SW_TYPE_EPHYRMII@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.24:
	movq	_BGMAC_CHIPCTL_1_IF_TYPE_RMII@GOTPCREL(%rip), %rax
	movq	_BGMAC_CHIPCTL_1_SW_TYPE_EPHYRMII@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_25:
	movq	_BGMAC_FEAT_CC7_IF_TYPE_RGMII@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.26:
	movq	_BGMAC_CHIPCTL_7_IF_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	_BGMAC_CHIPCTL_7_IF_TYPE_RGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$7, %esi
	jmp	LBB0_36
LBB0_27:
	movq	_BGMAC_FEAT_CC4_IF_SW_TYPE_RGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_33
## %bb.28:
	movq	_BGMAC_CHIPCTL_4_IF_TYPE_RGMII@GOTPCREL(%rip), %rax
	movq	_BGMAC_CHIPCTL_4_SW_TYPE_RGMII@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	jmp	LBB0_34
LBB0_29:
	movq	_BGMAC_FEAT_SW_TYPE_RGMII@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
## %bb.30:
	movq	_BGMAC_CHIPCTL_1_IF_TYPE_RGMII@GOTPCREL(%rip), %rax
	movq	_BGMAC_CHIPCTL_1_SW_TYPE_RGMII@GOTPCREL(%rip), %rcx
LBB0_31:
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
LBB0_32:
	movq	_BGMAC_CHIPCTL_1_IF_TYPE_MASK@GOTPCREL(%rip), %rax
	movq	_BGMAC_CHIPCTL_1_SW_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	movq	%r15, %rdi
	movl	$1, %esi
	jmp	LBB0_35
LBB0_33:
	orl	%ebx, %r14d
LBB0_34:
	movq	_BGMAC_CHIPCTL_4_IF_TYPE_MASK@GOTPCREL(%rip), %rax
	movq	_BGMAC_CHIPCTL_4_SW_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	movq	%r15, %rdi
	movl	$4, %esi
LBB0_35:
	movl	%r14d, %ecx
LBB0_36:
	callq	_bgmac_cco_ctl_maskset
LBB0_37:
	movq	_BGMAC_FEAT_CMDCFG_SR_REV4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%r15), %eax
	jne	LBB0_39
## %bb.38:
	movq	_BGMAC_CMDCFG_SR_REV0@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_39:
	movq	_BGMAC_CMDCFG_SR_REV4@GOTPCREL(%rip), %rax
LBB0_40:
	movq	_BGMAC_CMDCFG_TE@GOTPCREL(%rip), %rcx
	movq	_BGMAC_CMDCFG_RE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_RPI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_TAI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_HD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_ML@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_CFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%edx, %esi
	movq	_BGMAC_CMDCFG_RL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_RED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_PE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_TPI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_PAD_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_BGMAC_CMDCFG_PF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	notl	%esi
	movq	_BGMAC_CMDCFG_PROM@GOTPCREL(%rip), %rcx
	movq	_BGMAC_CMDCFG_NLC@GOTPCREL(%rip), %rdi
	orl	(%rax), %edx
	orl	(%rcx), %edx
	orl	(%rdi), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_bgmac_cmdcfg_maskset
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	%r15, %rdi
	callq	_bgmac_clear_mib
	movq	_BGMAC_FEAT_CMN_PHY_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_42
## %bb.41:
	movq	_BCMA_GMAC_CMN_PHY_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BCMA_GMAC_CMN_PC_MTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_bgmac_cmn_maskset32
	jmp	LBB0_43
LBB0_42:
	movq	_BGMAC_PHY_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BGMAC_PC_MTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bgmac_set
LBB0_43:
	movq	%r15, %rdi
	callq	_bgmac_miiconfig
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_45
## %bb.44:
	callq	*(%rdi)
LBB0_45:
	movl	8(%r15), %edi
	callq	_netdev_reset_queue
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BGMAC_MAX_TX_RINGS,4,2         ## @BGMAC_MAX_TX_RINGS
	.comm	_BGMAC_CMDCFG_ML,4,2            ## @BGMAC_CMDCFG_ML
	.comm	_BGMAC_MAX_RX_RINGS,4,2         ## @BGMAC_MAX_RX_RINGS
	.comm	_BGMAC_FEAT_IDM_MASK,4,2        ## @BGMAC_FEAT_IDM_MASK
	.comm	_BGMAC_FEAT_MISC_PLL_REQ,4,2    ## @BGMAC_FEAT_MISC_PLL_REQ
	.comm	_BCMA_CLKCTLST,4,2              ## @BCMA_CLKCTLST
	.comm	_BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ,4,2 ## @BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ
	.comm	_BGMAC_BCMA_CLKCTLST_MISC_PLL_ST,4,2 ## @BGMAC_BCMA_CLKCTLST_MISC_PLL_ST
	.comm	_BGMAC_FEAT_SW_TYPE_PHY,4,2     ## @BGMAC_FEAT_SW_TYPE_PHY
	.comm	_BGMAC_CHIPCTL_1_SW_TYPE_EPHY,4,2 ## @BGMAC_CHIPCTL_1_SW_TYPE_EPHY
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_MII,4,2 ## @BGMAC_CHIPCTL_1_IF_TYPE_MII
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"et_swtype"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to parse et_swtype (%s)\n"

	.comm	_BGMAC_FEAT_SW_TYPE_EPHYRMII,4,2 ## @BGMAC_FEAT_SW_TYPE_EPHYRMII
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_RMII,4,2 ## @BGMAC_CHIPCTL_1_IF_TYPE_RMII
	.comm	_BGMAC_CHIPCTL_1_SW_TYPE_EPHYRMII,4,2 ## @BGMAC_CHIPCTL_1_SW_TYPE_EPHYRMII
	.comm	_BGMAC_FEAT_SW_TYPE_RGMII,4,2   ## @BGMAC_FEAT_SW_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_RGMII,4,2 ## @BGMAC_CHIPCTL_1_IF_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_1_SW_TYPE_RGMII,4,2 ## @BGMAC_CHIPCTL_1_SW_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_MASK,4,2 ## @BGMAC_CHIPCTL_1_IF_TYPE_MASK
	.comm	_BG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## @BGMAC_CMDCFG_TE
	.comm	_BGMAC_CMDCFG_RE,4,2            ## @BGMAC_CMDCFG_RE
	.comm	_BGMAC_CMDCFG_RPI,4,2           ## @BGMAC_CMDCFG_RPI
	.comm	_BGMAC_CMDCFG_TAI,4,2           ## @BGMAC_CMDCFG_TAI
	.comm	_BGMAC_CMDCFG_HD,4,2            ## @BGMAC_CMDCFG_HD
	.comm	_BGMAC_CMDCFG_CFE,4,2           ## @BGMAC_CMDCFG_CFE
	.comm	_BGMAC_CMDCFG_RL,4,2            ## @BGMAC_CMDCFG_RL
	.comm	_BGMAC_CMDCFG_RED,4,2           ## @BGMAC_CMDCFG_RED
	.comm	_BGMAC_CMDCFG_PE,4,2            ## @BGMAC_CMDCFG_PE
	.comm	_BGMAC_CMDCFG_TPI,4,2           ## @BGMAC_CMDCFG_TPI
	.comm	_BGMAC_CMDCFG_PAD_EN,4,2        ## @BGMAC_CMDCFG_PAD_EN
	.comm	_BGMAC_CMDCFG_PF,4,2            ## @BGMAC_CMDCFG_PF
	.comm	_BGMAC_CMDCFG_PROM,4,2          ## @BGMAC_CMDCFG_PROM
	.comm	_BGMAC_CMDCFG_NLC,4,2           ## @BGMAC_CMDCFG_NLC
	.comm	_SPEED_UNKNOWN,4,2              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ## @DUPLEX_UNKNOWN
	.comm	_BGMAC_FEAT_CMN_PHY_CTL,4,2     ## @BGMAC_FEAT_CMN_PHY_CTL
	.comm	_BCMA_GMAC_CMN_PHY_CTL,4,2      ## @BCMA_GMAC_CMN_PHY_CTL
	.comm	_BCMA_GMAC_CMN_PC_MTE,4,2       ## @BCMA_GMAC_CMN_PC_MTE
	.comm	_BGMAC_PHY_CNTL,4,2             ## @BGMAC_PHY_CNTL
	.comm	_BGMAC_PC_MTE,4,2               ## @BGMAC_PC_MTE
	.no_dead_strip	_bgmac_chip_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bgmac_chip_reset
_bgmac_chip_reset:                      ; @bgmac_chip_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_bgmac_clk_enabled
Lloh0:
	adrp	x20, _BGMAC_CMDCFG_ML@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BGMAC_CMDCFG_ML@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
Lloh2:
	adrp	x21, _BGMAC_MAX_TX_RINGS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BGMAC_MAX_TX_RINGS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x1, x8, x22
	mov	x0, x19
	bl	_bgmac_dma_tx_reset
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #-1
	mov	w3, #0
	bl	_bgmac_cmdcfg_maskset
	mov	w0, #1
	bl	_udelay
Lloh4:
	adrp	x21, _BGMAC_MAX_RX_RINGS@GOTPAGE
Lloh5:
	ldr	x21, [x21, _BGMAC_MAX_RX_RINGS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x22, #0
	mov	x23, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x1, x8, x22
	mov	x0, x19
	bl	_bgmac_dma_rx_reset
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_8
LBB0_9:
	ldr	w8, [x19, #4]
Lloh6:
	adrp	x9, _BGMAC_FEAT_IDM_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BGMAC_FEAT_IDM_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_bgmac_chip_reset_idm_config
	ldr	w8, [x19, #4]
LBB0_11:
Lloh9:
	adrp	x9, _BGMAC_FEAT_MISC_PLL_REQ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BGMAC_FEAT_MISC_PLL_REQ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh12:
	adrp	x21, _BCMA_CLKCTLST@GOTPAGE
Lloh13:
	ldr	x21, [x21, _BCMA_CLKCTLST@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh14:
	adrp	x8, _BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bgmac_set
	ldr	w1, [x21]
Lloh17:
	adrp	x8, _BGMAC_BCMA_CLKCTLST_MISC_PLL_ST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BGMAC_BCMA_CLKCTLST_MISC_PLL_ST@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	mov	w4, #1000
	bl	_bgmac_wait_value
	ldr	w8, [x19, #4]
LBB0_13:
Lloh20:
	adrp	x9, _BGMAC_FEAT_SW_TYPE_PHY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BGMAC_FEAT_SW_TYPE_PHY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.14:
	str	wzr, [sp, #12]
Lloh23:
	adrp	x8, _BGMAC_CHIPCTL_1_SW_TYPE_EPHY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BGMAC_CHIPCTL_1_SW_TYPE_EPHY@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
Lloh26:
	adrp	x8, _BGMAC_CHIPCTL_1_IF_TYPE_MII@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BGMAC_CHIPCTL_1_IF_TYPE_MII@GOTPAGEOFF]
Lloh28:
	ldr	w22, [x8]
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	mov	w2, #4
	bl	_bcm47xx_nvram_getenv
	cmp	x0, #1
	b.lt	LBB0_23
; %bb.15:
	add	x0, sp, #8
	add	x2, sp, #12
	mov	w1, #0
	bl	_kstrtou8
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w0, [x19, #32]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_dev_err
LBB0_17:
	ldr	w8, [sp, #12]
	ubfiz	w3, w8, #4, #4
	str	w3, [sp, #12]
	b	LBB0_32
LBB0_18:
Lloh33:
	adrp	x9, _BGMAC_FEAT_CC4_IF_SW_TYPE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BGMAC_FEAT_CC4_IF_SW_TYPE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.19:
Lloh36:
	adrp	x8, _BGMAC_CHIPCTL_4_IF_TYPE_MII@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BGMAC_CHIPCTL_4_IF_TYPE_MII@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
Lloh39:
	adrp	x8, _BGMAC_CHIPCTL_4_SW_TYPE_EPHY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _BGMAC_CHIPCTL_4_SW_TYPE_EPHY@GOTPAGEOFF]
Lloh41:
	ldr	w22, [x8]
	str	wzr, [sp, #12]
Lloh42:
	adrp	x0, l_.str@PAGE
Lloh43:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	mov	w2, #4
	bl	_bcm47xx_nvram_getenv
	cmp	x0, #1
	b.lt	LBB0_27
; %bb.20:
	add	x0, sp, #8
	add	x2, sp, #12
	mov	w1, #0
	bl	_kstrtou8
	cbz	x0, LBB0_22
; %bb.21:
	ldr	w0, [x19, #32]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_dev_err
LBB0_22:
	ldr	w8, [sp, #12]
	ubfiz	w3, w8, #12, #4
	b	LBB0_34
LBB0_23:
	ldr	w8, [x19, #4]
Lloh46:
	adrp	x9, _BGMAC_FEAT_SW_TYPE_EPHYRMII@GOTPAGE
Lloh47:
	ldr	x9, [x9, _BGMAC_FEAT_SW_TYPE_EPHYRMII@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.24:
Lloh49:
	adrp	x8, _BGMAC_CHIPCTL_1_IF_TYPE_RMII@GOTPAGE
Lloh50:
	ldr	x8, [x8, _BGMAC_CHIPCTL_1_IF_TYPE_RMII@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, _BGMAC_CHIPCTL_1_SW_TYPE_EPHYRM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, _BGMAC_CHIPCTL_4_SW_TYPE_MASK@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mvn	w2, w8
	mov	x0, x19
	mov	w1, #4
LBB0_35:
	bl	_bgmac_cco_ctl_maskset
LBB0_36:
	ldr	w8, [x19, #4]
Lloh92:
	adrp	x9, _BGMAC_FEAT_CMDCFG_SR_REV4@GOTPAGE
Lloh93:
	ldr	x9, [x9, _BGMAC_FEAT_CMDCFG_SR_REV4@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
Lloh95:
	adrp	x10, _BGMAC_CMDCFG_SR_REV0@GOTPAGE
Lloh96:
	ldr	x10, [x10, _BGMAC_CMDCFG_SR_REV0@GOTPAGEOFF]
Lloh97:
	adrp	x11, _BGMAC_CMDCFG_SR_REV4@GOTPAGE
Lloh98:
	ldr	x11, [x11, _BGMAC_CMDCFG_SR_REV4@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
Lloh99:
	adrp	x9, _BGMAC_CMDCFG_TE@GOTPAGE
Lloh100:
	ldr	x9, [x9, _BGMAC_CMDCFG_TE@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
Lloh102:
	adrp	x10, _BGMAC_CMDCFG_RE@GOTPAGE
Lloh103:
	ldr	x10, [x10, _BGMAC_CMDCFG_RE@GOTPAGEOFF]
Lloh104:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh105:
	adrp	x10, _BGMAC_CMDCFG_RPI@GOTPAGE
Lloh106:
	ldr	x10, [x10, _BGMAC_CMDCFG_RPI@GOTPAGEOFF]
Lloh107:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh108:
	adrp	x10, _BGMAC_CMDCFG_TAI@GOTPAGE
Lloh109:
	ldr	x10, [x10, _BGMAC_CMDCFG_TAI@GOTPAGEOFF]
Lloh110:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh111:
	adrp	x10, _BGMAC_CMDCFG_HD@GOTPAGE
Lloh112:
	ldr	x10, [x10, _BGMAC_CMDCFG_HD@GOTPAGEOFF]
Lloh113:
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldr	w10, [x20]
	orr	w9, w9, w10
Lloh114:
	adrp	x10, _BGMAC_CMDCFG_CFE@GOTPAGE
Lloh115:
	ldr	x10, [x10, _BGMAC_CMDCFG_CFE@GOTPAGEOFF]
Lloh116:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh117:
	adrp	x11, _BGMAC_CMDCFG_RL@GOTPAGE
Lloh118:
	ldr	x11, [x11, _BGMAC_CMDCFG_RL@GOTPAGEOFF]
Lloh119:
	ldr	w11, [x11]
	orr	w9, w9, w11
Lloh120:
	adrp	x11, _BGMAC_CMDCFG_RED@GOTPAGE
Lloh121:
	ldr	x11, [x11, _BGMAC_CMDCFG_RED@GOTPAGEOFF]
Lloh122:
	ldr	w11, [x11]
	orr	w9, w9, w11
Lloh123:
	adrp	x11, _BGMAC_CMDCFG_PE@GOTPAGE
Lloh124:
	ldr	x11, [x11, _BGMAC_CMDCFG_PE@GOTPAGEOFF]
Lloh125:
	ldr	w11, [x11]
	orr	w9, w9, w11
Lloh126:
	adrp	x11, _BGMAC_CMDCFG_TPI@GOTPAGE
Lloh127:
	ldr	x11, [x11, _BGMAC_CMDCFG_TPI@GOTPAGEOFF]
Lloh128:
	ldr	w11, [x11]
	orr	w9, w9, w11
Lloh129:
	adrp	x11, _BGMAC_CMDCFG_PAD_EN@GOTPAGE
Lloh130:
	ldr	x11, [x11, _BGMAC_CMDCFG_PAD_EN@GOTPAGEOFF]
Lloh131:
	ldr	w11, [x11]
	orr	w9, w9, w11
Lloh132:
	adrp	x11, _BGMAC_CMDCFG_PF@GOTPAGE
Lloh133:
	ldr	x11, [x11, _BGMAC_CMDCFG_PF@GOTPAGEOFF]
Lloh134:
	ldr	w11, [x11]
	orr	w9, w9, w11
	mvn	w1, w9
Lloh135:
	adrp	x9, _BGMAC_CMDCFG_PROM@GOTPAGE
Lloh136:
	ldr	x9, [x9, _BGMAC_CMDCFG_PROM@GOTPAGEOFF]
Lloh137:
	ldr	w9, [x9]
Lloh138:
	adrp	x11, _BGMAC_CMDCFG_NLC@GOTPAGE
Lloh139:
	ldr	x11, [x11, _BGMAC_CMDCFG_NLC@GOTPAGEOFF]
Lloh140:
	ldr	w11, [x11]
	orr	w8, w10, w8
	orr	w8, w8, w9
	orr	w2, w8, w11
	mov	x0, x19
	mov	w3, #0
	bl	_bgmac_cmdcfg_maskset
Lloh141:
	adrp	x8, _SPEED_UNKNOWN@GOTPAGE
Lloh142:
	ldr	x8, [x8, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh143:
	ldr	w8, [x8]
Lloh144:
	adrp	x9, _DUPLEX_UNKNOWN@GOTPAGE
Lloh145:
	ldr	x9, [x9, _DUPLEX_UNKNOWN@GOTPAGEOFF]
Lloh146:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	mov	x0, x19
	bl	_bgmac_clear_mib
	ldr	w8, [x19, #4]
Lloh147:
	adrp	x9, _BGMAC_FEAT_CMN_PHY_CTL@GOTPAGE
Lloh148:
	ldr	x9, [x9, _BGMAC_FEAT_CMN_PHY_CTL@GOTPAGEOFF]
Lloh149:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.37:
Lloh150:
	adrp	x8, _BCMA_GMAC_CMN_PHY_CTL@GOTPAGE
Lloh151:
	ldr	x8, [x8, _BCMA_GMAC_CMN_PHY_CTL@GOTPAGEOFF]
Lloh152:
	ldr	w1, [x8]
Lloh153:
	adrp	x8, _BCMA_GMAC_CMN_PC_MTE@GOTPAGE
Lloh154:
	ldr	x8, [x8, _BCMA_GMAC_CMN_PC_MTE@GOTPAGEOFF]
Lloh155:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_bgmac_cmn_maskset32
	b	LBB0_39
LBB0_38:
Lloh156:
	adrp	x8, _BGMAC_PHY_CNTL@GOTPAGE
Lloh157:
	ldr	x8, [x8, _BGMAC_PHY_CNTL@GOTPAGEOFF]
Lloh158:
	ldr	w1, [x8]
Lloh159:
	adrp	x8, _BGMAC_PC_MTE@GOTPAGE
Lloh160:
	ldr	x8, [x8, _BGMAC_PC_MTE@GOTPAGEOFF]
Lloh161:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bgmac_set
LBB0_39:
	mov	x0, x19
	bl	_bgmac_miiconfig
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_41
; %bb.40:
	ldr	x8, [x0]
	blr	x8
LBB0_41:
	ldr	w0, [x19, #8]
	bl	_netdev_reset_queue
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_42:
	orr	w3, w22, w21
	b	LBB0_32
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.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 AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.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 AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.cfi_endproc
                                        ; -- End function
	.comm	_BGMAC_MAX_TX_RINGS,4,2         ; @BGMAC_MAX_TX_RINGS
	.comm	_BGMAC_CMDCFG_ML,4,2            ; @BGMAC_CMDCFG_ML
	.comm	_BGMAC_MAX_RX_RINGS,4,2         ; @BGMAC_MAX_RX_RINGS
	.comm	_BGMAC_FEAT_IDM_MASK,4,2        ; @BGMAC_FEAT_IDM_MASK
	.comm	_BGMAC_FEAT_MISC_PLL_REQ,4,2    ; @BGMAC_FEAT_MISC_PLL_REQ
	.comm	_BCMA_CLKCTLST,4,2              ; @BCMA_CLKCTLST
	.comm	_BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ,4,2 ; @BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ
	.comm	_BGMAC_BCMA_CLKCTLST_MISC_PLL_ST,4,2 ; @BGMAC_BCMA_CLKCTLST_MISC_PLL_ST
	.comm	_BGMAC_FEAT_SW_TYPE_PHY,4,2     ; @BGMAC_FEAT_SW_TYPE_PHY
	.comm	_BGMAC_CHIPCTL_1_SW_TYPE_EPHY,4,2 ; @BGMAC_CHIPCTL_1_SW_TYPE_EPHY
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_MII,4,2 ; @BGMAC_CHIPCTL_1_IF_TYPE_MII
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"et_swtype"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to parse et_swtype (%s)\n"

	.comm	_BGMAC_FEAT_SW_TYPE_EPHYRMII,4,2 ; @BGMAC_FEAT_SW_TYPE_EPHYRMII
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_RMII,4,2 ; @BGMAC_CHIPCTL_1_IF_TYPE_RMII
	.comm	_BGMAC_CHIPCTL_1_SW_TYPE_EPHYRMII,4,2 ; @BGMAC_CHIPCTL_1_SW_TYPE_EPHYRMII
	.comm	_BGMAC_FEAT_SW_TYPE_RGMII,4,2   ; @BGMAC_FEAT_SW_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_RGMII,4,2 ; @BGMAC_CHIPCTL_1_IF_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_1_SW_TYPE_RGMII,4,2 ; @BGMAC_CHIPCTL_1_SW_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_1_IF_TYPE_MASK,4,2 ; @BGMAC_CHIPCTL_1_IF_TYPE_MASK
	.comm	_BGMAC_CHIPCTL_1_SW_TYPE_MASK,4,2 ; @BGMAC_CHIPCTL_1_SW_TYPE_MASK
	.comm	_BGMAC_FEAT_CC4_IF_SW_TYPE,4,2  ; @BGMAC_FEAT_CC4_IF_SW_TYPE
	.comm	_BGMAC_CHIPCTL_4_IF_TYPE_MII,4,2 ; @BGMAC_CHIPCTL_4_IF_TYPE_MII
	.comm	_BGMAC_CHIPCTL_4_SW_TYPE_EPHY,4,2 ; @BGMAC_CHIPCTL_4_SW_TYPE_EPHY
	.comm	_BGMAC_FEAT_CC4_IF_SW_TYPE_RGMII,4,2 ; @BGMAC_FEAT_CC4_IF_SW_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_4_IF_TYPE_RGMII,4,2 ; @BGMAC_CHIPCTL_4_IF_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_4_SW_TYPE_RGMII,4,2 ; @BGMAC_CHIPCTL_4_SW_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_4_IF_TYPE_MASK,4,2 ; @BGMAC_CHIPCTL_4_IF_TYPE_MASK
	.comm	_BGMAC_CHIPCTL_4_SW_TYPE_MASK,4,2 ; @BGMAC_CHIPCTL_4_SW_TYPE_MASK
	.comm	_BGMAC_FEAT_CC7_IF_TYPE_RGMII,4,2 ; @BGMAC_FEAT_CC7_IF_TYPE_RGMII
	.comm	_BGMAC_CHIPCTL_7_IF_TYPE_MASK,4,2 ; @BGMAC_CHIPCTL_7_IF_TYPE_MASK
	.comm	_BGMAC_CHIPCTL_7_IF_TYPE_RGMII,4,2 ; @BGMAC_CHIPCTL_7_IF_TYPE_RGMII
	.comm	_BGMAC_FEAT_CMDCFG_SR_REV4,4,2  ; @BGMAC_FEAT_CMDCFG_SR_REV4
	.comm	_BGMAC_CMDCFG_SR_REV4,4,2       ; @BGMAC_CMDCFG_SR_REV4
	.comm	_BGMAC_CMDCFG_SR_REV0,4,2       ; @BGMAC_CMDCFG_SR_REV0
	.comm	_BGMAC_CMDCFG_TE,4,2            ; @BGMAC_CMDCFG_TE
	.comm	_BGMAC_CMDCFG_RE,4,2            ; @BGMAC_CMDCFG_RE
	.comm	_BGMAC_CMDCFG_RPI,4,2           ; @BGMAC_CMDCFG_RPI
	.comm	_BGMAC_CMDCFG_TAI,4,2           ; @BGMAC_CMDCFG_TAI
	.comm	_BGMAC_CMDCFG_HD,4,2            ; @BGMAC_CMDCFG_HD
	.comm	_BGMAC_CMDCFG_CFE,4,2           ; @BGMAC_CMDCFG_CFE
	.comm	_BGMAC_CMDCFG_RL,4,2            ; @BGMAC_CMDCFG_RL
	.comm	_BGMAC_CMDCFG_RED,4,2           ; @BGMAC_CMDCFG_RED
	.comm	_BGMAC_CMDCFG_PE,4,2            ; @BGMAC_CMDCFG_PE
	.comm	_BGMAC_CMDCFG_TPI,4,2           ; @BGMAC_CMDCFG_TPI
	.comm	_BGMAC_CMDCFG_PAD_EN,4,2        ; @BGMAC_CMDCFG_PAD_EN
	.comm	_BGMAC_CMDCFG_PF,4,2            ; @BGMAC_CMDCFG_PF
	.comm	_BGMAC_CMDCFG_PROM,4,2          ; @BGMAC_CMDCFG_PROM
	.comm	_BGMAC_CMDCFG_NLC,4,2           ; @BGMAC_CMDCFG_NLC
	.comm	_SPEED_UNKNOWN,4,2              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ; @DUPLEX_UNKNOWN
	.comm	_BGMAC_FEAT_CMN_PHY_CTL,4,2     ; @BGMAC_FEAT_CMN_PHY_CTL
	.comm	_BCMA_GMAC_CMN_PHY_CTL,4,2      ; @BCMA_GMAC_CMN_PHY_CTL
	.comm	_BCMA_GMAC_CMN_PC_MTE,4,2       ; @BCMA_GMAC_CMN_PC_MTE
	.comm	_BGMAC_PHY_CNTL,4,2             ; @BGMAC_PHY_CNTL
	.comm	_BGMAC_PC_MTE,4,2               ; @BGMAC_PC_MTE
	.no_dead_strip	_bgmac_chip_reset
.subsections_via_symbols
