	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_platform_caps
_set_platform_caps:                     ## @set_platform_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_ATOM_VEGA20_PP_PLATFORM_CAP_POWERPLAY@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%sil
	movq	_PHM_PlatformCaps_PowerPlaySupport@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_set_hw_cap
	movq	_ATOM_VEGA20_PP_PLATFORM_CAP_SBIOSPOWERSOURCE@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%sil
	movq	_PHM_PlatformCaps_BiosPowerSourceControl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_hw_cap
	movq	_ATOM_VEGA20_PP_PLATFORM_CAP_BACO@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%sil
	movq	_PHM_PlatformCaps_BACO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_hw_cap
	movq	_ATOM_VEGA20_PP_PLATFORM_CAP_BAMACO@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	andl	(%rax), %ebx
	setne	%sil
	movq	_PHM_PlatformCaps_BAMACO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_hw_cap
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_POWERPLAY,4,2 ## @ATOM_VEGA20_PP_PLATFORM_CAP_POWERPLAY
	.comm	_PHM_PlatformCaps_PowerPlaySupport,4,2 ## @PHM_PlatformCaps_PowerPlaySupport
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_SBIOSPOWERSOURCE,4,2 ## @ATOM_VEGA20_PP_PLATFORM_CAP_SBIOSPOWERSOURCE
	.comm	_PHM_PlatformCaps_BiosPowerSourceControl,4,2 ## @PHM_PlatformCaps_BiosPowerSourceControl
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_BACO,4,2 ## @ATOM_VEGA20_PP_PLATFORM_CAP_BACO
	.comm	_PHM_PlatformCaps_BACO,4,2      ## @PHM_PlatformCaps_BACO
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_BAMACO,4,2 ## @ATOM_VEGA20_PP_PLATFORM_CAP_BAMACO
	.comm	_PHM_PlatformCaps_BAMACO,4,2    ## @PHM_PlatformCaps_BAMACO
	.no_dead_strip	_set_platform_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_platform_caps
_set_platform_caps:                     ; @set_platform_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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ATOM_VEGA20_PP_PLATFORM_CAP_POWERPLAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_VEGA20_PP_PLATFORM_CAP_POWERPLAY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	cset	w1, ne
Lloh3:
	adrp	x8, _PHM_PlatformCaps_PowerPlaySupport@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHM_PlatformCaps_PowerPlaySupport@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_set_hw_cap
Lloh6:
	adrp	x8, _ATOM_VEGA20_PP_PLATFORM_CAP_SBIOSPOWERSOURCE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATOM_VEGA20_PP_PLATFORM_CAP_SBIOSPOWERSOURCE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w1, ne
Lloh9:
	adrp	x8, _PHM_PlatformCaps_BiosPowerSourceControl@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PHM_PlatformCaps_BiosPowerSourceControl@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_set_hw_cap
Lloh12:
	adrp	x8, _ATOM_VEGA20_PP_PLATFORM_CAP_BACO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ATOM_VEGA20_PP_PLATFORM_CAP_BACO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w1, ne
Lloh15:
	adrp	x8, _PHM_PlatformCaps_BACO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PHM_PlatformCaps_BACO@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_set_hw_cap
Lloh18:
	adrp	x8, _ATOM_VEGA20_PP_PLATFORM_CAP_BAMACO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ATOM_VEGA20_PP_PLATFORM_CAP_BAMACO@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w1, ne
Lloh21:
	adrp	x8, _PHM_PlatformCaps_BAMACO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PHM_PlatformCaps_BAMACO@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_set_hw_cap
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_POWERPLAY,4,2 ; @ATOM_VEGA20_PP_PLATFORM_CAP_POWERPLAY
	.comm	_PHM_PlatformCaps_PowerPlaySupport,4,2 ; @PHM_PlatformCaps_PowerPlaySupport
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_SBIOSPOWERSOURCE,4,2 ; @ATOM_VEGA20_PP_PLATFORM_CAP_SBIOSPOWERSOURCE
	.comm	_PHM_PlatformCaps_BiosPowerSourceControl,4,2 ; @PHM_PlatformCaps_BiosPowerSourceControl
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_BACO,4,2 ; @ATOM_VEGA20_PP_PLATFORM_CAP_BACO
	.comm	_PHM_PlatformCaps_BACO,4,2      ; @PHM_PlatformCaps_BACO
	.comm	_ATOM_VEGA20_PP_PLATFORM_CAP_BAMACO,4,2 ; @ATOM_VEGA20_PP_PLATFORM_CAP_BAMACO
	.comm	_PHM_PlatformCaps_BAMACO,4,2    ; @PHM_PlatformCaps_BAMACO
	.no_dead_strip	_set_platform_caps
.subsections_via_symbols
