	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_copper_link_setup_m88   ## -- Begin function e1000e_copper_link_setup_m88
	.p2align	4, 0x90
_e1000e_copper_link_setup_m88:          ## @e1000e_copper_link_setup_m88
	.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, %r14
	movq	_M88E1000_PHY_SPEC_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %rdx
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
## %bb.1:
	movq	(%r14), %rax
	movq	_e1000_phy_bm@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	movq	_M88E1000_PSCR_ASSERT_CRS_ON_TX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_3:
	orl	-36(%rbp), %edx
	movq	_M88E1000_PSCR_AUTO_X_MODE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	movl	%edi, %esi
	notl	%esi
	andl	%edx, %esi
	movl	8(%r14), %ebx
	cmpl	$3, %ebx
	je	LBB0_8
## %bb.4:
	cmpl	$2, %ebx
	je	LBB0_7
## %bb.5:
	cmpl	$1, %ebx
	jne	LBB0_9
## %bb.6:
	movq	_M88E1000_PSCR_MDI_MANUAL_MODE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	jmp	LBB0_10
LBB0_8:
	movq	_M88E1000_PSCR_AUTO_X_1000T@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	jmp	LBB0_10
LBB0_7:
	movq	_M88E1000_PSCR_MDIX_MANUAL_MODE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	jmp	LBB0_10
LBB0_9:
	orl	%edi, %edx
	movl	%edx, %esi
LBB0_10:
	movq	_M88E1000_PSCR_POLARITY_REVERSAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	%edi, %edx
	notl	%edx
	andl	%esi, %edx
	movl	%edx, -36(%rbp)
	cmpq	$0, 40(%r14)
	je	LBB0_12
## %bb.11:
	orl	%edi, %esi
	movl	%esi, -36(%rbp)
	movl	%esi, %edx
LBB0_12:
	cmpq	%rcx, %rax
	jne	LBB0_18
## %bb.13:
	movq	16(%r14), %rax
	movq	_BME1000_E_PHY_ID_R2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.14:
	movq	_BME1000_PSCR_ENABLE_DOWNSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edx
	movl	%edx, -36(%rbp)
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
## %bb.15:
	movq	%r14, %rdi
	callq	*32(%r14)
	testq	%rax, %rax
	jne	LBB0_35
## %bb.16:
	movl	-36(%rbp), %edx
LBB0_17:
	movq	_BME1000_PSCR_ENABLE_DOWNSHIFT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -36(%rbp)
LBB0_18:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
## %bb.19:
	movq	(%r14), %rax
	movq	_e1000_phy_m88@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.20:
	movl	24(%r14), %ecx
	movq	_E1000_REVISION_4@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jge	LBB0_29
## %bb.21:
	movq	16(%r14), %rcx
	movq	_BME1000_E_PHY_ID_R2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_22
LBB0_29:
	cmpq	(%r15), %rax
	jne	LBB0_33
LBB0_30:
	movq	16(%r14), %rax
	movq	_BME1000_E_PHY_ID_R2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.31:
	movq	%r14, %rdi
	movl	$29, %esi
	movl	$3, %edx
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
## %bb.32:
	movq	%r14, %rdi
	movl	$30, %esi
	xorl	%edx, %edx
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
LBB0_33:
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.34:
	movq	%r14, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_36
LBB0_35:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_40
LBB0_36:
	movq	(%r14), %rax
	movq	_e1000_phy_82578@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.37:
	movq	_M88E1000_EXT_PHY_SPEC_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
