	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivtv_write_vbi_line
_ivtv_write_vbi_line:                   ## @ivtv_write_vbi_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %r8
	movq	(%rsi), %rdi
	movq	_V4L2_SLICED_CAPTION_525@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_3
## %bb.1:
	cmpl	$21, 8(%rsi)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpq	$0, 16(%rsi)
	sete	%al
	movq	24(%rsi), %rsi
	movl	(%rsi), %edi
	movq	(%rdx,%rax,8), %rax
	movl	%edi, (%rax)
	movl	4(%rsi), %edx
	movl	%edx, 4(%rax)
	movl	$1, (%rcx)
	popq	%rbp
	retq
LBB0_3:
	movq	_V4L2_SLICED_VPS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	movq	_V4L2_SLICED_WSS_625@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_7
## %bb.4:
	cmpl	$23, 8(%rsi)
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 16(%rsi)
	jne	LBB0_7
## %bb.6:
	movq	24(%rsi), %rax
	movl	4(%rax), %ecx
	shll	$8, %ecx
	orl	(%rax), %ecx
	cmpl	%ecx, 8(%r8)
	jne	LBB0_8
LBB0_7:
	popq	%rbp
	retq
LBB0_8:
	movl	%ecx, 8(%r8)
	movq	_IVTV_F_I_UPDATE_WSS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r8, %rsi
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SLICED_CAPTION_525,8,3    ## @V4L2_SLICED_CAPTION_525
	.comm	_V4L2_SLICED_VPS,8,3            ## @V4L2_SLICED_VPS
	.comm	_IVTV_F_I_UPDATE_VPS,4,2        ## @IVTV_F_I_UPDATE_VPS
	.comm	_V4L2_SLICED_WSS_625,8,3        ## @V4L2_SLICED_WSS_625
	.comm	_IVTV_F_I_UPDATE_WSS,4,2        ## @IVTV_F_I_UPDATE_WSS
	.no_dead_strip	_ivtv_write_vbi_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivtv_write_vbi_line
_ivtv_write_vbi_line:                   ; @ivtv_write_vbi_line
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _V4L2_SLICED_CAPTION_525@GOTPAGE
Lloh1:
	ldr	x10, [x10, _V4L2_SLICED_CAPTION_525@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	w10, [x1, #8]
	cmp	w10, #21
	b.ne	LBB0_3
; %bb.2:
	ldp	x8, x9, [x1, #16]
	cmp	x8, #0
	cset	w8, eq
	ldr	x8, [x2, w8, uxtw #3]
	ldr	w10, [x9]
	str	w10, [x8]
	ldr	w9, [x9, #4]
	str	w9, [x8, #4]
	mov	w8, #1
	str	w8, [x3]
	ret
LBB0_3:
Lloh3:
	adrp	x10, _V4L2_SLICED_VPS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _V4L2_SLICED_VPS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
Lloh6:
	adrp	x10, _V4L2_SLICED_WSS_625@GOTPAGE
Lloh7:
	ldr	x10, [x10, _V4L2_SLICED_WSS_625@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.4:
	ldr	w9, [x1, #8]
	cmp	w9, #23
	b.ne	LBB0_7
; %bb.5:
	ldr	x9, [x1, #16]
	cbnz	x9, LBB0_7
; %bb.6:
	ldr	x9, [x1, #24]
	ldp	w10, w9, [x9]
	orr	w9, w10, w9, lsl #8
	ldr	w10, [x8, #8]
	cmp	w10, w9
	b.ne	LBB0_8
LBB0_7:
	ret
LBB0_8:
	str	w9, [x8, #8]
Lloh9:
	adrp	x9, _IVTV_F_I_UPDATE_WSS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IVTV_F_I_UPDATE_WSS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	mov	x1, x8
	b	_set_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SLICED_CAPTION_525,8,3    ; @V4L2_SLICED_CAPTION_525
	.comm	_V4L2_SLICED_VPS,8,3            ; @V4L2_SLICED_VPS
	.comm	_IVTV_F_I_UPDATE_VPS,4,2        ; @IVTV_F_I_UPDATE_VPS
	.comm	_V4L2_SLICED_WSS_625,8,3        ; @V4L2_SLICED_WSS_625
	.comm	_IVTV_F_I_UPDATE_WSS,4,2        ; @IVTV_F_I_UPDATE_WSS
	.no_dead_strip	_ivtv_write_vbi_line
.subsections_via_symbols
