	.file	"204812.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Process ID = %d (inside first forked() process)\n"
	.align 8
.LC1:
	.string	"Process ID = %d (inside second forked() process)\n"
	.align 8
.LC2:
	.string	"Process ID = %d (inside third forked() process)\n"
	.align 8
.LC4:
	.string	"Process ID = %d (inside fourth forked() process)\n"
	.align 8
.LC5:
	.string	"Process ID of first process  = %d\n"
	.align 8
.LC6:
	.string	"Process ID of second process = %d\n"
	.align 8
.LC7:
	.string	"Process ID of third process  = %d\n"
	.align 8
.LC8:
	.string	"Process ID of fourth process = %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
	lea	r11, -196608[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3488
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -200084[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -200084[rbp]
	cdqe
	mov	edx, DWORD PTR -200084[rbp]
	mov	DWORD PTR -200016[rbp+rax*4], edx
	add	DWORD PTR -200084[rbp], 1
.L2:
	cmp	DWORD PTR -200084[rbp], 49999
	jle	.L3
	mov	DWORD PTR -200080[rbp], 50000
	mov	edx, 432
	mov	esi, 16
	mov	edi, 0
	call	shmget@PLT
	mov	DWORD PTR -200076[rbp], eax
	mov	eax, DWORD PTR -200076[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	mov	QWORD PTR -200056[rbp], rax
	mov	rax, QWORD PTR -200056[rbp]
	mov	QWORD PTR -200048[rbp], rax
	mov	rax, QWORD PTR -200056[rbp]
	add	rax, 4
	mov	QWORD PTR -200040[rbp], rax
	mov	rax, QWORD PTR -200056[rbp]
	add	rax, 8
	mov	QWORD PTR -200032[rbp], rax
	mov	rax, QWORD PTR -200056[rbp]
	add	rax, 12
	mov	QWORD PTR -200024[rbp], rax
	mov	rax, QWORD PTR -200048[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -200040[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -200032[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -200024[rbp]
	mov	DWORD PTR [rax], 0
	call	fork@PLT
	mov	DWORD PTR -200072[rbp], eax
	cmp	DWORD PTR -200072[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR -200072[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -200080[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	esi, eax
	mov	rdx, QWORD PTR -200048[rbp]
	lea	rax, -200016[rbp]
	mov	rcx, rdx
	mov	edx, esi
	mov	esi, 0
	mov	rdi, rax
	call	sumArr
	mov	edi, 0
	call	exit@PLT
.L4:
	call	fork@PLT
	mov	DWORD PTR -200068[rbp], eax
	cmp	DWORD PTR -200068[rbp], 0
	jne	.L5
	mov	eax, DWORD PTR -200068[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -200080[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edi, eax
	mov	eax, DWORD PTR -200080[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	esi, eax
	mov	rdx, QWORD PTR -200040[rbp]
	lea	rax, -200016[rbp]
	mov	rcx, rdx
	mov	edx, edi
	mov	rdi, rax
	call	sumArr
	mov	edi, 0
	call	exit@PLT
.L5:
	call	fork@PLT
	mov	DWORD PTR -200064[rbp], eax
	cmp	DWORD PTR -200064[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -200064[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -200080[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	mov	eax, DWORD PTR -200080[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	esi, eax
	mov	rcx, QWORD PTR -200032[rbp]
	lea	rax, -200016[rbp]
	mov	rdi, rax
	call	sumArr
	mov	edi, 0
	call	exit@PLT
.L6:
	call	fork@PLT
	mov	DWORD PTR -200060[rbp], eax
	cmp	DWORD PTR -200060[rbp], 0
	jne	.L7
	mov	eax, DWORD PTR -200060[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -200080[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	esi, xmm0
	mov	rcx, QWORD PTR -200024[rbp]
	mov	edx, DWORD PTR -200080[rbp]
	lea	rax, -200016[rbp]
	mov	rdi, rax
	call	sumArr
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -200072[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -200068[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -200064[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -200060[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -200088[rbp]
	mov	eax, DWORD PTR -200072[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	lea	rcx, -200088[rbp]
	mov	eax, DWORD PTR -200068[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	lea	rcx, -200088[rbp]
	mov	eax, DWORD PTR -200064[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	lea	rcx, -200088[rbp]
	mov	eax, DWORD PTR -200060[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	rax, QWORD PTR -200024[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -200032[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -200040[rbp]
	mov	esi, DWORD PTR [rax]
	mov	rax, QWORD PTR -200048[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	finalizeProcessing
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	sumArr
	.type	sumArr, @function
sumArr:
.LFB7:
	.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 -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -4[rbp], 1
.L11:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L12
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sumArr, .-sumArr
	.section	.rodata
.LC9:
	.string	"Processing Summary:"
.LC10:
	.string	"   First process sum:   %d\n"
.LC11:
	.string	"   Second process sum:  %d\n"
.LC12:
	.string	"   Third process sum:   %d\n"
.LC13:
	.string	"   Fourth process sum:  %d\n"
.LC14:
	.string	"   Total sum:           %d\n"
.LC15:
	.string	"   Average:             %d\n"
	.text
	.globl	finalizeProcessing
	.type	finalizeProcessing, @function
finalizeProcessing:
.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	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 351843721
	shr	rdx, 32
	sar	edx, 12
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	finalizeProcessing, .-finalizeProcessing
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1072168960
	.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	"204812.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Process ID = %d (inside first forked() process)\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"Process ID = %d (inside second forked() process)\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Process ID = %d (inside third forked() process)\012"
	.ascii	"\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.align	2
.LC3:
	.ascii	"Process ID = %d (inside fourth forked() process)\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Process ID of first process  = %d\012\000"
	.align	2
.LC5:
	.ascii	"Process ID of second process = %d\012\000"
	.align	2
.LC6:
	.ascii	"Process ID of third process  = %d\012\000"
	.align	2
.LC7:
	.ascii	"Process ID of fourth process = %d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 200056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #199680
	sub	sp, sp, #380
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3444]
	b	.L2
.L3:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3444]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #196608
	sub	r2, r2, #12
	ldr	r2, [r2, #-3444]
	str	r2, [r3, #-3396]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3444]
	add	r3, r3, #1
	str	r3, [r2, #-3444]
.L2:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3444]
	ldr	r2, .L10+4
	cmp	r3, r2
	ble	.L3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L10+8
	str	r3, [r2, #-3440]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #432
	mov	r1, #16
	mov	r0, #0
	bl	shmget
	str	r0, [r4, #-3436]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-3436]
	bl	shmat
	str	r0, [r4, #-3432]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3432]
	str	r3, [r2, #-3428]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3432]
	add	r3, r3, #4
	str	r3, [r2, #-3424]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3432]
	add	r3, r3, #8
	str	r3, [r2, #-3420]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3432]
	add	r3, r3, #12
	str	r3, [r2, #-3416]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3428]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3424]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3420]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3416]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3412]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3412]
	cmp	r3, #0
	bne	.L4
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3412]
	ldr	r0, .L10+12
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3440]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r0, fp, #199680
	sub	r0, r0, #12
	sub	r0, r0, #324
	ldr	r3, [r3, #-3428]
	mov	r1, #0
	bl	sumArr
	mov	r0, #0
	bl	exit
.L4:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3408]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3408]
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3408]
	ldr	r0, .L10+16
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3440]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r1, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3440]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r0, fp, #199680
	sub	r0, r0, #12
	sub	r0, r0, #324
	ldr	r3, [r3, #-3424]
	bl	sumArr
	mov	r0, #0
	bl	exit
.L5:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3404]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3404]
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3404]
	ldr	r0, .L10+20
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3440]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r4, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r0, [r3, #-3440]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L10+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r0, fp, #199680
	sub	r0, r0, #12
	sub	r0, r0, #324
	ldr	r3, [r3, #-3420]
	mov	r1, r4
	bl	sumArr
	mov	r0, #0
	bl	exit
.L6:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3400]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3400]
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3400]
	ldr	r0, .L10+28
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r0, [r3, #-3440]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L10+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r1, r0
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r2, fp, #196608
	sub	r2, r2, #12
	sub	r0, fp, #199680
	sub	r0, r0, #12
	sub	r0, r0, #324
	ldr	r3, [r3, #-3416]
	ldr	r2, [r2, #-3440]
	bl	sumArr
	mov	r0, #0
	bl	exit
.L7:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3412]
	ldr	r0, .L10+32
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3408]
	ldr	r0, .L10+36
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3404]
	ldr	r0, .L10+40
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r1, [r3, #-3400]
	ldr	r0, .L10+44
	bl	printf
	sub	r3, fp, #199680
	sub	r3, r3, #12
	sub	r3, r3, #376
	sub	r2, fp, #196608
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-3412]
	bl	waitpid
	sub	r3, fp, #199680
	sub	r3, r3, #12
	sub	r3, r3, #376
	sub	r2, fp, #196608
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-3408]
	bl	waitpid
	sub	r3, fp, #199680
	sub	r3, r3, #12
	sub	r3, r3, #376
	sub	r2, fp, #196608
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-3404]
	bl	waitpid
	sub	r3, fp, #199680
	sub	r3, r3, #12
	sub	r3, r3, #376
	sub	r2, fp, #196608
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-3400]
	bl	waitpid
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3428]
	ldr	r0, [r3]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3424]
	ldr	r1, [r3]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3420]
	ldr	r2, [r3]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3416]
	ldr	r3, [r3]
	bl	finalizeProcessing
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC8
	.word	49999
	.word	50000
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1072168960
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.align	2
	.global	sumArr
	.syntax unified
	.arm
	.fpu softvfp
	.type	sumArr, %function
sumArr:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L13
.L14:
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L13:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L14
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sumArr, .-sumArr
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Processing Summary:\000"
	.align	2
.LC10:
	.ascii	"   First process sum:   %d\012\000"
	.align	2
.LC11:
	.ascii	"   Second process sum:  %d\012\000"
	.align	2
.LC12:
	.ascii	"   Third process sum:   %d\012\000"
	.align	2
.LC13:
	.ascii	"   Fourth process sum:  %d\012\000"
	.align	2
.LC14:
	.ascii	"   Total sum:           %d\012\000"
	.align	2
.LC15:
	.ascii	"   Average:             %d\012\000"
	.text
	.align	2
	.global	finalizeProcessing
	.syntax unified
	.arm
	.fpu softvfp
	.type	finalizeProcessing, %function
finalizeProcessing:
	@ 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]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L16
	smull	r1, r2, r3, r2
	asr	r2, r2, #12
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r0, .L16+4
	bl	puts
	ldr	r1, [fp, #-16]
	ldr	r0, .L16+8
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L16+12
	bl	printf
	ldr	r1, [fp, #-24]
	ldr	r0, .L16+16
	bl	printf
	ldr	r1, [fp, #-28]
	ldr	r0, .L16+20
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r0, .L16+24
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, .L16+28
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	351843721
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	finalizeProcessing, .-finalizeProcessing
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
