	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function apply_window_and_mdct
LCPI0_0:
	.long	0x3e800000                      ## float 0.25
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_apply_window_and_mdct:                 ## @apply_window_and_mdct
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movl	4(%rax), %eax
	leal	-1(%rax), %ebx
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	movl	$1, %esi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%rdi)
	jle	LBB0_3
## %bb.1:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rcx
	movq	8(%rcx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %ecx
	shll	%cl, %esi
	movq	48(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cvtsi2ss	%esi, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	cvttss2si	%xmm1, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
                                        ## kill: def $eax killed $eax def $rax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	addl	%eax, %eax
	movslq	%eax, %r14
	shlq	$2, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %r15
	addq	%r14, %r15
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	*16(%r12)
	movq	%r15, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	*(%r12)
	leaq	(%r15,%r13,4), %rbx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	*8(%r12)
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	*(%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	40(%rcx), %rax
	leaq	8(%rax), %rdi
	movslq	-96(%rbp), %rsi                 ## 4-byte Folded Reload
	addq	32(%rcx), %rsi
	addq	24(%rcx), %r14
	movq	%rcx, %r15
	movq	%r14, %rdx
	callq	*8(%rax)
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	incl	%eax
	cmpl	16(%r15), %eax
	jl	LBB0_2
LBB0_3:
	movl	$1, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_apply_window_and_mdct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_window_and_mdct
_apply_window_and_mdct:                 ; @apply_window_and_mdct
	.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
	ldr	w8, [x0, #16]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w24, #0
	ldp	x8, x9, [x0]
	ldr	x20, [x8, #8]
	ldr	w8, [x9, #4]
	sub	w10, w8, #1
	mov	w9, #1
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	lsl	w21, w9, w10
	ldr	x26, [x0, #48]
	lsl	w8, w9, w8
	scvtf	s0, w8
	fmov	s1, #0.25000000
	fmul	s0, s0, s1
	fmov	s1, #1.00000000
	fdiv	s0, s1, s0
	fcvtzs	w22, s0
	sxtw	x27, w21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	lsl	w28, w24, w9
	lsl	w9, w28, #1
	sbfiz	x25, x9, #2, #32
	add	x23, x8, x25
	ldr	x8, [x26, #16]
	mov	x0, x23
	mov	x1, x23
	mov	x2, x20
	mov	x3, x21
	blr	x8
	ldr	x8, [x26]
	mov	x0, x23
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	blr	x8
	add	x23, x23, x27, lsl #2
	ldr	x8, [x26, #8]
	mov	x0, x23
	mov	x1, x23
	mov	x2, x20
	mov	x3, x21
	blr	x8
	ldr	x8, [x26]
	mov	x0, x23
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	blr	x8
	ldp	x9, x0, [x19, #32]
	ldr	x8, [x0, #8]!
	ldr	x10, [x19, #24]
	add	x1, x9, w28, sxtw
	add	x2, x10, x25
	blr	x8
	add	w24, w24, #1
	ldr	w8, [x19, #16]
	cmp	w24, w8
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_apply_window_and_mdct
.subsections_via_symbols
