	.file	"extr_si_dma.c_si_dma_vm_set_pages.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	si_dma_vm_set_pages
	.type	si_dma_vm_set_pages, @function
si_dma_vm_set_pages:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], r9d
	test	r8d, r8d
	je	.L1
	mov	rax, QWORD PTR [rsi]
	mov	rbx, rsi
	mov	r15d, edx
	mov	r14d, ecx
	mov	r13d, r8d
	.p2align 4,,10
	.p2align 3
.L4:
	movsx	rdx, DWORD PTR 8[rbx]
	lea	ebp, [r13+r13]
	mov	edi, 1048574
	mov	r9d, 0
	cmp	ebp, 1048574
	lea	esi, 1[rdx]
	cmova	ebp, edi
	mov	edi, DWORD PTR R600_PTE_VALID[rip]
	test	DWORD PTR 80[rsp], edi
	mov	DWORD PTR 8[rbx], esi
	cmovne	r9d, r14d
	lea	rdx, [rax+rdx*4]
	mov	edi, ebp
	mov	QWORD PTR [rsp], rdx
	mov	r12d, r9d
	call	DMA_PTE_PDE_PACKET@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	edi, r15d
	mov	DWORD PTR [rdx], eax
	movsx	rax, DWORD PTR 8[rbx]
	mov	rdx, QWORD PTR [rbx]
	lea	esi, 1[rax]
	mov	DWORD PTR 8[rbx], esi
	mov	DWORD PTR [rdx+rax*4], r15d
	lea	r15d, [r15+rbp*4]
	shr	ebp
	call	upper_32_bits@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	edi, DWORD PTR 80[rsp]
	mov	r10d, eax
	movsx	rax, DWORD PTR 8[rbx]
	lea	esi, 1[rax]
	mov	DWORD PTR 8[rbx], esi
	movzx	esi, r10b
	mov	DWORD PTR [rdx+rax*4], esi
	movsx	rax, DWORD PTR 8[rbx]
	lea	esi, 1[rax]
	mov	DWORD PTR 8[rbx], esi
	mov	DWORD PTR [rdx+rax*4], edi
	movsx	rax, DWORD PTR 8[rbx]
	mov	edi, r12d
	lea	esi, 1[rax]
	mov	DWORD PTR 8[rbx], esi
	mov	DWORD PTR [rdx+rax*4], 0
	movsx	rax, DWORD PTR 8[rbx]
	lea	esi, 1[rax]
	mov	DWORD PTR 8[rbx], esi
	mov	DWORD PTR [rdx+rax*4], r12d
	call	upper_32_bits@PLT
	movsx	rdx, DWORD PTR 8[rbx]
	mov	ecx, DWORD PTR 12[rsp]
	mov	r9d, eax
	mov	rax, QWORD PTR [rbx]
	lea	esi, 1[rdx]
	mov	DWORD PTR 8[rbx], esi
	mov	DWORD PTR [rax+rdx*4], r9d
	movsx	rdx, DWORD PTR 8[rbx]
	lea	esi, 1[rdx]
	mov	DWORD PTR 8[rbx], esi
	mov	DWORD PTR [rax+rdx*4], ecx
	imul	ecx, ebp
	movsx	rsi, DWORD PTR 8[rbx]
	lea	edx, 1[rsi]
	mov	DWORD PTR 8[rbx], edx
	add	r14d, ecx
	mov	DWORD PTR [rax+rsi*4], 0
	sub	r13d, ebp
	jne	.L4
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	si_dma_vm_set_pages, .-si_dma_vm_set_pages
	.comm	R600_PTE_VALID,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_si_dma.c_si_dma_vm_set_pages.c"
	.text
	.align	2
	.global	si_dma_vm_set_pages
	.syntax unified
	.arm
	.fpu softvfp
	.type	si_dma_vm_set_pages, %function
si_dma_vm_set_pages:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	ldr	r8, [sp, #48]
	cmp	r8, #0
	beq	.L1
	mov	r9, r3
	mov	fp, #0
	mov	r4, r1
	mov	r7, r2
	ldr	r6, [r1]
	ldr	r2, .L10
	ldr	r1, .L10+4
.L4:
	lsl	r5, r8, #1
	cmp	r5, r2
	movcs	r5, r2
	ldr	r3, [r4, #4]
	ldr	ip, [r1]
	add	lr, r3, #1
	str	r3, [sp, #4]
	ldr	r3, [sp, #56]
	str	lr, [r4, #4]
	tst	r3, ip
	mov	r0, r5
	movne	r10, r9
	moveq	r10, #0
	bl	DMA_PTE_PDE_PACKET
	ldr	r3, [sp, #4]
	ldr	ip, [r4]
	str	r0, [r6, r3, lsl #2]
	ldr	r3, [r4, #4]
	add	r0, r3, #1
	str	r0, [r4, #4]
	str	r7, [ip, r3, lsl #2]
	mov	r0, r7
	bl	upper_32_bits
	ldm	r4, {r3, ip}
	and	r0, r0, #255
	add	lr, ip, #1
	str	lr, [r4, #4]
	str	r0, [r3, ip, lsl #2]
	ldr	r0, [r4, #4]
	ldr	r2, [sp, #56]
	add	ip, r0, #1
	str	ip, [r4, #4]
	str	r2, [r3, r0, lsl #2]
	ldr	ip, [r4, #4]
	mov	r0, r10
	add	lr, ip, #1
	str	lr, [r4, #4]
	str	fp, [r3, ip, lsl #2]
	ldr	ip, [r4, #4]
	add	r7, r7, r5, lsl #2
	add	lr, ip, #1
	str	lr, [r4, #4]
	str	r10, [r3, ip, lsl #2]
	bl	upper_32_bits
	ldr	r3, [r4, #4]
	ldr	r6, [r4]
	add	ip, r3, #1
	str	ip, [r4, #4]
	str	r0, [r6, r3, lsl #2]
	ldr	r3, [r4, #4]
	ldr	r2, [sp, #52]
	add	r0, r3, #1
	lsr	r5, r5, #1
	str	r0, [r4, #4]
	str	r2, [r6, r3, lsl #2]
	mla	r2, r5, r2, r9
	ldr	r3, [r4, #4]
	subs	r8, r8, r5
	add	r0, r3, #1
	mov	r9, r2
	str	r0, [r4, #4]
	ldr	r1, .L10+4
	ldr	r2, .L10
	str	fp, [r6, r3, lsl #2]
	bne	.L4
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	.align	2
.L10:
	.word	1048574
	.word	R600_PTE_VALID
	.size	si_dma_vm_set_pages, .-si_dma_vm_set_pages
	.comm	R600_PTE_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
