	.file	"extr_af_dynaudnorm.c_amplify_frame.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	amplify_frame, @function
amplify_frame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	ecx, ecx
	jle	.L1
	lea	rax, 16[rsp]
	test	edx, edx
	mov	r15, rdi
	mov	rbp, rsi
	mov	QWORD PTR [rsp], rax
	setne	BYTE PTR 15[rsp]
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, QWORD PTR [rsp]
	lea	r12, 0[0+r13*8]
	mov	rbx, QWORD PTR [rax+r13*8]
	mov	rax, QWORD PTR 32[r15]
	mov	edi, DWORD PTR [rax+r13*4]
	call	cqueue_dequeue@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L9
	xor	r14d, r14d
	cmp	BYTE PTR 15[rsp], 0
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	add	r14d, 1
	add	rbx, 8
	cmp	DWORD PTR 0[rbp], r14d
	jle	.L9
.L8:
	mov	rax, QWORD PTR 8[r15]
	mov	esi, DWORD PTR 24[r15]
	mov	edi, r14d
	movsd	xmm1, QWORD PTR 16[rsp]
	movsd	xmm0, QWORD PTR [rax+r12]
	call	fade@PLT
	mulsd	xmm0, QWORD PTR [rbx]
	movsd	QWORD PTR [rbx], xmm0
	call	fabs@PLT
	mov	rdi, QWORD PTR 16[r15]
	cmp	rax, rdi
	jle	.L7
	movsd	xmm0, QWORD PTR [rbx]
	add	r14d, 1
	add	rbx, 8
	call	copysign@PLT
	movsd	QWORD PTR -8[rbx], xmm0
	cmp	DWORD PTR 0[rbp], r14d
	jg	.L8
.L9:
	mov	rax, QWORD PTR 8[r15]
	movsd	xmm0, QWORD PTR 16[rsp]
	add	r13, 1
	movsd	QWORD PTR [rax+r12], xmm0
	cmp	DWORD PTR [r15], r13d
	jg	.L5
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	amplify_frame, .-amplify_frame
	.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_af_dynaudnorm.c_amplify_frame.c"
	.text
	.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	amplify_frame, %function
amplify_frame:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r0]
	sub	sp, sp, #24
	cmp	r3, #0
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ble	.L1
	subs	r10, r2, #0
	mov	r6, r0
	mov	r7, r1
	movne	r10, #1
	mov	r9, #0
.L4:
	ldr	r2, [r6, #16]
	ldr	r3, [r7, #4]
	ldr	r0, [r2, r9, lsl #2]
	add	r1, sp, #8
	ldr	r4, [r3, r9, lsl #2]
	bl	cqueue_dequeue
	ldr	r3, [r7]
	lsl	r8, r9, #3
	cmp	r3, #0
	movle	r3, #0
	andgt	r3, r10, #1
	cmp	r3, #0
	movne	r5, #0
	bne	.L7
	b	.L8
.L6:
	ldr	r3, [r7]
	add	r5, r5, #1
	cmp	r3, r5
	add	r4, r4, #8
	ble	.L8
.L7:
	add	r3, sp, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [r6, #4]
	ldr	ip, [r6, #12]
	add	r1, r1, r8
	ldmia	r1, {r0-r1}
	stm	sp, {r5, ip}
	bl	fade
	ldmia	r4, {r2-r3}
	bl	__aeabi_dmul
	mov	r3, r1
	mov	r2, r0
	stm	r4, {r2-r3}
	bl	fabs
	ldr	r1, [r6, #8]
	cmp	r0, r1
	ble	.L6
	ldmia	r4, {r2-r3}
	mov	r0, r1
	bl	copysign
	stm	r4, {r0-r1}
	b	.L6
.L8:
	add	r9, r9, #1
	ldm	r6, {r0, r1}
	add	r8, r1, r8
	cmp	r0, r9
	add	r3, sp, #8
	ldmia	r3, {r2-r3}
	stm	r8, {r2-r3}
	bgt	.L4
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	amplify_frame, .-amplify_frame
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
