	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8153_mac_clk_spd
_r8153_mac_clk_spd:                     ## @r8153_mac_clk_spd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PLA_MAC_PWR_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_ALDPS_SPDWN_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_ocp_write_word
	movl	(%r14), %esi
	movq	_PLA_MAC_PWR_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EEE_SPDWN_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_ocp_write_word
	movl	(%r14), %esi
	movq	_PKT_AVAIL_SPDWN_EN@GOTPCREL(%rip), %rax
	movq	_SUSPEND_SPDWN_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PLA_MAC_PWR_CTRL3@GOTPCREL(%rip), %rax
	movq	_U1U2_SPDWN_EN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	movq	_L1_SPDWN_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_ocp_write_word
	movq	_PWRSAVE_SPDWN_EN@GOTPCREL(%rip), %rax
	movq	_RXDV_SPDWN_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TX10MIDLE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_TP100_SPDWN_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%r14), %esi
	movq	_TP500_SPDWN_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PLA_MAC_PWR_CTRL4@GOTPCREL(%rip), %rax
	movq	_EEE_SPDWN_EN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	movq	_TP1000_SPDWN_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ocp_write_word
	movl	(%r14), %esi
	movq	_PLA_MAC_PWR_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ocp_write_word
	movl	(%r14), %esi
	movq	_PLA_MAC_PWR_CTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ocp_write_word
	movl	(%r14), %esi
	movq	_PLA_MAC_PWR_CTRL4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ocp_write_word                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_MAC_PWR_CTRL,4,2           ## @PLA_MAC_PWR_CTRL
	.comm	_ALDPS_SPDWN_RATIO,4,2          ## @ALDPS_SPDWN_RATIO
	.comm	_PLA_MAC_PWR_CTRL2,4,2          ## @PLA_MAC_PWR_CTRL2
	.comm	_EEE_SPDWN_RATIO,4,2            ## @EEE_SPDWN_RATIO
	.comm	_PLA_MAC_PWR_CTRL3,4,2          ## @PLA_MAC_PWR_CTRL3
	.comm	_PKT_AVAIL_SPDWN_EN,4,2         ## @PKT_AVAIL_SPDWN_EN
	.comm	_SUSPEND_SPDWN_EN,4,2           ## @SUSPEND_SPDWN_EN
	.comm	_U1U2_SPDWN_EN,4,2              ## @U1U2_SPDWN_EN
	.comm	_L1_SPDWN_EN,4,2                ## @L1_SPDWN_EN
	.comm	_PLA_MAC_PWR_CTRL4,4,2          ## @PLA_MAC_PWR_CTRL4
	.comm	_PWRSAVE_SPDWN_EN,4,2           ## @PWRSAVE_SPDWN_EN
	.comm	_RXDV_SPDWN_EN,4,2              ## @RXDV_SPDWN_EN
	.comm	_TX10MIDLE_EN,4,2               ## @TX10MIDLE_EN
	.comm	_TP100_SPDWN_EN,4,2             ## @TP100_SPDWN_EN
	.comm	_TP500_SPDWN_EN,4,2             ## @TP500_SPDWN_EN
	.comm	_EEE_SPDWN_EN,4,2               ## @EEE_SPDWN_EN
	.comm	_TP1000_SPDWN_EN,4,2            ## @TP1000_SPDWN_EN
	.no_dead_strip	_r8153_mac_clk_spd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8153_mac_clk_spd
_r8153_mac_clk_spd:                     ; @r8153_mac_clk_spd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x20, _MCU_TYPE_PLA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MCU_TYPE_PLA@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x9, _PLA_MAC_PWR_CTRL@GOTPAGE
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OTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	bl	_ocp_write_word
	ldr	w1, [x20]
Lloh29:
	adrp	x8, _PLA_MAC_PWR_CTRL4@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PLA_MAC_PWR_CTRL4@GOTPAGEOFF]
Lloh31:
	adrp	x9, _PWRSAVE_SPDWN_EN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PWRSAVE_SPDWN_EN@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	ldr	w8, [x9]
Lloh35:
	adrp	x9, _RXDV_SPDWN_EN@GOTPAGE
Lloh36:
	ldr	x9, [x9, _RXDV_SPDWN_EN@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh38:
	adrp	x9, _TX10MIDLE_EN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _TX10MIDLE_EN@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _TP100_SPDWN_EN@GOTPAGE
Lloh42:
	ldr	x9, [x9, _TP100_SPDWN_EN@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _TP500_SPDWN_EN@GOTPAGE
Lloh45:
	ldr	x9, [x9, _TP500_SPDWN_EN@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh47:
	adrp	x9, _EEE_SPDWN_EN@GOTPAGE
Lloh48:
	ldr	x9, [x9, _EEE_SPDWN_EN@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh50:
	adrp	x9, _TP1000_SPDWN_EN@GOTPAGE
Lloh51:
	ldr	x9, [x9, _TP1000_SPDWN_EN@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w3, #0
	bl	_ocp_write_word
	ldr	w1, [x20]
Lloh53:
	adrp	x8, _PLA_MAC_PWR_CTRL2@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PLA_MAC_PWR_CTRL2@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_ocp_write_word
	ldr	w1, [x20]
Lloh56:
	adrp	x8, _PLA_MAC_PWR_CTRL3@GOTPAGE
Lloh57:
	ldr	x8, [x8, _PLA_MAC_PWR_CTRL3@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_ocp_write_word
Lloh59:
	adrp	x8, _PLA_MAC_PWR_CTRL4@GOTPAGE
Lloh60:
	ldr	x8, [x8, _PLA_MAC_PWR_CTRL4@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh61:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ocp_write_word
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_MAC_PWR_CTRL,4,2           ; @PLA_MAC_PWR_CTRL
	.comm	_ALDPS_SPDWN_RATIO,4,2          ; @ALDPS_SPDWN_RATIO
	.comm	_PLA_MAC_PWR_CTRL2,4,2          ; @PLA_MAC_PWR_CTRL2
	.comm	_EEE_SPDWN_RATIO,4,2            ; @EEE_SPDWN_RATIO
	.comm	_PLA_MAC_PWR_CTRL3,4,2          ; @PLA_MAC_PWR_CTRL3
	.comm	_PKT_AVAIL_SPDWN_EN,4,2         ; @PKT_AVAIL_SPDWN_EN
	.comm	_SUSPEND_SPDWN_EN,4,2           ; @SUSPEND_SPDWN_EN
	.comm	_U1U2_SPDWN_EN,4,2              ; @U1U2_SPDWN_EN
	.comm	_L1_SPDWN_EN,4,2                ; @L1_SPDWN_EN
	.comm	_PLA_MAC_PWR_CTRL4,4,2          ; @PLA_MAC_PWR_CTRL4
	.comm	_PWRSAVE_SPDWN_EN,4,2           ; @PWRSAVE_SPDWN_EN
	.comm	_RXDV_SPDWN_EN,4,2              ; @RXDV_SPDWN_EN
	.comm	_TX10MIDLE_EN,4,2               ; @TX10MIDLE_EN
	.comm	_TP100_SPDWN_EN,4,2             ; @TP100_SPDWN_EN
	.comm	_TP500_SPDWN_EN,4,2             ; @TP500_SPDWN_EN
	.comm	_EEE_SPDWN_EN,4,2               ; @EEE_SPDWN_EN
	.comm	_TP1000_SPDWN_EN,4,2            ; @TP1000_SPDWN_EN
	.no_dead_strip	_r8153_mac_clk_spd
.subsections_via_symbols
