	.file	"23576457.c"
	.intel_syntax noprefix
	.text
	.globl	etv
	.bss
	.align 8
	.type	etv, @object
	.size	etv, 8
etv:
	.zero	8
	.globl	ltv
	.align 8
	.type	ltv, @object
	.size	ltv, 8
ltv:
	.zero	8
	.globl	stack2
	.align 8
	.type	stack2, @object
	.size	stack2, 8
stack2:
	.zero	8
	.globl	top2
	.align 4
	.type	top2, @object
	.size	top2, 4
top2:
	.zero	4
	.text
	.globl	CreateMGraph
	.type	CreateMGraph, @function
CreateMGraph:
.LFB6:
	.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	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 3724[rax], 13
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 3720[rax], 10
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -8[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 3720[rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L3
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L9:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jne	.L6
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	add	rax, rax
	add	rax, rsi
	add	rax, 28
	mov	DWORD PTR 8[rdx+rax*4], 0
	jmp	.L7
.L6:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	add	rax, rax
	add	rax, rsi
	add	rax, 28
	mov	DWORD PTR 8[rdx+rax*4], 65535
.L7:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 3720[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L8
	add	DWORD PTR -8[rbp], 1
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 3720[rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 124[rax], 3
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 128[rax], 4
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 252[rax], 5
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 256[rax], 6
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 372[rax], 8
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 380[rax], 7
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 496[rax], 3
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 624[rax], 9
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 628[rax], 4
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 748[rax], 6
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 876[rax], 2
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 992[rax], 5
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 1116[rax], 3
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	CreateMGraph, .-CreateMGraph
	.globl	CreateALGraph
	.type	CreateALGraph, @function
CreateALGraph:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edi, 488
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 3736[rbp]
	mov	DWORD PTR 480[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 3740[rbp]
	mov	DWORD PTR 484[rax], edx
	mov	DWORD PTR -16[rbp], 0
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	eax, DWORD PTR 16[rbp+rax*4]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rcx
	add	rdx, 4
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR [rax], 0
	add	DWORD PTR -16[rbp], 1
.L11:
	mov	eax, DWORD PTR 3736[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L12
	mov	DWORD PTR -16[rbp], 0
	jmp	.L13
.L17:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 28
	mov	eax, DWORD PTR 24[rbp+rax*4]
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 28
	mov	eax, DWORD PTR 24[rbp+rax*4]
	cmp	eax, 65534
	jg	.L15
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 28
	mov	edx, DWORD PTR 24[rbp+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	DWORD PTR [rax], edx
.L15:
	add	DWORD PTR -12[rbp], 1
.L14:
	mov	eax, DWORD PTR 3736[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L16
	add	DWORD PTR -16[rbp], 1
.L13:
	mov	eax, DWORD PTR 3736[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L17
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	CreateALGraph, .-CreateALGraph
	.section	.rodata
.LC0:
	.string	"TopologicalSort:\t"
.LC1:
	.string	"%d -> "
	.text
	.globl	TopologicalSort
	.type	TopologicalSort, @function
TopologicalSort:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 480[rax]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L19
.L21:
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L20
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR [rdx], eax
.L20:
	add	DWORD PTR -36[rbp], 1
.L19:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 480[rax]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L21
	mov	DWORD PTR top2[rip], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 480[rax]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR etv[rip], rax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L22
.L23:
	mov	rdx, QWORD PTR etv[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -36[rbp], 1
.L22:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 480[rax]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L23
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 480[rax]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR stack2[rip], rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L29:
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -32[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
	mov	rdx, QWORD PTR stack2[rip]
	mov	eax, DWORD PTR top2[rip]
	add	eax, 1
	mov	DWORD PTR top2[rip], eax
	mov	eax, DWORD PTR top2[rip]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L25
.L28:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rcx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L26
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
.L26:
	mov	rdx, QWORD PTR etv[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	edx, eax
	mov	rcx, QWORD PTR etv[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L27
	mov	rdx, QWORD PTR etv[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rsi, QWORD PTR etv[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
.L27:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L25:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L28
.L24:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L29
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 480[rax]
	cmp	DWORD PTR -28[rbp], eax
	jge	.L30
	mov	eax, 0
	jmp	.L31
.L30:
	mov	eax, 1
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	TopologicalSort, .-TopologicalSort
	.section	.rodata
.LC2:
	.string	"etv:\t"
.LC3:
	.string	"ltv:\t"
.LC4:
	.string	"<v%d - v%d> length: %d \n"
	.text
	.globl	CriticalPath
	.type	CriticalPath, @function
CriticalPath:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	TopologicalSort
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 480[rax]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR ltv[rip], rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L33
.L34:
	mov	rdx, QWORD PTR etv[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 480[rax]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	mov	rcx, QWORD PTR ltv[rip]
	mov	edx, DWORD PTR -32[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -32[rbp], 1
.L33:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 480[rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L34
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR etv[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
.L35:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 480[rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L36
	mov	edi, 10
	call	putchar@PLT
	jmp	.L37
.L41:
	mov	rcx, QWORD PTR stack2[rip]
	mov	eax, DWORD PTR top2[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR top2[rip], edx
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L38
.L40:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rdx, QWORD PTR ltv[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	sub	edx, eax
	mov	rcx, QWORD PTR ltv[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L39
	mov	rdx, QWORD PTR ltv[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rsi, QWORD PTR ltv[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	sub	edx, ecx
	mov	DWORD PTR [rax], edx
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L38:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L40
.L37:
	mov	eax, DWORD PTR top2[rip]
	test	eax, eax
	jne	.L41
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L42
.L43:
	mov	rdx, QWORD PTR ltv[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
.L42:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 480[rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L43
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L44
.L48:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L45
.L47:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rdx, QWORD PTR etv[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rdx, QWORD PTR ltv[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jne	.L46
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rax, rsi
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L46:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L45:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L47
	add	DWORD PTR -28[rbp], 1
.L44:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 480[rax]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L48
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	CriticalPath, .-CriticalPath
	.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, 3760
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -3744[rbp]
	mov	rdi, rax
	call	CreateMGraph
	lea	r8, -3752[rbp]
	sub	rsp, 3728
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -3744[rbp]
	mov	edx, 466
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rdi, r8
	call	CreateALGraph
	add	rsp, 3728
	mov	rax, QWORD PTR -3752[rbp]
	mov	rdi, rax
	call	CriticalPath
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"23576457.c"
	.text
	.comm	etv,4,4
	.comm	ltv,4,4
	.comm	stack2,4,4
	.comm	top2,4,4
	.align	2
	.global	CreateMGraph
	.syntax unified
	.arm
	.fpu softvfp
	.type	CreateMGraph, %function
CreateMGraph:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #13
	str	r2, [r3, #3724]
	ldr	r3, [fp, #-16]
	mov	r2, #10
	str	r2, [r3, #3720]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-12]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #3720]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L9:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L8:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L6
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #30
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
	b	.L7
.L6:
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #30
	ldr	r2, .L10
	str	r2, [r1, r3, lsl #2]
.L7:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #3720]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #3720]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-16]
	mov	r2, #3
	str	r2, [r3, #124]
	ldr	r3, [fp, #-16]
	mov	r2, #4
	str	r2, [r3, #128]
	ldr	r3, [fp, #-16]
	mov	r2, #5
	str	r2, [r3, #252]
	ldr	r3, [fp, #-16]
	mov	r2, #6
	str	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	mov	r2, #8
	str	r2, [r3, #372]
	ldr	r3, [fp, #-16]
	mov	r2, #7
	str	r2, [r3, #380]
	ldr	r3, [fp, #-16]
	mov	r2, #3
	str	r2, [r3, #496]
	ldr	r3, [fp, #-16]
	mov	r2, #9
	str	r2, [r3, #624]
	ldr	r3, [fp, #-16]
	mov	r2, #4
	str	r2, [r3, #628]
	ldr	r3, [fp, #-16]
	mov	r2, #6
	str	r2, [r3, #748]
	ldr	r3, [fp, #-16]
	mov	r2, #2
	str	r2, [r3, #876]
	ldr	r3, [fp, #-16]
	mov	r2, #5
	str	r2, [r3, #992]
	ldr	r3, [fp, #-16]
	mov	r2, #3
	str	r2, [r3, #1116]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	65535
	.size	CreateMGraph, .-CreateMGraph
	.align	2
	.global	CreateALGraph
	.syntax unified
	.arm
	.fpu softvfp
	.type	CreateALGraph, %function
CreateALGraph:
	@ args = 3732, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	mov	r0, #368
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #3732]
	str	r2, [r3]
	ldr	r3, [fp, #3732]
	ldr	r3, [r3]
	ldr	r2, [fp, #3724]
	str	r2, [r3, #360]
	ldr	r3, [fp, #3732]
	ldr	r3, [r3]
	ldr	r2, [fp, #3728]
	str	r2, [r3, #364]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L13
.L14:
	ldr	r3, [fp, #3732]
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #3732]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, fp, r3
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r3, [fp, #3732]
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L13:
	ldr	r3, [fp, #3724]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L14
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L15
.L19:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L16
.L18:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	add	r3, r3, #30
	lsl	r3, r3, #2
	add	r3, fp, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L17
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	add	r3, r3, #30
	lsl	r3, r3, #2
	add	r3, fp, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L20
	cmp	r3, r2
	bgt	.L17
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	add	r3, r3, #30
	lsl	r3, r3, #2
	add	r3, fp, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #3732]
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #3732]
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #3732]
	ldr	r2, [r3]
	ldr	r1, [fp, #-12]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r1, [fp, #-12]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r0, [r3]
.L17:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #3724]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L15:
	ldr	r3, [fp, #3724]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L19
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L21:
	.align	2
.L20:
	.word	65534
	.size	CreateALGraph, .-CreateALGraph
	.section	.rodata
	.align	2
.LC0:
	.ascii	"TopologicalSort:\011\000"
	.align	2
.LC1:
	.ascii	"%d -> \000"
	.text
	.align	2
	.global	TopologicalSort
	.syntax unified
	.arm
	.fpu softvfp
	.type	TopologicalSort, %function
TopologicalSort:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L23
.L25:
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	str	r2, [r3]
.L24:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L25
	ldr	r3, .L36
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L36+4
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L26
.L27:
	ldr	r3, .L36+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L26:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L36+8
	str	r2, [r3]
	ldr	r0, .L36+12
	bl	printf
	b	.L28
.L33:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+16
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, .L36+8
	ldr	r2, [r3]
	ldr	r3, .L36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L36
	str	r3, [r1]
	ldr	r3, .L36
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L29
.L32:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, [fp, #-40]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L30:
	ldr	r3, .L36+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r2, r2, r3
	ldr	r3, .L36+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L31
	ldr	r3, .L36+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #4]
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
.L31:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
.L29:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L32
.L28:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L33
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L34
	mov	r3, #0
	b	.L35
.L34:
	mov	r3, #1
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	top2
	.word	etv
	.word	stack2
	.word	.LC0
	.word	.LC1
	.size	TopologicalSort, .-TopologicalSort
	.section	.rodata
	.align	2
.LC2:
	.ascii	"etv:\011\000"
	.align	2
.LC3:
	.ascii	"ltv:\011\000"
	.align	2
.LC4:
	.ascii	"<v%d - v%d> length: %d \012\000"
	.text
	.align	2
	.global	CriticalPath
	.syntax unified
	.arm
	.fpu softvfp
	.type	CriticalPath, %function
CriticalPath:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r0, [fp, #-40]
	bl	TopologicalSort
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L55
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L39
.L40:
	ldr	r3, .L55+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L55
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L39:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L40
	ldr	r0, .L55+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L41
.L42:
	ldr	r3, .L55+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L55+12
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L41:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L42
	mov	r0, #10
	bl	putchar
	b	.L43
.L47:
	ldr	r3, .L55+16
	ldr	r2, [r3]
	ldr	r3, .L55+20
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L55+20
	str	r1, [r0]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L44
.L46:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	sub	r2, r2, r3
	ldr	r3, .L55
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L45
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #4]
	ldr	r3, .L55
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r2, r1, r2
	str	r2, [r3]
.L45:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
.L44:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L46
.L43:
	ldr	r3, .L55+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L55+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L48
.L49:
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L55+12
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L48:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L49
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L50
.L54:
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L51
.L53:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L55+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L52
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	mov	r1, r0
	ldr	r0, .L55+28
	bl	printf
.L52:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
.L51:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L50:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L54
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	ltv
	.word	etv
	.word	.LC2
	.word	.LC1
	.word	stack2
	.word	top2
	.word	.LC3
	.word	.LC4
	.size	CriticalPath, .-CriticalPath
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3736
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #7424
	sub	sp, sp, #32
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #3728
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	CreateMGraph
	sub	r3, fp, #3728
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [sp, #3712]
	mov	r0, sp
	sub	r3, fp, #3712
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #3712
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #3728
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldm	r3, {r0, r1, r2, r3}
	bl	CreateALGraph
	ldr	r3, [fp, #-3740]
	mov	r0, r3
	bl	CriticalPath
	mov	r3, #0
	ldr	r2, .L60
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
