	.file	"extr_nv31.c_nv31_mpeg_intr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"ch %d [%s] %08x %08x %08x %08x\n"
	.text
	.p2align 4
	.type	nv31_mpeg_intr, @function
nv31_mpeg_intr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	nv31_mpeg@PLT
	mov	esi, 45312
	mov	rbp, QWORD PTR 8[rax]
	mov	r12, rax
	mov	rdi, rbp
	call	nvkm_rd32@PLT
	mov	esi, 45616
	mov	rdi, rbp
	mov	r15d, eax
	call	nvkm_rd32@PLT
	mov	esi, 45620
	mov	rdi, rbp
	mov	ebx, eax
	call	nvkm_rd32@PLT
	mov	esi, 45624
	mov	rdi, rbp
	mov	r13d, eax
	call	nvkm_rd32@PLT
	xor	esi, esi
	mov	rdi, r12
	mov	r14d, eax
	call	spin_lock_irqsave@PLT
	test	r15d, 16777216
	je	.L8
	cmp	ebx, 32
	jne	.L3
	test	r13d, r13d
	je	.L25
.L3:
	cmp	ebx, 16
	je	.L26
.L4:
	mov	edx, r15d
	mov	esi, 45312
	mov	rdi, rbp
	call	nvkm_wr32@PLT
	mov	edx, 1
	mov	esi, 45616
	mov	rdi, rbp
	call	nvkm_wr32@PLT
.L7:
	mov	rax, QWORD PTR 16[r12]
	lea	rcx, .LC0[rip]
	mov	edx, -1
	test	rax, rax
	je	.L6
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR [rax]
.L6:
	push	r14
	.cfi_def_cfa_offset 88
	lea	rdi, 8[r12]
	mov	r9d, ebx
	mov	r8d, r15d
	push	r13
	.cfi_def_cfa_offset 96
	lea	rsi, .LC1[rip]
	call	nvkm_error@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR 12[rsp], r15d
.L2:
	mov	edx, r15d
	mov	esi, 45312
	mov	rdi, rbp
	call	nvkm_wr32@PLT
	mov	edx, 1
	mov	esi, 45616
	mov	rdi, rbp
	call	nvkm_wr32@PLT
	mov	ecx, DWORD PTR 12[rsp]
	test	ecx, ecx
	jne	.L7
.L5:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, 45832
	mov	rdi, rbp
	call	nvkm_mask@PLT
	mov	eax, r15d
	and	eax, -16777217
	mov	DWORD PTR 12[rsp], eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edx, r14d
	mov	esi, r13d
	mov	rdi, r12
	call	nv31_mpeg_mthd@PLT
	test	rax, rax
	je	.L4
	mov	eax, r15d
	and	eax, -16777217
	mov	DWORD PTR 12[rsp], eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	nv31_mpeg_intr, .-nv31_mpeg_intr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_nv31.c_nv31_mpeg_intr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown\000"
	.align	2
.LC1:
	.ascii	"ch %d [%s] %08x %08x %08x %08x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv31_mpeg_intr, %function
nv31_mpeg_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #16
	bl	nv31_mpeg
	ldr	r4, [r0, #4]
	mov	r5, r0
	mov	r1, #45312
	mov	r0, r4
	bl	nvkm_rd32
	ldr	r1, .L20
	mov	r6, r0
	mov	r0, r4
	bl	nvkm_rd32
	ldr	r1, .L20+4
	mov	r7, r0
	mov	r0, r4
	bl	nvkm_rd32
	ldr	r1, .L20+8
	mov	r8, r0
	mov	r0, r4
	bl	nvkm_rd32
	mov	r1, #0
	mov	r9, r0
	mov	r0, r5
	bl	spin_lock_irqsave
	tst	r6, #16777216
	beq	.L8
	cmp	r7, #32
	cmpeq	r8, #0
	beq	.L18
	cmp	r7, #16
	beq	.L19
.L4:
	mov	r2, r6
	mov	r1, #45312
	mov	r0, r4
	bl	nvkm_wr32
	mov	r0, r4
	mov	r2, #1
	ldr	r1, .L20
	bl	nvkm_wr32
.L7:
	ldr	r3, [r5, #8]
	ldr	r1, .L20+12
	cmp	r3, #0
	ldrne	r2, [r3, #4]
	ldrne	r3, [r3]
	ldrne	r2, [r2]
	ldrne	r3, [r3]
	mvneq	r2, #0
	stm	sp, {r6, r7, r8, r9}
	ldreq	r3, .L20+16
	add	r0, r5, #4
	bl	nvkm_error
	b	.L5
.L8:
	mov	r10, r6
.L2:
	mov	r2, r6
	mov	r1, #45312
	mov	r0, r4
	bl	nvkm_wr32
	mov	r0, r4
	mov	r2, #1
	ldr	r1, .L20
	bl	nvkm_wr32
	cmp	r10, #0
	bne	.L7
.L5:
	mov	r0, r5
	mov	r1, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	spin_unlock_irqrestore
.L18:
	mov	r3, #0
	mov	r0, r4
	mov	r2, r3
	ldr	r1, .L20+20
	bl	nvkm_mask
	bic	r10, r6, #16777216
	b	.L2
.L19:
	mov	r2, r9
	mov	r1, r8
	mov	r0, r5
	bl	nv31_mpeg_mthd
	cmp	r0, #0
	bicne	r10, r6, #16777216
	bne	.L2
	b	.L4
.L21:
	.align	2
.L20:
	.word	45616
	.word	45620
	.word	45624
	.word	.LC1
	.word	.LC0
	.word	45832
	.size	nv31_mpeg_intr, .-nv31_mpeg_intr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
