	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_disp_intr_error
_nv50_disp_intr_error:                  ## @nv50_disp_intr_error
	.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, %r15
	movl	$6357024, %esi                  ## imm = 0x610020
	callq	_nv_rd32
	shrl	$16, %eax
	andl	$31, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	movl	$6357120, %ebx                  ## imm = 0x610080
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r12d
	addl	$8, %ebx
	cmpl	$6357160, %ebx                  ## imm = 0x6100A8
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	btl	%r12d, %eax
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$65536, %edx                    ## imm = 0x10000
	movl	%r12d, %ecx
	shll	%cl, %edx
	movq	%r15, %rdi
	movl	$6357024, %esi                  ## imm = 0x610020
	callq	_nv_wr32
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_nv_rd32
	movl	%eax, %r13d
	leal	4(%rbx), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$-1879048192, %edx              ## imm = 0x90000000
	callq	_nv_wr32
	movl	%r13d, %ecx
	andl	$4092, %ecx                     ## imm = 0xFFC
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	%r14d, %r8d
	movl	%r13d, %r9d
	callq	_nv_error
	jmp	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chid %d mthd 0x%04x data 0x%08x 0x%08x\n"

	.no_dead_strip	_nv50_disp_intr_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_disp_intr_error
_nv50_disp_intr_error:                  ; @nv50_disp_intr_error
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w21, #32
	movk	w21, #97, lsl #16
	mov	w1, #32
	movk	w1, #97, lsl #16
	bl	_nv_rd32
	mov	w20, #0
	ubfx	w25, w0, #16, #5
	add	w21, w21, #96
	mov	w26, #65536
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	add	w21, w21, #8
	cmp	w20, #5
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w25, w20
	tbz	w8, #0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	w2, w26, w20
	mov	x0, x19
	mov	w1, #32
	movk	w1, #97, lsl #16
	bl	_nv_wr32
	mov	x0, x19
	mov	x1, x21
	bl	_nv_rd32
	mov	x23, x0
	add	w1, w21, #4
	mov	x0, x19
	bl	_nv_rd32
	mov	x24, x0
	mov	x0, x19
	mov	x1, x21
	mov	w2, #-1879048192
	bl	_nv_wr32
	and	w3, w23, #0xffc
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x4, x24
	mov	x5, x23
	bl	_nv_error
	b	LBB0_1
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chid %d mthd 0x%04x data 0x%08x 0x%08x\n"

	.no_dead_strip	_nv50_disp_intr_error
.subsections_via_symbols
