	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_pgraph_vstatus_print
_nouveau_pgraph_vstatus_print:          ## @nouveau_pgraph_vstatus_print
	.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	%ecx, %ebx
	movq	%rdx, %r14
	movl	%esi, %edx
	leaq	L_.str(%rip), %rsi
	callq	_nv_error
	movq	(%r14), %rsi
	testl	%ebx, %ebx
	setne	%cl
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	addq	$8, %r14
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	andl	$7, %eax
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_pr_cont
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %eax
	sarl	$3, %eax
	movq	(%r14), %rsi
	cmpl	$8, %ebx
	setae	%cl
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %r14
	cmpl	$7, %ebx
	movl	%eax, %ebx
	ja	LBB0_5
	jmp	LBB0_9
LBB0_1:
	movl	%ebx, %eax
LBB0_9:
	testb	%cl, %cl
	je	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_cont
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_cont                        ## TAILCALL
LBB0_3:
	movl	%ebx, %eax
	testb	%cl, %cl
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PGRAPH_VSTATUS%d: 0x%08x"

L_.str.1:                               ## @.str.1
	.asciz	" %s"

L_.str.2:                               ## @.str.2
	.asciz	" (invalid: 0x%x)"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.no_dead_strip	_nouveau_pgraph_vstatus_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_pgraph_vstatus_print
_nouveau_pgraph_vstatus_print:          ; @nouveau_pgraph_vstatus_print
	.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	x19, x3
	mov	x20, x2
	mov	x2, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nv_error
	ldr	x8, [x20]
	cmp	w19, #0
	cset	w9, ne
	cmp	x8, #0
	ccmp	w19, #0, #4, ne
	b.eq	LBB0_6
; %bb.1:
	add	x21, x20, #8
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21], #8
	asr	w10, w19, #3
	cmp	w19, #7
	cset	w9, hi
	cmp	x8, #0
	ccmp	w19, #7, #0, ne
	mov	x19, x10
	b.ls	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w9, w19, #0x7
	cmp	w9, #1
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [sp]
	mov	x0, x20
	bl	_pr_cont
	b	LBB0_2
LBB0_5:
	mov	x19, x10
LBB0_6:
	cbz	w9, LBB0_8
; %bb.7:
	str	x19, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_cont
LBB0_8:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	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
	b	_pr_cont
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PGRAPH_VSTATUS%d: 0x%08x"

l_.str.1:                               ; @.str.1
	.asciz	" %s"

l_.str.2:                               ; @.str.2
	.asciz	" (invalid: 0x%x)"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.no_dead_strip	_nouveau_pgraph_vstatus_print
.subsections_via_symbols
