	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audio_mix_volume_C             ## -- Begin function audio_mix_volume_C
	.p2align	4, 0x90
_audio_mix_volume_C:                    ## @audio_mix_volume_C
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.1:
	cmpq	$8, %rdx
	jb	LBB0_2
## %bb.3:
	leaq	(%rsi,%rdx,4), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_6
## %bb.4:
	leaq	(%rdi,%rdx,4), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_6
LBB0_2:
	xorl	%eax, %eax
LBB0_12:
	movq	%rax, %rcx
	notq	%rcx
	testb	$1, %dl
	je	LBB0_14
## %bb.13:
	movss	(%rsi,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	(%rdi,%rax,4), %xmm1
	movss	%xmm1, (%rdi,%rax,4)
	orq	$1, %rax
LBB0_14:
	addq	%rdx, %rcx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rsi,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	(%rdi,%rax,4), %xmm1
	movss	%xmm1, (%rdi,%rax,4)
	movss	4(%rsi,%rax,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	4(%rdi,%rax,4), %xmm1
	movss	%xmm1, 4(%rdi,%rax,4)
	addq	$2, %rax
	cmpq	%rax, %rdx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_6:
	movq	%rdx, %rax
	andq	$-8, %rax
	movaps	%xmm0, %xmm1
	shufps	$0, %xmm0, %xmm1                ## xmm1 = xmm1[0,0],xmm0[0,0]
	leaq	-8(%rax), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.7:
	movq	%r8, %r9
	andq	$-2, %r9
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rcx,4), %xmm2
	movups	16(%rsi,%rcx,4), %xmm3
	mulps	%xmm1, %xmm2
	movups	(%rdi,%rcx,4), %xmm4
	addps	%xmm2, %xmm4
	movups	16(%rdi,%rcx,4), %xmm2
	movups	32(%rdi,%rcx,4), %xmm5
	movups	48(%rdi,%rcx,4), %xmm6
	mulps	%xmm1, %xmm3
	addps	%xmm2, %xmm3
	movups	%xmm4, (%rdi,%rcx,4)
	movups	%xmm3, 16(%rdi,%rcx,4)
	movups	32(%rsi,%rcx,4), %xmm2
	movups	48(%rsi,%rcx,4), %xmm3
	mulps	%xmm1, %xmm2
	addps	%xmm5, %xmm2
	mulps	%xmm1, %xmm3
	addps	%xmm6, %xmm3
	movups	%xmm2, 32(%rdi,%rcx,4)
	movups	%xmm3, 48(%rdi,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %r9
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movups	(%rsi,%rcx,4), %xmm2
	movups	16(%rsi,%rcx,4), %xmm3
	movups	(%rdi,%rcx,4), %xmm4
	movups	16(%rdi,%rcx,4), %xmm5
	mulps	%xmm1, %xmm2
	addps	%xmm4, %xmm2
	mulps	%xmm1, %xmm3
	addps	%xmm5, %xmm3
	movups	%xmm2, (%rdi,%rcx,4)
	movups	%xmm3, 16(%rdi,%rcx,4)
LBB0_11:
	cmpq	%rdx, %rax
	jne	LBB0_12
LBB0_16:
	popq	%rbp
	retq
LBB0_17:
	xorl	%ecx, %ecx
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audio_mix_volume_C             ; -- Begin function audio_mix_volume_C
	.p2align	2
_audio_mix_volume_C:                    ; @audio_mix_volume_C
	.cfi_startproc
; %bb.0:
                                        ; kill: def $s0 killed $s0 def $q0
	cbz	x2, LBB0_7
; %bb.1:
	cmp	x2, #16
	b.lo	LBB0_4
; %bb.2:
	lsl	x8, x2, #2
	add	x9, x1, x8
	cmp	x9, x0
	b.ls	LBB0_8
; %bb.3:
	add	x8, x0, x8
	cmp	x8, x1
	b.ls	LBB0_8
LBB0_4:
	mov	x8, #0
LBB0_5:
	sub	x9, x2, x8
	lsl	x10, x8, #2
	add	x8, x0, x10
	add	x10, x1, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x10], #4
	ldr	s2, [x8]
	fmadd	s1, s1, s0, s2
	str	s1, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_6
LBB0_7:
	ret
LBB0_8:
	and	x8, x2, #0xfffffffffffffff0
	dup.4s	v1, v0[0]
	add	x9, x1, #32
	add	x10, x0, #32
	mov	x11, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x9, #-32]
	ldp	q4, q5, [x9], #64
	ldp	q6, q7, [x10, #-32]
	ldp	q16, q17, [x10]
	fmla.4s	v6, v1, v2
	fmla.4s	v7, v1, v3
	fmla.4s	v16, v1, v4
	fmla.4s	v17, v1, v5
	stp	q6, q7, [x10, #-32]
	stp	q16, q17, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x8, x2
	b.eq	LBB0_7
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
