	.file	"100296.c"
	.intel_syntax noprefix
	.text
	.globl	total_time
	.bss
	.align 8
	.type	total_time, @object
	.size	total_time, 8
total_time:
	.zero	8
	.text
	.globl	create_world
	.type	create_world, @function
create_world:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 768
	jmp	.L2
.L4:
	call	drand48@PLT
	movsd	xmm1, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	call	drand48@PLT
	movsd	xmm1, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	subsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm3, QWORD PTR .LC3[rip]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm3, QWORD PTR .LC3[rip]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	comisd	xmm0, QWORD PTR -8[rbp]
	jnb	.L6
	jmp	.L2
.L6:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR 48[rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR 56[rax], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	divsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR 16[rax], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	divsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR 24[rax], xmm0
	call	drand48@PLT
	movsd	xmm1, QWORD PTR .LC5[rip]
	movapd	xmm2, xmm0
	addsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR .LC6[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR 32[rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 32[rax]
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sqrt@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR 40[rax], xmm0
	add	DWORD PTR -40[rbp], 1
.L2:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L4
	mov	rax, QWORD PTR -32[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_world, .-create_world
	.globl	set_color
	.type	set_color, @function
set_color:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	DWORD PTR -44[rbp], r8d
	cmp	DWORD PTR -36[rbp], 0
	jns	.L8
	mov	DWORD PTR -36[rbp], 0
	jmp	.L9
.L8:
	cmp	DWORD PTR -36[rbp], 255
	jle	.L9
	mov	DWORD PTR -36[rbp], 255
.L9:
	cmp	DWORD PTR -40[rbp], 0
	jns	.L10
	mov	DWORD PTR -40[rbp], 0
	jmp	.L11
.L10:
	cmp	DWORD PTR -40[rbp], 255
	jle	.L11
	mov	DWORD PTR -40[rbp], 255
.L11:
	cmp	DWORD PTR -44[rbp], 0
	jns	.L12
	mov	DWORD PTR -44[rbp], 0
	jmp	.L13
.L12:
	cmp	DWORD PTR -44[rbp], 255
	jle	.L13
	mov	DWORD PTR -44[rbp], 255
.L13:
	mov	eax, DWORD PTR -36[rbp]
	sal	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 8
	or	eax, edx
	or	eax, DWORD PTR -44[rbp]
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetForeground@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	set_color, .-set_color
	.globl	draw_world
	.type	draw_world, @function
draw_world:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rsi, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, 255
	mov	ecx, 255
	mov	edx, 255
	mov	rdi, rax
	call	set_color
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	768
	mov	r9d, 1024
	mov	r8d, 0
	mov	ecx, 0
	mov	rdi, rax
	call	XFillRectangle@PLT
	add	rsp, 16
	mov	DWORD PTR -36[rbp], 0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 40[rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	subsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rsi, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, 178
	mov	ecx, 178
	mov	edx, 178
	mov	rdi, rax
	call	set_color
	movsd	xmm0, QWORD PTR -8[rbp]
	cvttsd2si	rax, xmm0
	mov	r8d, eax
	movsd	xmm0, QWORD PTR -8[rbp]
	cvttsd2si	rax, xmm0
	mov	r9d, eax
	movsd	xmm0, QWORD PTR -16[rbp]
	cvttsd2si	edi, xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	cvttsd2si	ecx, xmm0
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	23040
	push	0
	push	r8
	mov	r8d, edi
	mov	rdi, rax
	call	XFillArc@PLT
	add	rsp, 32
	mov	rsi, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	set_color
	movsd	xmm0, QWORD PTR -8[rbp]
	cvttsd2si	rax, xmm0
	mov	r8d, eax
	movsd	xmm0, QWORD PTR -8[rbp]
	cvttsd2si	rax, xmm0
	mov	r9d, eax
	movsd	xmm0, QWORD PTR -16[rbp]
	cvttsd2si	edi, xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	cvttsd2si	ecx, xmm0
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	23040
	push	0
	push	r8
	mov	r8d, edi
	mov	rdi, rax
	call	XDrawArc@PLT
	add	rsp, 32
	add	DWORD PTR -36[rbp], 1
.L15:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L16
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	draw_world, .-draw_world
	.globl	collision_step
	.type	collision_step, @function
collision_step:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -44[rbp], 0
	jmp	.L18
.L35:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 40[rax]
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 24[rax]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -40[rbp]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L44
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L21
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR 16[rax], xmm0
.L21:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	jmp	.L23
.L44:
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC0[rip]
	jbe	.L23
	movsd	xmm0, QWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L25
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR 16[rax], xmm0
.L25:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC0[rip]
	subsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
.L23:
	movsd	xmm0, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -40[rbp]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L45
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L29
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR 24[rax], xmm0
.L29:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	jmp	.L31
.L45:
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jbe	.L31
	movsd	xmm0, QWORD PTR -8[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L33
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR 24[rax], xmm0
.L33:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC1[rip]
	subsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR 8[rax], xmm0
.L31:
	add	DWORD PTR -44[rbp], 1
.L18:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L35
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	collision_step, .-collision_step
	.globl	position_step
	.type	position_step, @function
position_step:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	movsd	QWORD PTR -80[rbp], xmm0
	mov	DWORD PTR -84[rbp], esi
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L47
.L58:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L48
.L55:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	je	.L60
	mov	eax, DWORD PTR -84[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L51
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	jmp	.L52
.L51:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 48[rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 56[rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
.L52:
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm0, QWORD PTR .LC12[rip]
	comisd	xmm0, QWORD PTR -48[rbp]
	jbe	.L53
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -48[rbp], xmm0
.L53:
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm2, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 32[rax]
	mulsd	xmm0, xmm2
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC13[rip]
	mulsd	xmm0, xmm2
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm2, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 32[rax]
	mulsd	xmm0, xmm2
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC13[rip]
	mulsd	xmm0, xmm2
	mulsd	xmm0, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	jmp	.L50
.L60:
	nop
.L50:
	add	DWORD PTR -52[rbp], 1
.L48:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L55
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm2, QWORD PTR 32[rax]
	divsd	xmm0, xmm2
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR 16[rax], xmm0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm2, QWORD PTR 32[rax]
	divsd	xmm0, xmm2
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR 24[rax], xmm0
	mov	eax, DWORD PTR -84[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L56
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	mulsd	xmm0, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR 48[rax], xmm0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 24[rax]
	mulsd	xmm0, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR 56[rax], xmm0
	jmp	.L57
.L56:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	mulsd	xmm0, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm1, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	movsd	xmm0, QWORD PTR 24[rax]
	mulsd	xmm0, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR 8[rax], xmm0
.L57:
	add	DWORD PTR -56[rbp], 1
.L47:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L58
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	position_step, .-position_step
	.globl	step_world
	.type	step_world, @function
step_world:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	movsd	QWORD PTR -80[rbp], xmm0
	mov	DWORD PTR -84[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	times@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	ecx, DWORD PTR -84[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, ecx
	movq	xmm0, rdx
	mov	rdi, rax
	call	position_step
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	times@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR total_time[rip]
	add	rax, rdx
	mov	QWORD PTR total_time[rip], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	collision_step
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	step_world, .-step_world
	.section	.rodata
.LC14:
	.string	"a+"
.LC15:
	.string	"outdata"
.LC16:
	.string	"Universe has %d bodies\n"
	.align 8
.LC17:
	.string	"Universe has %d bodies.  %d Threads\n"
.LC18:
	.string	"N-Body Simulator"
.LC19:
	.string	"WM_DELETE_WINDOW"
.LC21:
	.string	"%d %lfs\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 400
	mov	DWORD PTR -372[rbp], edi
	mov	QWORD PTR -384[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -364[rbp], 200
	mov	DWORD PTR -352[rbp], 1
	cmp	DWORD PTR -372[rbp], 2
	jne	.L64
	mov	rax, QWORD PTR -384[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -364[rbp], eax
.L64:
	mov	DWORD PTR -256[rbp], 1
	mov	DWORD PTR -252[rbp], 2
	mov	DWORD PTR -248[rbp], 3
	mov	DWORD PTR -244[rbp], 4
	mov	DWORD PTR -240[rbp], 5
	mov	DWORD PTR -236[rbp], 6
	mov	DWORD PTR -232[rbp], 7
	mov	DWORD PTR -228[rbp], 8
	mov	DWORD PTR -224[rbp], 9
	mov	DWORD PTR -220[rbp], 10
	lea	rsi, .LC14[rip]
	lea	rdi, .LC15[rip]
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	mov	edx, DWORD PTR -364[rbp]
	mov	rax, QWORD PTR -328[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -360[rbp], 0
	jmp	.L65
.L73:
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	mov	eax, DWORD PTR -256[rbp+rax*4]
	mov	DWORD PTR -352[rbp], eax
	mov	edx, DWORD PTR -352[rbp]
	mov	eax, DWORD PTR -364[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -352[rbp]
	mov	edi, eax
	call	omp_set_num_threads@PLT
	lea	rax, -344[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	srand48@PLT
	mov	eax, DWORD PTR -364[rbp]
	mov	edi, eax
	call	create_world
	mov	QWORD PTR -320[rbp], rax
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -312[rbp], rax
	mov	rax, QWORD PTR -312[rbp]
	mov	eax, DWORD PTR 224[rax]
	mov	DWORD PTR -348[rbp], eax
	mov	rax, QWORD PTR -312[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rcx, QWORD PTR 88[rax]
	mov	rax, QWORD PTR -312[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rdx, QWORD PTR 96[rax]
	mov	rax, QWORD PTR -312[rbp]
	mov	rsi, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 7
	add	rax, rsi
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -312[rbp]
	sub	rsp, 8
	push	rcx
	push	rdx
	push	0
	mov	r9d, 768
	mov	r8d, 1024
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	XCreateSimpleWindow@PLT
	add	rsp, 32
	mov	QWORD PTR -304[rbp], rax
	mov	rcx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -312[rbp]
	lea	rdx, .LC18[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XStoreName@PLT
	mov	rax, QWORD PTR -312[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	mov	ecx, eax
	mov	rax, QWORD PTR -312[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -312[rbp]
	mov	r8d, ecx
	mov	ecx, 768
	mov	edx, 1024
	mov	rdi, rax
	call	XCreatePixmap@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	rsi, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -312[rbp]
	mov	edx, 0
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR -336[rbp], rax
	lea	rdx, -336[rbp]
	mov	rsi, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	XSetWMProtocols@PLT
	mov	rcx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	edx, 131072
	mov	rsi, rcx
	mov	rdi, rax
	call	XSelectInput@PLT
	mov	rdx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
.L68:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, 19
	je	.L77
	jmp	.L68
.L77:
	nop
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 16666666
	movsd	xmm0, QWORD PTR .LC20[rip]
	movsd	QWORD PTR -280[rbp], xmm0
	mov	QWORD PTR total_time[rip], 0
	mov	DWORD PTR -356[rbp], 0
	jmp	.L69
.L72:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	esi, 33
	mov	rdi, rax
	call	XCheckTypedEvent@PLT
	test	eax, eax
	jne	.L78
	mov	rcx, QWORD PTR -320[rbp]
	mov	rdx, QWORD PTR -288[rbp]
	mov	rsi, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	draw_world
	mov	rcx, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR -304[rbp]
	mov	rsi, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -312[rbp]
	push	0
	push	0
	push	768
	push	1024
	mov	r9d, 0
	mov	r8d, 0
	mov	rdi, rax
	call	XCopyArea@PLT
	add	rsp, 32
	mov	ecx, DWORD PTR -356[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -320[rbp]
	mov	esi, ecx
	movq	xmm0, rdx
	mov	rdi, rax
	call	step_world
	add	DWORD PTR -356[rbp], 1
.L69:
	cmp	DWORD PTR -356[rbp], 99
	jle	.L72
	jmp	.L71
.L78:
	nop
.L71:
	mov	rax, QWORD PTR total_time[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	QWORD PTR -392[rbp], xmm1
	mov	edi, 2
	call	sysconf@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR -392[rbp]
	divsd	xmm1, xmm0
	movq	rcx, xmm1
	mov	edx, DWORD PTR -352[rbp]
	mov	rax, QWORD PTR -328[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rdx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XFreeGC@PLT
	mov	rdx, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XFreePixmap@PLT
	mov	rdx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XDestroyWindow@PLT
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	XCloseDisplay@PLT
	add	DWORD PTR -360[rbp], 1
.L65:
	cmp	DWORD PTR -360[rbp], 9
	jle	.L73
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1083179008
	.align 8
.LC1:
	.long	0
	.long	1082654720
	.align 8
.LC2:
	.long	0
	.long	1082130432
	.align 8
.LC3:
	.long	0
	.long	1081606144
	.align 8
.LC4:
	.long	0
	.long	1077149696
	.align 8
.LC5:
	.long	-1717986918
	.long	1067030937
	.align 8
.LC6:
	.long	0
	.long	1072693248
	.align 8
.LC7:
	.long	0
	.long	1075052544
	.align 8
.LC8:
	.long	1413754136
	.long	1074340347
	.align 8
.LC9:
	.long	0
	.long	1074266112
	.align 8
.LC11:
	.long	0
	.long	-1075838976
	.align 8
.LC12:
	.long	0
	.long	1077477376
	.align 8
.LC13:
	.long	0
	.long	1076101120
	.align 8
.LC20:
	.long	-1717986918
	.long	1069128089
	.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	"100296.c"
	.text
	.global	total_time
	.bss
	.align	2
	.type	total_time, %object
	.size	total_time, 4
total_time:
	.space	4
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.global	__aeabi_i2d
	.global	__aeabi_dcmple
	.global	__aeabi_ddiv
	.text
	.align	2
	.global	create_world
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_world, %function
create_world:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	str	r0, [fp, #-64]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-64]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #6
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #768
	str	r3, [fp, #-48]
	b	.L2
.L4:
	bl	drand48
	mov	r2, #0
	ldr	r3, .L7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	bl	drand48
	mov	r2, #0
	ldr	r3, .L7+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L7+8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L7+8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r2, #0
	ldr	r3, .L7+12
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r2, #0
	ldr	r3, .L7+12
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-48]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	b	.L2
.L6:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r1, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r1, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [r1, #56]
	str	r3, [r1, #60]
	mov	r2, #0
	ldr	r3, .L7+12
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #16]
	str	r3, [r4, #20]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L7+8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #24]
	str	r3, [r4, #28]
	bl	drand48
	ldr	r2, .L7+20
	ldr	r3, .L7+24
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L7+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L7+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #32]
	str	r3, [r4, #36]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	ldr	r2, .L7+36
	ldr	r3, .L7+40
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L7+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #40]
	str	r3, [r4, #44]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-52]
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L8:
	.align	2
.L7:
	.word	1083179008
	.word	1082654720
	.word	1082130432
	.word	1081606144
	.word	1077149696
	.word	-1717986918
	.word	1067030937
	.word	1072693248
	.word	1075052544
	.word	1413754136
	.word	1074340347
	.word	1074266112
	.size	create_world, .-create_world
	.align	2
	.global	set_color
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_color, %function
set_color:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L10
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L11
.L10:
	ldr	r3, [fp, #-24]
	cmp	r3, #255
	ble	.L11
	mov	r3, #255
	str	r3, [fp, #-24]
.L11:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L12
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L13
.L12:
	ldr	r3, [fp, #-28]
	cmp	r3, #255
	ble	.L13
	mov	r3, #255
	str	r3, [fp, #-28]
.L13:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bge	.L14
	mov	r3, #0
	str	r3, [fp, #4]
	b	.L15
.L14:
	ldr	r3, [fp, #4]
	cmp	r3, #255
	ble	.L15
	mov	r3, #255
	str	r3, [fp, #4]
.L15:
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #16
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldr	r3, [fp, #4]
	orr	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	XSetForeground
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	set_color, .-set_color
	.global	__aeabi_d2iz
	.global	__aeabi_d2uiz
	.align	2
	.global	draw_world
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_world, %function
draw_world:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #84
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	mov	r3, #255
	str	r3, [sp]
	mov	r3, #255
	mov	r2, #255
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-64]
	bl	set_color
	mov	r3, #768
	str	r3, [sp, #8]
	mov	r3, #1024
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	XFillRectangle
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L17
.L18:
	ldr	r3, [fp, #-76]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-76]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-76]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #178
	str	r3, [sp]
	mov	r3, #178
	mov	r2, #178
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-64]
	bl	set_color
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r6, r0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r4, r0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2uiz
	mov	r5, r0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2uiz
	mov	r3, r0
	mov	r2, #23040
	str	r2, [sp, #16]
	mov	r2, #0
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	str	r5, [sp, #4]
	str	r4, [sp]
	mov	r3, r6
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	XFillArc
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-64]
	bl	set_color
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r6, r0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r4, r0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2uiz
	mov	r5, r0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2uiz
	mov	r3, r0
	mov	r2, #23040
	str	r2, [sp, #16]
	mov	r2, #0
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	str	r5, [sp, #4]
	str	r4, [sp]
	mov	r3, r6
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	XDrawArc
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L17:
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L18
	nop
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	draw_world, .-draw_world
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
	.global	collision_step
	.syntax unified
	.arm
	.fpu softvfp
	.type	collision_step, %function
collision_step:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L20
.L37:
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L48
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #16]
	str	r3, [r4, #20]
.L23:
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r1, r2, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L25
.L46:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L48+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L48
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #16]
	str	r3, [r4, #20]
.L27:
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L48+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
.L25:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L48
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #24]
	str	r3, [r4, #28]
.L31:
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r1, r2, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	b	.L33
.L47:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L48
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #24]
	str	r3, [r4, #28]
.L35:
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r4, r2, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L48+8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #8]
	str	r3, [r4, #12]
.L33:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L20:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L37
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	-1075838976
	.word	1083179008
	.word	1082654720
	.size	collision_step, .-collision_step
	.align	2
	.global	position_step
	.syntax unified
	.arm
	.fpu softvfp
	.type	position_step, %function
position_step:
	@ args = 4, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	str	r0, [fp, #-72]
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-60]
	bl	memset
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	memset
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L51
.L62:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L52
.L59:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	beq	.L64
	ldr	r3, [fp, #4]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L56
.L55:
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #48
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #56
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L56:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L65
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L57
	mov	r2, #0
	ldr	r3, .L65
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L57:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L65+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L65+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	b	.L54
.L64:
	nop
.L54:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L52:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L59
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r5, r3, #16
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r6, #16]
	str	r3, [r6, #20]
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r5, r3, #24
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r6, #24]
	str	r3, [r6, #28]
	ldr	r3, [fp, #4]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L60
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r6, #48]
	str	r3, [r6, #52]
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #24
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r6, #56]
	str	r3, [r6, #60]
	b	.L61
.L60:
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r5, r3, #48
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r5, r3, #56
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #24
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #6
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r6, #8]
	str	r3, [r6, #12]
.L61:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L51:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L62
	nop
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L66:
	.align	2
.L65:
	.word	1077477376
	.word	1076101120
	.size	position_step, .-position_step
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	step_world
	.syntax unified
	.arm
	.fpu softvfp
	.type	step_world, %function
step_world:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r0, r3
	bl	times
	str	r0, [fp, #-32]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-40]
	bl	position_step
	sub	r3, fp, #24
	mov	r0, r3
	bl	times
	str	r0, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	sub	r2, r2, r3
	ldr	r3, .L69+4
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L69+4
	str	r3, [r2]
	ldr	r0, [fp, #-40]
	bl	collision_step
	nop
	ldr	r3, .L69
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC1
	.word	total_time
	.size	step_world, .-step_world
	.section	.rodata
	.align	2
.LC2:
	.ascii	"a+\000"
	.align	2
.LC3:
	.ascii	"outdata\000"
	.align	2
.LC4:
	.ascii	"Universe has %d bodies\012\000"
	.align	2
.LC5:
	.ascii	"Universe has %d bodies.  %d Threads\012\000"
	.align	2
.LC6:
	.ascii	"N-Body Simulator\000"
	.align	2
.LC7:
	.ascii	"WM_DELETE_WINDOW\000"
	.align	2
.LC8:
	.ascii	"%d %lfs\012\000"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.word	6
	.word	7
	.word	8
	.word	9
	.word	10
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #248
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L87
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #200
	str	r3, [fp, #-216]
	mov	r3, #1
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-232]
	cmp	r3, #2
	bne	.L72
	ldr	r3, [fp, #-236]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-216]
.L72:
	ldr	r3, .L87+4
	sub	ip, fp, #152
	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}
	stm	ip, {r0, r1}
	ldr	r1, .L87+8
	ldr	r0, .L87+12
	bl	fopen
	str	r0, [fp, #-200]
	ldr	r2, [fp, #-216]
	ldr	r1, .L87+16
	ldr	r0, [fp, #-200]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L73
.L81:
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-140]
	str	r3, [fp, #-204]
	ldr	r2, [fp, #-204]
	ldr	r1, [fp, #-216]
	ldr	r0, .L87+20
	bl	printf
	ldr	r0, [fp, #-204]
	bl	omp_set_num_threads
	sub	r3, fp, #224
	mov	r0, r3
	bl	time
	ldr	r3, [fp, #-224]
	mov	r0, r3
	bl	srand48
	ldr	r0, [fp, #-216]
	bl	create_world
	str	r0, [fp, #-196]
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-192]
	ldr	r3, [fp, #-192]
	ldr	r3, [r3, #132]
	str	r3, [fp, #-188]
	ldr	r3, [fp, #-192]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	ip, [r3, #8]
	ldr	r3, [fp, #-192]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r1, [r3, #56]
	ldr	r3, [fp, #-192]
	ldr	r0, [r3, #140]
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	ldr	r3, [r3, #52]
	str	r3, [sp, #16]
	str	r1, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #768
	str	r3, [sp, #4]
	mov	r3, #1024
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, ip
	ldr	r0, [fp, #-192]
	bl	XCreateSimpleWindow
	str	r0, [fp, #-184]
	ldr	r2, .L87+24
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-192]
	bl	XStoreName
	ldr	r3, [fp, #-192]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-192]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #36]
	str	r3, [sp]
	mov	r3, #768
	mov	r2, #1024
	mov	r1, r0
	ldr	r0, [fp, #-192]
	bl	XCreatePixmap
	str	r0, [fp, #-180]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-192]
	bl	XCreateGC
	str	r0, [fp, #-176]
	mov	r2, #0
	ldr	r1, .L87+28
	ldr	r0, [fp, #-192]
	bl	XInternAtom
	mov	r3, r0
	str	r3, [fp, #-220]
	sub	r2, fp, #220
	mov	r3, #1
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-192]
	bl	XSetWMProtocols
	mov	r2, #131072
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-192]
	bl	XSelectInput
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-192]
	bl	XMapWindow
.L76:
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, [fp, #-192]
	bl	XNextEvent
	ldr	r3, [fp, #-112]
	cmp	r3, #19
	beq	.L85
	b	.L76
.L85:
	nop
	mov	r3, #0
	str	r3, [fp, #-160]
	ldr	r3, .L87+32
	str	r3, [fp, #-156]
	ldr	r2, .L87+36
	ldr	r3, .L87+40
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
	ldr	r3, .L87+44
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-208]
	b	.L77
.L80:
	sub	r3, fp, #112
	mov	r2, r3
	mov	r1, #33
	ldr	r0, [fp, #-192]
	bl	XCheckTypedEvent
	mov	r3, r0
	cmp	r3, #0
	bne	.L86
	ldr	r3, [fp, #-196]
	ldr	r2, [fp, #-176]
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-192]
	bl	draw_world
	mov	r3, #0
	str	r3, [sp, #20]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #768
	str	r3, [sp, #12]
	mov	r3, #1024
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-184]
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-192]
	bl	XCopyArea
	ldr	r3, [fp, #-208]
	str	r3, [sp]
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-196]
	bl	step_world
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L77:
	ldr	r3, [fp, #-208]
	cmp	r3, #99
	ble	.L80
	b	.L79
.L86:
	nop
.L79:
	ldr	r3, .L87+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	mov	r0, #2
	bl	sysconf
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-204]
	ldr	r1, .L87+48
	ldr	r0, [fp, #-200]
	bl	fprintf
	ldr	r1, [fp, #-176]
	ldr	r0, [fp, #-192]
	bl	XFreeGC
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-192]
	bl	XFreePixmap
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-192]
	bl	XDestroyWindow
	ldr	r0, [fp, #-192]
	bl	XCloseDisplay
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L73:
	ldr	r3, [fp, #-212]
	cmp	r3, #9
	ble	.L81
	ldr	r0, [fp, #-200]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L87
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L83
	bl	__stack_chk_fail
.L83:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC9
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	16666666
	.word	-1717986918
	.word	1069128089
	.word	total_time
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
