	.file	"extr_wmavoice.c_synth_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	synth_block, @function
synth_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14d, edx
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 72
	mov	rax, QWORD PTR 32[rbp]
	mov	r13, QWORD PTR 16[rbp]
	mov	QWORD PTR -80[rbp], rdi
	mov	DWORD PTR -84[rbp], ecx
	movsx	rcx, DWORD PTR MAX_LSPS[rip]
	mov	rdi, rsp
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR 40[rbp]
	mov	r15, QWORD PTR 24[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rax, 15[0+rcx*8]
	mov	rdx, rax
	and	rax, -4096
	sub	rdi, rax
	and	rdx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	lea	rax, 15[0+rcx*4]
	mov	rdi, rsp
	mov	r12, rsp
	mov	rdx, rax
	and	rax, -4096
	sub	rdi, rax
	and	rdx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L6
.L26:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L26
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L27
.L7:
	mov	QWORD PTR -112[rbp], rsp
	mov	rax, QWORD PTR ACB_TYPE_NONE[rip]
	cmp	QWORD PTR [r15], rax
	je	.L28
	sub	rsp, 8
	push	QWORD PTR -96[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, r14d
	mov	rdi, QWORD PTR -80[rbp]
	mov	r9, r15
	call	synth_block_fcb_acb@PLT
	pop	rax
	pop	rdx
.L9:
	pxor	xmm1, xmm1
	pxor	xmm0, xmm0
	mov	rax, QWORD PTR -80[rbp]
	cvtsi2sd	xmm1, DWORD PTR 8[r15]
	cvtsi2sd	xmm0, r14d
	addsd	xmm0, QWORD PTR .LC0[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -88[rbp], eax
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	test	eax, eax
	jle	.L12
	mov	eax, DWORD PTR -88[rbp]
	pxor	xmm3, xmm3
	xor	r15d, r15d
	cvtss2sd	xmm3, xmm0
	movsd	QWORD PTR -72[rbp], xmm3
	lea	r14d, -1[rax]
	.p2align 4,,10
	.p2align 3
.L11:
	movsd	xmm1, QWORD PTR 0[r13+r15*8]
	movsd	xmm0, QWORD PTR [rbx+r15*8]
	subsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	call	cos@PLT
	mov	rax, r15
	movsd	QWORD PTR [r12+r15*8], xmm0
	add	r15, 1
	cmp	rax, r14
	jne	.L11
.L12:
	mov	rbx, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -88[rbp]
	mov	rdi, r12
	sar	edx
	mov	rsi, rbx
	call	ff_acelp_lspd2lpc@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	rsi, rbx
	mov	rdx, QWORD PTR -96[rbp]
	mov	rdi, QWORD PTR -104[rbp]
	mov	r8d, DWORD PTR [rax]
	call	ff_celp_lp_synthesis_filterf@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L28:
	mov	r9, QWORD PTR -96[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	r8, r15
	mov	edx, r14d
	mov	rdi, QWORD PTR -80[rbp]
	call	synth_block_hardcoded@PLT
	jmp	.L9
.L27:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	synth_block, .-synth_block
	.comm	MAX_LSPS,4,4
	.comm	ACB_TYPE_NONE,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1071644672
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_wmavoice.c_synth_block.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	synth_block, %function
synth_block:
	@ args = 24, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	mov	r6, sp
	ldr	ip, .L14
	ldr	r7, [fp, #16]
	ldr	r5, [ip]
	ldr	lr, .L14+4
	lsl	ip, r5, #2
	sub	r5, r6, r5, lsl #3
	mov	sp, r5
	add	ip, ip, #7
	bic	ip, ip, #7
	add	r5, sp, #16
	sub	sp, sp, ip
	ldr	ip, .L14+8
	str	r5, [fp, #-60]
	ldr	ip, [ip]
	str	ip, [fp, #-40]
	mov	ip,#0
	add	ip, sp, #16
	str	ip, [fp, #-68]
	ldr	ip, [fp, #20]
	ldr	r4, [r7]
	ldr	lr, [lr]
	str	ip, [fp, #-56]
	ldr	ip, [fp, #24]
	cmp	r4, lr
	str	ip, [fp, #-76]
	mov	r6, r2
	ldr	r5, [fp, #8]
	ldr	r4, [fp, #12]
	ldr	ip, [fp, #-56]
	str	r0, [fp, #-52]
	str	r3, [fp, #-72]
	beq	.L12
	stmib	sp, {r7, ip}
	ldr	ip, [fp, #4]
	str	ip, [sp]
	bl	synth_block_fcb_acb
.L3:
	mov	r0, r6
	bl	__aeabi_i2d
	ldr	r3, .L14+12
	mov	r2, #0
	bl	__aeabi_dadd
	mov	r2, r0
	ldr	r0, [r7, #4]
	mov	r6, r2
	mov	r7, r1
	bl	__aeabi_i2d
	mov	r3, r1
	mov	r2, r0
	mov	r1, r7
	mov	r0, r6
	bl	__aeabi_ddiv
	bl	__aeabi_d2f
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	str	r3, [fp, #-64]
	ble	.L6
	bl	__aeabi_f2d
	mov	r9, r0
	mov	r10, r1
	ldr	r3, [fp, #-64]
	ldr	r8, [fp, #-60]
	add	r3, r4, r3, lsl #3
	str	r3, [fp, #-48]
.L5:
	ldmia	r4!, {r6-r7}
	ldmia	r5!, {r0-r1}
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dsub
	mov	r2, r9
	mov	r3, r10
	bl	__aeabi_dmul
	mov	r3, r7
	mov	r2, r6
	bl	__aeabi_dadd
	bl	cos
	ldr	r3, [fp, #-48]
	stm	r8!, {r0-r1}
	cmp	r3, r4
	bne	.L5
.L6:
	ldr	r3, [fp, #-64]
	ldr	r4, [fp, #-68]
	asr	r2, r3, #1
	mov	r1, r4
	ldr	r0, [fp, #-60]
	bl	ff_acelp_lspd2lpc
	ldr	r3, [fp, #-52]
	mov	r1, r4
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	str	r2, [sp]
	ldr	r2, [fp, #-56]
	ldr	r0, [fp, #-76]
	bl	ff_celp_lp_synthesis_filterf
	ldr	r3, .L14+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	stm	sp, {r7, ip}
	bl	synth_block_hardcoded
	b	.L3
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	MAX_LSPS
	.word	ACB_TYPE_NONE
	.word	.LC0
	.word	1071644672
	.size	synth_block, .-synth_block
	.comm	MAX_LSPS,4,4
	.comm	ACB_TYPE_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
