	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sumo_program_wl
_sumo_program_wl:                       ## @sumo_program_wl
	.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
	movq	%rsi, %rdi
	callq	_sumo_get_ps
	movq	%rax, %rbx
	movq	_CG_SCLK_DPM_CTRL_4@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_RREG32
	andl	$-256, %eax
	movq	_SUMO_POWERSTATE_FLAGS_BOOST_STATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	4(%rbx), %edx
	movb	(%rbx), %cl
	decb	%cl
	btsl	%ecx, %eax
	movq	_BOOST_DPM_LEVEL@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	testl	%edx, %edx
	cmovel	%edx, %esi
	orl	%eax, %esi
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CG_SCLK_DPM_CTRL_4,4,2         ## @CG_SCLK_DPM_CTRL_4
	.comm	_SUMO_POWERSTATE_FLAGS_BOOST_STATE,4,2 ## @SUMO_POWERSTATE_FLAGS_BOOST_STATE
	.comm	_BOOST_DPM_LEVEL,4,2            ## @BOOST_DPM_LEVEL
	.no_dead_strip	_sumo_program_wl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sumo_program_wl
_sumo_program_wl:                       ; @sumo_program_wl
	.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	x0, x1
	bl	_sumo_get_ps
	mov	x19, x0
Lloh0:
	adrp	x20, _CG_SCLK_DPM_CTRL_4@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CG_SCLK_DPM_CTRL_4@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
	and	w8, w0, #0xffffff00
	ldp	w9, w10, [x19]
	sub	w9, w9, #1
	mov	w11, #1
	lsl	w9, w11, w9
Lloh2:
	adrp	x12, _SUMO_POWERSTATE_FLAGS_BOOST_STATE@GOTPAGE
Lloh3:
	ldr	x12, [x12, _SUMO_POWERSTATE_FLAGS_BOOST_STATE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh4:
	ldr	w9, [x12]
Lloh5:
	adrp	x12, _BOOST_DPM_LEVEL@GOTPAGE
Lloh6:
	ldr	x12, [x12, _BOOST_DPM_LEVEL@GOTPAGEOFF]
Lloh7:
	ldr	w12, [x12]
	lsl	w11, w11, w12
	tst	w9, w10
	csel	w9, wzr, w11, eq
	orr	w1, w8, w9
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CG_SCLK_DPM_CTRL_4,4,2         ; @CG_SCLK_DPM_CTRL_4
	.comm	_SUMO_POWERSTATE_FLAGS_BOOST_STATE,4,2 ; @SUMO_POWERSTATE_FLAGS_BOOST_STATE
	.comm	_BOOST_DPM_LEVEL,4,2            ; @BOOST_DPM_LEVEL
	.no_dead_strip	_sumo_program_wl
.subsections_via_symbols
