	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function chorus_process
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_chorus_process:                        ## @chorus_process
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdx), %r15
	movq	%r15, (%rsi)
	movl	8(%rdx), %eax
	movl	%eax, 8(%rsi)
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movsd	8(%rdi), %xmm2                  ## xmm2 = mem[0],zero
	movsd	16(%rdi), %xmm1                 ## xmm1 = mem[0],zero
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movss	-48(%rbp), %xmm7                ## 4-byte Reload
                                        ## xmm7 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm7
	addss	-44(%rbp), %xmm7                ## 4-byte Folded Reload
	mulss	24(%rbx), %xmm7
	cvttss2si	%xmm7, %rax
	movq	_CHORUS_MAX_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %edx
	addl	$-2, %ecx
	cmpl	%eax, %edx
	cmoval	%eax, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	subss	%xmm0, %xmm7
	movq	32(%rbx), %rdx
	movq	40(%rbx), %rax
	movq	(%rdx), %rsi
	movss	-52(%rbp), %xmm6                ## 4-byte Reload
                                        ## xmm6 = mem[0],zero,zero,zero
	movss	%xmm6, (%rsi,%rax,4)
	movq	8(%rdx), %rdx
	movss	-56(%rbp), %xmm5                ## 4-byte Reload
                                        ## xmm5 = mem[0],zero,zero,zero
	movss	%xmm5, (%rdx,%rax,4)
	movq	%rax, %rdi
	subq	%rcx, %rdi
	movq	_CHORUS_DELAY_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	%r8, %rcx
	andq	%rdi, %rcx
	decq	%rdi
	andq	%r8, %rdi
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm7, %xmm0
	movss	(%rsi,%rdi,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm7, %xmm3
	movss	(%rsi,%rcx,4), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm4
	mulss	(%rdx,%rdi,4), %xmm7
	mulss	(%rdx,%rcx,4), %xmm0
	addss	%xmm3, %xmm4
	addss	%xmm7, %xmm0
	mulss	52(%rbx), %xmm4
	mulss	48(%rbx), %xmm6
	addss	%xmm4, %xmm6
	movss	%xmm6, (%r15,%r13,4)
	mulss	52(%rbx), %xmm0
	mulss	48(%rbx), %xmm5
	addss	%xmm0, %xmm5
	movss	%xmm5, 4(%r15,%r13,4)
	incq	%rax
	andq	%r8, %rax
	movq	%rax, 40(%rbx)
	incq	%r12
	cmpl	8(%r14), %r12d
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%r12), %r13
	movss	(%r15,%r12,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movss	4(%r15,%r12,8), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	_M_PI@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	LCPI0_0(%rip), %xmm2
	movsd	%xmm2, 8(%rbx)
	divsd	%xmm1, %xmm0
	callq	_sin
	movsd	8(%rbx), %xmm2                  ## xmm2 = mem[0],zero
	movsd	16(%rbx), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm2
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 8(%rbx)
	xorpd	%xmm2, %xmm2
	jmp	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,8,3                       ## @M_PI
	.comm	_CHORUS_MAX_DELAY,4,2           ## @CHORUS_MAX_DELAY
	.comm	_CHORUS_DELAY_MASK,8,3          ## @CHORUS_DELAY_MASK
	.no_dead_strip	_chorus_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chorus_process
_chorus_process:                        ; @chorus_process
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-128]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 128
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	.cfi_offset b12, -120
	.cfi_offset b13, -128
	ldr	x21, [x2]
	str	x21, [x1]
	ldr	w8, [x2, #8]
	str	w8, [x1, #8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	mov	w22, #0
	ldp	d2, d1, [x0, #8]
Lloh0:
	adrp	x23, _M_PI@GOTPAGE
Lloh1:
	ldr	x23, [x23, _M_PI@GOTPAGEOFF]
	fmov	d8, #1.00000000
Lloh2:
	adrp	x24, _CHORUS_MAX_DELAY@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CHORUS_MAX_DELAY@GOTPAGEOFF]
	fmov	s9, #1.00000000
Lloh4:
	adrp	x25, _CHORUS_DELAY_MASK@GOTPAGE
Lloh5:
	ldr	x25, [x25, _CHORUS_DELAY_MASK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	fmadd	s0, s13, s0, s12
	ldr	s3, [x20, #24]
	fmul	s0, s0, s3
	fcvtzu	w8, s0
	ldr	w9, [x24]
	sub	w10, w9, #1
	sub	w9, w9, #2
	cmp	w10, w8
	csel	w8, w8, w9, hi
	ucvtf	s3, w8
	fsub	s0, s0, s3
	ldp	x9, x10, [x20, #32]
	lsl	x11, x10, #2
	ldp	x12, x9, [x9]
	str	s11, [x12, x11]
	str	s10, [x9, x11]
	ldr	x11, [x25]
	sub	x8, x10, x8
	and	x13, x11, x8
	lsl	x13, x13, #2
	ldr	s3, [x12, x13]
	sub	x8, x8, #1
	and	x8, x11, x8
	lsl	x8, x8, #2
	ldr	s4, [x12, x8]
	ldr	s5, [x9, x13]
	ldr	s6, [x9, x8]
	fsub	s7, s9, s0
	fmul	s4, s0, s4
	fmadd	s3, s3, s7, s4
	fmul	s0, s0, s6
	fmadd	s0, s5, s7, s0
	ldp	s4, s5, [x20, #48]
	fmul	s3, s3, s5
	fmadd	s3, s4, s11, s3
	str	s3, [x21]
	ldp	s3, s4, [x20, #48]
	fmul	s0, s0, s4
	fmadd	s0, s3, s10, s0
	str	s0, [x21, #4]
	add	x8, x10, #1
	and	x8, x11, x8
	str	x8, [x20, #40]
	add	w22, w22, #1
	ldr	w8, [x19, #8]
	add	x21, x21, #8
	cmp	w22, w8
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	s11, s10, [x21]
	ldp	s12, s13, [x20]
	ldr	d0, [x23]
	fadd	d0, d0, d0
	fadd	d3, d2, d8
	str	d3, [x20, #8]
	fmul	d0, d0, d2
	fdiv	d0, d0, d1
	bl	_sin
	ldp	d2, d1, [x20, #8]
	fcmp	d2, d1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x20, #8]
	movi	d2, #0000000000000000
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #128            ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,8,3                       ; @M_PI
	.comm	_CHORUS_MAX_DELAY,4,2           ; @CHORUS_MAX_DELAY
	.comm	_CHORUS_DELAY_MASK,8,3          ; @CHORUS_DELAY_MASK
	.no_dead_strip	_chorus_process
.subsections_via_symbols
