	.file	"extr_allegro-core.c_allegro_handle_encode_frame.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"received %s for unknown channel %d\n"
	.text
	.p2align 4
	.type	allegro_handle_encode_frame, @function
allegro_handle_encode_frame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	esi, DWORD PTR [rsi]
	call	allegro_find_channel_by_channel_id@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L6
	mov	rsi, rbp
	mov	rdi, r12
	call	allegro_channel_finish_frame@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbp]
	mov	r12d, DWORD PTR 0[rbp]
	call	msg_type_name@PLT
	mov	ecx, r12d
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	v4l2_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	allegro_handle_encode_frame, .-allegro_handle_encode_frame
	.comm	EINVAL,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_allegro-core.c_allegro_handle_encode_frame.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"received %s for unknown channel %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	allegro_handle_encode_frame, %function
allegro_handle_encode_frame:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r1, [r1]
	mov	r7, r0
	bl	allegro_find_channel_by_channel_id
	mov	r6, r0
	bl	IS_ERR
	subs	r4, r0, #0
	bne	.L6
	mov	r1, r5
	mov	r0, r6
	bl	allegro_channel_finish_frame
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r0, [r5, #4]
	bl	msg_type_name
	ldr	r3, [r5]
	mov	r2, r0
	ldr	r1, .L7
	mov	r0, r7
	bl	v4l2_err
	ldr	r3, .L7+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	EINVAL
	.size	allegro_handle_encode_frame, .-allegro_handle_encode_frame
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
