	.file	"234517226.c"
	.intel_syntax noprefix
	.text
	.globl	options
	.bss
	.align 32
	.type	options, @object
	.size	options, 32
options:
	.zero	32
	.globl	prog_argv
	.align 8
	.type	prog_argv, @object
	.size	prog_argv, 8
prog_argv:
	.zero	8
	.globl	fichier
	.align 8
	.type	fichier, @object
	.size	fichier, 8
fichier:
	.zero	8
	.globl	tube
	.align 8
	.type	tube, @object
	.size	tube, 8
tube:
	.zero	8
	.globl	buf_exec_prec
	.align 8
	.type	buf_exec_prec, @object
	.size	buf_exec_prec, 8
buf_exec_prec:
	.zero	8
	.globl	taille_buf_prec
	.align 4
	.type	taille_buf_prec, @object
	.size	taille_buf_prec, 4
taille_buf_prec:
	.zero	4
	.globl	raison_precedente
	.data
	.align 4
	.type	raison_precedente, @object
	.size	raison_precedente, 4
raison_precedente:
	.long	1
	.text
	.globl	erreur_prim
	.type	erreur_prim, @function
erreur_prim:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	erreur_prim, .-erreur_prim
	.section	.rodata
	.align 8
.LC0:
	.string	"la limite ne peut ni negative ni nulle\n"
	.align 8
.LC1:
	.string	"la limite ne peut pas etre negative\n"
.LC2:
	.string	"+t:i:l:c"
	.text
	.globl	getOptions
	.type	getOptions, @function
getOptions:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR options[rip], 0
	mov	QWORD PTR options[rip+8], 10000000
	mov	DWORD PTR options[rip+16], 0
	mov	BYTE PTR options[rip+20], 0
	mov	DWORD PTR options[rip+24], 0
	jmp	.L3
.L12:
	cmp	DWORD PTR -4[rbp], 116
	je	.L4
	cmp	DWORD PTR -4[rbp], 116
	jg	.L14
	cmp	DWORD PTR -4[rbp], 108
	je	.L6
	cmp	DWORD PTR -4[rbp], 108
	jg	.L14
	cmp	DWORD PTR -4[rbp], 105
	je	.L7
	cmp	DWORD PTR -4[rbp], 105
	jg	.L14
	cmp	DWORD PTR -4[rbp], 63
	je	.L3
	cmp	DWORD PTR -4[rbp], 99
	je	.L9
	jmp	.L5
.L4:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR options[rip], rax
	mov	eax, DWORD PTR options[rip+24]
	add	eax, 2
	mov	DWORD PTR options[rip+24], eax
	jmp	.L3
.L7:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	imul	eax, eax, 1000
	cdqe
	mov	QWORD PTR options[rip+8], rax
	mov	rax, QWORD PTR options[rip+8]
	test	rax, rax
	jg	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	eax, DWORD PTR options[rip+24]
	add	eax, 2
	mov	DWORD PTR options[rip+24], eax
	jmp	.L3
.L6:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR options[rip+16], eax
	mov	eax, DWORD PTR options[rip+16]
	test	eax, eax
	jns	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	eax, DWORD PTR options[rip+24]
	add	eax, 2
	mov	DWORD PTR options[rip+24], eax
	jmp	.L3
.L9:
	mov	BYTE PTR options[rip+20], 1
	mov	eax, DWORD PTR options[rip+24]
	add	eax, 1
	mov	DWORD PTR options[rip+24], eax
	jmp	.L3
.L5:
.L14:
	nop
