	.file	"extr_mpegvideo.c_dct_unquantize_mpeg1_intra_c.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dct_unquantize_mpeg1_intra_c, @function
dct_unquantize_mpeg1_intra_c:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	movsx	r8, edx
	cmp	edx, 4
	mov	r9, QWORD PTR 16[rdi]
	mov	r8d, DWORD PTR [rax+r8*4]
	mov	eax, DWORD PTR 12[rdi]
	cmovl	eax, DWORD PTR 8[rdi]
	imul	eax, DWORD PTR [rsi]
	mov	DWORD PTR [rsi], eax
	test	r8d, r8d
	jle	.L1
	mov	rax, QWORD PTR 24[rdi]
	lea	edi, -1[r8]
	lea	rdx, 4[rax]
	lea	r8, 8[rax+rdi*4]
	.p2align 4,,10
	.p2align 3
.L7:
	movsx	r10, DWORD PTR [rdx]
	lea	rdi, [rsi+r10*4]
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	je	.L4
	mov	r10d, DWORD PTR [r9+r10*4]
	js	.L14
	imul	eax, ecx
	imul	eax, r10d
	sar	eax, 3
	sub	eax, 1
	or	eax, 1
.L6:
	mov	DWORD PTR [rdi], eax
.L4:
	add	rdx, 4
	cmp	r8, rdx
	jne	.L7
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	neg	eax
	imul	eax, ecx
	imul	eax, r10d
	sar	eax, 3
	sub	eax, 1
	or	eax, 1
	neg	eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	dct_unquantize_mpeg1_intra_c, .-dct_unquantize_mpeg1_intra_c
	.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_mpegvideo.c_dct_unquantize_mpeg1_intra_c.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dct_unquantize_mpeg1_intra_c, %function
dct_unquantize_mpeg1_intra_c:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #8]
	cmp	r2, #3
	push	{r4, r5, r6, lr}
	ldr	lr, [r0, #4]
	movgt	lr, ip
	ldr	ip, [r1]
	ldr	r4, [r0]
	mul	ip, lr, ip
	ldr	r4, [r4, r2, lsl #2]
	ldr	r5, [r0, #12]
	cmp	r4, #0
	str	ip, [r1]
	pople	{r4, r5, r6, pc}
	ldr	r0, [r0, #16]
	add	r4, r0, r4, lsl #2
	b	.L7
.L5:
	mul	r2, r3, r2
	mul	r2, r6, r2
	asr	r2, r2, #3
	sub	r2, r2, #1
	orr	r2, r2, #1
.L6:
	str	r2, [r1, ip, lsl #2]
.L4:
	cmp	r4, r0
	popeq	{r4, r5, r6, pc}
.L7:
	ldr	ip, [r0, #4]!
	ldr	r2, [r1, ip, lsl #2]
	cmp	r2, #0
	beq	.L4
	ldr	r6, [r5, ip, lsl #2]
	rsb	lr, r2, #0
	bge	.L5
	mul	r2, r3, lr
	mul	r2, r6, r2
	asr	r2, r2, #3
	sub	r2, r2, #1
	orr	r2, r2, #1
	rsb	r2, r2, #0
	b	.L6
	.size	dct_unquantize_mpeg1_intra_c, .-dct_unquantize_mpeg1_intra_c
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
