	.file	"extr_vpbe_venc.c_venc_set_dac.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Setting output to Composite\n"
.LC1:
	.string	"Setting output to Component\n"
.LC2:
	.string	"Setting output to S-video\n"
	.text
	.p2align 4
	.type	venc_set_dac, @function
venc_set_dac:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	cmp	esi, 1
	je	.L2
	cmp	esi, 2
	je	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	test	esi, esi
	je	.L8
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdx, rdi
	mov	edi, DWORD PTR debug[rip]
	lea	rcx, .LC0[rip]
	mov	esi, 1
	call	v4l2_dbg@PLT
	mov	esi, DWORD PTR VENC_DACSEL[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	venc_write@PLT
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdx, rdi
	mov	edi, DWORD PTR debug[rip]
	lea	rcx, .LC2[rip]
	mov	esi, 1
	call	v4l2_dbg@PLT
	mov	edx, DWORD PTR VDAC_S_VIDEO[rip]
	mov	esi, DWORD PTR VENC_DACSEL[rip]
	mov	rdi, rbp
	call	venc_write@PLT
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdx, rdi
	mov	edi, DWORD PTR debug[rip]
	lea	rcx, .LC1[rip]
	mov	esi, 1
	call	v4l2_dbg@PLT
	mov	edx, DWORD PTR VDAC_COMPONENT[rip]
	mov	esi, DWORD PTR VENC_DACSEL[rip]
	mov	rdi, rbp
	call	venc_write@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	venc_set_dac, .-venc_set_dac
	.comm	debug,4,4
	.comm	VENC_DACSEL,4,4
	.comm	VDAC_S_VIDEO,4,4
	.comm	VDAC_COMPONENT,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_set_dac.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Setting output to Composite\012\000"
	.align	2
.LC1:
	.ascii	"Setting output to Component\012\000"
	.align	2
.LC2:
	.ascii	"Setting output to S-video\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	venc_set_dac, %function
venc_set_dac:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #1
	push	{r4, r5, r6, lr}
	mov	r5, r0
	beq	.L2
	cmp	r1, #2
	mov	r4, r1
	beq	.L3
	cmp	r1, #0
	beq	.L9
	ldr	r3, .L10
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r2, .L10+4
	ldr	r3, .L10+8
	ldr	r0, [r2]
	mov	r2, r5
	bl	v4l2_dbg
	ldr	r2, .L10+12
.L7:
	ldr	r3, .L10+16
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	venc_write
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r2, .L10+4
	mov	r1, #1
	ldr	r3, .L10+20
	ldr	r0, [r2]
	mov	r2, r5
	bl	v4l2_dbg
	ldr	r3, .L10+16
	mov	r0, r5
	mov	r2, r4
	ldr	r1, [r3]
	bl	venc_write
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r2, .L10+4
	mov	r1, #1
	ldr	r0, [r2]
	ldr	r3, .L10+24
	mov	r2, r5
	bl	v4l2_dbg
	ldr	r2, .L10+28
	b	.L7
.L11:
	.align	2
.L10:
	.word	EINVAL
	.word	debug
	.word	.LC1
	.word	VDAC_COMPONENT
	.word	VENC_DACSEL
	.word	.LC0
	.word	.LC2
	.word	VDAC_S_VIDEO
	.size	venc_set_dac, .-venc_set_dac
	.comm	debug,4,4
	.comm	VENC_DACSEL,4,4
	.comm	VDAC_S_VIDEO,4,4
	.comm	VDAC_COMPONENT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
