	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fft_vertical
_fft_vertical:                          ## @fft_vertical
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r9d
	movslq	4(%rsi), %rbx
	movl	%ebx, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r8d
	leal	1(%r9), %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	imull	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r8d
	jge	LBB0_10
## %bb.1:
	movq	8(%rsi), %rcx
	movq	16(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %edx
	movslq	(%rsi), %rsi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movslq	%r9d, %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movslq	%r8d, %r10
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r9d
	andl	$-2, %r9d
	leaq	(,%rax,8), %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	leaq	(%rdx,%r10,8), %r12
	addq	$4, %r12
	movq	%rax, %rbx
	shlq	$4, %rbx
	imulq	%r10, %rax
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rax,8), %r14
	addq	$12, %r14
	leaq	4(,%r10,8), %r13
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rcx,%rdx,4), %edi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rsi
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%r10, -136(%rbp)                ## 8-byte Spill
	callq	_av_fft_permute
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %edi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_av_fft_calc
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	movq	-136(%rbp), %r10                ## 8-byte Reload
	incq	%r10
	addq	$8, %r12
	addq	-112(%rbp), %r14                ## 8-byte Folded Reload
	addq	$8, %r13
	cmpl	%r10d, -52(%rbp)                ## 4-byte Folded Reload
	je	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r10, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	imulq	%rcx, %rax
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%r13), %esi
	movl	%esi, -8(%r14,%rcx,8)
	movl	-4(%rdx,%r13), %esi
	movl	%esi, -12(%r14,%rcx,8)
	movl	(%rdx,%r12), %esi
	movl	%esi, (%r14,%rcx,8)
	movl	-4(%rdx,%r12), %esi
	movl	%esi, -4(%r14,%rcx,8)
	addq	$2, %rcx
	addq	%rbx, %rdx
	cmpq	%rcx, %r9
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rdx
	imulq	-48(%rbp), %rdx                 ## 8-byte Folded Reload
	addq	%r10, %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	4(%rsi,%rdx,8), %r8d
	addq	%rax, %rcx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r8d, 4(%rdi,%rcx,8)
	movl	(%rsi,%rdx,8), %edx
	movl	%edx, (%rdi,%rcx,8)
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fft_vertical
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fft_vertical
_fft_vertical:                          ; @fft_vertical
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	ldrsw	x20, [x1, #4]
	mul	w9, w20, w2
	sdiv	w8, w9, w3
	add	w9, w20, w9
	sdiv	w9, w9, w3
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.1:
	ldp	x13, x9, [x1, #8]
	and	x10, x20, #0xffffffff
	str	x10, [sp]                       ; 8-byte Folded Spill
	ldrsw	x10, [x1]
	ldr	x24, [x0]
	sxtw	x11, w2
	sxtw	x25, w8
	mul	x12, x20, x25
	mov	x21, x13
	add	x26, x13, x12, lsl #3
	lsl	x27, x20, #3
	add	x28, x9, w8, sxtw #3
	lsl	x23, x10, #3
	lsl	x22, x11, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mul	x8, x25, x20
	ldr	x9, [x24]
	ldr	x9, [x9, x23]
	ldr	w0, [x9, x22]
	add	x19, x21, x8, lsl #3
	mov	x1, x19
	bl	_av_fft_permute
	ldr	x8, [x24]
	ldr	x8, [x8, x23]
	ldr	w0, [x8, x22]
	mov	x1, x19
	bl	_av_fft_calc
	add	x25, x25, #1
	add	x26, x26, x27
	add	x28, x28, #8
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w25
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mov	x9, x28
	mov	x10, x26
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x9]
	str	d0, [x10], #8
	add	x9, x9, x27
	subs	x8, x8, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fft_vertical
.subsections_via_symbols
