LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/grame-cncm[P]digraph/./dglib/schedule.hh
// Function: schedule<char> dfschedule<char, int>(digraph<char, int> const&)
inline schedule<N> dfschedule(const digraph<N, A>& G)
{
    schedule<N> S;
    std::set<N> V;  // set of visited nodes

    // recursive deep first visit (pseudo local function using a lambda)
    std::function<void(const N&)> dfvisit = [&](const N& n) {
        if (V.find(n) == V.end()) {
            V.insert(n);
            for (const auto& p : G.connections(n)) {
                dfvisit(p.first);
            }
            S.append(n);
        }
    };

    for (const auto& n : roots(G)) dfvisit(n);

    return S;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
leaq 0x20(%rdi), %rcx
movl %eax, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movq %rcx, 0x30(%rdi)
movq %rcx, 0x38(%rdi)
movq %rax, 0x40(%rdi)
leaq 0x40(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq %rax, 0x8(%rsp)
movl $0x20, %edi
callq 0x2170
leaq 0x38(%rsp), %rcx
movq %rcx, (%rax)
movq %r14, 0x8(%rax)
movq %rsp, %rcx
movq %rcx, 0x10(%rax)
movq %rbx, 0x18(%rax)
movq %rax, (%rcx)
leaq 0x3968(%rip), %rax      # 0x1a988
movq %rax, 0x18(%rcx)
leaq 0x3965(%rip), %rax      # 0x1a990
movq %rax, 0x10(%rcx)
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x16cf8
movq 0x20(%rsp), %r14
movq 0x28(%rsp), %r12
cmpq %r12, %r14
je 0x1706d
movq %rsp, %r15
cmpq $0x0, 0x10(%rsp)
je 0x170aa
movq %r15, %rdi
movq %r14, %rsi
callq *0x18(%rsp)
incq %r14
cmpq %r12, %r14
jne 0x1704e
movq 0x20(%rsp), %r14
testq %r14, %r14
je 0x1707a
movq %r14, %rdi
callq 0x2150
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x17091
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x38(%rsp), %rdi
callq 0x3934
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x2090
jmp 0x17100
movq %rax, %r14
jmp 0x170cf
movq %rax, %r14
jmp 0x170e6
jmp 0x170bd
movq %rax, %r14
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x170cf
callq 0x2150
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x170e6
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x38(%rsp), %rdi
callq 0x3934
movq %rbx, %rdi
callq 0x17108
movq %r14, %rdi
callq 0x2250
movq %rax, %rdi
callq 0x31c5
// File: /workspace/github_cpp_makefile_star2_O3/grame-cncm[P]digraph/./dglib/schedule.hh
// Function: schedule<char> dfcyclesschedule<char, int>(digraph<char, int> const&)
inline schedule<N> dfcyclesschedule(const digraph<N, A>& G)
{
    digraph<digraph<N, A>, A> H  = graph2dag(G);
    schedule<digraph<N, A>>   SH = dfschedule(H);
    schedule<N>               S;
    for (const digraph<N, A>& n : SH.elements()) {
        S.append(dfschedule(cut(n, 1)));
    }
    return S;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x90(%rsp), %rdi
callq 0x1513a
leaq 0x120(%rsp), %r14
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1848d
movq %r14, %rdi
callq 0x5ad0
leaq 0xf0(%rsp), %rdi
callq 0x1767c
leaq 0xa0(%rsp), %rdi
callq 0x5b6e
leaq 0x90(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1b09d
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
xorl %eax, %eax
movq %rax, 0x10(%rbx)
leaq 0x20(%rbx), %rcx
movl $0x0, 0x20(%rbx)
movq %rax, 0x28(%rbx)
movq %rcx, 0x30(%rbx)
movq %rcx, 0x38(%rbx)
movq %rax, 0x40(%rbx)
movq 0x90(%rsp), %r14
movq 0x98(%rsp), %rax
movq %rax, 0x20(%rsp)
cmpq %rax, %r14
je 0x17296
leaq 0x38(%rsp), %r15
movq %rsp, %r13
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movl $0x1, (%rsp)
leaq 0x2625(%rip), %rax      # 0x1981c
movq %rax, 0x18(%rsp)
leaq 0x2621(%rip), %rax      # 0x19824
movq %rax, 0x10(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x196e1
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x1722d
movq %r13, %rdi
movq %r13, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x48(%rsp), %rdi
movq %r15, %rbp
movq %r15, %rsi
callq 0x16fa5
movq 0x48(%rsp), %r15
movq 0x50(%rsp), %r12
cmpq %r12, %r15
je 0x1725c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1aa72
incq %r15
jmp 0x17247
leaq 0x60(%rsp), %rdi
callq 0x176c6
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x17275
callq 0x2150
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
movq %rbp, %r15
je 0x17287
callq 0x3504
addq $0x10, %r14
cmpq 0x20(%rsp), %r14
jne 0x171e2
leaq 0xa8(%rsp), %rdi
callq 0x18a4e
leaq 0x90(%rsp), %rdi
callq 0x164aa
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x172bf
callq 0x3504
movq %rbx, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x17354
movq %rax, %r14
leaq 0x90(%rsp), %rdi
callq 0x15258
jmp 0x17363
jmp 0x1730e
movq %rax, %r14
jmp 0x17323
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x17332
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x17332
movq %rax, %rdi
callq 0x31c5
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x17108
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x17332
callq 0x3504
movq %rbx, %rdi
callq 0x17108
leaq 0xa8(%rsp), %rdi
callq 0x18a4e
leaq 0x90(%rsp), %rdi
callq 0x164aa
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x17363
callq 0x3504
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O3/grame-cncm[P]digraph/./dglib/digraphop.hh
// Function: digraph<char, int> mapconnections<char, int>(digraph<char, int> const&, std::function<bool (char const&, char const&, int const&)>)
inline digraph<N, A> mapconnections(const digraph<N, A>& G, std::function<bool(const N&, const N&, const A&)> keep)
{
    digraph<N, A> R;
    for (const N& n : G.nodes()) {
        R.add(n);
        for (const auto& c : G.connections(n)) {
            if (keep(n, c.first, c.second)) {
                R.add(n, c.first, c.second);
            }
        }
    }
    return R;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, 0x8(%rsp)
callq 0x14ee8
movq %rbx, 0x18(%rsp)
movq (%rbx), %rax
movq 0x18(%rax), %r15
addq $0x8, %rax
movq %rax, 0x10(%rsp)
cmpq %rax, %r15
je 0x197df
leaq 0x7(%rsp), %r12
movb 0x20(%r15), %al
movq 0x8(%rsp), %rcx
movq (%rcx), %rbx
movb %al, 0x7(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3d48
addq $0x30, %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x178ea
movq %r15, 0x20(%rsp)
leaq 0x20(%r15), %rbp
movq 0x18(%rsp), %rax
movq (%rax), %rdi
addq $0x30, %rdi
movq %rbp, %rsi
callq 0x17ddc
movq %rax, %r15
movq 0x18(%rax), %r13
addq $0x8, %r15
cmpq %r15, %r13
je 0x197c2
cmpq $0x0, 0x10(%r14)
je 0x197f3
leaq 0x20(%r13), %r12
leaq 0x24(%r13), %rbx
movq %r14, %rdi
movq %rbp, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq *0x18(%r14)
testb %al, %al
je 0x197b2
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movq %rbp, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x1781e
movq %r13, %rdi
callq 0x21b0
movq %rax, %r13
cmpq %r15, %rax
jne 0x19779
movq 0x20(%rsp), %rdi
callq 0x21b0
movq %rax, %r15
cmpq 0x10(%rsp), %rax
leaq 0x7(%rsp), %r12
jne 0x19722
movq 0x8(%rsp), %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2090
jmp 0x197fe
jmp 0x197fe
jmp 0x197fe
movq %rax, %r14
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x19814
callq 0x3504
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O3/grame-cncm[P]digraph/./dglib/schedule.hh
// Function: schedule<char>::append(char const&)
schedule& append(const N& n)
    {
        if (fOrder[n] > 0) {
            std::cerr << "WARNING, already scheduled" << std::endl;
        } else {
            fElements.push_back(n);
            fOrder[n] = fElements.size();
        }
        return *this;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r15
movq %r15, %rdi
callq 0x17950
cmpl $0x0, (%rax)
jle 0x1aad5
movq 0xd558(%rip), %r14      # 0x27ff0
leaq 0x34de(%rip), %rsi      # 0x1df7d
movl $0x1a, %edx
movq %r14, %rdi
callq 0x21a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
jmp 0x1ab11
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x1aaf1
movb (%r14), %al
movb %al, (%rsi)
movq 0x8(%rbx), %r12
incq %r12
movq %r12, 0x8(%rbx)
jmp 0x1ab00
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1a89a
movq 0x8(%rbx), %r12
subl (%rbx), %r12d
movq %r15, %rdi
movq %r14, %rsi
callq 0x17950
movl %r12d, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/yuryu[P]tfoecho/server.cpp
// Function: open_socket(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int open_socket(const std::string &port)
{
    struct addrinfo hint, *res;
    
    std::memset(&hint, 0, sizeof(hint));
    hint.ai_family = AF_UNSPEC;
    hint.ai_socktype = SOCK_STREAM;
    hint.ai_flags = AI_PASSIVE | AI_NUMERICSERV;
    int e = getaddrinfo(nullptr, port.c_str(), &hint, &res);
    if( e != 0 )
    {
        std::cerr << "getaddrinfo: " << gai_strerror(e) << std::endl;
        std::exit(EXIT_FAILURE);
    }
    
    int sock;
    struct addrinfo *rp;
    for( rp = res; rp != nullptr; rp = rp->ai_next )
    {
        sock = socket(rp->ai_family, rp->ai_socktype | SOCK_NONBLOCK, rp->ai_protocol);
        if( sock == -1 ) continue;
        if( bind(sock, rp->ai_addr, rp->ai_addrlen) == 0 ) break;
        close(sock);
    }
    if( rp == nullptr )
    {
        std::cerr << "Couldn't bind." << std::endl;
        std::exit(EXIT_FAILURE);
    }
    int protocol = rp->ai_protocol;
    freeaddrinfo(res);
    
    const int qlen = TFO_QLEN;
    e = setsockopt(sock, protocol, TCP_FASTOPEN, &qlen, sizeof(qlen));
    if( e == -1 )
    {
        close(sock);
        cerror("setsockopt");
        std::exit(EXIT_FAILURE);
    }
    if( listen(sock, LISTEN_QLEN) == -1 )
    {
        close(sock);
        cerror("listen");
        std::exit(EXIT_FAILURE);
    }
    return sock;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, 0x20(%rdx)
movl $0x1, 0x8(%rdx)
movl $0x401, (%rdx)          # imm = 0x401
movq (%rdi), %rsi
movq %rsp, %rcx
xorl %edi, %edi
callq 0x21d0
testl %eax, %eax
jne 0x24c6
movq (%rsp), %r14
testq %r14, %r14
je 0x2454
movl $0x800, %ebp            # imm = 0x800
movl 0x8(%r14), %esi
orl %ebp, %esi
movl 0x4(%r14), %edi
movl 0xc(%r14), %edx
callq 0x2060
cmpl $-0x1, %eax
je 0x244b
movl %eax, %ebx
movq 0x18(%r14), %rsi
movl 0x10(%r14), %edx
movl %eax, %edi
callq 0x2050
testl %eax, %eax
je 0x2479
movl %ebx, %edi
callq 0x2280
movq 0x28(%r14), %r14
testq %r14, %r14
jne 0x2417
movq 0x2b95(%rip), %rdi      # 0x4ff0
leaq 0xbb0(%rip), %rsi       # 0x3012
callq 0x2170
movq %rax, %rdi
callq 0x20e0
movl $0x1, %edi
callq 0x21c0
movl 0xc(%r14), %ebp
movq (%rsp), %rdi
callq 0x21e0
leaq 0xc(%rsp), %rcx
movl $0x80, (%rcx)
movl %ebx, %edi
movl %ebp, %esi
movl $0x17, %edx
movl $0x4, %r8d
callq 0x2260
cmpl $-0x1, %eax
je 0x24f0
movl %ebx, %edi
movl $0x80, %esi
callq 0x21a0
cmpl $-0x1, %eax
je 0x2500
movl %ebx, %eax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl %eax, %ebx
movq 0x2b21(%rip), %rdi      # 0x4ff0
leaq 0xb2e(%rip), %rsi       # 0x3004
callq 0x2170
movq %rax, %r14
movl %ebx, %edi
callq 0x2210
movq %r14, %rdi
movq %rax, %rsi
jmp 0x2462
movl %ebx, %edi
callq 0x2280
leaq 0xb23(%rip), %rdi       # 0x3021
jmp 0x250e
movl %ebx, %edi
callq 0x2280
leaq 0xb1e(%rip), %rdi       # 0x302c
callq 0x2518
jmp 0x246f
// File: /workspace/github_cpp_makefile_star2_O3/yuryu[P]tfoecho/server.cpp
// Function: accept_and_register(int, int)
int accept_and_register(int sfd, int epollfd)
{
    // Accept a new connection
    struct sockaddr addr;
    socklen_t addrlen = sizeof(addr);
    int s;
    do
    {
        s = accept4(sfd, &addr, &addrlen, SOCK_NONBLOCK);
    } while( s == -1 && errno == EINTR );
    if( s == -1 )
    {
        cerror("accept");
        std::exit(EXIT_FAILURE);
    }

    struct epoll_event ev;
    ev.events = EPOLLIN | EPOLLET;
    ev.data.fd = s;
    if( epoll_ctl(epollfd, EPOLL_CTL_ADD, s, &ev) == -1 )
    {
        perror("epoll_ctl: EPOLL_CTL_ADD");
        std::exit(EXIT_FAILURE);
    }
    return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebx
movl %edi, %ebp
movq %rsp, %r14
movl $0x10, (%r14)
leaq 0x10(%rsp), %r15
movl %ebp, %edi
movq %r15, %rsi
movq %r14, %rdx
movl $0x800, %ecx            # imm = 0x800
callq 0x20d0
cmpl $-0x1, %eax
jne 0x2641
callq 0x2040
cmpl $0x4, (%rax)
je 0x260a
leaq 0xa01(%rip), %rdi       # 0x3033
callq 0x2518
movl $0x1, %edi
callq 0x21c0
movl %eax, %r12d
leaq 0x4(%rsp), %rcx
movl $0x80000001, (%rcx)     # imm = 0x80000001
movl %eax, 0x4(%rcx)
movl %ebx, %edi
movl $0x1, %esi
movl %eax, %edx
callq 0x2200
cmpl $-0x1, %eax
je 0x2675
movl %r12d, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x22a0
// File: /workspace/github_cpp_makefile_star2_O3/yuryu[P]tfoecho/server.cpp
// Function: process_client_socket(int, int)
void process_client_socket(int s, int epollfd)
{
    static std::vector<char> buf(BUFFER_SIZE);
    ssize_t rs;
    while( (rs = recv(s, &buf[0], buf.size(), 0)) != 0 )
    {
        if( rs == -1 )
        {
            if( errno == EINTR ) continue;
            if( errno == EAGAIN || errno == EWOULDBLOCK ) return;
            cerror("recv");
            break;
        }
        ssize_t sent;
        // EAGAIN or EWOULDBLOCK is retuned when the socket buffer is full
        // We should try with another socket for maximum performance, however,
        // we just wait until the buffer becomes available as we don't have
        // enough buffer for that.
        do {
            sent = send(s, &buf[0], rs, 0);
        } while( sent == -1 && 
                 (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK) );
        if( sent == -1 )
        {
            cerror("send");
            break;
        }
    }
    if( epoll_ctl(epollfd, EPOLL_CTL_DEL, s, nullptr) == -1 )
        cerror("epoll_ctl: EPOLL_CTL_DEL");
    close(s);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movl %edi, %ebx
movb 0x2afd(%rip), %al       # 0x5188
testb %al, %al
je 0x2767
movq 0x2ad6(%rip), %rsi      # 0x5170
movq 0x2ad7(%rip), %rdx      # 0x5178
subq %rsi, %rdx
movl %ebx, %edi
xorl %ecx, %ecx
callq 0x2080
cmpq $-0x1, %rax
je 0x2704
movq %rax, %r14
testq %rax, %rax
je 0x272c
movq 0x2aae(%rip), %rsi      # 0x5170
movl %ebx, %edi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x20f0
cmpq $-0x1, %rax
jne 0x2693
callq 0x2040
movq %rax, %r15
movl (%r15), %eax
cmpl $0x4, %eax
je 0x26e9
cmpl $0xb, %eax
jne 0x2720
movq 0x2a80(%rip), %rsi      # 0x5170
movl %ebx, %edi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x20f0
cmpq $-0x1, %rax
je 0x26dc
jmp 0x2693
callq 0x2040
movl (%rax), %eax
cmpl $0x4, %eax
je 0x2693
cmpl $0xb, %eax
jne 0x275e
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x931(%rip), %rdi       # 0x3058
callq 0x2518
movl %ebp, %edi
movl $0x2, %esi
movl %ebx, %edx
xorl %ecx, %ecx
callq 0x2200
cmpl $-0x1, %eax
jne 0x274d
leaq 0x915(%rip), %rdi       # 0x305d
callq 0x2518
movl %ebx, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2280
leaq 0x8ee(%rip), %rdi       # 0x3053
jmp 0x2727
leaq 0x2a1a(%rip), %rdi      # 0x5188
callq 0x2270
testl %eax, %eax
je 0x2693
xorps %xmm0, %xmm0
movups %xmm0, 0x29eb(%rip)     # 0x5170
movq $0x0, 0x29f0(%rip) # 0x5180
movl $0x1000, %edi           # imm = 0x1000
callq 0x2180
movq %rax, 0x29cf(%rip)      # 0x5170
leaq 0x29c8(%rip), %r14      # 0x5170
movq %rax, %r15
addq $0x1000, %r15           # imm = 0x1000
movq %r15, 0x29c7(%rip)      # 0x5180
movl $0x1000, %edx           # imm = 0x1000
movq %rax, %rdi
xorl %esi, %esi
callq 0x2100
movq %r15, 0x29a9(%rip)      # 0x5178
leaq 0x1c4(%rip), %rdi       # 0x299a
leaq 0x2973(%rip), %rdx      # 0x5150
movq %r14, %rsi
callq 0x2150
leaq 0x299c(%rip), %rdi      # 0x5188
callq 0x2120
jmp 0x2693
movq %rax, %rbx
leaq 0x2988(%rip), %rdi      # 0x5188
callq 0x2110
movq %rbx, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O3/yuryu[P]tfoecho/server.cpp
// Function: server(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void server(const std::string &port)
{
    FD sfd(open_socket(port));
    
    struct epoll_event ev, events[MAX_EVENTS];

    FD epollfd(epoll_create1(0));
    if( epollfd == -1 )
    {
        cerror("epoll_create1");
        std::exit(EXIT_FAILURE);
    }
    ev.events = EPOLLIN;
    ev.data.fd = sfd;
    if( epoll_ctl(epollfd, EPOLL_CTL_ADD, sfd, &ev) == -1 )
    {
        perror("epoll_ctl: EPOLL_CTL_ADD");
        std::exit(EXIT_FAILURE);
    }

    while( 1 )
    {
        const int nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1);
        if( nfds == -1 )
        {
            if( errno == EINTR ) continue;
            cerror("epoll_wait");
            std::exit(EXIT_FAILURE);
        }

        for( int i = 0; i < nfds; ++i )
        {
            if( events[i].data.fd == sfd )
                accept_and_register(sfd, epollfd);
            else
                process_client_socket(events[i].data.fd, epollfd);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
callq 0x23cc
movl %eax, %ebx
movl %eax, 0x10(%rsp)
xorl %edi, %edi
callq 0x21f0
movl %eax, 0xc(%rsp)
cmpl $-0x1, %eax
jne 0x2845
leaq 0x838(%rip), %rdi       # 0x3076
callq 0x2518
jmp 0x2874
movl %eax, %ebp
leaq 0x14(%rsp), %rcx
movl $0x1, (%rcx)
movl %ebx, 0x4(%rcx)
movl %eax, %edi
movl $0x1, %esi
movl %ebx, %edx
callq 0x2200
cmpl $-0x1, %eax
jne 0x287e
leaq 0x7cb(%rip), %rdi       # 0x303a
callq 0x2140
movl $0x1, %edi
callq 0x21c0
leaq 0x20(%rsp), %r14
movl %ebp, %edi
movq %r14, %rsi
movl $0x20, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x20c0
cmpl $-0x1, %eax
je 0x28d3
testl %eax, %eax
jle 0x2883
movl %eax, %eax
shlq $0x2, %rax
leaq (%rax,%rax,2), %r15
xorl %r12d, %r12d
movl 0x24(%rsp,%r12), %edi
cmpl %ebx, %edi
jne 0x28c1
movl %ebx, %edi
movl %ebp, %esi
callq 0x25eb
jmp 0x28c8
movl %ebp, %esi
callq 0x267a
addq $0xc, %r12
cmpq %r12, %r15
jne 0x28ad
jmp 0x2883
callq 0x2040
cmpl $0x4, (%rax)
je 0x2883
leaq 0x7a0(%rip), %rdi       # 0x3084
callq 0x2518
jmp 0x2874
jmp 0x28f1
jmp 0x28f1
jmp 0x28f1
movq %rax, %rbx
leaq 0xc(%rsp), %rdi
callq 0x29b2
leaq 0x10(%rsp), %rdi
callq 0x29b2
movq %rbx, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O3/yuryu[P]tfoecho/server.cpp
// Function: main
int main(int argc, char *argv[])
{
    std::string port;
    if( argc <= 1 )
    {
        port = DEFAULT_PORT;
    } else {
        port = argv[1];
    }

    server(port);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
cmpl $0x1, %edi
jg 0x294e
leaq 0x757(%rip), %rcx       # 0x308f
leaq 0x8(%rsp), %rdi
movl $0x5, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x2230
jmp 0x296e
movq 0x8(%rsi), %rbx
movq %rbx, %rdi
callq 0x20b0
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
movq %rax, %r8
callq 0x2230
leaq 0x8(%rsp), %rdi
callq 0x280d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2992
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/app/tThread.cpp
// Function: u::tThread::tThread(u::Vector<u::String>)
tThread(Vector<String> arg)
			{
				trace("Hello " + toString());
				cnt = 0;
				trace("Create thread now...");
				Callback cb(this, cb_cast(&tThread::newThread));
				ThreadSystem::create(&cb);
				//programExit();
			}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
callq 0x405c60
leaq 0x1faddd(%rip), %rax    # 0x5ff7c0
movq %rax, (%rbx)
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
leaq 0x190685(%rip), %rsi    # 0x595079
movl $0x4, %edx
callq 0x473b60
movq (%rbx), %rax
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq *0x18(%rax)
leaq 0x60(%rsp), %rdi
leaq 0x190666(%rip), %rcx    # 0x59507e
movl $0x6, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x484f80
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x404a4e
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x404a58
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq %r15, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
callq 0x473b60
movq %rax, %r14
leaq 0x1905ff(%rip), %rsi    # 0x595085
movl $0x4, %edx
movq %rax, %rdi
callq 0x473b60
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x454cb0
movsbl %al, %esi
movq %r14, %rdi
callq 0x473660
movq %rax, %rdi
callq 0x472c30
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x404ad1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40a100
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x404aec
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x40a100
leaq 0x28(%rsp), %rdi
callq 0x405d26
movq $0x0, 0x38(%rbx)
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
leaq 0x19056d(%rip), %rsi    # 0x595079
movl $0x4, %edx
callq 0x473b60
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
leaq 0x190566(%rip), %rsi    # 0x59508a
movl $0x14, %edx
callq 0x473b60
movq $0x60a5a0, %r14         # imm = 0x60A5A0
leaq 0x190549(%rip), %rsi    # 0x595085
movl $0x4, %edx
movq %r14, %rdi
callq 0x473b60
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x454cb0
movsbl %al, %esi
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
callq 0x473660
movq %rax, %rdi
callq 0x472c30
leaq 0x509(%rip), %rdx       # 0x405084
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x405558
leaq 0x28(%rsp), %rdi
callq 0x407d30
leaq 0x28(%rsp), %rdi
callq 0x405d26
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x405d26
jmp 0x404bef
jmp 0x404bec
movq %rax, %r14
jmp 0x404be0
jmp 0x404bec
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x404be0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40a100
leaq 0x28(%rsp), %rdi
callq 0x4049a2
jmp 0x404bef
movq %rax, %r14
movq %rbx, %rdi
callq 0x405d26
movq %r14, %rdi
callq 0x4b43e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/app/tThread.cpp
// Function: u::tThread::newThread(u::Object*)
void newThread(Object *arg)
			{
				int64 num;
				lock();
				num = cnt++;
				unlock();
				trace("This is thread nr. " + int2string(num));
				Callback cb(this, cb_cast(&tThread::newThread));
				ThreadSystem::create(&cb);
				ThreadSystem::create(&cb);
				if(num == 10000)
				{
					trace("-----------------END PRG----------------------");
					programExit();
				}
			}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %r14
callq 0x405c1a
movq 0x38(%r14), %rbx
leaq 0x1(%rbx), %rax
movq %rax, 0x38(%r14)
movq %r14, %rdi
callq 0x405bd2
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
leaq 0x18ffc0(%rip), %rsi    # 0x595079
movl $0x4, %edx
callq 0x473b60
leaq 0x20(%rsp), %rdi
movl %ebx, %esi
callq 0x405f08
leaq 0x58(%rsp), %rdi
leaq 0x18ffc4(%rip), %rcx    # 0x59509f
movl $0x13, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x484f80
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x405111
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x40511c
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r12, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
callq 0x473b60
movq %rax, %r15
leaq 0x18ff3b(%rip), %rsi    # 0x595085
movl $0x4, %edx
movq %rax, %rdi
callq 0x473b60
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x454cb0
movsbl %al, %esi
movq %r15, %rdi
callq 0x473660
movq %rax, %rdi
callq 0x472c30
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x405194
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x40a100
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4051af
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x40a100
leaq 0x20(%rsp), %rdi
callq 0x405d26
leaq -0x13c(%rip), %rdx      # 0x405084
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x405558
movq %r15, %rdi
callq 0x407d30
leaq 0x20(%rsp), %rdi
callq 0x407d30
cmpq $0x2710, %rbx           # imm = 0x2710
jne 0x40526b
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
leaq 0x18fe7b(%rip), %rsi    # 0x595079
movl $0x4, %edx
callq 0x473b60
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
leaq 0x18fe9d(%rip), %rsi    # 0x5950b3
movl $0x2e, %edx
callq 0x473b60
movq $0x60a5a0, %rbx         # imm = 0x60A5A0
leaq 0x18fe57(%rip), %rsi    # 0x595085
movl $0x4, %edx
movq %rbx, %rdi
callq 0x473b60
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x454cb0
movsbl %al, %esi
movq $0x60a5a0, %rdi         # imm = 0x60A5A0
callq 0x473660
movq %rax, %rdi
callq 0x472c30
callq 0x4047a8
leaq 0x20(%rsp), %rdi
callq 0x405d26
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x40529f
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x40529f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x40a100
leaq 0x20(%rsp), %rdi
callq 0x4049a2
jmp 0x4052b8
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x405d26
movq %rbx, %rdi
callq 0x4b43e0
// File: /workspace/github_cpp_makefile_star2_O3/toxaart[P]hierarchical_block_sparse_lib/test_source/test_matrix_alloc_problem.cc
// Function: get_wall_seconds()
static double get_wall_seconds() {
  struct timeval tv;
  if(gettimeofday(&tv, NULL) != 0)
    throw std::runtime_error("Error in cht::get_wall_seconds(), in gettimeofday().");
  double seconds = tv.tv_sec + (double)tv.tv_usec / 1000000;
  return seconds;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x21c0
testl %eax, %eax
jne 0x3244
cvtsi2sdq 0x8(%rsp), %xmm1
cvtsi2sdq 0x10(%rsp), %xmm0
divsd 0x3de8(%rip), %xmm0     # 0x7020
addsd %xmm1, %xmm0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x2080
movq %rax, %rbx
leaq 0x3eca(%rip), %rsi      # 0x7122
movq %rax, %rdi
callq 0x2070
movq 0x6d89(%rip), %rsi      # 0x9ff0
movq 0x6d4a(%rip), %rdx      # 0x9fb8
movq %rbx, %rdi
callq 0x21e0
movq %rax, %r14
movq %rbx, %rdi
callq 0x20e0
movq %r14, %rdi
callq 0x2200
nop
// File: /workspace/github_cpp_makefile_star2_O3/davidsun[P]TinyCompiler/ItemSet.cpp
// Function: ItemSet::operator==(ItemSet const&) const
bool ItemSet::operator == (const ItemSet &itemSet) const{
    if (_items.size() != itemSet._items.size()) return false;
    int found = 0;
    for (int i = 0; i < _items.size(); i ++){
        for (int j = 0; j < itemSet._items.size(); j ++){
            if (_items[i] == itemSet._items[j]){
                found ++;
                break;
            }
        }
    }
    return found == _items.size();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
movq %rdx, %rax
subq %rcx, %rax
movq 0x8(%rsi), %rsi
subq (%rbx), %rsi
cmpq %rsi, %rax
jne 0x2e8d
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
xorl %esi, %esi
cmpq %rcx, %rdx
je 0x2e91
movq %rdi, %r14
movq $0x0, 0x8(%rsp)
xorl %ecx, %ecx
movq (%rbx), %rsi
cmpq %rsi, 0x8(%rbx)
je 0x2e6c
movq %rcx, 0x10(%rsp)
leaq (%rcx,%rcx,2), %rbp
shlq $0x4, %rbp
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%r14), %rdi
addq %rbp, %rdi
addq %r15, %rsi
callq 0x29c4
testb %al, %al
jne 0x2e5b
incq %r12
movq (%rbx), %rsi
movq 0x8(%rbx), %rax
subq %rsi, %rax
sarq $0x4, %rax
imulq %r13, %rax
addq $0x30, %r15
cmpq %r12, %rax
ja 0x2e29
jmp 0x2e67
movq 0x8(%rsp), %rax
incl %eax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rcx
movq 0x8(%r14), %rax
subq (%r14), %rax
incq %rcx
sarq $0x4, %rax
imulq %r13, %rax
cmpq %rcx, %rax
ja 0x2e0d
movq 0x8(%rsp), %rsi
movslq %esi, %rsi
jmp 0x2e99
xorl %eax, %eax
jmp 0x2e9f
sarq $0x4, %rax
imulq %r13, %rax
cmpq %rsi, %rax
sete %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/davidsun[P]TinyCompiler/LRAnalytics.cpp
// Function: LRAnalytics::addRule(char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void LRAnalytics::addRule(char left_side, const string &right_side){
    _rules.push_back(Item(left_side, right_side, 0));
    for (int i = 0; i < right_side.size(); i ++)
        if (std::string::npos == _letters.find(right_side[i])) _letters += right_side[i];
    if (std::string::npos == _letters.find(left_side)) _letters += left_side;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x20(%rdi), %r15
movq %rsp, %r12
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x2928
movq %r15, %rdi
movq %r12, %rsi
callq 0x5988
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4381
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21b0
cmpq $0x0, 0x8(%r14)
je 0x43bc
xorl %r15d, %r15d
movq (%r14), %rax
movsbl (%rax,%r15), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2230
cmpq $-0x1, %rax
jne 0x43b3
movq (%r14), %rax
movsbl (%rax,%r15), %esi
movq %rbx, %rdi
callq 0x2170
incq %r15
cmpq %r15, 0x8(%r14)
ja 0x438b
movsbl %bpl, %ebp
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x2230
cmpq $-0x1, %rax
jne 0x43dc
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2170
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4407
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x22f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/davidsun[P]TinyCompiler/LRAnalytics.cpp
// Function: LRAnalytics::genStates() const
vector <ItemSet> LRAnalytics::genStates() const{
    vector <ItemSet> ret;
    ret.push_back(_rules);
    int cur = 0;
    while (cur < ret.size()){
        for (int i = 0; i < _letters.size(); i ++){
            const ItemSet &p = ret[cur]; 
            ItemSet newSet = p.advance(_letters[i], _rules);
            int j;
            for (j = 0; j < ret.size(); j ++)
                if (newSet == ret[j]) break; 
            if (newSet.getItems().size() > 0 && j == ret.size()) ret.push_back(newSet);
        }
        cur ++;
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
addq $0x20, %rsi
leaq 0x20(%rsp), %rdi
movq %rsi, 0x10(%rsp)
callq 0x2b1a
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x5b9a
leaq 0x20(%rsp), %rdi
callq 0x3190
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
cmpq %rax, %rcx
je 0x45cd
movq 0x8(%r14), %rdx
xorl %edi, %edi
movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB
leaq 0x20(%rsp), %r12
movq %r14, 0x8(%rsp)
testq %rdx, %rdx
je 0x45b1
movq %rdi, (%rsp)
leaq (%rdi,%rdi,2), %rax
shlq $0x3, %rax
movq %rax, 0x18(%rsp)
xorl %r15d, %r15d
movq (%rbx), %rsi
addq 0x18(%rsp), %rsi
movq (%r14), %rax
movsbl (%rax,%r15), %edx
movq %r12, %rdi
movq 0x10(%rsp), %rcx
callq 0x2b2e
movq (%rbx), %rsi
cmpq %rsi, 0x8(%rbx)
je 0x4554
xorl %r14d, %r14d
xorl %r13d, %r13d
addq %r14, %rsi
movq %r12, %rdi
callq 0x2dbc
testb %al, %al
jne 0x4557
incq %r13
movq (%rbx), %rsi
movq 0x8(%rbx), %rax
subq %rsi, %rax
sarq $0x3, %rax
imulq %rbp, %rax
addq $0x18, %r14
cmpq %r13, %rax
ja 0x4525
jmp 0x4557
xorl %r13d, %r13d
movq %r12, %rdi
callq 0x2db8
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x4587
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x3, %rax
imulq %rbp, %rax
cmpq %r13, %rax
jne 0x4587
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5734
movq %r12, %rdi
callq 0x3190
incq %r15
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rdx
cmpq %r15, %rdx
ja 0x44f9
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movq (%rsp), %rdi
jmp 0x45b3
xorl %edx, %edx
incq %rdi
movq %rcx, %rsi
subq %rax, %rsi
sarq $0x3, %rsi
imulq %rbp, %rsi
cmpq %rdi, %rsi
ja 0x44dc
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x45ea
jmp 0x45e3
movq %rax, %r14
jmp 0x45f7
jmp 0x45ea
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x3190
movq %rbx, %rdi
callq 0x5760
movq %r14, %rdi
callq 0x22f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/davidsun[P]TinyCompiler/LRAnalytics.cpp
// Function: LRAnalytics::getTerminals[abi:cxx11]() const
string LRAnalytics::getTerminals() const{
    string non = getNonTerminals();
    string ret;
    for (int i = 0; i < _letters.size(); i ++)
        if (std::string::npos == non.find(_letters[i])) ret += _letters[i];
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x4608
leaq 0x10(%rbx), %r12
movq %r12, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
cmpq $0x0, 0x8(%r14)
je 0x472c
xorl %r13d, %r13d
movq %rsp, %r15
movq (%r14), %rax
movsbl (%rax,%r13), %esi
movq %r15, %rdi
xorl %edx, %edx
callq 0x2230
cmpq $-0x1, %rax
jne 0x4723
movq (%r14), %rax
movsbl (%rax,%r13), %esi
movq %rbx, %rdi
callq 0x2170
incq %r13
cmpq %r13, 0x8(%r14)
ja 0x46fb
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4747
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x476f
movq (%r12), %rsi
incq %rsi
callq 0x21b0
movq %rsp, %rdi
callq 0x2394
movq %r14, %rdi
callq 0x22f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/davidsun[P]TinyCompiler/CodeGenerator.cpp
// Function: CodeGenerator::parse(LRAnalytics const&, std::vector<std::pair<char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>> const&, std::vector<int, std::allocator<int>> const&, std::vector<std::vector<CodeItem, std::allocator<CodeItem>>, std::allocator<std::vector<CodeItem, std::allocator<CodeItem>>>> const&)
vector <string> CodeGenerator::parse(const LRAnalytics &lr_analytics, const vector <pair <char, string> > &la_result, const vector <int> &lra_result, const vector <ListCodeItems> &code_rules){
    _lra_position = lra_result.size() - 1;
    _la_position = la_result.size() - 1;
    _tmp_count = 0;
    _label_count = 0;
    _lr_analytics = lr_analytics;
    _la_result = la_result;
    _lra_result = lra_result;
    _code_rules = code_rules;
    return parse_p().second;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r14
movq 0x8(%r8), %rax
subq (%r8), %rax
shrq $0x2, %rax
decl %eax
movl %eax, (%rsi)
movq 0x8(%rcx), %rax
subq (%rcx), %rax
movq %rdi, %rbx
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
decl %eax
movl %eax, 0x4(%rsi)
xorl %eax, %eax
movq %rax, 0x8(%rsi)
leaq 0x10(%rsi), %rdi
movq %rdx, %rsi
callq 0x2100
leaq 0x30(%r14), %rdi
addq $0x20, %rbp
movq %rbp, %rsi
callq 0x2fa0
leaq 0x48(%r14), %rdi
movq %r13, %rsi
callq 0x888e
leaq 0x60(%r14), %rdi
movq %r12, %rsi
callq 0x8a68
leaq 0x78(%r14), %rdi
movq %r15, %rsi
callq 0x8b4c
movq %rsp, %rdi
movq %r14, %rsi
callq 0x6ffc
leaq 0x20(%rsp), %r14
movups (%r14), %xmm0
movups %xmm0, (%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
xorl %eax, %eax
movq %rax, 0x10(%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq %r14, %rdi
callq 0x57a8
movq -0x20(%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6fea
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/davidsun[P]TinyCompiler/CodeRunner.cpp
// Function: CodeRunner::getVariable_p(std::map<int, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Variable*, 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, Variable*>>>, std::less<int>, std::allocator<std::pair<int const, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Variable*, 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, Variable*>>>>>> const&, std::vector<int, std::allocator<int>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Variable *CodeRunner::getVariable_p(const map <int, map <string, Variable *> > &variables, const vector <int> &cur_scopes, const string &name){
    for (int i = 0; i < cur_scopes.size(); i ++){
        map <int, map <string, Variable *> >::const_iterator it = variables.find(cur_scopes[i]);
        if (it != variables.end()){
            map <string, Variable *>::const_iterator itx = it -> second.find(name);
            if (itx != it -> second.end()) return itx -> second;
        }
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq (%rdx), %rax
movq 0x8(%rdx), %rcx
cmpq %rax, %rcx
je 0xd336
movq %rdx, %r15
movq %rsi, %r12
leaq 0x8(%rsi), %rbx
xorl %ebp, %ebp
movq 0x10(%r12), %rsi
testq %rsi, %rsi
je 0xd324
movl (%rax,%rbp,4), %edx
movq %rbx, %r13
xorl %edi, %edi
cmpl %edx, 0x20(%rsi)
setl %dil
cmovgeq %rsi, %r13
movq 0x10(%rsi,%rdi,8), %rsi
testq %rsi, %rsi
jne 0xd2e6
cmpq %rbx, %r13
je 0xd324
cmpl 0x20(%r13), %edx
jl 0xd324
leaq 0x28(%r13), %rdi
movq %r14, %rsi
callq 0xe9b6
addq $0x30, %r13
cmpq %r13, %rax
jne 0xd347
movq (%r15), %rax
movq 0x8(%r15), %rcx
incq %rbp
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %rbp, %rdx
ja 0xd2d6
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x40(%rax), %rax
jmp 0xd338
nop
// File: /workspace/github_cpp_makefile_star2_O3/KokiKishimoto[P]cp_decomposition/./model_file_load.hpp
// Function: ModelFileLoad::model_load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void model_load(std::string modelfile){
		std::ifstream fin;
		
		fin.open(modelfile);
		fin >> Size >> vecDim;
		Vec.resize(Size);
		for (int i = 0; i < Size; i++) {
			std::string tmp;
			fin >> tmp;
			Vec[i].resize(vecDim);
			for (int j = 0; j < vecDim; j++) {
				fin >> Vec[i][j];
			}
		}
		fin.close();
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r15
movq %r15, %rdi
callq 0x2220
movq %r15, %rdi
movq %r14, %rsi
movl $0x8, %edx
callq 0x21a0
leaq 0x30(%rsp), %rdi
movq %rbx, %rsi
callq 0x2130
leaq 0x4(%rbx), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x2130
leaq 0x8(%rbx), %r15
movslq (%rbx), %rsi
movq %r15, %rdi
callq 0x68e6
cmpl $0x0, (%rbx)
jle 0x512b
leaq 0x10(%rsp), %r13
xorl %ebp, %ebp
leaq 0x30(%rsp), %r12
movq %rbx, 0x20(%rsp)
movq %r13, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
movq %r12, %rdi
movq %rsp, %rsi
callq 0x2260
leaq (,%rbp,2), %rbx
addq %rbp, %rbx
leaq (,%rbx,8), %rdi
addq (%r15), %rdi
movslq (%r14), %rsi
callq 0x5326
movq %rbp, 0x28(%rsp)
cmpl $0x0, (%r14)
jle 0x50f7
xorl %ebp, %ebp
xorl %r13d, %r13d
movq (%r15), %rax
movq (%rax,%rbx,8), %rsi
addq %rbp, %rsi
movq %r12, %rdi
callq 0x2140
incq %r13
movslq (%r14), %rax
addq $0x8, %rbp
cmpq %rax, %r13
jl 0x50d6
movq (%rsp), %rdi
leaq 0x10(%rsp), %r13
cmpq %r13, %rdi
je 0x5112
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rbp
incq %rbp
movq 0x20(%rsp), %rbx
movslq (%rbx), %rax
cmpq %rax, %rbp
jl 0x508b
leaq 0x30(%rsp), %rdi
callq 0x2070
leaq 0x30(%rsp), %rdi
callq 0x2080
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x5176
jmp 0x5158
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5176
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x30(%rsp), %rdi
callq 0x2080
movq %rbx, %rdi
callq 0x22f0
// File: /workspace/github_cpp_makefile_star2_O3/KokiKishimoto[P]cp_decomposition/./testdata.hpp
// Function: TestData::addEntity(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Data&)
int addEntity(std::string entity, Data& data) {
		if (data.entity_dict.find(entity) == data.entity_dict.end()) {
			return -1;
		} else {
			return data.entity_dict[entity];
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
leaq 0x8(%rdx), %r14
movq %r14, %rdi
callq 0x5b9e
addq $0x10, %r15
cmpq %r15, %rax
je 0x6439
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5abc
movl (%rax), %eax
jmp 0x643e
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/KokiKishimoto[P]cp_decomposition/./testdata.hpp
// Function: TestData::addRelation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Data&)
int addRelation(std::string relation, Data& data) {
		if (data.relation_dict.find(relation) == data.relation_dict.end()) {
			return -1;
		} else {
			return data.relation_dict[relation];
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
leaq 0x38(%rdx), %r14
movq %r14, %rdi
callq 0x5b9e
addq $0x40, %r15
cmpq %r15, %rax
je 0x6473
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5abc
movl (%rax), %eax
jmp 0x6478
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/KokiKishimoto[P]cp_decomposition/testcp.cpp
// Function: TestCP::calate_mrr(std::vector<double, std::allocator<double>> const&, std::vector<double, std::allocator<double>> const&)
double calate_mrr(const std::vector<double>& a, const std::vector<double>& b){
		double sum = 0.0;
		double mrr_value = 0.0;
		for(int i=0; i<a.size(); i++){
			sum = sum + 1/(a[i]+1) + 1/(b[i]+1);
		}
		mrr_value = sum;
		return mrr_value;
	}

// Assembly:
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
subq %rax, %rcx
je 0x77a0
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
movq (%rdx), %rdx
xorpd %xmm2, %xmm2
xorl %esi, %esi
movapd 0x8bf(%rip), %xmm1      # 0x8030
movsd (%rax,%rsi,8), %xmm3
movhpd (%rdx,%rsi,8), %xmm3    # xmm3 = xmm3[0],mem[0]
addpd %xmm1, %xmm3
movapd %xmm1, %xmm0
divpd %xmm3, %xmm0
addsd %xmm0, %xmm2
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm2, %xmm0
incq %rsi
movapd %xmm0, %xmm2
cmpq %rsi, %rcx
jne 0x7771
retq
xorps %xmm0, %xmm0
retq
// File: /workspace/github_cpp_makefile_star2_O3/jaycelq[P]BPlusTree/BPlusTree.cpp
// Function: BPlusTree::get(BPlusTree::Node*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool BPlusTree::get(Node* node, int key, string & v)
{
    if(node == NULL) return false;

    if(node->isLeaf) {
        int slot = node->getLower(key) - 1;
        if(((leafNode*)node)->key[slot] == key) {
            v = ((leafNode*)node)->value[slot];
            return true;
        }
    }
    else {
        int slot = node->getLower(key);
        return get(((innerNode*)node)->child[slot], key, v);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x253e
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movb 0x8(%r14), %r15b
movq (%r14), %rax
movq %r14, %rdi
movl %ebp, %esi
callq *(%rax)
cltq
cmpb $0x1, %r15b
je 0x254f
movq 0x10(%r14,%rax,8), %r14
testq %r14, %r14
jne 0x251e
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %r15b
cmpl %ebp, 0x6c(%r14,%rax,4)
jne 0x2541
decq %rax
shlq $0x5, %rax
leaq (%r14,%rax), %rsi
addq $0x10, %rsi
movq %rbx, %rdi
callq 0x2090
jmp 0x2541
// File: /workspace/github_cpp_makefile_star2_O3/jaycelq[P]BPlusTree/BPlusTree.cpp
// Function: BPlusTree::getrange[abi:cxx11](int, int)
map<int, string> BPlusTree::getrange(int key1, int key2)
{
    Node *n = root;
    int i = 0;
    map<int, string> res;
    if(root == NULL) return res;
    while(n->isLeaf == false) {
        innerNode *inner = (innerNode*) n;
        int slot = inner->getLower(key1);
        n = inner->child[slot];
    }

    leafNode *leaf = (leafNode *)n;

    int slot = leaf->getLower(key1)-1;
	
    if(leaf->key[slot] != key1) slot++;

    i = slot;
    while(true) {
        for(; i < leaf->keyNum && leaf->key[i] >= key1 && leaf->key[i] <= key2; i++) {
            res[leaf->key[i]] = leaf->value[i];
        }
        if(i >= leaf->keyNum) {
            i = 0;
            leaf = leaf -> right;
        } 
        else break;
    }
    return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, 0x4(%rsp)
movq %rdi, %rbx
movq (%rsi), %r15
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %ecx, %ecx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
testq %r15, %r15
je 0x2c15
movl %edx, %r14d
cmpb $0x0, 0x8(%r15)
jne 0x2b99
movq (%r15), %rax
movq %r15, %rdi
movl %r14d, %esi
callq *(%rax)
cltq
movq 0x10(%r15,%rax,8), %r15
jmp 0x2b7e
movq (%r15), %rax
movq %r15, %rdi
movl %r14d, %esi
callq *(%rax)
movslq %eax, %rcx
decl %eax
cmpl %r14d, 0x6c(%r15,%rcx,4)
cmovel %eax, %ecx
cmpl 0xc(%r15), %ecx
jge 0x2c0a
movslq %ecx, %rbp
leaq (%r15,%rbp,4), %r12
addq $0x70, %r12
movq %rbp, %rax
shlq $0x5, %rax
leaq (%r15,%rax), %r13
addq $0x10, %r13
movl (%r12), %eax
cmpl %r14d, %eax
jl 0x2c15
cmpl 0x4(%rsp), %eax
jg 0x2c15
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2c3e
movq %rax, %rdi
movq %r13, %rsi
callq 0x2090
incq %rbp
movslq 0xc(%r15), %rax
addq $0x4, %r12
addq $0x20, %r13
cmpq %rax, %rbp
jl 0x2bd1
movq 0x88(%r15), %r15
xorl %ecx, %ecx
jmp 0x2bb1
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2c2b
jmp 0x2c2b
movq %rax, %r14
movq %rbx, %rdi
callq 0x2d06
movq %r14, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O3/CMU-SAFARI[P]ramulator/src/StatType.cpp
// Function: Stats::Histogram::add(Stats::Histogram&)
void
Histogram::add(Histogram &hs)
{
    size_type b_size = hs.size();
    assert(size() == b_size);
    assert(min_bucket == hs.min_bucket);

    sum += hs.sum;
    logs += hs.logs;
    squares += hs.squares;
    samples += hs.samples;

    while(bucket_size > hs.bucket_size)
        hs.grow_up();
    while(bucket_size < hs.bucket_size)
        grow_up();

    for (uint32_t i = 0; i < b_size; i++)
        cvec[i] += hs.cvec[i];
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x8(%rax)
movl %eax, %ebp
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
cmpl %ebp, %eax
jne 0x13b903
movsd 0x78(%rbx), %xmm0
ucomisd 0x78(%r14), %xmm0
jne 0x13b922
jp 0x13b922
movupd 0x90(%r14), %xmm0
movupd 0x90(%rbx), %xmm1
addpd %xmm0, %xmm1
movupd %xmm1, 0x90(%rbx)
movupd 0xa0(%r14), %xmm0
movupd 0xa0(%rbx), %xmm1
addpd %xmm0, %xmm1
movupd %xmm1, 0xa0(%rbx)
movsd 0x88(%rbx), %xmm0
movsd 0x88(%r14), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x13b8b0
movq %r14, %rdi
callq 0x13b73c
jmp 0x13b88f
ucomisd %xmm0, %xmm1
jbe 0x13b8d1
movq %rbx, %rdi
callq 0x13b73c
movsd 0x88(%r14), %xmm0
ucomisd 0x88(%rbx), %xmm0
ja 0x13b8b6
testl %ebp, %ebp
je 0x13b8fe
movq 0xb0(%r14), %rax
movq 0xb0(%rbx), %rcx
movl %ebp, %edx
xorl %esi, %esi
movsd (%rax,%rsi,8), %xmm0
addsd (%rcx,%rsi,8), %xmm0
movsd %xmm0, (%rcx,%rsi,8)
incq %rsi
cmpq %rsi, %rdx
jne 0x13b8e7
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x217b8(%rip), %rdi     # 0x15d0c2
leaq 0x21711(%rip), %rsi     # 0x15d022
leaq 0x217bb(%rip), %rcx     # 0x15d0d3
movl $0x68, %edx
callq 0xb200
leaq 0x217d2(%rip), %rdi     # 0x15d0fb
leaq 0x216f2(%rip), %rsi     # 0x15d022
leaq 0x2179c(%rip), %rcx     # 0x15d0d3
movl $0x69, %edx
callq 0xb200
nop