	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function effective_prio
_effective_prio:                        ## @effective_prio
	.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
	callq	_rq_prio
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_i915_request_has_nopreempt
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_I915_PRIORITY_UNPREEMPTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_2:
	movq	%rbx, %rdi
	callq	___i915_request_has_started
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_I915_PRIORITY_NOSEMAPHORE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	orl	%r14d, %ebx
	movq	___NO_PREEMPTION@GOTPCREL(%rip), %r14
	movq	_I915_PRIORITY_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	(%r14), %edi
	callq	_BUILD_BUG_ON
	orl	(%r14), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_PRIORITY_UNPREEMPTABLE,4,2 ## @I915_PRIORITY_UNPREEMPTABLE
	.comm	_I915_PRIORITY_NOSEMAPHORE,4,2  ## @I915_PRIORITY_NOSEMAPHORE
	.comm	___NO_PREEMPTION,4,2            ## @__NO_PREEMPTION
	.comm	_I915_PRIORITY_MASK,4,2         ## @I915_PRIORITY_MASK
	.no_dead_strip	_effective_prio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function effective_prio
_effective_prio:                        ; @effective_prio
	.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
	bl	_rq_prio
	mov	x20, x0
	mov	x0, x19
	bl	_i915_request_has_nopreempt
Lloh0:
	adrp	x8, _I915_PRIORITY_UNPREEMPTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I915_PRIORITY_UNPREEMPTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w20, w8, eq
	mov	x0, x19
	bl	___i915_request_has_started
Lloh3:
	adrp	x8, _I915_PRIORITY_NOSEMAPHORE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I915_PRIORITY_NOSEMAPHORE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
Lloh6:
	adrp	x19, ___NO_PREEMPTION@GOTPAGE
Lloh7:
	ldr	x19, [x19, ___NO_PREEMPTION@GOTPAGEOFF]
	orr	w20, w8, w20
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _I915_PRIORITY_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I915_PRIORITY_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	bic	w0, w8, w9
	bl	_BUILD_BUG_ON
	ldr	w8, [x19]
	orr	w0, w20, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_PRIORITY_UNPREEMPTABLE,4,2 ; @I915_PRIORITY_UNPREEMPTABLE
	.comm	_I915_PRIORITY_NOSEMAPHORE,4,2  ; @I915_PRIORITY_NOSEMAPHORE
	.comm	___NO_PREEMPTION,4,2            ; @__NO_PREEMPTION
	.comm	_I915_PRIORITY_MASK,4,2         ; @I915_PRIORITY_MASK
	.no_dead_strip	_effective_prio
.subsections_via_symbols
