	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execlists_schedule_in
_execlists_schedule_in:                 ## @execlists_schedule_in
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	(%rdi), %rdi
	callq	_intel_engine_pm_is_awake
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_GEM_BUG_ON
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_trace_i915_request_in
	movl	(%rbx), %edi
	callq	_READ_ONCE
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rdi
	leaq	-32(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	callq	_ptr_inc
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_try_cmpxchg
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
LBB0_4:
	movl	(%rbx), %r15d
	movq	%r14, %rdi
	callq	___execlists_schedule_in
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_WRITE_ONCE
LBB0_5:
	movq	%rbx, %rdi
	callq	_intel_context_inflight
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setne	%dil
	callq	_GEM_BUG_ON
	movq	%r14, %rdi
	callq	_i915_request_get
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_execlists_schedule_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execlists_schedule_in
_execlists_schedule_in:                 ; @execlists_schedule_in
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	ldp	x0, x20, [x0]
	bl	_intel_engine_pm_is_awake
	cmp	w0, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
	mov	x0, x19
	mov	x1, x21
	bl	_trace_i915_request_in
	ldr	w0, [x20]
	bl	_READ_ONCE
	str	x0, [sp, #8]
	cbz	x0, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_ptr_inc
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_try_cmpxchg
	cbnz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_1
LBB0_3:
	ldr	w21, [x20]
	mov	x0, x19
	bl	___execlists_schedule_in
	mov	x1, x0
	mov	x0, x21
	bl	_WRITE_ONCE
LBB0_4:
	mov	x0, x20
	bl	_intel_context_inflight
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, ne
	bl	_GEM_BUG_ON
	mov	x0, x19
	bl	_i915_request_get
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_execlists_schedule_in
.subsections_via_symbols
