	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_setup_fiber_phy
_tg3_setup_fiber_phy:                   ## @tg3_setup_fiber_phy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	40(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	48(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_HW_AUTONEG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	_MAC_TX_AUTO_NEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_tw32_f
	movq	_MAC_MODE_PORT_MODE_MASK@GOTPCREL(%rip), %rax
	movq	_MAC_MODE_HALF_DUPLEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	(%rbx), %ecx
	movslq	%ecx, %rax
	movl	%eax, (%rbx)
	movq	_MAC_MODE_PORT_MODE_TBI@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rsi
	orq	%rax, %rsi
	movl	%esi, (%rbx)
	movq	_MAC_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tw32_f
	movl	$40, %edi
	callq	_udelay
	movq	8(%rbx), %rax
	movq	_TG3_PHY_ID_BCM8002@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_tg3_init_bcm8002
LBB0_7:
	movq	_MAC_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MAC_EVENT_LNKSTATE_CHANGED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_tw32_f
	movl	$40, %edi
	callq	_udelay
	movq	$0, 64(%rbx)
	movq	_MAC_STATUS@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_tr32
	movq	%rax, %r14
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	movq	%rbx, %rdi
	movq	%r14, %rsi
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	callq	_tg3_setup_fiber_hw_autoneg
	jmp	LBB0_10
LBB0_1:
	cmpq	$0, 80(%rbx)
	je	LBB0_5
## %bb.2:
	movq	_INIT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_MAC_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_tr32
	movq	_MAC_STATUS_PCS_SYNCED@GOTPCREL(%rip), %rcx
	movq	_MAC_STATUS_SIGNAL_DET@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orq	(%rcx), %rdx
	movq	_MAC_STATUS_CFG_CHANGED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rdx, %rcx
	orq	%rsi, %rcx
	movq	_MAC_STATUS_RCVD_CFG@GOTPCREL(%rip), %rdi
	orq	(%rdi), %rcx
	andq	%rax, %rcx
	cmpq	%rdx, %rcx
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	movq	_MAC_STATUS_SYNC_CHANGED@GOTPCREL(%rip), %rax
	orq	(%rax), %rsi
	callq	_tw32_f
	jmp	LBB0_25
LBB0_9:
	callq	_tg3_setup_fiber_by_hand
LBB0_10:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SD_STATUS_UPDATED@GOTPCREL(%rip), %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	72(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_SD_STATUS_LINK_CHG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%edx, (%rcx)
	movq	_MAC_STATUS_SYNC_CHANGED@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	_MAC_STATUS_CFG_CHANGED@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movl	$99, %r14d
	movq	_MAC_STATUS_LNKSTATE_CHANGED@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	orq	%rcx, %rsi
	movl	(%r13), %edi
	callq	_tw32_f
	movl	$5, %edi
	callq	_udelay
	movl	(%r13), %edi
	callq	_tr32
	movq	(%r12), %rcx
	movq	(%rbx), %rsi
	movq	%rsi, %rdi
	orq	%rcx, %rdi
	orq	(%r15), %rdi
	subl	$1, %r14d
	setb	%dl
	testq	%rax, %rdi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	testb	%dl, %dl
	je	LBB0_11
LBB0_13:
	movl	(%r13), %edi
	callq	_tr32
	movq	_MAC_STATUS_PCS_SYNCED@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_14
## %bb.18:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_17
## %bb.19:
	movq	_LED_CTRL_1000MBPS_ON@GOTPCREL(%rip), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	movq	_SPEED_1000@GOTPCREL(%rip), %rdx
	jmp	LBB0_20
LBB0_14:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	56(%rbx), %rax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.15:
	cmpq	$0, 16(%rbx)
	jne	LBB0_17
## %bb.16:
	movq	_MAC_MODE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movslq	(%rbx), %rsi
	movq	_MAC_MODE_SEND_CONFIGS@GOTPCREL(%rip), %rax
	orq	(%rax), %rsi
	callq	_tw32_f
	movl	$1, %edi
	callq	_udelay
	movl	(%r14), %edi
	movslq	(%rbx), %rsi
	callq	_tw32_f
LBB0_17:
	xorl	%r14d, %r14d
	movq	_LED_CTRL_TRAFFIC_OVERRIDE@GOTPCREL(%rip), %rax
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rdx
LBB0_20:
	movq	(%rdx), %rdx
	movq	%rdx, 40(%rbx)
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rbx)
	movq	_MAC_LED_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_LED_CTRL_LNKLED_OVERRIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	24(%rbx), %esi
	orl	(%rax), %esi
	callq	_tw32
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_tg3_test_and_report_link_chg
	testl	%eax, %eax
	jne	LBB0_25
