	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lsf_interpolate
LCPI0_0:
	.long	8192                            ## 0x2000
	.long	8192                            ## 0x2000
	.long	8192                            ## 0x2000
	.long	8192                            ## 0x2000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lsf_interpolate:                       ## @lsf_interpolate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	testl	%r8d, %r8d
	jle	LBB0_12
## %bb.1:
	movl	$16384, %r10d                   ## imm = 0x4000
	subl	%ecx, %r10d
	movl	%r8d, %r9d
	cmpl	$8, %r8d
	jae	LBB0_3
## %bb.2:
	xorl	%r11d, %r11d
	jmp	LBB0_8
LBB0_3:
	movq	%rdi, %rax
	subq	%rsi, %rax
	xorl	%r11d, %r11d
	cmpq	$32, %rax
	jb	LBB0_8
## %bb.4:
	movq	%rdi, %rax
	subq	%rdx, %rax
	cmpq	$32, %rax
	jb	LBB0_8
## %bb.5:
	movl	%r9d, %r11d
	andl	$-8, %r11d
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movd	%r10d, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	leaq	(,%r9,4), %r8
	andq	$-32, %r8
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [8192,8192,8192,8192]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rax), %xmm3
	movdqu	16(%rsi,%rax), %xmm4
	pmulld	%xmm0, %xmm3
	pmulld	%xmm0, %xmm4
	movdqu	(%rdx,%rax), %xmm5
	movdqu	16(%rdx,%rax), %xmm6
	pmulld	%xmm1, %xmm5
	paddd	%xmm3, %xmm5
	pmulld	%xmm1, %xmm6
	paddd	%xmm4, %xmm6
	paddd	%xmm2, %xmm5
	paddd	%xmm2, %xmm6
	psrad	$14, %xmm5
	psrad	$14, %xmm6
	movdqu	%xmm5, (%rdi,%rax)
	movdqu	%xmm6, 16(%rdi,%rax)
	addq	$32, %rax
	cmpq	%rax, %r8
	jne	LBB0_6
## %bb.7:
	cmpq	%r9, %r11
	je	LBB0_12
LBB0_8:
	movq	%r11, %rax
	notq	%rax
	testb	$1, %r9b
	je	LBB0_10
## %bb.9:
	movl	(%rsi,%r11,4), %r8d
	imull	%ecx, %r8d
	movl	(%rdx,%r11,4), %ebx
	imull	%r10d, %ebx
	addl	%r8d, %ebx
	addl	$8192, %ebx                     ## imm = 0x2000
	sarl	$14, %ebx
	movl	%ebx, (%rdi,%r11,4)
	orq	$1, %r11
LBB0_10:
	addq	%r9, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%r11,4), %eax
	imull	%ecx, %eax
	movl	(%rdx,%r11,4), %ebx
	imull	%r10d, %ebx
	addl	%ebx, %eax
	addl	$8192, %eax                     ## imm = 0x2000
	sarl	$14, %eax
	movl	%eax, (%rdi,%r11,4)
	movl	4(%rsi,%r11,4), %eax
	imull	%ecx, %eax
	movl	4(%rdx,%r11,4), %ebx
	imull	%r10d, %ebx
	addl	%ebx, %eax
	addl	$8192, %eax                     ## imm = 0x2000
	sarl	$14, %eax
	movl	%eax, 4(%rdi,%r11,4)
	addq	$2, %r11
	cmpq	%r11, %r9
	jne	LBB0_11
LBB0_12:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lsf_interpolate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsf_interpolate
_lsf_interpolate:                       ; @lsf_interpolate
	.cfi_startproc
; %bb.0:
	cmp	w4, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w8, #16384
	sub	w8, w8, w3
	mov	w9, w4
	cmp	w4, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_8
LBB0_3:
	mov	x10, #0
	sub	x11, x0, x1
	cmp	x11, #64
	b.lo	LBB0_8
; %bb.4:
	sub	x11, x0, x2
	cmp	x11, #64
	b.lo	LBB0_8
; %bb.5:
	dup.4s	v0, w3
	dup.4s	v1, w8
	and	x10, x9, #0xfffffff0
	add	x11, x0, #32
	add	x12, x1, #32
	add	x13, x2, #32
	movi.4s	v2, #32, lsl #8
	mov	x14, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q3, q4, [x12, #-32]
	ldp	q5, q6, [x12], #64
	ldp	q7, q16, [x13, #-32]
	ldp	q17, q18, [x13], #64
	mul.4s	v7, v7, v1
	mul.4s	v16, v16, v1
	mul.4s	v17, v17, v1
	mul.4s	v18, v18, v1
	mla.4s	v7, v3, v0
	mla.4s	v16, v4, v0
	mla.4s	v17, v5, v0
	mla.4s	v18, v6, v0
	add.4s	v3, v7, v2
	add.4s	v4, v16, v2
	add.4s	v5, v17, v2
	add.4s	v6, v18, v2
	sshr.4s	v3, v3, #14
	sshr.4s	v4, v4, #14
	sshr.4s	v5, v5, #14
	sshr.4s	v6, v6, #14
	stp	q3, q4, [x11, #-32]
	stp	q5, q6, [x11], #64
	subs	x14, x14, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x10, x9
	b.eq	LBB0_10
LBB0_8:
	lsl	x13, x10, #2
	add	x11, x0, x13
	add	x12, x2, x13
	add	x13, x1, x13
	sub	x9, x9, x10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x13], #4
	ldr	w14, [x12], #4
	mul	w14, w14, w8
	madd	w10, w10, w3, w14
	add	w10, w10, #2, lsl #12           ; =8192
	asr	w10, w10, #14
	str	w10, [x11], #4
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lsf_interpolate
.subsections_via_symbols
