	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execlists_request_alloc
_execlists_request_alloc:               ## @execlists_request_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	_intel_context_is_pinned
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_GEM_BUG_ON
	movq	_EXECLISTS_REQUEST_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	addl	%eax, (%rbx)
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_i915_vm_is_4lvl
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	_EMIT_INVALIDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movl	(%r14), %ecx
	subl	%ecx, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_emit_pdps
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EXECLISTS_REQUEST_SIZE,8,3     ## @EXECLISTS_REQUEST_SIZE
	.comm	_EMIT_INVALIDATE,4,2            ## @EMIT_INVALIDATE
	.no_dead_strip	_execlists_request_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execlists_request_alloc
_execlists_request_alloc:               ; @execlists_request_alloc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_intel_context_is_pinned
	cmp	w0, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
Lloh0:
	adrp	x20, _EXECLISTS_REQUEST_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EXECLISTS_REQUEST_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_i915_vm_is_4lvl
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _EMIT_INVALIDATE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EMIT_INVALIDATE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	cbnz	w0, LBB0_3
LBB0_2:
	ldr	w8, [x20]
	ldr	w9, [x19]
	sub	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	bl	_emit_pdps
	cbnz	w0, LBB0_3
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EXECLISTS_REQUEST_SIZE,8,3     ; @EXECLISTS_REQUEST_SIZE
	.comm	_EMIT_INVALIDATE,4,2            ; @EMIT_INVALIDATE
	.no_dead_strip	_execlists_request_alloc
.subsections_via_symbols
