	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sumo_enable_voltage_scaling
_sumo_enable_voltage_scaling:           ## @sumo_enable_voltage_scaling
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_CG_DPM_VOLTAGE_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DPM_VOLTAGE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	callq	_WREG32_P
	movq	_CG_VOLTAGE_EN@GOTPCREL(%rip), %rax
	movq	_CG_CG_VOLTAGE_CNTL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_CG_CG_VOLTAGE_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CG_VOLTAGE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	callq	_WREG32_P
	movq	_DPM_VOLTAGE_EN@GOTPCREL(%rip), %rax
	movq	_CG_DPM_VOLTAGE_CNTL@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edi
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CG_DPM_VOLTAGE_CNTL,4,2        ## @CG_DPM_VOLTAGE_CNTL
	.comm	_DPM_VOLTAGE_EN,4,2             ## @DPM_VOLTAGE_EN
	.comm	_CG_CG_VOLTAGE_CNTL,4,2         ## @CG_CG_VOLTAGE_CNTL
	.comm	_CG_VOLTAGE_EN,4,2              ## @CG_VOLTAGE_EN
	.no_dead_strip	_sumo_enable_voltage_scaling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sumo_enable_voltage_scaling
_sumo_enable_voltage_scaling:           ; @sumo_enable_voltage_scaling
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CG_DPM_VOLTAGE_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CG_DPM_VOLTAGE_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DPM_VOLTAGE_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DPM_VOLTAGE_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mvn	w2, w1
	bl	_WREG32_P
Lloh6:
	adrp	x8, _CG_VOLTAGE_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CG_VOLTAGE_EN@GOTPAGEOFF]
Lloh8:
	adrp	x9, _CG_CG_VOLTAGE_CNTL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CG_CG_VOLTAGE_CNTL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _CG_CG_VOLTAGE_CNTL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CG_CG_VOLTAGE_CNTL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _CG_VOLTAGE_EN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CG_VOLTAGE_EN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mvn	w2, w1
	bl	_WREG32_P
Lloh16:
	adrp	x8, _DPM_VOLTAGE_EN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DPM_VOLTAGE_EN@GOTPAGEOFF]
Lloh18:
	adrp	x9, _CG_DPM_VOLTAGE_CNTL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CG_DPM_VOLTAGE_CNTL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x9]
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WREG32_P
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CG_DPM_VOLTAGE_CNTL,4,2        ; @CG_DPM_VOLTAGE_CNTL
	.comm	_DPM_VOLTAGE_EN,4,2             ; @DPM_VOLTAGE_EN
	.comm	_CG_CG_VOLTAGE_CNTL,4,2         ; @CG_CG_VOLTAGE_CNTL
	.comm	_CG_VOLTAGE_EN,4,2              ; @CG_VOLTAGE_EN
	.no_dead_strip	_sumo_enable_voltage_scaling
.subsections_via_symbols
