	.file	"extr_snowenc.c_dequantize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dequantize, @function
dequantize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	mov	edx, DWORD PTR QROOT[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 8[rsi]
	mov	ebx, ecx
	mov	r13d, DWORD PTR [rsi]
	mov	r12d, DWORD PTR 4[rsi]
	sal	edx, 4
	xor	esi, esi
	add	edi, DWORD PTR 4[r14]
	call	av_clip@PLT
	mov	edi, DWORD PTR LOSSLESS_QLOG[rip]
	cmp	DWORD PTR 4[r14], edi
	je	.L1
	test	r12d, r12d
	jle	.L1
	mov	edi, DWORD PTR QROOT[rip]
	mov	r8d, DWORD PTR [r14]
	xor	r10d, r10d
	xor	r9d, r9d
	mov	ecx, DWORD PTR QSHIFT[rip]
	lea	r14d, -1[r13]
	lea	r11, 4[rbp]
	lea	edx, -1[rdi]
	and	edx, eax
	sar	eax, cl
	mov	rcx, QWORD PTR ff_qexp[rip]
	movsx	rdx, edx
	mov	edi, DWORD PTR [rcx+rdx*4]
	mov	ecx, eax
	sal	edi, cl
	mov	ecx, DWORD PTR QBIAS_SHIFT[rip]
	imul	r8d, edi
	sar	r8d, cl
	.p2align 4,,10
	.p2align 3
.L3:
	test	r13d, r13d
	jle	.L8
	movsx	rax, r10d
	lea	rdx, 0[rbp+rax*4]
	add	rax, r14
	lea	rsi, [r11+rax*4]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	je	.L5
	imul	eax, edi
	mov	ecx, DWORD PTR QEXPSHIFT[rip]
	add	eax, r8d
	sar	eax, cl
	mov	DWORD PTR [rdx], eax
.L5:
	add	rdx, 4
	cmp	rdx, rsi
	je	.L8
.L6:
	mov	eax, DWORD PTR [rdx]
	test	eax, eax
	jns	.L4
	imul	eax, edi
	mov	ecx, r8d
	add	rdx, 4
	sub	ecx, eax
	mov	eax, ecx
	mov	ecx, DWORD PTR QEXPSHIFT[rip]
	sar	eax, cl
	neg	eax
	mov	DWORD PTR -4[rdx], eax
	cmp	rdx, rsi
	jne	.L6
.L8:
	add	r9d, 1
	add	r10d, ebx
	cmp	r12d, r9d
	jne	.L3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dequantize, .-dequantize
	.comm	ff_qexp,8,8
	.comm	QSHIFT,4,4
	.comm	QROOT,4,4
	.comm	QEXPSHIFT,4,4
	.comm	QBIAS_SHIFT,4,4
	.comm	LOSSLESS_QLOG,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_snowenc.c_dequantize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequantize, %function
dequantize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	ldr	r10, .L12
	ldr	r1, [r1, #8]
	ldr	r0, [r0, #4]
	mov	r5, r2
	ldr	r2, [r10]
	add	r0, r0, r1
	lsl	r2, r2, #4
	mov	r1, #0
	mov	r4, r3
	ldr	r7, [ip]
	ldr	r6, [ip, #4]
	bl	av_clip
	ldr	r3, .L12+4
	ldr	r2, [r8, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	cmp	r6, #0
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r9, #0
	ldr	lr, [r8]
	mov	r8, r9
	ldr	r3, [r10]
	ldr	r1, .L12+8
	ldr	r2, .L12+12
	ldr	r1, [r1]
	sub	r3, r3, #1
	ldr	r2, [r2]
	and	r3, r3, r0
	ldr	r3, [r1, r3, lsl #2]
	asr	r0, r0, r2
	lsl	r3, r3, r0
	mul	lr, r3, lr
	ldr	r2, .L12+16
	lsl	r10, r4, #2
	ldr	r2, [r2]
	add	ip, r5, r7, lsl #2
	asr	lr, lr, r2
	ldr	r2, .L12+20
.L3:
	cmp	r7, #0
	addgt	r0, r5, r9, lsl #2
	bgt	.L6
	b	.L8
.L4:
	mlane	r1, r3, r1, lr
	ldrne	fp, [r2]
	asrne	r1, r1, fp
	strne	r1, [r0, #-4]
	cmp	r0, ip
	beq	.L8
.L6:
	ldr	r1, [r0], #4
	cmp	r1, #0
	rsb	fp, r1, #0
	bge	.L4
	mla	fp, r3, fp, lr
	ldr	r1, [r2]
	cmp	r0, ip
	asr	fp, fp, r1
	rsb	fp, fp, #0
	str	fp, [r0, #-4]
	bne	.L6
.L8:
	add	r8, r8, #1
	cmp	r6, r8
	add	ip, ip, r10
	add	r9, r9, r4
	bne	.L3
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	QROOT
	.word	LOSSLESS_QLOG
	.word	ff_qexp
	.word	QSHIFT
	.word	QBIAS_SHIFT
	.word	QEXPSHIFT
	.size	dequantize, .-dequantize
	.comm	ff_qexp,4,4
	.comm	QSHIFT,4,4
	.comm	QROOT,4,4
	.comm	QEXPSHIFT,4,4
	.comm	QBIAS_SHIFT,4,4
	.comm	LOSSLESS_QLOG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
