	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sumo_power_level_enable
_sumo_power_level_enable:               ## @sumo_power_level_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	3(%rsi), %eax
	testl	%esi, %esi
	cmovnsl	%esi, %eax
	movl	%eax, %ecx
	andl	$-4, %ecx
	subl	%ecx, %esi
	cmpl	$3, %esi
	ja	LBB0_7
## %bb.1:
	sarl	$2, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rsi
	addq	%rcx, %rsi
	jmpq	*%rsi
LBB0_2:
	movq	_CG_SCLK_DPM_CTRL@GOTPCREL(%rip), %rcx
	shll	$2, %eax
	movslq	%eax, %rdi
	addq	(%rcx), %rdi
	testl	%edx, %edx
	movq	_SCLK_FSTATE_0_VLD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	movq	_CG_SCLK_DPM_CTRL@GOTPCREL(%rip), %rcx
	shll	$2, %eax
	movslq	%eax, %rdi
	addq	(%rcx), %rdi
	testl	%edx, %edx
	movq	_SCLK_FSTATE_1_VLD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_CG_SCLK_DPM_CTRL@GOTPCREL(%rip), %rcx
	shll	$2, %eax
	movslq	%eax, %rdi
	addq	(%rcx), %rdi
	testl	%edx, %edx
	movq	_SCLK_FSTATE_2_VLD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_CG_SCLK_DPM_CTRL@GOTPCREL(%rip), %rcx
	shll	$2, %eax
	movslq	%eax, %rdi
	addq	(%rcx), %rdi
	testl	%edx, %edx
	movq	_SCLK_FSTATE_3_VLD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	cmovnel	%eax, %edx
	notl	%eax
	movl	%edx, %esi
	movl	%eax, %edx
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_CG_SCLK_DPM_CTRL,8,3           ## @CG_SCLK_DPM_CTRL
	.comm	_SCLK_FSTATE_0_VLD,4,2          ## @SCLK_FSTATE_0_VLD
	.comm	_SCLK_FSTATE_1_VLD,4,2          ## @SCLK_FSTATE_1_VLD
	.comm	_SCLK_FSTATE_2_VLD,4,2          ## @SCLK_FSTATE_2_VLD
	.comm	_SCLK_FSTATE_3_VLD,4,2          ## @SCLK_FSTATE_3_VLD
	.no_dead_strip	_sumo_power_level_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sumo_power_level_enable
_sumo_power_level_enable:               ; @sumo_power_level_enable
	.cfi_startproc
; %bb.0:
	add	w8, w1, #3
	cmp	w1, #0
	csel	w8, w8, w1, lt
	and	w9, w8, #0xfffffffc
	sub	w9, w1, w9
	cmp	w9, #3
	b.hi	LBB0_3
; %bb.1:
	asr	w8, w8, #2
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x9, _CG_SCLK_DPM_CTRL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CG_SCLK_DPM_CTRL@GO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, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_CG_SCLK_DPM_CTRL,8,3           ; @CG_SCLK_DPM_CTRL
	.comm	_SCLK_FSTATE_0_VLD,4,2          ; @SCLK_FSTATE_0_VLD
	.comm	_SCLK_FSTATE_1_VLD,4,2          ; @SCLK_FSTATE_1_VLD
	.comm	_SCLK_FSTATE_2_VLD,4,2          ; @SCLK_FSTATE_2_VLD
	.comm	_SCLK_FSTATE_3_VLD,4,2          ; @SCLK_FSTATE_3_VLD
	.no_dead_strip	_sumo_power_level_enable
.subsections_via_symbols
