	.file	"703308.c"
	.intel_syntax noprefix
	.text
	.globl	F
	.bss
	.align 8
	.type	F, @object
	.size	F, 8
F:
	.zero	8
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.globl	C
	.align 8
	.type	C, @object
	.size	C, 8
C:
	.zero	8
	.globl	Npipe
	.align 4
	.type	Npipe, @object
	.size	Npipe, 4
Npipe:
	.zero	4
	.globl	Pfds
	.align 8
	.type	Pfds, @object
	.size	Pfds, 8
Pfds:
	.zero	8
	.globl	Nfigli
	.align 4
	.type	Nfigli, @object
	.size	Nfigli, 4
Nfigli:
	.zero	4
	.globl	Pids
	.align 8
	.type	Pids, @object
	.size	Pids, 8
Pids:
	.zero	8
	.globl	ok
	.data
	.type	ok, @object
	.size	ok, 1
ok:
	.byte	81
	.section	.rodata
	.align 8
.LC0:
	.string	"Inserire il nome di file ed almeno un carattere\n"
.LC1:
	.string	"Impossibile allocare C\n"
.LC2:
	.string	"Impossibile allocare Pfds\n"
	.align 8
.LC3:
	.string	"Impossibile creare la pipe %d\n"
.LC4:
	.string	"Impossibile allocare Pids\n"
	.align 8
.LC5:
	.string	"Impossibile forkare il processo %d\n"
.LC6:
	.string	"Impossibile inviare su %d\n"
	.align 8
.LC7:
	.string	"Il figlio che cerca il carattere %c ha incontrato un errore\n"
	.align 8
.LC8:
	.string	"Il figlio che cerca il carattere %c ha trovato %d linee\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	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 2
	ja	.L2
	lea	rsi, .LC0[rip]
	mov	edi, 2
	mov	eax, 0
	call	zprintf
	mov	eax, 1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR F[rip], rax
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 2
	mov	DWORD PTR N[rip], eax
	mov	eax, DWORD PTR N[rip]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR C[rip], rax
	mov	rax, QWORD PTR C[rip]
	test	rax, rax
	jne	.L4
	lea	rsi, .LC1[rip]
	mov	edi, 2
	mov	eax, 0
	call	zprintf
	mov	eax, 1
	jmp	.L3