## %bb.38:
	movq	_I82578_EPSCR_DOWNSHIFT_ENABLE@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_I82578_EPSCR_DOWNSHIFT_COUNTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movl	%edx, -36(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
LBB0_39:
	xorl	%ebx, %ebx
	jmp	LBB0_40
LBB0_22:
	movq	_M88E1000_EXT_PHY_SPEC_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_40
## %bb.23:
	movq	_M88E1000_EPSCR_TX_CLK_25@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %edx
	orl	(%rax), %edx
	cmpl	$2, 24(%r14)
	jne	LBB0_26
## %bb.24:
	movq	16(%r14), %rax
	movq	_M88E1111_I_PHY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.25:
	movq	_M88EC018_EPSCR_DOWNSHIFT_COUNTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edx
	movq	_M88EC018_EPSCR_DOWNSHIFT_COUNTER_5X@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	jmp	LBB0_27
LBB0_26:
	movq	_M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK@GOTPCREL(%rip), %rax
	movq	_M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %edx
	movq	_M88E1000_EPSCR_MASTER_DOWNSHIFT_1X@GOTPCREL(%rip), %rax
	movq	_M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X@GOTPCREL(%rip), %rcx
	orl	(%rax), %edx
	orl	(%rcx), %edx
LBB0_27:
	movl	%edx, -36(%rbp)
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_28
LBB0_40:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	je	LBB0_30
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_M88E1000_PHY_SPEC_CTRL,4,2     ## @M88E1000_PHY_SPEC_CTRL
	.comm	_e1000_phy_bm,8,3               ## @e1000_phy_bm
	.comm	_M88E1000_PSCR_ASSERT_CRS_ON_TX,4,2 ## @M88E1000_PSCR_ASSERT_CRS_ON_TX
	.comm	_M88E1000_PSCR_AUTO_X_MODE,4,2  ## @M88E1000_PSCR_AUTO_X_MODE
	.comm	_M88E1000_PSCR_MDI_MANUAL_MODE,4,2 ## @M88E1000_PSCR_MDI_MANUAL_MODE
	.comm	_M88E1000_PSCR_MDIX_MANUAL_MODE,4,2 ## @M88E1000_PSCR_MDIX_MANUAL_MODE
	.comm	_M88E1000_PSCR_AUTO_X_1000T,4,2 ## @M88E1000_PSCR_AUTO_X_1000T
	.comm	_M88E1000_PSCR_POLARITY_REVERSAL,4,2 ## @M88E1000_PSCR_POLARITY_REVERSAL
	.comm	_BME1000_E_PHY_ID_R2,8,3        ## @BME1000_E_PHY_ID_R2
	.comm	_BME1000_PSCR_ENABLE_DOWNSHIFT,4,2 ## @BME1000_PSCR_ENABLE_DOWNSHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error committing the PHY changes\n"

	.comm	_e1000_phy_m88,8,3              ## @e1000_phy_m88
	.comm	_E1000_REVISION_4,4,2           ## @E1000_REVISION_4
	.comm	_M88E1000_EXT_PHY_SPEC_CTRL,4,2 ## @M88E1000_EXT_PHY_SPEC_CTRL
	.comm	_M88E1000_EPSCR_TX_CLK_25,4,2   ## @M88E1000_EPSCR_TX_CLK_25
	.comm	_M88E1111_I_PHY_ID,8,3          ## @M88E1111_I_PHY_ID
	.comm	_M88EC018_EPSCR_DOWNSHIFT_COUNTER_MASK,4,2 ## @M88EC018_EPSCR_DOWNSHIFT_COUNTER_MASK
	.comm	_M88EC018_EPSCR_DOWNSHIFT_COUNTER_5X,4,2 ## @M88EC018_EPSCR_DOWNSHIFT_COUNTER_5X
	.comm	_M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK,4,2 ## @M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK
	.comm	_M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK,4,2 ## @M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK
	.comm	_M88E1000_EPSCR_MASTER_DOWNSHIFT_1X,4,2 ## @M88E1000_EPSCR_MASTER_DOWNSHIFT_1X
	.comm	_M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X,4,2 ## @M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X
	.comm	_e1000_phy_82578,8,3            ## @e1000_phy_82578
	.comm	_I82578_EPSCR_DOWNSHIFT_ENABLE,4,2 ## @I82578_EPSCR_DOWNSHIFT_ENABLE
	.comm	_I82578_EPSCR_DOWNSHIFT_COUNTER_MASK,4,2 ## @I82578_EPSCR_DOWNSHIFT_COUNTER_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_copper_link_setup_m88   ; -- Begin function e1000e_copper_link_setup_m88
	.p2align	2
_e1000e_copper_link_setup_m88:          ; @e1000e_copper_link_setup_m88
	.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
Lloh0:
	adrp	x22, _M88E1000_PHY_SPEC_CTRL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M88E1000_PHY_SPEC_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_38
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x21, _e1000_phy_bm@GOTPAGE
Lloh3:
	ldr	x21, [x21, _e1000_phy_bm@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w10, [sp, #12]
Lloh4:
	adrp	x11, _M88E1000_PSCR_ASSERT_CRS_ON_TX@GOTPAGE
Lloh5:
	ldr	x11, [x11, _M88E1000_PSCR_ASSERT_CRS_ON_TX@GOTPAGEOFF]
Lloh6:
	ldr	w11, [x11]
	cmp	x8, x9
	csel	w11, wzr, w11, eq
	orr	w11, w10, w11
Lloh7:
	adrp	x10, _M88E1000_PSCR_AUTO_X_MODE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _M88E1000_PSCR_AUTO_X_MODE@GOTPAGEOFF]
Lloh9:
	ldr	w12, [x10]
	bic	w10, w11, w12
	ldr	w13, [x19, #8]
	cmp	w13, #3
	b.eq	LBB0_5
; %bb.2:
	cmp	w13, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w13, #1
	b.ne	LBB0_8
; %bb.4:
Lloh10:
	adrp	x11, _M88E1000_PSCR_MDI_MANUAL_MODE@GOTPAGE
Lloh11:
	ldr	x11, [x11, _M88E1000_PSCR_MDI_MANUAL_MODE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x11, _M88E1000_PSCR_AUTO_X_1000T@GOTPAGE
Lloh13:
	ldr	x11, [x11, _M88E1000_PSCR_AUTO_X_1000T@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x11, _M88E1000_PSCR_MDIX_MANUAL_MODE@GOTPAGE
Lloh15:
	ldr	x11, [x11, _M88E1000_PSCR_MDIX_MANUAL_MODE@GOTPAGEOFF]
LBB0_7:
	ldr	w11, [x11]
	orr	w10, w11, w10
	b	LBB0_9
LBB0_8:
	orr	w10, w11, w12
LBB0_9:
Lloh16:
	adrp	x11, _M88E1000_PSCR_POLARITY_REVERSAL@GOTPAGE
Lloh17:
	ldr	x11, [x11, _M88E1000_PSCR_POLARITY_REVERSAL@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	bic	w2, w10, w11
	str	w2, [sp, #12]
	ldr	x12, [x19, #40]
	cbz	x12, LBB0_11
; %bb.10:
	orr	w2, w10, w11
	str	w2, [sp, #12]
LBB0_11:
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.12:
	ldr	x8, [x19, #16]
Lloh19:
	adrp	x9, _BME1000_E_PHY_ID_R2@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BME1000_E_PHY_ID_R2@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x23, _BME1000_PSCR_ENABLE_DOWNSHIFT@GOTPAGE
Lloh23:
	ldr	x23, [x23, _BME1000_PSCR_ENABLE_DOWNSHIFT@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.13:
	ldr	w8, [x23]
	bic	w2, w2, w8
	str	w2, [sp, #12]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_38
; %bb.14:
	ldr	x8, [x19, #32]
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_27
; %bb.15:
	ldr	w2, [sp, #12]
LBB0_16:
	ldr	w8, [x23]
	orr	w2, w2, w8
	str	w2, [sp, #12]
LBB0_17:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_38
; %bb.18:
	ldr	x8, [x19]
Lloh24:
	adrp	x9, _e1000_phy_m88@GOTPAGE
Lloh25:
	ldr	x9, [x9, _e1000_phy_m88@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.19:
	ldr	w9, [x19, #24]
Lloh27:
	adrp	x10, _E1000_REVISION_4@GOTPAGE
Lloh28:
	ldr	x10, [x10, _E1000_REVISION_4@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_21
; %bb.20:
	ldr	x9, [x19, #16]
Lloh30:
	adrp	x10, _BME1000_E_PHY_ID_R2@GOTPAGE
Lloh31:
	ldr	x10, [x10, _BME1000_E_PHY_ID_R2@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_32
LBB0_21:
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.22:
	ldr	x8, [x19, #16]
Lloh33:
	adrp	x9, _BME1000_E_PHY_ID_R2@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BME1000_E_PHY_ID_R2@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.23:
	mov	x0, x19
	mov	w1, #29
	mov	w2, #3
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_38
; %bb.24:
	mov	x0, x19
	mov	w1, #30
	mov	w2, #0
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_38
LBB0_25:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_28
; %bb.26:
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_28
LBB0_27:
	mov	x20, x0
Lloh36:
	adrp	x0, l_.str@PAGE
Lloh37:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	b	LBB0_38
LBB0_28:
	ldr	x8, [x19]
Lloh38:
	adrp	x9, _e1000_phy_82578@GOTPAGE
Lloh39:
	ldr	x9, [x9, _e1000_phy_82578@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.29:
Lloh41:
	adrp	x21, _M88E1000_EXT_PHY_SPEC_CTRL@GOTPAGE
Lloh42:
	ldr	x21, [x21, _M88E1000_EXT_PHY_SPEC_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_38
; %bb.30:
Lloh43:
	adrp	x8, _I82578_EPSCR_DOWNSHIFT_ENABLE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _I82578_EPSCR_DOWNSHIFT_ENABLE@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
Lloh46:
	adrp	x9, _I82578_EPSCR_DOWNSHIFT_COUNTER_MASK@GOTPAGE
Lloh47:
	ldr	x9, [x9, _I82578_EPSCR_DOWNSHIFT_COUNTER_MASK@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	bic	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbnz	x0, LBB0_38
LBB0_31:
	mov	x20, #0
	b	LBB0_38
LBB0_32:
Lloh49:
	adrp	x22, _M88E1000_EXT_PHY_SPEC_CTRL@GOTPAGE
Lloh50:
	ldr	x22, [x22, _M88E1000_EXT_PHY_SPEC_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	mov	x20, x0
	cbnz	x0, LBB0_38
; %bb.33:
Lloh51:
	adrp	x8, _M88E1000_EPSCR_TX_CLK_25@GOTPAGE
Lloh52:
	ldr	x8, [x8, _M88E1000_EPSCR_TX_CLK_25@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	ldr	w9, [x19, #24]
	cmp	w9, #2
	b.ne	LBB0_36
; %bb.34:
	ldr	x9, [x19, #16]
Lloh54:
	adrp	x10, _M88E1111_I_PHY_ID@GOTPAGE
Lloh55:
	ldr	x10, [x10, _M88E1111_I_PHY_ID@GOTPAGEOFF]
Lloh56:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_36
; %bb.35:
Lloh57:
	adrp	x9, _M88EC018_EPSCR_DOWNSHIFT_COUNTER_MASK@GOTPAGE
Lloh58:
	ldr	x9, [x9, _M88EC018_EPSCR_DOWNSHIFT_COUNTER_MASK@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh60:
	adrp	x9, _M88EC018_EPSCR_DOWNSHIFT_COUNTER_5X@GOTPAGE
Lloh61:
	ldr	x9, [x9, _M88EC018_EPSCR_DOWNSHIFT_COUNTER_5X@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	LBB0_37
LBB0_36:
Lloh63:
	adrp	x9, _M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK@GOTPAGE
Lloh64:
	ldr	x9, [x9, _M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK@GOTPAGEOFF]
Lloh65:
	adrp	x10, _M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK@GOTPAGE
Lloh66:
	ldr	x10, [x10, _M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
Lloh68:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
Lloh69:
	adrp	x9, _M88E1000_EPSCR_MASTER_DOWNSHIFT_1X@GOTPAGE
Lloh70:
	ldr	x9, [x9, _M88E1000_EPSCR_MASTER_DOWNSHIFT_1X@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X@GOTPAGE
Lloh73:
	ldr	x10, [x10, _M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X@GOTPAGEOFF]
Lloh74:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w2, w8, w10
LBB0_37:
	str	w2, [sp, #12]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x20, x0
	cbz	x0, LBB0_39
LBB0_38:
	mov	x0, x20
	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_39:
	ldr	x8, [x19]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_M88E1000_PHY_SPEC_CTRL,4,2     ; @M88E1000_PHY_SPEC_CTRL
	.comm	_e1000_phy_bm,8,3               ; @e1000_phy_bm
	.comm	_M88E1000_PSCR_ASSERT_CRS_ON_TX,4,2 ; @M88E1000_PSCR_ASSERT_CRS_ON_TX
	.comm	_M88E1000_PSCR_AUTO_X_MODE,4,2  ; @M88E1000_PSCR_AUTO_X_MODE
	.comm	_M88E1000_PSCR_MDI_MANUAL_MODE,4,2 ; @M88E1000_PSCR_MDI_MANUAL_MODE
	.comm	_M88E1000_PSCR_MDIX_MANUAL_MODE,4,2 ; @M88E1000_PSCR_MDIX_MANUAL_MODE
	.comm	_M88E1000_PSCR_AUTO_X_1000T,4,2 ; @M88E1000_PSCR_AUTO_X_1000T
	.comm	_M88E1000_PSCR_POLARITY_REVERSAL,4,2 ; @M88E1000_PSCR_POLARITY_REVERSAL
	.comm	_BME1000_E_PHY_ID_R2,8,3        ; @BME1000_E_PHY_ID_R2
	.comm	_BME1000_PSCR_ENABLE_DOWNSHIFT,4,2 ; @BME1000_PSCR_ENABLE_DOWNSHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error committing the PHY changes\n"

	.comm	_e1000_phy_m88,8,3              ; @e1000_phy_m88
	.comm	_E1000_REVISION_4,4,2           ; @E1000_REVISION_4
	.comm	_M88E1000_EXT_PHY_SPEC_CTRL,4,2 ; @M88E1000_EXT_PHY_SPEC_CTRL
	.comm	_M88E1000_EPSCR_TX_CLK_25,4,2   ; @M88E1000_EPSCR_TX_CLK_25
	.comm	_M88E1111_I_PHY_ID,8,3          ; @M88E1111_I_PHY_ID
	.comm	_M88EC018_EPSCR_DOWNSHIFT_COUNTER_MASK,4,2 ; @M88EC018_EPSCR_DOWNSHIFT_COUNTER_MASK
	.comm	_M88EC018_EPSCR_DOWNSHIFT_COUNTER_5X,4,2 ; @M88EC018_EPSCR_DOWNSHIFT_COUNTER_5X
	.comm	_M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK,4,2 ; @M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK
	.comm	_M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK,4,2 ; @M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK
	.comm	_M88E1000_EPSCR_MASTER_DOWNSHIFT_1X,4,2 ; @M88E1000_EPSCR_MASTER_DOWNSHIFT_1X
	.comm	_M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X,4,2 ; @M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X
	.comm	_e1000_phy_82578,8,3            ; @e1000_phy_82578
	.comm	_I82578_EPSCR_DOWNSHIFT_ENABLE,4,2 ; @I82578_EPSCR_DOWNSHIFT_ENABLE
	.comm	_I82578_EPSCR_DOWNSHIFT_COUNTER_MASK,4,2 ; @I82578_EPSCR_DOWNSHIFT_COUNTER_MASK
.subsections_via_symbols
