	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx18_g_fmt_sliced_vbi_cap
_cx18_g_fmt_sliced_vbi_cap:             ## @cx18_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	callq	_fh2id
	movq	(%rax), %r15
	movq	24(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movl	$144, (%rbx)
	movl	16(%rbx), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	$0, 8(%rbx)
	movl	(%r15), %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
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_cx18_get_service_set
	movq	%rax, 8(%rbx)
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vbi,4,2                        ## @vbi
	.comm	_g_sliced_fmt,4,2               ## @g_sliced_fmt
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cx18_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 cx18_g_fmt_sliced_vbi_cap
_cx18_g_fmt_sliced_vbi_cap:             ; @cx18_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	x20, [x0]
	ldr	x8, [x19, #24]
	stp	xzr, xzr, [x8]
	mov	w8, #144
	str	w8, [x19]
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	xzr, [x19, #8]
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _vbi@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vbi@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _g_sliced_fmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_sliced_fmt@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_v4l2_subdev_call
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_cx18_get_service_set
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_vbi,4,2                        ; @vbi
	.comm	_g_sliced_fmt,4,2               ; @g_sliced_fmt
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cx18_g_fmt_sliced_vbi_cap
.subsections_via_symbols
