	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbvision_parse_lines_420
_usbvision_parse_lines_420:             ## @usbvision_parse_lines_420
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	movslq	8(%rbx), %rax
	movslq	12(%rbx), %r15
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	imulq	%rax, %r15
	addq	(%rbx), %r15
	movslq	(%rdi), %r12
	movslq	20(%rbx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movslq	4(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	28(%rbx), %r14d
	callq	_scratch_len
	leal	(%r14,%r14,2), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_2
## %bb.1:
	movq	_parse_state_out@GOTPCREL(%rip), %rax
	jmp	LBB0_52
LBB0_2:
	movl	12(%rbx), %eax
	incl	%eax
	cmpl	16(%rbx), %eax
	jge	LBB0_51
## %bb.3:
	movq	%r14, %rdx
	movl	%ecx, -132(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	testb	$127, %dl
	setne	%r14b
	sete	%r13b
	movl	%edx, %eax
	shrl	$7, %eax
	leal	(%rax,%rax,2), %eax
	shll	$6, %eax
	shll	$6, %r14d
	addl	%eax, %r14d
	leaq	-108(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdx, %rbx
	movl	%r14d, %edx
	callq	_scratch_set_extra_ptr
	leaq	-104(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$128, %edx
	callq	_scratch_set_extra_ptr
	shll	$5, %r13d
	leal	(%r14,%r13), %edx
	addl	$96, %edx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leaq	-100(%rbp), %rsi
	movq	%r13, %rdi
	callq	_scratch_set_extra_ptr
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	cmpl	$32, %ebx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jae	LBB0_7
LBB0_4:
	xorl	%esi, %esi
	testb	$127, -144(%rbp)                ## 1-byte Folded Reload
	setne	%sil
	movl	-132(%rbp), %eax                ## 4-byte Reload
	shrl	%eax
	shll	$5, %esi
	addl	%eax, %esi
	movq	%r13, %rdi
	callq	_scratch_rm_old
	movl	(%r13), %eax
	addl	%eax, %eax
	movl	12(%r14), %ecx
	addl	%eax, %ecx
	movl	%ecx, 12(%r14)
	imull	8(%r14), %eax
	cltq
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	addq	%rax, (%rdx)
	cmpl	16(%r14), %ecx
	jge	LBB0_51
## %bb.5:
	movq	_parse_state_continue@GOTPCREL(%rip), %rax
	jmp	LBB0_52
LBB0_51:
	movq	_parse_state_next_frame@GOTPCREL(%rip), %rax
LBB0_52:
	movl	(%rax), %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	imulq	-88(%rbp), %r12                 ## 8-byte Folded Reload
	addq	%r15, %r12
	decq	%rbx
	imulq	-96(%rbp), %rbx                 ## 8-byte Folded Reload
	xorl	%ecx, %ecx
	movq	-144(%rbp), %rax                ## 8-byte Reload
	testb	$127, %al
	setne	%cl
                                        ## kill: def $eax killed $eax killed $rax
	shrl	$5, %eax
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	addl	%ecx, %ecx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %ecx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	andl	$3, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	L___const.usbvision_parse_lines_420.y_step(%rip), %rax
	movl	(%rax,%rcx,4), %esi
	shll	$5, %esi
	movq	%r13, %rdi
	callq	_scratch_rm_old
	movq	-160(%rbp), %rax                ## 8-byte Reload
	leal	(%rbx,%rax), %r13d
	andl	$3, %r13d
	leaq	L___const.usbvision_parse_lines_420.y_step(%rip), %rax
	movl	(%rax,%r13,4), %esi
	shll	$5, %esi
	leaq	-108(%rbp), %rdi
	callq	_scratch_inc_extra_ptr
	leaq	L___const.usbvision_parse_lines_420.uv_step(%rip), %rbx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rbx,%rax,4), %esi
	shll	$5, %esi
	leaq	-104(%rbp), %rdi
	callq	_scratch_inc_extra_ptr
	movl	(%rbx,%r13,4), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	shll	$5, %esi
	leaq	-100(%rbp), %rdi
	callq	_scratch_inc_extra_ptr
	movq	-120(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	cmpl	-136(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_4
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	$-2, %eax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=2
	movb	%cl, (%r12)
	movzbl	-42(%rbp), %eax
	movb	%al, 1(%r12)
	addq	$2, %r12
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	addq	%rbx, %r15
	addq	%rbx, %r12
	addl	$2, %eax
	cmpl	$30, %eax
	jae	LBB0_8
LBB0_12:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	leaq	-44(%rbp), %rsi
	movl	$2, %edx
	callq	_scratch_get
	movq	%r13, %rdi
	leaq	-42(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	movl	$1, %ecx
	callq	_scratch_get_extra
	movq	%r13, %rdi
	leaq	-41(%rbp), %rsi
	leaq	-100(%rbp), %rdx
	movl	$1, %ecx
	callq	_scratch_get_extra
	movzbl	-41(%rbp), %eax
	addl	$-128, %eax
	movzbl	-42(%rbp), %ecx
	addl	$-128, %ecx
	imull	$132252, %eax, %edx             ## imm = 0x2049C
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	imull	$-53281, %ecx, %edx             ## imm = 0xFFFF2FDF
	imull	$-25625, %eax, %eax             ## imm = 0x9BE7
	addl	%edx, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	imull	$104595, %ecx, %eax             ## imm = 0x19893
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	24(%r14), %eax
	movzbl	-44(%rbp), %ecx
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movb	%cl, (%r15)
	movzbl	-41(%rbp), %eax
	movb	%al, 1(%r15)
	addq	$2, %r15
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	%cl, %ecx
	imull	$76284, %ecx, %ecx              ## imm = 0x129FC
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leal	(%rcx,%rdx), %r13d
	addl	$-1220544, %r13d                ## imm = 0xFFED6040
	sarl	$16, %r13d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %ebx
	addl	$-1220544, %ebx                 ## imm = 0xFFED6040
	sarl	$16, %ebx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %r14d
	addl	$-1220544, %r14d                ## imm = 0xFFED6040
	sarl	$16, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%ebx, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r15)
	shrl	$3, %ebx
	andl	$7, %ebx
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	andl	$248, %eax
	orl	%ebx, %eax
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%ebx, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r15)
	shrl	$3, %ebx
	andl	$3, %ebx
	movl	%r13d, %edi
	callq	_LIMIT_RGB
                                        ## kill: def $eax killed $eax def $rax
	andl	$31, %eax
	leal	(%rbx,%rax,4), %eax
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=2
	movb	%al, 1(%r15)
	addq	$2, %r15
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r15)
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r15)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r15)
	addq	$4, %r15
	jmp	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r15)
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r15)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r15)
	addq	$3, %r15
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=2
	addq	%rbx, %r15
	movl	24(%r14), %eax
	movzbl	-43(%rbp), %ecx
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=2
	movb	%cl, (%r15)
	movzbl	-42(%rbp), %eax
	movb	%al, 1(%r15)
	addq	$2, %r15
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=2
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	%cl, %ecx
	imull	$76284, %ecx, %ecx              ## imm = 0x129FC
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leal	(%rcx,%rdx), %r13d
	addl	$-1220544, %r13d                ## imm = 0xFFED6040
	sarl	$16, %r13d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %r14d
	addl	$-1220544, %r14d                ## imm = 0xFFED6040
	sarl	$16, %r14d
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %ebx
	addl	$-1220544, %ebx                 ## imm = 0xFFED6040
	sarl	$16, %ebx
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%r14d, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r15)
	shrl	$3, %r14d
	andl	$7, %r14d
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	andl	$248, %eax
	orl	%r14d, %eax
	jmp	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%r14d, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r15)
	shrl	$3, %r14d
	andl	$3, %r14d
	movl	%r13d, %edi
	callq	_LIMIT_RGB
                                        ## kill: def $eax killed $eax def $rax
	andl	$31, %eax
	leal	(%r14,%rax,4), %eax
