	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function synthesis
LCPI0_0:
	.quad	0x3fd0000000000000              ## double 0.25
	.quad	0x3fd0000000000000              ## double 0.25
LCPI0_4:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fd0000000000000              ## double 0.25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fd0000000000000              ## double 0.25
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_synthesis:                             ## @synthesis
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movapd	%xmm0, %xmm1
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AMR_SUBFRAME_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	leaq	(,%r15,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r12, %r8
	movq	(%r12), %rsi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_12
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.2:
	cmpl	$4, %r15d
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	movl	%r15d, %eax
	andl	$-4, %eax
	leaq	-4(%rax), %rcx
	movq	%rcx, %rdx
	shrq	$2, %rdx
	incq	%rdx
	testq	%rcx, %rcx
	je	LBB0_34
## %bb.5:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	xorl	%ecx, %ecx
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [2.5E-1,2.5E-1]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movupd	(%rsi,%rcx,8), %xmm2
	movupd	16(%rsi,%rcx,8), %xmm3
	movupd	32(%rsi,%rcx,8), %xmm4
	movupd	48(%rsi,%rcx,8), %xmm5
	mulpd	%xmm0, %xmm2
	mulpd	%xmm0, %xmm3
	movupd	%xmm2, (%rsi,%rcx,8)
	movupd	%xmm3, 16(%rsi,%rcx,8)
	mulpd	%xmm0, %xmm4
	mulpd	%xmm0, %xmm5
	movupd	%xmm4, 32(%rsi,%rcx,8)
	movupd	%xmm5, 48(%rsi,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rdi
	jne	LBB0_6
## %bb.7:
	testb	$1, %dl
	je	LBB0_9
LBB0_8:
	movupd	(%rsi,%rcx,8), %xmm0
	movupd	16(%rsi,%rcx,8), %xmm2
	movapd	LCPI0_0(%rip), %xmm3            ## xmm3 = [2.5E-1,2.5E-1]
	mulpd	%xmm3, %xmm0
	mulpd	%xmm3, %xmm2
	movupd	%xmm0, (%rsi,%rcx,8)
	movupd	%xmm2, 16(%rsi,%rcx,8)
LBB0_9:
	cmpq	%r15, %rax
	je	LBB0_12
LBB0_10:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%rsi,%rax,8), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm0, %xmm2
	movsd	%xmm2, (%rsi,%rax,8)
	incq	%rax
	cmpq	%rax, %r15
	jne	LBB0_11
LBB0_12:
	movq	%r8, %r14
	movq	8(%r8), %rax
	movsd	32(%rax), %xmm0                 ## xmm0 = mem[0],zero
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	*40(%r8)
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_25
## %bb.13:
	movq	8(%r14), %rax
	movsd	32(%rax), %xmm0                 ## xmm0 = mem[0],zero
	ucomisd	LCPI0_2(%rip), %xmm0
	jbe	LBB0_25
## %bb.14:
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	*32(%r14)
	movq	8(%r14), %rax
	movq	16(%r14), %r15
	movsd	32(%rax), %xmm2                 ## xmm2 = mem[0],zero
	movq	_MODE_12k2@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	%r13, %r15
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	je	LBB0_16
## %bb.15:
	movq	_SHARP_MAX@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	jmp	LBB0_17
LBB0_16:
	movsd	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero
LBB0_17:
	movapd	%xmm2, %xmm0
	movsd	%xmm2, -56(%rbp)                ## 8-byte Spill
	callq	_FFMIN
	movq	_AMR_SUBFRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_24
## %bb.18:
	xorl	%eax, %eax
	cmpq	%r13, %r15
	sete	%al
	leaq	LCPI0_4(%rip), %rcx
	mulsd	(%rcx,%rax,8), %xmm0
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	cvtss2sd	%xmm0, %xmm0
	movq	(%r14), %rax
	cmpl	$4, %edx
	jae	LBB0_20
## %bb.19:
	xorl	%ecx, %ecx
	jmp	LBB0_23
LBB0_20:
	movl	%edx, %ecx
	andl	$-4, %ecx
	movddup	%xmm0, %xmm1                    ## xmm1 = xmm0[0,0]
	leaq	(,%rdx,4), %rsi
	andq	$-16, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movupd	(%rax,%rdi,2), %xmm2
	movupd	16(%rax,%rdi,2), %xmm3
	cvtps2pd	(%rbx,%rdi), %xmm4
	cvtps2pd	8(%rbx,%rdi), %xmm5
	mulpd	%xmm1, %xmm2
	addpd	%xmm4, %xmm2
	mulpd	%xmm1, %xmm3
	addpd	%xmm5, %xmm3
	cvtpd2ps	%xmm2, %xmm2
	cvtpd2ps	%xmm3, %xmm3
	movlpd	%xmm2, (%rbx,%rdi)
	movlpd	%xmm3, 8(%rbx,%rdi)
	addq	$16, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_21
## %bb.22:
	cmpq	%rdx, %rcx
	je	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rbx,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	movsd	(%rax,%rcx,8), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm0, %xmm2
	addsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm2, %xmm1
	movss	%xmm1, (%rbx,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_23
LBB0_24:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movss	-64(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ff_scale_vector_to_given_sum_of_squares
	movq	_AMR_SUBFRAME_SIZE@GOTPCREL(%rip), %r13
LBB0_25:
	movl	(%r13), %ecx
	movq	_LP_FILTER_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	*24(%r14)
	cmpl	$0, (%r13)
	jle	LBB0_30
## %bb.26:
	xorl	%ebx, %ebx
	movq	_AMR_SAMPLE_BOUND@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movss	(%r15,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_fabsf
	cmpq	(%r14), %rax
	jg	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_27
LBB0_30:
	xorl	%eax, %eax
	jmp	LBB0_32
LBB0_31:
	movl	$1, %eax
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_35
## %bb.33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	xorl	%ecx, %ecx
	testb	$1, %dl
	jne	LBB0_8
	jmp	LBB0_9
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AMR_SUBFRAME_SIZE,4,2          ## @AMR_SUBFRAME_SIZE
	.comm	_MODE_12k2,8,3                  ## @MODE_12k2
	.comm	_SHARP_MAX,8,3                  ## @SHARP_MAX
	.comm	_LP_FILTER_ORDER,4,2            ## @LP_FILTER_ORDER
	.comm	_AMR_SAMPLE_BOUND,8,3           ## @AMR_SAMPLE_BOUND
	.no_dead_strip	_synthesis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function synthesis
_synthesis:                             ; @synthesis
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -88
	.cfi_offset b9, -96
	sub	sp, sp, #16
	mov	x23, x4
	mov	x19, x3
	fmov	s1, s0
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x24, _AMR_SUBFRAME_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _AMR_SUBFRAME_SIZE@GOTPAGEOFF]
	ldr	w3, [x24]
	lsl	x8, x3, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	x1, [x0]
	cbz	x4, LBB0_9
; %bb.1:
	cmp	w3, #1
	b.lt	LBB0_9
; %bb.2:
	cmp	w3, #8
	b.hs	LBB0_4
; %bb.3:
	mov	x8, #0
	b	LBB0_7
LBB0_4:
	and	x8, x3, #0xfffffff8
	add	x9, x1, #32
	fmov.2d	v0, #0.25000000
	mov	x10, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x9, #-32]
	ldp	q4, q5, [x9]
	fmul.2d	v2, v2, v0
	fmul.2d	v3, v3, v0
	fmul.2d	v4, v4, v0
	fmul.2d	v5, v5, v0
	stp	q2, q3, [x9, #-32]
	stp	q4, q5, [x9], #64
	subs	x10, x10, #8
	b.ne	LBB0_5
; %bb.6:
	cmp	x8, x3
	b.eq	LBB0_9
LBB0_7:
	add	x9, x1, x8, lsl #3
	sub	x8, x3, x8
	fmov	d0, #0.25000000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d2, [x9]
	fmul	d2, d2, d0
	str	d2, [x9], #8
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	x8, [x21, #40]
	ldr	x9, [x21, #8]
	ldr	d0, [x9, #32]
	mov	x0, x22
                                        ; kill: def $w3 killed $w3 killed $x3
	blr	x8
	cbnz	x23, LBB0_20
; %bb.10:
	ldr	x8, [x21, #8]
	ldr	d0, [x8, #32]
	fmov	d1, #0.50000000
	fcmp	d0, d1
	b.le	LBB0_20
; %bb.11:
	ldr	x8, [x21, #32]
	ldr	w2, [x24]
	mov	x0, x22
	mov	x1, x22
	blr	x8
	fmov	s8, s0
	ldp	x8, x23, [x21, #8]
	ldr	d9, [x8, #32]
Lloh7:
	adrp	x8, _MODE_12k2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MODE_12k2@GOTPAGEOFF]
Lloh9:
	ldr	x25, [x8]
Lloh10:
	adrp	x8, _SHARP_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SHARP_MAX@GOTPAGEOFF]
Lloh12:
	ldr	d0, [x8]
	cmp	x23, x25
	fmov	d1, #1.00000000
	fcsel	d1, d1, d0, eq
	fmov	d0, d9
	bl	_FFMIN
	ldr	w2, [x24]
	cmp	w2, #1
	b.lt	LBB0_19
; %bb.12:
	cmp	x23, x25
	fmov	d1, #0.50000000
	fmov	d2, #0.25000000
	fcsel	d1, d2, d1, eq
	fmul	d0, d0, d1
	fmul	d0, d9, d0
	fcvt	s0, d0
	fcvt	d0, s0
	ldr	x8, [x21]
	cmp	w2, #8
	b.hs	LBB0_14
; %bb.13:
	mov	x9, #0
	b	LBB0_17
LBB0_14:
	and	x9, x2, #0xfffffff8
	dup.2d	v1, v0[0]
	add	x10, x22, #16
	add	x11, x8, #32
	mov	x12, x9
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x11, #-32]
	ldp	q4, q5, [x11], #64
	ldp	d6, d7, [x10, #-16]
	ldp	d16, d17, [x10]
	fcvtl	v6.2d, v6.2s
	fcvtl	v7.2d, v7.2s
	fcvtl	v16.2d, v16.2s
	fcvtl	v17.2d, v17.2s
	fmla.2d	v6, v2, v1
	fmla.2d	v7, v3, v1
	fmla.2d	v16, v4, v1
	fmla.2d	v17, v5, v1
	fcvtn	v2.2s, v6.2d
	fcvtn	v3.2s, v7.2d
	fcvtn	v4.2s, v16.2d
	fcvtn	v5.2s, v17.2d
	stp	d2, d3, [x10, #-16]
	stp	d4, d5, [x10], #32
	subs	x12, x12, #8
	b.ne	LBB0_15
; %bb.16:
	cmp	x9, x2
	b.eq	LBB0_19
LBB0_17:
	add	x10, x22, x9, lsl #2
	sub	x11, x2, x9
	add	x8, x8, x9, lsl #3
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x8], #8
	ldr	s2, [x10]
	fcvt	d2, s2
	fmadd	d1, d0, d1, d2
	fcvt	s1, d1
	str	s1, [x10], #4
	subs	x11, x11, #1
	b.ne	LBB0_18
LBB0_19:
	mov	x0, x22
	mov	x1, x22
	fmov	s0, s8
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ff_scale_vector_to_given_sum_of_squares
LBB0_20:
	ldr	x8, [x21, #24]
	ldr	w3, [x24]
Lloh13:
	adrp	x9, _LP_FILTER_ORDER@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LP_FILTER_ORDER@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x9]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	blr	x8
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.21:
	mov	x20, #0
Lloh16:
	adrp	x21, _AMR_SAMPLE_BOUND@GOTPAGE
Lloh17:
	ldr	x21, [x21, _AMR_SAMPLE_BOUND@GOTPAGEOFF]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x19, x20, lsl #2]
	bl	_fabsf
	ldr	x8, [x21]
	cmp	x0, x8
	b.gt	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x24]
	cmp	x20, x8
	b.lt	LBB0_22
LBB0_24:
	mov	w0, #0
	b	LBB0_26
LBB0_25:
	mov	w0, #1
LBB0_26:
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AMR_SUBFRAME_SIZE,4,2          ; @AMR_SUBFRAME_SIZE
	.comm	_MODE_12k2,8,3                  ; @MODE_12k2
	.comm	_SHARP_MAX,8,3                  ; @SHARP_MAX
	.comm	_LP_FILTER_ORDER,4,2            ; @LP_FILTER_ORDER
	.comm	_AMR_SAMPLE_BOUND,8,3           ; @AMR_SAMPLE_BOUND
	.no_dead_strip	_synthesis
.subsections_via_symbols
