	.file	"18887178.c"
	.intel_syntax noprefix
	.text
	.globl	glob
	.data
	.align 4
	.type	glob, @object
	.size	glob, 4
glob:
	.long	420
	.section	.rodata
	.align 8
.LC0:
	.string	"fils de %d - pid : %d - var. globale : %d - var. locale : %d\n"
	.align 8
.LC1:
	.string	"p\303\250re de %d - pid : %d - var. globale : %d - var. locale : %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -24[rbp], 69
	call	fork@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L2
	mov	edi, 2
	call	sleep@PLT
	mov	ebx, DWORD PTR glob[rip]
	call	getpid@PLT
	mov	r12d, eax
	call	getppid@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	r8d, edx
	mov	ecx, ebx
	mov	edx, r12d
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR glob[rip], 119
	mov	DWORD PTR -24[rbp], 1312
	mov	ebx, DWORD PTR glob[rip]
	call	getpid@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, ecx
	mov	ecx, ebx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, 0
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"18887178.c"
	.text
	.global	glob
	.data
	.align	2
	.type	glob, %object
	.size	glob, 4
glob:
	.word	420
	.section	.rodata
	.align	2
.LC0:
	.ascii	"fils de %d - pid : %d - var. globale : %d - var. lo"
	.ascii	"cale : %d\012\000"
	.align	2
.LC1:
	.ascii	"p\303\250re de %d - pid : %d - var. globale : %d - "
	.ascii	"var. locale : %d\012\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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r3, #69
	str	r3, [fp, #-20]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	mov	r0, #2
	bl	sleep
	bl	getppid
	mov	r4, r0
	bl	getpid
	mov	r1, r0
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	mov	r1, r4
	ldr	r0, .L5+4
	bl	printf
	mov	r0, #1
	bl	sleep
	b	.L3
.L2:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	waitpid
	ldr	r3, .L5
	mov	r2, #119
	str	r2, [r3]
	mov	r3, #1312
	str	r3, [fp, #-20]
	bl	getpid
	mov	r1, r0
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, [fp, #-16]
	ldr	r0, .L5+8
	bl	printf
.L3:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L6:
	.align	2
.L5:
	.word	glob
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