LBB0_28:                                ##   in Loop: Header=BB0_12 Depth=2
	movb	%al, 1(%r15)
	addq	$2, %r15
	jmp	LBB0_31
LBB0_29:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r15)
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r15)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r15)
	addq	$4, %r15
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r15)
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r15)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r15)
	addq	$3, %r15
LBB0_31:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	leaq	-44(%rbp), %rsi
	leaq	-108(%rbp), %rdx
	movl	$2, %ecx
	callq	_scratch_get_extra
	movl	24(%r14), %eax
	movzbl	-44(%rbp), %ecx
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_12 Depth=2
	movb	%cl, (%r12)
	movzbl	-41(%rbp), %eax
	movb	%al, 1(%r12)
	addq	$2, %r12
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_12 Depth=2
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	%cl, %ecx
	imull	$76284, %ecx, %ecx              ## imm = 0x129FC
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leal	(%rcx,%rdx), %r13d
	addl	$-1220544, %r13d                ## imm = 0xFFED6040
	sarl	$16, %r13d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %r14d
	addl	$-1220544, %r14d                ## imm = 0xFFED6040
	sarl	$16, %r14d
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %ebx
	addl	$-1220544, %ebx                 ## imm = 0xFFED6040
	sarl	$16, %ebx
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_36:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%r14d, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r12)
	shrl	$3, %r14d
	andl	$7, %r14d
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	andl	$248, %eax
	orl	%r14d, %eax
	jmp	LBB0_38
