	.file	"extr_exynos_tmu.c_exynos4412_tmu_initialize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	exynos4412_tmu_initialize, @function
exynos4412_tmu_initialize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	call	platform_get_drvdata@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR SOC_ARCH_EXYNOS3250[rip]
	je	.L2
	cmp	rax, QWORD PTR SOC_ARCH_EXYNOS4412[rip]
	je	.L3
	cmp	rax, QWORD PTR SOC_ARCH_EXYNOS5250[rip]
	jne	.L4
.L3:
	mov	rdi, QWORD PTR EXYNOS_TMU_TRIMINFO_CON2[rip]
	add	rdi, QWORD PTR 8[rbp]
	call	readl@PLT
	or	eax, DWORD PTR EXYNOS_TRIMINFO_RELOAD_ENABLE[rip]
	mov	rsi, QWORD PTR EXYNOS_TMU_TRIMINFO_CON2[rip]
	mov	edi, eax
	add	rsi, QWORD PTR 8[rbp]
	call	writel@PLT
	mov	rax, QWORD PTR 0[rbp]
.L4:
	cmp	QWORD PTR SOC_ARCH_EXYNOS5420_TRIMINFO[rip], rax
	mov	rdi, QWORD PTR EXYNOS_TMU_REG_TRIMINFO[rip]
	je	.L9
	add	rdi, QWORD PTR 8[rbp]
	call	readl@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	sanitize_temp_error@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	add	rdi, QWORD PTR 16[rbp]
	call	readl@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	sanitize_temp_error@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR EXYNOS_TMU_TRIMINFO_CON1[rip]
	add	rdi, QWORD PTR 8[rbp]
	call	readl@PLT
	or	eax, DWORD PTR EXYNOS_TRIMINFO_RELOAD_ENABLE[rip]
	mov	rsi, QWORD PTR EXYNOS_TMU_TRIMINFO_CON1[rip]
	mov	edi, eax
	add	rsi, QWORD PTR 8[rbp]
	call	writel@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	exynos4412_tmu_initialize, .-exynos4412_tmu_initialize
	.comm	SOC_ARCH_EXYNOS5420_TRIMINFO,8,8
	.comm	SOC_ARCH_EXYNOS5250,8,8
	.comm	SOC_ARCH_EXYNOS4412,8,8
	.comm	SOC_ARCH_EXYNOS3250,8,8
	.comm	EXYNOS_TRIMINFO_RELOAD_ENABLE,4,4
	.comm	EXYNOS_TMU_TRIMINFO_CON2,8,8
	.comm	EXYNOS_TMU_TRIMINFO_CON1,8,8
	.comm	EXYNOS_TMU_REG_TRIMINFO,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_exynos4412_tmu_initialize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exynos4412_tmu_initialize, %function
exynos4412_tmu_initialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	platform_get_drvdata
	ldr	r2, .L13
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r4, r0
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L13+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L11
	ldr	r2, .L13+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L11
.L4:
	ldr	r1, .L13+12
	ldr	r2, .L13+16
	ldr	r1, [r1]
	ldr	r2, [r2]
	cmp	r1, r3
	ldreq	r0, [r4, #8]
	ldrne	r0, [r4, #4]
	add	r0, r2, r0
	bl	readl
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	sanitize_temp_error
.L11:
	ldr	r6, .L13+20
.L3:
	ldr	r5, .L13+24
	ldr	r0, [r4, #4]
	ldr	r3, [r5]
	add	r0, r0, r3
	bl	readl
	ldr	r3, [r5]
	ldr	r2, [r6]
	ldr	r1, [r4, #4]
	orr	r0, r0, r2
	add	r1, r1, r3
	bl	writel
	ldr	r3, [r4]
	b	.L4
.L2:
	ldr	r5, .L13+28
	ldr	r0, [r0, #4]
	ldr	r3, [r5]
	ldr	r6, .L13+20
	add	r0, r0, r3
	bl	readl
	ldr	r2, [r5]
	ldr	r1, [r4, #4]
	ldr	r3, [r6]
	add	r1, r1, r2
	orr	r0, r0, r3
	bl	writel
	b	.L3
.L14:
	.align	2
.L13:
	.word	SOC_ARCH_EXYNOS3250
	.word	SOC_ARCH_EXYNOS4412
	.word	SOC_ARCH_EXYNOS5250
	.word	SOC_ARCH_EXYNOS5420_TRIMINFO
	.word	EXYNOS_TMU_REG_TRIMINFO
	.word	EXYNOS_TRIMINFO_RELOAD_ENABLE
	.word	EXYNOS_TMU_TRIMINFO_CON2
	.word	EXYNOS_TMU_TRIMINFO_CON1
	.size	exynos4412_tmu_initialize, .-exynos4412_tmu_initialize
	.comm	SOC_ARCH_EXYNOS5420_TRIMINFO,4,4
	.comm	SOC_ARCH_EXYNOS5250,4,4
	.comm	SOC_ARCH_EXYNOS4412,4,4
	.comm	SOC_ARCH_EXYNOS3250,4,4
	.comm	EXYNOS_TRIMINFO_RELOAD_ENABLE,4,4
	.comm	EXYNOS_TMU_TRIMINFO_CON2,4,4
	.comm	EXYNOS_TMU_TRIMINFO_CON1,4,4
	.comm	EXYNOS_TMU_REG_TRIMINFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
