	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gbr24pToUV_half_c
_gbr24pToUV_half_c:                     ## @gbr24pToUV_half_c
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%r9d, %r9d
	jle	LBB0_3
## %bb.1:
	movl	%r9d, %eax
	movq	%rcx, %r10
	movq	%rsi, %r11
	movq	16(%rbp), %rcx
	movq	_RU_IDX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	_GU_IDX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	_BU_IDX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	_RV_IDX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	_GV_IDX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	_BV_IDX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r9d, %eax
	shlq	$2, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rdx,%r9,2), %r14d
	addl	(%rdx,%r9,2), %r14d
	movl	4(%r10,%r9,2), %esi
	addl	(%r10,%r9,2), %esi
	movl	4(%r8,%r9,2), %r15d
	addl	(%r8,%r9,2), %r15d
	movl	%r15d, %r12d
	movl	%r14d, %eax
	imull	-60(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%esi, %r13d
	imull	-56(%rbp), %r13d                ## 4-byte Folded Reload
	addl	%eax, %r13d
	movq	_RGB2YUV_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	leal	-6(%rax), %ecx
	movq	%r11, %rbx
	movl	$16385, %r11d                   ## imm = 0x4001
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r11d
	imull	-64(%rbp), %r12d                ## 4-byte Folded Reload
	addl	%r12d, %r13d
	addl	%r13d, %r11d
	addb	$-5, %al
	movl	%eax, %ecx
	shrl	%cl, %r11d
	movl	%r11d, (%rdi,%r9)
	movq	%rbx, %r11
	imull	-52(%rbp), %r15d                ## 4-byte Folded Reload
	imull	-48(%rbp), %r14d                ## 4-byte Folded Reload
	imull	-44(%rbp), %esi                 ## 4-byte Folded Reload
	addl	%r14d, %esi
	addl	%r15d, %esi
	movq	_RGB2YUV_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	leal	-6(%rax), %ecx
	movl	$16385, %ebx                    ## imm = 0x4001
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	addl	%esi, %ebx
	addb	$-5, %al
	movl	%eax, %ecx
	shrl	%cl, %ebx
	movl	%ebx, (%r11,%r9)
	addq	$4, %r9
	cmpq	%r9, -72(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RU_IDX,8,3                     ## @RU_IDX
	.comm	_GU_IDX,8,3                     ## @GU_IDX
	.comm	_BU_IDX,8,3                     ## @BU_IDX
	.comm	_RV_IDX,8,3                     ## @RV_IDX
	.comm	_GV_IDX,8,3                     ## @GV_IDX
	.comm	_BV_IDX,8,3                     ## @BV_IDX
	.comm	_RGB2YUV_SHIFT,4,2              ## @RGB2YUV_SHIFT
	.no_dead_strip	_gbr24pToUV_half_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gbr24pToUV_half_c
_gbr24pToUV_half_c:                     ; @gbr24pToUV_half_c
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	cmp	w5, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _RU_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RU_IDX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x6, x8, lsl #2]
Lloh3:
	adrp	x9, _GU_IDX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GU_IDX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x6, x9, lsl #2]
Lloh6:
	adrp	x10, _BU_IDX@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BU_IDX@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w10, [x6, x10, lsl #2]
Lloh9:
	adrp	x11, _RV_IDX@GOTPAGE
Lloh10:
	ldr	x11, [x11, _RV_IDX@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	ldr	w11, [x6, x11, lsl #2]
Lloh12:
	adrp	x12, _GV_IDX@GOTPAGE
Lloh13:
	ldr	x12, [x12, _GV_IDX@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
	ldr	w12, [x6, x12, lsl #2]
Lloh15:
	adrp	x13, _BV_IDX@GOTPAGE
Lloh16:
	ldr	x13, [x13, _BV_IDX@GOTPAGEOFF]
Lloh17:
	ldr	x13, [x13]
	ldr	w13, [x6, x13, lsl #2]
	mov	w14, w5
	add	x15, x4, #4
	add	x16, x3, #4
	add	x17, x2, #4
Lloh18:
	adrp	x2, _RGB2YUV_SHIFT@GOTPAGE
Lloh19:
	ldr	x2, [x2, _RGB2YUV_SHIFT@GOTPAGEOFF]
	mov	w3, #16385
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w4, w5, [x17, #-4]
	add	w4, w5, w4
	ldp	w5, w6, [x16, #-4]
	add	w5, w6, w5
	ldp	w6, w7, [x15, #-4]
	add	w6, w7, w6
	mul	w7, w4, w9
	ldr	w19, [x2]
	sub	w20, w19, #6
	lsl	w20, w3, w20
	madd	w7, w5, w10, w7
	madd	w7, w6, w8, w7
	add	w7, w7, w20
	sub	w19, w19, #5
	lsr	w7, w7, w19
	str	w7, [x0], #4
	mul	w4, w4, w12
	ldr	w7, [x2]
	sub	w19, w7, #6
	lsl	w19, w3, w19
	madd	w4, w5, w13, w4
	madd	w4, w6, w11, w4
	add	w4, w4, w19
	sub	w5, w7, #5
	lsr	w4, w4, w5
	str	w4, [x1], #4
	add	x15, x15, #8
	add	x16, x16, #8
	add	x17, x17, #8
	subs	x14, x14, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x20, x19, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RU_IDX,8,3                     ; @RU_IDX
	.comm	_GU_IDX,8,3                     ; @GU_IDX
	.comm	_BU_IDX,8,3                     ; @BU_IDX
	.comm	_RV_IDX,8,3                     ; @RV_IDX
	.comm	_GV_IDX,8,3                     ; @GV_IDX
	.comm	_BV_IDX,8,3                     ; @BV_IDX
	.comm	_RGB2YUV_SHIFT,4,2              ; @RGB2YUV_SHIFT
	.no_dead_strip	_gbr24pToUV_half_c
.subsections_via_symbols
