	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_mdio_config_5785
_tg3_mdio_config_5785:                  ## @tg3_mdio_config_5785
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	callq	_mdiobus_get_phy
	movq	8(%rax), %rdx
	movl	4(%rdx), %ecx
	andl	(%rdx), %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_16
## %bb.1:
	movslq	%ecx, %rcx
	leaq	l_switch.table.tg3_mdio_config_5785(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movl	(%rcx), %ebx
	movq	(%rax), %rax
	movq	_PHY_INTERFACE_MODE_RGMII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_RGMII_INBAND_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_MAC_PHYCFG2_EMODE_MASK_MASK@GOTPCREL(%rip), %rax
	movq	_MAC_PHYCFG2_FMODE_MASK_MASK@GOTPCREL(%rip), %rcx
	movq	_MAC_PHYCFG2_GMODE_MASK_MASK@GOTPCREL(%rip), %rdx
	movq	_MAC_PHYCFG2_ACT_MASK_MASK@GOTPCREL(%rip), %rsi
	movq	_MAC_PHYCFG2_QUAL_MASK_MASK@GOTPCREL(%rip), %rdi
	movq	_MAC_PHYCFG2_INBAND_ENABLE@GOTPCREL(%rip), %r8
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	orl	(%rsi), %ebx
	orl	(%rdi), %ebx
	orl	(%r8), %ebx
LBB0_5:
	movq	_MAC_PHYCFG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_tw32
	movq	_MAC_PHYCFG1@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_tr32
	movq	_MAC_PHYCFG1_RXCLK_TO_MASK@GOTPCREL(%rip), %rcx
	movq	_MAC_PHYCFG1_TXCLK_TO_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movq	_MAC_PHYCFG1_RGMII_EXT_RX_DEC@GOTPCREL(%rip), %r13
	orl	(%r13), %ebx
	movq	_MAC_PHYCFG1_RGMII_SND_STAT_EN@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_RGMII_INBAND_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movq	_RGMII_EXT_IBND_RX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r13), %ecx
LBB0_8:
	orl	%ecx, %ebx
	movq	_RGMII_EXT_IBND_TX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	orl	(%r15), %ebx
LBB0_10:
	movq	_MAC_PHYCFG1_RXCLK_TIMEOUT@GOTPCREL(%rip), %rax
	movq	_MAC_PHYCFG1_TXCLK_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	_MAC_PHYCFG1_RGMII_INT@GOTPCREL(%rip), %rdx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	movq	_MAC_PHYCFG1_TXC_DRV@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_tw32
	movq	_MAC_EXT_RGMII_MODE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_tr32
	movq	_MAC_RGMII_MODE_RX_INT_B@GOTPCREL(%rip), %rcx
	movq	_MAC_RGMII_MODE_RX_QUALITY@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	orl	(%rcx), %ebx
	movq	_MAC_RGMII_MODE_RX_ACTIVITY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MAC_RGMII_MODE_RX_ENG_DET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MAC_RGMII_MODE_TX_ENABLE@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	movq	_MAC_RGMII_MODE_TX_LOWPWR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MAC_RGMII_MODE_TX_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_RGMII_INBAND_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	jne	LBB0_15
## %bb.11:
	movq	_RGMII_EXT_IBND_RX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_MAC_RGMII_MODE_RX_INT_B@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r13), %ebx
	movq	_MAC_RGMII_MODE_RX_ACTIVITY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MAC_RGMII_MODE_RX_ENG_DET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_13:
	movq	_MAC_RGMII_MODE_TX_LOWPWR@GOTPCREL(%rip), %r13
	movq	_RGMII_EXT_IBND_TX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	orl	(%r15), %ebx
	orl	(%r13), %ebx
	movq	_MAC_RGMII_MODE_TX_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_15
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_MAC_PHYCFG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_tw32
	movq	_MAC_PHYCFG1@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_tr32
	movq	_MAC_PHYCFG1_RGMII_INT@GOTPCREL(%rip), %rcx
	movq	_MAC_PHYCFG1_RXCLK_TO_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MAC_PHYCFG1_TXCLK_TO_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_MAC_PHYCFG1_RXCLK_TIMEOUT@GOTPCREL(%rip), %rax
	movq	_MAC_PHYCFG1_TXCLK_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	orl	%edx, %ebx
