	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CIN_ResampleCinematic          ## -- Begin function CIN_ResampleCinematic
	.p2align	4, 0x90
_CIN_ResampleCinematic:                 ## @CIN_ResampleCinematic
	.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
	movq	_cinTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%edi, %rdx
	shlq	$4, %rdx
	movl	8(%rcx,%rdx), %ebx
	leal	255(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	movq	(%rcx,%rdx), %r11
	movl	12(%rcx,%rdx), %edi
	leal	255(%rdi), %ecx
	testl	%edi, %edi
	cmovnsl	%edi, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%ecx, %ecx
	cmpl	$512, %ebx                      ## imm = 0x200
	sete	%dl
	andl	$-256, %ebx
	andl	$-256, %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$512, %ebx                      ## imm = 0x200
	jne	LBB0_11
## %bb.1:
	cmpl	$512, %edi                      ## imm = 0x200
	jne	LBB0_11
## %bb.2:
	leaq	8192(%r11), %rcx
	leaq	8220(%r11), %r9
	xorl	%edi, %edi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	addq	$16384, %rcx                    ## imm = 0x4000
	addq	$16384, %r9                     ## imm = 0x4000
	cmpq	$256, %rdi                      ## imm = 0x100
	je	LBB0_30
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rdi, %rax
	shlq	$14, %rax
	leaq	(%r11,%rax), %rdx
	addq	$16384, %rdx                    ## imm = 0x4000
	leaq	4096(%rsi), %r8
	cmpq	%rdx, %rsi
	jae	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r11, %rax
	cmpq	%r8, %rax
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$-8, %eax
	movq	%r9, %rdx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-8204(%rdx), %ebx
	addl	-8220(%rdx), %ebx
	addl	-28(%rdx), %ebx
	addl	-12(%rdx), %ebx
	sarl	$2, %ebx
	movl	%ebx, (%rsi)
	movl	-8200(%rdx), %ebx
	addl	-8216(%rdx), %ebx
	addl	-24(%rdx), %ebx
	addl	-8(%rdx), %ebx
	sarl	$2, %ebx
	movl	%ebx, 4(%rsi)
	movl	-8196(%rdx), %ebx
	addl	-8212(%rdx), %ebx
	addl	-20(%rdx), %ebx
	addl	-4(%rdx), %ebx
	sarl	$2, %ebx
	movl	%ebx, 8(%rsi)
	movl	-8192(%rdx), %ebx
	addl	-8208(%rdx), %ebx
	addl	-16(%rdx), %ebx
	addl	(%rdx), %ebx
	sarl	$2, %ebx
	movl	%ebx, 12(%rsi)
	addq	$16, %rsi
	addq	$32, %rdx
	addl	$8, %eax
	cmpl	$2040, %eax                     ## imm = 0x7F8
	jb	LBB0_6
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-8080(%rcx,%rdx,2), %xmm8
	movdqu	-8112(%rcx,%rdx,2), %xmm10
	movdqu	-8096(%rcx,%rdx,2), %xmm2
	movdqu	-8128(%rcx,%rdx,2), %xmm4
	movdqu	-8192(%rcx,%rdx,2), %xmm6
	movdqu	-8176(%rcx,%rdx,2), %xmm11
	movdqu	-8160(%rcx,%rdx,2), %xmm5
	movdqu	-8144(%rcx,%rdx,2), %xmm9
	movdqa	%xmm6, %xmm7
	punpckldq	%xmm5, %xmm7            ## xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
	movdqa	%xmm4, %xmm3
	punpckldq	%xmm2, %xmm3            ## xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
	punpcklqdq	%xmm3, %xmm7            ## xmm7 = xmm7[0],xmm3[0]
	pshufd	$85, %xmm6, %xmm1               ## xmm1 = xmm6[1,1,1,1]
	pblendw	$12, %xmm5, %xmm1               ## xmm1 = xmm1[0,1],xmm5[2,3],xmm1[4,5,6,7]
	pblendw	$240, %xmm3, %xmm1              ## xmm1 = xmm1[0,1,2,3],xmm3[4,5,6,7]
	pshufd	$170, %xmm2, %xmm3              ## xmm3 = xmm2[2,2,2,2]
	pblendw	$63, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,2,3,4,5],xmm3[6,7]
	punpckhdq	%xmm5, %xmm6            ## xmm6 = xmm6[2],xmm5[2],xmm6[3],xmm5[3]
	pblendw	$15, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3],xmm3[4,5,6,7]
	punpckhdq	%xmm2, %xmm4            ## xmm4 = xmm4[2],xmm2[2],xmm4[3],xmm2[3]
	punpckhqdq	%xmm4, %xmm6            ## xmm6 = xmm6[1],xmm4[1]
	movdqa	%xmm11, %xmm5
	punpckldq	%xmm9, %xmm5            ## xmm5 = xmm5[0],xmm9[0],xmm5[1],xmm9[1]
	movdqa	%xmm10, %xmm2
	punpckldq	%xmm8, %xmm2            ## xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1]
	punpcklqdq	%xmm2, %xmm5            ## xmm5 = xmm5[0],xmm2[0]
	paddd	%xmm7, %xmm5
	pshufd	$85, %xmm11, %xmm15             ## xmm15 = xmm11[1,1,1,1]
	pblendw	$12, %xmm9, %xmm15              ## xmm15 = xmm15[0,1],xmm9[2,3],xmm15[4,5,6,7]
	pblendw	$240, %xmm2, %xmm15             ## xmm15 = xmm15[0,1,2,3],xmm2[4,5,6,7]
	paddd	%xmm1, %xmm15
	pshufd	$170, %xmm8, %xmm12             ## xmm12 = xmm8[2,2,2,2]
	pblendw	$63, %xmm10, %xmm12             ## xmm12 = xmm10[0,1,2,3,4,5],xmm12[6,7]
	punpckhdq	%xmm9, %xmm11           ## xmm11 = xmm11[2],xmm9[2],xmm11[3],xmm9[3]
	pblendw	$15, %xmm11, %xmm12             ## xmm12 = xmm11[0,1,2,3],xmm12[4,5,6,7]
	paddd	%xmm3, %xmm12
	punpckhdq	%xmm8, %xmm10           ## xmm10 = xmm10[2],xmm8[2],xmm10[3],xmm8[3]
	punpckhqdq	%xmm10, %xmm11          ## xmm11 = xmm11[1],xmm10[1]
	paddd	%xmm6, %xmm11
	movdqu	112(%rcx,%rdx,2), %xmm8
	movdqu	80(%rcx,%rdx,2), %xmm10
	movdqu	48(%rcx,%rdx,2), %xmm9
	movdqu	16(%rcx,%rdx,2), %xmm1
	movdqu	96(%rcx,%rdx,2), %xmm14
	movdqu	64(%rcx,%rdx,2), %xmm3
	movdqu	32(%rcx,%rdx,2), %xmm2
	movdqu	(%rcx,%rdx,2), %xmm6
	movdqa	%xmm6, %xmm7
	punpckldq	%xmm2, %xmm7            ## xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
	movdqa	%xmm3, %xmm0
	punpckldq	%xmm14, %xmm0           ## xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1]
	punpcklqdq	%xmm0, %xmm7            ## xmm7 = xmm7[0],xmm0[0]
	pshufd	$85, %xmm6, %xmm4               ## xmm4 = xmm6[1,1,1,1]
	pblendw	$12, %xmm2, %xmm4               ## xmm4 = xmm4[0,1],xmm2[2,3],xmm4[4,5,6,7]
	pblendw	$240, %xmm0, %xmm4              ## xmm4 = xmm4[0,1,2,3],xmm0[4,5,6,7]
	pshufd	$170, %xmm14, %xmm13            ## xmm13 = xmm14[2,2,2,2]
	pblendw	$63, %xmm3, %xmm13              ## xmm13 = xmm3[0,1,2,3,4,5],xmm13[6,7]
	punpckhdq	%xmm2, %xmm6            ## xmm6 = xmm6[2],xmm2[2],xmm6[3],xmm2[3]
	pblendw	$15, %xmm6, %xmm13              ## xmm13 = xmm6[0,1,2,3],xmm13[4,5,6,7]
	punpckhdq	%xmm14, %xmm3           ## xmm3 = xmm3[2],xmm14[2],xmm3[3],xmm14[3]
	punpckhqdq	%xmm3, %xmm6            ## xmm6 = xmm6[1],xmm3[1]
	movdqa	%xmm1, %xmm3
	punpckldq	%xmm9, %xmm3            ## xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1]
	movdqa	%xmm10, %xmm0
	punpckldq	%xmm8, %xmm0            ## xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
	punpcklqdq	%xmm0, %xmm3            ## xmm3 = xmm3[0],xmm0[0]
	paddd	%xmm7, %xmm3
	paddd	%xmm5, %xmm3
	pshufd	$85, %xmm1, %xmm5               ## xmm5 = xmm1[1,1,1,1]
	pblendw	$12, %xmm9, %xmm5               ## xmm5 = xmm5[0,1],xmm9[2,3],xmm5[4,5,6,7]
	pblendw	$240, %xmm0, %xmm5              ## xmm5 = xmm5[0,1,2,3],xmm0[4,5,6,7]
	paddd	%xmm4, %xmm5
	paddd	%xmm15, %xmm5
	pshufd	$170, %xmm8, %xmm4              ## xmm4 = xmm8[2,2,2,2]
	pblendw	$63, %xmm10, %xmm4              ## xmm4 = xmm10[0,1,2,3,4,5],xmm4[6,7]
	punpckhdq	%xmm9, %xmm1            ## xmm1 = xmm1[2],xmm9[2],xmm1[3],xmm9[3]
	pblendw	$15, %xmm1, %xmm4               ## xmm4 = xmm1[0,1,2,3],xmm4[4,5,6,7]
	paddd	%xmm13, %xmm4
	paddd	%xmm12, %xmm4
	punpckhdq	%xmm8, %xmm10           ## xmm10 = xmm10[2],xmm8[2],xmm10[3],xmm8[3]
	punpckhqdq	%xmm10, %xmm1           ## xmm1 = xmm1[1],xmm10[1]
	paddd	%xmm6, %xmm1
	paddd	%xmm11, %xmm1
	psrad	$2, %xmm3
	psrad	$2, %xmm5
	psrad	$2, %xmm4
	psrad	$2, %xmm1
	movdqa	%xmm4, %xmm0
	pshufd	$170, %xmm1, %xmm2              ## xmm2 = xmm1[2,2,2,2]
	pblendw	$63, %xmm4, %xmm2               ## xmm2 = xmm4[0,1,2,3,4,5],xmm2[6,7]
	punpckldq	%xmm1, %xmm4            ## xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
	pshufd	$85, %xmm3, %xmm6               ## xmm6 = xmm3[1,1,1,1]
	pblendw	$12, %xmm5, %xmm6               ## xmm6 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
	pblendw	$240, %xmm4, %xmm6              ## xmm6 = xmm6[0,1,2,3],xmm4[4,5,6,7]
	movdqa	%xmm3, %xmm7
	punpckldq	%xmm5, %xmm7            ## xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
	punpcklqdq	%xmm4, %xmm7            ## xmm7 = xmm7[0],xmm4[0]
	punpckhdq	%xmm1, %xmm0            ## xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
	punpckhdq	%xmm5, %xmm3            ## xmm3 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
	pblendw	$15, %xmm3, %xmm2               ## xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
	punpckhqdq	%xmm0, %xmm3            ## xmm3 = xmm3[1],xmm0[1]
	movdqu	%xmm2, 32(%rsi,%rdx)
	movdqu	%xmm3, 48(%rsi,%rdx)
	movdqu	%xmm7, (%rsi,%rdx)
	movdqu	%xmm6, 16(%rsi,%rdx)
	addq	$64, %rdx
	cmpq	$4096, %rdx                     ## imm = 0x1000
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r8, %rsi
	jmp	LBB0_10
