	.file	"extr_vega10_thermal.c_vega10_thermal_get_temperature.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vega10_thermal_get_temperature
	.type	vega10_thermal_get_temperature, @function
vega10_thermal_get_temperature:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edx, DWORD PTR mmCG_MULT_THERMAL_STATUS[rip]
	mov	edi, DWORD PTR THM[rip]
	xor	esi, esi
	call	RREG32_SOC15@PLT
	mov	ecx, DWORD PTR CG_MULT_THERMAL_STATUS__CTF_TEMP__SHIFT[rip]
	and	eax, DWORD PTR CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK[rip]
	sar	eax, cl
	and	eax, 511
	imul	eax, DWORD PTR PP_TEMPERATURE_UNITS_PER_CENTIGRADES[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vega10_thermal_get_temperature, .-vega10_thermal_get_temperature
	.comm	mmCG_MULT_THERMAL_STATUS,4,4
	.comm	THM,4,4
	.comm	PP_TEMPERATURE_UNITS_PER_CENTIGRADES,4,4
	.comm	CG_MULT_THERMAL_STATUS__CTF_TEMP__SHIFT,4,4
	.comm	CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_vega10_thermal.c_vega10_thermal_get_temperature.c"
	.text
	.align	2
	.global	vega10_thermal_get_temperature
	.syntax unified
	.arm
	.fpu softvfp
	.type	vega10_thermal_get_temperature, %function
vega10_thermal_get_temperature:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	ldr	r2, .L4+4
	mov	r1, #0
	push	{r4, lr}
	ldr	r2, [r2]
	ldr	r0, [r3]
	bl	RREG32_SOC15
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r2, [r2]
	ldr	ip, .L4+16
	ldr	r1, [r3]
	ldr	r3, .L4+20
	and	r2, r2, r0
	ldr	r0, [ip]
	and	r3, r3, r2, asr r1
	mul	r0, r3, r0
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	THM
	.word	mmCG_MULT_THERMAL_STATUS
	.word	CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK
	.word	CG_MULT_THERMAL_STATUS__CTF_TEMP__SHIFT
	.word	PP_TEMPERATURE_UNITS_PER_CENTIGRADES
	.word	511
	.size	vega10_thermal_get_temperature, .-vega10_thermal_get_temperature
	.comm	mmCG_MULT_THERMAL_STATUS,4,4
	.comm	THM,4,4
	.comm	PP_TEMPERATURE_UNITS_PER_CENTIGRADES,4,4
	.comm	CG_MULT_THERMAL_STATUS__CTF_TEMP__SHIFT,4,4
	.comm	CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