## %bb.21:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	32(%rbx), %rax
	jne	LBB0_24
## %bb.22:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	40(%rbx), %rax
	jne	LBB0_24
## %bb.23:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	48(%rbx), %rax
	je	LBB0_25
LBB0_24:
	movq	%rbx, %rdi
	callq	_tg3_link_report
LBB0_25:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_AUTONEG,4,2                 ## @HW_AUTONEG
	.comm	_INIT_COMPLETE,4,2              ## @INIT_COMPLETE
	.comm	_MAC_STATUS,4,2                 ## @MAC_STATUS
	.comm	_MAC_STATUS_PCS_SYNCED,8,3      ## @MAC_STATUS_PCS_SYNCED
	.comm	_MAC_STATUS_SIGNAL_DET,8,3      ## @MAC_STATUS_SIGNAL_DET
	.comm	_MAC_STATUS_CFG_CHANGED,8,3     ## @MAC_STATUS_CFG_CHANGED
	.comm	_MAC_STATUS_RCVD_CFG,8,3        ## @MAC_STATUS_RCVD_CFG
	.comm	_MAC_STATUS_SYNC_CHANGED,8,3    ## @MAC_STATUS_SYNC_CHANGED
	.comm	_MAC_TX_AUTO_NEG,4,2            ## @MAC_TX_AUTO_NEG
	.comm	_MAC_MODE_PORT_MODE_MASK,4,2    ## @MAC_MODE_PORT_MODE_MASK
	.comm	_MAC_MODE_HALF_DUPLEX,4,2       ## @MAC_MODE_HALF_DUPLEX
	.comm	_MAC_MODE_PORT_MODE_TBI,4,2     ## @MAC_MODE_PORT_MODE_TBI
	.comm	_MAC_MODE,4,2                   ## @MAC_MODE
	.comm	_TG3_PHY_ID_BCM8002,8,3         ## @TG3_PHY_ID_BCM8002
	.comm	_MAC_EVENT,4,2                  ## @MAC_EVENT
	.comm	_MAC_EVENT_LNKSTATE_CHANGED,8,3 ## @MAC_EVENT_LNKSTATE_CHANGED
	.comm	_SD_STATUS_UPDATED,4,2          ## @SD_STATUS_UPDATED
	.comm	_SD_STATUS_LINK_CHG,4,2         ## @SD_STATUS_LINK_CHG
	.comm	_MAC_STATUS_LNKSTATE_CHANGED,8,3 ## @MAC_STATUS_LNKSTATE_CHANGED
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.comm	_MAC_MODE_SEND_CONFIGS,8,3      ## @MAC_MODE_SEND_CONFIGS
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_MAC_LED_CTRL,4,2               ## @MAC_LED_CTRL
	.comm	_LED_CTRL_LNKLED_OVERRIDE,4,2   ## @LED_CTRL_LNKLED_OVERRIDE
	.comm	_LED_CTRL_1000MBPS_ON,4,2       ## @LED_CTRL_1000MBPS_ON
	.comm	_SPEED_UNKNOWN,8,3              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,8,3             ## @DUPLEX_UNKNOWN
	.comm	_LED_CTRL_TRAFFIC_OVERRIDE,4,2  ## @LED_CTRL_TRAFFIC_OVERRIDE
	.no_dead_strip	_tg3_setup_fiber_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_setup_fiber_phy
