	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function synthesis
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_1:
	.quad	0x3fd0000000000000              ## double 0.25
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movaps	%xmm0, %xmm1
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rsi
	movq	8(%rdi), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movq	_AMRWB_SFR_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movq	%rdx, %rdi
	movq	%rcx, %rdx
	movl	%eax, %ecx
	callq	*40(%r12)
	movq	8(%r12), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	jbe	LBB0_20
## %bb.1:
	movq	16(%r12), %rax
	movq	_MODE_8k85@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_20
## %bb.2:
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	*32(%r12)
	movl	(%r13), %edx
	testl	%edx, %edx
	jle	LBB0_19
## %bb.3:
	movq	8(%r12), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm2, %xmm1
	movq	(%r12), %rax
	cmpl	$8, %edx
	jb	LBB0_4
## %bb.5:
	leaq	(%rax,%rdx,4), %rcx
	cmpq	%rbx, %rcx
	jbe	LBB0_8
## %bb.6:
	leaq	(%rbx,%rdx,4), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_8
LBB0_4:
	xorl	%ecx, %ecx
LBB0_15:
	movq	%rcx, %rsi
	notq	%rsi
	testb	$1, %dl
	je	LBB0_17
## %bb.16:
	movss	(%rax,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	addss	(%rbx,%rcx,4), %xmm2
	movss	%xmm2, (%rbx,%rcx,4)
	orq	$1, %rcx
LBB0_17:
	addq	%rdx, %rsi
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rax,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	addss	(%rbx,%rcx,4), %xmm2
	movss	%xmm2, (%rbx,%rcx,4)
	movss	4(%rax,%rcx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	addss	4(%rbx,%rcx,4), %xmm2
	movss	%xmm2, 4(%rbx,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_18
	jmp	LBB0_19
LBB0_8:
	movl	%edx, %ecx
	andl	$-8, %ecx
	movaps	%xmm1, %xmm2
	shufps	$0, %xmm1, %xmm2                ## xmm2 = xmm2[0,0],xmm1[0,0]
	leaq	-8(%rcx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.9:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rsi,4), %xmm3
	movups	16(%rax,%rsi,4), %xmm4
	mulps	%xmm2, %xmm3
	movups	(%rbx,%rsi,4), %xmm5
	addps	%xmm3, %xmm5
	movups	16(%rbx,%rsi,4), %xmm3
	movups	32(%rbx,%rsi,4), %xmm6
	movups	48(%rbx,%rsi,4), %xmm7
	mulps	%xmm2, %xmm4
	addps	%xmm3, %xmm4
	movups	%xmm5, (%rbx,%rsi,4)
	movups	%xmm4, 16(%rbx,%rsi,4)
	movups	32(%rax,%rsi,4), %xmm3
	movups	48(%rax,%rsi,4), %xmm4
	mulps	%xmm2, %xmm3
	addps	%xmm6, %xmm3
	mulps	%xmm2, %xmm4
	addps	%xmm7, %xmm4
	movups	%xmm3, 32(%rbx,%rsi,4)
	movups	%xmm4, 48(%rbx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_10
	jmp	LBB0_12
LBB0_11:
	xorl	%esi, %esi
LBB0_12:
	testb	$1, %r8b
	je	LBB0_14
## %bb.13:
	movups	(%rax,%rsi,4), %xmm3
	movups	16(%rax,%rsi,4), %xmm4
	movups	(%rbx,%rsi,4), %xmm5
	movups	16(%rbx,%rsi,4), %xmm6
	mulps	%xmm2, %xmm3
	addps	%xmm5, %xmm3
	mulps	%xmm2, %xmm4
	addps	%xmm6, %xmm4
	movups	%xmm3, (%rbx,%rsi,4)
	movups	%xmm4, 16(%rbx,%rsi,4)
LBB0_14:
	cmpq	%rdx, %rcx
	jne	LBB0_15
LBB0_19:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ff_scale_vector_to_given_sum_of_squares
LBB0_20:
	movq	24(%r12), %rax
	movl	(%r13), %ecx
	movq	_LP_ORDER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AMRWB_SFR_SIZE,4,2             ## @AMRWB_SFR_SIZE
	.comm	_MODE_8k85,8,3                  ## @MODE_8k85
	.comm	_LP_ORDER,4,2                   ## @LP_ORDER
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x8, x3
	fmov	s1, s0
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x9, [x0, #40]
	ldp	x1, x10, [x0]
	ldr	d0, [x10]
Lloh0:
	adrp	x23, _AMRWB_SFR_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AMRWB_SFR_SIZE@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x2
	mov	x2, x8
	blr	x9
	ldr	x8, [x22, #8]
	ldr	d0, [x8]
	fmov	d1, #0.50000000
	fcmp	d0, d1
	b.le	LBB0_12
; %bb.1:
	ldr	x8, [x22, #16]
Lloh2:
	adrp	x9, _MODE_8k85@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MODE_8k85@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_12
; %bb.2:
	ldr	x8, [x22, #32]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x20
	blr	x8
	ldr	w2, [x23]
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.3:
	ldp	x8, x9, [x22]
	ldr	d1, [x9]
	fmov	d2, #0.25000000
	fmul	d2, d1, d2
	fmul	d1, d1, d2
	fcvt	s1, d1
	cmp	w2, #16
	b.lo	LBB0_8
; %bb.4:
	lsl	x9, x2, #2
	add	x10, x20, x9
	add	x9, x8, x9
	cmp	x9, x20
	ccmp	x8, x10, #2, hi
	b.lo	LBB0_8
; %bb.5:
	and	x9, x2, #0xfffffff0
	dup.4s	v2, v1[0]
	add	x10, x20, #32
	add	x11, x8, #32
	mov	x12, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q3, q4, [x11, #-32]
	ldp	q5, q6, [x11], #64
	ldp	q7, q16, [x10, #-32]
	ldp	q17, q18, [x10]
	fmla.4s	v7, v3, v2
	fmla.4s	v16, v4, v2
	fmla.4s	v17, v5, v2
	fmla.4s	v18, v6, v2
	stp	q7, q16, [x10, #-32]
	stp	q17, q18, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x2
	b.ne	LBB0_9
	b	LBB0_11
LBB0_8:
	mov	x9, #0
LBB0_9:
	lsl	x11, x9, #2
	add	x10, x20, x11
	add	x8, x8, x11
	sub	x9, x2, x9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	s2, [x8], #4
	ldr	s3, [x10]
	fmadd	s2, s1, s2, s3
	str	s2, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	mov	x0, x20
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ff_scale_vector_to_given_sum_of_squares
LBB0_12:
	ldr	x5, [x22, #24]
	ldr	w3, [x23]
Lloh5:
	adrp	x8, _LP_ORDER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LP_ORDER@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AMRWB_SFR_SIZE,4,2             ; @AMRWB_SFR_SIZE
	.comm	_MODE_8k85,8,3                  ; @MODE_8k85
	.comm	_LP_ORDER,4,2                   ; @LP_ORDER
	.no_dead_strip	_synthesis
.subsections_via_symbols
