	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imdct_and_window
_imdct_and_window:                      ## @imdct_and_window
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -76(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r10
	movl	%edx, %r11d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %eax
	leaq	(,%rax,8), %rcx
	addq	40(%rdi), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	32(%rdi), %rcx
	movl	(%rcx), %r14d
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	8(%rcx), %r9
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%r9,%rax,4), %ecx
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_TWINVQ_FT_LONG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r14d, %eax
	cltd
	movq	(%rdi), %rbx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %r15
	idivl	(%r9,%rsi,4)
	movl	%eax, -60(%rbp)
	movl	%r14d, %eax
	cltd
	movq	_TWINVQ_FT_MEDIUM@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	idivl	(%r9,%rsi,4)
	movl	%eax, -56(%rbp)
	movq	_TWINVQ_FT_SHORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r9,%rax,4), %edi
	addl	%edi, %edi
	movl	%r14d, -72(%rbp)                ## 4-byte Spill
	movl	%r14d, %eax
	cltd
	idivl	%edi
	movl	%eax, -52(%rbp)
	movq	_wtype_to_wsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r11d, -64(%rbp)                ## 4-byte Spill
	movslq	%r11d, %rdx
	movq	(%rax,%rdx,8), %rax
	movl	-60(%rbp,%rax,4), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.1:
	movl	-72(%rbp), %r9d                 ## 4-byte Reload
	movl	%r9d, %eax
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	subl	%edi, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	movslq	%edx, %rax
	leaq	(%r8,%rax,4), %r14
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	imull	%r9d, %eax
	addl	%eax, %eax
	cltq
	leaq	(%r15,%rax,4), %rdx
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	cltq
	movslq	%edi, %rdi
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	shlq	$2, %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%ecx
	cmpq	%rcx, %rdi
	movl	%eax, %edx
	movl	$7, %ecx
	cmovel	%ecx, %edx
	cmpl	$7, -64(%rbp)                   ## 4-byte Folded Reload
	cmovnel	%eax, %edx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_wtype_to_wsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %rax
	movslq	-60(%rbp,%rax,4), %r13
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r10, %rdx
	movq	%r10, -184(%rbp)                ## 8-byte Spill
	callq	*(%rdi)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	24(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	subl	%r13d, %r15d
	movl	%r15d, %eax
	shrl	$31, %eax
	addl	%r15d, %eax
	sarl	%eax
	movslq	%eax, %r12
	leaq	(%r14,%r12,4), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_ff_sine_windows@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r13d, %edi
	callq	_av_log2
	movl	(%rbx,%rax,4), %ecx
	movl	%r13d, %ebx
	shrl	$31, %ebx
	addl	%r13d, %ebx
	sarl	%ebx
	movq	-168(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %r8d
	callq	*-160(%rbp)                     ## 8-byte Folded Reload
	leaq	(%r14,%r13,4), %r14
	movslq	%ebx, %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	subl	%eax, %edx
	shll	$2, %edx
	movq	%r14, %rdi
	callq	_memcpy
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	movq	-184(%rbp), %r10                ## 8-byte Reload
	movq	_TWINVQ_FT_MEDIUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %rsi
	cmovnel	%r15d, %r12d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movslq	%r12d, %rax
	leaq	(%r14,%rax,4), %rdx
	incq	%rdi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax), %r14
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	(%rax,%rcx,4), %rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rbx
	addq	%rax, %r10
	cmpq	%rcx, %rdi
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	cmpl	$4, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$4, %edx
	testq	%rdi, %rdi
	je	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$8, %eax
	cmpq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_6
LBB0_8:
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	addl	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	16(%rcx), %rcx
	movslq	-76(%rbp), %rdx                 ## 4-byte Folded Reload
	movl	%eax, (%rcx,%rdx,4)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TWINVQ_FT_LONG,8,3             ## @TWINVQ_FT_LONG
	.comm	_TWINVQ_FT_MEDIUM,8,3           ## @TWINVQ_FT_MEDIUM
	.comm	_TWINVQ_FT_SHORT,8,3            ## @TWINVQ_FT_SHORT
	.comm	_wtype_to_wsize,8,3             ## @wtype_to_wsize
	.comm	_ff_sine_windows,8,3            ## @ff_sine_windows
	.no_dead_strip	_imdct_and_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imdct_and_window
_imdct_and_window:                      ; @imdct_and_window
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	w5, [sp, #12]                   ; 4-byte Folded Spill
	str	x3, [sp, #64]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldp	x8, x11, [x0, #32]
	ldr	w15, [x8]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	x12, [x8, #8]
	ldr	w8, [x12, w1, uxtw #2]
Lloh3:
	adrp	x9, _TWINVQ_FT_LONG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TWINVQ_FT_LONG@GOTPAGEOFF]
	ldr	x10, [x0]
	str	x10, [sp, #96]                  ; 8-byte Folded Spill
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	ldr	x10, [x0, #8]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x12, x9, lsl #2]
Lloh6:
	adrp	x14, _TWINVQ_FT_MEDIUM@GOTPAGE
Lloh7:
	ldr	x14, [x14, _TWINVQ_FT_MEDIUM@GOTPAGEOFF]
	sdiv	w13, w15, w9
Lloh8:
	ldr	x9, [x14]
	ldr	w14, [x12, x9, lsl #2]
	sdiv	w14, w15, w14
	stp	w13, w14, [x29, #-100]
Lloh9:
	adrp	x13, _TWINVQ_FT_SHORT@GOTPAGE
Lloh10:
	ldr	x13, [x13, _TWINVQ_FT_SHORT@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x13]
	ldr	w12, [x12, x13, lsl #2]
	lsl	w12, w12, #1
	str	w15, [sp, #8]                   ; 4-byte Folded Spill
	sdiv	w12, w15, w12
	stur	w12, [x29, #-92]
Lloh12:
	adrp	x12, _wtype_to_wsize@GOTPAGE
Lloh13:
	ldr	x12, [x12, _wtype_to_wsize@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
	str	w2, [sp, #84]                   ; 4-byte Folded Spill
	ldr	x12, [x12, w2, sxtw #3]
	sub	x13, x29, #100
	ldr	w12, [x13, x12, lsl #2]
	str	w12, [sp, #4]                   ; 4-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, #0
	mov	x20, #0
	mov	w13, w1
	add	x11, x11, w1, uxtw #3
	str	x11, [sp, #48]                  ; 8-byte Folded Spill
	ldr	w12, [sp, #8]                   ; 4-byte Folded Reload
	sdiv	w14, w12, w8
	sub	w11, w12, w14
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	add	x27, x4, w11, sxtw #2
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	mul	w11, w11, w12
	lsl	w11, w11, #1
	add	x24, x10, w11, sxtw #2
	cmp	w14, #0
	cinc	w10, w14, lt
	asr	w10, w10, #1
	ldr	x11, [sp, #96]                  ; 8-byte Folded Reload
	add	x10, x11, w10, sxtw #2
	stp	x10, x14, [sp, #32]             ; 16-byte Folded Spill
	sbfiz	x10, x14, #2, #32
	stp	x13, x10, [sp, #16]             ; 16-byte Folded Spill
	mov	x23, x14
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x13
	ldr	w10, [sp, #84]                  ; 4-byte Folded Reload
	mov	w9, #8
	csel	w9, w9, w10, eq
	sub	w8, w8, #1
	cmp	x20, x8
	ccmp	w10, #7, #0, eq
	mov	w8, #7
	csel	w8, w8, w9, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh15:
	adrp	x9, _wtype_to_wsize@GOTPAGE
Lloh16:
	ldr	x9, [x9, _wtype_to_wsize@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x8, [x9, w8, sxtw #3]
	sub	x9, x29, #100
	ldrsw	x25, [x9, x8, lsl #2]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x0]
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	add	x26, x9, x19
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	add	x2, x9, x19
	mov	x1, x26
	blr	x8
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #24]
	ldr	x8, [x8]
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	sub	w21, w23, w25
	cmp	w21, #0
	cinc	w8, w21, lt
	asr	w22, w8, #1
	add	x27, x27, w22, sxtw #2
Lloh18:
	adrp	x8, _ff_sine_windows@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ff_sine_windows@GOTPAGEOFF]
Lloh20:
	ldr	x28, [x8]
	mov	x0, x25
	bl	_av_log2
	ldr	w3, [x28, x0, lsl #2]
	cmp	w25, #0
	cinc	w8, w25, lt
	asr	w28, w8, #1
	mov	x0, x24
	mov	x1, x27
	mov	x2, x26
	mov	x4, x28
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	blr	x8
	add	x24, x24, x25, lsl #2
	add	x8, x19, w28, sxtw #2
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	add	x1, x9, x8
	sub	w8, w23, w28
	lsl	w2, w8, #2
	mov	x0, x24
	bl	_memcpy
Lloh21:
	adrp	x8, _TWINVQ_FT_MEDIUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TWINVQ_FT_MEDIUM@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x8]
	ldp	x13, x10, [sp, #16]             ; 16-byte Folded Reload
	cmp	x9, x13
	csel	w8, w22, w21, eq
	add	x24, x24, w8, sxtw #2
	add	x20, x20, #1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x27, x8, x19
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldrsw	x8, [x8, x13, lsl #2]
	add	x19, x19, x10
	cmp	x20, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [sp, #84]                  ; 4-byte Folded Reload
	cmp	w10, #4
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x20, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #4
	b	LBB0_3
LBB0_7:
	ldp	w9, w8, [sp, #4]                ; 8-byte Folded Reload
	add	w8, w9, w8
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #16]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	str	w8, [x9, w10, sxtw #2]
	ldur	x8, [x29, #-88]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_TWINVQ_FT_LONG,8,3             ; @TWINVQ_FT_LONG
	.comm	_TWINVQ_FT_MEDIUM,8,3           ; @TWINVQ_FT_MEDIUM
	.comm	_TWINVQ_FT_SHORT,8,3            ; @TWINVQ_FT_SHORT
	.comm	_wtype_to_wsize,8,3             ; @wtype_to_wsize
	.comm	_ff_sine_windows,8,3            ; @ff_sine_windows
	.no_dead_strip	_imdct_and_window
.subsections_via_symbols
