	.file	"392402.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"Can't create a pipe!"
.LC2:
	.string	"Can't fork child!"
.LC3:
	.string	"The composition is %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
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -24[rbp]
	add	rax, 4
	lea	rcx, -24[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	jns	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	jns	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	call	fork@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jns	.L4
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	cmp	DWORD PTR -44[rbp], 0
	jle	.L5
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -36[rbp]
	lea	rcx, -24[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -32[rbp]
	lea	rcx, -16[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -40[rbp]
	lea	rcx, -16[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	lea	rcx, -16[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, -1
	call	exit@PLT
	.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	"392402.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\000"
	.align	2
.LC1:
	.ascii	"Can't create a pipe!\000"
	.align	2
.LC2:
	.ascii	"Can't fork child!\000"
	.align	2
.LC3:
	.ascii	"The composition is %d\012\000"
	.align	2
.LC4:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	add	r3, r3, #4
	sub	r1, fp, #24
	mov	r2, r3
	ldr	r0, .L7+4
	bl	__isoc99_scanf
	sub	r3, fp, #40
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L7+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L2:
	sub	r3, fp, #32
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L7+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L3:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L7+12
	bl	puts
	mvn	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L5
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-36]
	sub	r1, fp, #24
	mov	r2, #8
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-32]
	sub	r1, fp, #16
	mov	r2, #4
	mov	r0, r3
	bl	read
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L7+16
	bl	printf
	mvn	r0, #0
	bl	exit
.L5:
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-40]
	sub	r1, fp, #16
	mov	r2, #8
	mov	r0, r3
	bl	read
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	sub	r1, fp, #16
	mov	r2, #4
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	close
	mvn	r0, #0
	bl	exit
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