LBB0_15:
	movl	(%r12), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tw32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_PHYCFG2_50610_LED_MODES,4,2 ## @MAC_PHYCFG2_50610_LED_MODES
	.comm	_MAC_PHYCFG2_AC131_LED_MODES,4,2 ## @MAC_PHYCFG2_AC131_LED_MODES
	.comm	_MAC_PHYCFG2_RTL8211C_LED_MODES,4,2 ## @MAC_PHYCFG2_RTL8211C_LED_MODES
	.comm	_MAC_PHYCFG2_RTL8201E_LED_MODES,4,2 ## @MAC_PHYCFG2_RTL8201E_LED_MODES
	.comm	_PHY_INTERFACE_MODE_RGMII,8,3   ## @PHY_INTERFACE_MODE_RGMII
	.comm	_MAC_PHYCFG2,4,2                ## @MAC_PHYCFG2
	.comm	_MAC_PHYCFG1,4,2                ## @MAC_PHYCFG1
	.comm	_MAC_PHYCFG1_RGMII_INT,4,2      ## @MAC_PHYCFG1_RGMII_INT
	.comm	_MAC_PHYCFG1_RXCLK_TO_MASK,4,2  ## @MAC_PHYCFG1_RXCLK_TO_MASK
	.comm	_MAC_PHYCFG1_TXCLK_TO_MASK,4,2  ## @MAC_PHYCFG1_TXCLK_TO_MASK
	.comm	_MAC_PHYCFG1_RXCLK_TIMEOUT,4,2  ## @MAC_PHYCFG1_RXCLK_TIMEOUT
	.comm	_MAC_PHYCFG1_TXCLK_TIMEOUT,4,2  ## @MAC_PHYCFG1_TXCLK_TIMEOUT
	.comm	_RGMII_INBAND_DISABLE,4,2       ## @RGMII_INBAND_DISABLE
	.comm	_MAC_PHYCFG2_EMODE_MASK_MASK,4,2 ## @MAC_PHYCFG2_EMODE_MASK_MASK
	.comm	_MAC_PHYCFG2_FMODE_MASK_MASK,4,2 ## @MAC_PHYCFG2_FMODE_MASK_MASK
	.comm	_MAC_PHYCFG2_GMODE_MASK_MASK,4,2 ## @MAC_PHYCFG2_GMODE_MASK_MASK
	.comm	_MAC_PHYCFG2_ACT_MASK_MASK,4,2  ## @MAC_PHYCFG2_ACT_MASK_MASK
	.comm	_MAC_PHYCFG2_QUAL_MASK_MASK,4,2 ## @MAC_PHYCFG2_QUAL_MASK_MASK
	.comm	_MAC_PHYCFG2_INBAND_ENABLE,4,2  ## @MAC_PHYCFG2_INBAND_ENABLE
	.comm	_MAC_PHYCFG1_RGMII_EXT_RX_DEC,4,2 ## @MAC_PHYCFG1_RGMII_EXT_RX_DEC
	.comm	_MAC_PHYCFG1_RGMII_SND_STAT_EN,4,2 ## @MAC_PHYCFG1_RGMII_SND_STAT_EN
	.comm	_RGMII_EXT_IBND_RX_EN,4,2       ## @RGMII_EXT_IBND_RX_EN
	.comm	_RGMII_EXT_IBND_TX_EN,4,2       ## @RGMII_EXT_IBND_TX_EN
	.comm	_MAC_PHYCFG1_TXC_DRV,4,2        ## @MAC_PHYCFG1_TXC_DRV
	.comm	_MAC_EXT_RGMII_MODE,4,2         ## @MAC_EXT_RGMII_MODE
	.comm	_MAC_RGMII_MODE_RX_INT_B,4,2    ## @MAC_RGMII_MODE_RX_INT_B
	.comm	_MAC_RGMII_MODE_RX_QUALITY,4,2  ## @MAC_RGMII_MODE_RX_QUALITY
	.comm	_MAC_RGMII_MODE_RX_ACTIVITY,4,2 ## @MAC_RGMII_MODE_RX_ACTIVITY
	.comm	_MAC_RGMII_MODE_RX_ENG_DET,4,2  ## @MAC_RGMII_MODE_RX_ENG_DET
	.comm	_MAC_RGMII_MODE_TX_ENABLE,4,2   ## @MAC_RGMII_MODE_TX_ENABLE
	.comm	_MAC_RGMII_MODE_TX_LOWPWR,4,2   ## @MAC_RGMII_MODE_TX_LOWPWR
	.comm	_MAC_RGMII_MODE_TX_RESET,4,2    ## @MAC_RGMII_MODE_TX_RESET
	.no_dead_strip	_tg3_mdio_config_5785
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.tg3_mdio_config_5785
l_switch.table.tg3_mdio_config_5785:
	.quad	_MAC_PHYCFG2_RTL8211C_LED_MODES
	.quad	_MAC_PHYCFG2_RTL8201E_LED_MODES
	.quad	_MAC_PHYCFG2_AC131_LED_MODES
	.quad	_MAC_PHYCFG2_50610_LED_MODES
	.quad	_MAC_PHYCFG2_50610_LED_MODES

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_mdio_config_5785
_tg3_mdio_config_5785:                  ; @tg3_mdio_config_5785
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x19]
	bl	_mdiobus_get_phy
	ldr	x8, [x0, #8]
	ldp	w9, w8, [x8]
	and	w8, w8, w9
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_13
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.tg3_mdio_config_5785@PAGE
Lloh1:
	add	x9, x9, l_switch.table.tg3_mdio_config_5785@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w20, [x8]
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _PHY_INTERFACE_MODE_RGMII@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_RGMII@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.2:
Lloh5:
	adrp	x24, _RGMII_INBAND_DISABLE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RGMII_INBAND_DISABLE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_tg3_flag
	cbnz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _MAC_PHYCFG2_EMODE_MASK_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAC_PHYCFG2_EMODE_MASK_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _MAC_PHYCFG2_FMODE_MASK_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MAC_PHYCFG2_FMODE_MASK_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _MAC_PHYCFG2_GMODE_MASK_MASK@GOTPAGE
Lloh14:
	ldr	x10, [x10, _MAC_PHYCFG2_GMODE_MASK_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	adrp	x11, _MAC_PHYCFG2_ACT_MASK_MASK@GOTPAGE
Lloh17:
	ldr	x11, [x11, _MAC_PHYCFG2_ACT_MASK_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
Lloh19:
	adrp	x12, _MAC_PHYCFG2_QUAL_MASK_MASK@GOTPAGE
Lloh20:
	ldr	x12, [x12, _MAC_PHYCFG2_QUAL_MASK_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
Lloh22:
	adrp	x13, _MAC_PHYCFG2_INBAND_ENABLE@GOTPAGE
Lloh23:
	ldr	x13, [x13, _MAC_PHYCFG2_INBAND_ENABLE@GOTPAGEOFF]
Lloh24:
	ldr	w13, [x13]
	orr	w8, w8, w20
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w20, w8, w13
LBB0_4:
Lloh25:
	adrp	x8, _MAC_PHYCFG2@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAC_PHYCFG2@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_tw32
Lloh28:
	adrp	x20, _MAC_PHYCFG1@GOTPAGE
Lloh29:
	ldr	x20, [x20, _MAC_PHYCFG1@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_tr32
Lloh30:
	adrp	x8, _MAC_PHYCFG1_RXCLK_TO_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MAC_PHYCFG1_RXCLK_TO_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _MAC_PHYCFG1_TXCLK_TO_MASK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MAC_PHYCFG1_TXCLK_TO_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x21, _MAC_PHYCFG1_RGMII_EXT_RX_DEC@GOTPAGE
Lloh37:
	ldr	x21, [x21, _MAC_PHYCFG1_RGMII_EXT_RX_DEC@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w8, w9
Lloh38:
	adrp	x23, _MAC_PHYCFG1_RGMII_SND_STAT_EN@GOTPAGE
Lloh39:
	ldr	x23, [x23, _MAC_PHYCFG1_RGMII_SND_STAT_EN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
	bic	w22, w0, w8
	ldr	w1, [x24]
	mov	x0, x19
	bl	_tg3_flag
	cbnz	x0, LBB0_7
; %bb.5:
Lloh40:
	adrp	x8, _RGMII_EXT_IBND_RX_EN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RGMII_EXT_IBND_RX_EN@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag
	ldr	w8, [x21]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w8, w22
Lloh43:
	adrp	x8, _RGMII_EXT_IBND_TX_EN@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RGMII_EXT_IBND_TX_EN@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x23]
	orr	w22, w8, w22
LBB0_7:
Lloh46:
	adrp	x8, _MAC_PHYCFG1_RXCLK_TIMEOUT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MAC_PHYCFG1_RXCLK_TIMEOUT@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _MAC_PHYCFG1_TXCLK_TIMEOUT@GOTPAGE
Lloh50:
	ldr	x9, [x9, _MAC_PHYCFG1_TXCLK_TIMEOUT@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
Lloh52:
	adrp	x10, _MAC_PHYCFG1_RGMII_INT@GOTPAGE
Lloh53:
	ldr	x10, [x10, _MAC_PHYCFG1_RGMII_INT@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
Lloh55:
	adrp	x11, _MAC_PHYCFG1_TXC_DRV@GOTPAGE
Lloh56:
	ldr	x11, [x11, _MAC_PHYCFG1_TXC_DRV@GOTPAGEOFF]
Lloh57:
	ldr	w11, [x11]
	orr	w8, w8, w22
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w1, w8, w11
	ldr	w0, [x20]
	bl	_tw32
Lloh58:
	adrp	x22, _MAC_EXT_RGMII_MODE@GOTPAGE
Lloh59:
	ldr	x22, [x22, _MAC_EXT_RGMII_MODE@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_tr32
Lloh60:
	adrp	x26, _MAC_RGMII_MODE_RX_INT_B@GOTPAGE
Lloh61:
	ldr	x26, [x26, _MAC_RGMII_MODE_RX_INT_B@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh62:
	adrp	x27, _MAC_RGMII_MODE_RX_QUALITY@GOTPAGE
Lloh63:
	ldr	x27, [x27, _MAC_RGMII_MODE_RX_QUALITY@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w8, w9, w8
Lloh64:
	adrp	x28, _MAC_RGMII_MODE_RX_ACTIVITY@GOTPAGE
Lloh65:
	ldr	x28, [x28, _MAC_RGMII_MODE_RX_ACTIVITY@GOTPAGEOFF]
	ldr	w9, [x28]
	orr	w8, w8, w9
Lloh66:
	adrp	x21, _MAC_RGMII_MODE_RX_ENG_DET@GOTPAGE
Lloh67:
	ldr	x21, [x21, _MAC_RGMII_MODE_RX_ENG_DET@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w8, w9
Lloh68:
	adrp	x23, _MAC_RGMII_MODE_TX_ENABLE@GOTPAGE
Lloh69:
	ldr	x23, [x23, _MAC_RGMII_MODE_TX_ENABLE@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
Lloh70:
	adrp	x25, _MAC_RGMII_MODE_TX_LOWPWR@GOTPAGE
Lloh71:
	ldr	x25, [x25, _MAC_RGMII_MODE_TX_LOWPWR@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w8, w9
Lloh72:
	adrp	x9, _MAC_RGMII_MODE_TX_RESET@GOTPAGE
Lloh73:
	ldr	x9, [x9, _MAC_RGMII_MODE_TX_RESET@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w20, w0, w8
	ldr	w1, [x24]
	mov	x0, x19
	bl	_tg3_flag
	cbnz	x0, LBB0_15
; %bb.8:
Lloh75:
	adrp	x8, _RGMII_EXT_IBND_RX_EN@GOTPAGE
Lloh76:
	ldr	x8, [x8, _RGMII_EXT_IBND_RX_EN@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x26]
	ldr	w9, [x27]
	ldr	w10, [x28]
	ldr	w11, [x21]
	orr	w8, w8, w20
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w20, w8, w11
LBB0_10:
Lloh78:
	adrp	x8, _RGMII_EXT_IBND_TX_EN@GOTPAGE
Lloh79:
	ldr	x8, [x8, _RGMII_EXT_IBND_TX_EN@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag
Lloh81:
	adrp	x10, _MAC_RGMII_MODE_TX_RESET@GOTPAGE
Lloh82:
	ldr	x10, [x10, _MAC_RGMII_MODE_TX_RESET@GOTPAGEOFF]
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x23]
	ldr	w9, [x25]
	ldr	w10, [x10]
	orr	w8, w8, w20
	orr	w8, w8, w9
	orr	w20, w8, w10
LBB0_12:
Lloh83:
	adrp	x22, _MAC_EXT_RGMII_MODE@GOTPAGE
Lloh84:
	ldr	x22, [x22, _MAC_EXT_RGMII_MODE@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh85:
	adrp	x8, _MAC_PHYCFG2@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MAC_PHYCFG2@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_tw32
Lloh88:
	adrp	x22, _MAC_PHYCFG1@GOTPAGE
Lloh89:
	ldr	x22, [x22, _MAC_PHYCFG1@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_tr32
Lloh90:
	adrp	x8, _MAC_PHYCFG1_RGMII_INT@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MAC_PHYCFG1_RGMII_INT@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
Lloh93:
	adrp	x9, _MAC_PHYCFG1_RXCLK_TO_MASK@GOTPAGE
Lloh94:
	ldr	x9, [x9, _MAC_PHYCFG1_RXCLK_TO_MASK@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
Lloh96:
	adrp	x10, _MAC_PHYCFG1_TXCLK_TO_MASK@GOTPAGE
Lloh97:
	ldr	x10, [x10, _MAC_PHYCFG1_TXCLK_TO_MASK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh98:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w8, w0, w8
Lloh99:
	adrp	x9, _MAC_PHYCFG1_RXCLK_TIMEOUT@GOTPAGE
Lloh100:
	ldr	x9, [x9, _MAC_PHYCFG1_RXCLK_TIMEOUT@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
Lloh102:
	adrp	x10, _MAC_PHYCFG1_TXCLK_TIMEOUT@GOTPAGE
Lloh103:
	ldr	x10, [x10, _MAC_PHYCFG1_TXCLK_TIMEOUT@GOTPAGEOFF]
Lloh104:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w20, w9, w8
LBB0_15:
	ldr	w0, [x22]
	mov	x1, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_tw32
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_PHYCFG2_50610_LED_MODES,4,2 ; @MAC_PHYCFG2_50610_LED_MODES
	.comm	_MAC_PHYCFG2_AC131_LED_MODES,4,2 ; @MAC_PHYCFG2_AC131_LED_MODES
	.comm	_MAC_PHYCFG2_RTL8211C_LED_MODES,4,2 ; @MAC_PHYCFG2_RTL8211C_LED_MODES
	.comm	_MAC_PHYCFG2_RTL8201E_LED_MODES,4,2 ; @MAC_PHYCFG2_RTL8201E_LED_MODES
	.comm	_PHY_INTERFACE_MODE_RGMII,8,3   ; @PHY_INTERFACE_MODE_RGMII
	.comm	_MAC_PHYCFG2,4,2                ; @MAC_PHYCFG2
	.comm	_MAC_PHYCFG1,4,2                ; @MAC_PHYCFG1
	.comm	_MAC_PHYCFG1_RGMII_INT,4,2      ; @MAC_PHYCFG1_RGMII_INT
	.comm	_MAC_PHYCFG1_RXCLK_TO_MASK,4,2  ; @MAC_PHYCFG1_RXCLK_TO_MASK
	.comm	_MAC_PHYCFG1_TXCLK_TO_MASK,4,2  ; @MAC_PHYCFG1_TXCLK_TO_MASK
	.comm	_MAC_PHYCFG1_RXCLK_TIMEOUT,4,2  ; @MAC_PHYCFG1_RXCLK_TIMEOUT
	.comm	_MAC_PHYCFG1_TXCLK_TIMEOUT,4,2  ; @MAC_PHYCFG1_TXCLK_TIMEOUT
	.comm	_RGMII_INBAND_DISABLE,4,2       ; @RGMII_INBAND_DISABLE
	.comm	_MAC_PHYCFG2_EMODE_MASK_MASK,4,2 ; @MAC_PHYCFG2_EMODE_MASK_MASK
	.comm	_MAC_PHYCFG2_FMODE_MASK_MASK,4,2 ; @MAC_PHYCFG2_FMODE_MASK_MASK
	.comm	_MAC_PHYCFG2_GMODE_MASK_MASK,4,2 ; @MAC_PHYCFG2_GMODE_MASK_MASK
	.comm	_MAC_PHYCFG2_ACT_MASK_MASK,4,2  ; @MAC_PHYCFG2_ACT_MASK_MASK
	.comm	_MAC_PHYCFG2_QUAL_MASK_MASK,4,2 ; @MAC_PHYCFG2_QUAL_MASK_MASK
	.comm	_MAC_PHYCFG2_INBAND_ENABLE,4,2  ; @MAC_PHYCFG2_INBAND_ENABLE
	.comm	_MAC_PHYCFG1_RGMII_EXT_RX_DEC,4,2 ; @MAC_PHYCFG1_RGMII_EXT_RX_DEC
	.comm	_MAC_PHYCFG1_RGMII_SND_STAT_EN,4,2 ; @MAC_PHYCFG1_RGMII_SND_STAT_EN
	.comm	_RGMII_EXT_IBND_RX_EN,4,2       ; @RGMII_EXT_IBND_RX_EN
	.comm	_RGMII_EXT_IBND_TX_EN,4,2       ; @RGMII_EXT_IBND_TX_EN
	.comm	_MAC_PHYCFG1_TXC_DRV,4,2        ; @MAC_PHYCFG1_TXC_DRV
	.comm	_MAC_EXT_RGMII_MODE,4,2         ; @MAC_EXT_RGMII_MODE
	.comm	_MAC_RGMII_MODE_RX_INT_B,4,2    ; @MAC_RGMII_MODE_RX_INT_B
	.comm	_MAC_RGMII_MODE_RX_QUALITY,4,2  ; @MAC_RGMII_MODE_RX_QUALITY
	.comm	_MAC_RGMII_MODE_RX_ACTIVITY,4,2 ; @MAC_RGMII_MODE_RX_ACTIVITY
	.comm	_MAC_RGMII_MODE_RX_ENG_DET,4,2  ; @MAC_RGMII_MODE_RX_ENG_DET
	.comm	_MAC_RGMII_MODE_TX_ENABLE,4,2   ; @MAC_RGMII_MODE_TX_ENABLE
	.comm	_MAC_RGMII_MODE_TX_LOWPWR,4,2   ; @MAC_RGMII_MODE_TX_LOWPWR
	.comm	_MAC_RGMII_MODE_TX_RESET,4,2    ; @MAC_RGMII_MODE_TX_RESET
	.no_dead_strip	_tg3_mdio_config_5785
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.tg3_mdio_config_5785
l_switch.table.tg3_mdio_config_5785:
	.quad	_MAC_PHYCFG2_RTL8211C_LED_MODES
	.quad	_MAC_PHYCFG2_RTL8201E_LED_MODES
	.quad	_MAC_PHYCFG2_AC131_LED_MODES
	.quad	_MAC_PHYCFG2_50610_LED_MODES
	.quad	_MAC_PHYCFG2_50610_LED_MODES

.subsections_via_symbols
