	.file	"extr_zc0301_core.c_zc0301_release.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Video device /dev/video%d closed"
	.text
	.p2align 4
	.type	zc0301_release, @function
zc0301_release:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, zc0301_dev_lock[rip]
	call	down_write@PLT
	mov	rdi, rbp
	call	video_drvdata@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	zc0301_stop_transfer@PLT
	mov	rdi, rbp
	call	zc0301_release_buffers@PLT
	sub	DWORD PTR 20[rbp], 1
	lea	rdi, 16[rbp]
	mov	esi, 1
	call	wake_up_interruptible_nr@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, 3
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR [rax]
	call	DBG@PLT
	mov	esi, DWORD PTR zc0301_release_resources[rip]
	mov	rdi, rbp
	call	kref_put@PLT
	lea	rdi, zc0301_dev_lock[rip]
	call	up_write@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zc0301_release, .-zc0301_release
	.comm	zc0301_release_resources,4,4
	.comm	zc0301_dev_lock,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_zc0301_core.c_zc0301_release.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Video device /dev/video%d closed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zc0301_release, %function
zc0301_release:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L4
	mov	r0, r5
	bl	down_write
	mov	r0, r4
	bl	video_drvdata
	mov	r4, r0
	bl	zc0301_stop_transfer
	mov	r0, r4
	bl	zc0301_release_buffers
	ldr	r3, [r4, #12]
	mov	r1, #1
	sub	r3, r3, #1
	str	r3, [r4, #12]
	add	r0, r4, #8
	bl	wake_up_interruptible_nr
	ldr	r3, [r4, #4]
	ldr	r1, .L4+4
	ldr	r2, [r3]
	mov	r0, #3
	bl	DBG
	ldr	r3, .L4+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	kref_put
	mov	r0, r5
	bl	up_write
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	zc0301_dev_lock
	.word	.LC0
	.word	zc0301_release_resources
	.size	zc0301_release, .-zc0301_release
	.comm	zc0301_release_resources,4,4
	.comm	zc0301_dev_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
