	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_celt_flush                  ## -- Begin function ff_celt_flush
	.p2align	4, 0x90
_ff_celt_flush:                         ## @ff_celt_flush
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	movq	_CELT_MAX_BANDS@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_4
## %bb.2:
	movq	24(%r12), %rcx
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	xorl	%edx, %edx
	movq	_CELT_ENERGY_SILENCE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%edi, (%rcx,%rdx,4)
	movl	%edi, (%rax,%rdx,4)
	incq	%rdx
	movslq	(%rbx), %rdi
	cmpq	%rdi, %rdx
	jl	LBB0_3
LBB0_4:
	movl	20(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	16(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	12(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	8(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	4(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_CELT_EMPH_COEFF@GOTPCREL(%rip), %r15
	xorps	%xmm0, %xmm0
	divss	(%r15), %xmm0
	movss	%xmm0, (%r12)
	movq	16(%r14), %r12
	cmpl	$0, (%rbx)
	jle	LBB0_7
## %bb.5:
	movq	56(%r12), %rcx
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	xorl	%edx, %edx
	movq	_CELT_ENERGY_SILENCE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%edi, (%rcx,%rdx,4)
	movl	%edi, (%rax,%rdx,4)
	incq	%rdx
	movslq	(%rbx), %rdi
	cmpq	%rdi, %rdx
	jl	LBB0_6
LBB0_7:
	movl	52(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	48(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	44(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	40(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	36(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorps	%xmm0, %xmm0
	divss	(%r15), %xmm0
	movss	%xmm0, 32(%r12)
	movq	$0, 8(%r14)
	movl	$1, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CELT_MAX_BANDS,4,2             ## @CELT_MAX_BANDS
	.comm	_CELT_ENERGY_SILENCE,4,2        ## @CELT_ENERGY_SILENCE
	.comm	_CELT_EMPH_COEFF,4,2            ## @CELT_EMPH_COEFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_celt_flush                  ; -- Begin function ff_celt_flush
	.p2align	2
_ff_celt_flush:                         ; @ff_celt_flush
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	ldr	w8, [x0]
	cbnz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x20, _CELT_MAX_BANDS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CELT_MAX_BANDS@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x21, _CELT_ENERGY_SILENCE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CELT_ENERGY_SILENCE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x8, #0
	ldr	x10, [x22, #24]
	ldp	x10, x9, [x10]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x21]
	lsl	x12, x8, #2
	str	w11, [x9, x12]
	str	w11, [x10, x12]
	add	x8, x8, #1
	ldrsw	x11, [x20]
	cmp	x8, x11
	b.lt	LBB0_3
LBB0_4:
	ldr	w0, [x22, #20]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #12]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #8]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #4]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh4:
	adrp	x23, _CELT_EMPH_COEFF@GOTPAGE
Lloh5:
	ldr	x23, [x23, _CELT_EMPH_COEFF@GOTPAGEOFF]
	ldr	s0, [x23]
	movi	d8, #0000000000000000
	fdiv	s0, s8, s0
	str	s0, [x22]
	ldr	x22, [x19, #16]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x8, #0
	ldr	x10, [x22, #56]
	ldp	x10, x9, [x10]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x21]
	lsl	x12, x8, #2
	str	w11, [x9, x12]
	str	w11, [x10, x12]
	add	x8, x8, #1
	ldrsw	x11, [x20]
	cmp	x8, x11
	b.lt	LBB0_6
LBB0_7:
	ldr	w0, [x22, #52]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #48]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #44]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #40]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #36]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	s0, [x23]
	fdiv	s0, s8, s0
	str	s0, [x22, #32]
	str	xzr, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CELT_MAX_BANDS,4,2             ; @CELT_MAX_BANDS
	.comm	_CELT_ENERGY_SILENCE,4,2        ; @CELT_ENERGY_SILENCE
	.comm	_CELT_EMPH_COEFF,4,2            ; @CELT_EMPH_COEFF
.subsections_via_symbols
