	.file	"extr_selftest_hangcheck.c_igt_reset_evict_ppgtt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	igt_reset_evict_ppgtt, @function
igt_reset_evict_ppgtt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rdi]
	call	mock_file@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, QWORD PTR [rbx]
	call	mutex_lock@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	call	live_context@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r12, rax
	call	mutex_unlock@PLT
	mov	rdi, r12
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	rsi, QWORD PTR [r12]
	xor	r12d, r12d
	test	rsi, rsi
	jne	.L11
.L4:
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	call	mock_file_free@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	ecx, DWORD PTR EXEC_OBJECT_WRITE[rip]
	mov	edx, DWORD PTR evict_vma[rip]
	mov	rdi, rbx
	call	__igt_reset_evict_vma@PLT
	mov	r12d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r12
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	igt_reset_evict_ppgtt, .-igt_reset_evict_ppgtt
	.comm	evict_vma,4,4
	.comm	EXEC_OBJECT_WRITE,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_selftest_hangcheck.c_igt_reset_evict_ppgtt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	igt_reset_evict_ppgtt, %function
igt_reset_evict_ppgtt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	bl	mock_file
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L10
	ldr	r0, [r4]
	bl	mutex_lock
	mov	r1, r5
	ldr	r0, [r4]
	bl	live_context
	mov	r6, r0
	ldr	r0, [r4]
	bl	mutex_unlock
	mov	r0, r6
	bl	IS_ERR
	cmp	r0, #0
	bne	.L11
	ldr	r6, [r6]
	cmp	r6, #0
	bne	.L12
.L4:
	mov	r1, r5
	ldr	r0, [r4]
	bl	mock_file_free
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L12:
	ldr	r3, .L13
	ldr	r2, .L13+4
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	__igt_reset_evict_vma
	mov	r6, r0
	b	.L4
.L11:
	mov	r0, r6
	bl	PTR_ERR
	mov	r6, r0
	b	.L4
.L14:
	.align	2
.L13:
	.word	EXEC_OBJECT_WRITE
	.word	evict_vma
	.size	igt_reset_evict_ppgtt, .-igt_reset_evict_ppgtt
	.comm	evict_vma,4,4
	.comm	EXEC_OBJECT_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
