	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_priolists
_assert_priolists:                      ## @assert_priolists
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_CONFIG_DRM_I915_DEBUG_GEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%r12, %rdi
	callq	_rb_first_cached
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_rb_first
	xorl	%edi, %edi
	cmpq	%rax, %r14
	setne	%dil
	callq	_GEM_BUG_ON
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_I915_USER_PRIORITY_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_rb_first_cached
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r14
	movl	%r15d, %ecx
	sarl	%cl, %ebx
	incl	%ebx
	movslq	%ebx, %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_rb_next
	movq	%rax, %r14
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r14, %rdi
	callq	_to_priolist
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpq	%rbx, (%rax)
	setge	%dil
	callq	_GEM_BUG_ON
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	$0, 8(%r15)
	sete	%dil
	callq	_GEM_BUG_ON
	movq	16(%r15), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	movq	16(%r15), %rdi
	callq	_ARRAY_SIZE
	addq	$4, %r13
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r15), %rdi
	addq	%r13, %rdi
	callq	_list_empty
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	8(%r15), %r12d
	movq	%rbx, %rdi
	callq	_BIT
	xorl	%edi, %edi
	testl	%r12d, %eax
	sete	%dil
	callq	_GEM_BUG_ON
	jmp	LBB0_7
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_DRM_I915_DEBUG_GEM,4,2  ## @CONFIG_DRM_I915_DEBUG_GEM
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_I915_USER_PRIORITY_SHIFT,4,2   ## @I915_USER_PRIORITY_SHIFT
	.no_dead_strip	_assert_priolists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assert_priolists
_assert_priolists:                      ; @assert_priolists
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _CONFIG_DRM_I915_DEBUG_GEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_DRM_I915_DEBUG_GEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_rb_first_cached
	mov	x20, x0
	mov	x0, x19
	bl	_rb_first
	cmp	x20, x0
	cset	w0, ne
	bl	_GEM_BUG_ON
Lloh3:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _I915_USER_PRIORITY_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I915_USER_PRIORITY_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_rb_first_cached
	cbz	x0, LBB0_9
; %bb.2:
	mov	x19, x0
	asr	w8, w20, w21
	add	w8, w8, #1
	sxtw	x22, w8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_rb_next
	mov	x19, x0
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x19
	bl	_to_priolist
	mov	x20, x0
	ldr	x8, [x0]
	cmp	x8, x22
	cset	w0, ge
	bl	_GEM_BUG_ON
	ldr	x22, [x20]
	ldr	w8, [x20, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
	ldr	x0, [x20, #16]
	bl	_ARRAY_SIZE
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
	mov	x21, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x21, x21, #1
	ldr	x0, [x20, #16]
	bl	_ARRAY_SIZE
	add	x23, x23, #4
	cmp	x21, x0
	b.ge	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	add	x0, x8, x23
	bl	_list_empty
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w24, [x20, #8]
	mov	x0, x21
	bl	_BIT
	tst	w0, w24
	cset	w0, eq
	bl	_GEM_BUG_ON
	b	LBB0_6
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_DRM_I915_DEBUG_GEM,4,2  ; @CONFIG_DRM_I915_DEBUG_GEM
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_I915_USER_PRIORITY_SHIFT,4,2   ; @I915_USER_PRIORITY_SHIFT
	.no_dead_strip	_assert_priolists
.subsections_via_symbols
