	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_fmt_sliced_vbi_out
_vidioc_s_fmt_sliced_vbi_out:           ## @vidioc_s_fmt_sliced_vbi_out
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	(%rsi), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_dprintk
	movl	16(%r14), %edi
	callq	_FW_VERSION
	cmpl	$9762, %eax                     ## imm = 0x2622
	jg	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	_V4L2_SLICED_WSS_625@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	%rax, (%r15)
	je	LBB0_4
## %bb.3:
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	cmpq	%rax, 184(%rcx)
	jne	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%r12), %rax
	movq	%rax, (%r15)
	movq	(%r12), %rax
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	movq	%rax, 184(%rcx)
	movl	$4, 16(%r15)
	movl	$1, (%r14)
	movq	$0, 8(%r14)
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	$0, (%r14)
	movq	$0, 8(%r14)
	movq	_COMTYPE_ENCODER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SetWSSConfig@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av7110_fw_cmd                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIDIOC_S_FMT\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_SLICED_WSS_625,8,3        ## @V4L2_SLICED_WSS_625
	.comm	_COMTYPE_ENCODER,4,2            ## @COMTYPE_ENCODER
	.comm	_SetWSSConfig,4,2               ## @SetWSSConfig
	.no_dead_strip	_vidioc_s_fmt_sliced_vbi_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_fmt_sliced_vbi_out
_vidioc_s_fmt_sliced_vbi_out:           ; @vidioc_s_fmt_sliced_vbi_out
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	ldr	x8, [x1]
	ldr	x19, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_dprintk
	ldr	w0, [x19, #16]
	bl	_FW_VERSION
	mov	w8, #9762
	cmp	w0, w8
	b.gt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	ldr	x9, [x20]
Lloh5:
	adrp	x21, _V4L2_SLICED_WSS_625@GOTPAGE
Lloh6:
	ldr	x21, [x21, _V4L2_SLICED_WSS_625@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x9, x8
	b.eq	LBB0_4
; %bb.3:
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	ldr	x9, [x9, #184]
	cmp	x9, x8
	b.ne	LBB0_6
LBB0_4:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	w0, #0
	ldr	x8, [x21]
	str	x8, [x20]
	ldr	x8, [x21]
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	str	x8, [x9, #184]
	mov	w8, #4
	str	w8, [x20, #16]
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	wzr, [x19]
	str	xzr, [x19, #8]
Lloh7:
	adrp	x8, _COMTYPE_ENCODER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COMTYPE_ENCODER@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _SetWSSConfig@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SetWSSConfig@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_av7110_fw_cmd
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIDIOC_S_FMT\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_SLICED_WSS_625,8,3        ; @V4L2_SLICED_WSS_625
	.comm	_COMTYPE_ENCODER,4,2            ; @COMTYPE_ENCODER
	.comm	_SetWSSConfig,4,2               ; @SetWSSConfig
	.no_dead_strip	_vidioc_s_fmt_sliced_vbi_out
.subsections_via_symbols
