	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function imdct_calc
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_imdct_calc:                            ## @imdct_calc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r8
	movq	%rdx, %r15
	movq	(%rdi), %rdx
	movq	(%rsi), %rax
	movq	_imdct_bits_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movb	(%rcx,%rax,4), %cl
	shlq	$4, %rax
	movl	$1, %r14d
	shll	%cl, %r14d
	leaq	(%rdx,%rax), %rdi
	movl	%r14d, %ebx
	sarl	%ebx
	movl	8(%rsi), %ecx
	cmpl	$2, %ecx
	je	LBB0_12
## %bb.1:
	cmpl	$1, %ecx
	je	LBB0_11
## %bb.2:
	testl	%ecx, %ecx
	jne	LBB0_20
## %bb.3:
	movq	%r15, %rsi
	movq	%r8, %rdx
	callq	*(%rdi)
	cmpl	$2, %r14d
	jl	LBB0_19
## %bb.4:
	movslq	%ebx, %rax
	cmpl	$2, %ebx
	movl	$1, %ecx
	cmovgel	%ebx, %ecx
	cmpl	$4, %r14d
	jge	LBB0_6
## %bb.5:
	xorl	%edx, %edx
	testb	$1, %cl
	jne	LBB0_10
	jmp	LBB0_19
LBB0_12:
	movslq	%ebx, %rax
	leaq	(%r15,%rax,4), %rsi
	movq	%r8, %rdx
	callq	*(%rdi)
	cmpl	$2, %r14d
	jl	LBB0_19
## %bb.13:
	cmpl	$2, %ebx
	movl	$1, %eax
	cmovgel	%ebx, %eax
	cmpl	$4, %r14d
	jge	LBB0_15
## %bb.14:
	xorl	%ecx, %ecx
	jmp	LBB0_17
LBB0_11:
	movq	8(%rdx,%rax), %rax
	movq	%r15, %rsi
	movq	%r8, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_20:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_assert0                     ## TAILCALL
LBB0_15:
	movl	%eax, %edx
	andl	$2147483646, %edx               ## imm = 0x7FFFFFFE
	leal	-2(%r14), %esi
	xorl	%ecx, %ecx
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%rsi), %edi
	movslq	%edi, %rdi
	movss	(%r15,%rdi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm1
	movss	%xmm1, (%r15,%rcx,4)
	movslq	%esi, %rsi
	movss	(%r15,%rsi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm1
	movss	%xmm1, 4(%r15,%rcx,4)
	addq	$2, %rcx
	addl	$-2, %esi
	cmpq	%rcx, %rdx
	jne	LBB0_16
LBB0_17:
	testb	$1, %al
	je	LBB0_19
## %bb.18:
	movl	%ecx, %eax
	notl	%eax
	addl	%eax, %r14d
	movslq	%r14d, %rax
	movss	(%r15,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorps	LCPI0_0(%rip), %xmm0
	movss	%xmm0, (%r15,%rcx,4)
	jmp	LBB0_19
LBB0_6:
	leaq	(%r15,%rax,4), %rbx
	addq	$4, %rbx
	movl	%ecx, %edi
	andl	$-2, %edi
	negq	%rdi
	xorl	%edx, %edx
	movq	%rbx, %rsi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movss	-8(%rbx,%rdx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rsi)
	movss	-12(%rbx,%rdx,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi)
	addq	$8, %rsi
	addq	$-2, %rdx
	cmpq	%rdx, %rdi
	jne	LBB0_7
## %bb.8:
	negq	%rdx
	testb	$1, %cl
	je	LBB0_19
LBB0_10:
	movq	%rdx, %rcx
	notq	%rcx
	addq	%rax, %rcx
	movss	(%r15,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addq	%rax, %rdx
	movss	%xmm0, (%r15,%rdx,4)
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_imdct_bits_tab,8,3             ## @imdct_bits_tab
	.no_dead_strip	_imdct_calc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imdct_calc
_imdct_calc:                            ; @imdct_calc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	ldr	x8, [x0]
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _imdct_bits_tab@GOTPAGE
Lloh1:
	ldr	x10, [x10, _imdct_bits_tab@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w10, [x10, x9, lsl #2]
	add	x0, x8, x9, lsl #4
	mov	w11, #1
	lsl	w21, w11, w10
	asr	w20, w21, #1
	ldr	w10, [x1, #8]
	cmp	w10, #2
	b.eq	LBB0_6
; %bb.1:
	cmp	w10, #1
	b.eq	LBB0_10
; %bb.2:
	cbnz	w10, LBB0_11
; %bb.3:
	ldr	x8, [x0]
	mov	x1, x19
	mov	x2, x3
	blr	x8
	cmp	w21, #2
	b.lt	LBB0_9
; %bb.4:
	cmp	w20, #1
	csinc	w8, w20, wzr, gt
	add	x9, x19, w20, sxtw #2
	sub	x10, x9, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x10], #-4
	str	s0, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_5
	b	LBB0_9
LBB0_6:
	ldr	x8, [x0]
	add	x1, x19, w20, sxtw #2
	mov	x2, x3
	blr	x8
	cmp	w21, #2
	b.lt	LBB0_9
; %bb.7:
	cmp	w20, #1
	csinc	w8, w20, wzr, gt
	sub	w9, w21, #1
	mov	x10, x19
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x19, w9, sxtw #2]
	fneg	s0, s0
	str	s0, [x10], #4
	sub	w9, w9, #1
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	add	x8, x8, x9, lsl #4
	ldr	x4, [x8, #8]
	mov	x1, x19
	mov	x2, x3
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x4
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_av_assert0
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_imdct_bits_tab,8,3             ; @imdct_bits_tab
	.no_dead_strip	_imdct_calc
.subsections_via_symbols
