	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_sliced_vbi_cap
_vidioc_g_sliced_vbi_cap:               ## @vidioc_g_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_dprintk
	movq	(%rbx), %rax
	movq	_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	(%r14), %edi
	callq	_FW_VERSION
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$9763, %ecx                     ## imm = 0x2623
	jl	LBB0_4
## %bb.3:
	movq	_V4L2_SLICED_WSS_625@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, 184(%rdx)
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIDIOC_G_SLICED_VBI_CAP\n"

	.comm	_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT,8,3 ## @V4L2_BUF_TYPE_SLICED_VBI_OUTPUT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_SLICED_WSS_625,8,3        ## @V4L2_SLICED_WSS_625
	.no_dead_strip	_vidioc_g_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 vidioc_g_sliced_vbi_cap
_vidioc_g_sliced_vbi_cap:               ; @vidioc_g_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
	ldr	x8, [x1]
	ldr	x20, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_dprintk
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _V4L2_BUF_TYPE_SLICED_VBI_OUTPUT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_BUF_TYPE_SLICED_VBI_OUTPUT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x20]
	bl	_FW_VERSION
	mov	w8, #9763
	cmp	w0, w8
	b.lt	LBB0_4
; %bb.2:
	mov	w0, #0
Lloh5:
	adrp	x8, _V4L2_SLICED_WSS_625@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_SLICED_WSS_625@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	str	x8, [x9, #184]
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIDIOC_G_SLICED_VBI_CAP\n"

	.comm	_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT,8,3 ; @V4L2_BUF_TYPE_SLICED_VBI_OUTPUT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_SLICED_WSS_625,8,3        ; @V4L2_SLICED_WSS_625
	.no_dead_strip	_vidioc_g_sliced_vbi_cap
.subsections_via_symbols
