	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8153_eee_en
_r8153_eee_en:                          ## @r8153_eee_en
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PLA_EEE_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ocp_read_word
	movl	%eax, %r12d
	movq	_OCP_EEE_CFG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_ocp_reg_read
	movl	%eax, %r15d
	movq	_EEE_RX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_EEE_TX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	orl	%r12d, %ecx
	orl	%eax, %ecx
	movq	_EEE10_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_3
LBB0_2:
	orl	%ecx, %eax
	notl	%eax
	andl	%eax, %r12d
	movq	_EEE10_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movl	%r12d, %ecx
LBB0_3:
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PLA_EEE_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ocp_write_word
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_ocp_reg_write
	movl	%r14d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_EEE_CR,4,2                 ## @PLA_EEE_CR
	.comm	_OCP_EEE_CFG,4,2                ## @OCP_EEE_CFG
	.comm	_EEE_RX_EN,4,2                  ## @EEE_RX_EN
	.comm	_EEE_TX_EN,4,2                  ## @EEE_TX_EN
	.comm	_EEE10_EN,4,2                   ## @EEE10_EN
	.no_dead_strip	_r8153_eee_en
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8153_eee_en
_r8153_eee_en:                          ; @r8153_eee_en
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _MCU_TYPE_PLA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MCU_TYPE_PLA@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _PLA_EEE_CR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PLA_EEE_CR@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_ocp_read_word
	mov	x21, x0
Lloh4:
	adrp	x24, _OCP_EEE_CFG@GOTPAGE
Lloh5:
	ldr	x24, [x24, _OCP_EEE_CFG@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_ocp_reg_read
Lloh6:
	adrp	x8, _EEE_RX_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EEE_RX_EN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _EEE_TX_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EEE_TX_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cbz	w19, LBB0_2
; %bb.1:
	orr	w8, w8, w21
	orr	w3, w8, w9
Lloh12:
	adrp	x8, _EEE10_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEE10_EN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w21, w8, w0
	b	LBB0_3
LBB0_2:
	orr	w8, w9, w8
	bic	w3, w21, w8
Lloh15:
	adrp	x8, _EEE10_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EEE10_EN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w21, w0, w8
LBB0_3:
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_ocp_write_word
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x21
	bl	_ocp_reg_write
	str	w19, [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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_EEE_CR,4,2                 ; @PLA_EEE_CR
	.comm	_OCP_EEE_CFG,4,2                ; @OCP_EEE_CFG
	.comm	_EEE_RX_EN,4,2                  ; @EEE_RX_EN
	.comm	_EEE_TX_EN,4,2                  ; @EEE_TX_EN
	.comm	_EEE10_EN,4,2                   ; @EEE10_EN
	.no_dead_strip	_r8153_eee_en
.subsections_via_symbols
