	.file	"extr_data.c_test_initvar.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_winver"
.LC1:
	.string	"_winmajor"
.LC2:
	.string	"_winminor"
.LC3:
	.string	"_osver"
.LC4:
	.string	"_osplatform"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"_winver variables are not available\n"
	.align 8
.LC6:
	.string	"Wrong value for _winminor %02x expected %02x\n"
	.align 8
.LC7:
	.string	"Wrong value for _winmajor %02x expected %02x\n"
	.align 8
.LC8:
	.string	"Wrong value for _winver %02x expected %02x\n"
	.align 8
.LC9:
	.string	"_osver variables are not available\n"
	.align 8
.LC10:
	.string	"Wrong value for _osver %04x expected %04x\n"
	.align 8
.LC11:
	.string	"Wrong value for _osplatform %x expected %x\n"
	.text
	.p2align 4
	.type	test_initvar, @function
test_initvar:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pxor	xmm0, xmm0
	lea	rsi, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR [rsp], 20
	call	GetProcAddress@PLT
	mov	edi, ebp
	lea	rsi, .LC1[rip]
	mov	r13, rax
	call	GetProcAddress@PLT
	mov	edi, ebp
	lea	rsi, .LC2[rip]
	mov	rbx, rax
	call	GetProcAddress@PLT
	mov	edi, ebp
	lea	rsi, .LC3[rip]
	mov	r12, rax
	call	GetProcAddress@PLT
	mov	edi, ebp
	lea	rsi, .LC4[rip]
	mov	r14, rax
	call	GetProcAddress@PLT
	test	rbx, rbx
	sete	dl
	test	r12, r12
	mov	rbp, rax
	sete	al
	or	dl, al
	jne	.L12
	test	r13, r13
	je	.L12
	mov	rdi, rsp
	mov	r15d, DWORD PTR [r12]
	mov	r13d, DWORD PTR 0[r13]
	mov	r12d, DWORD PTR [rbx]
	call	GetVersionExA@PLT
	mov	ecx, DWORD PTR 4[rsp]
	xor	edi, edi
	mov	edx, r15d
	lea	rsi, .LC6[rip]
	cmp	ecx, r15d
	sete	dil
	call	ok@PLT
	mov	ecx, DWORD PTR 8[rsp]
	xor	edi, edi
	mov	edx, r12d
	lea	rsi, .LC7[rip]
	cmp	ecx, r12d
	sete	dil
	call	ok@PLT
	mov	ecx, DWORD PTR 8[rsp]
	xor	edi, edi
	mov	edx, r13d
	lea	rsi, .LC8[rip]
	sal	ecx, 8
	or	ecx, DWORD PTR 4[rsp]
	cmp	ecx, r13d
	sete	dil
	call	ok@PLT
	test	r14, r14
	je	.L13
	test	rbp, rbp
	je	.L13
	mov	ecx, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR [r14]
	mov	edi, 1
	mov	r12d, DWORD PTR 0[rbp]
	movzx	eax, cx
	cmp	eax, edx
	je	.L7
	mov	eax, ecx
	xor	edi, edi
	sar	eax, 24
	cmp	eax, DWORD PTR 8[rsp]
	je	.L16
.L7:
	lea	rsi, .LC10[rip]
	call	ok@PLT
	mov	ecx, DWORD PTR 16[rsp]
	xor	edi, edi
	mov	edx, r12d
	lea	rsi, .LC11[rip]
	cmp	ecx, r12d
	sete	dil
	call	ok@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC5[rip]
	call	win_skip@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 40
	.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
.L16:
	.cfi_restore_state
	mov	eax, ecx
	xor	edi, edi
	sar	eax, 16
	movzx	eax, al
	cmp	eax, DWORD PTR 4[rsp]
	sete	dil
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC9[rip]
	call	win_skip@PLT
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_initvar, .-test_initvar
	.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_data.c_test_initvar.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"_winver\000"
	.align	2
