	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_vbi_data
_copy_vbi_data:                         ## @copy_vbi_data
	.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
	movl	%edx, %r14d
	movq	%rdi, %r12
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_get_frame
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	callq	_videobuf_to_vmalloc
	movq	8(%r12), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	(%r12), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rcx
	addq	%rcx, %rax
LBB0_4:
	movslq	4(%r12), %rdi
	addq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
LBB0_5:
	addl	%r14d, 4(%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_vbi_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_vbi_data
_copy_vbi_data:                         ; @copy_vbi_data
	.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	x19, x2
	mov	x20, x0
	ldr	x22, [x0, #16]
	cbz	x22, LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x0, x22
	mov	x1, #0
	bl	_get_frame
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x22]
	bl	_videobuf_to_vmalloc
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	x0, x0, w8, sxtw
LBB0_4:
	ldrsw	x8, [x20, #4]
	add	x0, x0, x8
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
LBB0_5:
	ldr	w8, [x20, #4]
	add	w8, w8, w19
	str	w8, [x20, #4]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_vbi_data
.subsections_via_symbols
