	.file	"extr_mlpenc.c_lossless_matrix_coeffs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lossless_matrix_coeffs, @function
lossless_matrix_coeffs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	DWORD PTR [rdi], 4
	mov	r12, QWORD PTR 8[rdi]
	je	.L2
	mov	DWORD PTR [r12], 0
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbx, rdi
	call	estimate_stereo_mode@PLT
	cmp	eax, 130
	je	.L4
	jg	.L5
	cmp	eax, 128
	je	.L6
	cmp	eax, 129
	jne	.L8
.L7:
	mov	DWORD PTR [r12], 0
.L9:
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L1
	mov	rcx, QWORD PTR 32[r12]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, eax
	add	eax, 1
	mov	DWORD PTR [rcx+rdx*4], 0
	cmp	DWORD PTR [rbx], eax
	ja	.L13
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	eax, 131
	je	.L7
.L8:
	mov	edx, DWORD PTR [r12]
	test	edx, edx
	jle	.L9
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, ebp
	mov	rdi, rbx
	add	ebp, 1
	call	code_matrix_coeffs@PLT
	cmp	DWORD PTR [r12], ebp
	jg	.L10
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[r12]
	mov	DWORD PTR [r12], 1
	movabs	rsi, 70368744194048
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR 16[r12]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax], rsi
	movabs	rsi, -70368744161280
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR 24[r12]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax], rsi
	mov	DWORD PTR 8[rax], 0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[r12]
	mov	DWORD PTR [r12], 1
	movabs	rdx, -70368744161280
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR 16[r12]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR 24[r12]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR 8[rax], 0
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	lossless_matrix_coeffs, .-lossless_matrix_coeffs
	.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_mlpenc.c_lossless_matrix_coeffs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lossless_matrix_coeffs, %function
lossless_matrix_coeffs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldm	r0, {r3, r6}
	cmp	r3, #4
	beq	.L2
	mov	r3, #0
	str	r3, [r6]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r5, r0
	bl	estimate_stereo_mode
	sub	r0, r0, #128
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L4
.L6:
	.word	.L8
	.word	.L5
	.word	.L7
	.word	.L5
.L7:
	mov	r0, #1
	mov	ip, #16384
	mov	r1, #0
	ldr	r2, [r6, #8]
	ldr	r3, [r6, #12]
	ldr	lr, [r6, #4]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r6]
	str	r0, [lr]
	ldr	r0, .L22
	str	ip, [r2]
	stmib	r2, {r0, r1}
	stmib	r3, {r0, r1}
	str	ip, [r3]
.L4:
	ldr	r3, [r6]
	cmp	r3, #0
	movgt	r4, #0
	ble	.L9
.L10:
	mov	r1, r4
	mov	r0, r5
	bl	code_matrix_coeffs
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L10
.L9:
	ldr	r3, [r5]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r3, #0
	mov	r0, r3
	ldr	r2, [r6, #16]
	sub	r2, r2, #4
.L13:
	str	r0, [r2, #4]!
	ldr	r1, [r5]
	add	r3, r3, #1
	cmp	r1, r3
	bhi	.L13
	pop	{r4, r5, r6, pc}
.L5:
	mov	r3, #0
	str	r3, [r6]
	b	.L9
.L8:
	mov	ip, #1
	mov	r1, #0
	mov	r2, #16384
	ldr	r0, [r6, #8]
	ldr	r3, [r6, #12]
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	lr, [r6, #4]
	str	ip, [r6]
	ldr	ip, .L22
	str	r1, [lr]
	str	r1, [r0, #8]
	str	r2, [r0]
	str	r2, [r0, #4]
	stm	r3, {r2, ip}
	str	r1, [r3, #8]
	b	.L4
.L23:
	.align	2
.L22:
	.word	-16384
	.size	lossless_matrix_coeffs, .-lossless_matrix_coeffs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
