	.file	"extr_scpr.c_decode_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode_value, @function
decode_value:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r11, [rsi+rdx*8]
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r14, 16[rdi]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	rdi, r14
	mov	r13, rsi
	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, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 40[rsp], r8
	mov	r8, QWORD PTR [r11]
	mov	QWORD PTR 32[rsp], rcx
	mov	rsi, r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 8[rsp], rdx
	lea	rdx, 48[rsp]
	mov	QWORD PTR 24[rsp], r11
	mov	QWORD PTR 16[rsp], r8
	call	[QWORD PTR [r15]]
	test	eax, eax
	js	.L1
	mov	r9, QWORD PTR 8[rsp]
	test	r9, r9
	je	.L3
	mov	rcx, QWORD PTR 48[rsp]
	mov	r11, QWORD PTR 24[rsp]
	mov	rbx, r13
	xor	eax, eax
	mov	r8, QWORD PTR 16[rsp]
	xor	ebp, ebp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	add	rbp, 1
	add	rbx, 8
	cmp	r9, rbp
	je	.L3
.L5:
	mov	r12, QWORD PTR [rbx]
	mov	rdx, rax
	add	rax, r12
	cmp	rax, rcx
	jbe	.L18
	lea	r9, 20[r15]
	mov	QWORD PTR 16[rsp], r11
	mov	rcx, r12
	mov	rsi, r14
	mov	QWORD PTR 8[rsp], r8
	mov	rdi, r9
	call	[QWORD PTR 8[r15]]
	mov	r8, QWORD PTR 8[rsp]
	mov	r11, QWORD PTR 16[rsp]
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 32[rsp]
	add	r12, rax
	add	r8, rax
	mov	QWORD PTR [rbx], r12
	cmp	QWORD PTR BOT[rip], r8
	jnb	.L6
	xor	r8d, r8d
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR 0[r13]
	add	r13, 8
	shr	rax
	add	rax, 1
	mov	QWORD PTR -8[r13], rax
	add	r8, rax
	cmp	r11, r13
	jne	.L7
.L6:
	mov	rax, QWORD PTR 40[rsp]
	mov	QWORD PTR [r11], r8
	mov	QWORD PTR [rax], rbp
	xor	eax, eax
.L1:
	mov	rsi, QWORD PTR 56[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L19
	add	rsp, 72
	.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
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR AVERROR_INVALIDDATA[rip]
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decode_value, .-decode_value
	.comm	BOT,8,8
	.comm	AVERROR_INVALIDDATA,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_scpr.c_decode_value.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_value, %function
decode_value:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r0
	mov	fp, r3
	ldr	r3, .L20
	sub	sp, sp, #36
	ldr	r6, [r1, r2, lsl #2]
	ldr	r4, [r10], #8
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r3, [sp, #72]
	mov	r5, r2
	mov	r9, r0
	mov	r8, r1
	mov	r0, r10
	mov	r1, r6
	add	r2, sp, #24
	str	r3, [sp, #12]
	blx	r4
	lsl	r3, r5, #2
	cmp	r0, #0
	str	r3, [sp, #16]
	blt	.L1
	cmp	r5, #0
	beq	.L3
	mov	r1, #0
	mov	r0, r8
	mov	r4, r1
	ldr	ip, [sp, #24]
	b	.L5
.L18:
	add	r4, r4, #1
	cmp	r5, r4
	beq	.L3
.L5:
	mov	r7, r0
	ldr	r3, [r0], #4
	mov	r2, r1
	add	r1, r1, r3
	cmp	r1, ip
	bls	.L18
	str	r6, [sp]
	mov	r1, r10
	add	r0, r9, #12
	ldr	r10, [r9, #4]
	str	r3, [sp, #20]
	blx	r10
	cmp	r0, #0
	ldr	r3, [sp, #20]
	blt	.L1
	add	r3, r3, fp
	ldr	r2, .L20+4
	str	r3, [r7]
	ldr	r3, [r2]
	add	r6, r6, fp
	cmp	r3, r6
	bcs	.L6
	mov	r6, #0
	ldr	r3, [sp, #16]
	sub	r2, r8, #4
	add	r1, r2, r3
.L7:
	ldr	r3, [r2, #4]!
	lsr	r3, r3, #1
	add	r3, r3, #1
	cmp	r2, r1
	str	r3, [r2]
	add	r6, r6, r3
	bne	.L7
.L6:
	mov	r0, #0
	ldr	r3, [sp, #12]
	str	r6, [r8, r5, lsl #2]
	str	r4, [r3]
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	ldr	r3, .L20+8
	ldr	r0, [r3]
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	BOT
	.word	AVERROR_INVALIDDATA
	.size	decode_value, .-decode_value
	.comm	BOT,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
