	.file	"extr_vpbe_venc.c_venc_initialize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Error setting output during init\n"
	.align 8
.LC1:
	.string	"Error setting std during init\n"
	.text
	.p2align 4
	.type	venc_initialize, @function
venc_initialize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	to_state@PLT
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	QWORD PTR 8[rax], 0
	mov	rbx, rax
	mov	rdi, rbp
	mov	eax, DWORD PTR V4L2_STD_525_60[rip]
	mov	DWORD PTR [rbx], eax
	call	venc_s_routing@PLT
	test	eax, eax
	js	.L6
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	venc_s_std_output@PLT
	test	eax, eax
	js	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	v4l2_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	v4l2_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	venc_initialize, .-venc_initialize
	.comm	V4L2_STD_525_60,4,4
	.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_vpbe_venc.c_venc_initialize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error setting output during init\012\000"
	.align	2
.LC1:
	.ascii	"Error setting std during init\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	venc_initialize, %function
venc_initialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	to_state
	mov	r3, #0
	mov	r4, r0
	ldr	r2, .L7
	str	r3, [r0, #4]
	ldr	r2, [r2]
	mov	r0, r5
	str	r2, [r4]
	mov	r1, r3
	mov	r2, r3
	bl	venc_s_routing
	cmp	r0, #0
	blt	.L6
	mov	r0, r5
	ldr	r1, [r4]
	bl	venc_s_std_output
	cmp	r0, #0
	popge	{r4, r5, r6, pc}
	mov	r0, r5
	ldr	r1, .L7+4
	bl	v4l2_err
	ldr	r3, .L7+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r5
	ldr	r1, .L7+12
	bl	v4l2_err
	ldr	r3, .L7+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	V4L2_STD_525_60
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.size	venc_initialize, .-venc_initialize
	.comm	V4L2_STD_525_60,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
