	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execlists_reset_finish
_execlists_reset_finish:                ## @execlists_reset_finish
	.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
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_reset_in_progress
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_GEM_BUG_ON
	leaq	24(%rbx), %rdi
	callq	_RB_EMPTY_ROOT
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	12(%rbx), %edi
	callq	*16(%rbx)
LBB0_2:
	movq	%r14, %rdi
	callq	___tasklet_enable
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_tasklet_hi_schedule
LBB0_4:
	movl	(%rbx), %ebx
	movq	%r14, %rdi
	callq	_atomic_read
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_GEM_TRACE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: depth->%d\n"

	.no_dead_strip	_execlists_reset_finish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execlists_reset_finish
_execlists_reset_finish:                ; @execlists_reset_finish
	.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	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_reset_in_progress
	cmp	w0, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
	add	x0, x20, #24
	bl	_RB_EMPTY_ROOT
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	ldr	w0, [x20, #12]
	blr	x8
LBB0_2:
	mov	x0, x19
	bl	___tasklet_enable
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_tasklet_hi_schedule
LBB0_4:
	ldr	w20, [x20]
	mov	x0, x19
	bl	_atomic_read
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_GEM_TRACE
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: depth->%d\n"

	.no_dead_strip	_execlists_reset_finish
.subsections_via_symbols
