	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv04_disp_intr
_nv04_disp_intr:                        ## @nv04_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, %rbx
	movl	$6291712, %esi                  ## imm = 0x600100
	callq	_nv_rd32
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$6299904, %esi                  ## imm = 0x602100
	callq	_nv_rd32
	movl	%eax, %r14d
	testb	$1, %r15b
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_nouveau_event_trigger
	movq	%rbx, %rdi
	movl	$6291712, %esi                  ## imm = 0x600100
	movl	$1, %edx
	callq	_nv_wr32
LBB0_2:
	testb	$1, %r14b
	jne	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_nouveau_event_trigger
	movq	%rbx, %rdi
	movl	$6299904, %esi                  ## imm = 0x602100
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_wr32                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv04_disp_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv04_disp_intr
_nv04_disp_intr:                        ; @nv04_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	w22, #256
	movk	w22, #96, lsl #16
	mov	w1, #256
	movk	w1, #96, lsl #16
	bl	_nv_rd32
	mov	x21, x0
	orr	w1, w22, #0x2000
	mov	x0, x19
	bl	_nv_rd32
	mov	x20, x0
	tbz	w21, #0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	mov	w1, #0
	bl	_nouveau_event_trigger
	mov	x0, x19
	mov	w1, #256
	movk	w1, #96, lsl #16
	mov	w2, #1
	bl	_nv_wr32
LBB0_2:
	tbnz	w20, #0, LBB0_4
; %bb.3:
	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
LBB0_4:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_nouveau_event_trigger
	add	w1, w22, #2, lsl #12            ; =8192
	mov	x0, x19
	mov	w2, #1
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv04_disp_intr
.subsections_via_symbols
