	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vivid_fill_service_lines       ## -- Begin function vivid_fill_service_lines
	.p2align	4, 0x90
_vivid_fill_service_lines:              ## @vivid_fill_service_lines
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$144, (%rdi)
	movl	%esi, 4(%rdi)
	movq	8(%rdi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	movq	_V4L2_SLICED_CAPTION_525@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rcx
	movq	(%rcx), %rdx
	movl	%eax, 84(%rdx)
	movq	8(%rcx), %rcx
	movl	%eax, 84(%rcx)
	movl	4(%rbx), %ecx
LBB0_3:
	movq	_V4L2_SLICED_WSS_625@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	movq	_V4L2_SLICED_TELETEXT_B@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 28(%rcx)
	movl	%esi, 28(%rdx)
	movl	%esi, 32(%rcx)
	movl	%esi, 32(%rdx)
	movl	%esi, 36(%rcx)
	movl	%esi, 36(%rdx)
	movl	%esi, 40(%rcx)
	movl	%esi, 40(%rdx)
	movl	%esi, 44(%rcx)
	movl	%esi, 44(%rdx)
	movl	%esi, 48(%rcx)
	movl	%esi, 48(%rdx)
	movl	%esi, 52(%rcx)
	movl	%esi, 52(%rdx)
	movl	%esi, 56(%rcx)
	movl	%esi, 56(%rdx)
	movl	%esi, 60(%rcx)
	movl	%esi, 60(%rdx)
	movl	%esi, 64(%rcx)
	movl	%esi, 64(%rdx)
	movl	%esi, 68(%rcx)
	movl	%esi, 68(%rdx)
	movl	%esi, 72(%rcx)
	movl	%esi, 72(%rdx)
	movl	%eax, 92(%rdx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SLICED_CAPTION_525,4,2    ## @V4L2_SLICED_CAPTION_525
	.comm	_V4L2_SLICED_WSS_625,4,2        ## @V4L2_SLICED_WSS_625
	.comm	_V4L2_SLICED_TELETEXT_B,4,2     ## @V4L2_SLICED_TELETEXT_B
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vivid_fill_service_lines       ; -- Begin function vivid_fill_service_lines
	.p2align	2
_vivid_fill_service_lines:              ; @vivid_fill_service_lines
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #144
	stp	w8, w1, [x0]
	ldr	x0, [x0, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w9, [x19, #4]
	cbz	w9, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _V4L2_SLICED_CAPTION_525@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SLICED_CAPTION_525@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	ldp	x10, x9, [x9]
	str	w8, [x10, #84]
	str	w8, [x9, #84]
	ldr	w9, [x19, #4]
LBB0_3:
Lloh3:
	adrp	x8, _V4L2_SLICED_WSS_625@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_SLICED_WSS_625@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_5
; %bb.4:
	ldr	x9, [x19, #8]
	ldp	x9, x10, [x9]
Lloh6:
	adrp	x11, _V4L2_SLICED_TELETEXT_B@GOTPAGE
Lloh7:
	ldr	x11, [x11, _V4L2_SLICED_TELETEXT_B@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	str	w11, [x10, #28]
	str	w11, [x9, #28]
	str	w11, [x10, #32]
	str	w11, [x9, #32]
	str	w11, [x10, #36]
	str	w11, [x9, #36]
	str	w11, [x10, #40]
	str	w11, [x9, #40]
	str	w11, [x10, #44]
	str	w11, [x9, #44]
	str	w11, [x10, #48]
	str	w11, [x9, #48]
	str	w11, [x10, #52]
	str	w11, [x9, #52]
	str	w11, [x10, #56]
	str	w11, [x9, #56]
	str	w11, [x10, #60]
	str	w11, [x9, #60]
	str	w11, [x10, #64]
	str	w11, [x9, #64]
	str	w11, [x10, #68]
	str	w11, [x9, #68]
	str	w11, [x10, #72]
	str	w11, [x9, #72]
	str	w8, [x9, #92]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SLICED_CAPTION_525,4,2    ; @V4L2_SLICED_CAPTION_525
	.comm	_V4L2_SLICED_WSS_625,4,2        ; @V4L2_SLICED_WSS_625
	.comm	_V4L2_SLICED_TELETEXT_B,4,2     ; @V4L2_SLICED_TELETEXT_B
.subsections_via_symbols
