	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cqt_calc
_cqt_calc:                              ## @cqt_calc
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movslq	%r8d, %rax
	movl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	shlq	$4, %rax
	addq	%rsi, %rax
	addq	$4, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$4, %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r10d, %r10d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rbx,%r13), %eax
	movl	%ecx, %esi
	subl	%r15d, %esi
	addl	%ecx, %r15d
	subl	%ebx, %r13d
	imull	%eax, %eax
	imull	%esi, %esi
	addl	%eax, %esi
	movq	%r10, %rax
	shlq	$4, %rax
	movl	%esi, (%rdi,%rax)
	imull	%r15d, %r15d
	imull	%r13d, %r13d
	addl	%r15d, %r13d
	movl	%r13d, 4(%rdi,%rax)
	incq	%r10
	cmpq	-64(%rbp), %r10                 ## 8-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	(%r10,%r10,2), %rax
	movl	(%rdx,%rax,8), %r11d
	movl	$0, %ebx
	movl	$0, %ecx
	movl	$0, %r13d
	movl	$0, %r15d
	testl	%r11d, %r11d
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdx,%rax,8), %r14
	movslq	16(%rdx,%rax,8), %r12
	shlq	$4, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	addq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	shlq	$2, %r11
	xorl	%r8d, %r8d
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14,%r8), %r9d
	movl	-4(%r12,%r8,4), %esi
	imull	%r9d, %esi
	addl	%esi, %ebx
	movl	(%r12,%r8,4), %esi
	imull	%r9d, %esi
	addl	%esi, %ecx
	movl	-4(%rax), %esi
	imull	%r9d, %esi
	addl	%esi, %r13d
	imull	(%rax), %r9d
	addl	%r9d, %r15d
	addq	$-16, %rax
	addq	$4, %r8
	cmpq	%r8, %r11
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cqt_calc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cqt_calc
_cqt_calc:                              ; @cqt_calc
	.cfi_startproc
; %bb.0:
	cmp	w3, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, #0
	mov	w9, w3
	add	x10, x1, w4, sxtw #4
	add	x10, x10, #4
	add	x11, x1, #4
	mov	w12, #24
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
	mov	w15, #0
	mov	w14, #0
	mov	w16, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w17, w14, w13
	sub	w1, w15, w16
	add	w15, w16, w15
	sub	w13, w14, w13
	mul	w14, w17, w17
	madd	w14, w1, w1, w14
	add	x16, x0, x8, lsl #4
	mul	w13, w13, w13
	madd	w13, w15, w15, w13
	stp	w14, w13, [x16]
	add	x8, x8, #1
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mul	x13, x8, x12
	ldr	w17, [x2, x13]
	cmp	w17, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w16, #0
	mov	w14, #0
	mov	w15, #0
	mov	w13, #0
	madd	x3, x8, x12, x2
	ldr	x1, [x3, #8]
	ldrsw	x3, [x3, #16]
	lsl	x4, x3, #4
	sub	x3, x10, x4
	add	x4, x11, x4
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w5, [x1], #4
	ldur	w6, [x4, #-4]
	madd	w13, w6, w5, w13
	ldr	w6, [x4], #16
	madd	w15, w6, w5, w15
	ldur	w6, [x3, #-4]
	madd	w14, w6, w5, w14
	ldr	w6, [x3], #-16
	madd	w16, w6, w5, w16
	sub	x17, x17, #1
	cbnz	x17, LBB0_6
	b	LBB0_3
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cqt_calc
.subsections_via_symbols
