	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_fir
_make_fir:                              ## @make_fir
	.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
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	jae	LBB0_19
## %bb.1:
	movq	%rcx, %r13
	movl	(%rdi), %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %ebx
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	movss	%xmm0, -60(%rbp)                ## 4-byte Spill
	callq	_process_param
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_2
## %bb.8:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	shrl	%eax
	negl	%eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r15), %ebx
	movl	%ebx, %edi
	movq	%r13, %rsi
	movss	-60(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_hn
	movq	%r13, %r14
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_win
	imull	%r13d, %eax
	movq	%r14, %r13
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	cmpq	%r15, %rbx
	jne	LBB0_9
## %bb.10:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_2:
	xorl	%ecx, %ecx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_3:
	movq	8(%r12), %r15
	cmpl	%ebx, %ecx
	jge	LBB0_5
## %bb.4:
	movl	%ecx, %eax
	leaq	(%r15,%rax,4), %rdi
	notl	%ecx
	addl	%ebx, %ecx
	leaq	4(,%rcx,4), %rsi
	callq	___bzero
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_5:
	movl	24(%r12), %edi
	movq	%r15, %rsi
	callq	_av_rdft_calc
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_19
## %bb.6:
	movq	16(%rcx), %rax
	movq	8(%rcx), %rcx
	cmpl	$8, %ebx
	jae	LBB0_11
## %bb.7:
	xorl	%edx, %edx
	jmp	LBB0_18
LBB0_11:
	movl	%ebx, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.13:
	movq	%r8, %rsi
	andq	$-2, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rcx,%rdi,4), %xmm0
	movups	16(%rcx,%rdi,4), %xmm1
	cvtdq2ps	%xmm0, %xmm0
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm0, (%rax,%rdi,4)
	movups	%xmm1, 16(%rax,%rdi,4)
	movups	32(%rcx,%rdi,4), %xmm0
	movups	48(%rcx,%rdi,4), %xmm1
	cvtdq2ps	%xmm0, %xmm0
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm0, 32(%rax,%rdi,4)
	movups	%xmm1, 48(%rax,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_14
## %bb.15:
	testb	$1, %r8b
	je	LBB0_17
LBB0_16:
	movups	(%rcx,%rdi,4), %xmm0
	movups	16(%rcx,%rdi,4), %xmm1
	cvtdq2ps	%xmm0, %xmm0
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm0, (%rax,%rdi,4)
	movups	%xmm1, 16(%rax,%rdi,4)
LBB0_17:
	cmpq	%rbx, %rdx
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%rcx,%rdx,4), %xmm0
	movss	%xmm0, (%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rbx
	jne	LBB0_18
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_16
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_make_fir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_fir
_make_fir:                              ; @make_fir
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	fcmp	s0, #0.0
	b.ls	LBB0_15
; %bb.1:
	fmov	s8, s0
	mov	x21, x3
	mov	x19, x0
	ldp	w20, w24, [x0]
	mov	x0, x1
	mov	x1, x3
	bl	_process_param
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x25, #0
	neg	w26, w20, lsr #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w26, w25
	mov	x0, x22
	mov	x1, x21
	fmov	s0, s8
	bl	_hn
	mov	x23, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_win
	mul	w8, w0, w23
	ldr	x9, [x19, #8]
	str	w8, [x9, x25, lsl #2]
	add	x25, x25, #1
	cmp	x20, x25
	b.ne	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	ldr	x21, [x19, #8]
	cmp	w20, w24
	b.ge	LBB0_7
; %bb.6:
	add	x0, x21, w20, uxtw #2
	mvn	w8, w20
	add	w8, w24, w8
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_bzero
LBB0_7:
	ldr	w0, [x19, #24]
	mov	x1, x21
	bl	_av_rdft_calc
	cmp	w24, #1
	b.lt	LBB0_15
; %bb.8:
	ldp	x9, x8, [x19, #8]
	cmp	w24, #16
	b.hs	LBB0_10
; %bb.9:
	mov	x10, #0
	b	LBB0_13
LBB0_10:
	and	x10, x24, #0xfffffff0
	add	x11, x8, #32
	add	x12, x9, #32
	mov	x13, x10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	scvtf.4s	v0, v0
	scvtf.4s	v1, v1
	scvtf.4s	v2, v2
	scvtf.4s	v3, v3
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_11
; %bb.12:
	cmp	x10, x24
	b.eq	LBB0_15
LBB0_13:
	lsl	x11, x10, #2
	add	x8, x8, x11
	add	x9, x9, x11
	sub	x10, x24, x10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x9], #4
	scvtf	s0, s0
	str	s0, [x8], #4
	subs	x10, x10, #1
	b.ne	LBB0_14
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_make_fir
.subsections_via_symbols
