	.file	"724090.c"
	.intel_syntax noprefix
	.text
	.globl	amount
	.bss
	.align 4
	.type	amount, @object
	.size	amount, 4
amount:
	.zero	4
	.globl	file
	.align 8
	.type	file, @object
	.size	file, 8
file:
	.zero	8
	.globl	pid2
	.align 4
	.type	pid2, @object
	.size	pid2, 4
pid2:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Parent process received SIGUSR2"
	.align 8
.LC1:
	.string	"\nSending SIGUSR1 to second child..."
	.text
	.globl	handler_sigusr2
	.type	handler_sigusr2, @function
handler_sigusr2:
.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
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	eax, DWORD PTR pid2[rip]
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	handler_sigusr2, .-handler_sigusr2
	.section	.rodata
	.align 8
.LC2:
	.string	"Parent process received SIGUSR1"
	.text
	.globl	handler_sigusr1
	.type	handler_sigusr1, @function
handler_sigusr1:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	handler_sigusr1, .-handler_sigusr1
	.section	.rodata
.LC3:
	.string	"open"
.LC4:
	.string	"Numbers generated:"
.LC5:
	.string	"%i\n"
	.align 8
.LC6:
	.string	"\nSending signal SIGUSR2 to parent..."
	.text
	.globl	generate_numbers
	.type	generate_numbers, @function
