	.file	"extr_i915_gem_gtt.c_fini_aliasing_ppgtt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fini_aliasing_ppgtt, @function
fini_aliasing_ppgtt:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rdi, rbp
	call	mutex_lock@PLT
	lea	rdi, 16[rbx]
	call	fetch_and_zero@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rax
	call	i915_vm_put@PLT
	mov	eax, DWORD PTR ggtt_bind_vma[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR ggtt_unbind_vma[rip]
	mov	DWORD PTR [rbx], eax
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	fini_aliasing_ppgtt, .-fini_aliasing_ppgtt
	.comm	ggtt_unbind_vma,4,4
	.comm	ggtt_bind_vma,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_i915_gem_gtt.c_fini_aliasing_ppgtt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fini_aliasing_ppgtt, %function
fini_aliasing_ppgtt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, [r0, #8]
	mov	r0, r5
	bl	mutex_lock
	add	r0, r4, #12
	bl	fetch_and_zero
	cmp	r0, #0
	beq	.L2
	bl	i915_vm_put
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r4, #4]
	str	r3, [r4]
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	mutex_unlock
.L9:
	.align	2
.L8:
	.word	ggtt_bind_vma
	.word	ggtt_unbind_vma
	.size	fini_aliasing_ppgtt, .-fini_aliasing_ppgtt
	.comm	ggtt_unbind_vma,4,4
	.comm	ggtt_bind_vma,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
