	.file	"36075802.c"
	.intel_syntax noprefix
	.text
	.globl	add_vectors
	.type	add_vectors, @function
add_vectors:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rdx
	mov	rdx, rcx
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -44[rbp]
	add	edx, eax
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, esi
	mov	DWORD PTR -12[rbp], ecx
	mov	DWORD PTR -8[rbp], edx
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, rcx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	add_vectors, .-add_vectors
	.globl	vectors_equal
	.type	vectors_equal, @function
vectors_equal:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rdx
	mov	rdx, rcx
	mov	QWORD PTR -16[rbp], rdi
	mov	DWORD PTR -8[rbp], esi
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cmp	edx, eax
	jne	.L4
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L4
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	jne	.L4
	mov	eax, 1
	jmp	.L6
.L4:
	mov	eax, 0
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	vectors_equal, .-vectors_equal
	.globl	lines_intersect
	.type	lines_intersect, @function
lines_intersect:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR -20[rbp], r8d
	mov	DWORD PTR -24[rbp], r9d
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR 24[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR 16[rbp]
	imul	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	lines_intersect, .-lines_intersect
	.globl	particles_may_collide
	.type	particles_may_collide, @function
particles_may_collide:
.LFB9:
	.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	rax, QWORD PTR 20[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR 28[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR 32[rbp]
	mov	ecx, DWORD PTR 40[rbp]
	mov	rdx, rcx
	mov	rdi, QWORD PTR 20[rbp]
	mov	esi, DWORD PTR 28[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	add_vectors
	mov	QWORD PTR -36[rbp], rax
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR 60[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR 68[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR 72[rbp]
	mov	ecx, DWORD PTR 80[rbp]
	mov	rdx, rcx
	mov	rdi, QWORD PTR 60[rbp]
	mov	esi, DWORD PTR 68[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	add_vectors
	mov	QWORD PTR -12[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	r8d, DWORD PTR -8[rbp]
	mov	edi, DWORD PTR -12[rbp]
	mov	r9d, DWORD PTR -20[rbp]
	mov	r10d, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	push	r8
	push	rdi
	mov	r8d, r10d
	mov	edi, eax
	call	lines_intersect
	add	rsp, 16
	test	eax, eax
	je	.L10
	mov	r8d, DWORD PTR -4[rbp]
	mov	edi, DWORD PTR -8[rbp]
	mov	r9d, DWORD PTR -16[rbp]
	mov	r10d, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	push	r8
	push	rdi
	mov	r8d, r10d
	mov	edi, eax
	call	lines_intersect
	add	rsp, 16
	test	eax, eax
	je	.L10
	mov	eax, 1
	jmp	.L12
.L10:
	mov	eax, 0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	particles_may_collide, .-particles_may_collide
	.globl	part
	.bss
	.align 32
	.type	part, @object
	.size	part, 40960
part:
	.zero	40960
	.globl	pnum
	.align 4
	.type	pnum, @object
	.size	pnum, 4
pnum:
	.zero	4
	.text
	.globl	any_two_particles_may_collide
	.type	any_two_particles_may_collide, @function
any_two_particles_may_collide:
.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, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L14
.L19:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L15
.L18:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip]
	push	QWORD PTR 32[rdx+rax]
	push	QWORD PTR 24[rdx+rax]
	push	QWORD PTR 16[rdx+rax]
	push	QWORD PTR 8[rdx+rax]
	push	QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip]
	push	QWORD PTR 32[rdx+rax]
	push	QWORD PTR 24[rdx+rax]
	push	QWORD PTR 16[rdx+rax]
	push	QWORD PTR 8[rdx+rax]
	push	QWORD PTR [rdx+rax]
	call	particles_may_collide
	add	rsp, 80
	test	eax, eax
	je	.L16
	mov	eax, 1
	jmp	.L17
.L16:
	add	DWORD PTR -4[rbp], 1
.L15:
	mov	eax, DWORD PTR pnum[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L18
	add	DWORD PTR -8[rbp], 1
.L14:
	mov	eax, DWORD PTR pnum[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L19
	mov	eax, 0
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	any_two_particles_may_collide, .-any_two_particles_may_collide
	.section	.rodata
	.align 8
.LC0:
	.string	"> step %d: particle %d destroyed\n"
	.text
	.globl	simulation_step
	.type	simulation_step, @function
simulation_step:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 1080
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -1092[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1088[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -1088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	r13, rax
	lea	r12, part[rip+16]
	mov	eax, DWORD PTR -1088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip+28]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 8[rdx+rax]
	mov	rbx, rax
	mov	eax, DWORD PTR -1088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip+16]
	mov	rsi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 8[rdx+rax]
	mov	rdx, rcx
	mov	rcx, rbx
	mov	rdi, rsi
	mov	esi, eax
	call	add_vectors
	mov	QWORD PTR 0[r13+r12], rax
	mov	eax, DWORD PTR 8[r13+r12]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR 8[r13+r12], eax
	mov	eax, DWORD PTR -1088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	r13, rax
	lea	r12, part[rip]
	mov	eax, DWORD PTR -1088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip+16]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 8[rdx+rax]
	mov	rbx, rax
	mov	eax, DWORD PTR -1088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip]
	mov	rsi, QWORD PTR 4[rdx+rax]
	mov	eax, DWORD PTR 12[rdx+rax]
	mov	rdx, rcx
	mov	rcx, rbx
	mov	rdi, rsi
	mov	esi, eax
	call	add_vectors
	mov	QWORD PTR 4[r13+r12], rax
	mov	eax, DWORD PTR 12[r13+r12]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR 12[r13+r12], eax
	add	DWORD PTR -1088[rbp], 1
.L21:
	mov	eax, DWORD PTR pnum[rip]
	cmp	DWORD PTR -1088[rbp], eax
	jl	.L22
	lea	rax, -1072[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1084[rbp], 0
	jmp	.L23
.L27:
	mov	eax, DWORD PTR -1084[rbp]
	add	eax, 1
	mov	DWORD PTR -1080[rbp], eax
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -1080[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip]
	mov	rcx, QWORD PTR 4[rdx+rax]
	mov	eax, DWORD PTR 12[rdx+rax]
	mov	rbx, rax
	mov	eax, DWORD PTR -1084[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip]
	mov	rsi, QWORD PTR 4[rdx+rax]
	mov	eax, DWORD PTR 12[rdx+rax]
	mov	rdx, rcx
	mov	rcx, rbx
	mov	rdi, rsi
	mov	esi, eax
	call	vectors_equal
	test	eax, eax
	je	.L25
	mov	eax, DWORD PTR -1080[rbp]
	cdqe
	mov	BYTE PTR -1072[rbp+rax], 1
	mov	eax, DWORD PTR -1080[rbp]
	cdqe
	movzx	edx, BYTE PTR -1072[rbp+rax]
	mov	eax, DWORD PTR -1084[rbp]
	cdqe
	mov	BYTE PTR -1072[rbp+rax], dl
.L25:
	add	DWORD PTR -1080[rbp], 1
.L24:
	mov	eax, DWORD PTR pnum[rip]
	cmp	DWORD PTR -1080[rbp], eax
	jl	.L26
	add	DWORD PTR -1084[rbp], 1
.L23:
	mov	eax, DWORD PTR pnum[rip]
	cmp	DWORD PTR -1084[rbp], eax
	jl	.L27
	mov	DWORD PTR -1076[rbp], 0
	jmp	.L28
.L30:
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	movzx	eax, BYTE PTR -1072[rbp+rax]
	test	al, al
	je	.L29
	mov	eax, DWORD PTR -1076[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, part[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -1092[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pnum[rip]
	sub	eax, 1
	mov	DWORD PTR pnum[rip], eax
	mov	esi, DWORD PTR pnum[rip]
	mov	eax, DWORD PTR -1076[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rcx, rax
	lea	rdx, part[rip]
	movsx	rsi, esi
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 3
	mov	rsi, rax
	lea	rax, part[rip]
	mov	r8, QWORD PTR [rsi+rax]
	mov	r9, QWORD PTR 8[rsi+rax]
	mov	QWORD PTR [rcx+rdx], r8
	mov	QWORD PTR 8[rcx+rdx], r9
	mov	r8, QWORD PTR 16[rsi+rax]
	mov	r9, QWORD PTR 24[rsi+rax]
	mov	QWORD PTR 16[rcx+rdx], r8
	mov	QWORD PTR 24[rcx+rdx], r9
	mov	rax, QWORD PTR 32[rsi+rax]
	mov	QWORD PTR 32[rcx+rdx], rax
	mov	eax, DWORD PTR pnum[rip]
	cdqe
	movzx	edx, BYTE PTR -1072[rbp+rax]
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	mov	BYTE PTR -1072[rbp+rax], dl
	jmp	.L28
.L29:
	add	DWORD PTR -1076[rbp], 1
.L28:
	mov	eax, DWORD PTR pnum[rip]
	cmp	DWORD PTR -1076[rbp], eax
	jl	.L30
	nop
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	add	rsp, 1080
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	simulation_step, .-simulation_step
	.section	.rodata
	.align 8
.LC1:
	.string	"p=<%d,%d,%d>, v=<%d,%d,%d>, a=<%d,%d,%d> "
	.text
	.globl	readline
	.type	readline, @function
readline:
.LFB12:
	.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, 24
	.cfi_offset 3, -24
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, part[rip]
	add	rax, rdx
	lea	r10, 20[rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, part[rip]
	add	rax, rdx
	lea	r9, 16[rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, part[rip]
	add	rax, rdx
	lea	r8, 12[rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, part[rip]
	add	rax, rdx
	lea	rdi, 8[rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, part[rip]
	add	rax, rdx
	lea	rbx, 4[rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	lea	rax, part[rip]
	lea	r11, [rdx+rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, part[rip]
	add	rax, rdx
	lea	rcx, 12[rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, part[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR pnum[rip]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 3
	lea	rsi, part[rip]
	add	rax, rsi
	add	rax, 4
	push	r10
	push	r9
	push	r8
	push	rdi
	mov	r9, rbx
	mov	r8, r11
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 32
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 9
	sete	al
	movzx	eax, al
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	readline, .-readline
	.section	.rodata
.LC2:
	.string	"> %d particles read\n"
.LC3:
	.string	"particles left: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	jmp	.L35
.L36:
	mov	eax, DWORD PTR pnum[rip]
	mov	edx, DWORD PTR pnum[rip]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, part[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR pnum[rip]
	add	eax, 1
	mov	DWORD PTR pnum[rip], eax
.L35:
	call	readline
	test	eax, eax
	jne	.L36
	mov	eax, DWORD PTR pnum[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR pnum[rip]
	mov	DWORD PTR -4[rbp], eax
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	simulation_step
	mov	eax, DWORD PTR pnum[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L37
	add	DWORD PTR -8[rbp], 1
.L37:
	cmp	DWORD PTR -8[rbp], 999
	jle	.L38
	mov	eax, DWORD PTR pnum[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.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	"36075802.c"
	.text
	.align	2
	.global	add_vectors
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_vectors, %function
add_vectors:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	sub	r0, fp, #36
	stm	r0, {r1, r2, r3}
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #4]
	add	r0, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #8]
	add	r1, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r0, [r3]
	ldr	r3, [fp, #-24]
	str	r1, [r3, #4]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #8]
	ldr	r0, [fp, #-24]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	add_vectors, .-add_vectors
	.align	2
	.global	vectors_equal
	.syntax unified
	.arm
	.fpu softvfp
	.type	vectors_equal, %function
vectors_equal:
	@ args = 16, pretend = 8, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #8
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	sub	ip, fp, #16
	stm	ip, {r0, r1, r2}
	str	r3, [fp, #8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	bne	.L4
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	bne	.L4
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	bne	.L4
	mov	r3, #1
	b	.L6
.L4:
	mov	r3, #0
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #8
	bx	lr
	.size	vectors_equal, .-vectors_equal
	.align	2
	.global	lines_intersect
	.syntax unified
	.arm
	.fpu softvfp
	.type	lines_intersect, %function
lines_intersect:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r1, [fp, #8]
	ldr	r2, [fp, #16]
	sub	r2, r1, r2
	mul	r2, r3, r2
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	ldr	r0, [fp, #4]
	ldr	r1, [fp, #12]
	sub	r1, r0, r1
	mul	r3, r1, r3
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	lines_intersect, .-lines_intersect
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	particles_may_collide
	.syntax unified
	.arm
	.fpu softvfp
	.type	particles_may_collide, %function
particles_may_collide:
	@ args = 80, pretend = 16, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #64
	add	r2, fp, #8
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	lr, fp, #52
	mov	ip, sp
	add	r3, fp, #20
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	add	r3, fp, #8
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	add_vectors
	sub	r3, fp, #40
	add	r2, fp, #48
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	lr, fp, #28
	mov	ip, sp
	add	r3, fp, #60
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	add	r3, fp, #48
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	add_vectors
	ldr	ip, [fp, #-64]
	ldr	lr, [fp, #-60]
	ldr	r4, [fp, #-52]
	ldr	r5, [fp, #-48]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	mov	r1, lr
	mov	r0, ip
	bl	lines_intersect
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	ip, [fp, #-60]
	ldr	lr, [fp, #-56]
	ldr	r4, [fp, #-48]
	ldr	r5, [fp, #-44]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	mov	r1, lr
	mov	r0, ip
	bl	lines_intersect
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	mov	r3, #1
	b	.L12
.L10:
	mov	r3, #0
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, lr}
	add	sp, sp, #16
	bx	lr
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	particles_may_collide, .-particles_may_collide
	.comm	part,40960,4
	.global	pnum
	.bss
	.align	2
	.type	pnum, %object
	.size	pnum, 4
pnum:
	.space	4
	.text
	.align	2
	.global	any_two_particles_may_collide
	.syntax unified
	.arm
	.fpu softvfp
	.type	any_two_particles_may_collide, %function
any_two_particles_may_collide:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L17
.L22:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L18
.L21:
	ldr	r1, .L23
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	ldr	r1, .L23
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	ip, sp, #24
	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}
	mov	lr, sp
	add	ip, r4, #16
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldm	r4, {r0, r1, r2, r3}
	bl	particles_may_collide
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	mov	r3, #1
	b	.L20
.L19:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L22
	mov	r3, #0
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	part
	.word	pnum
	.size	any_two_particles_may_collide, .-any_two_particles_may_collide
	.section	.rodata
	.align	2
.LC1:
	.ascii	"> step %d: particle %d destroyed\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	simulation_step
	.syntax unified
	.arm
	.fpu softvfp
	.type	simulation_step, %function
simulation_step:
	@ args = 0, pretend = 0, frame = 1072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1088
	str	r0, [fp, #-1064]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1056]
	b	.L26
.L27:
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r5, r3, #16
	sub	r4, fp, #1072
	sub	r4, r4, #12
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	ip, r3, #16
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #24
	mov	lr, sp
	add	r3, r3, #4
	ldm	r3, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldm	ip, {r1, r2, r3}
	mov	r0, r4
	bl	add_vectors
	mov	ip, r5
	sub	r3, fp, #1072
	sub	r3, r3, #12
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	sub	lr, fp, #1072
	sub	lr, lr, #12
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	ip, r1, r3
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r2, r3, #16
	mov	r3, sp
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	add	r3, ip, #4
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	add_vectors
	add	r3, r4, #4
	sub	r2, fp, #1072
	sub	r2, r2, #12
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L26:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-1056]
	cmp	r2, r3
	blt	.L27
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1052]
	b	.L28
.L32:
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
	b	.L29
.L31:
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1048]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r1, r3
	ldr	r0, .L37+4
	ldr	r1, [fp, #-1052]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	ip, r0, r3
	mov	lr, sp
	add	r3, r2, #8
	ldm	r3, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r3, [r2, #4]
	add	r2, ip, #4
	ldm	r2, {r0, r1, r2}
	bl	vectors_equal
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1048]
	add	r3, r3, r2
	mov	r2, #1
	strb	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1048]
	add	r3, r3, r2
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1052]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
.L30:
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L29:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-1048]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1052]
.L28:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-1052]
	cmp	r2, r3
	blt	.L32
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L33
.L35:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1044]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	ldr	r1, .L37+4
	ldr	r2, [fp, #-1044]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-1064]
	ldr	r0, .L37+12
	bl	printf
	ldr	r3, .L37+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L37+8
	str	r3, [r2]
	ldr	r3, .L37+8
	ldr	r2, [r3]
	ldr	r0, .L37+4
	ldr	r1, [fp, #-1044]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r0, r0, r3
	ldr	r1, .L37+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	ip, r0
	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	r3, .L37+8
	ldr	r3, [r3]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r1, [r3, #-1028]	@ zero_extendqisi2
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1044]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	b	.L33
.L34:
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L33:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-1044]
	cmp	r2, r3
	blt	.L35
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC2
	.word	part
	.word	pnum
	.word	.LC1
	.size	simulation_step, .-simulation_step
	.section	.rodata
	.align	2
.LC3:
	.ascii	"p=<%d,%d,%d>, v=<%d,%d,%d>, a=<%d,%d,%d> \000"
	.text
	.align	2
	.global	readline
	.syntax unified
	.arm
	.fpu softvfp
	.type	readline, %function
readline:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L41+4
	add	r3, r3, r2
	add	r5, r3, #4
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L41+4
	add	r3, r3, r2
	add	r6, r3, #8
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #8
	ldr	r2, .L41+4
	add	r3, r3, r2
	add	r7, r3, #4
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #16
	ldr	r2, .L41+4
	add	r1, r3, r2
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #16
	ldr	r2, .L41+4
	add	r3, r3, r2
	add	r0, r3, #4
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L41+4
	add	ip, r3, r2
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L41+4
	add	r3, r3, r2
	add	lr, r3, #4
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	ldr	r2, .L41+4
	add	r3, r3, r2
	add	r4, r3, #8
	ldr	r3, .L41
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #32
	ldr	r2, .L41+4
	add	r3, r3, r2
	add	r3, r3, #4
	str	r3, [sp, #20]
	str	r4, [sp, #16]
	str	lr, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	ldr	r0, .L41+8
	bl	__isoc99_scanf
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #9
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L42:
	.align	2
.L41:
	.word	pnum
	.word	part
	.word	.LC3
	.size	readline, .-readline
	.section	.rodata
	.align	2
.LC4:
	.ascii	"> %d particles read\012\000"
	.align	2
.LC5:
	.ascii	"particles left: %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	b	.L44
.L45:
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, .L49
	ldr	r1, [r3]
	ldr	r0, .L49+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r3, .L49
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L49
	str	r3, [r2]
.L44:
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r3, .L49
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L46
.L47:
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	simulation_step
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L46
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L46:
	ldr	r3, [fp, #-12]
	cmp	r3, #1000
	blt	.L47
	ldr	r3, .L49
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+12
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	pnum
	.word	part
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
