	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function butter_filter_stereo_samples
_butter_filter_stereo_samples:          ## @butter_filter_stereo_samples
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rbx
	movq	24(%rdi), %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rdi), %r13d
	movslq	%r13d, %r14
	movss	-16(%rbx,%r14,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.1:
	movss	-16(%r12,%r14,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.2:
	movss	-12(%rbx,%r14,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.3:
	movss	-12(%r12,%r14,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.4:
	movss	-8(%rbx,%r14,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.5:
	movss	-8(%r12,%r14,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.6:
	movss	-4(%rbx,%r14,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.7:
	movss	-4(%r12,%r14,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	callq	_fabs
	testl	%eax, %eax
	jg	LBB0_9
## %bb.8:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	24(%r14), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
LBB0_9:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.10:
	leaq	1008(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	1008(%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, %edx
	xorl	%r14d, %r14d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r14
	cmpl	%r14d, %edx
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movss	(%r15,%r14,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movslq	%r13d, %r13
	movss	%xmm0, (%r12,%r13,4)
	xorps	%xmm3, %xmm3
	cvtss2sd	%xmm0, %xmm3
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	%xmm0, %xmm3
	movss	4(%r15,%r14,8), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, 4(%r12,%r13,4)
	xorps	%xmm4, %xmm4
	cvtss2sd	%xmm1, %xmm4
	mulsd	%xmm0, %xmm4
	movss	-8(%r12,%r13,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	movss	-8(%rbx,%r13,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm5, %xmm5
	cvtss2sd	%xmm0, %xmm5
	movsd	8(%rax), %xmm6                  ## xmm6 = mem[0],zero
	movsd	16(%rax), %xmm0                 ## xmm0 = mem[0],zero
	mulsd	%xmm6, %xmm5
	movsd	8(%rcx), %xmm7                  ## xmm7 = mem[0],zero
	movsd	16(%rcx), %xmm2                 ## xmm2 = mem[0],zero
	mulsd	%xmm7, %xmm1
	subsd	%xmm5, %xmm1
	addsd	%xmm3, %xmm1
	movss	-4(%r12,%r13,4), %xmm3          ## xmm3 = mem[0],zero,zero,zero
	cvtss2sd	%xmm3, %xmm3
	movss	-4(%rbx,%r13,4), %xmm5          ## xmm5 = mem[0],zero,zero,zero
	cvtss2sd	%xmm5, %xmm5
	mulsd	%xmm6, %xmm5
	mulsd	%xmm7, %xmm3
	subsd	%xmm5, %xmm3
	addsd	%xmm4, %xmm3
	movss	-16(%r12,%r13,4), %xmm4         ## xmm4 = mem[0],zero,zero,zero
	movss	-12(%r12,%r13,4), %xmm5         ## xmm5 = mem[0],zero,zero,zero
	cvtss2sd	%xmm4, %xmm4
	movss	-16(%rbx,%r13,4), %xmm6         ## xmm6 = mem[0],zero,zero,zero
	movss	-12(%rbx,%r13,4), %xmm7         ## xmm7 = mem[0],zero,zero,zero
	cvtss2sd	%xmm6, %xmm6
	mulsd	%xmm0, %xmm6
	mulsd	%xmm2, %xmm4
	subsd	%xmm6, %xmm4
	addsd	%xmm1, %xmm4
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm5, %xmm1
	xorps	%xmm5, %xmm5
	cvtss2sd	%xmm7, %xmm5
	mulsd	%xmm0, %xmm5
	mulsd	%xmm2, %xmm1
	subsd	%xmm5, %xmm1
	addsd	%xmm3, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm4, %xmm0
	movss	%xmm0, (%rbx,%r13,4)
	movss	%xmm0, (%r15,%r14,8)
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, 4(%rbx,%r13,4)
	movss	%xmm0, 4(%r15,%r14,8)
	addl	$2, %r13d
	cmpl	$256, %r13d                     ## imm = 0x100
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, %r13
	movl	$16, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	$16, %edx
	callq	_memcpy
	movq	%r13, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$4, %r13d
	jmp	LBB0_13
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, 32(%rax)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_butter_filter_stereo_samples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function butter_filter_stereo_samples
_butter_filter_stereo_samples:          ; @butter_filter_stereo_samples
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	x26, x27, [x0]
	ldp	x22, x23, [x0, #16]
	ldr	w28, [x0, #32]
	mov	x8, x28
	sxtw	x24, w8
	sub	x25, x24, #4
	ldr	s0, [x22, x25, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.1:
	ldr	s0, [x23, x25, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.2:
	sub	x25, x24, #3
	ldr	s0, [x22, x25, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.3:
	ldr	s0, [x23, x25, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.4:
	sub	x25, x24, #2
	ldr	s0, [x22, x25, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.5:
	ldr	s0, [x23, x25, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.6:
	sub	x24, x24, #1
	ldr	s0, [x22, x24, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.7:
	ldr	s0, [x23, x24, lsl #2]
	bl	_fabs
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.8:
	ldr	x0, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #24]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
LBB0_9:
	cbz	w20, LBB0_14
; %bb.10:
	add	x24, x22, #1008
	add	x25, x23, #1008
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #8
	cbz	w20, LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x21]
	sbfiz	x8, x28, #2, #32
	str	s0, [x23, x8]
	fcvt	d0, s0
	ldp	d1, d2, [x27]
	fmul	d0, d1, d0
	ldr	s3, [x21, #4]
	add	x9, x8, #4
	str	s3, [x23, x9]
	fcvt	d3, s3
	sub	x10, x8, #8
	ldr	s4, [x23, x10]
	fmul	d1, d1, d3
	fcvt	d3, s4
	ldr	s4, [x22, x10]
	fcvt	d4, s4
	ldp	d5, d6, [x26, #8]
	fneg	d5, d5
	fmul	d4, d5, d4
	fmadd	d3, d3, d2, d4
	fadd	d0, d0, d3
	sub	x10, x8, #4
	ldr	s3, [x22, x10]
	fcvt	d3, s3
	fmul	d3, d5, d3
	ldr	s4, [x23, x10]
	sub	w20, w20, #1
	fcvt	d4, s4
	fmadd	d2, d4, d2, d3
	sub	x10, x8, #16
	ldr	s3, [x23, x10]
	fadd	d1, d1, d2
	fcvt	d2, s3
	ldr	d3, [x27, #16]
	ldr	s4, [x22, x10]
	fcvt	d4, s4
	fneg	d5, d6
	fmul	d4, d5, d4
	fmadd	d2, d2, d3, d4
	sub	x10, x8, #12
	ldr	s4, [x23, x10]
	fadd	d0, d0, d2
	fcvt	d2, s4
	ldr	s4, [x22, x10]
	fcvt	d4, s4
	fmul	d4, d5, d4
	fmadd	d2, d2, d3, d4
	fadd	d1, d1, d2
	fcvt	s0, d0
	str	s0, [x22, x8]
	str	s0, [x21]
	fcvt	s0, d1
	str	s0, [x22, x9]
	str	s0, [x21, #4]
	add	w28, w28, #2
	cmp	w28, #256
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	mov	x1, x24
	mov	w2, #16
	bl	_memcpy
	mov	x0, x23
	mov	x1, x25
	mov	w2, #16
	bl	_memcpy
	mov	w28, #4
	b	LBB0_11
LBB0_14:
	str	w28, [x19, #32]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_butter_filter_stereo_samples
.subsections_via_symbols
