	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_fmt_vbi_cap
_vidioc_g_fmt_vbi_cap:                  ## @vidioc_g_fmt_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
	callq	_video_drvdata
	movq	(%rax), %r14
	movl	8(%r14), %eax
	movl	%eax, 52(%rbx)
	movq	_V4L2_PIX_FMT_GREY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movl	$13500000, (%rbx)               ## imm = 0xCDFE60
	movl	4(%r14), %eax
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	4(%r14), %eax
	movl	%eax, 4(%rcx)
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r14), %eax
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	$10, (%rax)
	movl	$273, %ecx                      ## imm = 0x111
	jmp	LBB0_4
LBB0_2:
	movq	_V4L2_STD_625_50@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movl	$6, (%rax)
	movl	$318, %ecx                      ## imm = 0x13E
LBB0_4:
	movl	%ecx, 4(%rax)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_GREY,4,2          ## @V4L2_PIX_FMT_GREY
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.no_dead_strip	_vidioc_g_fmt_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_fmt_vbi_cap
_vidioc_g_fmt_vbi_cap:                  ; @vidioc_g_fmt_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
	bl	_video_drvdata
	ldr	x20, [x0]
	ldr	w8, [x20, #8]
Lloh0:
	adrp	x9, _V4L2_PIX_FMT_GREY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_PIX_FMT_GREY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
	stp	xzr, xzr, [x19, #32]
	mov	w8, #65120
	movk	w8, #205, lsl #16
	str	w8, [x19]
	ldr	w8, [x20, #4]
	ldr	x9, [x19, #24]
	str	w8, [x9]
	ldr	w8, [x20, #4]
	str	w8, [x9, #4]
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _V4L2_STD_525_60@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	mov	w9, #10
	str	w9, [x8]
	mov	w9, #273
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x9, _V4L2_STD_625_50@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_STD_625_50@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
	mov	w9, #6
	str	w9, [x8]
	mov	w9, #318
LBB0_4:
	str	w9, [x8, #4]
LBB0_5:
	mov	w0, #0
	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	_V4L2_PIX_FMT_GREY,4,2          ; @V4L2_PIX_FMT_GREY
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.no_dead_strip	_vidioc_g_fmt_vbi_cap
.subsections_via_symbols
