	.file	"141587.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\320\235\320\265\320\262\320\276\320\267\320\274\320\276\320\266\320\275\320\276 \321\201\320\276\320\267\320\264\320\260\321\202\321\214 \320\277\320\265\321\200\320\262\321\213\320\271 \320\272\320\260\320\275\320\260\320\273 \321\201\320\262\321\217\320\267\320\270."
	.align 8
.LC1:
	.string	"\320\235\320\265\320\262\320\276\320\267\320\274\320\276\320\266\320\275\320\276 \321\201\320\276\320\267\320\264\320\260\321\202\321\214 \320\272\320\260\320\275\320\260\320\273 \321\201\320\262\321\217\320\267\320\270."
.LC2:
	.string	"skipspaces"
	.align 8
.LC3:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260 \320\262\321\213\320\277\320\276\320\273\320\275\320\265\320\275\320\270\321\217 \320\262\321\202\320\276\321\200\320\276\320\263\320\276 \321\204\320\270\320\273\321\214\321\202\321\200\320\260."
	.align 8
.LC4:
	.string	"\320\235\320\265\321\203\320\264\320\260\320\273\320\276\321\201\321\214 \321\201\320\276\320\267\320\264\320\260\321\202\321\214 \320\264\320\276\321\207\320\265\321\200\320\275\320\270\320\271 \320\277\321\200\320\276\321\206\320\265\321\201\321\201."
.LC5:
	.string	"PAGE %d\n"
.LC6:
	.string	"%s"
	.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, 2096
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -2080[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rax, -2072[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	call	fork@PLT
	mov	DWORD PTR -2084[rbp], eax
	cmp	DWORD PTR -2084[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR -2076[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -2072[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	close@PLT
	mov	eax, DWORD PTR -2080[rbp]
	mov	edi, eax
	call	dup@PLT
	mov	eax, DWORD PTR -2080[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	close@PLT
	mov	eax, DWORD PTR -2068[rbp]
	mov	edi, eax
	call	dup@PLT
	mov	eax, DWORD PTR -2068[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, 0
	lea	rsi, .LC2[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	execl@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -2080[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -2068[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	cmp	DWORD PTR -2084[rbp], -1
	jne	.L5
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -2080[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -2068[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -2088[rbp], 0
	jmp	.L6
.L8:
	mov	ecx, DWORD PTR -2088[rbp]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 3
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L7
	mov	eax, DWORD PTR -2088[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, 1[rax]
	lea	rax, -1040[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -2076[rbp]
	lea	rcx, -1040[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L7:
	lea	rax, -2064[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -2076[rbp]
	lea	rcx, -2064[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -2088[rbp], 1
.L6:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -2064[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L8
	mov	eax, DWORD PTR -2076[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	close@PLT
	mov	eax, DWORD PTR -2072[rbp]
	mov	edi, eax
	call	dup@PLT
	mov	eax, DWORD PTR -2072[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L9
.L10:
	lea	rax, -2064[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -2064[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L10
	mov	eax, DWORD PTR -2072[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"141587.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\320\235\320\265\320\262\320\276\320\267\320\274\320"
	.ascii	"\276\320\266\320\275\320\276 \321\201\320\276\320\267"
	.ascii	"\320\264\320\260\321\202\321\214 \320\277\320\265\321"
	.ascii	"\200\320\262\321\213\320\271 \320\272\320\260\320\275"
	.ascii	"\320\260\320\273 \321\201\320\262\321\217\320\267\320"
	.ascii	"\270.\000"
	.align	2
.LC1:
	.ascii	"\320\235\320\265\320\262\320\276\320\267\320\274\320"
	.ascii	"\276\320\266\320\275\320\276 \321\201\320\276\320\267"
	.ascii	"\320\264\320\260\321\202\321\214 \320\272\320\260\320"
	.ascii	"\275\320\260\320\273 \321\201\320\262\321\217\320\267"
	.ascii	"\320\270.\000"
	.align	2
.LC2:
	.ascii	"skipspaces\000"
	.align	2
.LC3:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260 \320"
	.ascii	"\262\321\213\320\277\320\276\320\273\320\275\320\265"
	.ascii	"\320\275\320\270\321\217 \320\262\321\202\320\276\321"
	.ascii	"\200\320\276\320\263\320\276 \321\204\320\270\320\273"
	.ascii	"\321\214\321\202\321\200\320\260.\000"
	.align	2
.LC4:
	.ascii	"\320\235\320\265\321\203\320\264\320\260\320\273\320"
	.ascii	"\276\321\201\321\214 \321\201\320\276\320\267\320\264"
	.ascii	"\320\260\321\202\321\214 \320\264\320\276\321\207\320"
	.ascii	"\265\321\200\320\275\320\270\320\271 \320\277\321\200"
	.ascii	"\320\276\321\206\320\265\321\201\321\201.\000"
	.align	2
.LC5:
	.ascii	"PAGE %d\012\000"
	.align	2
.LC6:
	.ascii	"%s\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2080
	sub	sp, sp, #4
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #2064
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L13+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L13+8
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-2084]
	ldr	r3, [fp, #-2084]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-2076]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-2072]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	close
	ldr	r3, [fp, #-2080]
	mov	r0, r3
	bl	dup
	ldr	r3, [fp, #-2080]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	close
	ldr	r3, [fp, #-2068]
	mov	r0, r3
	bl	dup
	ldr	r3, [fp, #-2068]
	mov	r0, r3
	bl	close
	mov	r2, #0
	ldr	r1, .L13+12
	ldr	r0, .L13+12
	bl	execl
	ldr	r0, .L13+16
	bl	puts
	ldr	r3, [fp, #-2080]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-2068]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-2084]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L13+20
	bl	printf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-2080]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-2068]
	mov	r0, r3
	bl	close
	mov	r3, #0
	str	r3, [fp, #-2088]
	b	.L6
.L8:
	ldr	r1, [fp, #-2088]
	ldr	r3, .L13+24
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L7
	ldr	r3, [fp, #-2088]
	ldr	r2, .L13+24
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r2, r3, #1
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L13+28
	mov	r0, r3
	bl	sprintf
	ldr	r4, [fp, #-2076]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r4
	bl	write
.L7:
	ldr	r4, [fp, #-2076]
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r4
	bl	write
	ldr	r3, [fp, #-2088]
	add	r3, r3, #1
	str	r3, [fp, #-2088]
.L6:
	ldr	r3, .L13+32
	ldr	r2, [r3]
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-2076]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	close
	ldr	r3, [fp, #-2072]
	mov	r0, r3
	bl	dup
	ldr	r3, [fp, #-2072]
	mov	r0, r3
	bl	close
	b	.L9
.L10:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L13+36
	bl	printf
.L9:
	ldr	r3, .L13+32
	ldr	r2, [r3]
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-2072]
	mov	r0, r3
	bl	close
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	715827883
	.word	.LC5
	.word	stdin
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
