// File: canzarlab[P]Trajan/src/Graph.cpp
// Function: LDAG::LDAG(char const*, char const*)
LDAG::LDAG(const char* f1, const char* f2) : DAG(f1, f2)
{
    size_t SZ = _n * 2 + 2;
    G.resize(SZ);
    for (int j = 0; j < NR_THREADS; ++j)
        R[j].resize(SZ, vd(SZ));

    int S = SZ - 2, T = SZ - 1;
    for (int i = 0; i < _n; ++i)
    {
        G[S].push_back(i);
        G[i].push_back(S);
        G[T].push_back(i + _n);
        G[i + _n].push_back(T);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x80(%rbp)
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x96800
movq -0x80(%rbp), %rdi
leaq 0x108829(%rip), %rax    # 0x19f270
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x78, %rdi
movq %rdi, -0x88(%rbp)
callq 0x99100
movq -0x80(%rbp), %rax
addq $0x90, %rax
movq %rax, -0x78(%rbp)
movq %rax, %rcx
addq $0x60, %rcx
movq %rcx, -0x70(%rbp)
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x99120
movq -0x90(%rbp), %rax
movq -0x70(%rbp), %rcx
addq $0x18, %rax
cmpq %rcx, %rax
movq %rax, -0x68(%rbp)
jne 0x96a7b
movq -0x80(%rbp), %rdi
addq $0xf0, %rdi
movq %rdi, -0x98(%rbp)
callq 0x99140
movq -0x80(%rbp), %rdi
movq 0x70(%rdi), %rax
leaq 0x2(%rax,%rax), %rax
movq %rax, -0x20(%rbp)
addq $0x78, %rdi
movq -0x20(%rbp), %rsi
callq 0x99160
jmp 0x96ada
movl $0x0, -0x30(%rbp)
movslq -0x30(%rbp), %rax
cmpq $0x4, %rax
jae 0x96bb9
movq -0x80(%rbp), %rax
movslq -0x30(%rbp), %rcx
leaq (%rcx,%rcx,2), %rcx
leaq 0x90(%rax,%rcx,8), %rax
movq %rax, -0xb0(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq -0x49(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x992a0
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
leaq -0x48(%rbp), %rdi
callq 0x992c0
jmp 0x96b3e
movq -0xa8(%rbp), %rsi
movq -0xb0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x991f0
jmp 0x96b57
leaq -0x48(%rbp), %rdi
callq 0x99330
leaq -0x49(%rbp), %rdi
callq 0x99390
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x96ae1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x96c96
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x96bab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x99330
leaq -0x49(%rbp), %rdi
callq 0x99390
jmp 0x96c96
movq -0x20(%rbp), %rax
subq $0x2, %rax
movl %eax, -0x50(%rbp)
movq -0x20(%rbp), %rax
subq $0x1, %rax
movl %eax, -0x54(%rbp)
movl $0x0, -0x58(%rbp)
movq -0x80(%rbp), %rcx
movslq -0x58(%rbp), %rax
cmpq 0x70(%rcx), %rax
jge 0x96c8d
movq -0x80(%rbp), %rdi
addq $0x78, %rdi
movslq -0x50(%rbp), %rsi
callq 0x993b0
movq %rax, %rdi
leaq -0x58(%rbp), %rsi
callq 0x993d0
jmp 0x96c07
movq -0x80(%rbp), %rdi
addq $0x78, %rdi
movslq -0x58(%rbp), %rsi
callq 0x993b0
movq %rax, %rdi
leaq -0x50(%rbp), %rsi
callq 0x993d0
jmp 0x96c26
movq -0x80(%rbp), %rdi
addq $0x78, %rdi
movslq -0x54(%rbp), %rsi
callq 0x993b0
movq -0x80(%rbp), %rcx
movq %rax, %rdi
movl -0x58(%rbp), %eax
movl 0x70(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x5c(%rbp)
leaq -0x5c(%rbp), %rsi
callq 0x99440
jmp 0x96c54
movq -0x80(%rbp), %rax
movq %rax, %rdi
addq $0x78, %rdi
movslq -0x58(%rbp), %rsi
movq 0x70(%rax), %rax
addq %rax, %rsi
callq 0x993b0
movq %rax, %rdi
leaq -0x54(%rbp), %rsi
callq 0x993d0
jmp 0x96c7d
jmp 0x96c7f
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
jmp 0x96bd6
addq $0xc0, %rsp
popq %rbp
retq
movq -0x98(%rbp), %rdi
callq 0x99470
movq -0x78(%rbp), %rax
addq $0x60, %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rdi
addq $-0x18, %rdi
movq %rdi, -0xc0(%rbp)
callq 0x994d0
movq -0x78(%rbp), %rcx
movq -0xc0(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0xb8(%rbp)
jne 0x96cb1
movq -0x88(%rbp), %rdi
callq 0x99530
movq -0x80(%rbp), %rdi
callq 0x9a230
movq -0x28(%rbp), %rdi
callq 0xa7c0
nopl (%rax)