	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hwmgr_set_user_specify_caps    ## -- Begin function hwmgr_set_user_specify_caps
	.p2align	4, 0x90
_hwmgr_set_user_specify_caps:           ## @hwmgr_set_user_specify_caps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_PP_SCLK_DEEP_SLEEP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	8(%rdi), %edi
	movq	_PHM_PlatformCaps_SclkDeepSleep@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	callq	_phm_cap_set
	jmp	LBB0_3
LBB0_2:
	callq	_phm_cap_unset
LBB0_3:
	movq	_PP_POWER_CONTAINMENT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	8(%rbx), %edi
	movq	_PHM_PlatformCaps_PowerContainment@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	callq	_phm_cap_set
	movl	8(%rbx), %edi
	movq	_PHM_PlatformCaps_CAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phm_cap_set
	jmp	LBB0_6
LBB0_5:
	callq	_phm_cap_unset
	movl	8(%rbx), %edi
	movq	_PHM_PlatformCaps_CAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phm_cap_unset
LBB0_6:
	movq	_PP_OVERDRIVE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:
	movl	$1, 4(%rbx)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PP_SCLK_DEEP_SLEEP_MASK,4,2    ## @PP_SCLK_DEEP_SLEEP_MASK
	.comm	_PHM_PlatformCaps_SclkDeepSleep,4,2 ## @PHM_PlatformCaps_SclkDeepSleep
	.comm	_PP_POWER_CONTAINMENT_MASK,4,2  ## @PP_POWER_CONTAINMENT_MASK
	.comm	_PHM_PlatformCaps_PowerContainment,4,2 ## @PHM_PlatformCaps_PowerContainment
	.comm	_PHM_PlatformCaps_CAC,4,2       ## @PHM_PlatformCaps_CAC
	.comm	_PP_OVERDRIVE_MASK,4,2          ## @PP_OVERDRIVE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hwmgr_set_user_specify_caps    ; -- Begin function hwmgr_set_user_specify_caps
	.p2align	2
_hwmgr_set_user_specify_caps:           ; @hwmgr_set_user_specify_caps
	.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	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PP_SCLK_DEEP_SLEEP_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PP_SCLK_DEEP_SLEEP_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x10, _PHM_PlatformCaps_SclkDeepSleep@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PHM_PlatformCaps_SclkDeepSleep@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x10]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_phm_cap_set
	b	LBB0_3
LBB0_2:
	bl	_phm_cap_unset
LBB0_3:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _PP_POWER_CONTAINMENT_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PP_POWER_CONTAINMENT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x10, _PHM_PlatformCaps_PowerContainment@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PHM_PlatformCaps_PowerContainment@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x10]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	bl	_phm_cap_set
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x8, _PHM_PlatformCaps_CAC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PHM_PlatformCaps_CAC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_phm_cap_set
	b	LBB0_6
LBB0_5:
	bl	_phm_cap_unset
	ldr	w0, [x19, #8]
Lloh15:
	adrp	x8, _PHM_PlatformCaps_CAC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PHM_PlatformCaps_CAC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_phm_cap_unset
LBB0_6:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _PP_OVERDRIVE_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PP_OVERDRIVE_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PP_SCLK_DEEP_SLEEP_MASK,4,2    ; @PP_SCLK_DEEP_SLEEP_MASK
	.comm	_PHM_PlatformCaps_SclkDeepSleep,4,2 ; @PHM_PlatformCaps_SclkDeepSleep
	.comm	_PP_POWER_CONTAINMENT_MASK,4,2  ; @PP_POWER_CONTAINMENT_MASK
	.comm	_PHM_PlatformCaps_PowerContainment,4,2 ; @PHM_PlatformCaps_PowerContainment
	.comm	_PHM_PlatformCaps_CAC,4,2       ; @PHM_PlatformCaps_CAC
	.comm	_PP_OVERDRIVE_MASK,4,2          ; @PP_OVERDRIVE_MASK
.subsections_via_symbols
