	.file	"534267.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Immediately before creating B. Only one process at this point."
.LC1:
	.string	"Forking B error."
	.align 8
.LC2:
	.string	"Immediately before creating D."
.LC3:
	.string	"Forking D error."
	.align 8
.LC4:
	.string	"Immediately before creating C."
.LC5:
	.string	"Forking C error."
	.align 8
.LC6:
	.string	"Immediately before creating E."
.LC7:
	.string	"Forking E error."
	.align 8
.LC8:
	.string	"Immediately before creating F."
.LC9:
	.string	"Forking F error."
	.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
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	edi, 65
	call	printInfo
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L4
	mov	edi, 66
	call	printInfo
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L5
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L5:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L6
	mov	edi, 68
	call	printInfo
	mov	edi, 68
	call	exitProc
	jmp	.L3
.L6:
	mov	edi, 0
	call	wait@PLT
	mov	edi, 66
	call	exitProc
	jmp	.L3
.L4:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L7:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L8
	mov	edi, 67
	call	printInfo
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L9
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L9:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L10
	mov	edi, 69
	call	printInfo
	mov	edi, 69
	call	exitProc
	jmp	.L3
.L10:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L11
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L11:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L12
	mov	edi, 70
	call	printInfo
	mov	edi, 70
	call	exitProc
	jmp	.L3
.L12:
	mov	edi, 0
	call	wait@PLT
	mov	edi, 0
	call	wait@PLT
	mov	edi, 67
	call	exitProc
	jmp	.L3
.L8:
	mov	edi, 0
	call	wait@PLT
	mov	edi, 0
	call	wait@PLT
	mov	edi, 65
	call	exitProc
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC10:
	.string	"Immediately after creating %c.\n"
	.align 8
.LC11:
	.string	"%c: I am %d, and my parent is %d.\n"
	.text
	.globl	printInfo
	.type	printInfo, @function
printInfo:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	call	getppid@PLT
	mov	ebx, eax
	call	getpid@PLT
	mov	edx, eax
	movsx	eax, BYTE PTR -20[rbp]
	mov	ecx, ebx
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printInfo, .-printInfo
	.section	.rodata
.LC12:
	.string	"Exiting %c...\n"
	.text
	.globl	exitProc
	.type	exitProc, @function
exitProc:
.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, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	exitProc, .-exitProc
	.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	"534267.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Immediately before creating B. Only one process at "
	.ascii	"this point.\000"
	.align	2
.LC1:
	.ascii	"Forking B error.\000"
	.align	2
.LC2:
	.ascii	"Immediately before creating D.\000"
	.align	2
.LC3:
	.ascii	"Forking D error.\000"
	.align	2
.LC4:
	.ascii	"Immediately before creating C.\000"
	.align	2
.LC5:
	.ascii	"Forking C error.\000"
	.align	2
.LC6:
	.ascii	"Immediately before creating E.\000"
	.align	2
.LC7:
	.ascii	"Forking E error.\000"
	.align	2
.LC8:
	.ascii	"Immediately before creating F.\000"
	.align	2
.LC9:
	.ascii	"Forking F error.\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]
	mov	r0, #65
	bl	printInfo
	ldr	r0, .L13
	bl	puts
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L13+8
	bl	puts
	mov	r3, #1
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	mov	r0, #66
	bl	printInfo
	ldr	r0, .L13+12
	bl	puts
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L13+16
	bl	puts
	mov	r3, #1
	b	.L3
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L6
	mov	r0, #68
	bl	printInfo
	mov	r0, #68
	bl	exitProc
	mov	r3, r0
	b	.L3
.L6:
	mov	r0, #0
	bl	wait
	mov	r0, #66
	bl	exitProc
	mov	r3, r0
	b	.L3
.L4:
	ldr	r0, .L13+20
	bl	puts
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L13+24
	bl	puts
	mov	r3, #1
	b	.L3
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	mov	r0, #67
	bl	printInfo
	ldr	r0, .L13+28
	bl	puts
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L13+32
	bl	puts
	mov	r3, #1
	b	.L3
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	mov	r0, #69
	bl	printInfo
	mov	r0, #69
	bl	exitProc
	mov	r3, r0
	b	.L3
.L10:
	ldr	r0, .L13+36
	bl	puts
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L11
	ldr	r0, .L13+40
	bl	puts
	mov	r3, #1
	b	.L3
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
	mov	r0, #70
	bl	printInfo
	mov	r0, #70
	bl	exitProc
	mov	r3, r0
	b	.L3
.L12:
	mov	r0, #0
	bl	wait
	mov	r0, #0
	bl	wait
	mov	r0, #67
	bl	exitProc
	mov	r3, r0
	b	.L3
.L8:
	mov	r0, #0
	bl	wait
	mov	r0, #0
	bl	wait
	mov	r0, #65
	bl	exitProc
	mov	r3, r0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	stdout
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Immediately after creating %c.\012\000"
	.align	2
.LC11:
	.ascii	"%c: I am %d, and my parent is %d.\012\000"
	.text
	.align	2
	.global	printInfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	printInfo, %function
printInfo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L16
	bl	printf
	ldrb	r4, [fp, #-13]	@ zero_extendqisi2
	bl	getpid
	mov	r5, r0
	bl	getppid
	mov	r3, r0
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L16+4
	bl	printf
	ldr	r3, .L16+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC10
	.word	.LC11
	.word	stdout
	.size	printInfo, .-printInfo
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Exiting %c...\012\000"
	.text
	.align	2
	.global	exitProc
	.syntax unified
	.arm
	.fpu softvfp
	.type	exitProc, %function
exitProc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L20
	bl	printf
	ldr	r3, .L20+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC12
	.word	stdout
	.size	exitProc, .-exitProc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
