	.file	"extr_variables.c_CheckValue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	CheckValue, @function
CheckValue:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	and	eax, DWORD PTR VLC_VAR_TYPE[rip]
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	jne	.L1
	mov	esi, DWORD PTR 24[rdi]
	mov	edi, DWORD PTR 4[rbp]
	call	isless@PLT
	test	eax, eax
	je	.L10
	mov	eax, DWORD PTR 24[rbx]
	mov	DWORD PTR 4[rbp], eax
.L11:
	movss	xmm0, DWORD PTR 8[rbx]
	ucomiss	xmm0, DWORD PTR .LC0[rip]
	jp	.L13
	jne	.L13
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR [rsi]
	mov	edx, DWORD PTR 20[rdi]
	cmp	eax, edx
	jge	.L5
.L21:
	mov	DWORD PTR 0[rbp], edx
.L6:
	mov	ecx, DWORD PTR 4[rbx]
	test	ecx, ecx
	je	.L1
	mov	esi, DWORD PTR 0[rbp]
	mov	eax, esi
	cdq
	idiv	ecx
	test	edx, edx
	je	.L1
	mov	eax, ecx
	shr	eax, 31
	add	eax, ecx
	sar	eax
	test	esi, esi
	jle	.L9
	add	eax, esi
	cdq
	idiv	ecx
	imul	eax, ecx
	mov	DWORD PTR 0[rbp], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 12[rdi]
	cmp	eax, edx
	jle	.L6
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR 4[rbp]
	call	isgreater@PLT
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 4[rbp], eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	pxor	xmm1, xmm1
	movss	DWORD PTR 12[rsp], xmm0
	cvtsi2ss	xmm1, DWORD PTR 4[rbp]
	divss	xmm1, xmm0
	cvttss2si	edi, xmm1
	call	roundf@PLT
	pxor	xmm1, xmm1
	movss	xmm0, DWORD PTR 12[rsp]
	cvtsi2ss	xmm1, eax
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR 4[rbp], eax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	sub	esi, eax
	mov	eax, esi
	cdq
	idiv	ecx
	imul	eax, ecx
	mov	DWORD PTR 0[rbp], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	CheckValue, .-CheckValue
	.comm	VLC_VAR_TYPE,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	0
	.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_variables.c_CheckValue.c"
	.text
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.global	__aeabi_fcmpeq
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2iz
	.global	__aeabi_fmul
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckValue, %function
CheckValue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L24
	ldr	r3, [r0]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	and	r3, r3, r2
	cmp	r3, #128
	mov	r4, r0
	mov	r5, r1
	beq	.L2
	cmp	r3, #129
	popne	{r4, r5, r6, pc}
	ldr	r1, [r0, #24]
	ldr	r0, [r5, #4]
	bl	isless
	cmp	r0, #0
	beq	.L10
	ldr	r3, [r4, #24]
	str	r3, [r5, #4]
.L11:
	ldr	r4, [r4, #8]	@ float
	mov	r1, #0
	mov	r0, r4
	bl	__aeabi_fcmpeq
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r0, [r5, #4]
	bl	__aeabi_i2f
	mov	r1, r4
	bl	__aeabi_fdiv
	bl	__aeabi_f2iz
	bl	roundf
	bl	__aeabi_i2f
	mov	r1, r4
	bl	__aeabi_fmul
	bl	__aeabi_f2iz
	str	r0, [r5, #4]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, [r1]
	ldr	r2, [r0, #20]
	cmp	r3, r2
	bge	.L5
.L22:
	str	r2, [r5]
.L6:
	ldr	r4, [r4, #4]
	cmp	r4, #0
	popeq	{r4, r5, r6, pc}
	ldr	r6, [r5]
	mov	r1, r4
	mov	r0, r6
	bl	__aeabi_idivmod
	cmp	r1, #0
	popeq	{r4, r5, r6, pc}
	add	r0, r4, r4, lsr #31
	cmp	r6, #0
	mov	r1, r4
	addgt	r0, r6, r0, asr #1
	suble	r0, r6, r0, asr #1
	bl	__aeabi_idiv
	mul	r4, r0, r4
	str	r4, [r5]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r2, [r0, #12]
	cmp	r3, r2
	ble	.L6
	b	.L22
.L10:
	ldr	r1, [r4, #16]
	ldr	r0, [r5, #4]
	bl	isgreater
	cmp	r0, #0
	ldrne	r3, [r4, #16]
	strne	r3, [r5, #4]
	b	.L11
.L25:
	.align	2
.L24:
	.word	VLC_VAR_TYPE
	.size	CheckValue, .-CheckValue
	.comm	VLC_VAR_TYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