LBB0_37:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%r14d, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r12)
	shrl	$3, %r14d
	andl	$3, %r14d
	movl	%r13d, %edi
	callq	_LIMIT_RGB
                                        ## kill: def $eax killed $eax def $rax
	andl	$31, %eax
	leal	(%r14,%rax,4), %eax
LBB0_38:                                ##   in Loop: Header=BB0_12 Depth=2
	movb	%al, 1(%r12)
	addq	$2, %r12
	jmp	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r12)
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r12)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r12)
	addq	$4, %r12
	jmp	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r12)
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r12)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r12)
	addq	$3, %r12
LBB0_41:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_42:                                ##   in Loop: Header=BB0_12 Depth=2
	addq	%rbx, %r12
	movl	24(%r14), %eax
	movzbl	-43(%rbp), %ecx
	movq	_V4L2_PIX_FMT_YUYV@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_10
## %bb.43:                              ##   in Loop: Header=BB0_12 Depth=2
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.44:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	%cl, %ecx
	imull	$76284, %ecx, %ecx              ## imm = 0x129FC
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leal	(%rcx,%rdx), %r13d
	addl	$-1220544, %r13d                ## imm = 0xFFED6040
	sarl	$16, %r13d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %r14d
	addl	$-1220544, %r14d                ## imm = 0xFFED6040
	sarl	$16, %r14d
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rcx,%rdx), %ebx
	addl	$-1220544, %ebx                 ## imm = 0xFFED6040
	sarl	$16, %ebx
	leaq	LJTI0_3(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_45:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%r14d, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r12)
	shrl	$3, %r14d
	andl	$7, %r14d
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	andl	$248, %eax
	orl	%r14d, %eax
	jmp	LBB0_47
LBB0_46:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	andl	$31, %eax
	movl	%r14d, %ecx
	shll	$5, %ecx
	orl	%eax, %ecx
	movb	%cl, (%r12)
	shrl	$3, %r14d
	andl	$3, %r14d
	movl	%r13d, %edi
	callq	_LIMIT_RGB
                                        ## kill: def $eax killed $eax def $rax
	andl	$31, %eax
	leal	(%r14,%rax,4), %eax
LBB0_47:                                ##   in Loop: Header=BB0_12 Depth=2
	movb	%al, 1(%r12)
	addq	$2, %r12
	jmp	LBB0_50
LBB0_48:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r12)
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r12)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r12)
	addq	$4, %r12
	jmp	LBB0_50
LBB0_49:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	callq	_LIMIT_RGB
	movb	%al, (%r12)
	movl	%r14d, %edi
	callq	_LIMIT_RGB
	movb	%al, 1(%r12)
	movl	%r13d, %edi
	callq	_LIMIT_RGB
	movb	%al, 2(%r12)
	addq	$3, %r12