generate_numbers:
.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	rax, QWORD PTR file[rip]
	mov	edx, 438
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, -4
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR amount[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1234
	call	srand@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L5
.L6:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L5:
	mov	eax, DWORD PTR amount[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L6
	mov	eax, DWORD PTR amount[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	call	getppid@PLT
	mov	esi, 12
	mov	edi, eax
	call	kill@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	generate_numbers, .-generate_numbers
	.section	.rodata
.LC8:
	.string	"\nMean: %f\n"
.LC9:
	.string	"Standard deviation: %f\n"
	.align 8
.LC10:
	.string	"\nSending signal SIGUSR1 to parent..."
	.text
	.globl	analyze_numbers
	.type	analyze_numbers, @function
analyze_numbers:
.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, 32
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR amount[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR file[rip]
	mov	edx, 438
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jns	.L8
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, -4
	call	exit@PLT
.L8:
	mov	eax, DWORD PTR amount[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -28[rbp], eax
	add	DWORD PTR -24[rbp], 1
.L9:
	mov	eax, DWORD PTR amount[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L10
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR amount[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	subss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movsd	xmm0, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
.L11:
	mov	eax, DWORD PTR amount[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR amount[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -32[rbp]
	divss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -12[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -32[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	call	getppid@PLT
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	analyze_numbers, .-analyze_numbers
	.section	.rodata
.LC11:
	.string	"usage: %s file [amount]"
	.align 8
.LC12:
	.string	"Amount must be a positive number"
.LC13:
	.string	"fork"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR amount[rip], 100
	cmp	DWORD PTR -20[rbp], 2
	je	.L14
	cmp	DWORD PTR -20[rbp], 3
	je	.L14
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR file[rip], rax
	cmp	DWORD PTR -20[rbp], 3
	jne	.L16
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR amount[rip], eax
	mov	eax, DWORD PTR amount[rip]
	test	eax, eax
	jg	.L16
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -2
	jmp	.L15
.L16:
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L17
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, -3
	call	exit@PLT
.L17:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L18
	lea	rsi, generate_numbers[rip]
	mov	edi, 12
	call	signal@PLT
.L19:
	call	pause@PLT
	jmp	.L19
.L18:
	call	fork@PLT
	mov	DWORD PTR pid2[rip], eax
	mov	eax, DWORD PTR pid2[rip]
	test	eax, eax
	jns	.L20
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, -3
	call	exit@PLT
.L20:
	mov	eax, DWORD PTR pid2[rip]
	test	eax, eax
	jne	.L21
	lea	rsi, analyze_numbers[rip]
	mov	edi, 10
	call	signal@PLT
.L22:
	call	pause@PLT
	jmp	.L22
.L21:
	lea	rsi, handler_sigusr2[rip]
	mov	edi, 12
	call	signal@PLT
	lea	rsi, handler_sigusr1[rip]
	mov	edi, 10
	call	signal@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 12
	mov	edi, eax
	call	kill@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L23
.L24:
	mov	edi, 0
	call	wait@PLT
	add	DWORD PTR -8[rbp], 1
.L23:
	cmp	DWORD PTR -8[rbp], 1
	jle	.L24
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1073741824
	.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	"724090.c"
	.text
	.comm	amount,4,4
	.comm	file,4,4
	.comm	pid2,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Parent process received SIGUSR2\000"
	.align	2
.LC1:
	.ascii	"\012Sending SIGUSR1 to second child...\000"
	.text
	.align	2
	.global	handler_sigusr2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler_sigusr2, %function
handler_sigusr2:
	@ 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
	ldr	r0, .L2+4
	bl	puts
	mov	r0, #1
	bl	sleep
	ldr	r3, .L2+8
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	kill
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	pid2
	.size	handler_sigusr2, .-handler_sigusr2
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Parent process received SIGUSR1\000"
	.text
	.align	2
	.global	handler_sigusr1
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler_sigusr1, %function
handler_sigusr1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC2
	.size	handler_sigusr1, .-handler_sigusr1
	.section	.rodata
	.align	2
.LC3:
	.ascii	"open\000"
	.align	2
.LC4:
	.ascii	"Numbers generated:\000"
	.align	2
.LC5:
	.ascii	"%i\012\000"
	.align	2
.LC6:
	.ascii	"\012Sending signal SIGUSR2 to parent...\000"
	.text
	.align	2
	.global	generate_numbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_numbers, %function
generate_numbers:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L11
	ldr	r3, [r3]
	ldr	r2, .L11+4
	ldr	r1, .L11+8
	mov	r0, r3
	bl	open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L11+12
	bl	perror
	mvn	r0, #3
	bl	exit
.L8:
	ldr	r3, .L11+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, .L11+20
	bl	puts
	ldr	r0, .L11+24
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L9
.L10:
	bl	rand
	mov	r1, r0
	ldr	r3, .L11+28
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+32
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L9:
	ldr	r3, .L11+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L10
	ldr	r3, .L11+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	write
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r0, [fp, #-12]
	bl	close
	ldr	r0, .L11+36
	bl	puts
	bl	getppid
	mov	r3, r0
	mov	r1, #12
	mov	r0, r3
	bl	kill
	mov	r0, #0
	bl	exit
.L12:
	.align	2
.L11:
	.word	file
	.word	438
	.word	577
	.word	.LC3
	.word	amount
	.word	.LC4
	.word	1234
	.word	1374389535
	.word	.LC5
	.word	.LC6
	.size	generate_numbers, .-generate_numbers
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fsub
	.global	__aeabi_f2d
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012Mean: %f\012\000"
	.align	2
.LC8:
	.ascii	"Standard deviation: %f\012\000"
	.align	2
.LC9:
	.ascii	"\012Sending signal SIGUSR1 to parent...\000"
	.text
	.align	2
	.global	analyze_numbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	analyze_numbers, %function
analyze_numbers:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L19
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, .L19+8
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L14
	ldr	r0, .L19+12
	bl	perror
	mvn	r0, #3
	bl	exit
.L14:
	ldr	r3, .L19
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	read
	ldr	r0, [fp, #-20]
	bl	close
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L15
.L16:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L15:
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L16
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L17
.L18:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L17:
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L18
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L19+16
	bl	printf
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L19+20
	bl	printf
	ldr	r0, .L19+24
	bl	puts
	bl	getppid
	mov	r3, r0
	mov	r1, #10
	mov	r0, r3
	bl	kill
	ldr	r0, [fp, #-24]
	bl	free
	mov	r0, #0
	bl	exit
.L20:
	.align	2
.L19:
	.word	amount
	.word	file
	.word	438
	.word	.LC3
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	analyze_numbers, .-analyze_numbers
	.section	.rodata
	.align	2
.LC10:
	.ascii	"usage: %s file [amount]\000"
	.align	2
.LC11:
	.ascii	"Amount must be a positive number\000"
	.align	2
.LC12:
	.ascii	"fork\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, .L33
	mov	r2, #100
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L22
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L22
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L33+4
	bl	printf
	mvn	r3, #0
	b	.L23
.L22:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, .L33+8
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L24
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L33
	str	r3, [r2]
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L24
	ldr	r0, .L33+12
	bl	printf
	mvn	r3, #1
	b	.L23
.L24:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L25
	ldr	r0, .L33+16
	bl	perror
	mvn	r0, #2
	bl	exit
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L26
	ldr	r1, .L33+20
	mov	r0, #12
	bl	signal
.L27:
	bl	pause
	b	.L27
.L26:
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33+24
	str	r2, [r3]
	ldr	r3, .L33+24
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L28
	ldr	r0, .L33+16
	bl	perror
	mvn	r0, #2
	bl	exit
.L28:
	ldr	r3, .L33+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r1, .L33+28
	mov	r0, #10
	bl	signal
.L30:
	bl	pause
	b	.L30
.L29:
	ldr	r1, .L33+32
	mov	r0, #12
	bl	signal
	ldr	r1, .L33+36
	mov	r0, #10
	bl	signal
	mov	r0, #1
	bl	sleep
	mov	r1, #12
	ldr	r0, [fp, #-8]
	bl	kill
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L31
.L32:
	mov	r0, #0
	bl	wait
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	ble	.L32
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	amount
	.word	.LC10
	.word	file
	.word	.LC11
	.word	.LC12
	.word	generate_numbers
	.word	pid2
	.word	analyze_numbers
	.word	handler_sigusr2
	.word	handler_sigusr1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
