	.file	"extr_i915_request.c_remove_from_engine.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	remove_from_engine, @function
remove_from_engine:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	call	READ_ONCE@PLT
	mov	rdi, rax
	mov	r12, rax
	mov	rbp, rax
	call	spin_lock@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	mov	r12, rbx
	mov	rbp, rbx
	call	spin_unlock@PLT
	mov	rdi, rbx
	call	spin_lock@PLT
.L2:
	mov	edi, DWORD PTR 4[r13]
	call	READ_ONCE@PLT
	xor	edi, edi
	cmp	r12, rax
	mov	rbx, rax
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L3
	mov	rdi, r13
	call	list_del@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	remove_from_engine, .-remove_from_engine
	.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_request.c_remove_from_engine.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_from_engine, %function
remove_from_engine:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r0, [r0, #4]
	bl	READ_ONCE
	mov	r6, r0
	mov	r5, r0
	bl	spin_lock
	b	.L2
.L3:
	mov	r0, r5
	bl	spin_unlock
	mov	r0, r4
	mov	r5, r4
	bl	spin_lock
	mov	r6, r4
.L2:
	ldr	r0, [r7, #4]
	bl	READ_ONCE
	mov	r4, r0
	subs	r0, r6, r0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L3
	mov	r0, r7
	bl	list_del
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
	.size	remove_from_engine, .-remove_from_engine
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
