	.file	"extr_tegra-smmu.c_tegra_smmu_set_pde.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tegra_smmu_set_pde, @function
tegra_smmu_set_pde:
.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
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	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
	mov	rbx, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	iova_pd_index@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	r12, QWORD PTR 16[rbx]
	mov	ebp, eax
	call	page_address@PLT
	mov	ecx, 4
	mov	r8, rax
	mov	eax, ebp
	mov	DWORD PTR [r8+rax*4], r14d
	lea	r15, 0[0+rax*4]
	mov	esi, DWORD PTR 4[rbx]
	mov	r8d, DWORD PTR DMA_TO_DEVICE[rip]
	mov	edi, DWORD PTR [r12]
	mov	rdx, r15
	call	dma_sync_single_range_for_device@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdx, r15
	mov	rdi, r12
	call	smmu_flush_ptc@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r12
	mov	rdx, r13
	call	smmu_flush_tlb_section@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	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
	jmp	smmu_flush@PLT
	.cfi_endproc
.LFE0:
	.size	tegra_smmu_set_pde, .-tegra_smmu_set_pde
	.comm	DMA_TO_DEVICE,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_tegra-smmu.c_tegra_smmu_set_pde.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tegra_smmu_set_pde, %function
tegra_smmu_set_pde:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	sub	sp, sp, #8
	mov	r0, r1
	mov	r7, r1
	mov	r8, r2
	bl	iova_pd_index
	mov	r5, r0
	ldr	r0, [r4, #8]
	ldr	r6, [r4, #12]
	bl	page_address
	ldr	r3, .L4
	str	r8, [r0, r5, lsl #2]
	ldr	r3, [r3]
	ldr	r0, [r6]
	lsl	r5, r5, #2
	str	r3, [sp]
	mov	r2, r5
	mov	r3, #4
	ldr	r1, [r4, #4]
	bl	dma_sync_single_range_for_device
	mov	r2, r5
	ldr	r1, [r4, #4]
	mov	r0, r6
	bl	smmu_flush_ptc
	mov	r2, r7
	mov	r0, r6
	ldr	r1, [r4]
	bl	smmu_flush_tlb_section
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	smmu_flush
.L5:
	.align	2
.L4:
	.word	DMA_TO_DEVICE
	.size	tegra_smmu_set_pde, .-tegra_smmu_set_pde
	.comm	DMA_TO_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
