	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function noise_magnitude
_noise_magnitude:                       ## @noise_magnitude
	.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
	movl	%esi, %r14d
	leal	-192(%r14), %eax
	xorl	%esi, %esi
	cmpl	$192, %r14d
	movl	$192, %ebx
	cmovgel	%ebx, %r14d
	cmovgl	%eax, %esi
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edx, %ebx
	leaq	(%rdi,%rsi,4), %r12
	subl	%edx, %ecx
	leal	3(%rcx), %r15d
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r15d
	sarl	$2, %r15d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_int_goertzel
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addl	%r15d, %ebx
	movq	%r12, %rdi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_int_goertzel
	movq	%rax, %r13
	addl	-56(%rbp), %r13d                ## 4-byte Folded Reload
	addl	%r15d, %ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_int_goertzel
	movq	%rax, %r12
	addl	%r13d, %r12d
	addl	%r15d, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_int_goertzel
	movq	%rax, %r13
	addl	%r12d, %r13d
	addl	%r15d, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_int_goertzel
	addl	%r13d, %eax
	cltq
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$33, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_int_sqrt                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_noise_magnitude
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function noise_magnitude
_noise_magnitude:                       ; @noise_magnitude
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	subs	w8, w1, #192
	mov	w9, #192
	csel	w20, w1, w9, lt
	csel	w8, w8, wzr, gt
	add	x21, x0, w8, uxtw #2
	sub	w8, w3, w2
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w23, w8, #2
	mov	x0, x21
	mov	x1, x20
	bl	_int_goertzel
	mov	x22, x0
	add	w19, w23, w19
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_int_goertzel
	add	w22, w22, w0
	add	w19, w19, w23
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_int_goertzel
	add	w22, w22, w0
	add	w19, w19, w23
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_int_goertzel
	add	w22, w22, w0
	add	w2, w19, w23
	mov	x0, x21
	mov	x1, x20
	bl	_int_goertzel
	add	w8, w22, w0
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w0, w8, w9
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_int_sqrt
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_noise_magnitude
.subsections_via_symbols
