	.file	"extr_hva-v4l2.c_hva_release.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s %s encoder closed\n"
.LC1:
	.string	"%s encoder instance released\n"
	.text
	.p2align 4
	.type	hva_release, @function
hva_release:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	call	fh_to_ctx@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	ctx_to_hdev@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	ctx_to_dev@PLT
	mov	r13, QWORD PTR 24[rbp]
	mov	r12, rax
	test	r13, r13
	je	.L2
	mov	edx, DWORD PTR 8[rbp]
	mov	ecx, DWORD PTR 8[r13]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	dev_dbg@PLT
	mov	rdi, rbp
	call	[QWORD PTR 0[r13]]
	mov	rdx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 24[rbp], 0
	mov	QWORD PTR [rax+rdx*8], 0
	sub	DWORD PTR [rbx], 1
.L2:
	mov	rdi, rbp
	lea	r13, 12[rbp]
	call	hva_dbg_summary@PLT
	mov	edi, DWORD PTR 12[rbp]
	call	v4l2_m2m_ctx_release@PLT
	lea	rdi, 16[rbp]
	call	v4l2_ctrl_handler_free@PLT
	mov	rdi, r13
	call	v4l2_fh_del@PLT
	mov	rdi, r13
	call	v4l2_fh_exit@PLT
	mov	edx, DWORD PTR 8[rbp]
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	call	dev_info@PLT
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hva_release, .-hva_release
	.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_hva-v4l2.c_hva_release.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s %s encoder closed\012\000"
	.align	2
.LC1:
	.ascii	"%s encoder instance released\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hva_release, %function
hva_release:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r0]
	bl	fh_to_ctx
	mov	r4, r0
	bl	ctx_to_hdev
	mov	r5, r0
	mov	r0, r4
	bl	ctx_to_dev
	ldr	r7, [r4, #16]
	mov	r6, r0
	cmp	r7, #0
	beq	.L2
	ldr	r2, [r4, #4]
	ldr	r1, .L8
	ldr	r3, [r7, #4]
	bl	dev_dbg
	ldr	r3, [r7]
	mov	r0, r4
	blx	r3
	mov	r2, #0
	ldr	r3, [r5]
	ldr	r0, [r4]
	ldr	r1, [r5, #4]
	sub	r3, r3, #1
	str	r2, [r4, #16]
	str	r2, [r1, r0, lsl #2]
	str	r3, [r5]
.L2:
	mov	r0, r4
	bl	hva_dbg_summary
	ldr	r0, [r4, #8]
	bl	v4l2_m2m_ctx_release
	add	r5, r4, #8
	add	r0, r4, #12
	bl	v4l2_ctrl_handler_free
	mov	r0, r5
	bl	v4l2_fh_del
	mov	r0, r5
	bl	v4l2_fh_exit
	ldr	r2, [r4, #4]
	ldr	r1, .L8+4
	mov	r0, r6
	bl	dev_info
	mov	r0, r4
	bl	kfree
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	hva_release, .-hva_release
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