LBB0_50:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_20
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
LJTI0_1:
	.long	L0_1_set_26
	.long	L0_1_set_27
	.long	L0_1_set_29
	.long	L0_1_set_30
.set L0_2_set_36, LBB0_36-LJTI0_2
.set L0_2_set_37, LBB0_37-LJTI0_2
.set L0_2_set_39, LBB0_39-LJTI0_2
.set L0_2_set_40, LBB0_40-LJTI0_2
LJTI0_2:
	.long	L0_2_set_36
	.long	L0_2_set_37
	.long	L0_2_set_39
	.long	L0_2_set_40
.set L0_3_set_45, LBB0_45-LJTI0_3
.set L0_3_set_46, LBB0_46-LJTI0_3
.set L0_3_set_48, LBB0_48-LJTI0_3
.set L0_3_set_49, LBB0_49-LJTI0_3
LJTI0_3:
	.long	L0_3_set_45
	.long	L0_3_set_46
	.long	L0_3_set_48
	.long	L0_3_set_49
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.usbvision_parse_lines_420.y_step
L___const.usbvision_parse_lines_420.y_step:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	2                               ## 0x2

	.p2align	4                               ## @__const.usbvision_parse_lines_420.uv_step
L___const.usbvision_parse_lines_420.uv_step:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	4                               ## 0x4

	.comm	_MAX_FRAME_WIDTH,4,2            ## @MAX_FRAME_WIDTH
	.comm	_parse_state_out,4,2            ## @parse_state_out
	.comm	_parse_state_next_frame,4,2     ## @parse_state_next_frame
	.comm	_V4L2_PIX_FMT_YUYV,4,2          ## @V4L2_PIX_FMT_YUYV
	.comm	_parse_state_continue,4,2       ## @parse_state_continue
	.no_dead_strip	_usbvision_parse_lines_420
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbvision_parse_lines_420
_usbvision_parse_lines_420:             ; @usbvision_parse_lines_420
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	ldr	x27, [x0, #8]
	ldr	x20, [x27]
	ldpsw	x19, x25, [x27, #8]
	ldrsw	x23, [x27, #20]
	ldpsw	x26, x24, [x0]
	ldr	w22, [x27, #28]
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	bl	_scratch_len
	add	w11, w22, w22, lsl #1
	cmp	w0, w11
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x10, _parse_state_out@GOTPAGE
Lloh1:
	ldr	x10, [x10, _parse_state_out@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldp	w8, w9, [x27, #12]
	str	x27, [sp, #32]                  ; 8-byte Folded Spill
	add	w8, w8, #1
Lloh2:
	adrp	x10, _parse_state_next_frame@GOTPAGE
Lloh3:
	ldr	x10, [x10, _parse_state_next_frame@GOTPAGEOFF]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.3:
	str	w11, [sp, #4]                   ; 4-byte Folded Spill
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	ands	w8, w22, #0x7f
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	cset	w8, ne
	lsr	w9, w22, #7
	mov	w10, #192
	mul	w9, w9, w10
	add	w21, w9, w8, lsl #6
	mov	w8, #96
	mov	w9, #128
	csel	w27, w9, w8, eq
	add	x1, sp, #60
	ldr	x28, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x28
	mov	x2, x21
	bl	_scratch_set_extra_ptr
	add	x1, sp, #56
	mov	x0, x28
	mov	w2, #128
	bl	_scratch_set_extra_ptr
	add	w2, w21, w27
	add	x1, sp, #52
	mov	x0, x28
	bl	_scratch_set_extra_ptr
	cmp	w22, #32
	b.hs	LBB0_6
LBB0_4:
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w8, ne
	lsl	w8, w8, #5
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	add	w1, w8, w9, lsr #1
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_scratch_rm_old
	ldr	w8, [x19]
	lsl	w8, w8, #1
	ldr	x12, [sp, #32]                  ; 8-byte Folded Reload
	ldp	w10, w9, [x12, #8]
	add	w9, w9, w8
	str	w9, [x12, #12]
	mul	w8, w8, w10
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x10, [x11]
	add	x8, x10, w8, sxtw
	str	x8, [x11]
	ldr	w8, [x12, #16]
Lloh4:
	adrp	x10, _parse_state_continue@GOTPAGE
Lloh5:
	ldr	x10, [x10, _parse_state_continue@GOTPAGEOFF]
	cmp	w9, w8
Lloh6:
	adrp	x8, _parse_state_next_frame@GOTPAGE
Lloh7:
	ldr	x8, [x8, _parse_state_next_frame@GOTPAGEOFF]
	csel	x10, x10, x8, lt
LBB0_5:
	ldr	w0, [x10]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:
	mov	w28, #0
	madd	x20, x25, x19, x20
	madd	x19, x26, x19, x20
	sub	x8, x24, #1
	mul	x27, x8, x23
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w8, ne
	lsr	w9, w22, #5
	lsl	w8, w8, #1
	stp	w8, w9, [sp, #20]               ; 8-byte Folded Spill
Lloh8:
	adrp	x23, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh9:
	ldr	x23, [x23, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w28, [sp, #28]                  ; 4-byte Folded Reload
	and	w8, w28, #0x3
	lsl	x21, x8, #2
Lloh10:
	adrp	x24, l___const.usbvision_parse_lines_420.y_step@PAGE
Lloh11:
	add	x24, x24, l___const.usbvision_parse_lines_420.y_step@PAGEOFF
	ldr	w8, [x24, x21]
	lsl	w1, w8, #5
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_scratch_rm_old
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	add	w8, w28, w8
	and	w8, w8, #0x3
	lsl	x22, x8, #2
	ldr	w8, [x24, x22]
	lsl	w1, w8, #5
	add	x0, sp, #60
	bl	_scratch_inc_extra_ptr
Lloh12:
	adrp	x24, l___const.usbvision_parse_lines_420.uv_step@PAGE
Lloh13:
	add	x24, x24, l___const.usbvision_parse_lines_420.uv_step@PAGEOFF
	ldr	w8, [x24, x21]
	lsl	w1, w8, #5
	add	x0, sp, #56
	bl	_scratch_inc_extra_ptr
	ldr	w8, [x24, x22]
	lsl	w1, w8, #5
	add	x0, sp, #52
	bl	_scratch_inc_extra_ptr
	add	w28, w28, #1
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w28, w8
	b.eq	LBB0_4
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	str	w28, [sp, #28]                  ; 4-byte Folded Spill
	mov	w28, #-2
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	strb	w9, [x19]
	ldrb	w8, [sp, #49]
	strb	w8, [x19, #1]
	add	x19, x19, #2
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x20, x20, x27
	add	x19, x19, x27
	add	w28, w28, #2
	cmp	w28, #30
	b.hs	LBB0_7
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, sp, #50
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x22
	mov	w2, #2
	bl	_scratch_get
	add	x1, sp, #49
	add	x2, sp, #56
	mov	x0, x22
	mov	w3, #1
	bl	_scratch_get_extra
	add	x1, sp, #48
	add	x2, sp, #52
	mov	x0, x22
	mov	w3, #1
	bl	_scratch_get_extra
	ldrb	w8, [sp, #48]
	sub	w8, w8, #128
	ldrb	w9, [sp, #49]
	sub	w9, w9, #128
	mov	w10, #1180
	movk	w10, #2, lsl #16
	mul	w24, w8, w10
	mov	w10, #-25625
	mul	w8, w8, w10
	mov	w10, #-53281
	madd	w25, w9, w10, w8
	mov	w8, #39059
	movk	w8, #1, lsl #16
	mul	w26, w9, w8
	ldr	w8, [x21, #24]
	ldr	w10, [x23]
	ldrb	w9, [sp, #50]
	cmp	w8, w10
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	strb	w9, [x20]
	ldrb	w8, [sp, #48]
	strb	w8, [x20, #1]
	add	x20, x20, #2
	b	LBB0_21
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=2
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w10, #24640
	movk	w10, #65517, lsl #16
	mov	w11, #10748
	movk	w11, #1, lsl #16
	madd	w9, w9, w11, w10
	add	w10, w9, w24
	asr	w21, w10, #16
	add	w10, w9, w25
	asr	w22, w10, #16
	add	w9, w9, w26
	asr	w23, w9, #16
Lloh14:
	adrp	x11, lJTI0_0@PAGE
Lloh15:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_15
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x20]
	mov	x0, x21
	bl	_LIMIT_RGB
	bfxil	w0, w22, #3, #3
	strb	w0, [x20, #1]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x20]
	ubfx	w22, w22, #3, #2
	mov	x0, x21
	bl	_LIMIT_RGB
	bfi	w22, w0, #2, #5
	strb	w22, [x20, #1]
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x20, x20, #2
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x20]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x20, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x20, #2]
	add	x20, x20, #4
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x20]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x20, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x20, #2]
	add	x20, x20, #3
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
Lloh16:
	adrp	x23, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh17:
	ldr	x23, [x23, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x20, x20, x27
	ldr	w8, [x21, #24]
	ldr	w10, [x23]
	ldrb	w9, [sp, #51]
	cmp	w8, w10
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_11 Depth=2
	strb	w9, [x20]
	ldrb	w8, [sp, #49]
	strb	w8, [x20, #1]
	add	x20, x20, #2
	b	LBB0_31
LBB0_23:                                ;   in Loop: Header=BB0_11 Depth=2
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_31
; %bb.24:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w10, #24640
	movk	w10, #65517, lsl #16
	mov	w11, #10748
	movk	w11, #1, lsl #16
	madd	w9, w9, w11, w10
	add	w10, w9, w24
	asr	w21, w10, #16
	add	w10, w9, w25
	asr	w22, w10, #16
	add	w9, w9, w26
	asr	w23, w9, #16
Lloh18:
	adrp	x11, lJTI0_1@PAGE
Lloh19:
	add	x11, x11, lJTI0_1@PAGEOFF
	adr	x9, LBB0_25
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_25:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x20]
	mov	x0, x21
	bl	_LIMIT_RGB
	bfxil	w0, w22, #3, #3
	strb	w0, [x20, #1]
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x20]
	ubfx	w22, w22, #3, #2
	mov	x0, x21
	bl	_LIMIT_RGB
	bfi	w22, w0, #2, #5
	strb	w22, [x20, #1]
LBB0_27:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x20, x20, #2
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x20]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x20, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x20, #2]
	add	x20, x20, #4
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x20]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x20, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x20, #2]
	add	x20, x20, #3
LBB0_30:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
Lloh20:
	adrp	x23, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh21:
	ldr	x23, [x23, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
LBB0_31:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x1, sp, #50
	add	x2, sp, #60
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w3, #2
	bl	_scratch_get_extra
	ldr	w8, [x21, #24]
	ldr	w10, [x23]
	ldrb	w9, [sp, #50]
	cmp	w8, w10
	b.ne	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_11 Depth=2
	strb	w9, [x19]
	ldrb	w8, [sp, #48]
	strb	w8, [x19, #1]
	add	x19, x19, #2
	b	LBB0_41
LBB0_33:                                ;   in Loop: Header=BB0_11 Depth=2
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_41
; %bb.34:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w10, #24640
	movk	w10, #65517, lsl #16
	mov	w11, #10748
	movk	w11, #1, lsl #16
	madd	w9, w9, w11, w10
	add	w10, w9, w24
	asr	w21, w10, #16
	add	w10, w9, w25
	asr	w22, w10, #16
	add	w9, w9, w26
	asr	w23, w9, #16
Lloh22:
	adrp	x11, lJTI0_2@PAGE
Lloh23:
	add	x11, x11, lJTI0_2@PAGEOFF
	adr	x9, LBB0_35
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_35:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x19]
	mov	x0, x21
	bl	_LIMIT_RGB
	bfxil	w0, w22, #3, #3
	strb	w0, [x19, #1]
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x19]
	ubfx	w22, w22, #3, #2
	mov	x0, x21
	bl	_LIMIT_RGB
	bfi	w22, w0, #2, #5
	strb	w22, [x19, #1]
LBB0_37:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x19, x19, #2
	b	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x19]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x19, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x19, #2]
	add	x19, x19, #4
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x19]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x19, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x19, #2]
	add	x19, x19, #3
LBB0_40:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
Lloh24:
	adrp	x23, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh25:
	ldr	x23, [x23, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
LBB0_41:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x19, x19, x27
	ldr	w8, [x21, #24]
	ldr	w10, [x23]
	ldrb	w9, [sp, #51]
	cmp	w8, w10
	b.eq	LBB0_9
; %bb.42:                               ;   in Loop: Header=BB0_11 Depth=2
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %bb.43:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w10, #24640
	movk	w10, #65517, lsl #16
	mov	w11, #10748
	movk	w11, #1, lsl #16
	madd	w9, w9, w11, w10
	add	w10, w9, w24
	asr	w21, w10, #16
	add	w10, w9, w25
	asr	w22, w10, #16
	add	w9, w9, w26
	asr	w23, w9, #16
Lloh26:
	adrp	x11, lJTI0_3@PAGE
Lloh27:
	add	x11, x11, lJTI0_3@PAGEOFF
	adr	x9, LBB0_44
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_44:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x19]
	mov	x0, x21
	bl	_LIMIT_RGB
	bfxil	w0, w22, #3, #3
	strb	w0, [x19, #1]
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	bl	_LIMIT_RGB
	mov	x22, x0
	mov	x0, x23
	bl	_LIMIT_RGB
	bfi	w0, w22, #5, #27
	strb	w0, [x19]
	ubfx	w22, w22, #3, #2
	mov	x0, x21
	bl	_LIMIT_RGB
	bfi	w22, w0, #2, #5
	strb	w22, [x19, #1]
LBB0_46:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x19, x19, #2
	b	LBB0_49
LBB0_47:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x19]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x19, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x19, #2]
	add	x19, x19, #4
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x23
	bl	_LIMIT_RGB
	strb	w0, [x19]
	mov	x0, x22
	bl	_LIMIT_RGB
	strb	w0, [x19, #1]
	mov	x0, x21
	bl	_LIMIT_RGB
	strb	w0, [x19, #2]
	add	x19, x19, #3
LBB0_49:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
Lloh28:
	adrp	x23, _V4L2_PIX_FMT_YUYV@GOTPAGE
Lloh29:
	ldr	x23, [x23, _V4L2_PIX_FMT_YUYV@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_16-LBB0_15)>>2
	.byte	(LBB0_18-LBB0_15)>>2
	.byte	(LBB0_19-LBB0_15)>>2
lJTI0_1:
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_26-LBB0_25)>>2
	.byte	(LBB0_28-LBB0_25)>>2
	.byte	(LBB0_29-LBB0_25)>>2
lJTI0_2:
	.byte	(LBB0_35-LBB0_35)>>2
	.byte	(LBB0_36-LBB0_35)>>2
	.byte	(LBB0_38-LBB0_35)>>2
	.byte	(LBB0_39-LBB0_35)>>2
lJTI0_3:
	.byte	(LBB0_44-LBB0_44)>>2
	.byte	(LBB0_45-LBB0_44)>>2
	.byte	(LBB0_47-LBB0_44)>>2
	.byte	(LBB0_48-LBB0_44)>>2
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.usbvision_parse_lines_420.y_step
l___const.usbvision_parse_lines_420.y_step:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	2                               ; 0x2

	.p2align	2                               ; @__const.usbvision_parse_lines_420.uv_step
l___const.usbvision_parse_lines_420.uv_step:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	4                               ; 0x4

	.comm	_MAX_FRAME_WIDTH,4,2            ; @MAX_FRAME_WIDTH
	.comm	_parse_state_out,4,2            ; @parse_state_out
	.comm	_parse_state_next_frame,4,2     ; @parse_state_next_frame
	.comm	_V4L2_PIX_FMT_YUYV,4,2          ; @V4L2_PIX_FMT_YUYV
	.comm	_parse_state_continue,4,2       ; @parse_state_continue
	.no_dead_strip	_usbvision_parse_lines_420
.subsections_via_symbols
