	.file	"extr_exynos7_drm_decon.c_decon_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decon_init, @function
decon_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rsi, QWORD PTR VIDCON0[rip]
	mov	rbx, rdi
	add	rsi, QWORD PTR [rdi]
	mov	edi, DWORD PTR VIDCON0_SWRESET[rip]
	call	writel@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR VIDOUTCON0_DISP_IF_0_ON[rip]
	test	edx, edx
	jne	.L2
	or	edi, DWORD PTR VIDOUTCON0_RGBIF[rip]
.L2:
	mov	rsi, QWORD PTR VIDOUTCON0[rip]
	add	rsi, QWORD PTR [rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR VCLKCON0[rip]
	add	rsi, QWORD PTR [rbx]
	mov	edi, DWORD PTR VCLKCON0_CLKVALUP[rip]
	or	edi, DWORD PTR VCLKCON0_VCLKFREE[rip]
	call	writel@PLT
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	je	.L6
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rbx, QWORD PTR [rbx]
	xor	edi, edi
	call	VIDCON1@PLT
	mov	edi, DWORD PTR VIDCON1_VCLK_HOLD[rip]
	lea	rsi, [rbx+rax]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	writel@PLT
	.cfi_endproc
.LFE0:
	.size	decon_init, .-decon_init
	.comm	VIDOUTCON0_RGBIF,4,4
	.comm	VIDOUTCON0_DISP_IF_0_ON,4,4
	.comm	VIDOUTCON0,8,8
	.comm	VIDCON1_VCLK_HOLD,4,4
	.comm	VIDCON0_SWRESET,4,4
	.comm	VIDCON0,8,8
	.comm	VCLKCON0_VCLKFREE,4,4
	.comm	VCLKCON0_CLKVALUP,4,4
	.comm	VCLKCON0,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_exynos7_drm_decon.c_decon_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decon_init, %function
decon_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L6
	ldr	r1, [r0]
	ldr	r2, [r3]
	ldr	r3, .L6+4
	add	r1, r1, r2
	ldr	r0, [r3]
	bl	writel
	ldr	r2, [r4, #4]
	ldr	r3, .L6+8
	cmp	r2, #0
	ldr	r0, [r3]
	ldreq	r3, .L6+12
	ldr	r1, [r4]
	ldreq	r3, [r3]
	orreq	r0, r0, r3
	ldr	r3, .L6+16
	ldr	r3, [r3]
	add	r1, r1, r3
	bl	writel
	ldr	r2, .L6+20
	ldr	r0, .L6+24
	ldr	r3, .L6+28
	ldr	r2, [r2]
	ldr	r1, [r4]
	ldr	r0, [r0]
	ldr	r3, [r3]
	add	r1, r1, r2
	orr	r0, r0, r3
	bl	writel
	ldr	r0, [r4, #4]
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L6+32
	ldr	r4, [r4]
	ldr	r5, [r3]
	bl	VIDCON1
	mov	r1, r0
	mov	r0, r5
	add	r1, r4, r1
	pop	{r4, r5, r6, lr}
	b	writel
.L7:
	.align	2
.L6:
	.word	VIDCON0
	.word	VIDCON0_SWRESET
	.word	VIDOUTCON0_DISP_IF_0_ON
	.word	VIDOUTCON0_RGBIF
	.word	VIDOUTCON0
	.word	VCLKCON0
	.word	VCLKCON0_CLKVALUP
	.word	VCLKCON0_VCLKFREE
	.word	VIDCON1_VCLK_HOLD
	.size	decon_init, .-decon_init
	.comm	VIDOUTCON0_RGBIF,4,4
	.comm	VIDOUTCON0_DISP_IF_0_ON,4,4
	.comm	VIDOUTCON0,4,4
	.comm	VIDCON1_VCLK_HOLD,4,4
	.comm	VIDCON0_SWRESET,4,4
	.comm	VIDCON0,4,4
	.comm	VCLKCON0_VCLKFREE,4,4
	.comm	VCLKCON0_CLKVALUP,4,4
	.comm	VCLKCON0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
