	.file	"extr_shmob_drm_crtc.c_shmob_drm_crtc_compute_base.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	shmob_drm_crtc_compute_base, @function
shmob_drm_crtc_compute_base:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 16[rdi]
	mov	ebx, 8
	mov	r14, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rdi]
	cmp	QWORD PTR 8[rax], 0
	jne	.L2
	mov	ebx, DWORD PTR [rax]
.L2:
	xor	esi, esi
	imul	ebx, r13d
	mov	rdi, r14
	call	drm_fb_cma_get_gem_obj@PLT
	mov	rdx, QWORD PTR 8[r14]
	mov	rcx, QWORD PTR [r12]
	mov	rax, QWORD PTR [rax]
	add	rax, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [r14]
	shr	ebx, 3
	mov	esi, DWORD PTR [rdx]
	imul	esi, ebp
	movsx	rdx, esi
	add	rax, rdx
	add	rbx, rax
	mov	rax, QWORD PTR 8[r12]
	mov	QWORD PTR [rcx], rbx
	cmp	QWORD PTR 8[rax], 0
	jne	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	ebx, DWORD PTR [rax]
	mov	esi, 1
	mov	rdi, r14
	call	drm_fb_cma_get_gem_obj@PLT
	mov	rdx, QWORD PTR 8[r14]
	sub	ebx, 8
	mov	rax, QWORD PTR [rax]
	add	rax, QWORD PTR 8[rdx]
	cmp	ebx, 4
	je	.L4
	mov	rdx, QWORD PTR [r14]
	imul	ebp, DWORD PTR 4[rdx]
	lea	edx, [r13+r13]
	movsx	rbp, ebp
	add	rax, rbp
	cmp	ebx, 16
	cmove	r13d, edx
.L5:
	mov	rdx, QWORD PTR [r12]
	movsx	r13, r13d
	add	rax, r13
	mov	QWORD PTR 8[rdx], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, ebp
	mov	rcx, QWORD PTR [r14]
	shr	edx, 31
	add	ebp, edx
	sar	ebp
	imul	ebp, DWORD PTR 4[rcx]
	movsx	rbp, ebp
	add	rax, rbp
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	shmob_drm_crtc_compute_base, .-shmob_drm_crtc_compute_base
	.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_shmob_drm_crtc.c_shmob_drm_crtc_compute_base.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shmob_drm_crtc_compute_base, %function
shmob_drm_crtc_compute_base:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, [r0, #4]
	mov	r7, r1
	ldr	r1, [r4, #8]
	ldr	r0, [r3, #4]
	ldr	r5, [r1]
	cmp	r0, #0
	mov	r1, #0
	mov	r0, r5
	ldreq	r8, [r3]
	mov	r6, r2
	movne	r8, #8
	bl	drm_fb_cma_get_gem_obj
	ldr	r2, [r5, #4]
	ldr	r3, [r5]
	ldr	r1, [r0]
	ldr	r2, [r2]
	ldr	r3, [r3]
	add	r2, r2, r1
	mla	r3, r6, r3, r2
	mul	r8, r7, r8
	ldr	r1, [r4]
	ldr	r2, [r4, #4]
	add	r3, r3, r8, lsr #3
	str	r3, [r1]
	ldr	r3, [r2, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, #1
	mov	r0, r5
	ldr	r8, [r2]
	bl	drm_fb_cma_get_gem_obj
	ldr	r3, [r5, #4]
	ldr	r2, [r0]
	ldr	r3, [r3, #4]
	sub	r8, r8, #8
	cmp	r8, #4
	add	r2, r3, r2
	ldr	r3, [r5]
	beq	.L4
	ldr	r3, [r3, #4]
	cmp	r8, #16
	mla	r6, r3, r6, r2
	lsleq	r7, r7, #1
.L5:
	ldr	r3, [r4]
	add	r7, r7, r6
	str	r7, [r3, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r1, [r3, #4]
	add	r6, r6, r6, lsr #31
	asr	r3, r6, #1
	mla	r6, r1, r3, r2
	b	.L5
	.size	shmob_drm_crtc_compute_base, .-shmob_drm_crtc_compute_base
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
