// File: /workspace/github_cpp_makefile_star2_O2/canzarlab[P]Trajan/src/main.cpp
// Function: MakeSolver(Graph&, Graph&, int, char**, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&)
Solver* MakeSolver(Graph& t1, Graph& t2, int argc, char** argv, std::map<string, string> & t1Label2Node, std::map<string, string> & t2Label2Node)
{
    int s = stoi(argv[argc - 1]);
    Solver::cf = stoi(argv[4 + (argc == 9) + 2 * (argc == 12)]);
    Solver::tt = argc == 12;
    string d = argv[5 + (argc == 9) + 2 * (argc == 12)];
    double k = stod(argv[6 + (argc == 9) + 2 * (argc == 12)]);
    double c = (s != 2) ? 0 : stod(argv[8 + 2 * (argc == 12)]);
    var_eps = (argc == 9) ? 0 : stod(argv[7 + 2 * (argc == 12)]);
    bool dag = argc == 9;

    assert(LP::cf >= 0 && LP::cf <= 2);
    assert(d == "j" || d == "s" || d == "e");
    assert(s >= 0 && s <= 9);

    string outFileName = argv[5];

    if (s == 0)
        return new Greedy(t1, t2, d, k, dag);
    else if (s == 1)
        return new LP(t1, t2, d, k, dag);
    else if (s == 2)
        EditDist(t1, t2, costMatrixFileName, outFileName, t1Label2Node, t2Label2Node, outScoreFile);
    else if (s == 3)
        return new LPCP(t1, t2, d, k, dag);
    else if (s == 4)
        return new DFBnBSolver(t1, t2, d, k, dag); // was test, to delete
    else if (s == 5)
        return new LPInt(t1, t2, d, k, dag);
    else if (s == 6)
        return new LPFInt(t1, t2, d, k, dag);
    else if (s == 7)
        return new BFBnBSolver(t1, t2, d, k, dag);
    else if (s == 8)
        return new DFBnBSolver(t1, t2, d, k, dag);
    else if (s == 9)
        return new HybridBnBSolver(t1, t2, d, k, dag);
    return nullptr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %r9, 0x70(%rsp)
movq %r8, 0x68(%rsp)
movq %rcx, %r13
movl %edx, %ebp
movq %rsi, 0x18(%rsp)
movq %rdi, %r14
movslq %edx, %rax
movq -0x8(%rcx,%rax,8), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xb7a6
leaq 0x28(%rsp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0xb789
movl %eax, %r15d
leaq 0x28(%rsp), %rdi
callq 0x9708
xorl %eax, %eax
cmpl $0x9, %ebp
sete %al
xorl %r12d, %r12d
cmpl $0xc, %ebp
sete %r12b
leal (%rax,%r12,2), %eax
movq 0x20(%r13,%rax,8), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xb7a6
leaq 0x28(%rsp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0xb789
addl %r12d, %r12d
xorl %ebx, %ebx
cmpl $0x9, %ebp
sete %bl
movl %eax, 0x8d803(%rip)     # 0x973f0
leaq 0x28(%rsp), %rdi
callq 0x9708
cmpl $0xc, %ebp
sete 0x8d7f3(%rip)           # 0x973f4
addl %r12d, %ebx
movq 0x28(%r13,%rbx,8), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xb7a6
xorl %eax, %eax
cmpl $0x9, %ebp
sete %al
addl %r12d, %eax
movq 0x30(%r13,%rax,8), %rsi
leaq 0x48(%rsp), %rdi
leaq 0x17(%rsp), %rdx
callq 0xb7a6
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0xb7e1
movsd %xmm0, 0x20(%rsp)
leaq 0x48(%rsp), %rdi
callq 0x9708
movl %r12d, %r12d
cmpl $0x2, %r15d
jne 0x9c86
movq 0x40(%r13,%r12,8), %rsi
leaq 0x48(%rsp), %rdi
leaq 0x17(%rsp), %rdx
callq 0xb7a6
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0xb7e1
leaq 0x48(%rsp), %rdi
callq 0x9708
cmpl $0x9, %ebp
jne 0x9c98
leaq 0x8d7be(%rip), %rax     # 0x97450
andq $0x0, (%rax)
jmp 0x9ccd
movq 0x38(%r13,%r12,8), %rsi
leaq 0x48(%rsp), %rdi
leaq 0x17(%rsp), %rdx
callq 0xb7a6
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0xb7e1
leaq 0x8d791(%rip), %rax     # 0x97450
movsd %xmm0, (%rax)
leaq 0x48(%rsp), %rdi
callq 0x9708
cmpl $0x3, 0x8d71c(%rip)     # 0x973f0
jae 0xa04d
leaq 0x473e5(%rip), %rsi     # 0x510c6
leaq 0x28(%rsp), %rdi
callq 0xb7fa
testb %al, %al
jne 0x9d1d
leaq 0x4759a(%rip), %rsi     # 0x51290
leaq 0x28(%rsp), %rdi
callq 0xb7fa
testb %al, %al
jne 0x9d1d
leaq 0x64308(%rip), %rsi     # 0x6e013
leaq 0x28(%rsp), %rdi
callq 0xb7fa
testb %al, %al
je 0xa07f
cmpl $0xa, %r15d
jae 0xa066
movq 0x28(%r13), %rsi
leaq 0x48(%rsp), %rdi
leaq 0x17(%rsp), %rdx
callq 0xb7a6
cmpl $0x8, %r15d
ja 0x9fda
movl %r15d, %eax
leaq 0x472b6(%rip), %rcx     # 0x51004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0xd0, %edi
callq 0x9340
movq %rax, %r15
leaq 0x178(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x2fec0
jmp 0xa01c
movl $0x178, %edi            # imm = 0x178
callq 0x9340
movq %rax, %r15
leaq 0x118(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x3e164
jmp 0xa01c
leaq 0x8d5de(%rip), %rax     # 0x973d0
movq %rax, (%rsp)
leaq 0x8d5b3(%rip), %rdx     # 0x973b0
leaq 0x48(%rsp), %rcx
movq %r14, %rdi
movq 0x18(%rsp), %rsi
movq 0x68(%rsp), %r8
movq 0x70(%rsp), %r9
callq 0x4c8d1
xorl %r15d, %r15d
jmp 0xa024
movl $0x118, %edi            # imm = 0x118
callq 0x9340
movq %rax, %r15
leaq 0x138(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x41fa4
jmp 0xa01c
movl $0x178, %edi            # imm = 0x178
callq 0x9340
movq %rax, %r15
leaq 0xb8(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x3dd20
jmp 0xa01c
movl $0x118, %edi            # imm = 0x118
callq 0x9340
movq %rax, %r15
leaq 0x158(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x3224c
jmp 0xa01c
movl $0x118, %edi            # imm = 0x118
callq 0x9340
movq %rax, %r15
leaq 0xf8(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x40244
jmp 0xa01c
movl $0x118, %edi            # imm = 0x118
callq 0x9340
movq %rax, %r15
leaq 0xd8(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x440ec
jmp 0xa01c
movl $0x178, %edi            # imm = 0x178
callq 0x9340
movq %rax, %r15
leaq 0x98(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x3e164
jmp 0xa01c
movl $0x178, %edi            # imm = 0x178
callq 0x9340
movq %rax, %r15
leaq 0x78(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x9470
xorl %r8d, %r8d
cmpl $0x9, %ebp
sete %r8b
movq %r15, %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movsd 0x20(%rsp), %xmm0
callq 0x3e3c4
movq %r12, %rdi
callq 0x9708
leaq 0x48(%rsp), %rdi
callq 0x9708
leaq 0x28(%rsp), %rdi
callq 0x9708
movq %r15, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x46fdf(%rip), %rdi     # 0x51033
leaq 0x46ff3(%rip), %rsi     # 0x5104e
leaq 0x46ff9(%rip), %rcx     # 0x5105b
pushq $0x34
jmp 0xa096
leaq 0x4707c(%rip), %rdi     # 0x510e9
leaq 0x46fda(%rip), %rsi     # 0x5104e
leaq 0x46fe0(%rip), %rcx     # 0x5105b
pushq $0x36
jmp 0xa096
leaq 0x47042(%rip), %rdi     # 0x510c8
leaq 0x46fc1(%rip), %rsi     # 0x5104e
leaq 0x46fc7(%rip), %rcx     # 0x5105b
pushq $0x35
popq %rdx
callq 0x9210
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
jmp 0xa116
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0xa116
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
jmp 0xa104
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
jmp 0xa104
movq %rax, %rbx
leaq 0x158(%rsp), %rdi
jmp 0xa104
movq %rax, %rbx
leaq 0x178(%rsp), %rdi
callq 0x9708
jmp 0xa136
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
jmp 0xa116
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
callq 0x9708
jmp 0xa12c
movq %rax, %rbx
leaq 0x118(%rsp), %rdi
callq 0x9708
jmp 0xa140
jmp 0xa13d
jmp 0xa13d
jmp 0xa129
jmp 0xa129
jmp 0xa129
jmp 0xa13d
movq %rax, %rbx
movl $0x118, %esi            # imm = 0x118
jmp 0xa145
movq %rax, %rbx
movl $0xd0, %esi
jmp 0xa145
movq %rax, %rbx
movl $0x178, %esi            # imm = 0x178
movq %r15, %rdi
callq 0x9350
jmp 0xa15e
jmp 0xa15b
jmp 0xa172
jmp 0xa15b
jmp 0xa172
jmp 0xa15b
jmp 0xa172
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x9708
jmp 0xa175
jmp 0xa172
jmp 0xa181
jmp 0xa172
jmp 0xa181
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x9708
jmp 0xa184
movq %rax, %rbx
movq %rbx, %rdi
callq 0x9640