	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_mpeg_intr                 ## -- Begin function nv50_mpeg_intr
	.p2align	4, 0x90
_nv50_mpeg_intr:                        ## @nv50_mpeg_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, %rbx
	movl	$45312, %esi                    ## imm = 0xB100
	callq	_nv_rd32
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$45616, %esi                    ## imm = 0xB230
	callq	_nv_rd32
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$45620, %esi                    ## imm = 0xB234
	callq	_nv_rd32
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$45624, %esi                    ## imm = 0xB238
	callq	_nv_rd32
	movl	%eax, %r13d
	movl	%r14d, %eax
	testl	$16777216, %r14d                ## imm = 0x1000000
	je	LBB0_4
## %bb.1:
	cmpl	$32, %r15d
	jne	LBB0_5
## %bb.2:
	testl	%r12d, %r12d
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	movl	$45832, %esi                    ## imm = 0xB308
	movl	$256, %edx                      ## imm = 0x100
	callq	_nv_wr32
	movl	%r14d, %eax
	andl	$-16777217, %eax                ## imm = 0xFEFFFFFF
LBB0_4:
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	callq	_nv_info
LBB0_6:
	movq	%rbx, %rdi
	movl	$45312, %esi                    ## imm = 0xB100
	movl	%r14d, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$45616, %esi                    ## imm = 0xB230
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_wr32                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%08x 0x%08x 0x%08x 0x%08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_mpeg_intr                 ; -- Begin function nv50_mpeg_intr
	.p2align	2
_nv50_mpeg_intr:                        ; @nv50_mpeg_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	w1, #45312
	bl	_nv_rd32
	mov	x20, x0
	mov	x0, x19
	mov	w1, #45616
	bl	_nv_rd32
	mov	x21, x0
	mov	x0, x19
	mov	w1, #45620
	bl	_nv_rd32
	mov	x22, x0
	mov	x0, x19
	mov	w1, #45624
	bl	_nv_rd32
	mov	x23, x0
	mov	x8, x20
	tbz	w20, #24, LBB0_4
; %bb.1:
	cmp	w21, #32
	b.ne	LBB0_5
; %bb.2:
	cbnz	w22, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #45832
	mov	w2, #256
	bl	_nv_wr32
	and	w8, w20, #0xfeffffff
LBB0_4:
	cbz	w8, LBB0_6
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_nv_info
LBB0_6:
	mov	x0, x19
	mov	w1, #45312
	mov	x2, x20
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #45616
	mov	w2, #1
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nv_wr32
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%08x 0x%08x 0x%08x 0x%08x\n"

.subsections_via_symbols
