	.file	"extr_nv25.c_nv25_fb_tile_comp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nv25_fb_tile_comp, @function
nv25_fb_tile_comp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 64
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, r8
	call	DIV_ROUND_UP@PLT
	mov	esi, 64
	cdq
	idiv	DWORD PTR 4[rbp]
	mov	edi, eax
	call	round_up@PLT
	lea	r9, 8[rbx]
	mov	esi, 1
	mov	rdi, rbp
	mov	edx, eax
	mov	r8d, 1
	mov	ecx, eax
	call	nouveau_mm_head@PLT
	test	eax, eax
	jne	.L1
	and	r12d, 2
	mov	rdx, QWORD PTR 8[rbx]
	cmp	r12d, 1
	sbb	eax, eax
	and	eax, -1048576
	add	eax, 2097152
	or	eax, DWORD PTR [rdx]
	mov	DWORD PTR [rbx], eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nv25_fb_tile_comp, .-nv25_fb_tile_comp
	.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_nv25.c_nv25_fb_tile_comp.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv25_fb_tile_comp, %function
nv25_fb_tile_comp:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #8
	mov	r0, r2
	mov	r1, #64
	mov	r5, r3
	ldr	r6, [sp, #24]
	bl	DIV_ROUND_UP
	ldr	r1, [r4, #4]
	bl	__aeabi_idiv
	mov	r1, #64
	bl	round_up
	mov	r1, #1
	mov	r3, r0
	add	ip, r6, #4
	mov	r0, r4
	mov	r2, r3
	stm	sp, {r1, ip}
	bl	nouveau_mm_head
	cmp	r0, #0
	bne	.L1
	tst	r5, #2
	moveq	r2, #1048576
	movne	r2, #2097152
	ldr	r3, [r6, #4]
	ldr	r3, [r3]
	orr	r3, r3, r2
	str	r3, [r6]
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
	.size	nv25_fb_tile_comp, .-nv25_fb_tile_comp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
