	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivtv_g_fmt_sliced_vbi_cap
_ivtv_g_fmt_sliced_vbi_cap:             ## @ivtv_g_fmt_sliced_vbi_cap
	.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	%rdx, %rbx
	movq	%rsi, %rdi
	callq	_fh2id
	movq	8(%rax), %rcx
	movq	16(%rbx), %rdx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdx)
	movl	$144, (%rbx)
	movq	(%rax), %rax
	movq	_IVTV_DEC_STREAM_TYPE_VBI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.1:
	movq	8(%rcx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.3:
	movq	_V4L2_SLICED_VBI_525@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movl	(%rcx), %edi
	movq	_vbi@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_sliced_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	callq	_v4l2_subdev_call
	jmp	LBB0_6
LBB0_2:
	movq	_V4L2_SLICED_VBI_625@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_ivtv_expand_service_set
LBB0_6:
	movq	%rbx, %rdi
	callq	_ivtv_get_service_set
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IVTV_DEC_STREAM_TYPE_VBI,8,3   ## @IVTV_DEC_STREAM_TYPE_VBI
	.comm	_V4L2_SLICED_VBI_625,8,3        ## @V4L2_SLICED_VBI_625
	.comm	_V4L2_SLICED_VBI_525,8,3        ## @V4L2_SLICED_VBI_525
	.comm	_vbi,4,2                        ## @vbi
	.comm	_g_sliced_fmt,4,2               ## @g_sliced_fmt
	.no_dead_strip	_ivtv_g_fmt_sliced_vbi_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivtv_g_fmt_sliced_vbi_cap
_ivtv_g_fmt_sliced_vbi_cap:             ; @ivtv_g_fmt_sliced_vbi_cap
	.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, x2
	mov	x0, x1
	bl	_fh2id
	ldr	x8, [x0, #8]
	ldr	x9, [x19, #16]
	stp	xzr, xzr, [x9]
	mov	w9, #144
	str	w9, [x19]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _IVTV_DEC_STREAM_TYPE_VBI@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IVTV_DEC_STREAM_TYPE_VBI@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x1, [x8, #8]
Lloh3:
	adrp	x8, _V4L2_SLICED_VBI_625@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_SLICED_VBI_625@GOTPAGEOFF]
Lloh5:
	adrp	x9, _V4L2_SLICED_VBI_525@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_SLICED_VBI_525@GOTPAGEOFF]
	cmp	x1, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	x0, x19
	bl	_ivtv_expand_service_set
	b	LBB0_3
LBB0_2:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _vbi@GOTPAGE
Lloh8:
	ldr	x8, [x8, _vbi@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _g_sliced_fmt@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_sliced_fmt@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_v4l2_subdev_call
LBB0_3:
	mov	x0, x19
	bl	_ivtv_get_service_set
	str	x0, [x19, #8]
	mov	w0, #0
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IVTV_DEC_STREAM_TYPE_VBI,8,3   ; @IVTV_DEC_STREAM_TYPE_VBI
	.comm	_V4L2_SLICED_VBI_625,8,3        ; @V4L2_SLICED_VBI_625
	.comm	_V4L2_SLICED_VBI_525,8,3        ; @V4L2_SLICED_VBI_525
	.comm	_vbi,4,2                        ; @vbi
	.comm	_g_sliced_fmt,4,2               ; @g_sliced_fmt
	.no_dead_strip	_ivtv_g_fmt_sliced_vbi_cap
.subsections_via_symbols
