// File: /workspace/github_cpp_makefile_star2_O2/kiudee[P]VAHD-Projekt/Supervisor.cpp
// Function: Supervisor::Edge2GDL[abi:cxx11](int, int, int)
std::string Supervisor::Edge2GDL(int sourceid, int targetid, int edgetype)
{
    std::string result("");
    switch (edgetype) {
    case LEFTRIGHT:
        result += "rightnearedge: {\n";
        result += "color: 33\n";
        result += "backarrowstyle: solid\n";
        break;
    case LEFT:
        result += "leftnearedge: {\n";
        result += "color: 32\n";
        break;
    case RIGHT:
        result += "rightnearedge: {\n";
        result += "color: 33\n";
        break;
    case EDGE0:
        result += "edge: {\n";
        result += "color: 34\n";
        break;
    case EDGE1:
        result += "edge: {\n";
        result += "color: 35\n";
        break;
    }

    // Source Node
    result += "source: \"";
    std::ostringstream s1;
    s1 << sourceid;
    result += s1.str();
    result += "\"\n";

    // Target Node
    result += "target: \"";
    std::ostringstream s2;
    s2 << targetid;
    result += s2.str();
    result += "\"\n";

    result += "}\n";
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x318, %rsp            # imm = 0x318
movl %r8d, %r15d
movl %ecx, %ebp
movl %edx, %r14d
movq %rdi, %rbx
leaq 0x7631(%rip), %rsi      # 0xa470
leaq 0x1a0(%rsp), %rdx
callq 0x38e2
cmpl $0x4, %r15d
ja 0x2ef6
movl %r15d, %eax
leaq 0x71c0(%rip), %rcx      # 0xa020
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x7238(%rip), %rsi      # 0xa0a8
movq %rbx, %rdi
callq 0x22b0
leaq 0x723a(%rip), %rsi      # 0xa0b9
jmp 0x2eee
leaq 0x71ec(%rip), %rsi      # 0xa074
movq %rbx, %rdi
callq 0x22b0
leaq 0x71ef(%rip), %rsi      # 0xa086
movq %rbx, %rdi
callq 0x22b0
leaq 0x71eb(%rip), %rsi      # 0xa091
jmp 0x2eee
leaq 0x7201(%rip), %rsi      # 0xa0b0
movq %rbx, %rdi
callq 0x22b0
leaq 0x7211(%rip), %rsi      # 0xa0cf
jmp 0x2eee
leaq 0x71e9(%rip), %rsi      # 0xa0b0
movq %rbx, %rdi
callq 0x22b0
leaq 0x71ee(%rip), %rsi      # 0xa0c4
jmp 0x2eee
leaq 0x7195(%rip), %rsi      # 0xa074
movq %rbx, %rdi
callq 0x22b0
leaq 0x7198(%rip), %rsi      # 0xa086
movq %rbx, %rdi
callq 0x22b0
leaq 0x71dd(%rip), %rsi      # 0xa0da
movq %rbx, %rdi
callq 0x22b0
leaq 0x1a0(%rsp), %rdi
callq 0x21c0
leaq 0x1a0(%rsp), %rdi
movl %r14d, %esi
callq 0x2280
leaq 0x1a8(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x2230
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x22d0
leaq 0x28(%rsp), %rdi
callq 0x20a0
leaq 0x7113(%rip), %rsi      # 0xa065
movq %rbx, %rdi
callq 0x22b0
leaq 0x7183(%rip), %rsi      # 0xa0e4
movq %rbx, %rdi
callq 0x22b0
leaq 0x28(%rsp), %rdi
callq 0x21c0
leaq 0x28(%rsp), %rdi
movl %ebp, %esi
callq 0x2280
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x2230
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x22d0
leaq 0x8(%rsp), %rdi
callq 0x20a0
leaq 0x70b9(%rip), %rsi      # 0xa065
movq %rbx, %rdi
callq 0x22b0
leaq 0x70b6(%rip), %rsi      # 0xa071
movq %rbx, %rdi
callq 0x22b0
leaq 0x28(%rsp), %rdi
callq 0x2040
leaq 0x1a0(%rsp), %rdi
callq 0x2040
movq %rbx, %rax
addq $0x318, %rsp            # imm = 0x318
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x20a0
jmp 0x3019
jmp 0x3016
jmp 0x3025
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x20a0
jmp 0x3028
jmp 0x3025
jmp 0x3011
movq %rax, %r14
jmp 0x3035
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x2040
jmp 0x3028
movq %rax, %r14
leaq 0x1a0(%rsp), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x20a0
movq %r14, %rdi
callq 0x2290
nop