	.file	"extr_exynos_drm_fimd.c_fimd_disable_vblank.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fimd_disable_vblank, @function
fimd_disable_vblank:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, QWORD PTR [rdi]
	cmp	QWORD PTR 24[rbx], 0
	je	.L12
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xor	edi, edi
	lea	rsi, 16[rbx]
	call	test_and_clear_bit@PLT
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR VIDINTCON0[rip]
	add	rdi, QWORD PTR [rbx]
	call	readl@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR VIDINTCON0_INT_ENABLE[rip]
	not	eax
	and	eax, r8d
	cmp	QWORD PTR 8[rbx], 0
	je	.L5
	mov	edi, DWORD PTR VIDINTCON0_INT_I80IFDONE[rip]
	or	edi, DWORD PTR VIDINTCON0_INT_SYSMAINCON[rip]
	or	edi, DWORD PTR VIDINTCON0_INT_SYSSUBCON[rip]
	not	edi
	and	edi, eax
.L6:
	mov	rsi, QWORD PTR VIDINTCON0[rip]
	add	rsi, QWORD PTR [rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	writel@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR VIDINTCON0_INT_FRAME[rip]
	not	edi
	and	edi, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	fimd_disable_vblank, .-fimd_disable_vblank
	.comm	VIDINTCON0_INT_SYSSUBCON,4,4
	.comm	VIDINTCON0_INT_SYSMAINCON,4,4
	.comm	VIDINTCON0_INT_I80IFDONE,4,4
	.comm	VIDINTCON0_INT_FRAME,4,4
	.comm	VIDINTCON0_INT_ENABLE,4,4
	.comm	VIDINTCON0,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_drm_fimd.c_fimd_disable_vblank.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fimd_disable_vblank, %function
fimd_disable_vblank:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	ldr	r0, [r4, #12]
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	add	r1, r4, #8
	bl	test_and_clear_bit
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r5, .L12
	ldr	r0, [r4]
	ldr	r3, [r5]
	add	r0, r0, r3
	bl	readl
	ldr	r3, .L12+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, #0
	bic	r0, r0, r3
	ldrne	r1, .L12+8
	ldrne	r3, .L12+12
	ldrne	r2, .L12+16
	ldrne	r3, [r3]
	ldreq	r3, .L12+20
	ldrne	r1, [r1]
	ldrne	r2, [r2]
	orrne	r3, r3, r1
	ldreq	r3, [r3]
	orrne	r3, r3, r2
	ldr	r1, [r4]
	bic	r0, r0, r3
	ldr	r3, [r5]
	pop	{r4, r5, r6, lr}
	add	r1, r1, r3
	b	writel
.L13:
	.align	2
.L12:
	.word	VIDINTCON0
	.word	VIDINTCON0_INT_ENABLE
	.word	VIDINTCON0_INT_SYSMAINCON
	.word	VIDINTCON0_INT_I80IFDONE
	.word	VIDINTCON0_INT_SYSSUBCON
	.word	VIDINTCON0_INT_FRAME
	.size	fimd_disable_vblank, .-fimd_disable_vblank
	.comm	VIDINTCON0_INT_SYSSUBCON,4,4
	.comm	VIDINTCON0_INT_SYSMAINCON,4,4
	.comm	VIDINTCON0_INT_I80IFDONE,4,4
	.comm	VIDINTCON0_INT_FRAME,4,4
	.comm	VIDINTCON0_INT_ENABLE,4,4
	.comm	VIDINTCON0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
