	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_set_eee_plus
_rtl_set_eee_plus:                      ## @rtl_set_eee_plus
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl8152_get_speed
	movl	%eax, %ebx
	movq	__10bps@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_PLA_EEEP_CR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_ocp_read_word
	movq	_EEEP_CR_EEEP_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	notl	%edx
	andl	%eax, %edx
	orl	%eax, %ecx
	testl	%ebx, %ebx
	cmovel	%edx, %ecx
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ocp_write_word                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__10bps,4,2                     ## @_10bps
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_EEEP_CR,4,2                ## @PLA_EEEP_CR
	.comm	_EEEP_CR_EEEP_TX,4,2            ## @EEEP_CR_EEEP_TX
	.no_dead_strip	_rtl_set_eee_plus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_set_eee_plus
_rtl_set_eee_plus:                      ; @rtl_set_eee_plus
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_rtl8152_get_speed
	mov	x20, x0
Lloh0:
	adrp	x8, __10bps@GOTPAGE
Lloh1:
	ldr	x8, [x8, __10bps@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x22, _MCU_TYPE_PLA@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MCU_TYPE_PLA@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x23, _PLA_EEEP_CR@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PLA_EEEP_CR@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_ocp_read_word
Lloh7:
	adrp	x8, _EEEP_CR_EEEP_TX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EEEP_CR_EEEP_TX@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w9, w0, w8
	orr	w8, w8, w0
	tst	w21, w20
	csel	w3, w9, w8, eq
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ocp_write_word
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__10bps,4,2                     ; @_10bps
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_EEEP_CR,4,2                ; @PLA_EEEP_CR
	.comm	_EEEP_CR_EEEP_TX,4,2            ; @EEEP_CR_EEEP_TX
	.no_dead_strip	_rtl_set_eee_plus
.subsections_via_symbols
