	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_disp_intr                 ## -- Begin function nv50_disp_intr
	.p2align	4, 0x90
_nv50_disp_intr:                        ## @nv50_disp_intr
	.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
	movq	%rdi, %r14
	movl	$6357024, %esi                  ## imm = 0x610020
	callq	_nv_rd32
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	callq	_nv_rd32
	movl	%eax, %ebx
	testl	$2031616, %r15d                 ## imm = 0x1F0000
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_nv50_disp_intr_error
LBB0_2:
	testb	$4, %bl
	jne	LBB0_3
## %bb.4:
	testb	$8, %bl
	jne	LBB0_5
LBB0_6:
	andl	$112, %ebx
	je	LBB0_7
LBB0_8:
	movl	%ebx, (%r14)
	leaq	4(%r14), %rdi
	callq	_schedule_work
	movl	(%r14), %edx
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_wr32                        ## TAILCALL
LBB0_3:
	movl	8(%r14), %edi
	xorl	%esi, %esi
	callq	_nouveau_event_trigger
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	movl	$4, %edx
	callq	_nv_wr32
	andl	$-5, %ebx
	testb	$8, %bl
	je	LBB0_6
LBB0_5:
	movl	8(%r14), %edi
	movl	$1, %esi
	callq	_nouveau_event_trigger
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	movl	$8, %edx
	callq	_nv_wr32
	andl	$-9, %ebx
	andl	$112, %ebx
	jne	LBB0_8
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_disp_intr                 ; -- Begin function nv50_disp_intr
	.p2align	2
_nv50_disp_intr:                        ; @nv50_disp_intr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	mov	w8, #36
	movk	w8, #97, lsl #16
	sub	w1, w8, #4
	bl	_nv_rd32
	mov	x21, x0
	mov	x0, x19
	mov	w1, #36
	movk	w1, #97, lsl #16
	bl	_nv_rd32
	mov	x20, x0
	tst	w21, #0x1f0000
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_nv50_disp_intr_error
LBB0_2:
	tbnz	w20, #2, LBB0_6
; %bb.3:
	tbnz	w20, #3, LBB0_7
LBB0_4:
	ands	w8, w20, #0x70
	b.eq	LBB0_8
LBB0_5:
	str	w8, [x19]
	add	x0, x19, #4
	bl	_schedule_work
	ldr	w2, [x19]
	mov	x0, x19
	mov	w1, #36
	movk	w1, #97, lsl #16
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nv_wr32
LBB0_6:
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_nouveau_event_trigger
	mov	x0, x19
	mov	w1, #36
	movk	w1, #97, lsl #16
	mov	w2, #4
	bl	_nv_wr32
	and	w20, w20, #0xfffffffb
	tbz	w20, #3, LBB0_4
LBB0_7:
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_nouveau_event_trigger
	mov	x0, x19
	mov	w1, #36
	movk	w1, #97, lsl #16
	mov	w2, #8
	bl	_nv_wr32
	and	w20, w20, #0xfffffff7
	ands	w8, w20, #0x70
	b.ne	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
