	.file	"519892.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	WinWidth, @object
	.size	WinWidth, 4
WinWidth:
	.long	300
	.align 4
	.type	WinHeight, @object
	.size	WinHeight, 4
WinHeight:
	.long	300
	.section	.rodata
	.align 8
.LC3:
	.string	"MakeCurrent to context %d failed!\n"
	.text
	.type	Render, @function
Render:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	QWORD PTR -328[rbp], rdi
	mov	QWORD PTR -336[rbp], rsi
	mov	DWORD PTR -340[rbp], edx
	mov	QWORD PTR -352[rbp], rcx
	mov	QWORD PTR -360[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -304[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -300[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -296[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -292[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -288[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -284[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -280[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -276[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -272[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -268[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -264[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -260[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -256[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -252[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -248[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -244[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -240[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -236[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -232[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -228[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -224[rbp], xmm0
	mov	DWORD PTR -320[rbp], 0
	mov	DWORD PTR -316[rbp], 0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -340[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -308[rbp], xmm0
	mov	DWORD PTR -316[rbp], 0
.L13:
	mov	DWORD PTR -312[rbp], 0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -352[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	glXMakeCurrent@PLT
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -312[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -320[rbp], 1
	cmp	DWORD PTR -320[rbp], 9
	jg	.L16
.L3:
	cmp	DWORD PTR -316[rbp], 0
	jne	.L5
	mov	edi, 2929
	call	glEnable@PLT
	mov	edi, 7425
	call	glShadeModel@PLT
	mov	edi, 5889
	call	glMatrixMode@PLT
	call	glLoadIdentity@PLT
	movsd	xmm4, QWORD PTR .LC4[rip]
	movsd	xmm3, QWORD PTR .LC5[rip]
	movsd	xmm2, QWORD PTR .LC6[rip]
	movsd	xmm1, QWORD PTR .LC7[rip]
	movsd	xmm0, QWORD PTR .LC6[rip]
	mov	rax, QWORD PTR .LC7[rip]
	movapd	xmm5, xmm4
	movapd	xmm4, xmm3
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	glOrtho@PLT
	mov	edi, 5888
	call	glMatrixMode@PLT
	call	glLoadIdentity@PLT
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	sal	ecx, 3
	sub	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	lea	rcx, -304[rbp]
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdi, rax
	call	glColor3fv@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -312[rbp]
	mulss	xmm0, DWORD PTR -308[rbp]
	movd	eax, xmm0
	movss	xmm3, DWORD PTR .LC0[rip]
	pxor	xmm2, xmm2
	pxor	xmm1, xmm1
	movd	xmm0, eax
	call	glRotatef@PLT
.L5:
	cmp	DWORD PTR -312[rbp], 0
	jne	.L6
	mov	edi, 16640
	call	glClear@PLT
.L6:
	mov	edx, DWORD PTR WinHeight[rip]
	mov	eax, DWORD PTR WinWidth[rip]
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 0
	mov	edi, 0
	call	glViewport@PLT
	call	glPushMatrix@PLT
	pxor	xmm6, xmm6
	cvtsi2ss	xmm6, DWORD PTR -316[rbp]
	movd	eax, xmm6
	movss	xmm3, DWORD PTR .LC0[rip]
	pxor	xmm2, xmm2
	pxor	xmm1, xmm1
	movd	xmm0, eax
	call	glRotatef@PLT
	mov	edi, 7
	call	glBegin@PLT
	movss	xmm2, DWORD PTR .LC8[rip]
	movss	xmm1, DWORD PTR .LC9[rip]
	movss	xmm0, DWORD PTR .LC8[rip]
	call	glVertex3f@PLT
	movss	xmm2, DWORD PTR .LC8[rip]
	movss	xmm1, DWORD PTR .LC10[rip]
	movss	xmm0, DWORD PTR .LC11[rip]
	call	glVertex3f@PLT
	movss	xmm2, DWORD PTR .LC12[rip]
	movss	xmm1, DWORD PTR .LC13[rip]
	movss	xmm0, DWORD PTR .LC11[rip]
	call	glVertex3f@PLT
	movss	xmm2, DWORD PTR .LC12[rip]
	movss	xmm1, DWORD PTR .LC14[rip]
	movss	xmm0, DWORD PTR .LC8[rip]
	call	glVertex3f@PLT
	call	glEnd@PLT
	call	glPopMatrix@PLT
	add	DWORD PTR -312[rbp], 1
.L2:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, DWORD PTR -340[rbp]
	jl	.L7
	mov	rdx, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	glXSwapBuffers@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L8
.L12:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	rax, QWORD PTR -176[rbp]
	cmp	QWORD PTR -336[rbp], rax
	jne	.L17
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, 22
	je	.L10
	cmp	eax, 22
	jg	.L8
	cmp	eax, 2
	je	.L18
	cmp	eax, 12
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR WinWidth[rip], eax
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR WinHeight[rip], eax
	jmp	.L8
.L17:
	nop
.L8:
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	XPending@PLT
	test	eax, eax
	jg	.L12
	add	DWORD PTR -316[rbp], 1
	jmp	.L13
.L16:
	nop
	jmp	.L1
.L18:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Render, .-Render
	.section	.rodata
.LC15:
	.string	"Multicontext test"
.LC16:
	.string	"--help"
	.align 8
.LC17:
	.string	"multicontext: render with N GLX contexts"
.LC18:
	.string	"Usage:"
.LC19:
	.string	"  multicontext numContexts"
	.align 8
.LC20:
	.string	"Error:  unable to open default display\n"
	.align 8
.LC21:
	.string	"Error:  unable to find RGB, double-buffered visual\n"
	.align 8
.LC22:
	.string	"Error:  couldn't create window\n"
	.align 8
.LC23:
	.string	"Error: couldn't create GLX context number %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 1160
	.cfi_offset 3, -24
	mov	DWORD PTR -1156[rbp], edi
	mov	QWORD PTR -1168[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1120[rbp], 0
	mov	DWORD PTR -880[rbp], 4
	mov	DWORD PTR -876[rbp], 8
	mov	DWORD PTR -872[rbp], 1
	mov	DWORD PTR -868[rbp], 9
	mov	DWORD PTR -864[rbp], 1
	mov	DWORD PTR -860[rbp], 10
	mov	DWORD PTR -856[rbp], 1
	mov	DWORD PTR -852[rbp], 5
	mov	DWORD PTR -848[rbp], 12
	mov	DWORD PTR -844[rbp], 1
	mov	DWORD PTR -840[rbp], 0
	mov	DWORD PTR -1136[rbp], 10
	mov	DWORD PTR -1132[rbp], 10
	lea	rax, .LC15[rip]
	mov	QWORD PTR -1112[rbp], rax
	cmp	DWORD PTR -1156[rbp], 1
	jle	.L20
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L34
.L20:
	cmp	DWORD PTR -1156[rbp], 1
	jne	.L22
	mov	DWORD PTR -1144[rbp], 3
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1144[rbp], eax
.L23:
	cmp	DWORD PTR -1144[rbp], 0
	jg	.L24
	mov	DWORD PTR -1144[rbp], 1
	jmp	.L25
.L24:
	cmp	DWORD PTR -1144[rbp], 100
	jle	.L25
	mov	DWORD PTR -1144[rbp], 100
.L25:
	mov	rax, QWORD PTR -1120[rbp]
	mov	rdi, rax
	call	XOpenDisplay@PLT
	mov	QWORD PTR -1104[rbp], rax
	cmp	QWORD PTR -1104[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L34
.L26:
	mov	rax, QWORD PTR -1104[rbp]
	mov	eax, DWORD PTR 224[rax]
	mov	DWORD PTR -1128[rbp], eax
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -1128[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -1096[rbp], rax
	lea	rdx, -880[rbp]
	mov	ecx, DWORD PTR -1128[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	glXChooseVisual@PLT
	mov	QWORD PTR -1088[rbp], rax
	cmp	QWORD PTR -1088[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L34
.L27:
	mov	QWORD PTR -984[rbp], 0
	mov	QWORD PTR -968[rbp], 0
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rsi, QWORD PTR -1096[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	XCreateColormap@PLT
	mov	QWORD PTR -896[rbp], rax
	mov	QWORD PTR -920[rbp], 163841
	mov	DWORD PTR -1124[rbp], 10250
	mov	eax, DWORD PTR -1124[rbp]
	movsx	r9, eax
	mov	rax, QWORD PTR -1088[rbp]
	mov	r8, QWORD PTR [rax]
	mov	rax, QWORD PTR -1088[rbp]
	mov	edi, DWORD PTR 20[rax]
	mov	eax, DWORD PTR WinHeight[rip]
	mov	ebx, eax
	mov	eax, DWORD PTR WinWidth[rip]
	mov	r11d, eax
	mov	ecx, DWORD PTR -1132[rbp]
	mov	edx, DWORD PTR -1136[rbp]
	mov	rsi, QWORD PTR -1096[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	lea	r10, -992[rbp]
	push	r10
	push	r9
	push	r8
	push	1
	push	rdi
	push	0
	mov	r9d, ebx
	mov	r8d, r11d
	mov	rdi, rax
	call	XCreateWindow@PLT
	add	rsp, 48
	mov	QWORD PTR -1080[rbp], rax
	cmp	QWORD PTR -1080[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L34
.L28:
	mov	eax, DWORD PTR -1136[rbp]
	mov	DWORD PTR -1064[rbp], eax
	mov	eax, DWORD PTR -1132[rbp]
	mov	DWORD PTR -1060[rbp], eax
	mov	eax, DWORD PTR WinWidth[rip]
	mov	DWORD PTR -1056[rbp], eax
	mov	eax, DWORD PTR WinHeight[rip]
	mov	DWORD PTR -1052[rbp], eax
	mov	QWORD PTR -1072[rbp], 3
	lea	rdx, -1072[rbp]
	mov	rcx, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetNormalHints@PLT
	mov	rcx, QWORD PTR -1112[rbp]
	mov	rdx, QWORD PTR -1112[rbp]
	mov	rsi, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	lea	rdi, -1072[rbp]
	push	rdi
	push	0
	mov	r9d, 0
	mov	r8d, 0
	mov	rdi, rax
	call	XSetStandardProperties@PLT
	add	rsp, 16
	mov	rdx, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	DWORD PTR -1140[rbp], 0
	jmp	.L29
.L31:
	mov	rsi, QWORD PTR -1088[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	ecx, 1
	mov	edx, 0
	mov	rdi, rax
	call	glXCreateContext@PLT
	mov	edx, DWORD PTR -1140[rbp]
	movsx	rdx, edx
	mov	QWORD PTR -832[rbp+rdx*8], rax
	mov	eax, DWORD PTR -1140[rbp]
	cdqe
	mov	rax, QWORD PTR -832[rbp+rax*8]
	test	rax, rax
	jne	.L30
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -1140[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L34
.L30:
	add	DWORD PTR -1140[rbp], 1
.L29:
	mov	eax, DWORD PTR -1140[rbp]
	cmp	eax, DWORD PTR -1144[rbp]
	jl	.L31
	mov	rdi, QWORD PTR -1088[rbp]
	lea	rcx, -832[rbp]
	mov	edx, DWORD PTR -1144[rbp]
	mov	rsi, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	Render
	mov	rdx, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XDestroyWindow@PLT
	mov	DWORD PTR -1140[rbp], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -1140[rbp]
	cdqe
	mov	rdx, QWORD PTR -832[rbp+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	glXDestroyContext@PLT
	add	DWORD PTR -1140[rbp], 1
.L32:
	mov	eax, DWORD PTR -1140[rbp]
	cmp	eax, DWORD PTR -1144[rbp]
	jl	.L33
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdi, rax
	call	XCloseDisplay@PLT
	mov	eax, 0
.L34:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	1065353216
	.align 8
.LC2:
	.long	0
	.long	1081507840
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.align 8
.LC5:
	.long	0
	.long	-1074790400
	.align 8
.LC6:
	.long	0
	.long	1076101120
	.align 8
.LC7:
	.long	0
	.long	-1071382528
	.align 4
.LC8:
	.long	1056964608
	.align 4
.LC9:
	.long	-1087163597
	.align 4
.LC10:
	.long	-1073741824
	.align 4
.LC11:
	.long	1091567616
	.align 4
.LC12:
	.long	-1090519040
	.align 4
.LC13:
	.long	1073741824
	.align 4
.LC14:
	.long	1060320051
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"519892.c"
	.text
	.data
	.align	2
	.type	WinWidth, %object
	.size	WinWidth, 4
WinWidth:
	.word	300
	.align	2
	.type	WinHeight, %object
	.size	WinHeight, 4
WinHeight:
	.word	300
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.section	.rodata
	.align	2
.LC2:
	.ascii	"MakeCurrent to context %d failed!\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.align	2
.LC0:
	.word	1065353216
	.word	1065353216
	.word	1065353216
	.word	1065353216
	.word	0
	.word	0
	.word	0
	.word	1065353216
	.word	0
	.word	0
	.word	0
	.word	1065353216
	.word	0
	.word	1065353216
	.word	1065353216
	.word	1065353216
	.word	0
	.word	1065353216
	.word	1065353216
	.word	1065353216
	.word	0
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Render, %function
Render:
	@ args = 4, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #256
	str	r0, [fp, #-208]
	str	r1, [fp, #-212]
	str	r2, [fp, #-216]
	str	r3, [fp, #-220]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-224]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L19+4
	sub	r3, fp, #188
	mov	r1, r2
	mov	r2, #84
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-204]
	mov	r3, #0
	str	r3, [fp, #-200]
	ldr	r0, [fp, #-216]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L19+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-192]	@ float
	mov	r3, #0
	str	r3, [fp, #-200]
.L13:
	mov	r3, #0
	str	r3, [fp, #-196]
	b	.L2
.L7:
	ldr	r3, [fp, #-196]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-208]
	bl	glXMakeCurrent
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L19+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-196]
	ldr	r1, .L19+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-204]
	cmp	r3, #9
	bgt	.L16
.L3:
	ldr	r3, [fp, #-200]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L19+20
	bl	glEnable
	ldr	r0, .L19+24
	bl	glShadeModel
	ldr	r0, .L19+28
	bl	glMatrixMode
	bl	glLoadIdentity
	mov	r2, #0
	ldr	r3, .L19+32
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	mov	r2, #0
	ldr	r3, .L19+36
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	mov	r2, #0
	ldr	r3, .L19+40
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	mov	r2, #0
	ldr	r3, .L19+44
	stm	sp, {r2-r3}
	mov	r2, #0
	ldr	r3, .L19+40
	mov	r0, #0
	ldr	r1, .L19+44
	bl	glOrtho
	mov	r0, #5888
	bl	glMatrixMode
	bl	glLoadIdentity
	ldr	r2, [fp, #-196]
	ldr	r3, .L19+48
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r1, r2, r3
	sub	r2, fp, #188
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r0, r3
	bl	glColor3fv
	ldr	r0, [fp, #-196]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-192]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	mov	r3, #1065353216
	mov	r2, #0
	mov	r1, #0
	bl	glRotatef
.L5:
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	bne	.L6
	mov	r0, #16640
	bl	glClear
.L6:
	ldr	r3, .L19+52
	ldr	r2, [r3]
	ldr	r3, .L19+56
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #0
	bl	glViewport
	bl	glPushMatrix
	ldr	r0, [fp, #-200]
	bl	__aeabi_i2f
	mov	r3, #1065353216
	mov	r2, #0
	mov	r1, #0
	bl	glRotatef
	mov	r0, #7
	bl	glBegin
	mov	r2, #1056964608
	ldr	r1, .L19+60
	mov	r0, #1056964608
	bl	glVertex3f
	mov	r2, #1056964608
	mov	r1, #-1073741824
	ldr	r0, .L19+64
	bl	glVertex3f
	mov	r2, #-1090519040
	mov	r1, #1073741824
	ldr	r0, .L19+64
	bl	glVertex3f
	mov	r2, #-1090519040
	ldr	r1, .L19+68
	mov	r0, #1056964608
	bl	glVertex3f
	bl	glEnd
	bl	glPopMatrix
	ldr	r3, [fp, #-196]
	add	r3, r3, #1
	str	r3, [fp, #-196]
.L2:
	ldr	r2, [fp, #-196]
	ldr	r3, [fp, #-216]
	cmp	r2, r3
	blt	.L7
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-208]
	bl	glXSwapBuffers
	mov	r0, #1
	bl	sleep
	b	.L8
.L12:
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, [fp, #-208]
	bl	XNextEvent
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-212]
	cmp	r2, r3
	bne	.L17
	ldr	r3, [fp, #-104]
	cmp	r3, #22
	beq	.L10
	cmp	r3, #22
	bgt	.L8
	cmp	r3, #2
	beq	.L18
	cmp	r3, #12
	b	.L8
.L10:
	ldr	r3, [fp, #-72]
	ldr	r2, .L19+52
	str	r3, [r2]
	ldr	r3, [fp, #-68]
	ldr	r2, .L19+56
	str	r3, [r2]
	b	.L8
.L17:
	nop
.L8:
	ldr	r0, [fp, #-208]
	bl	XPending
	mov	r3, r0
	cmp	r3, #0
	bgt	.L12
	ldr	r3, [fp, #-200]
	add	r3, r3, #1
	str	r3, [fp, #-200]
	b	.L13
.L16:
	nop
	b	.L1
.L18:
	nop
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	.LC0
	.word	1081507840
	.word	stderr
	.word	.LC2
	.word	2929
	.word	7425
	.word	5889
	.word	1072693248
	.word	-1074790400
	.word	1076101120
	.word	-1071382528
	.word	-1840700269
	.word	WinWidth
	.word	WinHeight
	.word	-1087163597
	.word	1091567616
	.word	1060320051
	.size	Render, .-Render
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Multicontext test\000"
	.align	2
.LC5:
	.ascii	"--help\000"
	.align	2
.LC6:
	.ascii	"multicontext: render with N GLX contexts\000"
	.align	2
.LC7:
	.ascii	"Usage:\000"
	.align	2
.LC8:
	.ascii	"  multicontext numContexts\000"
	.align	2
.LC9:
	.ascii	"Error:  unable to open default display\012\000"
	.align	2
.LC10:
	.ascii	"Error:  unable to find RGB, double-buffered visual\012"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"Error:  couldn't create window\012\000"
	.align	2
.LC12:
	.ascii	"Error: couldn't create GLX context number %d\012\000"
	.align	2
.LC1:
	.word	4
	.word	8
	.word	1
	.word	9
	.word	1
	.word	10
	.word	1
	.word	5
	.word	12
	.word	1
	.word	0
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 640
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #672
	str	r0, [fp, #-640]
	str	r1, [fp, #-644]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-624]
	ldr	r3, .L38+4
	sub	ip, fp, #452
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	r3, #10
	str	r3, [fp, #-620]
	mov	r3, #10
	str	r3, [fp, #-616]
	ldr	r3, .L38+8
	str	r3, [fp, #-612]
	ldr	r3, [fp, #-640]
	cmp	r3, #1
	ble	.L22
	ldr	r3, [fp, #-644]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L38+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L38+16
	bl	puts
	ldr	r0, .L38+20
	bl	puts
	ldr	r0, .L38+24
	bl	puts
	mov	r3, #0
	b	.L36
.L22:
	ldr	r3, [fp, #-640]
	cmp	r3, #1
	bne	.L24
	mov	r3, #3
	str	r3, [fp, #-632]
	b	.L25
.L24:
	ldr	r3, [fp, #-644]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-632]
.L25:
	ldr	r3, [fp, #-632]
	cmp	r3, #0
	bgt	.L26
	mov	r3, #1
	str	r3, [fp, #-632]
	b	.L27
.L26:
	ldr	r3, [fp, #-632]
	cmp	r3, #100
	ble	.L27
	mov	r3, #100
	str	r3, [fp, #-632]
.L27:
	ldr	r0, [fp, #-624]
	bl	XOpenDisplay
	str	r0, [fp, #-608]
	ldr	r3, [fp, #-608]
	cmp	r3, #0
	bne	.L28
	ldr	r3, .L38+28
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L38+32
	bl	fwrite
	mvn	r3, #0
	b	.L36
.L28:
	ldr	r3, [fp, #-608]
	ldr	r3, [r3, #132]
	str	r3, [fp, #-604]
	ldr	r3, [fp, #-608]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-604]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-600]
	sub	r3, fp, #452
	mov	r2, r3
	ldr	r1, [fp, #-604]
	ldr	r0, [fp, #-608]
	bl	glXChooseVisual
	str	r0, [fp, #-596]
	ldr	r3, [fp, #-596]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L38+28
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L38+36
	bl	fwrite
	mvn	r3, #0
	b	.L36
.L29:
	mov	r3, #0
	str	r3, [fp, #-580]
	mov	r3, #0
	str	r3, [fp, #-572]
	ldr	r3, [fp, #-596]
	ldr	r2, [r3]
	mov	r3, #0
	ldr	r1, [fp, #-600]
	ldr	r0, [fp, #-608]
	bl	XCreateColormap
	mov	r3, r0
	str	r3, [fp, #-532]
	ldr	r3, .L38+40
	str	r3, [fp, #-544]
	ldr	r3, .L38+44
	str	r3, [fp, #-592]
	ldr	r3, .L38+48
	ldr	r3, [r3]
	mov	ip, r3
	ldr	r3, .L38+52
	ldr	r3, [r3]
	mov	lr, r3
	ldr	r3, [fp, #-596]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-596]
	ldr	r2, [r2]
	ldr	r1, [fp, #-592]
	sub	r0, fp, #584
	str	r0, [sp, #28]
	str	r1, [sp, #24]
	str	r2, [sp, #20]
	mov	r2, #1
	str	r2, [sp, #16]
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	lr, [sp, #4]
	str	ip, [sp]
	ldr	r3, [fp, #-616]
	ldr	r2, [fp, #-620]
	ldr	r1, [fp, #-600]
	ldr	r0, [fp, #-608]
	bl	XCreateWindow
	str	r0, [fp, #-588]
	ldr	r3, [fp, #-588]
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L38+28
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L38+56
	bl	fwrite
	mvn	r3, #0
	b	.L36
.L30:
	ldr	r3, [fp, #-620]
	str	r3, [fp, #-520]
	ldr	r3, [fp, #-616]
	str	r3, [fp, #-516]
	ldr	r3, .L38+48
	ldr	r3, [r3]
	str	r3, [fp, #-512]
	ldr	r3, .L38+52
	ldr	r3, [r3]
	str	r3, [fp, #-508]
	mov	r3, #3
	str	r3, [fp, #-524]
	sub	r3, fp, #524
	mov	r2, r3
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-608]
	bl	XSetNormalHints
	sub	r3, fp, #524
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-612]
	ldr	r2, [fp, #-612]
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-608]
	bl	XSetStandardProperties
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-608]
	bl	XMapWindow
	mov	r3, #0
	str	r3, [fp, #-628]
	b	.L31
.L33:
	mov	r3, #1
	mov	r2, #0
	ldr	r1, [fp, #-596]
	ldr	r0, [fp, #-608]
	bl	glXCreateContext
	mov	r2, r0
	ldr	r3, [fp, #-628]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-628]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L38+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-628]
	ldr	r1, .L38+60
	mov	r0, r3
	bl	fprintf
	mvn	r3, #0
	b	.L36
.L32:
	ldr	r3, [fp, #-628]
	add	r3, r3, #1
	str	r3, [fp, #-628]
.L31:
	ldr	r2, [fp, #-628]
	ldr	r3, [fp, #-632]
	cmp	r2, r3
	blt	.L33
	sub	r2, fp, #408
	ldr	r3, [fp, #-596]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-632]
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-608]
	bl	Render
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-608]
	bl	XDestroyWindow
	mov	r3, #0
	str	r3, [fp, #-628]
	b	.L34
.L35:
	ldr	r3, [fp, #-628]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, [fp, #-608]
	bl	glXDestroyContext
	ldr	r3, [fp, #-628]
	add	r3, r3, #1
	str	r3, [fp, #-628]
.L34:
	ldr	r2, [fp, #-628]
	ldr	r3, [fp, #-632]
	cmp	r2, r3
	blt	.L35
	ldr	r0, [fp, #-608]
	bl	XCloseDisplay
	mov	r3, #0
.L36:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC13
	.word	.LC1
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	stderr
	.word	.LC9
	.word	.LC10
	.word	163841
	.word	10250
	.word	WinWidth
	.word	WinHeight
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
