	.file	"extr_vpfe_capture.c_vpfe_streamoff.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vpfe_streamoff\n"
.LC1:
	.string	"Invalid buf type\n"
.LC2:
	.string	"fh->io_allowed\n"
.LC3:
	.string	"device started\n"
.LC4:
	.string	"stream off failed in subdev\n"
	.text
	.p2align 4
	.type	vpfe_streamoff, @function
vpfe_streamoff:
.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
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	video_drvdata@PLT
	mov	esi, DWORD PTR debug[rip]
	mov	edi, 1
	mov	rbx, QWORD PTR [rbx]
	lea	r13, 8[rax]
	lea	rcx, .LC0[rip]
	mov	rbp, rax
	mov	rdx, r13
	call	v4l2_dbg@PLT
	cmp	DWORD PTR V4L2_BUF_TYPE_VIDEO_CAPTURE[rip], r12d
	jne	.L12
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	je	.L13
	mov	eax, DWORD PTR 24[rbp]
	test	eax, eax
	je	.L14
	mov	rdi, rbp
	call	mutex_lock_interruptible@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, .LC1[rip]
	call	v4l2_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, .LC3[rip]
	call	v4l2_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, rbp
	call	vpfe_stop_ccdc_capture@PLT
	mov	rdi, rbp
	call	vpfe_detach_irq@PLT
	mov	rax, QWORD PTR 16[rbp]
	xor	r8d, r8d
	mov	rdi, r13
	mov	ecx, DWORD PTR s_stream[rip]
	mov	edx, DWORD PTR video[rip]
	mov	esi, DWORD PTR [rax]
	call	v4l2_device_call_until_err@PLT
	test	eax, eax
	je	.L6
	add	eax, DWORD PTR ENOIOCTLCMD[rip]
	jne	.L16
.L6:
	lea	rdi, 4[rbp]
	call	videobuf_streamoff@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, .LC2[rip]
	call	v4l2_err@PLT
	mov	r12d, DWORD PTR EACCES[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	mov	rdi, r13
	call	v4l2_err@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	vpfe_streamoff, .-vpfe_streamoff
	.comm	video,4,4
	.comm	s_stream,4,4
	.comm	debug,4,4
	.comm	V4L2_BUF_TYPE_VIDEO_CAPTURE,4,4
	.comm	ENOIOCTLCMD,4,4
	.comm	EINVAL,4,4
	.comm	EACCES,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_vpfe_capture.c_vpfe_streamoff.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vpfe_streamoff\012\000"
	.align	2
.LC1:
	.ascii	"Invalid buf type\012\000"
	.align	2
.LC2:
	.ascii	"fh->io_allowed\012\000"
	.align	2
.LC3:
	.ascii	"device started\012\000"
	.align	2
.LC4:
	.ascii	"stream off failed in subdev\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vpfe_streamoff, %function
vpfe_streamoff:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r5, r2
	mov	r6, r0
	bl	video_drvdata
	ldr	r3, .L17
	add	r7, r0, #8
	ldr	r1, [r3]
	mov	r4, r0
	ldr	r3, .L17+4
	mov	r2, r7
	mov	r0, #1
	ldr	r6, [r6]
	bl	v4l2_dbg
	ldr	r3, .L17+8
	ldr	r3, [r3]
	cmp	r3, r5
	bne	.L12
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L14
	mov	r0, r4
	bl	mutex_lock_interruptible
	subs	r5, r0, #0
	beq	.L15
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	mov	r0, r7
	ldr	r1, .L17+12
	bl	v4l2_err
	ldr	r3, .L17+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	mov	r0, r7
	ldr	r1, .L17+20
	bl	v4l2_err
	ldr	r3, .L17+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	mov	r0, r4
	bl	vpfe_stop_ccdc_capture
	mov	r0, r4
	bl	vpfe_detach_irq
	ldr	r2, [r4, #12]
	ldr	r3, .L17+24
	ldr	r1, [r2]
	ldr	r2, .L17+28
	str	r5, [sp]
	mov	r0, r7
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	v4l2_device_call_until_err
	cmp	r0, #0
	beq	.L6
	ldr	r3, .L17+32
	ldr	r3, [r3]
	cmn	r0, r3
	bne	.L16
.L6:
	add	r0, r4, #4
	bl	videobuf_streamoff
	mov	r5, r0
	mov	r0, r4
	bl	mutex_unlock
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	mov	r0, r7
	ldr	r1, .L17+36
	bl	v4l2_err
	ldr	r3, .L17+40
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	mov	r0, r7
	ldr	r1, .L17+44
	bl	v4l2_err
	b	.L6
.L18:
	.align	2
.L17:
	.word	debug
	.word	.LC0
	.word	V4L2_BUF_TYPE_VIDEO_CAPTURE
	.word	.LC1
	.word	EINVAL
	.word	.LC3
	.word	s_stream
	.word	video
	.word	ENOIOCTLCMD
	.word	.LC2
	.word	EACCES
	.word	.LC4
	.size	vpfe_streamoff, .-vpfe_streamoff
	.comm	video,4,4
	.comm	s_stream,4,4
	.comm	debug,4,4
	.comm	V4L2_BUF_TYPE_VIDEO_CAPTURE,4,4
	.comm	ENOIOCTLCMD,4,4
	.comm	EINVAL,4,4
	.comm	EACCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
