	.file	"extr_35993.c_GetWindowsVersion.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	GetWindowsVersion
	.type	GetWindowsVersion, @function
GetWindowsVersion:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	GetVersion@PLT
	mov	edi, eax
	mov	ebp, eax
	call	LOWORD@PLT
	mov	edi, eax
	call	HIBYTE@PLT
	mov	edi, ebp
	mov	rbx, rax
	call	LOWORD@PLT
	mov	edi, eax
	call	LOBYTE@PLT
	cmp	ebx, 1
	sete	dl
	cmp	eax, 5
	sete	cl
	test	dl, dl
	je	.L8
	mov	r8d, 1
	test	cl, cl
	je	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	eax, 6
	jne	.L9
	test	dl, dl
	je	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	r8d, 2
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	cmp	ebx, 2
	jne	.L7
	test	cl, cl
	je	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	r8d, 3
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	xor	r8d, r8d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	GetWindowsVersion, .-GetWindowsVersion
	.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_35993.c_GetWindowsVersion.c"
	.text
	.align	2
	.global	GetWindowsVersion
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetWindowsVersion, %function
GetWindowsVersion:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	GetVersion
	mov	r5, r0
	bl	LOWORD
	bl	HIBYTE
	mov	r4, r0
	mov	r0, r5
	bl	LOWORD
	bl	LOBYTE
	sub	r3, r4, #1
	sub	r2, r0, #5
	clz	r3, r3
	clz	r2, r2
	lsr	r3, r3, #5
	lsr	r2, r2, #5
	tst	r3, r2
	bne	.L3
	cmp	r0, #6
	movne	r0, #0
	andeq	r0, r3, #1
	cmp	r0, #0
	beq	.L8
	mov	r0, #2
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L8:
	cmp	r4, #2
	movne	r4, #0
	andeq	r4, r2, #1
	cmp	r4, #0
	moveq	r0, #0
	movne	r0, #3
	pop	{r4, r5, r6, pc}
	.size	GetWindowsVersion, .-GetWindowsVersion
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
