	.file	"extr_nv50.c_nv50_mpeg_context_ctor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nv50_mpeg_context_ctor
	.type	nv50_mpeg_context_ctor, @function
nv50_mpeg_context_ctor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r9
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	nouveau_bar@PLT
	mov	rdx, r14
	mov	rsi, r12
	xor	r9d, r9d
	mov	r13, rax
	mov	rax, rsp
	mov	r8d, 512
	xor	ecx, ecx
	push	rax
	.cfi_def_cfa_offset 72
	mov	eax, DWORD PTR NVOBJ_FLAG_ZERO_ALLOC[rip]
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 80
	call	nouveau_mpeg_context_create@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r12d, eax
	call	nv_object@PLT
	mov	QWORD PTR [rbx], rax
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	test	r12d, r12d
	jne	.L1
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 8396481
	mov	esi, 112
	call	nv_wo32@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 892
	mov	esi, 124
	call	nv_wo32@PLT
	mov	rdi, r13
	call	[QWORD PTR 0[r13]]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nv50_mpeg_context_ctor, .-nv50_mpeg_context_ctor
	.comm	NVOBJ_FLAG_ZERO_ALLOC,4,4
	.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_nv50.c_nv50_mpeg_context_ctor.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nv50_mpeg_context_ctor
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv50_mpeg_context_ctor, %function
nv50_mpeg_context_ctor:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L7
	sub	sp, sp, #24
	mov	r5, r1
	mov	r4, r0
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r7, [sp, #52]
	bl	nouveau_bar
	mov	r8, #512
	mov	r3, #0
	mov	ip, r0
	ldr	r1, .L7+4
	mov	r2, r6
	ldr	lr, [r1]
	mov	r0, r4
	str	lr, [sp, #8]
	add	lr, sp, #16
	mov	r1, r5
	str	r3, [sp, #4]
	str	lr, [sp, #12]
	str	r8, [sp]
	mov	r5, ip
	bl	nouveau_mpeg_context_create
	mov	r4, r0
	ldr	r0, [sp, #16]
	bl	nv_object
	cmp	r4, #0
	str	r0, [r7]
	bne	.L1
	mov	r1, #112
	ldr	r2, .L7+8
	ldr	r0, [sp, #16]
	bl	nv_wo32
	mov	r2, #892
	mov	r1, #124
	ldr	r0, [sp, #16]
	bl	nv_wo32
	mov	r0, r5
	ldr	r3, [r5]
	blx	r3
.L1:
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	NVOBJ_FLAG_ZERO_ALLOC
	.word	8396481
	.size	nv50_mpeg_context_ctor, .-nv50_mpeg_context_ctor
	.comm	NVOBJ_FLAG_ZERO_ALLOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
