	.file	"extr_tilcdc_crtc.c_set_scanout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_scanout, @function
set_scanout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	r12, QWORD PTR 16[rdi]
	xor	esi, esi
	mov	rdi, rbx
	call	drm_fb_cma_get_gem_obj@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	esi, DWORD PTR LCDC_DMA_FB_BASE_ADDR_0_REG[rip]
	mov	rdi, r12
	mov	eax, DWORD PTR [rax]
	add	eax, DWORD PTR [rdx]
	mov	ecx, eax
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR [rax]
	imul	edx, DWORD PTR 0[rbp]
	lea	eax, [rcx+rdx]
	mov	rdx, QWORD PTR 16[rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdx, QWORD PTR [rdx]
	mov	edx, DWORD PTR [rdx]
	imul	edx, DWORD PTR 4[rbp]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	add	edx, eax
	jmp	tilcdc_write64@PLT
	.cfi_endproc
.LFE0:
	.size	set_scanout, .-set_scanout
	.comm	LCDC_DMA_FB_BASE_ADDR_0_REG,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_tilcdc_crtc.c_set_scanout.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_scanout, %function
set_scanout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r0, r1
	mov	r1, #0
	ldr	r6, [r5, #12]
	bl	drm_fb_cma_get_gem_obj
	ldm	r4, {r2, r3}
	ldr	ip, [r0]
	ldr	r2, [r2]
	ldr	r0, [r5]
	ldr	r1, [r4, #8]
	ldr	r3, [r3]
	add	r2, r2, ip
	mla	r3, r0, r3, r2
	ldr	r1, [r1]
	ldr	ip, [r5, #4]
	ldr	r2, [r1]
	ldr	r1, .L4
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	mla	r2, ip, r2, r3
	ldr	r1, [r1]
	b	tilcdc_write64
.L5:
	.align	2
.L4:
	.word	LCDC_DMA_FB_BASE_ADDR_0_REG
	.size	set_scanout, .-set_scanout
	.comm	LCDC_DMA_FB_BASE_ADDR_0_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
