	.file	"extr_vivid-vbi-cap.c_vivid_fill_service_lines.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vivid_fill_service_lines
	.type	vivid_fill_service_lines, @function
vivid_fill_service_lines:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	edx, 8
	mov	DWORD PTR 4[rdi], esi
	xor	esi, esi
	mov	DWORD PTR [rdi], 144
	mov	rdi, QWORD PTR 8[rdi]
	call	memset@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	edx, 8
	xor	esi, esi
	call	memset@PLT
	mov	eax, DWORD PTR 4[rbx]
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR V4L2_SLICED_CAPTION_525[rip]
	test	eax, edx
	je	.L4
	mov	rax, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 84[rcx], edx
	mov	DWORD PTR 84[rax], edx
	mov	eax, DWORD PTR 4[rbx]
.L4:
	test	DWORD PTR V4L2_SLICED_WSS_625[rip], eax
	je	.L1
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, 28
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR V4L2_SLICED_TELETEXT_B[rip]
	mov	DWORD PTR [rsi+rax], edx
	mov	DWORD PTR [rcx+rax], edx
	add	rax, 4
	cmp	rax, 76
	jne	.L6
	mov	eax, DWORD PTR V4L2_SLICED_WSS_625[rip]
	mov	DWORD PTR 92[rcx], eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vivid_fill_service_lines, .-vivid_fill_service_lines
	.comm	V4L2_SLICED_WSS_625,4,4
	.comm	V4L2_SLICED_TELETEXT_B,4,4
	.comm	V4L2_SLICED_CAPTION_525,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_vivid-vbi-cap.c_vivid_fill_service_lines.c"
	.text
	.align	2
	.global	vivid_fill_service_lines
	.syntax unified
	.arm
	.fpu softvfp
	.type	vivid_fill_service_lines, %function
vivid_fill_service_lines:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	mov	ip, #144
	ldr	r2, [r0, #8]
	str	r1, [r0, #4]
	str	ip, [r0]
	strb	r3, [r2]
	strb	r3, [r2, #1]
	strb	r3, [r2, #2]
	strb	r3, [r2, #3]
	ldr	r2, [r0, #12]
	strb	r3, [r2]
	strb	r3, [r2, #1]
	strb	r3, [r2, #2]
	strb	r3, [r2, #3]
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bxeq	lr
	ldr	r2, .L19
	push	{r4, lr}
	ldr	r2, [r2]
	ldr	lr, .L19+4
	tst	r3, r2
	ldrne	r3, [r0, #8]
	ldmne	r3, {r1, r3}
	strne	r2, [r1, #84]
	strne	r2, [r3, #84]
	ldrne	r3, [r0, #4]
	ldr	r2, [lr]
	tst	r3, r2
	popeq	{r4, pc}
	ldr	r3, [r0, #8]
	ldr	ip, .L19+8
	ldr	r0, [r3, #4]
	ldr	r4, [r3]
	add	r3, r0, #24
	add	r1, r4, #24
	add	r0, r0, #72
.L6:
	ldr	r2, [ip]
	str	r2, [r3, #4]!
	cmp	r3, r0
	str	r2, [r1, #4]!
	bne	.L6
	ldr	r3, [lr]
	str	r3, [r4, #92]
	pop	{r4, pc}
.L20:
	.align	2
.L19:
	.word	V4L2_SLICED_CAPTION_525
	.word	V4L2_SLICED_WSS_625
	.word	V4L2_SLICED_TELETEXT_B
	.size	vivid_fill_service_lines, .-vivid_fill_service_lines
	.comm	V4L2_SLICED_WSS_625,4,4
	.comm	V4L2_SLICED_TELETEXT_B,4,4
	.comm	V4L2_SLICED_CAPTION_525,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
