	.file	"extr_ipuv3-plane.c_drm_plane_state_to_ubo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	drm_plane_state_to_ubo, @function
drm_plane_state_to_ubo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	esi, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR 8[rdi]
	mov	rbx, rdi
	call	drm_plane_state_to_eba@PLT
	mov	r12d, DWORD PTR [rbx]
	mov	esi, 1
	mov	rdi, r14
	movsx	ebx, WORD PTR 6[rbx]
	mov	rbp, rax
	call	drm_fb_cma_get_gem_obj@PLT
	sar	r12d, 16
	xor	edi, edi
	test	rax, rax
	mov	r13, rax
	sete	dil
	call	BUG_ON@PLT
	mov	rcx, QWORD PTR 16[r14]
	mov	eax, ebx
	mov	rsi, QWORD PTR 8[r14]
	cdq
	idiv	DWORD PTR 4[rcx]
	mov	ebx, DWORD PTR 4[rsi]
	mov	rsi, QWORD PTR 8[rcx]
	imul	ebx, eax
	mov	eax, r12d
	cdq
	idiv	DWORD PTR [rcx]
	mov	rdx, QWORD PTR [r14]
	movsx	rbx, ebx
	imul	eax, DWORD PTR 4[rsi]
	cdqe
	add	rax, rbx
	add	rax, QWORD PTR 8[rdx]
	add	rax, QWORD PTR 0[r13]
	pop	rbx
	.cfi_def_cfa_offset 40
	sub	rax, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	drm_plane_state_to_ubo, .-drm_plane_state_to_ubo
	.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_ipuv3-plane.c_drm_plane_state_to_ubo.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_plane_state_to_ubo, %function
drm_plane_state_to_ubo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #0
	ldr	r7, [r0, #8]
	mov	r4, r0
	bl	drm_plane_state_to_eba
	mov	r1, #1
	mov	r6, r0
	mov	r0, r7
	ldrsh	r9, [r4, #2]
	ldrsh	r4, [r4, #6]
	bl	drm_fb_cma_get_gem_obj
	mov	r8, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r5, [r7, #8]
	mov	r0, r9
	ldr	r1, [r5]
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r2, [r5, #8]
	mov	r0, r4
	ldr	r4, [r2, #4]
	ldr	r1, [r5, #4]
	mul	r4, r3, r4
	bl	__aeabi_idiv
	ldm	r7, {r2, r3}
	ldr	r3, [r3, #4]
	ldr	r2, [r2, #4]
	mla	r3, r0, r3, r4
	ldr	r0, [r8]
	add	r3, r3, r2
	add	r0, r3, r0
	sub	r0, r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	drm_plane_state_to_ubo, .-drm_plane_state_to_ubo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
