	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs780_clk_scaling_enable
_rs780_clk_scaling_enable:              ## @rs780_clk_scaling_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ENABLE_FV_THROT@GOTPCREL(%rip), %rax
	movq	_ENABLE_FV_UPDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	testl	%esi, %esi
	movq	_FVTHROT_CNTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmovnel	%edx, %esi
	notl	%edx
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FVTHROT_CNTRL_REG,4,2          ## @FVTHROT_CNTRL_REG
	.comm	_ENABLE_FV_THROT,4,2            ## @ENABLE_FV_THROT
	.comm	_ENABLE_FV_UPDATE,4,2           ## @ENABLE_FV_UPDATE
	.no_dead_strip	_rs780_clk_scaling_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs780_clk_scaling_enable
_rs780_clk_scaling_enable:              ; @rs780_clk_scaling_enable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FVTHROT_CNTRL_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FVTHROT_CNTRL_REG@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ENABLE_FV_THROT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ENABLE_FV_THROT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ENABLE_FV_UPDATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENABLE_FV_UPDATE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mvn	w2, w8
	cmp	w1, #0
	csel	w1, wzr, w8, eq
	b	_WREG32_P
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FVTHROT_CNTRL_REG,4,2          ; @FVTHROT_CNTRL_REG
	.comm	_ENABLE_FV_THROT,4,2            ; @ENABLE_FV_THROT
	.comm	_ENABLE_FV_UPDATE,4,2           ; @ENABLE_FV_UPDATE
	.no_dead_strip	_rs780_clk_scaling_enable
.subsections_via_symbols
