	.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	%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	16(%rdi), %r14
	movq	%r14, %rdi
	movl	$6357024, %esi                  ## imm = 0x610020
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	callq	_nvkm_rd32
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	andl	$2031616, %edi                  ## imm = 0x1F0000
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	___ffs
                                        ## kill: def $eax killed $eax def $rax
	leal	-16(%rax), %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_nv50_disp_intr_error
	movl	$65536, %eax                    ## imm = 0x10000
	movl	%r13d, %ecx
	shll	%cl, %eax
	notl	%eax
	andl	%eax, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	___ffs
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_nv50_disp_chan_uevent_send
	btrl	%r13d, %ebx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	andl	$31, %edi
	jne	LBB0_3
## %bb.5:
	leaq	16(%r12), %rbx
	testb	$4, %r15b
	jne	LBB0_6
## %bb.7:
	testb	$8, %r15b
	jne	LBB0_8
LBB0_9:
	andl	$112, %r15d
	je	LBB0_10
LBB0_11:
	movl	%r15d, (%r12)
	movl	8(%r12), %edi
	leaq	4(%r12), %rsi
	callq	_queue_work
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_nvkm_disp_vblank
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	movl	$4, %edx
	callq	_nvkm_wr32
	testb	$8, %r15b
	je	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_nvkm_disp_vblank
	movq	%r14, %rdi
	movl	$6357028, %esi                  ## imm = 0x610024
	movl	$8, %edx
	callq	_nvkm_wr32
	andl	$112, %r15d
	jne	LBB0_11
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	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	w8, #36
	movk	w8, #97, lsl #16
	mov	x21, x0
	ldr	x20, [x21, #16]!
	sub	w1, w8, #4
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x23, x0
	mov	x0, x20
	mov	w1, #36
	movk	w1, #97, lsl #16
	bl	_nvkm_rd32
	mov	x22, x0
	ands	w0, w23, #0x1f0000
	b.eq	LBB0_3
; %bb.1:
	mov	w25, #65536
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	___ffs
	sub	w24, w0, #16
	mov	x0, x19
	mov	x1, x24
	bl	_nv50_disp_intr_error
	lsl	w8, w25, w24
	bic	w23, w23, w8
	ands	w0, w23, #0x1f0000
	b.ne	LBB0_2
LBB0_3:
	ands	w0, w23, #0x1f
	b.eq	LBB0_6
; %bb.4:
	mov	w25, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	___ffs
	mov	x24, x0
	mov	x0, x19
	mov	x1, x24
	bl	_nv50_disp_chan_uevent_send
	lsl	w8, w25, w24
	bic	w23, w23, w8
	ands	w0, w23, #0x1f
	b.ne	LBB0_5
LBB0_6:
	tbnz	w22, #2, LBB0_10
; %bb.7:
	tbnz	w22, #3, LBB0_11
LBB0_8:
	ands	w8, w22, #0x70
	b.eq	LBB0_12
LBB0_9:
	str	w8, [x19]
	ldr	w0, [x19, #8]
	add	x1, x19, #4
	bl	_queue_work
	ldr	w2, [x19]
	mov	x0, x20
	mov	w1, #36
	movk	w1, #97, lsl #16
	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
	b	_nvkm_wr32
LBB0_10:
	mov	x0, x21
	mov	w1, #0
	bl	_nvkm_disp_vblank
	mov	x0, x20
	mov	w1, #36
	movk	w1, #97, lsl #16
	mov	w2, #4
	bl	_nvkm_wr32
	tbz	w22, #3, LBB0_8
LBB0_11:
	mov	x0, x21
	mov	w1, #1
	bl	_nvkm_disp_vblank
	mov	x0, x20
	mov	w1, #36
	movk	w1, #97, lsl #16
	mov	w2, #8
	bl	_nvkm_wr32
	ands	w8, w22, #0x70
	b.ne	LBB0_9
LBB0_12:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
