	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega20_thermal_enable_alert
_vega20_thermal_enable_alert:           ## @vega20_thermal_enable_alert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %dl
	movq	_THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	btsl	%edx, %eax
	movq	_THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_THM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_mmTHM_THERMAL_INT_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_WREG32_SOC15
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT,4,2 ## @THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT
	.comm	_THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT,4,2 ## @THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT
	.comm	_THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT,4,2 ## @THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT
	.comm	_THM,4,2                        ## @THM
	.comm	_mmTHM_THERMAL_INT_ENA,4,2      ## @mmTHM_THERMAL_INT_ENA
	.no_dead_strip	_vega20_thermal_enable_alert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega20_thermal_enable_alert
_vega20_thermal_enable_alert:           ; @vega20_thermal_enable_alert
	.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
Lloh0:
	adrp	x8, _THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh6:
	adrp	x10, _THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w3, w8, w9
Lloh9:
	adrp	x8, _THM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _THM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _mmTHM_THERMAL_INT_ENA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mmTHM_THERMAL_INT_ENA@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_WREG32_SOC15
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.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	_THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT,4,2 ; @THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT
	.comm	_THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT,4,2 ; @THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT
	.comm	_THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT,4,2 ; @THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT
	.comm	_THM,4,2                        ; @THM
	.comm	_mmTHM_THERMAL_INT_ENA,4,2      ; @mmTHM_THERMAL_INT_ENA
	.no_dead_strip	_vega20_thermal_enable_alert
.subsections_via_symbols
