	.file	"extr_vfs_cprotect.c_parse_os_version.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_os_version, @function
parse_os_version:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	eax, BYTE PTR [rdi]
	lea	edx, -48[rax]
	cmp	dl, 9
	ja	.L8
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rcx, rdi
	lea	edx, [rdx+rdx*4]
	add	rdi, 1
	lea	edx, -48[rax+rdx*2]
	movsx	eax, BYTE PTR [rdi]
	lea	esi, -48[rax]
	cmp	sil, 9
	jbe	.L3
	xor	r9d, r9d
	test	edx, edx
	je	.L1
	movsx	r9d, al
	test	r9d, r9d
	je	.L1
	movsx	esi, BYTE PTR 1[rdi]
	lea	eax, -48[rsi]
	cmp	al, 9
	ja	.L8
	add	rcx, 2
	xor	edi, edi
	.p2align 4,,10
	.p2align 3
.L4:
	lea	r8d, [rdi+rdi*4]
	add	rcx, 1
	lea	edi, -48[rsi+r8*2]
	movsx	esi, BYTE PTR [rcx]
	lea	r8d, -48[rsi]
	cmp	r8b, 9
	jbe	.L4
	test	edi, edi
	je	.L8
	sal	r9d, 16
	sal	edx, 24
	or	edx, r9d
	movzx	r9d, di
	or	r9d, edx
.L1:
	mov	eax, r9d
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r9d, r9d
	mov	eax, r9d
	ret
	.cfi_endproc
.LFE0:
	.size	parse_os_version, .-parse_os_version
	.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_vfs_cprotect.c_parse_os_version.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_os_version, %function
parse_os_version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldrb	r2, [r0]	@ zero_extendqisi2
	sub	r3, r2, #48
	cmp	r3, #9
	bhi	.L7
	mov	r1, r0
	mov	r3, #0
.L3:
	add	r3, r3, r3, lsl #2
	add	r3, r2, r3, lsl #1
	mov	ip, r1
	ldrb	r2, [r1, #1]!	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r0, r2, #48
	cmp	r0, #9
	bls	.L3
	cmp	r3, #0
	beq	.L7
	cmp	r2, #0
	mov	r0, r2
	bxeq	lr
	ldrb	r1, [r1, #1]	@ zero_extendqisi2
	sub	r0, r1, #48
	cmp	r0, #9
	bhi	.L7
	mov	r0, #0
	str	lr, [sp, #-4]!
	add	ip, ip, #2
.L4:
	add	r0, r0, r0, lsl #2
	add	r0, r1, r0, lsl #1
	ldrb	r1, [ip, #1]!	@ zero_extendqisi2
	sub	r0, r0, #48
	sub	lr, r1, #48
	cmp	lr, #9
	bls	.L4
	cmp	r0, #0
	lslne	r0, r0, #16
	lslne	r2, r2, #16
	orrne	r3, r2, r3, lsl #24
	lsrne	r0, r0, #16
	orrne	r0, r3, r0
	ldr	pc, [sp], #4
.L7:
	mov	r0, #0
	bx	lr
	.size	parse_os_version, .-parse_os_version
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
