	.file	"extr_db8500_thermal.c_db8500_thermal_update_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	db8500_thermal_update_config, @function
db8500_thermal_update_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	call	prcmu_stop_temp_sense@PLT
	lea	rax, [rbx+rbp]
	shr	rbp, 3
	movabs	rdi, 2361183241434822607
	shr	rax
	shr	rbx, 3
	mov	DWORD PTR [r12], r14d
	mov	QWORD PTR 8[r12], rax
	mov	rax, rbp
	mul	rdi
	mov	rax, rbx
	mov	DWORD PTR 16[r12], r13d
	mov	rsi, rdx
	mul	rdi
	shr	rsi, 4
	mov	rdi, rdx
	shr	rdi, 4
	call	prcmu_config_hotmon@PLT
	mov	edi, DWORD PTR PRCMU_DEFAULT_MEASURE_TIME[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	prcmu_start_temp_sense@PLT
	.cfi_endproc
.LFE0:
	.size	db8500_thermal_update_config, .-db8500_thermal_update_config
	.comm	PRCMU_DEFAULT_MEASURE_TIME,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_db8500_thermal.c_db8500_thermal_update_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	db8500_thermal_update_config, %function
db8500_thermal_update_config:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	mov	r5, r0
	mov	r7, r1
	mov	r6, r2
	ldr	r8, [sp, #24]
	bl	prcmu_stop_temp_sense
	ldr	ip, .L4
	str	r7, [r5]
	umull	r3, r0, ip, r4
	umull	r3, r1, ip, r8
	add	r4, r4, r8
	lsr	r4, r4, #1
	stmib	r5, {r4, r6}
	lsr	r0, r0, #6
	lsr	r1, r1, #6
	bl	prcmu_config_hotmon
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L4+4
	ldr	r0, [r3]
	b	prcmu_start_temp_sense
.L5:
	.align	2
.L4:
	.word	274877907
	.word	PRCMU_DEFAULT_MEASURE_TIME
	.size	db8500_thermal_update_config, .-db8500_thermal_update_config
	.comm	PRCMU_DEFAULT_MEASURE_TIME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
