	.file	"extr_v4l2_context.c_ff_v4l2_context_enqueue_packet.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s stop_decode\n"
	.text
	.p2align 4
	.globl	ff_v4l2_context_enqueue_packet
	.type	ff_v4l2_context_enqueue_packet, @function
ff_v4l2_context_enqueue_packet:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	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
	call	ctx_to_m2mctx@PLT
	mov	r12d, DWORD PTR 0[r13]
	test	r12d, r12d
	je	.L11
	mov	rdi, rbp
	call	v4l2_getfree_v4l2buf@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
	mov	rsi, rax
	mov	rdi, r13
	call	ff_v4l2_buffer_avpkt_to_buf@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L13
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	ff_v4l2_buffer_enqueue@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	mov	rbx, rax
	call	v4l2_stop_decode@PLT
	test	eax, eax
	jne	.L14
.L3:
	mov	DWORD PTR [rbx], 1
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR EAGAIN[rip]
	pop	rbx
	.cfi_remember_state
	.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
	jmp	AVERROR@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	r14d, DWORD PTR 0[rbp]
	mov	r13d, DWORD PTR AV_LOG_ERROR[rip]
	mov	rdi, rbp
	call	logger@PLT
	lea	rdx, .LC0[rip]
	mov	edi, eax
	mov	ecx, r14d
	mov	esi, r13d
	call	av_log@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ff_v4l2_context_enqueue_packet, .-ff_v4l2_context_enqueue_packet
	.comm	EAGAIN,4,4
	.comm	AV_LOG_ERROR,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_v4l2_context.c_ff_v4l2_context_enqueue_packet.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s stop_decode\012\000"
	.text
	.align	2
	.global	ff_v4l2_context_enqueue_packet
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_v4l2_context_enqueue_packet, %function
ff_v4l2_context_enqueue_packet:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r0
	bl	ctx_to_m2mctx
	ldr	r4, [r5]
	cmp	r4, #0
	beq	.L11
	mov	r0, r6
	bl	v4l2_getfree_v4l2buf
	subs	r6, r0, #0
	beq	.L12
	mov	r0, r5
	mov	r1, r6
	bl	ff_v4l2_buffer_avpkt_to_buf
	subs	r4, r0, #0
	beq	.L13
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	ff_v4l2_buffer_enqueue
.L11:
	mov	r7, r0
	mov	r0, r6
	bl	v4l2_stop_decode
	cmp	r0, #0
	bne	.L14
.L3:
	mov	r3, #1
	mov	r0, r4
	str	r3, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r3, .L15
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	b	AVERROR
.L14:
	mov	r0, r6
	bl	logger
	ldr	r2, .L15+4
	ldr	r3, [r6]
	ldr	r1, [r2]
	ldr	r2, .L15+8
	bl	av_log
	b	.L3
.L16:
	.align	2
.L15:
	.word	EAGAIN
	.word	AV_LOG_ERROR
	.word	.LC0
	.size	ff_v4l2_context_enqueue_packet, .-ff_v4l2_context_enqueue_packet
	.comm	EAGAIN,4,4
	.comm	AV_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