LBB0_11:
	cmpl	$512, -56(%rbp)                 ## 4-byte Folded Reload
                                        ## imm = 0x200
	jne	LBB0_22
## %bb.12:
	cmpl	$256, %edi                      ## imm = 0x100
	jne	LBB0_22
## %bb.13:
	xorl	%ecx, %ecx
	movq	%r11, %rdx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rcx
	addq	$8192, %rdx                     ## imm = 0x2000
	cmpq	$256, %rcx                      ## imm = 0x100
	je	LBB0_30
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rcx, %rax
	shlq	$13, %rax
	leaq	(%r11,%rax), %rdi
	addq	$8192, %rdi                     ## imm = 0x2000
	leaq	4096(%rsi), %r8
	cmpq	%rdi, %rsi
	jae	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	%r11, %rax
	cmpq	%r8, %rax
	jae	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%rdx,%rax,4), %edi
	addl	(%rdx,%rax,4), %edi
	sarl	%edi
	movl	%edi, (%rsi)
	movl	20(%rdx,%rax,4), %edi
	addl	4(%rdx,%rax,4), %edi
	sarl	%edi
	movl	%edi, 4(%rsi)
	movl	24(%rdx,%rax,4), %edi
	addl	8(%rdx,%rax,4), %edi
	sarl	%edi
	movl	%edi, 8(%rsi)
	movl	28(%rdx,%rax,4), %edi
	addl	12(%rdx,%rax,4), %edi
	sarl	%edi
	movl	%edi, 12(%rsi)
	addq	$16, %rsi
	addq	$8, %rax
	leal	-8(%rax), %edi
	cmpl	$2040, %edi                     ## imm = 0x7F8
	jb	LBB0_17
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	112(%rdx,%rdi,2), %xmm8
	movdqu	80(%rdx,%rdi,2), %xmm10
	movdqu	96(%rdx,%rdi,2), %xmm1
	movdqu	64(%rdx,%rdi,2), %xmm5
	movdqu	(%rdx,%rdi,2), %xmm4
	movdqu	16(%rdx,%rdi,2), %xmm0
	movdqu	32(%rdx,%rdi,2), %xmm6
	movdqu	48(%rdx,%rdi,2), %xmm9
	movdqa	%xmm4, %xmm7
	punpckldq	%xmm6, %xmm7            ## xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
	movdqa	%xmm5, %xmm3
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	punpcklqdq	%xmm3, %xmm7            ## xmm7 = xmm7[0],xmm3[0]
	pshufd	$85, %xmm4, %xmm2               ## xmm2 = xmm4[1,1,1,1]
	pblendw	$12, %xmm6, %xmm2               ## xmm2 = xmm2[0,1],xmm6[2,3],xmm2[4,5,6,7]
	pblendw	$240, %xmm3, %xmm2              ## xmm2 = xmm2[0,1,2,3],xmm3[4,5,6,7]
	pshufd	$170, %xmm1, %xmm3              ## xmm3 = xmm1[2,2,2,2]
	pblendw	$63, %xmm5, %xmm3               ## xmm3 = xmm5[0,1,2,3,4,5],xmm3[6,7]
	punpckhdq	%xmm6, %xmm4            ## xmm4 = xmm4[2],xmm6[2],xmm4[3],xmm6[3]
	pblendw	$15, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,2,3],xmm3[4,5,6,7]
	punpckhdq	%xmm1, %xmm5            ## xmm5 = xmm5[2],xmm1[2],xmm5[3],xmm1[3]
	punpckhqdq	%xmm5, %xmm4            ## xmm4 = xmm4[1],xmm5[1]
	movdqa	%xmm0, %xmm1
	punpckldq	%xmm9, %xmm1            ## xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1]
	movdqa	%xmm10, %xmm6
	punpckldq	%xmm8, %xmm6            ## xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1]
	punpcklqdq	%xmm6, %xmm1            ## xmm1 = xmm1[0],xmm6[0]
	paddd	%xmm7, %xmm1
	pshufd	$85, %xmm0, %xmm5               ## xmm5 = xmm0[1,1,1,1]
	pblendw	$12, %xmm9, %xmm5               ## xmm5 = xmm5[0,1],xmm9[2,3],xmm5[4,5,6,7]
	pblendw	$240, %xmm6, %xmm5              ## xmm5 = xmm5[0,1,2,3],xmm6[4,5,6,7]
	paddd	%xmm2, %xmm5
	pshufd	$170, %xmm8, %xmm6              ## xmm6 = xmm8[2,2,2,2]
	pblendw	$63, %xmm10, %xmm6              ## xmm6 = xmm10[0,1,2,3,4,5],xmm6[6,7]
	punpckhdq	%xmm9, %xmm0            ## xmm0 = xmm0[2],xmm9[2],xmm0[3],xmm9[3]
	pblendw	$15, %xmm0, %xmm6               ## xmm6 = xmm0[0,1,2,3],xmm6[4,5,6,7]
	paddd	%xmm3, %xmm6
	punpckhdq	%xmm8, %xmm10           ## xmm10 = xmm10[2],xmm8[2],xmm10[3],xmm8[3]
	punpckhqdq	%xmm10, %xmm0           ## xmm0 = xmm0[1],xmm10[1]
	paddd	%xmm4, %xmm0
	psrad	$1, %xmm1
	psrad	$1, %xmm5
	psrad	$1, %xmm6
	psrad	$1, %xmm0
	movdqa	%xmm6, %xmm2
	pshufd	$170, %xmm0, %xmm3              ## xmm3 = xmm0[2,2,2,2]
	pblendw	$63, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3,4,5],xmm3[6,7]
	punpckldq	%xmm0, %xmm6            ## xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
	pshufd	$85, %xmm1, %xmm4               ## xmm4 = xmm1[1,1,1,1]
	pblendw	$12, %xmm5, %xmm4               ## xmm4 = xmm4[0,1],xmm5[2,3],xmm4[4,5,6,7]
	pblendw	$240, %xmm6, %xmm4              ## xmm4 = xmm4[0,1,2,3],xmm6[4,5,6,7]
	movdqa	%xmm1, %xmm7
	punpckldq	%xmm5, %xmm7            ## xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
	punpcklqdq	%xmm6, %xmm7            ## xmm7 = xmm7[0],xmm6[0]
	punpckhdq	%xmm0, %xmm2            ## xmm2 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
	punpckhdq	%xmm5, %xmm1            ## xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
	pblendw	$15, %xmm1, %xmm3               ## xmm3 = xmm1[0,1,2,3],xmm3[4,5,6,7]
	punpckhqdq	%xmm2, %xmm1            ## xmm1 = xmm1[1],xmm2[1]
	movdqu	%xmm3, 32(%rsi,%rdi)
	movdqu	%xmm1, 48(%rsi,%rdi)
	movdqu	%xmm7, (%rsi,%rdi)
	movdqu	%xmm4, 16(%rsi,%rdi)
	addq	$64, %rdi
	cmpq	$4096, %rdi                     ## imm = 0x1000
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r8, %rsi
	jmp	LBB0_21