.LC1:
	.ascii	"_winmajor\000"
	.align	2
.LC2:
	.ascii	"_winminor\000"
	.align	2
.LC3:
	.ascii	"_osver\000"
	.align	2
.LC4:
	.ascii	"_osplatform\000"
	.align	2
.LC5:
	.ascii	"_winver variables are not available\012\000"
	.align	2
.LC6:
	.ascii	"Wrong value for _winminor %02x expected %02x\012\000"
	.align	2
.LC7:
	.ascii	"Wrong value for _winmajor %02x expected %02x\012\000"
	.align	2
.LC8:
	.ascii	"Wrong value for _winver %02x expected %02x\012\000"
	.align	2
.LC9:
	.ascii	"_osver variables are not available\012\000"
	.align	2
.LC10:
	.ascii	"Wrong value for _osver %04x expected %04x\012\000"
	.align	2
.LC11:
	.ascii	"Wrong value for _osplatform %x expected %x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_initvar, %function
test_initvar:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	mov	r2, #20
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L14
	sub	sp, sp, #24
	ldr	r1, .L14+4
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r4, r0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	str	r2, [sp]
	bl	GetProcAddress
	ldr	r1, .L14+8
	mov	r7, r0
	mov	r0, r4
	bl	GetProcAddress
	ldr	r1, .L14+12
	mov	r5, r0
	mov	r0, r4
	bl	GetProcAddress
	ldr	r1, .L14+16
	mov	r6, r0
	mov	r0, r4
	bl	GetProcAddress
	mov	r3, r0
	ldr	r1, .L14+20
	mov	r0, r4
	mov	r4, r3
	bl	GetProcAddress
	clz	r3, r6
	cmp	r5, #0
	lsr	r3, r3, #5
	moveq	r3, #1
	cmp	r7, #0
	moveq	r3, #1
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L14+24
	bl	win_skip
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r8, r0
	mov	r0, sp
	ldr	r7, [r7]
	ldr	r6, [r6]
	ldr	r5, [r5]
	bl	GetVersionExA
	ldr	r3, [sp, #4]
	mov	r2, r6
	sub	r0, r3, r6
	clz	r0, r0
	ldr	r1, .L14+28
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [sp, #8]
	mov	r2, r5
	sub	r0, r3, r5
	clz	r0, r0
	ldr	r1, .L14+32
	lsr	r0, r0, #5
	bl	ok
	ldr	r1, [sp, #8]
	ldr	r3, [sp, #4]
	mov	r2, r7
	orr	r3, r3, r1, lsl #8
	sub	r0, r3, r7
	clz	r0, r0
	ldr	r1, .L14+36
	lsr	r0, r0, #5
	bl	ok
	clz	r3, r8
	cmp	r4, #0
	lsr	r3, r3, #5
	movne	r1, r3
	moveq	r1, #1
	cmp	r1, #0
	bne	.L13
	ldr	r3, [sp, #12]
	ldr	r2, [r4]
	lsl	r0, r3, #16
	lsr	r0, r0, #16
	cmp	r0, r2
	moveq	r0, #1
	ldr	r4, [r8]
	beq	.L5
	ldr	r0, [sp, #8]
	cmp	r0, r3, asr #24
	ldreq	r0, [sp, #4]
	asreq	r1, r3, #16
	andeq	r1, r1, #255
	subeq	r0, r1, r0
	clzeq	r0, r0
	movne	r0, r1
	lsreq	r0, r0, #5
.L5:
	ldr	r1, .L14+40
	bl	ok
	ldr	r3, [sp, #16]
	mov	r2, r4
	sub	r0, r3, r4
	clz	r0, r0
	ldr	r1, .L14+44
	lsr	r0, r0, #5
	bl	ok
	b	.L1
.L13:
	ldr	r0, .L14+48
	bl	win_skip
	b	.L1
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC10
	.word	.LC11
	.word	.LC9
	.size	test_initvar, .-test_initvar
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
