	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function process_anticollapse
LCPI0_0:
	.long	0xbe000000                      ## float -0.125
LCPI0_2:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_3:
	.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
_process_anticollapse:                  ## @process_anticollapse
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movslq	(%rdi), %r13
	cmpl	4(%rdi), %r13d
	jge	LBB0_20
## %bb.1:
	movq	%rdi, %r12
	movq	_ff_celt_freq_bands@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	4(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
	movq	8(%r12), %rax
	movq	_ff_celt_freq_range@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	(%rcx,%r13,4), %esi
	movb	16(%r12), %cl
	shll	%cl, %esi
	movl	(%rax,%r13,4), %eax
	incl	%eax
	cltd
	idivl	%esi
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	addsd	LCPI0_1(%rip), %xmm0
	cvttsd2si	%xmm0, %edi
	callq	_exp2f
	movss	%xmm0, -96(%rbp)                ## 4-byte Spill
	movq	(%rbx), %rax
	movl	(%rax,%r13,4), %edi
	movb	16(%r12), %cl
	shll	%cl, %edi
	callq	_sqrtf
	movq	(%r15), %rax
	movl	(%rax,%r13,4), %r14d
	movb	16(%r12), %cl
	shll	%cl, %r14d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movss	(%rcx,%r13,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movss	(%rax,%r13,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	cmpl	$1, 20(%r12)
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r12), %rbx
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movss	%xmm1, -80(%rbp)                ## 4-byte Spill
	movss	(%rax,%r13,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm0
	callq	_FFMAX
	movss	%xmm0, -60(%rbp)                ## 4-byte Spill
	movq	24(%rbx), %rax
	movq	8(%rax), %rax
	movss	(%rax,%r13,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	-80(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_FFMAX
	movss	-60(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movapd	%xmm0, %xmm1
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdx), %rax
	movss	(%rax,%r13,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -80(%rbp)                ## 4-byte Spill
	movaps	%xmm2, %xmm0
	callq	_FFMIN
	movss	-80(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	callq	_FFMAX
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	cvttss2si	%xmm1, %edi
	callq	_exp2f
	movaps	%xmm0, %xmm1
	cmpl	$3, 16(%r12)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_M_SQRT2@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movss	-96(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	callq	_FFMIN
	movl	16(%r12), %ecx
	cmpl	$31, %ecx
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	je	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movaps	%xmm1, %xmm2
	divss	-44(%rbp), %xmm2                ## 4-byte Folded Reload
	movslq	%r14d, %rax
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rbx
	mulss	%xmm0, %xmm2
	movaps	%xmm2, -96(%rbp)                ## 16-byte Spill
	xorps	LCPI0_3(%rip), %xmm2
	movaps	%xmm2, -80(%rbp)                ## 16-byte Spill
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	%r15d
	movl	$1, %eax
	shll	%cl, %eax
	cmpl	%eax, %r15d
	jge	LBB0_17
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
	movq	16(%rdx), %rax
	movl	(%rax,%r13,4), %eax
	btl	%r15d, %eax
	jb	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	_ff_celt_freq_range@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	$0, (%rax,%r13,4)
	jle	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=3
	movl	16(%r12), %ecx
	movl	%r14d, %eax
	shll	%cl, %eax
	addl	%r15d, %eax
	cltq
	movss	%xmm0, (%rbx,%rax,4)
	incl	%r14d
	movq	_ff_celt_freq_range@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	(%rax,%r13,4), %r14d
	jge	LBB0_15
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r12, %rdi
	callq	_celt_rng
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	testl	$32768, %eax                    ## imm = 0x8000
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=3
	movaps	-96(%rbp), %xmm0                ## 16-byte Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	_ff_celt_freq_bands@GOTPCREL(%rip), %r15
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ff_celt_freq_range@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movq	%rbx, %rdi
	movaps	%xmm1, %xmm0
	callq	_celt_renormalize_vector
	jmp	LBB0_19
LBB0_20:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_celt_freq_range,8,3         ## @ff_celt_freq_range
	.comm	_ff_celt_freq_bands,8,3         ## @ff_celt_freq_bands
	.comm	_M_SQRT2,4,2                    ## @M_SQRT2
	.no_dead_strip	_process_anticollapse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_anticollapse
_process_anticollapse:                  ; @process_anticollapse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d15, d14, [sp, #16]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #32]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #48]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	str	x2, [sp]                        ; 8-byte Folded Spill
	ldp	w23, w8, [x0]
                                        ; kill: def $w23 killed $w23 def $x23
	sxtw	x23, w23
	cmp	w23, w8
	b.ge	LBB0_15
; %bb.1:
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _ff_celt_freq_range@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ff_celt_freq_range@GOTPAGEOFF]
	fmov	s12, #-0.12500000
	fmov	d13, #-1.00000000
	fmov	s14, #1.00000000
Lloh2:
	adrp	x26, _ff_celt_freq_bands@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ff_celt_freq_bands@GOTPAGEOFF]
Lloh4:
	adrp	x19, _M_SQRT2@GOTPAGE
Lloh5:
	ldr	x19, [x19, _M_SQRT2@GOTPAGEOFF]
	mov	w27, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21, #4]
	cmp	x23, x8
	b.ge	LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x8, [x21, #8]
	lsl	x28, x23, #2
	ldr	w8, [x8, x28]
	ldr	x9, [x24]
	ldr	w9, [x9, x28]
	add	w8, w8, #1
	ldr	w10, [x21, #16]
	lsl	w9, w9, w10
	sdiv	w8, w8, w9
	scvtf	s0, w8
	fmul	s0, s0, s12
	fcvt	d0, s0
	fadd	d0, d0, d13
	fcvtzs	w0, d0
	bl	_exp2f
	fmov	s8, s0
	ldr	x8, [x24]
	ldr	w8, [x8, x28]
	ldr	w9, [x21, #16]
	lsl	w0, w8, w9
	bl	_sqrtf
	fmov	s9, s0
	ldr	x8, [x26]
	ldr	w22, [x8, x28]
	ldr	x8, [x20]
	ldp	x9, x8, [x8]
	ldr	s11, [x9, x28]
	ldr	s10, [x8, x28]
	ldp	w25, w8, [x21, #16]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	mov	x25, x22
	mov	x22, x19
	mov	x19, x26
	ldr	x26, [x21, #24]
	ldr	x8, [x26, #24]
	ldr	x8, [x8]
	ldr	s1, [x8, x28]
	fmov	s0, s11
	bl	_FFMAX
	fmov	s11, s0
	ldr	x8, [x26, #24]
	mov	x26, x19
	mov	x19, x22
	mov	x22, x25
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	s1, [x8, x28]
	fmov	s0, s10
	bl	_FFMAX
	fmov	s10, s0
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	ldr	s15, [x8, x23, lsl #2]
	fmov	s0, s11
	fmov	s1, s10
	bl	_FFMIN
	fsub	s1, s15, s0
	movi	d0, #0000000000000000
	bl	_FFMAX
	fsub	s0, s14, s0
	fcvtzs	w0, s0
	bl	_exp2f
	ldr	w8, [x21, #16]
	ldr	s1, [x19]
	cmp	w8, #3
	fcsel	s1, s1, s14, eq
	fmul	s1, s0, s1
	fmov	s0, s8
	bl	_FFMIN
	ldr	w8, [x21, #16]
	cmp	w8, #31
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	mov	w9, #0
	fdiv	s1, s14, s9
	lsl	w10, w22, w25
	ldr	x11, [sp]                       ; 8-byte Folded Reload
	add	x22, x11, w10, sxtw #2
	fmul	s8, s1, s0
	fneg	s9, s8
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	w9, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w28, w28, #1
	lsl	w10, w27, w8
	cmp	w28, w10
	b.ge	LBB0_13
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x10, [x20, #16]
	ldr	w10, [x10, x23, lsl #2]
	lsr	w10, w10, w28
	tbnz	w10, #0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x9, [x24]
	ldr	w9, [x9, x23, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w25, #0
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x21
	bl	_celt_rng
	tst	w0, #0x8000
	fcsel	s0, s9, s8, eq
	ldr	w8, [x21, #16]
	lsl	w9, w25, w8
	add	w9, w9, w28
	str	s0, [x22, w9, sxtw #2]
	add	w25, w25, #1
	ldr	x9, [x24]
	ldr	w9, [x9, x23, lsl #2]
	cmp	w25, w9
	b.lt	LBB0_12
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w9, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x24]
	ldr	w9, [x9, x23, lsl #2]
	lsl	w1, w9, w8
	fmov	s0, #1.00000000
	mov	x0, x22
	bl	_celt_renormalize_vector
	b	LBB0_2
LBB0_15:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #48]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #32]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_celt_freq_range,8,3         ; @ff_celt_freq_range
	.comm	_ff_celt_freq_bands,8,3         ; @ff_celt_freq_bands
	.comm	_M_SQRT2,4,2                    ; @M_SQRT2
	.no_dead_strip	_process_anticollapse
.subsections_via_symbols