LBB0_22:
	sarl	$8, %eax
	sarl	$8, -44(%rbp)                   ## 4-byte Folded Spill
	movb	%dl, %cl
	orl	$8, %ecx
	movslq	%eax, %r13
	movq	%r13, %r15
	shlq	$5, %r15
	leaq	16(%r11), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	shlq	$6, %r14
	leaq	48(%rsi), %r9
	leaq	(%r11,%r13,4), %r8
	addq	%r13, %r13
	leaq	4(%rsi), %rdx
	xorl	%r12d, %r12d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%r12
	addq	$1024, %r9                      ## imm = 0x400
	addq	$1024, %rdx                     ## imm = 0x400
	cmpq	$256, %r12                      ## imm = 0x100
	je	LBB0_30
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	imull	%r12d, %eax
	shll	%cl, %eax
	movslq	%eax, %rdi
	cmpl	$256, -56(%rbp)                 ## 4-byte Folded Reload
                                        ## imm = 0x100
	jne	LBB0_24
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r12, %r10
	shlq	$10, %r10
	addq	%rsi, %r10
	leaq	(%r11,%rdi,4), %rax
	subq	%rax, %r10
	cmpq	$32, %r10
	jae	LBB0_27
LBB0_24:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rdi,4), %ebx
	movl	%ebx, -4(%rdx,%rax,4)
	movl	(%r8,%rdi,4), %ebx
	movl	%ebx, (%rdx,%rax,4)
	addq	$2, %rax
	addq	%r13, %rdi
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_25
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rdi,4), %rdi
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-16(%rdi), %xmm0
	movups	(%rdi), %xmm1
	movups	%xmm0, -48(%r9,%r10,4)
	movups	%xmm1, -32(%r9,%r10,4)
	movdqu	-16(%rdi,%r15), %xmm0
	movdqu	(%rdi,%r15), %xmm1
	movdqu	%xmm0, -16(%r9,%r10,4)
	movdqu	%xmm1, (%r9,%r10,4)
	addq	$16, %r10
	addq	%r14, %rdi
	cmpq	$256, %r10                      ## imm = 0x100
	jne	LBB0_28
	jmp	LBB0_29
