	.file	"extr_exynos_tmu.c_exynos7_tmu_set_trip_temp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	exynos7_tmu_set_trip_temp, @function
exynos7_tmu_set_trip_temp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, 7
	mov	eax, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, 8
	sub	eax, esi
	sub	ebx, r15d
	mov	ebp, eax
	shr	ebp, 31
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR EXYNOS7_THD_TEMP_RISE7_6[rip]
	add	rdi, QWORD PTR [r12]
	add	ebp, eax
	sar	ebp
	sal	ebp, 2
	add	rdi, rbp
	call	readl@PLT
	mov	edx, ebx
	mov	esi, r13d
	mov	rdi, r12
	shr	edx, 31
	mov	r14d, DWORD PTR EXYNOS7_TMU_TEMP_MASK[rip]
	add	ebx, edx
	and	ebx, 1
	sub	ebx, edx
	sal	ebx, 4
	mov	ecx, ebx
	sal	r14d, cl
	not	r14d
	and	r14d, eax
	call	temp_to_code@PLT
	mov	ecx, ebx
	mov	rsi, QWORD PTR EXYNOS7_THD_TEMP_RISE7_6[rip]
	add	rsi, QWORD PTR [r12]
	sal	eax, cl
	add	rsp, 8
	.cfi_def_cfa_offset 56
	add	rsi, rbp
	or	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	edi, eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	writel@PLT
	.cfi_endproc
.LFE0:
	.size	exynos7_tmu_set_trip_temp, .-exynos7_tmu_set_trip_temp
	.comm	EXYNOS7_TMU_TEMP_MASK,4,4
	.comm	EXYNOS7_THD_TEMP_RISE7_6,8,8
	.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_exynos_tmu.c_exynos7_tmu_set_trip_temp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exynos7_tmu_set_trip_temp, %function
exynos7_tmu_set_trip_temp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, .L4
	mov	r6, r0
	mov	r4, r1
	ldr	r0, [r0]
	rsb	r3, r1, #7
	ldr	r1, [r7]
	add	r3, r3, r3, lsr #31
	asr	r3, r3, #1
	add	r0, r0, r1
	add	r0, r0, r3, lsl #2
	mov	r9, r2
	lsl	r5, r3, #2
	bl	readl
	mov	r8, r0
	rsbs	r4, r4, #8
	ldr	r3, .L4+4
	and	r4, r4, #1
	ldr	r3, [r3]
	rsbmi	r4, r4, #0
	mov	r1, r9
	lsl	r4, r4, #4
	mov	r0, r6
	bic	r8, r8, r3, lsl r4
	bl	temp_to_code
	ldr	r1, [r6]
	ldr	r3, [r7]
	orr	r0, r8, r0, lsl r4
	add	r1, r1, r3
	add	r1, r1, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	writel
.L5:
	.align	2
.L4:
	.word	EXYNOS7_THD_TEMP_RISE7_6
	.word	EXYNOS7_TMU_TEMP_MASK
	.size	exynos7_tmu_set_trip_temp, .-exynos7_tmu_set_trip_temp
	.comm	EXYNOS7_TMU_TEMP_MASK,4,4
	.comm	EXYNOS7_THD_TEMP_RISE7_6,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
