	.file	"1096689.c"
	.intel_syntax noprefix
	.text
	.globl	nb_ligne
	.data
	.align 4
	.type	nb_ligne, @object
	.size	nb_ligne, 4
nb_ligne:
	.long	512
	.globl	nb_colonne
	.align 4
	.type	nb_colonne, @object
	.size	nb_colonne, 4
nb_colonne:
	.long	512
	.globl	Niteration
	.align 4
	.type	Niteration, @object
	.size	Niteration, 4
Niteration:
	.long	10
	.section	.rodata
.LC1:
	.string	"bin"
.LC2:
	.string	"float"
.LC3:
	.string	"bruit_gaus"
.LC4:
	.string	" bruit gaussien "
.LC5:
	.string	"real"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1104
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 9
	mov	eax, 0
	call	srand@PLT
	mov	edx, DWORD PTR nb_colonne[rip]
	mov	eax, DWORD PTR nb_ligne[rip]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	alloc_square_float@PLT
	mov	QWORD PTR -1064[rbp], rax
	mov	DWORD PTR -1080[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -1076[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -1072[rbp], 0
	jmp	.L4
.L5:
	mov	eax, 0
	call	random@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -1068[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1068[rbp], xmm0
	add	DWORD PTR -1072[rbp], 1
.L4:
	mov	eax, DWORD PTR Niteration[rip]
	cmp	DWORD PTR -1072[rbp], eax
	jl	.L5
	mov	eax, DWORD PTR Niteration[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -1068[rbp]
	divss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC0[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -1096[rbp], xmm0
	mov	eax, DWORD PTR Niteration[rip]
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, eax
	movq	rax, xmm3
	movq	xmm0, rax
	call	sqrt@PLT
	mulsd	xmm0, QWORD PTR -1096[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1068[rbp], xmm0
	mov	eax, DWORD PTR -1080[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1064[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR -1068[rbp]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -1076[rbp], 1
.L3:
	mov	eax, DWORD PTR nb_colonne[rip]
	cmp	DWORD PTR -1076[rbp], eax
	jl	.L6
	add	DWORD PTR -1080[rbp], 1
.L2:
	mov	eax, DWORD PTR nb_ligne[rip]
	cmp	DWORD PTR -1080[rbp], eax
	jl	.L7
	mov	eax, DWORD PTR nb_ligne[rip]
	mov	DWORD PTR -1056[rbp], eax
	mov	eax, DWORD PTR nb_colonne[rip]
	mov	DWORD PTR -1052[rbp], eax
	lea	rdx, -1056[rbp]
	mov	rax, QWORD PTR -1064[rbp]
	lea	rcx, .LC4[rip]
	push	rcx
	lea	rcx, .LC5[rip]
	push	rcx
	lea	r9, .LC1[rip]
	lea	r8, .LC2[rip]
	mov	rcx, rdx
	mov	edx, 2
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	write_data@PLT
	add	rsp, 16
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1071644672
	.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	"1096689.c"
	.text
	.global	nb_ligne
	.data
	.align	2
	.type	nb_ligne, %object
	.size	nb_ligne, 4
nb_ligne:
	.word	512
	.global	nb_colonne
	.align	2
	.type	nb_colonne, %object
	.size	nb_colonne, 4
nb_colonne:
	.word	512
	.global	Niteration
	.align	2
	.type	Niteration, %object
	.size	Niteration, 4
Niteration:
	.word	10
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.global	__aeabi_dsub
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.section	.rodata
	.align	2
.LC0:
	.ascii	"bruit_gaus\000"
	.align	2
.LC1:
	.ascii	" bruit gaussien \000"
	.align	2
.LC2:
	.ascii	"real\000"
	.align	2
.LC3:
	.ascii	"bin\000"
	.align	2
.LC4:
	.ascii	"float\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1072
	sub	sp, sp, #8
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #9
	bl	srand
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r2, .L9+8
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	alloc_square_float
	str	r0, [fp, #-1060]
	mov	r3, #0
	str	r3, [fp, #-1076]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-1072]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-1068]
	b	.L4
.L5:
	bl	random
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1064]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1064]	@ float
	ldr	r3, [fp, #-1068]
	add	r3, r3, #1
	str	r3, [fp, #-1068]
.L4:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-1068]
	cmp	r2, r3
	blt	.L5
	ldr	r3, .L9+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1064]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L9+16
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L9+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-1064]	@ float
	ldr	r3, [fp, #-1076]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1060]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-1072]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-1064]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-1072]
	add	r3, r3, #1
	str	r3, [fp, #-1072]
.L3:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-1072]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-1076]
	add	r3, r3, #1
	str	r3, [fp, #-1076]
.L2:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-1076]
	cmp	r2, r3
	blt	.L7
	ldr	r3, .L9+4
	ldr	r3, [r3]
	str	r3, [fp, #-1056]
	ldr	r3, .L9+8
	ldr	r3, [r3]
	str	r3, [fp, #-1052]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, .L9+20
	str	r2, [sp, #12]
	ldr	r2, .L9+24
	str	r2, [sp, #8]
	ldr	r2, .L9+28
	str	r2, [sp, #4]
	ldr	r2, .L9+32
	str	r2, [sp]
	mov	r2, #2
	ldr	r1, [fp, #-1060]
	ldr	r0, .L9+36
	bl	write_data
	nop
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	nb_ligne
	.word	nb_colonne
	.word	Niteration
	.word	1071644672
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
