	.file	"extr_feeder_eq.c_feed_eq_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	feed_eq_init, @function
feed_eq_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, QWORD PTR [rax]
	cmp	rdi, QWORD PTR 8[rax]
	jne	.L2
	mov	eax, DWORD PTR FEEDEQ_BIQUAD_TAB_SIZE[rip]
	xor	ebx, ebx
	test	eax, eax
	jle	.L2
.L3:
	movsx	rbp, ebx
	sal	rbp, 4
.L7:
	call	AFMT_ENCODING@PLT
	add	ebx, 1
	mov	r8, rax
	mov	rax, QWORD PTR feed_eq_biquad_tab[rip]
	add	rax, rbp
	cmp	r8, QWORD PTR [rax]
	je	.L5
	add	rbp, 16
	cmp	ebx, DWORD PTR FEEDEQ_BIQUAD_TAB_SIZE[rip]
	jge	.L2
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, QWORD PTR [rax]
	jmp	.L7
.L8:
	test	r13, r13
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	DWORD PTR FEEDEQ_BIQUAD_TAB_SIZE[rip], ebx
	mov	r13, QWORD PTR 8[rax]
	jle	.L8
	test	r13, r13
	jne	.L9
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, QWORD PTR [rax]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR M_DEVBUF[rip]
	mov	edx, DWORD PTR M_NOWAIT[rip]
	mov	edi, 48
	or	edx, DWORD PTR M_ZERO[rip]
	call	malloc@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	test	rbp, rbp
	je	.L1
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, QWORD PTR [rax]
	call	AFMT_CHANNEL@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	ebx, eax
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, QWORD PTR [rax]
	call	AFMT_BPS@PLT
	mov	edi, 50
	imul	ebx, eax
	mov	eax, DWORD PTR FEEDEQ_RATE_MIN[rip]
	mov	DWORD PTR 40[rbp], eax
	mov	DWORD PTR 4[rbp], ebx
	call	FEEDEQ_L2GAIN@PLT
	mov	edi, 50
	mov	QWORD PTR 32[rbp], rax
	call	FEEDEQ_L2GAIN@PLT
	mov	edi, DWORD PTR FEEDEQ_PREAMP_DEFAULT[rip]
	mov	QWORD PTR 24[rbp], rax
	call	FEEDEQ_PREAMP2IDX@PLT
	mov	QWORD PTR 8[rbp], r13
	mov	rdi, rbp
	mov	DWORD PTR 20[rbp], eax
	mov	eax, DWORD PTR FEEDEQ_UNKNOWN[rip]
	mov	DWORD PTR 16[rbp], eax
	mov	QWORD PTR [r12], rbp
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	feed_eq_setup@PLT
	.cfi_endproc
.LFE0:
	.size	feed_eq_init, .-feed_eq_init
	.comm	feed_eq_biquad_tab,8,8
	.comm	M_ZERO,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_DEVBUF,4,4
	.comm	FEEDEQ_UNKNOWN,4,4
	.comm	FEEDEQ_RATE_MIN,4,4
	.comm	FEEDEQ_PREAMP_DEFAULT,4,4
	.comm	FEEDEQ_BIQUAD_TAB_SIZE,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.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_feeder_eq.c_feed_eq_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	feed_eq_init, %function
feed_eq_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldm	r3, {r0, r3}
	cmp	r0, r3
	bne	.L2
	ldr	r6, .L20
	ldr	r3, [r6]
	cmp	r3, #0
	movgt	r4, #0
	ldrgt	r7, .L20+4
	bgt	.L7
.L2:
	ldr	r3, .L20+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	ldr	r3, [r6]
	cmp	r4, r3
	bge	.L2
.L16:
	ldr	r3, [r5, #4]
	ldr	r0, [r3]
.L7:
	bl	AFMT_ENCODING
	ldr	r3, [r7]
	lsl	r2, r4, #3
	ldr	r2, [r3, r2]
	add	r3, r3, r4, lsl #3
	cmp	r0, r2
	add	r4, r4, #1
	bne	.L18
	ldr	r2, [r6]
	ldr	r8, [r3, #4]
	cmp	r2, r4
	ble	.L8
	cmp	r8, #0
	beq	.L16
.L9:
	ldr	r2, .L20+12
	ldr	r3, .L20+16
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L20+20
	orr	r2, r1, r2
	mov	r0, #32
	ldr	r1, [r3]
	bl	malloc
	subs	r4, r0, #0
	beq	.L19
	ldr	r3, [r5, #4]
	ldr	r0, [r3]
	bl	AFMT_CHANNEL
	ldr	r3, [r5, #4]
	mov	r6, r0
	str	r0, [r4]
	ldr	r0, [r3]
	bl	AFMT_BPS
	ldr	r3, .L20+24
	mul	r6, r0, r6
	ldr	r3, [r3]
	str	r6, [r4, #4]
	str	r3, [r4, #28]
	mov	r0, #50
	bl	FEEDEQ_L2GAIN
	mov	r3, r0
	mov	r0, #50
	str	r3, [r4, #24]
	bl	FEEDEQ_L2GAIN
	ldr	r3, .L20+28
	str	r0, [r4, #20]
	ldr	r0, [r3]
	bl	FEEDEQ_PREAMP2IDX
	ldr	r3, .L20+32
	str	r0, [r4, #16]
	ldr	r3, [r3]
	str	r8, [r4, #8]
	str	r3, [r4, #12]
	mov	r0, r4
	str	r4, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	b	feed_eq_setup
.L19:
	ldr	r3, .L20+36
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	cmp	r8, #0
	beq	.L2
	b	.L9
.L21:
	.align	2
.L20:
	.word	FEEDEQ_BIQUAD_TAB_SIZE
	.word	feed_eq_biquad_tab
	.word	EINVAL
	.word	M_NOWAIT
	.word	M_ZERO
	.word	M_DEVBUF
	.word	FEEDEQ_RATE_MIN
	.word	FEEDEQ_PREAMP_DEFAULT
	.word	FEEDEQ_UNKNOWN
	.word	ENOMEM
	.size	feed_eq_init, .-feed_eq_init
	.comm	feed_eq_biquad_tab,4,4
	.comm	M_ZERO,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_DEVBUF,4,4
	.comm	FEEDEQ_UNKNOWN,4,4
	.comm	FEEDEQ_RATE_MIN,4,4
	.comm	FEEDEQ_PREAMP_DEFAULT,4,4
	.comm	FEEDEQ_BIQUAD_TAB_SIZE,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
