	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function palToUV_c
_palToUV_c:                             ## @palToUV_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%rcx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpq	%r8, %rcx
	sete	%dil
	callq	_av_assert1
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.1:
	movq	16(%rbp), %rcx
	movl	%r12d, %r8d
	cmpl	$1, %r12d
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rax,8), %rdi
	movl	(%rcx,%rdi,4), %edx
	movl	%edx, %edi
	sarl	$8, %edi
	movslq	%edi, %rdi
	shlq	$6, %rdi
	movq	%rdi, (%r15,%rax,8)
	sarl	$16, %edx
	movslq	%edx, %rdx
	shlq	$6, %rdx
	movq	%rdx, (%r14,%rax,8)
	movq	8(%rbx,%rax,8), %rdx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, %edi
	sarl	$8, %edi
	movslq	%edi, %rdi
	shlq	$6, %rdi
	movq	%rdi, 8(%r15,%rax,8)
	sarl	$16, %edx
	movslq	%edx, %rdx
	shlq	$6, %rdx
	movq	%rdx, 8(%r14,%rax,8)
	addq	$2, %rax
	cmpq	%rax, %rsi
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movq	(%rbx,%rax,8), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, %edx
	sarl	$8, %edx
	movslq	%edx, %rdx
	shlq	$6, %rdx
	movq	%rdx, (%r15,%rax,8)
	sarl	$16, %ecx
	movslq	%ecx, %rcx
	shlq	$6, %rcx
	movq	%rcx, (%r14,%rax,8)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_palToUV_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function palToUV_c
_palToUV_c:                             ; @palToUV_c
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x6
	mov	x23, x5
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	cmp	x3, x4
	cset	w0, eq
	bl	_av_assert1
	cmp	w23, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, w23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20], #8
	ldr	w9, [x19, x9, lsl #2]
	asr	w10, w9, #8
	sbfiz	x10, x10, #6, #32
	str	x10, [x22], #8
	asr	w9, w9, #16
	sbfiz	x9, x9, #6, #32
	str	x9, [x21], #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_palToUV_c
.subsections_via_symbols
