	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function fft_ref
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fft_ref:                               ## @fft_ref
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ecx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %edx
	movl	$1, %eax
	shll	%cl, %eax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$31, %ecx
	jne	LBB0_1
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	leal	-1(%rax), %r14d
	cmpl	$2, %eax
	cmovgel	%eax, %edx
	addq	$8, -56(%rbp)                   ## 8-byte Folded Spill
	xorl	%r15d, %r15d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	callq	_REF_SCALE
	movq	%r15, %rbx
	shlq	$4, %rbx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 8(%r13,%rbx)
	xorps	%xmm0, %xmm0
	movl	%r12d, %edi
	callq	_REF_SCALE
	movq	%rax, (%r13,%rbx)
	incq	%r15
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %r15
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%r13d, %r13d
	movl	%edx, %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	%ecx, %ecx
	shlq	$4, %rcx
	movups	(%rax,%rcx), %xmm2
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	-8(%rbx), %rsi
	movq	(%rbx), %rdi
	movaps	%xmm2, %xmm3
	unpckhpd	%xmm2, %xmm3                    ## xmm3 = xmm3[1],xmm2[1]
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	_CMAC
	addq	$16, %rbx
	addl	%r15d, %r13d
	decl	%r12d
	je	LBB0_7
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %ecx
	andl	%r14d, %ecx
	movl	%ecx, %edx
	movq	_exptab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movslq	%edx, %rcx
	shlq	$4, %rcx
	movups	(%rax,%rcx), %xmm2
	xorps	LCPI0_0(%rip), %xmm2
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_exptab,8,3                     ## @exptab
	.no_dead_strip	_fft_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fft_ref
_fft_ref:                               ; @fft_ref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cmp	w2, #31
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	mov	x19, x2
	mov	x21, #0
	mov	w8, #1
	lsl	w8, w8, w2
	asr	w22, w8, #1
	subs	w23, w8, #1
	csinc	w24, w8, wzr, gt
	add	x20, x1, #8
Lloh0:
	adrp	x26, _exptab@GOTPAGE
Lloh1:
	ldr	x26, [x26, _exptab@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	movi	d0, #0000000000000000
	mov	x0, x19
	bl	_REF_SCALE
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x25, x8, x21, lsl #4
	str	x0, [x25, #8]
	movi	d0, #0000000000000000
	mov	x0, x19
	bl	_REF_SCALE
	str	x0, [x25]
	add	x21, x21, #1
	cmp	x21, x24
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	w27, #0
	mov	x28, x24
	mov	x25, x20
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	q2, [x8, w9, uxtw #4]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldp	x1, x0, [x25, #-8]
	mov	d3, v2[1]
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
                                        ; kill: def $d2 killed $d2 killed $q2
	bl	_CMAC
	add	x25, x25, #16
	add	w27, w27, w21
	subs	w28, w28, #1
	b.eq	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w9, w27, w23
	ldr	x8, [x26]
	subs	w10, w9, w22
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	q0, [x8, w10, sxtw #4]
	fneg.2d	v2, v0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_exptab,8,3                     ; @exptab
	.no_dead_strip	_fft_ref
.subsections_via_symbols
