	.file	"extr_ivtv-vbi.c_ivtv_set_cc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ivtv_set_cc, @function
ivtv_set_cc:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR V4L2_CAP_VIDEO_OUTPUT[rip], eax
	je	.L1
	mov	eax, DWORD PTR V4L2_SLICED_CAPTION_525[rip]
	mov	rbp, rdx
	mov	rdx, QWORD PTR 8[rdx]
	mov	ebx, esi
	mov	r14d, 21
	mov	DWORD PTR [rsp], 0
	mov	r13, rsp
	mov	r12, rdi
	mov	DWORD PTR 16[rsp], eax
	mov	eax, esi
	mov	r8, r13
	and	eax, 1
	cmovne	eax, r14d
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR 8[rsp]
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	mov	edx, DWORD PTR 4[rdx]
	mov	ecx, DWORD PTR s_vbi_data[rip]
	mov	esi, DWORD PTR IVTV_HW_SAA7127[rip]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR vbi[rip]
	call	ivtv_call_hw@PLT
	and	ebx, 2
	mov	rdx, QWORD PTR 0[rbp]
	mov	r8, r13
	cmovne	ebx, r14d
	mov	DWORD PTR [rsp], 1
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, r12
	mov	DWORD PTR 4[rsp], ebx
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	mov	edx, DWORD PTR 4[rdx]
	mov	ecx, DWORD PTR s_vbi_data[rip]
	mov	esi, DWORD PTR IVTV_HW_SAA7127[rip]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR vbi[rip]
	call	ivtv_call_hw@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ivtv_set_cc, .-ivtv_set_cc
	.comm	vbi,4,4
	.comm	s_vbi_data,4,4
	.comm	V4L2_SLICED_CAPTION_525,4,4
	.comm	V4L2_CAP_VIDEO_OUTPUT,4,4
	.comm	IVTV_HW_SAA7127,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_ivtv-vbi.c_ivtv_set_cc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ivtv_set_cc, %function
ivtv_set_cc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L12
	ldr	ip, [r0]
	ldr	r3, [r3]
	sub	sp, sp, #32
	tst	ip, r3
	ldr	r3, .L12+4
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	beq	.L1
	ands	r3, r1, #1
	movne	r3, #21
	mov	r4, r1
	mov	r1, #0
	ldr	ip, .L12+8
	mov	r6, r2
	ldr	ip, [ip]
	ldr	r2, [r2, #4]
	str	r3, [sp, #16]
	str	ip, [sp, #24]
	str	r1, [sp, #12]
	ldr	r1, [r2]
	ldr	r3, [sp, #20]
	ldr	r10, .L12+12
	str	r1, [r3]
	ldr	r2, [r2, #4]
	ldr	r9, .L12+16
	ldr	r7, .L12+20
	add	r8, sp, #12
	str	r2, [r3, #4]
	ldr	r1, [r7]
	ldr	r3, [r10]
	ldr	r2, [r9]
	str	r8, [sp]
	mov	r5, r0
	bl	ivtv_call_hw
	ands	r4, r4, #2
	mov	r2, #1
	movne	r4, #21
	ldr	r3, [r6]
	str	r4, [sp, #16]
	str	r2, [sp, #12]
	ldr	r1, [r3]
	ldr	r2, [sp, #20]
	mov	r0, r5
	str	r1, [r2]
	ldr	r1, [r3, #4]
	ldr	r3, [r10]
	str	r1, [r2, #4]
	ldr	r2, [r9]
	ldr	r1, [r7]
	str	r8, [sp]
	bl	ivtv_call_hw
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	V4L2_CAP_VIDEO_OUTPUT
	.word	.LC0
	.word	V4L2_SLICED_CAPTION_525
	.word	s_vbi_data
	.word	vbi
	.word	IVTV_HW_SAA7127
	.size	ivtv_set_cc, .-ivtv_set_cc
	.comm	vbi,4,4
	.comm	s_vbi_data,4,4
	.comm	V4L2_SLICED_CAPTION_525,4,4
	.comm	V4L2_CAP_VIDEO_OUTPUT,4,4
	.comm	IVTV_HW_SAA7127,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
