	.file	"extr_i915_gem_execbuffer.c_i915_gem_do_execbuffer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Attempting to use self-modifying batch buffer\n"
	.align 8
.LC1:
	.string	"Attempting to use out-of-bounds batch\n"
	.text
	.p2align 4
	.type	i915_gem_do_execbuffer, @function
i915_gem_do_execbuffer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 168
	.cfi_def_cfa_offset 224
	mov	QWORD PTR [rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 152[rsp], rax
	xor	eax, eax
	call	to_i915@PLT
	mov	edi, DWORD PTR __I915_EXEC_ILLEGAL_FLAGS[rip]
	mov	r14, rax
	not	edi
	and	edi, DWORD PTR __EXEC_INTERNAL_FLAGS[rip]
	call	BUILD_BUG_ON@PLT
	mov	edi, DWORD PTR __EXEC_OBJECT_UNKNOWN_FLAGS[rip]
	not	edi
	and	edi, DWORD PTR __EXEC_OBJECT_INTERNAL_FLAGS[rip]
	call	BUILD_BUG_ON@PLT
	cmp	QWORD PTR DBG_FORCE_RELOC[rip], 0
	mov	eax, DWORD PTR [r15]
	mov	QWORD PTR 120[rsp], r14
	mov	QWORD PTR 144[rsp], rbp
	mov	QWORD PTR 136[rsp], r15
	jne	.L3
	test	DWORD PTR I915_EXEC_NO_RELOC[rip], eax
	je	.L3
.L4:
	movsx	rax, DWORD PTR 4[r15]
	lea	rdi, 108[rsp]
	mov	rsi, r14
	mov	QWORD PTR 72[rsp], rbx
	add	rax, 1
	lea	rdx, [rbx+rax*4]
	lea	rax, [rdx+rax*8]
	mov	QWORD PTR [rdx], 0
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR __EXEC_OBJECT_UNKNOWN_FLAGS[rip]
	mov	QWORD PTR 128[rsp], rdx
	mov	DWORD PTR 40[rsp], eax
	call	reloc_cache_init@PLT
	mov	eax, DWORD PTR 4[r15]
	mov	DWORD PTR 64[rsp], 0
	mov	DWORD PTR 44[rsp], eax
	mov	rax, QWORD PTR 8[r15]
	mov	QWORD PTR 48[rsp], rax
	mov	rax, QWORD PTR 16[r15]
	mov	QWORD PTR 56[rsp], rax
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR I915_EXEC_SECURE[rip], eax
	jne	.L108
.L5:
	test	DWORD PTR I915_EXEC_IS_PINNED[rip], eax
	je	.L11
	mov	edx, DWORD PTR I915_DISPATCH_PINNED[rip]
	or	DWORD PTR 64[rsp], edx
.L11:
	test	DWORD PTR I915_EXEC_FENCE_IN[rip], eax
	jne	.L109
	test	DWORD PTR I915_EXEC_FENCE_SUBMIT[rip], eax
	je	.L110
	mov	edi, DWORD PTR 24[r15]
	call	lower_32_bits@PLT
	mov	edi, eax
	call	sync_file_get_fence@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L17
	mov	eax, DWORD PTR [r15]
	xor	r14d, r14d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L3:
	or	eax, DWORD PTR __EXEC_HAS_RELOC[rip]
	mov	DWORD PTR [r15], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L109:
	mov	edi, DWORD PTR 24[r15]
	call	lower_32_bits@PLT
	mov	edi, eax
	call	sync_file_get_fence@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	r14, rax
	neg	r13d
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR I915_EXEC_FENCE_SUBMIT[rip], eax
	jne	.L111
	mov	QWORD PTR 8[rsp], 0
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR O_CLOEXEC[rip]
	call	get_unused_fd_flags@PLT
	mov	DWORD PTR 20[rsp], eax
	mov	r13d, eax
	test	eax, eax
	js	.L19
	lea	rbx, 32[rsp]
	mov	rdi, rbx
	call	eb_create@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L21
	mov	eax, DWORD PTR 112[rsp]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	GEM_BUG_ON@PLT
	mov	rdi, rbx
	call	eb_select_context@PLT
	mov	edi, eax
	mov	r13d, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L105
	mov	rdi, rbx
	mov	rdx, r15
	mov	rsi, rbp
	call	eb_pin_engine@PLT
	mov	edi, eax
	mov	r13d, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L55
	mov	edi, DWORD PTR 68[rsp]
	call	i915_gem_context_put@PLT
.L105:
	mov	rdi, rbx
	call	eb_destroy@PLT
.L21:
	mov	edi, DWORD PTR 20[rsp]
	call	put_unused_fd@PLT
.L19:
	mov	rdi, QWORD PTR 8[rsp]
	call	dma_fence_put@PLT
.L16:
	mov	rdi, r14
	call	dma_fence_put@PLT
.L1:
	mov	rax, QWORD PTR 152[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L112
	add	rsp, 168
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
	.p2align 4,,10
	.p2align 3
.L108:
	.cfi_restore_state
	mov	rdi, r14
	call	INTEL_GEN@PLT
	cmp	eax, 10
	jle	.L6
	mov	r13d, DWORD PTR ENODEV[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L110:
	mov	QWORD PTR 8[rsp], 0
	xor	r14d, r14d
.L15:
	test	DWORD PTR I915_EXEC_FENCE_OUT[rip], eax
	jne	.L18
	lea	rbx, 32[rsp]
	mov	rdi, rbx
	call	eb_create@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L19
	mov	edx, DWORD PTR 112[rsp]
	xor	edi, edi
	test	edx, edx
	sete	dil
	call	GEM_BUG_ON@PLT
	mov	rdi, rbx
	call	eb_select_context@PLT
	mov	edi, eax
	mov	r13d, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L106
	mov	rdi, rbx
	mov	rdx, r15
	mov	rsi, rbp
	call	eb_pin_engine@PLT
	mov	edi, eax
	mov	r13d, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L54
	mov	DWORD PTR 20[rsp], -1
.L55:
	mov	rdi, r12
	call	i915_mutex_lock_interruptible@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L113
.L23:
	mov	rdi, rbx
	call	eb_unpin_engine@PLT
	mov	edi, DWORD PTR 68[rsp]
	call	i915_gem_context_put@PLT
	mov	rdi, rbx
	call	eb_destroy@PLT
	cmp	DWORD PTR 20[rsp], -1
	jne	.L21
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r14
	call	HAS_SECURE_BATCHES@PLT
	test	eax, eax
	je	.L10
	mov	rdi, rbp
	call	drm_is_current_master@PLT
	test	eax, eax
	jne	.L9
.L10:
	mov	r13d, DWORD PTR EPERM[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L111:
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR CAP_SYS_ADMIN[rip]
	call	capable@PLT
	test	eax, eax
	je	.L10
	mov	eax, DWORD PTR I915_DISPATCH_SECURE[rip]
	or	DWORD PTR 64[rsp], eax
	mov	eax, DWORD PTR [r15]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L113:
	mov	rdi, rbx
	call	eb_relocate@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L24
	mov	eax, DWORD PTR __EXEC_HAS_RELOC[rip]
	not	eax
	and	DWORD PTR [r15], eax
.L25:
	cmp	QWORD PTR 72[rsp], 0
	je	.L49
	mov	rdi, rbx
	call	eb_release_vmas@PLT
.L49:
	mov	rdi, r12
	call	mutex_unlock@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L17:
	mov	r13d, DWORD PTR EINVAL[rip]
	xor	r14d, r14d
	neg	r13d
	jmp	.L16
.L54:
	mov	edi, DWORD PTR 68[rsp]
	call	i915_gem_context_put@PLT
	.p2align 4,,10
	.p2align 3
.L106:
	mov	rdi, rbx
	call	eb_destroy@PLT
	jmp	.L19
.L24:
	mov	rax, QWORD PTR 80[rsp]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	and	edi, DWORD PTR EXEC_OBJECT_WRITE[rip]
	call	unlikely@PLT
	test	rax, rax
	jne	.L114
	mov	rax, QWORD PTR 80[rsp]
	mov	rdx, QWORD PTR 48[rsp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jg	.L27
	mov	rcx, QWORD PTR 56[rsp]
	sub	rax, rdx
	cmp	rcx, rax
	jg	.L27
	test	rcx, rcx
	jne	.L29
	mov	QWORD PTR 56[rsp], rax
.L29:
	mov	rdi, rbx
	call	eb_use_cmdparser@PLT
	test	rax, rax
	jne	.L115
.L30:
	mov	eax, DWORD PTR 64[rsp]
	test	DWORD PTR I915_DISPATCH_SECURE[rip], eax
	je	.L31
	mov	rax, QWORD PTR 80[rsp]
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	edi, DWORD PTR 36[rax]
	call	i915_gem_object_ggtt_pin@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L104
	mov	QWORD PTR 80[rsp], r13
.L31:
	mov	edi, DWORD PTR 108[rsp]
	call	GEM_BUG_ON@PLT
	mov	edi, DWORD PTR 104[rsp]
	call	i915_request_create@PLT
	mov	rdi, rax
	mov	QWORD PTR 88[rsp], rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L116
	test	r14, r14
	je	.L39
	mov	rdi, QWORD PTR 88[rsp]
	mov	rsi, r14
	call	i915_request_await_dma_fence@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L38
.L39:
	cmp	QWORD PTR 8[rsp], 0
	je	.L37
	mov	rax, QWORD PTR 96[rsp]
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 88[rsp]
	mov	edx, DWORD PTR [rax]
	call	i915_request_await_execution@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L38
.L37:
	cmp	QWORD PTR [rsp], 0
	je	.L41
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbx
	call	await_fence_array@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L117
.L41:
	cmp	DWORD PTR 20[rsp], -1
	jne	.L42
	mov	QWORD PTR 24[rsp], 0
.L43:
	mov	rax, QWORD PTR 80[rsp]
	mov	rdi, QWORD PTR 88[rsp]
	mov	r8, QWORD PTR 16[rax]
	mov	QWORD PTR 24[rdi], rax
	test	r8, r8
	jne	.L118
.L45:
	mov	esi, DWORD PTR 64[rsp]
	call	trace_i915_request_queue@PLT
	mov	rdi, rbx
	call	eb_submit@PLT
	mov	rdi, QWORD PTR 88[rsp]
	mov	rsi, rbp
	mov	r13d, eax
	call	add_to_client@PLT
	mov	rdi, QWORD PTR 88[rsp]
	call	i915_request_add@PLT
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L46
	mov	rsi, rax
	mov	rdi, rbx
	call	signal_fence_array@PLT
.L46:
	mov	rax, QWORD PTR 24[rsp]
	test	rax, rax
	je	.L34
	mov	esi, DWORD PTR [rax]
	test	r13d, r13d
	jne	.L47
	mov	edi, DWORD PTR 20[rsp]
	call	fd_install@PLT
	xor	esi, esi
	mov	edi, 31
	call	GENMASK_ULL@PLT
	and	DWORD PTR 24[r15], eax
	mov	DWORD PTR 20[rsp], -1
.L34:
	mov	rdi, QWORD PTR 80[rsp]
	mov	eax, DWORD PTR 64[rsp]
	test	DWORD PTR I915_DISPATCH_SECURE[rip], eax
	jne	.L119
.L48:
	mov	rdi, QWORD PTR 16[rdi]
	test	rdi, rdi
	je	.L25
	call	intel_engine_pool_put@PLT
	jmp	.L25
.L27:
	lea	rdi, .LC1[rip]
	call	DRM_DEBUG@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L25
.L114:
	lea	rdi, .LC0[rip]
	call	DRM_DEBUG@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L25
.L115:
	mov	rdi, rbx
	call	eb_parse@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L30
.L104:
	mov	rdi, r13
	call	PTR_ERR@PLT
	mov	r13d, eax
	jmp	.L25
.L119:
	call	i915_vma_unpin@PLT
	mov	rdi, QWORD PTR 80[rsp]
	jmp	.L48
.L47:
	mov	edi, esi
	call	fput@PLT
	jmp	.L34
.L42:
	mov	rax, QWORD PTR 88[rsp]
	lea	rdi, 32[rax]
	call	sync_file_create@PLT
	mov	QWORD PTR 24[rsp], rax
	test	rax, rax
	jne	.L43
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
.L38:
	mov	rdi, QWORD PTR 88[rsp]
	mov	rsi, rbp
	call	add_to_client@PLT
	mov	rdi, QWORD PTR 88[rsp]
	call	i915_request_add@PLT
	mov	rsi, QWORD PTR [rsp]
	test	rsi, rsi
	je	.L34
	mov	rdi, rbx
	call	signal_fence_array@PLT
	jmp	.L34
.L116:
	mov	rdi, QWORD PTR 88[rsp]
	call	PTR_ERR@PLT
	mov	r13d, eax
	jmp	.L34
.L118:
	mov	rsi, rdi
	mov	rdi, r8
	call	intel_engine_pool_mark_active@PLT
	mov	rdi, QWORD PTR 88[rsp]
	jmp	.L45
.L117:
	mov	rdi, QWORD PTR 88[rsp]
	mov	rsi, rbp
	call	add_to_client@PLT
	mov	rdi, QWORD PTR 88[rsp]
	call	i915_request_add@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbx
	call	signal_fence_array@PLT
	jmp	.L34
.L112:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i915_gem_do_execbuffer, .-i915_gem_do_execbuffer
	.comm	__I915_EXEC_ILLEGAL_FLAGS,4,4
	.comm	__EXEC_OBJECT_UNKNOWN_FLAGS,4,4
	.comm	__EXEC_OBJECT_INTERNAL_FLAGS,4,4
	.comm	__EXEC_INTERNAL_FLAGS,4,4
	.comm	__EXEC_HAS_RELOC,4,4
	.comm	O_CLOEXEC,4,4
	.comm	I915_EXEC_SECURE,4,4
	.comm	I915_EXEC_NO_RELOC,4,4
	.comm	I915_EXEC_IS_PINNED,4,4
	.comm	I915_EXEC_FENCE_SUBMIT,4,4
	.comm	I915_EXEC_FENCE_OUT,4,4
	.comm	I915_EXEC_FENCE_IN,4,4
	.comm	I915_DISPATCH_SECURE,4,4
	.comm	I915_DISPATCH_PINNED,4,4
	.comm	EXEC_OBJECT_WRITE,4,4
	.comm	EPERM,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	DBG_FORCE_RELOC,8,8
	.comm	CAP_SYS_ADMIN,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_execbuffer.c_i915_gem_do_execbuffer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Attempting to use self-modifying batch buffer\012\000"
	.align	2
.LC1:
	.ascii	"Attempting to use out-of-bounds batch\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i915_gem_do_execbuffer, %function
i915_gem_do_execbuffer:
	@ args = 4, pretend = 0, frame = 88
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	ldr	r3, .L125
	sub	sp, sp, #100
	mov	r7, r1
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #92]
	mov	r3,#0
	mov	r8, r0
	ldr	fp, [sp, #136]
	bl	to_i915
	mov	r9, r0
	ldr	r2, .L125+4
	ldr	r3, .L125+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r10, .L125+12
	bic	r0, r3, r0
	bl	BUILD_BUG_ON
	ldr	r3, .L125+16
	ldr	r0, [r10]
	ldr	r3, [r3]
	bic	r0, r3, r0
	bl	BUILD_BUG_ON
	ldr	r3, .L125+20
	str	r9, [sp, #76]
	ldr	r3, [r3]
	str	r7, [sp, #88]
	cmp	r3, #0
	str	r4, [sp, #84]
	beq	.L2
	ldr	r2, [r4]
.L3:
	ldr	r3, .L125+24
	ldr	r3, [r3]
	orr	r3, r3, r2
	str	r3, [r4]
.L4:
	mov	r6, #0
	ldr	r2, [r4, #4]
	ldr	r3, [r10]
	add	r2, r2, #1
	str	r3, [sp, #24]
	add	r3, r5, r2, lsl #2
	mov	r1, r9
	str	r6, [r5, r2, lsl #2]
	add	r0, sp, #68
	add	r2, r3, r2, lsl #2
	str	r3, [sp, #80]
	str	r2, [sp, #20]
	str	r5, [sp, #48]
	bl	reloc_cache_init
	ldr	r2, .L125+28
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r0, [r4, #4]
	ldr	r1, [r4, #8]
	tst	r3, r2
	ldr	r2, [r4, #12]
	str	r6, [sp, #40]
	str	r0, [sp, #28]
	str	r1, [sp, #32]
	str	r2, [sp, #36]
	bne	.L111
.L5:
	ldr	r2, .L125+32
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r1, .L125+36
	ldrne	r2, [sp, #40]
	ldrne	r1, [r1]
	orrne	r2, r2, r1
	strne	r2, [sp, #40]
	ldr	r2, .L125+40
	ldr	r6, [r2]
	ands	r5, r3, r6
	bne	.L112
	ldr	r2, .L125+44
	ldr	r6, [r2]
	ands	r6, r3, r6
	moveq	r9, r6
	beq	.L15
	ldr	r0, [r4, #16]
	bl	lower_32_bits
	bl	sync_file_get_fence
	subs	r9, r0, #0
	beq	.L17
	mov	r6, r5
	ldr	r3, [r4]
.L15:
	ldr	r2, .L125+48
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L18
	add	r10, sp, #20
	mov	r0, r10
	bl	eb_create
	subs	r5, r0, #0
	beq	.L113
.L19:
	mov	r0, r9
	bl	dma_fence_put
.L16:
	mov	r0, r6
	bl	dma_fence_put
.L1:
	ldr	r3, .L125
	ldr	r2, [r3]
	ldr	r3, [sp, #92]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L114
	mov	r0, r5
	add	sp, sp, #100
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L125+52
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L4
	b	.L3
.L112:
	ldr	r0, [r4, #16]
	bl	lower_32_bits
	bl	sync_file_get_fence
	subs	r6, r0, #0
	beq	.L115
	ldr	r2, .L125+44
	ldr	r3, [r4]
	ldr	r9, [r2]
	ands	r9, r3, r9
	beq	.L15
	ldr	r3, .L125+56
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L16
.L111:
	mov	r0, r9
	bl	INTEL_GEN
	cmp	r0, #10
	ble	.L6
	ldr	r3, .L125+60
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L18:
	ldr	r3, .L125+64
	ldr	r0, [r3]
	bl	get_unused_fd_flags
	subs	r3, r0, #0
	str	r3, [sp, #8]
	blt	.L59
	add	r10, sp, #20
	mov	r0, r10
	bl	eb_create
	subs	r5, r0, #0
	bne	.L21
	ldr	r0, [sp, #72]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	GEM_BUG_ON
	mov	r0, r10
	bl	eb_select_context
	mov	r5, r0
	bl	unlikely
	cmp	r0, #0
	beq	.L116
.L108:
	mov	r0, r10
	bl	eb_destroy
.L21:
	ldr	r0, [sp, #8]
	bl	put_unused_fd
	b	.L19
.L6:
	mov	r0, r9
	bl	HAS_SECURE_BATCHES
	cmp	r0, #0
	beq	.L10
	mov	r0, r7
	bl	drm_is_current_master
	cmp	r0, #0
	bne	.L9
.L10:
	ldr	r3, .L125+68
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L113:
	ldr	r0, [sp, #72]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	GEM_BUG_ON
	mov	r0, r10
	bl	eb_select_context
	mov	r5, r0
	bl	unlikely
	cmp	r0, #0
	bne	.L109
	mov	r2, r4
	mov	r1, r7
	mov	r0, r10
	bl	eb_pin_engine
	mov	r5, r0
	bl	unlikely
	cmp	r0, #0
	bne	.L54
	mvn	r3, #0
	str	r3, [sp, #8]
.L55:
	mov	r0, r8
	bl	i915_mutex_lock_interruptible
	subs	r5, r0, #0
	beq	.L117
.L23:
	mov	r0, r10
	bl	eb_unpin_engine
	ldr	r0, [sp, #44]
	bl	i915_gem_context_put
	mov	r0, r10
	bl	eb_destroy
	ldr	r3, [sp, #8]
	cmn	r3, #1
	bne	.L21
	b	.L19
.L59:
	ldr	r5, [sp, #8]
	b	.L19
.L115:
	ldr	r3, .L125+56
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L9:
	ldr	r3, .L125+72
	ldr	r0, [r3]
	bl	capable
	cmp	r0, #0
	beq	.L10
	ldr	r3, .L125+76
	ldr	r2, [sp, #40]
	ldr	r1, [r3]
	ldr	r3, [r4]
	orr	r2, r2, r1
	str	r2, [sp, #40]
	b	.L5
.L116:
	mov	r2, r4
	mov	r1, r7
	mov	r0, r10
	bl	eb_pin_engine
	mov	r5, r0
	bl	unlikely
	cmp	r0, #0
	beq	.L55
	ldr	r0, [sp, #44]
	bl	i915_gem_context_put
	b	.L108
.L117:
	mov	r0, r10
	bl	eb_relocate
	subs	r5, r0, #0
	beq	.L24
	ldr	r2, .L125+24
	ldr	r3, [r4]
	ldr	r2, [r2]
	bic	r3, r3, r2
	str	r3, [r4]
.L25:
	ldr	r3, [sp, #48]
	cmp	r3, #0
	beq	.L49
	mov	r0, r10
	bl	eb_release_vmas
.L49:
	mov	r0, r8
	bl	mutex_unlock
	b	.L23
.L17:
	ldr	r3, .L125+56
	mov	r6, r9
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L16
.L54:
	ldr	r0, [sp, #44]
	bl	i915_gem_context_put
.L109:
	mov	r0, r10
	bl	eb_destroy
	b	.L19
.L24:
	ldr	r2, [sp, #52]
	ldr	r3, .L125+80
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r0, [r2]
	and	r0, r0, r3
	bl	unlikely
	cmp	r0, #0
	bne	.L118
	ldr	r3, [sp, #52]
	ldr	r2, [sp, #32]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bgt	.L27
	ldr	r1, [sp, #36]
	sub	r3, r3, r2
	cmp	r1, r3
	bgt	.L27
	cmp	r1, #0
	mov	r0, r10
	streq	r3, [sp, #36]
	bl	eb_use_cmdparser
	cmp	r0, #0
	bne	.L119
.L30:
	ldr	r3, .L125+76
	ldr	r2, [sp, #40]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L31
	mov	r3, #0
	ldr	r2, [sp, #52]
	mov	r1, r3
	ldr	r0, [r2, #20]
	mov	r2, r3
	str	r3, [sp]
	bl	i915_gem_object_ggtt_pin
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	streq	r5, [sp, #52]
	bne	.L107
.L31:
	ldr	r0, [sp, #68]
	bl	GEM_BUG_ON
	ldr	r0, [sp, #64]
	bl	i915_request_create
	str	r0, [sp, #56]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L120
	cmp	r6, #0
	beq	.L39
	mov	r1, r6
	ldr	r0, [sp, #56]
	bl	i915_request_await_dma_fence
	subs	r5, r0, #0
	blt	.L38
.L39:
	cmp	r9, #0
	beq	.L37
	ldr	r3, [sp, #60]
	mov	r1, r9
	ldr	r2, [r3]
	ldr	r0, [sp, #56]
	bl	i915_request_await_execution
	subs	r5, r0, #0
	blt	.L38
.L37:
	cmp	fp, #0
	beq	.L41
	mov	r1, fp
	mov	r0, r10
	bl	await_fence_array
	subs	r5, r0, #0
	bne	.L121
.L41:
	ldr	r3, [sp, #8]
	cmn	r3, #1
	moveq	r3, #0
	streq	r3, [sp, #12]
	beq	.L43
	ldr	r0, [sp, #56]
	add	r0, r0, #16
	bl	sync_file_create
	subs	r3, r0, #0
	str	r3, [sp, #12]
	beq	.L122
.L43:
	ldr	r3, [sp, #52]
	ldr	r1, [sp, #56]
	ldr	r0, [r3, #8]
	str	r3, [r1, #12]
	cmp	r0, #0
	bne	.L123
.L45:
	mov	r0, r1
	ldr	r1, [sp, #40]
	bl	trace_i915_request_queue
	mov	r0, r10
	bl	eb_submit
	mov	r1, r7
	mov	r5, r0
	ldr	r0, [sp, #56]
	bl	add_to_client
	ldr	r0, [sp, #56]
	bl	i915_request_add
	cmp	fp, #0
	beq	.L46
	mov	r1, fp
	mov	r0, r10
	bl	signal_fence_array
.L46:
	ldr	r3, [sp, #12]
	cmp	r3, #0
	beq	.L34
	cmp	r5, #0
	ldr	r1, [r3]
	bne	.L47
	ldr	r0, [sp, #8]
	bl	fd_install
	mov	r1, r5
	mov	r0, #31
	bl	GENMASK_ULL
	mvn	r2, #0
	ldr	r3, [r4, #16]
	str	r2, [sp, #8]
	and	r3, r3, r0
	str	r3, [r4, #16]
.L34:
	ldr	r3, .L125+76
	ldr	r2, [sp, #40]
	ldr	r3, [r3]
	ldr	r0, [sp, #52]
	tst	r2, r3
	bne	.L124
.L48:
	ldr	r0, [r0, #8]
	cmp	r0, #0
	beq	.L25
	bl	intel_engine_pool_put
	b	.L25
.L27:
	ldr	r0, .L125+84
	bl	DRM_DEBUG
	ldr	r3, .L125+56
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L25
.L118:
	ldr	r0, .L125+88
	bl	DRM_DEBUG
	ldr	r3, .L125+56
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L25
.L119:
	mov	r0, r10
	bl	eb_parse
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L30
.L107:
	mov	r0, r5
	bl	PTR_ERR
	mov	r5, r0
	b	.L25
.L124:
	bl	i915_vma_unpin
	ldr	r0, [sp, #52]
	b	.L48
.L47:
	mov	r0, r1
	bl	fput
	b	.L34
.L122:
	ldr	r3, .L125+92
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L38:
	mov	r1, r7
	ldr	r0, [sp, #56]
	bl	add_to_client
	ldr	r0, [sp, #56]
	bl	i915_request_add
	cmp	fp, #0
	beq	.L34
	mov	r1, fp
	mov	r0, r10
	bl	signal_fence_array
	b	.L34
.L120:
	ldr	r0, [sp, #56]
	bl	PTR_ERR
	mov	r5, r0
	b	.L34
.L123:
	bl	intel_engine_pool_mark_active
	ldr	r1, [sp, #56]
	b	.L45
.L121:
	mov	r1, r7
	ldr	r0, [sp, #56]
	bl	add_to_client
	ldr	r0, [sp, #56]
	bl	i915_request_add
	mov	r1, fp
	mov	r0, r10
	bl	signal_fence_array
	b	.L34
.L114:
	bl	__stack_chk_fail
.L126:
	.align	2
.L125:
	.word	.LC2
	.word	__I915_EXEC_ILLEGAL_FLAGS
	.word	__EXEC_INTERNAL_FLAGS
	.word	__EXEC_OBJECT_UNKNOWN_FLAGS
	.word	__EXEC_OBJECT_INTERNAL_FLAGS
	.word	DBG_FORCE_RELOC
	.word	__EXEC_HAS_RELOC
	.word	I915_EXEC_SECURE
	.word	I915_EXEC_IS_PINNED
	.word	I915_DISPATCH_PINNED
	.word	I915_EXEC_FENCE_IN
	.word	I915_EXEC_FENCE_SUBMIT
	.word	I915_EXEC_FENCE_OUT
	.word	I915_EXEC_NO_RELOC
	.word	EINVAL
	.word	ENODEV
	.word	O_CLOEXEC
	.word	EPERM
	.word	CAP_SYS_ADMIN
	.word	I915_DISPATCH_SECURE
	.word	EXEC_OBJECT_WRITE
	.word	.LC1
	.word	.LC0
	.word	ENOMEM
	.size	i915_gem_do_execbuffer, .-i915_gem_do_execbuffer
	.comm	__I915_EXEC_ILLEGAL_FLAGS,4,4
	.comm	__EXEC_OBJECT_UNKNOWN_FLAGS,4,4
	.comm	__EXEC_OBJECT_INTERNAL_FLAGS,4,4
	.comm	__EXEC_INTERNAL_FLAGS,4,4
	.comm	__EXEC_HAS_RELOC,4,4
	.comm	O_CLOEXEC,4,4
	.comm	I915_EXEC_SECURE,4,4
	.comm	I915_EXEC_NO_RELOC,4,4
	.comm	I915_EXEC_IS_PINNED,4,4
	.comm	I915_EXEC_FENCE_SUBMIT,4,4
	.comm	I915_EXEC_FENCE_OUT,4,4
	.comm	I915_EXEC_FENCE_IN,4,4
	.comm	I915_DISPATCH_SECURE,4,4
	.comm	I915_DISPATCH_PINNED,4,4
	.comm	EXEC_OBJECT_WRITE,4,4
	.comm	EPERM,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	DBG_FORCE_RELOC,4,4
	.comm	CAP_SYS_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
