	.file	"731680.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nJ'ignore le signal SIGINT (<Ctrl + \\C>)"
	.text
	.globl	repSIGINT
	.type	repSIGINT, @function
repSIGINT:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	repSIGINT, .-repSIGINT
	.section	.rodata
.LC1:
	.string	"ERREUR FORK"
.LC2:
	.string	"Je suis le fils : "
.LC3:
	.string	"pid : %d\n"
.LC4:
	.string	"ppid : %d\n"
.LC5:
	.string	"Je suis le p\303\250re : "
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L4
.L3:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L5
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	getppid@PLT
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L6
.L7:
	call	getppid@PLT
	mov	esi, 2
	mov	edi, eax
	call	kill@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -8[rbp], 1
.L6:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L7
	jmp	.L4
.L5:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	getppid@PLT
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, repSIGINT[rip]
	mov	edi, 2
	call	signal@PLT
.L4:
	jmp	.L4
	.cfi_endproc
.LFE7:
	.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	"731680.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012J'ignore le signal SIGINT (<Ctrl + \\C>)\000"
	.text
	.align	2
	.global	repSIGINT
	.syntax unified
	.arm
	.fpu softvfp
	.type	repSIGINT, %function
repSIGINT:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	repSIGINT, .-repSIGINT
	.section	.rodata
	.align	2
.LC1:
	.ascii	"ERREUR FORK\000"
	.align	2
.LC2:
	.ascii	"Je suis le fils : \000"
	.align	2
.LC3:
	.ascii	"pid : %d\012\000"
	.align	2
.LC4:
	.ascii	"ppid : %d\012\000"
	.align	2
.LC5:
	.ascii	"Je suis le p\303\250re : \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L10
	bl	puts
	b	.L6
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L10+4
	bl	printf
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L10+8
	bl	printf
	bl	getppid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L8
.L9:
	bl	getppid
	mov	r3, r0
	mov	r1, #2
	mov	r0, r3
	bl	kill
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L9
	b	.L6
.L7:
	ldr	r0, .L10+16
	bl	printf
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L10+8
	bl	printf
	bl	getppid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r1, .L10+20
	mov	r0, #2
	bl	signal
.L6:
	b	.L6
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	repSIGINT
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