.L3:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC2[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L12
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getOptions, .-getOptions
	.section	.rodata
	.align 8
.LC3:
	.string	"erreur allocation memoire prog_argv\n"
	.text
	.globl	recup_prog_argv
	.type	recup_prog_argv, @function
recup_prog_argv:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -20[rbp]
	add	eax, 2
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR prog_argv[rip], rax
	mov	rax, QWORD PTR prog_argv[rip]
	test	rax, rax
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR prog_argv[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -4[rbp], 1
.L17:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jle	.L18
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	recup_prog_argv, .-recup_prog_argv
	.section	.rodata
.LC4:
	.string	"exit %d\n"
.LC5:
	.string	"write"
	.text
	.globl	print_exit
	.type	print_exit, @function
print_exit:
.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, 1056
	mov	eax, edi
	mov	DWORD PTR -1048[rbp], esi
	mov	BYTE PTR -1044[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR options[rip+20]
	test	al, al
	je	.L24
	cmp	BYTE PTR -1044[rbp], 0
	je	.L24
	mov	edx, DWORD PTR -1048[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	cmp	rax, -1
	jne	.L24
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_exit, .-print_exit
	.section	.rodata
.LC6:
	.string	"time"
	.text
	.globl	print_time
	.type	print_time, @function
print_time:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR options[rip]
	test	rax, rax
	je	.L31
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	time@PLT
	cmp	rax, -1
	jne	.L27
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rdx, QWORD PTR options[rip]
	mov	rcx, QWORD PTR -88[rbp]
	lea	rax, -80[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	strftime@PLT
	test	rax, rax
	je	.L31
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
.L31:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	print_time, .-print_time
	.section	.rodata
	.align 8
.LC7:
	.string	"erreur de reallocation memoire\n"
.LC8:
	.string	"read"
	.text
	.globl	lecture_de_l_affichage
	.type	lecture_de_l_affichage, @function
lecture_de_l_affichage:
.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, 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1056[rbp], 0
	mov	DWORD PTR -1048[rbp], 0
	jmp	.L33
.L37:
	mov	edx, DWORD PTR -1048[rbp]
	mov	eax, DWORD PTR -1060[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -1056[rbp], rax
	mov	rax, QWORD PTR -1056[rbp]
	test	rax, rax
	jne	.L34
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	mov	DWORD PTR -1064[rbp], 0
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR -1056[rbp]
	mov	ecx, DWORD PTR -1048[rbp]
	mov	eax, DWORD PTR -1064[rbp]
	add	eax, ecx
	cdqe
	add	rdx, rax
	mov	eax, DWORD PTR -1064[rbp]
	cdqe
	movzx	eax, BYTE PTR -1040[rbp+rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -1064[rbp], 1
.L35:
	mov	eax, DWORD PTR -1064[rbp]
	cmp	eax, DWORD PTR -1060[rbp]
	jl	.L36
	mov	edx, DWORD PTR -1048[rbp]
	mov	eax, DWORD PTR -1060[rbp]
	add	eax, edx
	mov	DWORD PTR -1048[rbp], eax
.L33:
	mov	eax, DWORD PTR tube[rip]
	lea	rcx, -1040[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1060[rbp], eax
	cmp	DWORD PTR -1060[rbp], 0
	jg	.L37
	cmp	DWORD PTR -1060[rbp], -1
	jne	.L38
	lea	rdi, .LC8[rip]
	call	erreur_prim
.L38:
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdx, QWORD PTR -1048[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	lecture_de_l_affichage, .-lecture_de_l_affichage
	.globl	afficher_resultat
	.type	afficher_resultat, @function
afficher_resultat:
.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, 32
	mov	rcx, rdx
	mov	rax, rsi
	mov	rdx, rdi
	mov	rdx, rcx
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 0
	je	.L42
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	cmp	rax, -1
	jne	.L43
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L43:
	mov	rax, QWORD PTR buf_exec_prec[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR buf_exec_prec[rip], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR taille_buf_prec[rip], eax
	jmp	.L41
.L42:
	mov	rax, QWORD PTR buf_exec_prec[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR buf_exec_prec[rip], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR taille_buf_prec[rip], eax
	nop
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	afficher_resultat, .-afficher_resultat
	.section	.rodata
.LC9:
	.string	"close"
.LC10:
	.string	"wait"
	.align 8
.LC11:
	.string	"le programme a quitt\303\251 avec le signal %d\n"
	.align 8
.LC12:
	.string	"le programme a quitt\303\251 pour raison inconnue\n"
	.text
	.globl	comparer_resultat
	.type	comparer_resultat, @function
comparer_resultat:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -42[rbp], 0
	mov	BYTE PTR -41[rbp], 0
	call	lecture_de_l_affichage
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR tube[rip]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L47
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L47:
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	wait@PLT
	cmp	eax, -1
	jne	.L48
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L48:
	movzx	eax, BYTE PTR options[rip+20]
	test	al, al
	je	.L49
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 127
	test	eax, eax
	jne	.L50
	mov	eax, DWORD PTR -40[rbp]
	sar	eax, 8
	movzx	edx, al
	mov	eax, DWORD PTR raison_precedente[rip]
	cmp	edx, eax
	je	.L49
	mov	eax, DWORD PTR -40[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	DWORD PTR raison_precedente[rip], eax
	mov	BYTE PTR -42[rbp], 1
	mov	BYTE PTR -41[rbp], 1
	jmp	.L49
.L50:
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 127
	add	eax, 1
	sar	al
	test	al, al
	jle	.L51
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L51:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L49:
	movzx	eax, BYTE PTR -42[rbp]
	xor	eax, 1
	test	al, al
	je	.L52
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR taille_buf_prec[rip]
	cmp	edx, eax
	je	.L53
	mov	BYTE PTR -42[rbp], 1
	jmp	.L52
.L53:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L54
.L56:
	mov	rdx, QWORD PTR buf_exec_prec[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L55
	mov	BYTE PTR -42[rbp], 1
.L55:
	add	DWORD PTR -36[rbp], 1
.L54:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L52
	movzx	eax, BYTE PTR -42[rbp]
	xor	eax, 1
	test	al, al
	jne	.L56
.L52:
	call	print_time
	movzx	eax, BYTE PTR -42[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	afficher_resultat
	mov	eax, DWORD PTR -40[rbp]
	sar	eax, 8
	movzx	edx, al
	movzx	eax, BYTE PTR -41[rbp]
	mov	esi, edx
	mov	edi, eax
	call	print_exit
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	comparer_resultat, .-comparer_resultat
	.section	.rodata
.LC13:
	.string	"pipe(tube1)"
.LC14:
	.string	"fork"
.LC15:
	.string	"dup2(tube[1],1)"
.LC16:
	.string	"close(tube[1])"
.LC17:
	.string	"close(tube[0])"
.LC18:
	.string	"execvp"
	.text
	.globl	switch_fork
	.type	switch_fork, @function
switch_fork:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, tube[rip]
	call	pipe@PLT
	cmp	eax, -1
	jne	.L60
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L60:
	call	fork@PLT
	cmp	eax, -1
	je	.L61
	test	eax, eax
	je	.L62
	jmp	.L70
.L61:
	lea	rdi, .LC14[rip]
	call	erreur_prim
	jmp	.L64
.L62:
	mov	eax, DWORD PTR tube[rip+4]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	cmp	eax, -1
	jne	.L65
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L65:
	mov	eax, DWORD PTR tube[rip+4]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L66
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L66:
	mov	eax, DWORD PTR tube[rip]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L67
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L67:
	mov	rdx, QWORD PTR prog_argv[rip]
	mov	rax, QWORD PTR fichier[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	lea	rdi, .LC18[rip]
	call	erreur_prim
	jmp	.L64
.L70:
	mov	eax, DWORD PTR tube[rip+4]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L68
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L68:
	call	comparer_resultat
	mov	rax, QWORD PTR options[rip+8]
	mov	edi, eax
	call	usleep@PLT
	nop
.L64:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	switch_fork, .-switch_fork
	.section	.rodata
	.align 8
.LC19:
	.string	"usage : detecter [-t <format de date>]\n[-i <intervalle en millisecondes>] [-l <nb d'executions>]\n[-c (code de retour)] prog arg1 ... argn\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.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	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L72
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 138
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L72:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	getOptions
	mov	eax, DWORD PTR options[rip+24]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	recup_prog_argv
	mov	rax, QWORD PTR prog_argv[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR fichier[rip], rax
	mov	eax, DWORD PTR options[rip+16]
	test	eax, eax
	jle	.L73
	mov	DWORD PTR -4[rbp], 0
	jmp	.L74
.L75:
	call	switch_fork
	add	DWORD PTR -4[rbp], 1
.L74:
	mov	eax, DWORD PTR options[rip+16]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L75
	jmp	.L78
.L73:
	call	switch_fork
	jmp	.L73
.L78:
	mov	rax, QWORD PTR buf_exec_prec[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR prog_argv[rip]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.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	"234517226.c"
	.text
	.comm	options,20,4
	.global	prog_argv
	.bss
	.align	2
	.type	prog_argv, %object
	.size	prog_argv, 4
prog_argv:
	.space	4
	.global	fichier
	.align	2
	.type	fichier, %object
	.size	fichier, 4
fichier:
	.space	4
	.comm	tube,8,4
	.global	buf_exec_prec
	.align	2
	.type	buf_exec_prec, %object
	.size	buf_exec_prec, 4
buf_exec_prec:
	.space	4
	.global	taille_buf_prec
	.align	2
	.type	taille_buf_prec, %object
	.size	taille_buf_prec, 4
taille_buf_prec:
	.space	4
	.global	raison_precedente
	.data
	.align	2
	.type	raison_precedente, %object
	.size	raison_precedente, 4
raison_precedente:
	.word	1
	.text
	.align	2
	.global	erreur_prim
	.syntax unified
	.arm
	.fpu softvfp
	.type	erreur_prim, %function
erreur_prim:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
	.size	erreur_prim, .-erreur_prim
	.section	.rodata
	.align	2
.LC0:
	.ascii	"la limite ne peut ni negative ni nulle\012\000"
	.align	2
.LC1:
	.ascii	"la limite ne peut pas etre negative\012\000"
	.align	2
.LC2:
	.ascii	"+t:i:l:c\000"
	.text
	.align	2
	.global	getOptions
	.syntax unified
	.arm
	.fpu softvfp
	.type	getOptions, %function
getOptions:
	@ 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]
	ldr	r3, .L16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L16
	ldr	r2, .L16+4
	str	r2, [r3, #4]
	ldr	r3, .L16
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L16
	mov	r2, #0
	strb	r2, [r3, #12]
	ldr	r3, .L16
	mov	r2, #0
	str	r2, [r3, #16]
	b	.L3
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	blt	.L15
	ldr	r3, [fp, #-8]
	cmp	r3, #116
	bgt	.L15
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	blt	.L15
	ldr	r3, [fp, #-8]
	sub	r3, r3, #99
	cmp	r3, #17
	ldrls	pc, [pc, r3, asl #2]
	b	.L15
.L7:
	.word	.L10
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L9
	.word	.L15
	.word	.L15
	.word	.L8
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L6
.L6:
	ldr	r3, .L16+8
	ldr	r3, [r3]
	ldr	r2, .L16
	str	r3, [r2]
	ldr	r3, .L16
	ldr	r3, [r3, #16]
	add	r3, r3, #2
	ldr	r2, .L16
	str	r3, [r2, #16]
	b	.L3
.L9:
	ldr	r3, .L16+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, .L16
	str	r2, [r3, #4]
	ldr	r3, .L16
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bgt	.L11
	ldr	r3, .L16+12
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L16+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, .L16
	ldr	r3, [r3, #16]
	add	r3, r3, #2
	ldr	r2, .L16
	str	r3, [r2, #16]
	b	.L3
.L8:
	ldr	r3, .L16+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L16
	str	r3, [r2, #8]
	ldr	r3, .L16
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bge	.L12
	ldr	r3, .L16+12
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L16+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L12:
	ldr	r3, .L16
	ldr	r3, [r3, #16]
	add	r3, r3, #2
	ldr	r2, .L16
	str	r3, [r2, #16]
	b	.L3
.L10:
	ldr	r3, .L16
	mov	r2, #1
	strb	r2, [r3, #12]
	ldr	r3, .L16
	ldr	r3, [r3, #16]
	add	r3, r3, #1
	ldr	r2, .L16
	str	r3, [r2, #16]
	b	.L3
.L15:
	nop
.L3:
	ldr	r2, .L16+24
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L13
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	options
	.word	10000000
	.word	optarg
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	getOptions, .-getOptions
	.section	.rodata
	.align	2
.LC3:
	.ascii	"erreur allocation memoire prog_argv\012\000"
	.text
	.align	2
	.global	recup_prog_argv
	.syntax unified
	.arm
	.fpu softvfp
	.type	recup_prog_argv, %function
recup_prog_argv:
	@ 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]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	add	r3, r3, #2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L23
	str	r2, [r3]
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L23+4
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L23+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L19:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L23
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L21
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	prog_argv
	.word	stderr
	.word	.LC3
	.size	recup_prog_argv, .-recup_prog_argv
	.section	.rodata
	.align	2
.LC4:
	.ascii	"exit %d\012\000"
	.align	2
.LC5:
	.ascii	"write\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_exit, %function
print_exit:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	mov	r3, r0
	str	r1, [fp, #-1044]
	strb	r3, [fp, #-1037]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L30+4
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L29
	ldrb	r3, [fp, #-1037]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1044]
	ldr	r1, .L30+8
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #1
	bl	write
	mov	r3, r0
	cmn	r3, #1
	bne	.L29
	ldr	r0, .L30+12
	bl	perror
	mov	r0, #1
	bl	exit
.L29:
	nop
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC6
	.word	options
	.word	.LC4
	.word	.LC5
	.size	print_exit, .-print_exit
	.section	.rodata
	.align	2
.LC7:
	.ascii	"time\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_time, %function
print_time:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L39+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L38
	sub	r3, fp, #80
	mov	r0, r3
	bl	time
	mov	r3, r0
	cmn	r3, #1
	bne	.L34
	ldr	r0, .L39+8
	bl	perror
	mov	r0, #1
	bl	exit
.L34:
	sub	r3, fp, #80
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-76]
	ldr	r3, .L39+4
	ldr	r2, [r3]
	sub	r0, fp, #72
	ldr	r3, [fp, #-76]
	mov	r1, #64
	bl	strftime
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	sub	r3, fp, #72
	mov	r0, r3
	bl	puts
	nop
.L38:
	nop
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC8
	.word	options
	.word	.LC7
	.size	print_time, .-print_time
	.section	.rodata
	.align	2
.LC9:
	.ascii	"erreur de reallocation memoire\012\000"
	.align	2
.LC10:
	.ascii	"read\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lecture_de_l_affichage
	.syntax unified
	.arm
	.fpu softvfp
	.type	lecture_de_l_affichage, %function
lecture_de_l_affichage:
	@ args = 0, pretend = 0, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	str	r0, [fp, #-1056]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1040]
	mov	r3, #0
	str	r3, [fp, #-1036]
	b	.L42
.L46:
	ldr	r0, [fp, #-1040]
	ldr	r2, [fp, #-1036]
	ldr	r3, [fp, #-1044]
	add	r3, r2, r3
	mov	r1, r3
	bl	realloc
	mov	r3, r0
	str	r3, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L50+4
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L50+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L43:
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L44
.L45:
	ldr	r3, [fp, #-1040]
	ldr	r1, [fp, #-1036]
	ldr	r2, [fp, #-1048]
	add	r2, r1, r2
	add	r2, r3, r2
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1048]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r2]
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L44:
	ldr	r2, [fp, #-1048]
	ldr	r3, [fp, #-1044]
	cmp	r2, r3
	blt	.L45
	ldr	r2, [fp, #-1036]
	ldr	r3, [fp, #-1044]
	add	r3, r2, r3
	str	r3, [fp, #-1036]
.L42:
	ldr	r3, .L50+12
	ldr	r0, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	bl	read
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bgt	.L46
	ldr	r3, [fp, #-1044]
	cmn	r3, #1
	bne	.L47
	ldr	r0, .L50+16
	bl	erreur_prim
.L47:
	ldr	r3, [fp, #-1056]
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	ldr	r0, [fp, #-1056]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC11
	.word	stderr
	.word	.LC9
	.word	tube
	.word	.LC10
	.size	lecture_de_l_affichage, .-lecture_de_l_affichage
	.align	2
	.global	afficher_resultat
	.syntax unified
	.arm
	.fpu softvfp
	.type	afficher_resultat, %function
afficher_resultat:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	sub	r3, fp, #16
	stm	r3, {r1, r2}
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	mov	r0, #1
	bl	write
	mov	r3, r0
	cmn	r3, #1
	bne	.L54
	ldr	r0, .L57
	bl	perror
	mov	r0, #1
	bl	exit
.L54:
	ldr	r3, .L57+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r2, .L57+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r2, .L57+8
	str	r3, [r2]
	b	.L52
.L53:
	ldr	r3, .L57+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r2, .L57+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r2, .L57+8
	str	r3, [r2]
	nop
.L52:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC5
	.word	buf_exec_prec
	.word	taille_buf_prec
	.size	afficher_resultat, .-afficher_resultat
	.section	.rodata
	.align	2
.LC12:
	.ascii	"close\000"
	.align	2
.LC13:
	.ascii	"wait\000"
	.align	2
.LC14:
	.ascii	"le programme a quitt\303\251 avec le signal %d\012\000"
	.align	2
.LC15:
	.ascii	"le programme a quitt\303\251 pour raison inconnue\012"
	.ascii	"\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	comparer_resultat
	.syntax unified
	.arm
	.fpu softvfp
	.type	comparer_resultat, %function
comparer_resultat:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-26]
	mov	r3, #0
	strb	r3, [fp, #-25]
	sub	r3, fp, #16
	mov	r0, r3
	bl	lecture_de_l_affichage
	ldr	r3, .L72+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L60
	ldr	r0, .L72+8
	bl	perror
	mov	r0, #1
	bl	exit
.L60:
	sub	r3, fp, #24
	mov	r0, r3
	bl	wait
	mov	r3, r0
	cmn	r3, #1
	bne	.L61
	ldr	r0, .L72+12
	bl	perror
	mov	r0, #1
	bl	exit
.L61:
	ldr	r3, .L72+16
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-24]
	and	r3, r3, #127
	cmp	r3, #0
	bne	.L63
	ldr	r3, [fp, #-24]
	asr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, .L72+20
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L62
	ldr	r3, [fp, #-24]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r2, .L72+20
	str	r3, [r2]
	mov	r3, #1
	strb	r3, [fp, #-26]
	mov	r3, #1
	strb	r3, [fp, #-25]
	b	.L62
.L63:
	ldr	r3, [fp, #-24]
	and	r3, r3, #255
	and	r3, r3, #127
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	ble	.L64
	ldr	r3, .L72+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	and	r3, r3, #127
	mov	r2, r3
	ldr	r1, .L72+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L64:
	ldr	r3, .L72+24
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L72+32
	bl	fwrite
	mov	r0, #1
	bl	exit
.L62:
	ldrb	r3, [fp, #-26]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L65
	ldr	r2, [fp, #-12]
	ldr	r3, .L72+36
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L66
	mov	r3, #1
	strb	r3, [fp, #-26]
	b	.L65
.L66:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L67
.L69:
	ldr	r3, .L72+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L68
	mov	r3, #1
	strb	r3, [fp, #-26]
.L68:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L67:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L65
	ldrb	r3, [fp, #-26]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L69
.L65:
	bl	print_time
	ldrb	r0, [fp, #-26]	@ zero_extendqisi2
	sub	r3, fp, #16
	ldm	r3, {r1, r2}
	bl	afficher_resultat
	ldr	r3, [fp, #-24]
	asr	r3, r3, #8
	and	r2, r3, #255
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	print_exit
	nop
	ldr	r3, .L72
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC16
	.word	tube
	.word	.LC12
	.word	.LC13
	.word	options
	.word	raison_precedente
	.word	stderr
	.word	.LC14
	.word	.LC15
	.word	taille_buf_prec
	.word	buf_exec_prec
	.size	comparer_resultat, .-comparer_resultat
	.section	.rodata
	.align	2
.LC17:
	.ascii	"pipe(tube1)\000"
	.align	2
.LC18:
	.ascii	"fork\000"
	.align	2
.LC19:
	.ascii	"dup2(tube[1],1)\000"
	.align	2
.LC20:
	.ascii	"close(tube[1])\000"
	.align	2
.LC21:
	.ascii	"close(tube[0])\000"
	.align	2
.LC22:
	.ascii	"execvp\000"
	.text
	.align	2
	.global	switch_fork
	.syntax unified
	.arm
	.fpu softvfp
	.type	switch_fork, %function
switch_fork:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L86
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L75
	ldr	r0, .L86+4
	bl	perror
	mov	r0, #1
	bl	exit
.L75:
	bl	fork
	mov	r3, r0
	cmn	r3, #1
	beq	.L76
	cmp	r3, #0
	beq	.L77
	b	.L85
.L76:
	ldr	r0, .L86+8
	bl	erreur_prim
	b	.L79
.L77:
	ldr	r3, .L86
	ldr	r3, [r3, #4]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	mov	r3, r0
	cmn	r3, #1
	bne	.L80
	ldr	r0, .L86+12
	bl	perror
	mov	r0, #1
	bl	exit
.L80:
	ldr	r3, .L86
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L81
	ldr	r0, .L86+16
	bl	perror
	mov	r0, #1
	bl	exit
.L81:
	ldr	r3, .L86
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L82
	ldr	r0, .L86+20
	bl	perror
	mov	r0, #1
	bl	exit
.L82:
	ldr	r3, .L86+24
	ldr	r3, [r3]
	ldr	r2, .L86+28
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	execvp
	ldr	r0, .L86+32
	bl	erreur_prim
	b	.L79
.L85:
	ldr	r3, .L86
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L83
	ldr	r0, .L86+16
	bl	perror
	mov	r0, #1
	bl	exit
.L83:
	bl	comparer_resultat
	ldr	r3, .L86+36
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	usleep
	nop
.L79:
	nop
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	tube
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	fichier
	.word	prog_argv
	.word	.LC22
	.word	options
	.size	switch_fork, .-switch_fork
	.section	.rodata
	.align	2
.LC23:
	.ascii	"usage : detecter [-t <format de date>]\012[-i <inte"
	.ascii	"rvalle en millisecondes>] [-l <nb d'executions>]\012"
	.ascii	"[-c (code de retour)] prog arg1 ... argn\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
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L89
	ldr	r3, .L96
	ldr	r3, [r3]
	mov	r2, #138
	mov	r1, #1
	ldr	r0, .L96+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L89:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getOptions
	ldr	r3, .L96+8
	ldr	r3, [r3, #16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	recup_prog_argv
	ldr	r3, .L96+12
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L96+16
	str	r3, [r2]
	ldr	r3, .L96+8
	ldr	r3, [r3, #8]
	cmp	r3, #0
	ble	.L90
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L91
.L92:
	bl	switch_fork
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L91:
	ldr	r3, .L96+8
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L92
	b	.L95
.L90:
	bl	switch_fork
	b	.L90
.L95:
	ldr	r3, .L96+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L96+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	stderr
	.word	.LC23
	.word	options
	.word	prog_argv
	.word	fichier
	.word	buf_exec_prec
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
