	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_copper_link_setup_gg82563_80003es2lan
_e1000_copper_link_setup_gg82563_80003es2lan: ## @e1000_copper_link_setup_gg82563_80003es2lan
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GG82563_PHY_MAC_SPEC_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.1:
	movq	_GG82563_MSCR_ASSERT_CRS_ON_TX@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
	movq	_GG82563_MSCR_TX_CLK_1000MBPS_25@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.2:
	movq	_GG82563_PHY_SPEC_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.3:
	movq	_GG82563_PSCR_CROSSOVER_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	8(%r14), %edx
	cmpl	$2, %edx
	jne	LBB0_4
## %bb.5:
	movq	_GG82563_PSCR_CROSSOVER_MODE_MDIX@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_GG82563_PSCR_CROSSOVER_MODE_AUTO@GOTPCREL(%rip), %rcx
LBB0_6:
	andl	-28(%rbp), %eax
	cmpl	$1, %edx
	jne	LBB0_8
## %bb.7:
	movq	_GG82563_PSCR_CROSSOVER_MODE_MDI@GOTPCREL(%rip), %rcx
LBB0_8:
	orl	(%rcx), %eax
	movq	_GG82563_PSCR_POLARITY_REVERSAL_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, -28(%rbp)
	cmpq	$0, 24(%r14)
	je	LBB0_10
## %bb.9:
	orl	%ecx, %eax
	movl	%eax, -28(%rbp)
	movl	%eax, %edx
LBB0_10:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.11:
	movq	%r14, %rdi
	callq	*16(%r14)
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_25
LBB0_13:
	movq	_E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS@GOTPCREL(%rip), %rax
	movq	_E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movq	%r14, %rdi
	callq	_e1000_write_kmrn_reg_80003es2lan
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.14:
	movq	_E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_e1000_read_kmrn_reg_80003es2lan
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.15:
	movq	_E1000_KMRNCTRLSTA_OPMODE_E_IDLE@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_e1000_write_kmrn_reg_80003es2lan
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.16:
	movq	_GG82563_PHY_SPEC_CTRL_2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.17:
	movq	_GG82563_PSCR2_REVERSE_AUTO_NEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.18:
	movq	_CTRL_EXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_EXT_LINK_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_ew32
	movq	_GG82563_PHY_PWR_MGMT_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_19
LBB0_25:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%r14, %rdi
	callq	*(%r14)
	testl	%eax, %eax
	je	LBB0_20
LBB0_23:
	movq	_GG82563_PHY_INBAND_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	movq	_GG82563_ICR_DIS_PADDING@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	jmp	LBB0_25
LBB0_20:
	movq	_GG82563_PMCR_ENABLE_ELECTRICAL_IDLE@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.21:
	movq	_GG82563_PHY_KMRN_MODE_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.22:
	movq	_GG82563_KMCR_PASS_FALSE_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_GG82563_PHY_MAC_SPEC_CTRL,4,2  ## @GG82563_PHY_MAC_SPEC_CTRL
	.comm	_GG82563_MSCR_ASSERT_CRS_ON_TX,4,2 ## @GG82563_MSCR_ASSERT_CRS_ON_TX
	.comm	_GG82563_MSCR_TX_CLK_1000MBPS_25,4,2 ## @GG82563_MSCR_TX_CLK_1000MBPS_25
	.comm	_GG82563_PHY_SPEC_CTRL,4,2      ## @GG82563_PHY_SPEC_CTRL
	.comm	_GG82563_PSCR_CROSSOVER_MODE_MASK,4,2 ## @GG82563_PSCR_CROSSOVER_MODE_MASK
	.comm	_GG82563_PSCR_CROSSOVER_MODE_MDI,4,2 ## @GG82563_PSCR_CROSSOVER_MODE_MDI
	.comm	_GG82563_PSCR_CROSSOVER_MODE_MDIX,4,2 ## @GG82563_PSCR_CROSSOVER_MODE_MDIX
	.comm	_GG82563_PSCR_CROSSOVER_MODE_AUTO,4,2 ## @GG82563_PSCR_CROSSOVER_MODE_AUTO
	.comm	_GG82563_PSCR_POLARITY_REVERSAL_DISABLE,4,2 ## @GG82563_PSCR_POLARITY_REVERSAL_DISABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error Resetting the PHY\n"

	.comm	_E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL,4,2 ## @E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL
	.comm	_E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS,4,2 ## @E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS
	.comm	_E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS,4,2 ## @E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS
	.comm	_E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE,4,2 ## @E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE
	.comm	_E1000_KMRNCTRLSTA_OPMODE_E_IDLE,4,2 ## @E1000_KMRNCTRLSTA_OPMODE_E_IDLE
	.comm	_GG82563_PHY_SPEC_CTRL_2,4,2    ## @GG82563_PHY_SPEC_CTRL_2
	.comm	_GG82563_PSCR2_REVERSE_AUTO_NEG,4,2 ## @GG82563_PSCR2_REVERSE_AUTO_NEG
	.comm	_CTRL_EXT,4,2                   ## @CTRL_EXT
	.comm	_E1000_CTRL_EXT_LINK_MODE_MASK,4,2 ## @E1000_CTRL_EXT_LINK_MODE_MASK
	.comm	_GG82563_PHY_PWR_MGMT_CTRL,4,2  ## @GG82563_PHY_PWR_MGMT_CTRL
	.comm	_GG82563_PMCR_ENABLE_ELECTRICAL_IDLE,4,2 ## @GG82563_PMCR_ENABLE_ELECTRICAL_IDLE
	.comm	_GG82563_PHY_KMRN_MODE_CTRL,4,2 ## @GG82563_PHY_KMRN_MODE_CTRL
	.comm	_GG82563_KMCR_PASS_FALSE_CARRIER,4,2 ## @GG82563_KMCR_PASS_FALSE_CARRIER
	.comm	_GG82563_PHY_INBAND_CTRL,4,2    ## @GG82563_PHY_INBAND_CTRL
	.comm	_GG82563_ICR_DIS_PADDING,4,2    ## @GG82563_ICR_DIS_PADDING
	.no_dead_strip	_e1000_copper_link_setup_gg82563_80003es2lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_copper_link_setup_gg82563_80003es2lan
