	.file	"867941.c"
	.intel_syntax noprefix
	.text
	.globl	mutex1
	.bss
	.align 32
	.type	mutex1, @object
	.size	mutex1, 40
mutex1:
	.zero	40
	.globl	points
	.align 8
	.type	points, @object
	.size	points, 8
points:
	.zero	8
	.globl	nbThread
	.align 4
	.type	nbThread, @object
	.size	nbThread, 4
nbThread:
	.zero	4
	.text
	.globl	initCoordonnees
	.type	initCoordonnees, @function
initCoordonnees:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L3
	call	pthread_self@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR 4[rdx], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	initCoordonnees, .-initCoordonnees
	.section	.rodata
.LC0:
	.string	"id %i - x %i - y %i\n"
	.text
	.globl	affichePoints
	.type	affichePoints, @function
affichePoints:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L6
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	affichePoints, .-affichePoints
	.section	.rodata
.LC1:
	.string	"\033[%.2d;%.2dH"
.LC2:
	.string	" "
.LC3:
	.string	"Collision %i !!!!"
.LC4:
	.string	"\033\033[38;5;%im%c\n"
	.text
	.globl	tAction
	.type	tAction, @function
tAction:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rdx, rax
	mov	esi, 21523
	mov	edi, 0
	mov	eax, 0
	call	ioctl@PLT
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2139062143
	shr	rdx, 32
	add	edx, eax
	sar	edx, 7
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -28[rbp], edx
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, ecx
	sal	edx, 8
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -28[rbp], eax
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2139062143
	shr	rdx, 32
	add	edx, eax
	sar	edx, 7
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -24[rbp], edx
	mov	ecx, DWORD PTR -24[rbp]
	mov	edx, ecx
	sal	edx, 8
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	call	rand@PLT
	movzx	edx, WORD PTR -14[rbp]
	movzx	edx, dx
	lea	ecx, -6[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 3
	mov	DWORD PTR -48[rbp], eax
	call	rand@PLT
	movzx	edx, WORD PTR -16[rbp]
	movzx	edx, dx
	lea	ecx, -6[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 3
	mov	DWORD PTR -44[rbp], eax
	mov	DWORD PTR -40[rbp], 1
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	cmp	ecx, 5
	jle	.L8
	mov	DWORD PTR -40[rbp], -1
.L8:
	mov	DWORD PTR -36[rbp], 1
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	cmp	ecx, 5
	jle	.L9
	mov	DWORD PTR -36[rbp], -1
.L9:
	mov	rdx, QWORD PTR points[rip]
	mov	ecx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	initCoordonnees
.L18:
	lea	rdi, mutex1[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, mutex1[rip]
	call	pthread_mutex_unlock@PLT
	movzx	eax, WORD PTR -14[rbp]
	movzx	eax, ax
	cmp	DWORD PTR -48[rbp], eax
	jg	.L10
	cmp	DWORD PTR -48[rbp], 1
	jg	.L11
.L10:
	neg	DWORD PTR -40[rbp]
.L11:
	movzx	eax, WORD PTR -16[rbp]
	movzx	eax, ax
	sub	eax, 2
	cmp	DWORD PTR -44[rbp], eax
	jge	.L12
	cmp	DWORD PTR -44[rbp], 1
	jg	.L13
.L12:
	neg	DWORD PTR -36[rbp]
.L13:
	mov	eax, DWORD PTR -40[rbp]
	add	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	add	DWORD PTR -44[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L14
.L17:
	mov	rcx, QWORD PTR points[rip]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -48[rbp], eax
	jne	.L15
	mov	rcx, QWORD PTR points[rip]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L15
	mov	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	neg	DWORD PTR -40[rbp]
	neg	DWORD PTR -36[rbp]
	jmp	.L16
.L15:
	add	DWORD PTR -32[rbp], 1
.L14:
	mov	eax, DWORD PTR nbThread[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L17
.L16:
	lea	rdi, mutex1[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 79
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, mutex1[rip]
	call	pthread_mutex_unlock@PLT
	mov	edi, 100000
	call	usleep@PLT
	jmp	.L18
	.cfi_endproc
.LFE8:
	.size	tAction, .-tAction
	.section	.rodata
.LC5:
	.string	"\033[2J\033[;H"
.LC6:
	.string	"\033[?25l"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR nbThread[rip], eax
	mov	eax, DWORD PTR nbThread[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -128[rbp], rdx
	mov	QWORD PTR -120[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -144[rbp], rdx
	mov	QWORD PTR -136[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L21:
	cmp	rsp, rdx
	je	.L22
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L21
.L22:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L23
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L23:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR nbThread[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L24:
	cmp	rsp, rdx
	je	.L25
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L24
.L25:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L26
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L26:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR nbThread[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR points[rip], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L27
.L28:
	mov	rcx, QWORD PTR points[rip]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR 8[rax], 0
	add	DWORD PTR -92[rbp], 1
.L27:
	mov	eax, DWORD PTR nbThread[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L28
	mov	DWORD PTR -92[rbp], 0
	jmp	.L29
.L30:
	mov	edi, 10000
	call	usleep@PLT
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	ecx, 0
	lea	rdx, tAction[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rdx+rcx*4], eax
	add	DWORD PTR -92[rbp], 1
.L29:
	mov	eax, DWORD PTR nbThread[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L30
	mov	edx, DWORD PTR nbThread[rip]
	mov	rax, QWORD PTR points[rip]
	mov	esi, edx
	mov	rdi, rax
	call	affichePoints
	mov	DWORD PTR -92[rbp], 0
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -92[rbp], 1
.L31:
	mov	eax, DWORD PTR nbThread[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L32
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"867941.c"
	.text
	.global	mutex1
	.bss
	.align	2
	.type	mutex1, %object
	.size	mutex1, 24
mutex1:
	.space	24
	.comm	points,4,4
	.comm	nbThread,4,4
	.text
	.align	2
	.global	initCoordonnees
	.syntax unified
	.arm
	.fpu softvfp
	.type	initCoordonnees, %function
initCoordonnees:
	@ args = 0, 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L3
	bl	pthread_self
	mov	r1, r0
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r2, r1
	str	r2, [r3, #8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	initCoordonnees, .-initCoordonnees
	.section	.rodata
	.align	2
.LC0:
	.ascii	"id %i - x %i - y %i\012\000"
	.text
	.align	2
	.global	affichePoints
	.syntax unified
	.arm
	.fpu softvfp
	.type	affichePoints, %function
affichePoints:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	mov	r2, r0
	ldr	r0, .L7
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L6
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	affichePoints, .-affichePoints
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\033[%.2d;%.2dH\000"
	.align	2
.LC2:
	.ascii	" \000"
	.align	2
.LC3:
	.ascii	"Collision %i !!!!\000"
	.align	2
.LC4:
	.ascii	"\033\033[38;5;%im%c\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tAction
	.syntax unified
	.arm
	.fpu softvfp
	.type	tAction, %function
tAction:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L22+4
	mov	r0, #0
	bl	ioctl
	bl	rand
	mov	r2, r0
	ldr	r3, .L22+8
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #7
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	bl	rand
	mov	r2, r0
	ldr	r3, .L22+8
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #7
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	bl	rand
	mov	r2, r0
	ldrh	r3, [fp, #-14]
	sub	r3, r3, #6
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #3
	str	r3, [fp, #-48]
	bl	rand
	mov	r2, r0
	ldrh	r3, [fp, #-16]
	sub	r3, r3, #6
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #3
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-40]
	bl	rand
	mov	r1, r0
	ldr	r3, .L22+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #5
	ble	.L10
	mvn	r3, #0
	str	r3, [fp, #-40]
.L10:
	mov	r3, #1
	str	r3, [fp, #-36]
	bl	rand
	mov	r1, r0
	ldr	r3, .L22+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #5
	ble	.L11
	mvn	r3, #0
	str	r3, [fp, #-36]
.L11:
	ldr	r3, .L22+16
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-48]
	bl	initCoordonnees
.L20:
	ldr	r0, .L22+20
	bl	pthread_mutex_lock
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r0, .L22+24
	bl	printf
	ldr	r0, .L22+28
	bl	puts
	ldr	r0, .L22+20
	bl	pthread_mutex_unlock
	ldrh	r3, [fp, #-14]
	mov	r2, r3
	ldr	r3, [fp, #-48]
	cmp	r3, r2
	bgt	.L12
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bgt	.L13
.L12:
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #0
	str	r3, [fp, #-40]
.L13:
	ldrh	r3, [fp, #-16]
	sub	r3, r3, #2
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bge	.L14
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	bgt	.L15
.L14:
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	str	r3, [fp, #-36]
.L15:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L16
.L19:
	ldr	r3, .L22+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bne	.L17
	ldr	r3, .L22+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bne	.L17
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-32]
	ldr	r0, .L22+32
	bl	printf
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	str	r3, [fp, #-36]
	b	.L18
.L17:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L16:
	ldr	r3, .L22+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L19
.L18:
	ldr	r0, .L22+20
	bl	pthread_mutex_lock
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r0, .L22+24
	bl	printf
	mov	r2, #79
	ldr	r1, [fp, #-28]
	ldr	r0, .L22+40
	bl	printf
	ldr	r0, .L22+20
	bl	pthread_mutex_unlock
	ldr	r0, .L22+44
	bl	usleep
	b	.L20
.L23:
	.align	2
.L22:
	.word	.LC5
	.word	21523
	.word	-2139062143
	.word	1717986919
	.word	points
	.word	mutex1
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	nbThread
	.word	.LC4
	.word	100000
	.size	tAction, .-tAction
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\033[2J\033[;H\000"
	.align	2
.LC7:
	.ascii	"\033[?25l\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r0, .L32+4
	bl	printf
	ldr	r0, .L32+8
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L32+12
	str	r3, [r2]
	ldr	r3, .L32+12
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	ldr	r3, .L32+12
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r3, .L32+12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L32+16
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L25
.L26:
	ldr	r3, .L32+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L25:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L26
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L27
.L28:
	ldr	r0, .L32+20
	bl	usleep
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r0, r2, r3
	mov	r3, #0
	ldr	r2, .L32+24
	mov	r1, #0
	bl	pthread_create
	mov	r1, r0
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L27:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L28
	ldr	r3, .L32+16
	ldr	r3, [r3]
	ldr	r2, .L32+12
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	affichePoints
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L29
.L30:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L29:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L30
	mov	sp, r4
	nop
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC8
	.word	.LC6
	.word	.LC7
	.word	nbThread
	.word	points
	.word	10000
	.word	tAction
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