LBB0_30:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cinTable,8,3                   ## @cinTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CIN_ResampleCinematic          ; -- Begin function CIN_ResampleCinematic
	.p2align	2
_CIN_ResampleCinematic:                 ; @CIN_ResampleCinematic
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cinTable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cinTable@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw #4
	ldp	w12, w10, [x8, #8]
	add	w9, w12, #255
	cmp	w12, #0
	csel	w11, w9, w12, lt
	add	w9, w10, #255
	ldr	x8, [x8]
	cmp	w10, #0
	csel	w13, w9, w10, lt
	cmp	w12, #512
	mov	w9, #8
	cinc	w9, w9, eq
	and	w14, w12, #0xffffff00
	and	w10, w10, #0xffffff00
	cmp	w14, #512
	b.ne	LBB0_7
; %bb.1:
	cmp	w10, #512
	b.ne	LBB0_7
; %bb.2:
	mov	x9, #0
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	w10, #-8
	mov	x11, x8
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x11]
	ldr	w13, [x11, #16]
	ldr	w14, [x11, #8192]
	add	w12, w13, w12
	add	w12, w12, w14
	ldr	w13, [x11, #8208]
	add	w12, w12, w13
	asr	w12, w12, #2
	str	w12, [x1]
	ldr	w12, [x11, #4]
	ldr	w13, [x11, #20]
	ldr	w14, [x11, #8196]
	add	w12, w13, w12
	add	w12, w12, w14
	ldr	w13, [x11, #8212]
	add	w12, w12, w13
	asr	w12, w12, #2
	str	w12, [x1, #4]
	ldr	w12, [x11, #8]
	ldr	w13, [x11, #24]
	ldr	w14, [x11, #8200]
	add	w12, w13, w12
	add	w12, w12, w14
	ldr	w13, [x11, #8216]
	add	w12, w12, w13
	asr	w12, w12, #2
	str	w12, [x1, #8]
	ldr	w12, [x11, #12]
	ldr	w13, [x11, #28]
	ldr	w14, [x11, #8204]
	add	w12, w13, w12
	add	w12, w12, w14
	ldr	w13, [x11, #8220]
	add	w12, w12, w13
	asr	w12, w12, #2
	str	w12, [x1, #12]
	add	x1, x1, #16
	add	x11, x11, #32
	add	w10, w10, #8
	cmp	w10, #2040
	b.lo	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x8, x8, #4, lsl #12             ; =16384
	cmp	x9, #256
	b.ne	LBB0_3
LBB0_6:
	ret
LBB0_7:
	cmp	w14, #512
	b.ne	LBB0_17
; %bb.8:
	cmp	w10, #256
	b.ne	LBB0_17
; %bb.9:
	mov	x9, #0
	add	x10, x8, #16
	mov	x11, x8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x9, #1
	add	x11, x11, #2, lsl #12           ; =8192
	add	x10, x10, #2, lsl #12           ; =8192
	cmp	x9, #256
	b.eq	LBB0_6
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	add	x13, x8, x9, lsl #13
	add	x14, x13, #2, lsl #12           ; =8192
	add	x12, x1, #1, lsl #12            ; =4096
	cmp	x1, x14
	ccmp	x13, x12, #2, lo
	b.lo	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x13, #0
	mov	x14, x11
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q1, q0, [x14, #96]
	ldp	q3, q2, [x14, #64]
	ldr	q4, [x14, #32]
	ldr	q5, [x14]
	zip1.4s	v6, v5, v4
	zip1.4s	v7, v3, v1
	ext.16b	v16, v3, v7, #8
	mov.d	v6[1], v16[1]
	trn2.4s	v16, v5, v4
	mov.d	v16[1], v7[1]
	ldr	q7, [x14, #48]
	zip2.4s	v17, v3, v1
	mov.s	v3[3], v1[2]
	zip2.4s	v1, v5, v4
	mov.d	v1[1], v3[1]
	uzp2.4s	v3, v5, v4
	uzp2.4s	v3, v3, v5
	mov.d	v3[1], v17[1]
	ldr	q4, [x14, #16]
	zip1.4s	v5, v4, v7
	zip1.4s	v17, v2, v0
	ext.16b	v18, v2, v17, #8
	mov.d	v5[1], v18[1]
	trn2.4s	v18, v4, v7
	mov.d	v18[1], v17[1]
	zip2.4s	v17, v2, v0
	mov.s	v2[3], v0[2]
	zip2.4s	v0, v4, v7
	mov.d	v0[1], v2[1]
	uzp2.4s	v2, v4, v7
	uzp2.4s	v2, v2, v4
	mov.d	v2[1], v17[1]
	add.4s	v4, v5, v6
	sshr.4s	v4, v4, #1
	add.4s	v16, v18, v16
	sshr.4s	v5, v16, #1
	add.4s	v0, v0, v1
	sshr.4s	v6, v0, #1
	add.4s	v0, v2, v3
	sshr.4s	v7, v0, #1
	add	x15, x1, x13
	st4.4s	{ v4, v5, v6, v7 }, [x15]
	add	x14, x14, #128
	add	x13, x13, #64
	cmp	x13, #1, lsl #12                ; =4096
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, x12
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w12, #-8
	mov	x13, x10
LBB0_16:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w14, [x13, #-16]
	ldr	w15, [x13]
	add	w14, w15, w14
	asr	w14, w14, #1
	str	w14, [x1]
	ldur	w14, [x13, #-12]
	ldr	w15, [x13, #4]
	add	w14, w15, w14
	asr	w14, w14, #1
	str	w14, [x1, #4]
	ldur	w14, [x13, #-8]
	ldr	w15, [x13, #8]
	add	w14, w15, w14
	asr	w14, w14, #1
	str	w14, [x1, #8]
	ldur	w14, [x13, #-4]
	ldr	w15, [x13, #12]
	add	w14, w15, w14
	asr	w14, w14, #1
	str	w14, [x1, #12]
	add	x1, x1, #16
	add	x13, x13, #32
	add	w12, w12, #8
	cmp	w12, #2040
	b.lo	LBB0_16
	b	LBB0_10
LBB0_17:
	mov	x10, #0
	asr	w15, w11, #8
	asr	w11, w13, #8
	and	w12, w12, #0xffffff00
	add	x13, x8, #32
	sbfiz	x14, x15, #6, #32
	sbfiz	x15, x15, #2, #32
	mov	x16, x1
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x10, x10, #1
	add	x16, x16, #1024
	cmp	x10, #256
	b.eq	LBB0_6
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	mul	w17, w11, w10
	lsl	w17, w17, w9
	sxtw	x0, w17
	cmp	w12, #256
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x17, x1, x10, lsl #10
	add	x2, x8, x0, lsl #2
	sub	x17, x17, x2
	cmp	x17, #64
	b.hs	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x17, #0
	add	x0, x8, x0, lsl #2
LBB0_22:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x0]
	str	w2, [x16, x17]
	add	x17, x17, #4
	add	x0, x0, x15
	cmp	x17, #1024
	b.ne	LBB0_22
	b	LBB0_18
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x17, #0
	add	x0, x13, x0, lsl #2
LBB0_24:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x0, #-32]
	ldp	q2, q3, [x0]
	add	x2, x16, x17
	stp	q0, q1, [x2]
	stp	q2, q3, [x2, #32]
	add	x17, x17, #64
	add	x0, x0, x14
	cmp	x17, #1024
	b.ne	LBB0_24
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cinTable,8,3                   ; @cinTable
.subsections_via_symbols
