LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: ncbi[P]amr/curl_easy.cpp
// Function: CURL_sp::getLibVersion()
SoftwareVersion getLibVersion ()
{
  if (const curl_version_info_data* ver = curl_version_info (CURLVERSION_NOW))
  {
    const uint major = (ver->version_num >> 16) & 0xff;
    const uint minor = (ver->version_num >> 8)  & 0xff;
    const uint patch = ver->version_num         & 0xff;
    return SoftwareVersion (major, minor, patch);
  }
  return SoftwareVersion ();
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq %rdi, 0x30(%rsp)
movl $0x9, %edi
callq 0xbb70
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x9131e
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rax
movl 0x10(%rax), %eax
shrl $0x10, %eax
andl $0xff, %eax
movl %eax, 0x24(%rsp)
movq 0x28(%rsp), %rax
movl 0x10(%rax), %eax
shrl $0x8, %eax
andl $0xff, %eax
movl %eax, 0x20(%rsp)
movq 0x28(%rsp), %rax
movl 0x10(%rax), %eax
andl $0xff, %eax
movl %eax, 0x1c(%rsp)
movl 0x24(%rsp), %esi
movl 0x20(%rsp), %edx
movl 0x1c(%rsp), %ecx
callq 0x932d0
jmp 0x91339
movq 0x8(%rsp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0xb3e0
movq 0x8(%rsp), %rdi
callq 0x93340
movq 0x10(%rsp), %rax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: ncbi[P]amr/curl_easy.cpp
// Function: CURL_sp::Curl::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string Curl::read (const string &url)
{
  string s;  s. reserve (1024);  // PAR  
  curl_easy_setopt (eh, CURLOPT_WRITEFUNCTION, write_string_cb);
  curl_easy_setopt (eh, CURLOPT_WRITEDATA, & s);
  process (url, "read");
  
  return s;
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x28(%rsp)
movq %rdi, %rax
movq %rax, 0x18(%rsp)
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x20(%rsp)
movb $0x0, 0x6f(%rsp)
callq 0xb440
movq 0x28(%rsp), %rdi
movl $0x400, %esi            # imm = 0x400
callq 0xb970
jmp 0x9295b
movq 0x20(%rsp), %rax
movq (%rax), %rdi
leaq 0x106(%rip), %rdx       # 0x92a70
xorl %eax, %eax
movl $0x4e2b, %esi           # imm = 0x4E2B
callq 0xba20
jmp 0x92978
movq 0x28(%rsp), %rdx
movq 0x20(%rsp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl $0x2711, %esi           # imm = 0x2711
callq 0xba20
jmp 0x92993
movq 0x70(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x37(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xbb30
movq 0x10(%rsp), %rdx
leaq 0x2f8c(%rip), %rsi      # 0x95944
leaq 0x38(%rsp), %rdi
callq 0x125d0
jmp 0x929c4
movq 0x8(%rsp), %rsi
movq 0x20(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x92160
jmp 0x929da
leaq 0x38(%rsp), %rdi
callq 0xbe38
leaq 0x37(%rsp), %rdi
callq 0xbe10
movb $0x1, 0x6f(%rsp)
testb $0x1, 0x6f(%rsp)
jne 0x92a4a
jmp 0x92a40
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x60(%rsp)
movl %eax, 0x5c(%rsp)
jmp 0x92a57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x60(%rsp)
movl %eax, 0x5c(%rsp)
jmp 0x92a34
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x60(%rsp)
movl %eax, 0x5c(%rsp)
leaq 0x38(%rsp), %rdi
callq 0xbe38
leaq 0x37(%rsp), %rdi
callq 0xbe10
jmp 0x92a57
movq 0x28(%rsp), %rdi
callq 0xbe38
movq 0x18(%rsp), %rax
addq $0x88, %rsp
retq
movq 0x28(%rsp), %rdi
callq 0xbe38
movq 0x60(%rsp), %rdi
callq 0xb7b0
nopl (%rax,%rax)
// File: schneebergerlab[P]GameteBinning/asPollinator_1.0.cpp
// Function: recover_real_marker_pos(int, std::map<unsigned long, ALLELE, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, ALLELE>>>)
unsigned long recover_real_marker_pos(int markerposition, map<unsigned long, ALLELE> contigmarker)
{
    // markerposition is 1-based positioning in pm pattern
    unsigned long realpos;
    //
    map<unsigned long, ALLELE>::iterator mitr;
    map<unsigned long, ALLELE>::iterator mitr_end;
    mitr     = contigmarker.begin();
    mitr_end = contigmarker.end();
    int i = 0;
    while(mitr != mitr_end)
    {   
        i ++;
        if(markerposition == i)
        {
            realpos = (*mitr).first;
        }
        mitr ++;
    }
    return realpos;
}

// Assembly:
subq $0x58, %rsp
movq %rsi, 0x8(%rsp)
movl %edi, 0x54(%rsp)
movq %rsi, 0x48(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x189a0
leaq 0x30(%rsp), %rdi
callq 0x189a0
movq 0x8(%rsp), %rdi
callq 0x189c0
movq 0x8(%rsp), %rdi
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x38(%rsp)
callq 0x189f0
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x30(%rsp)
movl $0x0, 0x1c(%rsp)
leaq 0x38(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x18a20
testb $0x1, %al
jne 0x15a05
jmp 0x15a3f
movl 0x1c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rsp)
movl 0x54(%rsp), %eax
cmpl 0x1c(%rsp), %eax
jne 0x15a2c
leaq 0x38(%rsp), %rdi
callq 0x18a40
movq (%rax), %rax
movq %rax, 0x40(%rsp)
leaq 0x38(%rsp), %rdi
xorl %esi, %esi
callq 0x18ad0
movq %rax, 0x10(%rsp)
jmp 0x159f0
movq 0x40(%rsp), %rax
addq $0x58, %rsp
retq
nopl (%rax)
// File: schneebergerlab[P]GameteBinning/asPollinator_1.0.cpp
// Function: get_PM_count(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, CLUSCNT*)
bool get_PM_count(string posPattern, CLUSCNT* posCNT)
{
    if(posPattern.compare("P") == 0)
    {
        (*posCNT).Pcnt = 1;
        (*posCNT).Mcnt = 0;
        (*posCNT).ucnt = 0;                          
    }else
    if(posPattern.compare("M") == 0)
    {
        (*posCNT).Pcnt = 0;
        (*posCNT).Mcnt = 1;
        (*posCNT).ucnt = 0;                          
    }else   
    {
        (*posCNT).Pcnt = 0;
        (*posCNT).Mcnt = 0;
        (*posCNT).ucnt = 1;                          
    }
    return true;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, (%rsp)
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
leaq 0x13e01(%rip), %rsi     # 0x2bb1a
callq 0x3100
cmpl $0x0, %eax
jne 0x17d48
movq 0x8(%rsp), %rax
movl $0x1, (%rax)
movq 0x8(%rsp), %rax
movl $0x0, 0x4(%rax)
movq 0x8(%rsp), %rax
movl $0x0, 0x8(%rax)
jmp 0x17da7
movq (%rsp), %rdi
leaq 0x13de0(%rip), %rsi     # 0x2bb33
callq 0x3100
cmpl $0x0, %eax
jne 0x17d82
movq 0x8(%rsp), %rax
movl $0x0, (%rax)
movq 0x8(%rsp), %rax
movl $0x1, 0x4(%rax)
movq 0x8(%rsp), %rax
movl $0x0, 0x8(%rax)
jmp 0x17da5
movq 0x8(%rsp), %rax
movl $0x0, (%rax)
movq 0x8(%rsp), %rax
movl $0x0, 0x4(%rax)
movq 0x8(%rsp), %rax
movl $0x1, 0x8(%rax)
jmp 0x17da7
movb $0x1, %al
andb $0x1, %al
addq $0x18, %rsp
retq
// File: schneebergerlab[P]GameteBinning/asPollinator_1.0.cpp
// Function: get_match_score(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int*)
bool get_match_score(string contig_GT1, string contig_GT2, int* score)
{
    if (contig_GT1.size() != contig_GT2.size()) 
    {
        cout << "   Error: sequences of contigs' genotypes are with different lengths. " << endl;
        return false;
    }
    *score = 0;
    for(int ii = 0; ii < contig_GT1.size(); ii ++)
    {
        if(contig_GT1[ii] == contig_GT2[ii])
        {
            *score += 1;
        }
    }
    return true;
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x18(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
callq 0x3250
movq 0x20(%rsp), %rdi
movq %rax, 0x28(%rsp)
callq 0x3250
movq %rax, %rcx
movq 0x28(%rsp), %rax
cmpq %rcx, %rax
je 0x1812a
movq 0x20ed3(%rip), %rdi     # 0x38fd8
leaq 0x13e83(%rip), %rsi     # 0x2bf8f
callq 0x3320
movq %rax, %rdi
movq 0x20ead(%rip), %rsi     # 0x38fc8
callq 0x3370
movb $0x0, 0x57(%rsp)
jmp 0x181b1
movq 0x38(%rsp), %rax
movl $0x0, (%rax)
movl $0x0, 0x34(%rsp)
movq 0x18(%rsp), %rdi
movslq 0x34(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x3250
movq %rax, %rcx
movq 0x10(%rsp), %rax
cmpq %rcx, %rax
jae 0x181ac
movq 0x18(%rsp), %rdi
movslq 0x34(%rsp), %rsi
callq 0x35f0
movq 0x20(%rsp), %rdi
movsbl (%rax), %eax
movl %eax, 0xc(%rsp)
movslq 0x34(%rsp), %rsi
callq 0x35f0
movq %rax, %rcx
movl 0xc(%rsp), %eax
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x1819d
movq 0x38(%rsp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1819f
movl 0x34(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x34(%rsp)
jmp 0x1813d
movb $0x1, 0x57(%rsp)
movb 0x57(%rsp), %al
andb $0x1, %al
addq $0x58, %rsp
retq
nopl (%rax)
// File: schneebergerlab[P]GameteBinning/asPollinator_1.0.cpp
// Function: reverse_contig_GT(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
bool reverse_contig_GT(string contig_GT, string* contig_GT_rev)
{
    *contig_GT_rev = "";
    for(int ii = 0; ii < contig_GT.size(); ii ++)
    {
        if(contig_GT[ii] == 'P') 
        {
            *contig_GT_rev += "M"; 
        }else 
        if(contig_GT[ii] == 'M') 
        {
            *contig_GT_rev += "P"; 
        }else
        {
            *contig_GT_rev += contig_GT[ii]; 
        }
    }
    return true;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
leaq 0x13c82(%rip), %rsi     # 0x2be61
callq 0x3440
movl $0x0, 0x14(%rsp)
movq 0x8(%rsp), %rdi
movslq 0x14(%rsp), %rax
movq %rax, (%rsp)
callq 0x3250
movq %rax, %rcx
movq (%rsp), %rax
cmpq %rcx, %rax
jae 0x18295
movq 0x8(%rsp), %rdi
movslq 0x14(%rsp), %rsi
callq 0x35f0
movsbl (%rax), %eax
cmpl $0x50, %eax
jne 0x18239
movq 0x18(%rsp), %rdi
leaq 0x13901(%rip), %rsi     # 0x2bb33
callq 0x3300
jmp 0x18283
movq 0x8(%rsp), %rdi
movslq 0x14(%rsp), %rsi
callq 0x35f0
movsbl (%rax), %eax
cmpl $0x4d, %eax
jne 0x18263
movq 0x18(%rsp), %rdi
leaq 0x138be(%rip), %rsi     # 0x2bb1a
callq 0x3300
jmp 0x18281
movq 0x8(%rsp), %rdi
movslq 0x14(%rsp), %rsi
callq 0x35f0
movb (%rax), %al
movq 0x18(%rsp), %rdi
movsbl %al, %esi
callq 0x31f0
jmp 0x18283
jmp 0x18285
movl 0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x14(%rsp)
jmp 0x181ec
movb $0x1, %al
andb $0x1, %al
addq $0x28, %rsp
retq
nop
// File: schneebergerlab[P]GameteBinning/asPollinator_1.0.cpp
// Function: get_base_position(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int*)
bool get_base_position(string base, int* pos)
{
    // 4:A 5:C 6:G 7:T 8:- 9:N
    if(base.compare("A")==0) *pos = 4; else
    if(base.compare("C")==0) *pos = 5; else
    if(base.compare("G")==0) *pos = 6; else
    if(base.compare("T")==0) *pos = 7; else
    if(base.compare("-")==0) *pos = 8; else
    if(base.compare("N")==0) *pos = 9; else
    {
        cout << "   Error: unexpected base " << base << " in marker list" << endl;
        return false;
    }
    return true;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
leaq 0x13833(%rip), %rsi     # 0x2bcdd
callq 0x3100
cmpl $0x0, %eax
jne 0x184c4
movq 0x10(%rsp), %rax
movl $0x4, (%rax)
jmp 0x185cb
movq 0x8(%rsp), %rdi
leaq 0x1380f(%rip), %rsi     # 0x2bcdf
callq 0x3100
cmpl $0x0, %eax
jne 0x184ea
movq 0x10(%rsp), %rax
movl $0x5, (%rax)
jmp 0x185c9
movq 0x8(%rsp), %rdi
leaq 0x137eb(%rip), %rsi     # 0x2bce1
callq 0x3100
cmpl $0x0, %eax
jne 0x18510
movq 0x10(%rsp), %rax
movl $0x6, (%rax)
jmp 0x185c7
movq 0x8(%rsp), %rdi
leaq 0x137c7(%rip), %rsi     # 0x2bce3
callq 0x3100
cmpl $0x0, %eax
jne 0x18536
movq 0x10(%rsp), %rax
movl $0x7, (%rax)
jmp 0x185c5
movq 0x8(%rsp), %rdi
leaq 0x136a1(%rip), %rsi     # 0x2bbe3
callq 0x3100
cmpl $0x0, %eax
jne 0x18559
movq 0x10(%rsp), %rax
movl $0x8, (%rax)
jmp 0x185c3
movq 0x8(%rsp), %rdi
leaq 0x13043(%rip), %rsi     # 0x2b5a8
callq 0x3100
cmpl $0x0, %eax
jne 0x1857c
movq 0x10(%rsp), %rax
movl $0x9, (%rax)
jmp 0x185c1
movq 0x20a55(%rip), %rdi     # 0x38fd8
leaq 0x13b14(%rip), %rsi     # 0x2c09e
callq 0x3320
movq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x32e0
movq %rax, %rdi
leaq 0x13b13(%rip), %rsi     # 0x2c0b9
callq 0x3320
movq %rax, %rdi
movq 0x20a13(%rip), %rsi     # 0x38fc8
callq 0x3370
movb $0x0, 0x27(%rsp)
jmp 0x185d0
jmp 0x185c3
jmp 0x185c5
jmp 0x185c7
jmp 0x185c9
jmp 0x185cb
movb $0x1, 0x27(%rsp)
movb 0x27(%rsp), %al
andb $0x1, %al
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: schneebergerlab[P]GameteBinning/split_string.cpp
// Function: split_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char const&)
std::vector<std::string> split_string(const string& str, const char& ch) 
{
    string next("");
    vector<string> result;

    for (string::const_iterator it = str.begin(); it != str.end(); it++) {
        // if the delimiter character is hit
        if (*it == ch) {
            // if some characters are accumulated
            if (!next.empty()) {
                // they are added to the result vector
                result.push_back(next);
                next.clear();
            }
        } else {
            // the next character is accumulated into the sequence
            next += *it;
        }
    }
    if (!next.empty())
         result.push_back(next);
    return result;
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
leaq 0x4f(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x3570
movq 0x18(%rsp), %rdx
leaq 0x13d0(%rip), %rsi      # 0x2be61
leaq 0x50(%rsp), %rdi
callq 0x185e0
jmp 0x2aa9d
leaq 0x4f(%rsp), %rdi
callq 0x3390
movq 0x8(%rsp), %rdi
movb $0x0, 0x3b(%rsp)
callq 0x186a0
movq 0x78(%rsp), %rdi
callq 0x32f0
movq %rax, 0x30(%rsp)
movq 0x78(%rsp), %rdi
callq 0x3590
movq %rax, 0x28(%rsp)
leaq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x2ac10
testb $0x1, %al
jne 0x2aaec
jmp 0x2aba9
leaq 0x30(%rsp), %rdi
callq 0x2ac50
movsbl (%rax), %eax
movq 0x70(%rsp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x2ab76
leaq 0x50(%rsp), %rdi
callq 0x3500
testb $0x1, %al
jne 0x2ab74
movq 0x8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1acb0
jmp 0x2ab24
leaq 0x50(%rsp), %rdi
callq 0x3430
jmp 0x2ab74
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x40(%rsp)
movl %eax, 0x3c(%rsp)
leaq 0x4f(%rsp), %rdi
callq 0x3390
jmp 0x2abf7
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x40(%rsp)
movl %eax, 0x3c(%rsp)
callq 0x18e80
leaq 0x50(%rsp), %rdi
callq 0x31e0
jmp 0x2abf7
jmp 0x2ab91
leaq 0x30(%rsp), %rdi
callq 0x2ac50
movsbl (%rax), %esi
leaq 0x50(%rsp), %rdi
callq 0x31f0
jmp 0x2ab8f
jmp 0x2ab91
jmp 0x2ab93
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x2ac60
movq %rax, 0x20(%rsp)
jmp 0x2aac5
leaq 0x50(%rsp), %rdi
callq 0x3500
testb $0x1, %al
jne 0x2abca
movq 0x8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1acb0
jmp 0x2abc8
jmp 0x2abca
movb $0x1, 0x3b(%rsp)
testb $0x1, 0x3b(%rsp)
jne 0x2abe0
movq 0x8(%rsp), %rdi
callq 0x18e80
leaq 0x50(%rsp), %rdi
callq 0x31e0
movq 0x10(%rsp), %rax
addq $0x88, %rsp
retq
movq 0x40(%rsp), %rdi
callq 0x3560
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: DimitriFourny[P]unxip/unxip.cpp
// Function: ZlibUncompress(unsigned char*, unsigned long, unsigned char*, unsigned long)
bool ZlibUncompress(uint8_t* in,
                    size_t in_size,
                    uint8_t* out,
                    size_t out_size) {
  z_stream strm;
  strm.zalloc = Z_NULL;
  strm.zfree = Z_NULL;
  strm.opaque = Z_NULL;

  strm.next_in = in;
  strm.avail_in = in_size;
  strm.next_out = out;
  strm.avail_out = out_size;

  int error_code = inflateInit(&strm);
  if (error_code != Z_OK) {
    return false;
  }

  error_code = inflate(&strm, Z_NO_FLUSH);
  if (error_code != Z_STREAM_END) {
    return false;
  }

  error_code = inflateEnd(&strm);
  return error_code == Z_OK;
}

// Assembly:
subq $0xa8, %rsp
movq %rdi, 0x98(%rsp)
movq %rsi, 0x90(%rsp)
movq %rdx, 0x88(%rsp)
movq %rcx, 0x80(%rsp)
movq $0x0, 0x50(%rsp)
movq $0x0, 0x58(%rsp)
movq $0x0, 0x60(%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x90(%rsp), %rax
movl %eax, 0x18(%rsp)
movq 0x88(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x80(%rsp), %rax
movl %eax, 0x30(%rsp)
leaq 0x10(%rsp), %rdi
leaq 0x2af4(%rip), %rsi      # 0x5004
movl $0x70, %edx
callq 0x2170
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
je 0x252f
movb $0x0, 0xa7(%rsp)
jmp 0x256f
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x2150
movl %eax, 0xc(%rsp)
cmpl $0x1, 0xc(%rsp)
je 0x2550
movb $0x0, 0xa7(%rsp)
jmp 0x256f
leaq 0x10(%rsp), %rdi
callq 0x21f0
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
sete %al
andb $0x1, %al
movb %al, 0xa7(%rsp)
movb 0xa7(%rsp), %al
andb $0x1, %al
addq $0xa8, %rsp
retq
// File: DimitriFourny[P]unxip/unxip.cpp
// Function: CreateXipDirectory[abi:cxx11](char const*)
std::string CreateXipDirectory(const char* xip_path) {
  // Extract the new directory name based on the XIP path
  std::string dirpath = basename(xip_path);
  size_t ext_pos = dirpath.find_last_of(".");
  if (ext_pos != std::string::npos) {
    dirpath = dirpath.substr(0, ext_pos);
  } else {
    dirpath += "_extracted";
  }
  dirpath += "/";

  mkdir(dirpath.c_str(), 0770);
  return dirpath;
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x10(%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movb $0x0, 0x67(%rsp)
movq 0x68(%rsp), %rdi
callq 0x22e0
movq %rax, 0x18(%rsp)
leaq 0x66(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x2320
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
callq 0x3690
jmp 0x25d4
leaq 0x66(%rsp), %rdi
callq 0x2200
movq 0x10(%rsp), %rdi
leaq 0x2a21(%rip), %rsi      # 0x500b
movq $-0x1, %rdx
callq 0x2180
movq %rax, 0x48(%rsp)
cmpq $-0x1, 0x48(%rsp)
je 0x266c
movq 0x10(%rsp), %rsi
movq 0x48(%rsp), %rcx
xorl %eax, %eax
movl %eax, %edx
leaq 0x28(%rsp), %rdi
callq 0x21d0
jmp 0x261d
movq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x2270
leaq 0x28(%rsp), %rdi
callq 0x2100
jmp 0x2681
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
leaq 0x66(%rsp), %rdi
callq 0x2200
jmp 0x26cb
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
callq 0x2100
jmp 0x26cb
movq 0x10(%rsp), %rdi
leaq 0x2995(%rip), %rsi      # 0x500d
callq 0x2190
jmp 0x267f
jmp 0x2681
movq 0x10(%rsp), %rdi
leaq 0x298b(%rip), %rsi      # 0x5018
callq 0x2190
jmp 0x2694
movq 0x10(%rsp), %rdi
callq 0x20a0
movq %rax, %rdi
movl $0x1f8, %esi            # imm = 0x1F8
callq 0x20d0
movb $0x1, 0x67(%rsp)
testb $0x1, 0x67(%rsp)
jne 0x26c1
movq 0x10(%rsp), %rdi
callq 0x2100
movq 0x8(%rsp), %rax
addq $0x78, %rsp
retq
movq 0x58(%rsp), %rdi
callq 0x2310
nopw %cs:(%rax,%rax)
// File: DimitriFourny[P]unxip/unxip.cpp
// Function: SaveToFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned char*, unsigned long)
bool SaveToFile(const std::string& filepath, uint8_t* data, size_t data_size) {
  FILE* file = fopen(filepath.c_str(), "wb+");
  if (!file) {
    fprintf(stderr, "Error: File \"%s\" can't be created\n", filepath.c_str());
    return false;
  }

  fwrite(data, 1, data_size, file);
  fclose(file);
  return true;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x28(%rsp), %rdi
callq 0x20a0
movq %rax, %rdi
leaq 0x2913(%rip), %rsi      # 0x501a
callq 0x2250
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x274f
movq 0x58c0(%rip), %rax      # 0x7fe0
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rdi
callq 0x20a0
movq 0x8(%rsp), %rdi
movq %rax, %rdx
leaq 0x28dd(%rip), %rsi      # 0x501e
movb $0x0, %al
callq 0x22c0
movb $0x0, 0x37(%rsp)
jmp 0x2777
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
movl $0x1, %esi
callq 0x2360
movq 0x10(%rsp), %rdi
callq 0x21a0
movb $0x1, 0x37(%rsp)
movb 0x37(%rsp), %al
andb $0x1, %al
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: DimitriFourny[P]unxip/unxip.cpp
// Function: SaveFileStreamToFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, _IO_FILE*, unsigned long, unsigned long)
bool SaveFileStreamToFile(const std::string& filepath,
                          FILE* file_stream,
                          size_t offset,
                          size_t size) {
  FILE* out_stream = fopen(filepath.c_str(), "wb+");
  if (!out_stream) {
    fprintf(stderr, "Error: File \"%s\" can't be created\n", filepath.c_str());
    return false;
  }

  if (fseek(file_stream, offset, SEEK_SET)) {
    fprintf(stderr, "Invalid file offset\n");
    return false;
  }

  char* buffer[2048];
  size_t size_to_read = sizeof(buffer);
  
  while (size) {
    if (size_to_read > size) {
      size_to_read = size;
    }

    int nb_read = fread(buffer, 1, size_to_read, file_stream);
    if (nb_read != size_to_read) {
      break; // EOF or error
    }

    fwrite(buffer, 1, nb_read, out_stream);
    size -= nb_read;
  }

  fclose(out_stream);
  return true;
}

// Assembly:
subq $0x4058, %rsp           # imm = 0x4058
movq %rdi, 0x4048(%rsp)
movq %rsi, 0x4040(%rsp)
movq %rdx, 0x4038(%rsp)
movq %rcx, 0x4030(%rsp)
movq 0x4048(%rsp), %rdi
callq 0x20a0
movq %rax, %rdi
leaq 0x284c(%rip), %rsi      # 0x501a
callq 0x2250
movq %rax, 0x4028(%rsp)
cmpq $0x0, 0x4028(%rsp)
jne 0x2825
movq 0x57f3(%rip), %rax      # 0x7fe0
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x4048(%rsp), %rdi
callq 0x20a0
movq 0x8(%rsp), %rdi
movq %rax, %rdx
leaq 0x280d(%rip), %rsi      # 0x501e
movb $0x0, %al
callq 0x22c0
movb $0x0, 0x4057(%rsp)
jmp 0x2916
movq 0x4040(%rsp), %rdi
movq 0x4038(%rsp), %rsi
xorl %edx, %edx
callq 0x2230
cmpl $0x0, %eax
je 0x2866
movq 0x5798(%rip), %rax      # 0x7fe0
movq (%rax), %rdi
leaq 0x27ef(%rip), %rsi      # 0x5041
movb $0x0, %al
callq 0x22c0
movb $0x0, 0x4057(%rsp)
jmp 0x2916
movq $0x4000, 0x18(%rsp)     # imm = 0x4000
cmpq $0x0, 0x4030(%rsp)
je 0x2901
movq 0x18(%rsp), %rax
cmpq 0x4030(%rsp), %rax
jbe 0x289a
movq 0x4030(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rdx
movq 0x4040(%rsp), %rcx
movl $0x1, %esi
callq 0x22f0
movl %eax, 0x14(%rsp)
movslq 0x14(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x28c8
jmp 0x2901
leaq 0x20(%rsp), %rdi
movslq 0x14(%rsp), %rdx
movq 0x4028(%rsp), %rcx
movl $0x1, %esi
callq 0x2360
movslq 0x14(%rsp), %rcx
movq 0x4030(%rsp), %rax
subq %rcx, %rax
movq %rax, 0x4030(%rsp)
jmp 0x286f
movq 0x4028(%rsp), %rdi
callq 0x21a0
movb $0x1, 0x4057(%rsp)
movb 0x4057(%rsp), %al
andb $0x1, %al
addq $0x4058, %rsp           # imm = 0x4058
retq
nopw (%rax,%rax)
// File: DimitriFourny[P]unxip/unxip.cpp
// Function: ParseTableOfContents(unsigned char const*, unsigned long)
std::vector<struct XarFile> ParseTableOfContents(const uint8_t* toc_xml,
                                                 size_t toc_xml_size) {
  /*
    <xar>
      <toc>
        <file id="1">...</file>
        <file id="2">...</file>
      </toc>
    </xar>
  */
  std::vector<struct XarFile> result;
  xmlDocPtr doc = xmlReadMemory(reinterpret_cast<const char*>(toc_xml),
                                toc_xml_size, "", nullptr, 0);
  if (!doc) {
    fprintf(stderr, "Error: Can't parse the XML from the Table of Contents\n");
    return result;
  }

  xmlNode* xar_node = doc->children;
  xmlNode* toc_node = xar_node->children;

  // Search the <file> elements
  xmlNode* node = toc_node->children;
  struct XarFile xar_file;
  while (node) {
    const char* node_name = reinterpret_cast<const char*>(node->name);

    if (!strcmp(node_name, "file") && ParseNodeFile(node, &xar_file)) {
      result.push_back(xar_file);
    }
    node = node->next;
  }

  xmlFreeDoc(doc);
  return result;
}

// Assembly:
subq $0xa8, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
movq %rdx, 0x90(%rsp)
movb $0x0, 0x8f(%rsp)
callq 0x3750
movq 0x98(%rsp), %rdi
movl 0x90(%rsp), %esi
leaq 0x257c(%rip), %rdx      # 0x51ab
xorl %r8d, %r8d
movl %r8d, %ecx
callq 0x2040
movq %rax, 0x18(%rsp)
jmp 0x2c41
movq 0x18(%rsp), %rax
movq %rax, 0x80(%rsp)
cmpq $0x0, 0x80(%rsp)
jne 0x2c99
movq 0x5380(%rip), %rax      # 0x7fe0
movq (%rax), %rdi
leaq 0x2404(%rip), %rsi      # 0x506e
movb $0x0, %al
callq 0x22c0
movb $0x1, 0x8f(%rsp)
movl $0x1, 0x70(%rsp)
jmp 0x2d88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
jmp 0x2da9
movq 0x80(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x68(%rsp)
movq 0x68(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x58(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x3760
cmpq $0x0, 0x58(%rsp)
je 0x2d5f
movq 0x58(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
leaq 0x23af(%rip), %rsi      # 0x50a5
callq 0x22b0
cmpl $0x0, %eax
jne 0x2d4c
movq 0x58(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x2930
movb %al, 0x7(%rsp)
jmp 0x2d15
movb 0x7(%rsp), %al
testb $0x1, %al
jne 0x2d1f
jmp 0x2d4c
movq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x3770
jmp 0x2d30
jmp 0x2d4c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x37e0
jmp 0x2da9
movq 0x58(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, 0x58(%rsp)
jmp 0x2cd0
movq 0x80(%rsp), %rdi
callq 0x2340
jmp 0x2d6e
movb $0x1, 0x8f(%rsp)
movl $0x1, 0x70(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x37e0
testb $0x1, 0x8f(%rsp)
jne 0x2d9c
movq 0x8(%rsp), %rdi
callq 0x37f0
movq 0x10(%rsp), %rax
addq $0xa8, %rsp
retq
movq 0x8(%rsp), %rdi
callq 0x37f0
movq 0x78(%rsp), %rdi
callq 0x2310
nopl (%rax)
// File: onai[P]npio/example4.cc
// Function: main
int main()
{
  std::vector<float> v(1000);
  std::mt19937 rng;
  std::normal_distribution<float> d(0.0, 1.0);
  for (auto &x : v)
    x = d(rng);
  return npio::save("example4-out.npy", {10, 100}, &v[0]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1420, %rsp           # imm = 0x1420
movl $0x0, -0x4(%rbp)
leaq -0x21(%rbp), %rdi
movq %rdi, -0x1418(%rbp)
callq 0x1980
movq -0x1418(%rbp), %rdx
leaq -0x20(%rbp), %rdi
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x19a0
jmp 0x1289
leaq -0x21(%rbp), %rdi
callq 0x1a10
leaq -0x13c0(%rbp), %rdi
callq 0x1a30
jmp 0x12a0
leaq -0x13d0(%rbp), %rdi
xorps %xmm0, %xmm0
movss 0x1d52(%rip), %xmm1     # 0x3004
callq 0x1a50
jmp 0x12b9
leaq -0x20(%rbp), %rax
movq %rax, -0x13d8(%rbp)
movq -0x13d8(%rbp), %rdi
callq 0x1aa0
movq %rax, -0x13e0(%rbp)
movq -0x13d8(%rbp), %rdi
callq 0x1ad0
movq %rax, -0x13e8(%rbp)
leaq -0x13e0(%rbp), %rdi
leaq -0x13e8(%rbp), %rsi
callq 0x1b00
testb $0x1, %al
jne 0x1306
jmp 0x1388
leaq -0x13e0(%rbp), %rdi
callq 0x1b40
movq %rax, -0x13f0(%rbp)
leaq -0x13d0(%rbp), %rdi
leaq -0x13c0(%rbp), %rsi
callq 0x1b60
movss %xmm0, -0x141c(%rbp)
jmp 0x1336
movss -0x141c(%rbp), %xmm0
movq -0x13f0(%rbp), %rax
movss %xmm0, (%rax)
leaq -0x13e0(%rbp), %rdi
callq 0x1b90
jmp 0x12ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x21(%rbp), %rdi
callq 0x1a10
jmp 0x1407
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x1c20
jmp 0x1407
movq $0xa, -0x1410(%rbp)
movq $0x64, -0x1408(%rbp)
leaq -0x1410(%rbp), %rax
movq %rax, -0x1400(%rbp)
movq $0x2, -0x13f8(%rbp)
xorl %eax, %eax
movl %eax, %esi
leaq -0x20(%rbp), %rdi
callq 0x1c00
movq %rax, %rcx
movq -0x1400(%rbp), %rsi
movq -0x13f8(%rbp), %rdx
leaq 0x1c4c(%rip), %rdi      # 0x3028
callq 0x1bb0
movl %eax, -0x1420(%rbp)
jmp 0x13e9
movl -0x1420(%rbp), %eax
movl %eax, -0x4(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x1c20
movl -0x4(%rbp), %eax
addq $0x1420, %rsp           # imm = 0x1420
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x1110
// File: onai[P]npio/./npio.h
// Function: npio_save_fd(int, npio_Array const*)
static inline int npio_save_fd(int fd, const npio_Array* array)
{
  /*
  We save in version 1 for now, so no need for dynamic allocation.
  hdr_buf should be no smaller than 128 and should be divisible by 16.
  */
  char hdr_buf[65536];
  void *end;
  char* hdr;
  int err;
  ssize_t nw;
  size_t sz;

  if ((err = npio_save_header_mem(hdr_buf, sizeof(hdr_buf), array, &end)))
    return err;

  hdr = (char*) end;
  nw = write(fd, hdr_buf, hdr - hdr_buf);
  if (nw < hdr - hdr_buf)
    return errno;

  /* Ok, now write out the data */
  sz = npio_array_memsize(array);
  if ((ssize_t) sz < 0)
    return ERANGE;  /* We can break it up into multiple writes,
                       but this is pretty damn large and will surely
                       exceed filesystem limits! */
  nw = write(fd, array->data, sz);
  if (nw != (ssize_t) sz)
    return errno;

  /* all done */
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10040, %rsp          # imm = 0x10040
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x10010(%rbp), %rdi
movq -0x10(%rbp), %rdx
movl $0x10000, %esi          # imm = 0x10000
leaq -0x10018(%rbp), %rcx
callq 0x1620
movl %eax, -0x10024(%rbp)
cmpl $0x0, %eax
je 0x1547
movl -0x10024(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x1609
movq -0x10018(%rbp), %rax
movq %rax, -0x10020(%rbp)
movl -0x8(%rbp), %edi
leaq -0x10010(%rbp), %rsi
movq -0x10020(%rbp), %rdx
leaq -0x10010(%rbp), %rax
subq %rax, %rdx
callq 0x1060
movq %rax, -0x10030(%rbp)
movq -0x10030(%rbp), %rax
movq -0x10020(%rbp), %rcx
leaq -0x10010(%rbp), %rdx
subq %rdx, %rcx
cmpq %rcx, %rax
jge 0x15a5
callq 0x1030
movl (%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x1609
movq -0x10(%rbp), %rdi
callq 0x18f0
movq %rax, -0x10038(%rbp)
cmpq $0x0, -0x10038(%rbp)
jge 0x15c8
movl $0x22, -0x4(%rbp)
jmp 0x1609
movl -0x8(%rbp), %edi
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rsi
movq -0x10038(%rbp), %rdx
callq 0x1060
movq %rax, -0x10030(%rbp)
movq -0x10030(%rbp), %rax
cmpq -0x10038(%rbp), %rax
je 0x1602
callq 0x1030
movl (%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x1609
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x10040, %rsp          # imm = 0x10040
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: onai[P]npio/./npio.h
// Function: int npio::save<float>(char const*, unsigned long, unsigned long const*, float const*)
int save(const char* fn, size_t nDim, const size_t *shape, const T* data)
{
  int fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0666);
  if (fd < 0)
    return errno;
  int ret = save(fd, nDim, shape, data);
  close(fd);
  return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movl $0x241, %esi            # imm = 0x241
movl $0x1b6, %edx            # imm = 0x1B6
movb $0x0, %al
callq 0x10b0
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
jge 0x2e82
callq 0x1030
movl (%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x2ea7
movl -0x2c(%rbp), %edi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
callq 0x2ef0
movl %eax, -0x30(%rbp)
movl -0x2c(%rbp), %edi
callq 0x1140
movl -0x30(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
// File: onai[P]npio/./npio.h
// Function: int npio::save<float>(int, unsigned long, unsigned long const*, float const*)
int save(int fd, size_t nDim, const size_t *shape, const T* data)
{
  npio_Array array;
  npio_init_array(&array);
  array.dim = nDim;
  array.shape = (size_t*) shape;
  array.floating_point = Traits<T>::floating_point;
  array.is_signed = Traits<T>::is_signed;
  array.bit_width = Traits<T>::bit_width;
  array.data = (char*) data;

  return npio_save_fd(fd, &array);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x1410
movq -0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
movl $0x1, -0x70(%rbp)
movl $0x1, -0x6c(%rbp)
movl $0x20, -0x68(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
movl -0x4(%rbp), %edi
leaq -0xa8(%rbp), %rsi
callq 0x1500
addq $0xb0, %rsp
popq %rbp
retq
// File: Neotoxic-off[P]Abstrakt/src/abstract/scan/tabs.cpp
// Function: abstrakt::scan_tabs()
bool abstrakt::scan_tabs()
{
    size_t size = this->current_line.length();

    if (size > 0) {
        for (size_t i = 0; i < size; i++) {
            if (this->current_line[i] == TAB[0]) {
                abstrakt::report_error(
                    this->logs.map[0x01]
                );
                return (true);
            }
        }
    }

    return (false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x60(%rbp)
addq $0x130, %rdi            # imm = 0x130
callq 0x3300
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jbe 0x3855
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x18(%rbp), %rax
jae 0x3853
movq -0x60(%rbp), %rdi
addq $0x130, %rdi            # imm = 0x130
movq -0x20(%rbp), %rsi
callq 0x33d0
movsbl (%rax), %eax
movsbl 0xc821(%rip), %ecx      # 0x10004
cmpl %ecx, %eax
jne 0x3840
movq -0x60(%rbp), %rdi
movl $0x1, -0x44(%rbp)
leaq -0x44(%rbp), %rsi
callq 0x3870
movq %rax, %rsi
leaq -0x40(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x30e0
movq -0x60(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0xa4b0
jmp 0x381a
leaq -0x40(%rbp), %rdi
callq 0x3150
movb $0x1, -0x1(%rbp)
jmp 0x3859
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x3150
jmp 0x3864
jmp 0x3842
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x37b7
jmp 0x3855
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x70, %rsp
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x3370
nopl (%rax)
// File: Neotoxic-off[P]Abstrakt/src/abstract/scan/functions.cpp
// Function: abstrakt::scan_functions()
bool abstrakt::scan_functions()
{
    std::size_t size = this->current_line.length();

    if (size > 0) {
        for (auto i = this->exclution.functions.begin(); i != this->exclution.functions.end(); i++) {
            if (this->current_line.find(*i) != std::string::npos) {
                abstrakt::report_error(
                    this->logs.map[0x02]
                );
                return (true);
            }
        }
    }

    return (false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x70(%rbp)
addq $0x130, %rdi            # imm = 0x130
callq 0x3300
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jbe 0x4ca6
movq -0x70(%rbp), %rdi
addq $0x90, %rdi
addq $0x8, %rdi
callq 0x4cd0
movq %rax, -0x20(%rbp)
movq -0x70(%rbp), %rdi
addq $0x90, %rdi
addq $0x8, %rdi
callq 0x4d40
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x4d00
testb $0x1, %al
jne 0x4c08
jmp 0x4ca4
movq -0x70(%rbp), %rax
addq $0x130, %rax            # imm = 0x130
movq %rax, -0x78(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x4d70
movq -0x78(%rbp), %rdi
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x33e0
cmpq $-0x1, %rax
je 0x4c8e
movq -0x70(%rbp), %rdi
movl $0x2, -0x4c(%rbp)
leaq -0x4c(%rbp), %rsi
callq 0x3870
movq %rax, %rsi
leaq -0x48(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0x30e0
movq -0x70(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0xa4b0
jmp 0x4c68
leaq -0x48(%rbp), %rdi
callq 0x3150
movb $0x1, -0x1(%rbp)
jmp 0x4caa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x3150
jmp 0x4cb8
jmp 0x4c90
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x4d90
movq %rax, -0x68(%rbp)
jmp 0x4bda
jmp 0x4ca6
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x80, %rsp
popq %rbp
retq
movq -0x58(%rbp), %rdi
callq 0x3370
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: Neotoxic-off[P]Abstrakt/src/abstract/scan/line_length.cpp
// Function: abstrakt::scan_line_length()
bool abstrakt::scan_line_length()
{
    std::size_t size = this->current_line.length();

    if (size > this->exclution.line_limit) {
        abstrakt::report_error(
            this->logs.map[0x03]
        );
        return (true);
    }

    return (false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x58(%rbp)
addq $0x130, %rdi            # imm = 0x130
callq 0x3300
movq -0x58(%rbp), %rcx
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq 0x90(%rcx), %rax
jbe 0x4e8e
movq -0x58(%rbp), %rdi
movl $0x3, -0x3c(%rbp)
leaq -0x3c(%rbp), %rsi
callq 0x3870
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0x30e0
movq -0x58(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xa4b0
jmp 0x4e68
leaq -0x38(%rbp), %rdi
callq 0x3150
movb $0x1, -0x1(%rbp)
jmp 0x4e92
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x3150
jmp 0x4e9d
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x60, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x3370
nopw %cs:(%rax,%rax)
// File: Neotoxic-off[P]Abstrakt/src/abstract/scan/spaces.cpp
// Function: abstrakt::scan_spaces()
bool abstrakt::scan_spaces()
{
    size_t size = this->current_line.size();

    if (size > 0) {
        if (this->current_line[size - 1] == ' ') {
            abstrakt::report_error(
                this->logs.map[0x00]
            );
            return (true);
        }
    }

    return (false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x58(%rbp)
addq $0x130, %rdi            # imm = 0x130
callq 0x3180
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jbe 0x9316
movq -0x58(%rbp), %rdi
addq $0x130, %rdi            # imm = 0x130
movq -0x18(%rbp), %rsi
subq $0x1, %rsi
callq 0x33d0
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x9314
movq -0x58(%rbp), %rdi
movl $0x0, -0x3c(%rbp)
leaq -0x3c(%rbp), %rsi
callq 0x3870
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0x30e0
movq -0x58(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xa4b0
jmp 0x92ee
leaq -0x38(%rbp), %rdi
callq 0x3150
movb $0x1, -0x1(%rbp)
jmp 0x931a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x3150
jmp 0x9325
jmp 0x9316
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x60, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x3370
nop
// File: Neotoxic-off[P]Abstrakt/src/abstract/types/is_type.cpp
// Function: Types::is_type(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool Types::is_type(std::string type)
{
    for (auto i = this->types.begin(); i != this->types.end(); i++) {
        if (type == *i)
            return (true);
    }

    return (false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x40(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x38(%rbp)
callq 0x4cd0
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rdi
callq 0x4d40
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x4d00
testb $0x1, %al
jne 0x9375
jmp 0x93a9
leaq -0x20(%rbp), %rdi
callq 0x4d70
movq -0x40(%rbp), %rdi
movq %rax, %rsi
callq 0x93c0
testb $0x1, %al
jne 0x9390
jmp 0x9396
movb $0x1, -0x1(%rbp)
jmp 0x93ad
jmp 0x9398
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x4d90
movq %rax, -0x30(%rbp)
jmp 0x9355
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: Neotoxic-off[P]Abstrakt/src/abstract/abstrakt.cpp
// Function: abstrakt::display_banner()
bool abstrakt::display_banner()
{
    for (auto i = this->banner.begin(); i != this->banner.end(); i++) {
        std::cout << this->colors.colors["magenta"] << *i << this->colors.colors["reset"] << std::endl;
    }
    std::cout << "\n" << std::endl;

    return (true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x88(%rbp)
addq $0x168, %rdi            # imm = 0x168
callq 0x4cd0
movq %rax, -0x10(%rbp)
movq -0x88(%rbp), %rdi
addq $0x168, %rdi            # imm = 0x168
callq 0x4d40
movq %rax, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x4d00
testb $0x1, %al
jne 0x9a17
jmp 0x9bc1
movq -0x88(%rbp), %rax
addq $0x30, %rax
movq %rax, -0x98(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x3380
movq -0x90(%rbp), %rdx
leaq 0x6703(%rip), %rsi      # 0x1014a
leaq -0x38(%rbp), %rdi
callq 0x5370
jmp 0x9a52
movq -0x98(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xc060
movq %rax, -0xa0(%rbp)
jmp 0x9a6b
movq -0xa0(%rbp), %rsi
movq 0xe55f(%rip), %rdi      # 0x17fd8
callq 0x31e0
movq %rax, -0xa8(%rbp)
jmp 0x9a87
leaq -0x10(%rbp), %rdi
callq 0x4d70
movq -0xa8(%rbp), %rdi
movq %rax, %rsi
callq 0x31e0
movq %rax, -0xb0(%rbp)
jmp 0x9aa8
movq -0x88(%rbp), %rax
addq $0x30, %rax
movq %rax, -0xc0(%rbp)
leaq -0x71(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0x3380
movq -0xb8(%rbp), %rdx
leaq 0x667a(%rip), %rsi      # 0x10152
leaq -0x70(%rbp), %rdi
callq 0x5370
jmp 0x9ae3
movq -0xc0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xc060
movq %rax, -0xc8(%rbp)
jmp 0x9afc
movq -0xc8(%rbp), %rsi
movq -0xb0(%rbp), %rdi
callq 0x31e0
movq %rax, -0xd0(%rbp)
jmp 0x9b18
movq -0xd0(%rbp), %rdi
movq 0xe4a2(%rip), %rsi      # 0x17fc8
callq 0x3230
jmp 0x9b2d
leaq -0x70(%rbp), %rdi
callq 0x3150
leaq -0x71(%rbp), %rdi
callq 0x3250
leaq -0x38(%rbp), %rdi
callq 0x3150
leaq -0x39(%rbp), %rdi
callq 0x3250
leaq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x4d90
movq %rax, -0x80(%rbp)
jmp 0x99ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x9bb6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x9bad
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x9ba4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x3150
leaq -0x71(%rbp), %rdi
callq 0x3250
leaq -0x38(%rbp), %rdi
callq 0x3150
leaq -0x39(%rbp), %rdi
callq 0x3250
jmp 0x9bf0
movq 0xe410(%rip), %rdi      # 0x17fd8
leaq 0x6589(%rip), %rsi      # 0x10158
callq 0x31f0
movq %rax, %rdi
movq 0xe3ea(%rip), %rsi      # 0x17fc8
callq 0x3230
movb $0x1, %al
andb $0x1, %al
addq $0xd0, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x3370
nopl (%rax)
// File: Neotoxic-off[P]Abstrakt/src/abstract/abstrakt.cpp
// Function: abstrakt::build()
bool abstrakt::build()
{
    if (abstrakt::check_args() == true) {
        abstrakt::load();
        abstrakt::parse();
        abstrakt::display_errors();
    }

    return (false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x9ce0
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x9c3e
movq -0x10(%rbp), %rdi
callq 0x9d10
movq -0x10(%rbp), %rdi
callq 0x9e80
movq -0x10(%rbp), %rdi
callq 0x9f50
xorl %eax, %eax
andb $0x1, %al
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: Neotoxic-off[P]Abstrakt/src/abstract/abstrakt.cpp
// Function: abstrakt::load()
bool abstrakt::load()
{
    std::ifstream infile(this->argv[1]);
    std::string line;

    if (infile.is_open()) {
        while(getline(infile, line))
            this->lines.push_back(line);
        infile.close();
        this->total_lines = this->lines.size();
    }
    return (true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x250(%rbp)
movq 0x100(%rax), %rax
movq 0x8(%rax), %rsi
leaq -0x210(%rbp), %rdi
movq %rdi, -0x248(%rbp)
movl $0x8, %edx
callq 0x33a0
leaq -0x230(%rbp), %rdi
callq 0x32e0
movq -0x248(%rbp), %rdi
callq 0x3330
movb %al, -0x23d(%rbp)
jmp 0x9d6d
movb -0x23d(%rbp), %al
testb $0x1, %al
jne 0x9d7c
jmp 0x9e40
jmp 0x9d7e
leaq -0x210(%rbp), %rdi
leaq -0x230(%rbp), %rsi
callq 0x3070
movq %rax, -0x258(%rbp)
jmp 0x9d9a
movq -0x258(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x32b0
movb %al, -0x259(%rbp)
jmp 0x9db8
movb -0x259(%rbp), %al
testb $0x1, %al
jne 0x9dc4
jmp 0x9e0e
movq -0x250(%rbp), %rdi
addq $0x150, %rdi            # imm = 0x150
leaq -0x230(%rbp), %rsi
callq 0xc140
jmp 0x9de0
jmp 0x9d7e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x238(%rbp)
movl %eax, -0x23c(%rbp)
leaq -0x230(%rbp), %rdi
callq 0x3150
leaq -0x210(%rbp), %rdi
callq 0x30a0
jmp 0x9e65
leaq -0x210(%rbp), %rdi
callq 0x3080
jmp 0x9e1c
movq -0x250(%rbp), %rdi
addq $0x150, %rdi            # imm = 0x150
callq 0x76e0
movq %rax, %rcx
movq -0x250(%rbp), %rax
movq %rcx, 0x110(%rax)
leaq -0x230(%rbp), %rdi
callq 0x3150
leaq -0x210(%rbp), %rdi
callq 0x30a0
movb $0x1, %al
andb $0x1, %al
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
movq -0x238(%rbp), %rdi
callq 0x3370
nopw %cs:(%rax,%rax)
// File: Neotoxic-off[P]Abstrakt/src/abstract/abstrakt.cpp
// Function: abstrakt::parse()
bool abstrakt::parse()
{
    for (auto i = this->lines.begin(); i != this->lines.end(); i++, this->line_number++) {
        this->current_line = *i;
        abstrakt::scan_spaces();
        abstrakt::scan_tabs();
        abstrakt::scan_functions();
        abstrakt::scan_line_length();
        abstrakt::scan_header();
        // abstrakt::count_functions();
    }

    return (true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
addq $0x150, %rdi            # imm = 0x150
callq 0x4cd0
movq %rax, -0x10(%rbp)
movq -0x28(%rbp), %rdi
addq $0x150, %rdi            # imm = 0x150
callq 0x4d40
movq %rax, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x4d00
testb $0x1, %al
jne 0x9ecb
jmp 0x9f41
leaq -0x10(%rbp), %rdi
callq 0x4d70
movq -0x28(%rbp), %rdi
movq %rax, %rsi
addq $0x130, %rdi            # imm = 0x130
callq 0x3040
movq -0x28(%rbp), %rdi
callq 0x9270
movq -0x28(%rbp), %rdi
callq 0x3780
movq -0x28(%rbp), %rdi
callq 0x4b90
movq -0x28(%rbp), %rdi
callq 0x4e00
movq -0x28(%rbp), %rdi
callq 0x4eb0
leaq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x4d90
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, -0x20(%rbp)
movq 0x120(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x120(%rax)
jmp 0x9ea4
movb $0x1, %al
andb $0x1, %al
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: nmmmnu[P]HM3/test/test_stringref.cc
// Function: main
int main(){
	test_tools_empty_ref("tools empty");
	test_tools_compare_ref("tools compare");

	test_null_ref("null");
	test_small_ref("small");
	test_std_string_ref("std::string");

	test_stringref("char *",	hello);
	test_stringref("char []",	hello_c);
	test_stringref("std::string",	std::string(hello));

	test_stringref_constexpr("constexpr");

	return 0;
}

// Assembly:
subq $0x98, %rsp
movl $0x0, 0x94(%rsp)
leaq 0x2d5a(%rip), %rdi      # 0x4013
callq 0x1400
leaq 0x2d5a(%rip), %rdi      # 0x401f
callq 0x15f0
leaq 0x2d5c(%rip), %rdi      # 0x402d
callq 0x1980
leaq 0x2d55(%rip), %rdi      # 0x4032
callq 0x1a80
leaq 0x2d4f(%rip), %rdi      # 0x4038
callq 0x1d10
movq 0x4ddb(%rip), %rsi      # 0x60d0
leaq 0x80(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x2b90
movq 0x8(%rsp), %rsi
leaq 0x2e0b(%rip), %rdi      # 0x411e
callq 0x1e30
leaq 0x2ea6(%rip), %rsi      # 0x41c5
leaq 0x70(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2b90
movq 0x10(%rsp), %rsi
leaq 0x2e1a(%rip), %rdi      # 0x4154
callq 0x1e30
movq 0x4d8a(%rip), %rax      # 0x60d0
movq %rax, 0x18(%rsp)
leaq 0x3f(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x1150
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
leaq 0x40(%rsp), %rdi
callq 0x1110
jmp 0x1370
leaq 0x60(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x2be0
jmp 0x1381
leaq 0x2cb0(%rip), %rdi      # 0x4038
leaq 0x60(%rsp), %rsi
callq 0x1e30
jmp 0x1394
leaq 0x40(%rsp), %rdi
callq 0x1090
leaq 0x3f(%rsp), %rdi
callq 0x10c0
leaq 0x2c95(%rip), %rdi      # 0x4044
callq 0x2a70
xorl %eax, %eax
addq $0x98, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x30(%rsp)
movl %eax, 0x2c(%rsp)
jmp 0x13e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x30(%rsp)
movl %eax, 0x2c(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x1090
leaq 0x3f(%rsp), %rdi
callq 0x10c0
movq 0x30(%rsp), %rdi
callq 0x1140
nopw (%rax,%rax)