_tg3_setup_fiber_phy:                   ; @tg3_setup_fiber_phy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldp	x23, x8, [x0, #32]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x20, [x0, #48]
Lloh0:
	adrp	x28, _HW_AUTONEG@GOTPAGE
Lloh1:
	ldr	x28, [x28, _HW_AUTONEG@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_tg3_flag
Lloh2:
	adrp	x25, _MAC_STATUS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MAC_STATUS@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MAC_STATUS_PCS_SYNCED@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MAC_STATUS_PCS_SYNCED@GOTPAGEOFF]
Lloh6:
	adrp	x26, _MAC_STATUS_CFG_CHANGED@GOTPAGE
Lloh7:
	ldr	x26, [x26, _MAC_STATUS_CFG_CHANGED@GOTPAGEOFF]
	cbz	x0, LBB0_5
LBB0_1:
	str	x20, [sp]                       ; 8-byte Folded Spill
Lloh8:
	adrp	x8, _MAC_TX_AUTO_NEG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAC_TX_AUTO_NEG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_tw32_f
Lloh11:
	adrp	x8, _MAC_MODE_PORT_MODE_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC_MODE_PORT_MODE_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _MAC_MODE_HALF_DUPLEX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAC_MODE_HALF_DUPLEX@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	bic	w8, w9, w8
	sxtw	x9, w8
	str	w8, [x19]
Lloh17:
	adrp	x8, _MAC_MODE_PORT_MODE_TBI@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MAC_MODE_PORT_MODE_TBI@GOTPAGEOFF]
Lloh19:
	ldrsw	x8, [x8]
	orr	x1, x8, x9
	str	w1, [x19]
Lloh20:
	adrp	x27, _MAC_MODE@GOTPAGE