_e1000_copper_link_setup_gg82563_80003es2lan: ; @e1000_copper_link_setup_gg82563_80003es2lan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _GG82563_PHY_MAC_SPEC_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GG82563_PHY_MAC_SPEC_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.1:
Lloh2:
	adrp	x8, _GG82563_MSCR_ASSERT_CRS_ON_TX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GG82563_MSCR_ASSERT_CRS_ON_TX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, _GG82563_MSCR_TX_CLK_1000MBPS_25@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GG82563_MSCR_TX_CLK_1000MBPS_25@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.2:
Lloh8:
	adrp	x21, _GG82563_PHY_SPEC_CTRL@GOTPAGE
Lloh9:
	ldr	x21, [x21, _GG82563_PHY_SPEC_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.3:
Lloh10:
	adrp	x8, _GG82563_PSCR_CROSSOVER_MODE_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GG82563_PSCR_CROSSOVER_MODE_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	ldr	w9, [x19, #8]
Lloh13:
	adrp	x10, _GG82563_PSCR_CROSSOVER_MODE_MDI@GOTPAGE
Lloh14:
	ldr	x10, [x10, _GG82563_PSCR_CROSSOVER_MODE_MDI@GOTPAGEOFF]
Lloh15:
	adrp	x11, _GG82563_PSCR_CROSSOVER_MODE_MDIX@GOTPAGE
Lloh16:
	ldr	x11, [x11, _GG82563_PSCR_CROSSOVER_MODE_MDIX@GOTPAGEOFF]
Lloh17:
	adrp	x12, _GG82563_PSCR_CROSSOVER_MODE_AUTO@GOTPAGE
Lloh18:
	ldr	x12, [x12, _GG82563_PSCR_CROSSOVER_MODE_AUTO@GOTPAGEOFF]
	cmp	w9, #2
	csel	x11, x11, x12, eq
	cmp	w9, #1
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _GG82563_PSCR_POLARITY_REVERSAL_DISABLE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _GG82563_PSCR_POLARITY_REVERSAL_DISABLE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	bic	w2, w8, w9
	str	w2, [sp, #12]
	ldr	x10, [x19, #24]
	cbz	x10, LBB0_5
; %bb.4:
	orr	w2, w8, w9
	str	w2, [sp, #12]
LBB0_5:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.6:
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_8
; %bb.7:
	mov	x20, x0
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	b	LBB0_14
LBB0_8:
Lloh24:
	adrp	x8, _E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS@GOTPAGE
Lloh31:
	ldr	x9, [x9, _E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	mov	x0, x19
	bl	_e1000_write_kmrn_reg_80003es2lan
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.9:
Lloh33:
	adrp	x8, _E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE@GOTPAGEOFF]
Lloh35:
	ldr	w21, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x21
	bl	_e1000_read_kmrn_reg_80003es2lan
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.10:
Lloh36:
	adrp	x8, _E1000_KMRNCTRLSTA_OPMODE_E_IDLE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _E1000_KMRNCTRLSTA_OPMODE_E_IDLE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	mov	x0, x19
	mov	x1, x21
	bl	_e1000_write_kmrn_reg_80003es2lan
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.11:
Lloh39:
	adrp	x21, _GG82563_PHY_SPEC_CTRL_2@GOTPAGE
Lloh40:
	ldr	x21, [x21, _GG82563_PHY_SPEC_CTRL_2@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.12:
Lloh41:
	adrp	x8, _GG82563_PSCR2_REVERSE_AUTO_NEG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _GG82563_PSCR2_REVERSE_AUTO_NEG@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.13:
Lloh44:
	adrp	x20, _CTRL_EXT@GOTPAGE
Lloh45:
	ldr	x20, [x20, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
Lloh46:
	adrp	x8, _E1000_CTRL_EXT_LINK_MODE_MASK@GOTPAGE
Lloh47:
	ldr	x8, [x8, _E1000_CTRL_EXT_LINK_MODE_MASK@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x20]
	bl	_ew32
Lloh49:
	adrp	x21, _GG82563_PHY_PWR_MGMT_CTRL@GOTPAGE
Lloh50:
	ldr	x21, [x21, _GG82563_PHY_PWR_MGMT_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	mov	x20, x0
	cbz	x0, LBB0_15
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_18
LBB0_16:
Lloh51:
	adrp	x21, _GG82563_PHY_INBAND_CTRL@GOTPAGE
Lloh52:
	ldr	x21, [x21, _GG82563_PHY_INBAND_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.17:
Lloh53:
	adrp	x8, _GG82563_ICR_DIS_PADDING@GOTPAGE
Lloh54:
	ldr	x8, [x8, _GG82563_ICR_DIS_PADDING@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	b	LBB0_14
LBB0_18:
Lloh56:
	adrp	x8, _GG82563_PMCR_ENABLE_ELECTRICAL_IDLE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GG82563_PMCR_ENABLE_ELECTRICAL_IDLE@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.19:
Lloh59:
	adrp	x21, _GG82563_PHY_KMRN_MODE_CTRL@GOTPAGE
Lloh60:
	ldr	x21, [x21, _GG82563_PHY_KMRN_MODE_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_14
; %bb.20:
Lloh61:
	adrp	x8, _GG82563_KMCR_PASS_FALSE_CARRIER@GOTPAGE
Lloh62:
	ldr	x8, [x8, _GG82563_KMCR_PASS_FALSE_CARRIER@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_14
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_GG82563_PHY_MAC_SPEC_CTRL,4,2  ; @GG82563_PHY_MAC_SPEC_CTRL
	.comm	_GG82563_MSCR_ASSERT_CRS_ON_TX,4,2 ; @GG82563_MSCR_ASSERT_CRS_ON_TX
	.comm	_GG82563_MSCR_TX_CLK_1000MBPS_25,4,2 ; @GG82563_MSCR_TX_CLK_1000MBPS_25
	.comm	_GG82563_PHY_SPEC_CTRL,4,2      ; @GG82563_PHY_SPEC_CTRL
	.comm	_GG82563_PSCR_CROSSOVER_MODE_MASK,4,2 ; @GG82563_PSCR_CROSSOVER_MODE_MASK
	.comm	_GG82563_PSCR_CROSSOVER_MODE_MDI,4,2 ; @GG82563_PSCR_CROSSOVER_MODE_MDI
	.comm	_GG82563_PSCR_CROSSOVER_MODE_MDIX,4,2 ; @GG82563_PSCR_CROSSOVER_MODE_MDIX
	.comm	_GG82563_PSCR_CROSSOVER_MODE_AUTO,4,2 ; @GG82563_PSCR_CROSSOVER_MODE_AUTO
	.comm	_GG82563_PSCR_POLARITY_REVERSAL_DISABLE,4,2 ; @GG82563_PSCR_POLARITY_REVERSAL_DISABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error Resetting the PHY\n"

	.comm	_E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL,4,2 ; @E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL
	.comm	_E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS,4,2 ; @E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS
	.comm	_E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS,4,2 ; @E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS
	.comm	_E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE,4,2 ; @E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE
	.comm	_E1000_KMRNCTRLSTA_OPMODE_E_IDLE,4,2 ; @E1000_KMRNCTRLSTA_OPMODE_E_IDLE
	.comm	_GG82563_PHY_SPEC_CTRL_2,4,2    ; @GG82563_PHY_SPEC_CTRL_2
	.comm	_GG82563_PSCR2_REVERSE_AUTO_NEG,4,2 ; @GG82563_PSCR2_REVERSE_AUTO_NEG
	.comm	_CTRL_EXT,4,2                   ; @CTRL_EXT
	.comm	_E1000_CTRL_EXT_LINK_MODE_MASK,4,2 ; @E1000_CTRL_EXT_LINK_MODE_MASK
	.comm	_GG82563_PHY_PWR_MGMT_CTRL,4,2  ; @GG82563_PHY_PWR_MGMT_CTRL
	.comm	_GG82563_PMCR_ENABLE_ELECTRICAL_IDLE,4,2 ; @GG82563_PMCR_ENABLE_ELECTRICAL_IDLE
	.comm	_GG82563_PHY_KMRN_MODE_CTRL,4,2 ; @GG82563_PHY_KMRN_MODE_CTRL
	.comm	_GG82563_KMCR_PASS_FALSE_CARRIER,4,2 ; @GG82563_KMCR_PASS_FALSE_CARRIER
	.comm	_GG82563_PHY_INBAND_CTRL,4,2    ; @GG82563_PHY_INBAND_CTRL
	.comm	_GG82563_ICR_DIS_PADDING,4,2    ; @GG82563_ICR_DIS_PADDING
	.no_dead_strip	_e1000_copper_link_setup_gg82563_80003es2lan
.subsections_via_symbols