.L4:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR C[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -36[rbp], 1
.L5:
	mov	eax, DWORD PTR N[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L6
	mov	eax, DWORD PTR N[rip]
	mov	DWORD PTR Npipe[rip], eax
	mov	eax, DWORD PTR Npipe[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR Pfds[rip], rax
	mov	rax, QWORD PTR Pfds[rip]
	test	rax, rax
	jne	.L7
	lea	rsi, .LC2[rip]
	mov	edi, 2
	mov	eax, 0
	call	zprintf
	mov	eax, 1
	jmp	.L3
.L7:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L8
.L10:
	mov	rdx, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	je	.L9
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	edi, 2
	mov	eax, 0
	call	zprintf
	mov	eax, 1
	jmp	.L3
.L9:
	add	DWORD PTR -36[rbp], 1
.L8:
	mov	eax, DWORD PTR Npipe[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L10
	mov	eax, DWORD PTR N[rip]
	mov	DWORD PTR Nfigli[rip], eax
	mov	eax, DWORD PTR Nfigli[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR Pids[rip], rax
	mov	rax, QWORD PTR Pids[rip]
	test	rax, rax
	jne	.L11
	lea	rsi, .LC4[rip]
	mov	edi, 2
	mov	eax, 0
	call	zprintf
	mov	eax, 1
	jmp	.L3
.L11:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L12
.L15:
	mov	rdx, QWORD PTR Pids[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	lea	rbx, [rdx+rax]
	call	fork@PLT
	mov	DWORD PTR [rbx], eax
	mov	rdx, QWORD PTR Pids[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L13
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	figlio
	jmp	.L3
.L13:
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	lea	rsi, .LC5[rip]
	mov	edi, 2
	mov	eax, 0
	call	zprintf
	mov	eax, 1
	jmp	.L3
.L14:
	add	DWORD PTR -36[rbp], 1
.L12:
	mov	eax, DWORD PTR Nfigli[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L15
	mov	rax, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 1
	lea	rsi, ok[rip]
	mov	edi, eax
	call	write@PLT
	cmp	rax, 1
	je	.L16
	mov	rax, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	lea	rsi, .LC6[rip]
	mov	edi, 2
	mov	eax, 0
	call	zprintf
	mov	eax, 1
	jmp	.L3
.L16:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L17
.L18:
	mov	rdx, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	close@PLT
	mov	rdx, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -36[rbp], 1
.L17:
	mov	eax, DWORD PTR Npipe[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L18
	mov	DWORD PTR -36[rbp], 0
	jmp	.L19
.L24:
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L20
.L23:
	mov	rdx, QWORD PTR Pids[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L21
	mov	eax, DWORD PTR -40[rbp]
	sar	eax, 8
	movzx	eax, al
	cmp	eax, 255
	jne	.L22
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, eax
	lea	rsi, .LC7[rip]
	mov	edi, 1
	mov	eax, 0
	call	zprintf
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -40[rbp]
	sar	eax, 8
	movzx	edx, al
	mov	rcx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC8[rip]
	mov	edi, 1
	mov	eax, 0
	call	zprintf
.L21:
	add	DWORD PTR -32[rbp], 1
.L20:
	mov	eax, DWORD PTR Nfigli[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L23
	add	DWORD PTR -36[rbp], 1
.L19:
	mov	eax, DWORD PTR Nfigli[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L24
	mov	eax, 0
.L3:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC9:
	.string	"Linea %d contiene %c\n"
	.text
	.globl	figlio
	.type	figlio, @function
figlio:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	je	.L28
	mov	rdx, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	close@PLT
.L28:
	add	DWORD PTR -28[rbp], 1
.L27:
	mov	eax, DWORD PTR Npipe[rip]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L29
	mov	rax, QWORD PTR F[rip]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L30
	mov	eax, -1
	jmp	.L42
.L30:
	mov	DWORD PTR -40[rbp], 1
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR Npipe[rip]
	cdq
	idiv	ecx
	mov	DWORD PTR -24[rbp], edx
.L41:
	lea	rcx, -42[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jne	.L32
	mov	eax, DWORD PTR -36[rbp]
	jmp	.L42
.L32:
	cmp	DWORD PTR -16[rbp], 0
	jns	.L33
	mov	eax, -1
	jmp	.L42
.L33:
	movzx	eax, BYTE PTR -42[rbp]
	cmp	al, 10
	jne	.L34
	add	DWORD PTR -40[rbp], 1
	mov	DWORD PTR -32[rbp], 0
.L34:
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR -42[rbp]
	cmp	dl, al
	jne	.L41
	cmp	DWORD PTR -32[rbp], 0
	jne	.L41
	mov	DWORD PTR -32[rbp], 1
	add	DWORD PTR -36[rbp], 1
.L39:
	mov	rdx, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	rcx, -41[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L36
	mov	eax, DWORD PTR Npipe[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jge	.L37
	add	DWORD PTR -24[rbp], 1
	jmp	.L39
.L37:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L39
.L36:
	cmp	DWORD PTR -12[rbp], -1
	jne	.L45
	mov	eax, -1
	jmp	.L42
.L45:
	nop
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -40[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC9[rip]
	mov	edi, 1
	mov	eax, 0
	call	zprintf
	mov	rdx, QWORD PTR Pfds[rip]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	lea	rcx, -41[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L41
.L42:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	figlio, .-figlio
	.globl	zprintf
	.type	zprintf, @function
zprintf:
.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, 240
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L47
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L47:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 16
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 256
	lea	rdi, msg.0[rip]
	call	vsnprintf@PLT
	mov	DWORD PTR -212[rbp], eax
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -228[rbp]
	lea	rsi, msg.0[rip]
	mov	edi, eax
	call	write@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	zprintf, .-zprintf
	.local	msg.0
	.comm	msg.0,256,32
	.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	"703308.c"
	.text
	.comm	F,4,4
	.comm	N,4,4
	.comm	C,4,4
	.comm	Npipe,4,4
	.comm	Pfds,4,4
	.comm	Nfigli,4,4
	.comm	Pids,4,4
	.global	ok
	.data
	.type	ok, %object
	.size	ok, 1
ok:
	.byte	81
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Inserire il nome di file ed almeno un carattere\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"Impossibile allocare C\012\000"
	.align	2
.LC2:
	.ascii	"Impossibile allocare Pfds\012\000"
	.align	2
.LC3:
	.ascii	"Impossibile creare la pipe %d\012\000"
	.align	2
.LC4:
	.ascii	"Impossibile allocare Pids\012\000"
	.align	2
.LC5:
	.ascii	"Impossibile forkare il processo %d\012\000"
	.align	2
.LC6:
	.ascii	"Impossibile inviare su %d\012\000"
	.align	2
.LC7:
	.ascii	"Il figlio che cerca il carattere %c ha incontrato u"
	.ascii	"n errore\012\000"
	.align	2
.LC8:
	.ascii	"Il figlio che cerca il carattere %c ha trovato %d l"
	.ascii	"inee\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bhi	.L2
	ldr	r1, .L26+4
	mov	r0, #2
	bl	zprintf
	mov	r3, #1
	b	.L3
.L2:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	ldr	r2, .L26+8
	str	r3, [r2]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #2
	ldr	r2, .L26+12
	str	r3, [r2]
	ldr	r3, .L26+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L26+16
	str	r2, [r3]
	ldr	r3, .L26+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r1, .L26+20
	mov	r0, #2
	bl	zprintf
	mov	r3, #1
	b	.L3
.L4:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L5
.L6:
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L26+16
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L5:
	ldr	r3, .L26+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L6
	ldr	r3, .L26+12
	ldr	r3, [r3]
	ldr	r2, .L26+24
	str	r3, [r2]
	ldr	r3, .L26+24
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L26+28
	str	r2, [r3]
	ldr	r3, .L26+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r1, .L26+32
	mov	r0, #2
	bl	zprintf
	mov	r3, #1
	b	.L3
.L7:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L8
.L10:
	ldr	r3, .L26+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r2, [fp, #-28]
	ldr	r1, .L26+36
	mov	r0, #2
	bl	zprintf
	mov	r3, #1
	b	.L3
.L9:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L8:
	ldr	r3, .L26+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L10
	ldr	r3, .L26+12
	ldr	r3, [r3]
	ldr	r2, .L26+40
	str	r3, [r2]
	ldr	r3, .L26+40
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L26+44
	str	r2, [r3]
	ldr	r3, .L26+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	ldr	r1, .L26+48
	mov	r0, #2
	bl	zprintf
	mov	r3, #1
	b	.L3
.L11:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L12
.L15:
	ldr	r3, .L26+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r4, r2, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L26+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L13
	cmp	r3, #0
	bne	.L14
	ldr	r0, [fp, #-28]
	bl	figlio
	mov	r3, r0
	b	.L3
.L13:
	ldr	r2, [fp, #-28]
	ldr	r1, .L26+52
	mov	r0, #2
	bl	zprintf
	mov	r3, #1
	b	.L3
.L14:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r3, .L26+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L15
	ldr	r3, .L26+28
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, #1
	ldr	r1, .L26+56
	mov	r0, r3
	bl	write
	mov	r3, r0
	cmp	r3, #1
	beq	.L16
	ldr	r3, .L26+28
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, .L26+60
	mov	r0, #2
	bl	zprintf
	mov	r3, #1
	b	.L3
.L16:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L17
.L18:
	ldr	r3, .L26+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	ldr	r3, .L26+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L17:
	ldr	r3, .L26+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L18
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L19
.L24:
	sub	r3, fp, #32
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L20
.L23:
	ldr	r3, .L26+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L21
	ldr	r3, [fp, #-32]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #255
	bne	.L22
	ldr	r3, .L26+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L26+64
	mov	r0, #1
	bl	zprintf
	b	.L21
.L22:
	ldr	r3, .L26+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, .L26+68
	mov	r0, #1
	bl	zprintf
.L21:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L20:
	ldr	r3, .L26+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L19:
	ldr	r3, .L26+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L24
	mov	r3, #0
.L3:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC9
	.word	.LC0
	.word	F
	.word	N
	.word	C
	.word	.LC1
	.word	Npipe
	.word	Pfds
	.word	.LC2
	.word	.LC3
	.word	Nfigli
	.word	Pids
	.word	.LC4
	.word	.LC5
	.word	ok
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Linea %d contiene %c\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	figlio
	.syntax unified
	.arm
	.fpu softvfp
	.type	figlio, %function
figlio:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L29
.L31:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L30
	ldr	r3, .L48+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
.L30:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L29:
	ldr	r3, .L48+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L31
	ldr	r3, .L48+12
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L32
	mvn	r3, #0
	b	.L44
.L32:
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	ldr	r2, .L48+8
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-24]
.L43:
	sub	r3, fp, #42
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	read
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-36]
	b	.L44
.L34:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L35
	mvn	r3, #0
	b	.L44
.L35:
	ldrb	r3, [fp, #-42]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L36
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-32]
.L36:
	ldr	r3, .L48+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-42]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L43
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L43
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L41:
	ldr	r3, .L48+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r1, fp, #41
	mov	r2, #1
	mov	r0, r3
	bl	read
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L48+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L39
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L41
.L39:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L41
.L38:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L47
	mvn	r3, #0
	b	.L44
.L47:
	nop
	ldr	r3, .L48+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-40]
	ldr	r1, .L48+20
	mov	r0, #1
	bl	zprintf
	ldr	r3, .L48+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	sub	r1, fp, #41
	mov	r2, #1
	mov	r0, r3
	bl	write
	b	.L43
.L44:
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC11
	.word	Pfds
	.word	Npipe
	.word	F
	.word	C
	.word	.LC10
	.size	figlio, .-figlio
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zprintf
	.syntax unified
	.arm
	.fpu softvfp
	.type	zprintf, %function
zprintf:
	@ args = 4, pretend = 12, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #28
	str	r0, [fp, #-28]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-32]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	mov	r1, #256
	ldr	r0, .L52+4
	bl	vsnprintf
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	ldr	r1, .L52+4
	ldr	r0, [fp, #-28]
	bl	write
	nop
	ldr	r3, .L52
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #12
	bx	lr
.L53:
	.align	2
.L52:
	.word	.LC12
	.word	msg.6291
	.size	zprintf, .-zprintf
	.local	msg.6291
	.comm	msg.6291,256,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