Lloh21:
	ldr	x27, [x27, _MAC_MODE@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_tw32_f
	mov	w0, #40
	bl	_udelay
	ldr	x8, [x19, #8]
Lloh22:
	adrp	x9, _TG3_PHY_ID_BCM8002@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TG3_PHY_ID_BCM8002@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_tg3_init_bcm8002
LBB0_3:
Lloh25:
	adrp	x8, _MAC_EVENT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAC_EVENT@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _MAC_EVENT_LNKSTATE_CHANGED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MAC_EVENT_LNKSTATE_CHANGED@GOTPAGEOFF]
Lloh30:
	ldr	x1, [x8]
	bl	_tw32_f
	mov	w0, #40
	bl	_udelay
	str	xzr, [x19, #64]
	ldr	w0, [x25]
	bl	_tr32
	mov	x20, x0
	ldr	w1, [x28]
	mov	x0, x19
	bl	_tg3_flag
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_tg3_setup_fiber_hw_autoneg
	b	LBB0_10
LBB0_5:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_1
; %bb.6:
Lloh31:
	adrp	x8, _INIT_COMPLETE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _INIT_COMPLETE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag
	cbz	x0, LBB0_1
; %bb.7:
	ldr	w0, [x25]
	bl	_tr32
	ldr	x8, [x24]
Lloh34:
	adrp	x9, _MAC_STATUS_SIGNAL_DET@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MAC_STATUS_SIGNAL_DET@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	orr	x9, x9, x8
	ldr	x8, [x26]
	orr	x10, x9, x8
Lloh37:
	adrp	x11, _MAC_STATUS_RCVD_CFG@GOTPAGE
Lloh38:
	ldr	x11, [x11, _MAC_STATUS_RCVD_CFG@GOTPAGEOFF]
Lloh39:
	ldr	x11, [x11]
	orr	x10, x10, x11
	and	x10, x10, x0
	cmp	x10, x9
	b.ne	LBB0_1
; %bb.8:
	ldr	w0, [x25]
Lloh40:
	adrp	x9, _MAC_STATUS_SYNC_CHANGED@GOTPAGE
Lloh41:
	ldr	x9, [x9, _MAC_STATUS_SYNC_CHANGED@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	orr	x1, x9, x8
	bl	_tw32_f
	b	LBB0_24
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_tg3_setup_fiber_by_hand
LBB0_10:
	mov	x20, x0
Lloh43:
	adrp	x8, _SD_STATUS_UPDATED@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SD_STATUS_UPDATED@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldr	x9, [x19, #72]
	ldr	x9, [x9]
Lloh46:
	adrp	x10, _SD_STATUS_LINK_CHG@GOTPAGE
Lloh47:
	ldr	x10, [x10, _SD_STATUS_LINK_CHG@GOTPAGEOFF]
	ldr	w11, [x9]
Lloh48:
	ldr	w10, [x10]
	bic	w10, w11, w10
	orr	w8, w10, w8
Lloh49:
	adrp	x28, _MAC_STATUS_SYNC_CHANGED@GOTPAGE
Lloh50:
	ldr	x28, [x28, _MAC_STATUS_SYNC_CHANGED@GOTPAGEOFF]
	str	w8, [x9]
	ldr	x8, [x28]
	ldr	x9, [x26]
	mov	w21, #99
Lloh51:
	adrp	x22, _MAC_STATUS_LNKSTATE_CHANGED@GOTPAGE
Lloh52:
	ldr	x22, [x22, _MAC_STATUS_LNKSTATE_CHANGED@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	orr	x1, x9, x8
	bl	_tw32_f
	mov	w0, #5
	bl	_udelay
	ldr	w0, [x25]
	bl	_tr32
	ldr	x8, [x28]
	ldr	x9, [x26]
	orr	x10, x9, x8
	ldr	x11, [x22]
	orr	x10, x10, x11
	and	x10, x10, x0
	cmp	x10, #0
	ccmp	w21, #0, #4, ne
	sub	w21, w21, #1
	b.ne	LBB0_11
; %bb.12:
	ldr	w0, [x25]
	bl	_tr32
	ldr	x8, [x24]
	tst	x8, x0
	b.eq	LBB0_15
; %bb.13:
	cbz	w20, LBB0_18
; %bb.14:
Lloh53:
	adrp	x8, _LED_CTRL_1000MBPS_ON@GOTPAGE
Lloh54:
	ldr	x8, [x8, _LED_CTRL_1000MBPS_ON@GOTPAGEOFF]
Lloh55:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh56:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh57:
	adrp	x10, _SPEED_1000@GOTPAGE
Lloh58:
	ldr	x10, [x10, _SPEED_1000@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
	ldr	x8, [x19, #56]
Lloh59:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh60:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.16:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_18
; %bb.17:
	ldr	w0, [x27]
	ldrsw	x8, [x19]
Lloh62:
	adrp	x9, _MAC_MODE_SEND_CONFIGS@GOTPAGE
Lloh63:
	ldr	x9, [x9, _MAC_MODE_SEND_CONFIGS@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	orr	x1, x9, x8
	bl	_tw32_f
	mov	w0, #1
	bl	_udelay
	ldr	w0, [x27]
	ldrsw	x1, [x19]
	bl	_tw32_f
LBB0_18:
	mov	w20, #0
Lloh65:
	adrp	x8, _LED_CTRL_TRAFFIC_OVERRIDE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _LED_CTRL_TRAFFIC_OVERRIDE@GOTPAGEOFF]
Lloh67:
	adrp	x9, _DUPLEX_UNKNOWN@GOTPAGE
Lloh68:
	ldr	x9, [x9, _DUPLEX_UNKNOWN@GOTPAGEOFF]
Lloh69:
	adrp	x10, _SPEED_UNKNOWN@GOTPAGE
Lloh70:
	ldr	x10, [x10, _SPEED_UNKNOWN@GOTPAGEOFF]
LBB0_19:
	ldr	x10, [x10]
	ldr	x9, [x9]
	stp	x10, x9, [x19, #40]
Lloh71:
	adrp	x9, _MAC_LED_CTRL@GOTPAGE
Lloh72:
	ldr	x9, [x9, _MAC_LED_CTRL@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x9]
	ldr	w9, [x19, #24]
Lloh74:
	adrp	x10, _LED_CTRL_LNKLED_OVERRIDE@GOTPAGE
Lloh75:
	ldr	x10, [x10, _LED_CTRL_LNKLED_OVERRIDE@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w8, [x8]
	orr	w1, w9, w8
	bl	_tw32
	mov	x0, x19
	mov	x1, x20
	bl	_tg3_test_and_report_link_chg
	cbnz	w0, LBB0_24
; %bb.20:
	ldr	x8, [x19, #32]
	cmp	x23, x8
	b.ne	LBB0_23
; %bb.21:
	ldr	x8, [x19, #40]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	ldr	x8, [x19, #48]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	cmp	x9, x8
	b.eq	LBB0_24
LBB0_23:
	mov	x0, x19
	bl	_tg3_link_report
LBB0_24:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_AUTONEG,4,2                 ; @HW_AUTONEG
	.comm	_INIT_COMPLETE,4,2              ; @INIT_COMPLETE
	.comm	_MAC_STATUS,4,2                 ; @MAC_STATUS
	.comm	_MAC_STATUS_PCS_SYNCED,8,3      ; @MAC_STATUS_PCS_SYNCED
	.comm	_MAC_STATUS_SIGNAL_DET,8,3      ; @MAC_STATUS_SIGNAL_DET
	.comm	_MAC_STATUS_CFG_CHANGED,8,3     ; @MAC_STATUS_CFG_CHANGED
	.comm	_MAC_STATUS_RCVD_CFG,8,3        ; @MAC_STATUS_RCVD_CFG
	.comm	_MAC_STATUS_SYNC_CHANGED,8,3    ; @MAC_STATUS_SYNC_CHANGED
	.comm	_MAC_TX_AUTO_NEG,4,2            ; @MAC_TX_AUTO_NEG
	.comm	_MAC_MODE_PORT_MODE_MASK,4,2    ; @MAC_MODE_PORT_MODE_MASK
	.comm	_MAC_MODE_HALF_DUPLEX,4,2       ; @MAC_MODE_HALF_DUPLEX
	.comm	_MAC_MODE_PORT_MODE_TBI,4,2     ; @MAC_MODE_PORT_MODE_TBI
	.comm	_MAC_MODE,4,2                   ; @MAC_MODE
	.comm	_TG3_PHY_ID_BCM8002,8,3         ; @TG3_PHY_ID_BCM8002
	.comm	_MAC_EVENT,4,2                  ; @MAC_EVENT
	.comm	_MAC_EVENT_LNKSTATE_CHANGED,8,3 ; @MAC_EVENT_LNKSTATE_CHANGED
	.comm	_SD_STATUS_UPDATED,4,2          ; @SD_STATUS_UPDATED
	.comm	_SD_STATUS_LINK_CHG,4,2         ; @SD_STATUS_LINK_CHG
	.comm	_MAC_STATUS_LNKSTATE_CHANGED,8,3 ; @MAC_STATUS_LNKSTATE_CHANGED
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.comm	_MAC_MODE_SEND_CONFIGS,8,3      ; @MAC_MODE_SEND_CONFIGS
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_MAC_LED_CTRL,4,2               ; @MAC_LED_CTRL
	.comm	_LED_CTRL_LNKLED_OVERRIDE,4,2   ; @LED_CTRL_LNKLED_OVERRIDE
	.comm	_LED_CTRL_1000MBPS_ON,4,2       ; @LED_CTRL_1000MBPS_ON
	.comm	_SPEED_UNKNOWN,8,3              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,8,3             ; @DUPLEX_UNKNOWN
	.comm	_LED_CTRL_TRAFFIC_OVERRIDE,4,2  ; @LED_CTRL_TRAFFIC_OVERRIDE
	.no_dead_strip	_tg3_setup_fiber_phy
.subsections_via_symbols
