	.file	"125463.c"
	.intel_syntax noprefix
	.text
	.globl	TRY_MAX
	.section	.rodata
	.align 4
	.type	TRY_MAX, @object
	.size	TRY_MAX, 4
TRY_MAX:
	.long	3
.LC0:
	.string	"=> j'abandonne !"
	.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, 1808
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	demander_fichier
	mov	QWORD PTR -1808[rbp], rax
	cmp	QWORD PTR -1808[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L4
.L2:
	lea	rax, -1792[rbp]
	mov	rdi, rax
	call	initialise_statistique
	mov	rdx, QWORD PTR -1808[rbp]
	lea	rax, -1792[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	collecte_statistique
	mov	QWORD PTR -1800[rbp], rax
	mov	rdx, QWORD PTR -1800[rbp]
	lea	rax, -1792[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	affiche
	mov	rax, QWORD PTR -1808[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L4:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"nom de fichier \303\240 lire :"
.LC2:
	.string	"r"
	.align 8
.LC3:
	.string	" -> ERREUR, je ne peux pas lire le fichier \"%s\"\n"
	.align 8
.LC4:
	.string	" -> OK, fichier \"%s\" ouvert pour lecture.\n"
	.text
	.globl	demander_fichier
	.type	demander_fichier, @function
demander_fichier:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -4112[rbp], 0
	mov	QWORD PTR -4104[rbp], 0
	lea	rdx, -4096[rbp]
	mov	eax, 0
	mov	ecx, 510
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -4128[rbp], 0
	mov	DWORD PTR -4132[rbp], 0
	jmp	.L7
.L11:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -4112[rbp]
	mov	esi, 4095
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -4112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	QWORD PTR -4120[rbp], rax
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L8
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4120[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L8:
	lea	rax, -4112[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4128[rbp], rax
	cmp	QWORD PTR -4128[rbp], 0
	jne	.L9
	lea	rax, -4112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	add	DWORD PTR -4132[rbp], 1
.L7:
	mov	eax, 3
	cmp	DWORD PTR -4132[rbp], eax
	jge	.L10
	cmp	QWORD PTR -4128[rbp], 0
	je	.L11
.L10:
	cmp	QWORD PTR -4128[rbp], 0
	je	.L12
	lea	rax, -4112[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	rax, QWORD PTR -4128[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	demander_fichier, .-demander_fichier
	.globl	initialise_statistique
	.type	initialise_statistique, @function
initialise_statistique:
.LFB2:
	.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 -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	add	DWORD PTR -4[rbp], 1
.L16:
	cmp	DWORD PTR -4[rbp], 221
	jle	.L17
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	initialise_statistique, .-initialise_statistique
	.globl	collecte_statistique
	.type	collecte_statistique, @function
collecte_statistique:
.LFB3:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -256[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -8[rbp], 1
.L20:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	collecte_statistique, .-collecte_statistique
	.section	.rodata
.LC5:
	.string	"STATISTIQUES :"
.LC7:
	.string	"%c :\t%zu\t-\t%f%%\n"
	.text
	.globl	affiche
	.type	affiche, @function
affiche:
.LFB4:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L24
.L30:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L25
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 32
	mov	BYTE PTR -21[rbp], al
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	js	.L26
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L27
.L26:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L27:
	movsd	xmm1, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	js	.L28
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L29
.L28:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L29:
	divsd	xmm1, xmm0
	movsd	QWORD PTR -8[rbp], xmm1
	movsx	eax, BYTE PTR -21[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
.L25:
	add	DWORD PTR -20[rbp], 1
.L24:
	cmp	DWORD PTR -20[rbp], 221
	jle	.L30
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	affiche, .-affiche
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1079574528
	.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	"125463.c"
	.text
	.global	TRY_MAX
	.section	.rodata
	.align	2
	.type	TRY_MAX, %object
	.size	TRY_MAX, 4
TRY_MAX:
	.word	3
	.align	2
.LC0:
	.ascii	"=> j'abandonne !\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 904
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #904
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	demander_fichier
	str	r0, [fp, #-904]
	ldr	r3, [fp, #-904]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L6+4
	bl	puts
	mov	r3, #1
	b	.L4
.L2:
	sub	r3, fp, #896
	mov	r0, r3
	bl	initialise_statistique
	sub	r3, fp, #896
	ldr	r1, [fp, #-904]
	mov	r0, r3
	bl	collecte_statistique
	str	r0, [fp, #-900]
	sub	r3, fp, #896
	ldr	r1, [fp, #-900]
	mov	r0, r3
	bl	affiche
	ldr	r0, [fp, #-904]
	bl	fclose
	mov	r3, #0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"nom de fichier \303\240 lire :\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	" -> ERREUR, je ne peux pas lire le fichier \"%s\"\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	" -> OK, fichier \"%s\" ouvert pour lecture.\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	demander_fichier
	.syntax unified
	.arm
	.fpu softvfp
	.type	demander_fichier, %function
demander_fichier:
	@ args = 0, pretend = 0, frame = 4112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #20
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L17+4
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	b	.L9
.L13:
	ldr	r0, .L17+8
	bl	puts
	ldr	r3, .L17+12
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L17+16
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r3, r3, #1
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	add	r3, r2, r3
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L10
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	add	r3, r2, r3
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L17+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L17+24
	bl	printf
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #1
	str	r3, [r2, #-12]
.L9:
	mov	r2, #3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, r2
	bge	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	beq	.L13
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	beq	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L17+28
	bl	printf
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	4092
	.word	.LC2
	.word	stdin
	.word	4095
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	demander_fichier, .-demander_fichier
	.align	2
	.global	initialise_statistique
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialise_statistique, %function
initialise_statistique:
	@ args = 0, 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, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #221
	ble	.L21
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	initialise_statistique, .-initialise_statistique
	.align	2
	.global	collecte_statistique
	.syntax unified
	.arm
	.fpu softvfp
	.type	collecte_statistique, %function
collecte_statistique:
	@ 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, #-12]
	b	.L24
.L25:
	ldr	r0, [fp, #-20]
	bl	getc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741792
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L24:
	ldr	r0, [fp, #-20]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	collecte_statistique, .-collecte_statistique
	.section	.rodata
	.align	2
.LC7:
	.ascii	"STATISTIQUES :\000"
	.global	__aeabi_ui2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC8:
	.ascii	"%c :\011%zu\011-\011%f%%\012\000"
	.text
	.align	2
	.global	affiche
	.syntax unified
	.arm
	.fpu softvfp
	.type	affiche, %function
affiche:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r0, .L31
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L28
.L30:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-28]
	and	r3, r3, #255
	add	r3, r3, #32
	strb	r3, [fp, #-29]
	ldr	r0, [fp, #-24]
	bl	__aeabi_ui2d
	mov	r2, #0
	ldr	r3, .L31+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-44]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldrb	r1, [fp, #-29]	@ zero_extendqisi2
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-24]
	ldr	r0, .L31+8
	bl	printf
.L29:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L28:
	ldr	r3, [fp, #-28]
	cmp	r3, #221
	ble	.L30
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC7
	.word	1079574528
	.word	.LC8
	.size	affiche, .-affiche
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
