	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mix_2_to_1_s16p_flt_c
_mix_2_to_1_s16p_flt_c:                 ## @mix_2_to_1_s16p_flt_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	(%rdi), %r15
	movq	8(%rdi), %r14
	movq	(%rsi), %rax
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movss	4(%rax), %xmm3                  ## xmm3 = mem[0],zero,zero,zero
	cmpl	$5, %edx
	movss	%xmm2, -48(%rbp)                ## 4-byte Spill
	movss	%xmm3, -44(%rbp)                ## 4-byte Spill
	jl	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r12
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r15), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	(%r14), %xmm1
	movl	%r13d, %ebx
	mulss	%xmm3, %xmm1
	mulss	%xmm2, %xmm0
	addss	%xmm1, %xmm0
	callq	_lrintf
	movl	%eax, %edi
	callq	_av_clip_int16
	movl	%eax, (%r15)
	xorps	%xmm0, %xmm0
	cvtsi2ssl	4(%r15), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	4(%r14), %xmm1
	mulss	-44(%rbp), %xmm1                ## 4-byte Folded Reload
	mulss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	%xmm1, %xmm0
	callq	_lrintf
	movl	%eax, %edi
	callq	_av_clip_int16
	movl	%eax, 4(%r15)
	xorps	%xmm0, %xmm0
	cvtsi2ssl	8(%r15), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	8(%r14), %xmm1
	mulss	-44(%rbp), %xmm1                ## 4-byte Folded Reload
	mulss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	%xmm1, %xmm0
	callq	_lrintf
	movl	%eax, %edi
	callq	_av_clip_int16
	movl	%eax, 8(%r15)
	xorps	%xmm0, %xmm0
	cvtsi2ssl	12(%r15), %xmm0
	addq	$16, %r15
	xorps	%xmm1, %xmm1
	cvtsi2ssl	12(%r14), %xmm1
	addq	$16, %r14
	mulss	-44(%rbp), %xmm1                ## 4-byte Folded Reload
	mulss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	%xmm1, %xmm0
	callq	_lrintf
	movl	%eax, %edi
	callq	_av_clip_int16
	movss	-44(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movl	%eax, 12(%r12)
	leal	-4(%rbx), %r13d
	cmpl	$8, %ebx
	ja	LBB0_2
	jmp	LBB0_3
LBB0_1:
	testl	%r13d, %r13d
	jle	LBB0_5
LBB0_3:
	incl	%r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r15,%rbx), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	(%r14,%rbx), %xmm1
	mulss	%xmm3, %xmm1
	mulss	%xmm2, %xmm0
	addss	%xmm1, %xmm0
	callq	_lrintf
	movl	%eax, %edi
	callq	_av_clip_int16
	movss	-44(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movl	%eax, (%r15,%rbx)
	decl	%r13d
	addq	$4, %rbx
	cmpl	$1, %r13d
	ja	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mix_2_to_1_s16p_flt_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mix_2_to_1_s16p_flt_c
_mix_2_to_1_s16p_flt_c:                 ; @mix_2_to_1_s16p_flt_c
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	ldp	x19, x20, [x0]
	ldr	x8, [x1]
	ldp	s8, s9, [x8]
	cmp	w2, #5
	b.lt	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x2
	ldr	s0, [x19]
	scvtf	s0, s0
	ldr	s1, [x20]
	scvtf	s1, s1
	fmul	s1, s9, s1
	fmadd	s0, s0, s8, s1
	bl	_lrintf
	bl	_av_clip_int16
	str	w0, [x19]
	ldr	s0, [x19, #4]
	scvtf	s0, s0
	ldr	s1, [x20, #4]
	scvtf	s1, s1
	fmul	s1, s9, s1
	fmadd	s0, s0, s8, s1
	bl	_lrintf
	bl	_av_clip_int16
	str	w0, [x19, #4]
	ldr	s0, [x19, #8]
	scvtf	s0, s0
	ldr	s1, [x20, #8]
	scvtf	s1, s1
	fmul	s1, s9, s1
	fmadd	s0, s0, s8, s1
	bl	_lrintf
	bl	_av_clip_int16
	str	w0, [x19, #8]
	add	x22, x19, #16
	ldr	s0, [x19, #12]
	scvtf	s0, s0
	add	x23, x20, #16
	ldr	s1, [x20, #12]
	scvtf	s1, s1
	fmul	s1, s9, s1
	fmadd	s0, s0, s8, s1
	bl	_lrintf
	bl	_av_clip_int16
	str	w0, [x19, #12]
	sub	w2, w21, #4
	mov	x19, x22
	mov	x20, x23
	cmp	w21, #8
	b.hi	LBB0_1
; %bb.2:
	mov	x19, x22
	mov	x20, x23
	b	LBB0_4
LBB0_3:
	cmp	w2, #0
	b.le	LBB0_6
LBB0_4:
	add	w21, w2, #1
	mov	x22, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x19], #4
	scvtf	s0, s0
	ldr	s1, [x20], #4
	scvtf	s1, s1
	fmul	s1, s9, s1
	fmadd	s0, s0, s8, s1
	bl	_lrintf
	bl	_av_clip_int16
	str	w0, [x22], #4
	sub	w21, w21, #1
	cmp	w21, #1
	b.hi	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mix_2_to_1_s16p_flt_c
.subsections_via_symbols
