LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/bowenfan96[P]icl-mcs-enigma/enigma.cpp
// Function: Enigma::Rotor::mapper(int)
int Enigma::Rotor::mapper(int input) 
{
    // adjust for offset of the rotor during input
    input = (input + position) % 26;
    
    input = map_rtl[input];
    
    // adjust for offset of the rotor during output
    input = (input - position) % 26;
    
    // account for rollover if input - position is negative
    if(input < 0) {
        input = input + 26;
    }
    
    return input;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0xe8(%rdi), %ecx
leal (%rsi,%rcx), %eax
movl $0x1a, %esi
cltd
idivl %esi
movslq %edx, %rax
movl (%rdi,%rax,4), %eax
subl %ecx, %eax
cltd
idivl %esi
leal 0x1a(%rdx), %eax
testl %edx, %edx
cmovnsl %edx, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/bowenfan96[P]icl-mcs-enigma/enigma.cpp
// Function: Enigma::Rotor::rf_mapper(int)
int Enigma::Rotor::rf_mapper(int input) 
{
    // adjust for offset of the rotor during input
    input = (input + position) % 26;
    
    input = map_ltr[input];
    
    // adjust for offset of the rotor during output
    input = (input - position) % 26;
    
    // account for rollover if input - position is negative
    if(input < 0) {
        input = input + 26;
    }
    
    return input;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0xe8(%rdi), %ecx
leal (%rsi,%rcx), %eax
movl $0x1a, %esi
cltd
idivl %esi
movslq %edx, %rax
movl 0x68(%rdi,%rax,4), %eax
subl %ecx, %eax
cltd
idivl %esi
leal 0x1a(%rdx), %eax
testl %edx, %edx
cmovnsl %edx, %eax
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/bowenfan96[P]icl-mcs-enigma/enigma.cpp
// Function: Enigma::encryptor(char)
char Enigma::encryptor(char letter) 
{
    // check input letter is upper case letter
    if(!isupper(letter)) {
        std::cerr << letter << " is not a valid input character (input characters must be upper case letters A-Z)!" << "\n";
        throw INVALID_INPUT_CHARACTER;
    }
    
    int input = letter - 'A';
    
    // send signal through Plugboard
    input = pb->mapper(input);
    
    // send signal through rotors, right to left
    if(num_rotors > 0) {
        turn_rotors();
        
        // use reverse iterator for right to left signal flow
        for(auto rot = vec_rotors.rbegin(); rot != vec_rotors.rend(); ++rot) {
            input = rot->mapper(input);
        }
    }
    
    // send signal through reflector
    input = rf->mapper(input);
    
    // reflect signal through rotors, left to right
    if(num_rotors > 0) {
        for(auto rot = vec_rotors.begin(); rot != vec_rotors.end(); ++rot) {
            input = rot->rf_mapper(input);
        }
    }
    
    // reflect signal through Plugboard
    input = pb->mapper(input);
    
    // cast int to corresponding letter
    char letter_out = (char)('A' + input);
    
    return letter_out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movl %esi, %edi
callq 0x2120
testl %eax, %eax
je 0x3975
addl $-0x41, %r14d
movq 0x38(%rbx), %rdi
movl %r14d, %esi
callq 0x2a32
movl %eax, %r14d
cmpl $0x0, (%rbx)
jle 0x392e
movq %rbx, %rdi
callq 0x39c2
movq 0x8(%rbx), %r12
movq 0x10(%rbx), %r15
cmpq %r12, %r15
je 0x392e
addq $-0xf0, %r15
movq %r15, %rdi
movl %r14d, %esi
callq 0x2efe
movl %eax, %r14d
jmp 0x3912
movq 0x40(%rbx), %rdi
movl %r14d, %esi
callq 0x3300
cmpl $0x0, (%rbx)
jle 0x395f
movq 0x8(%rbx), %r14
movq 0x10(%rbx), %r15
cmpq %r15, %r14
je 0x395f
movq %r14, %rdi
movl %eax, %esi
callq 0x2f28
addq $0xf0, %r14
jmp 0x3947
movq 0x38(%rbx), %rdi
movl %eax, %esi
callq 0x2a32
addb $0x41, %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movsbl %r14b, %esi
movq 0x4670(%rip), %rdi      # 0x7ff0
callq 0x21e0
leaq 0x1a48(%rip), %rsi      # 0x53d4
movq %rax, %rdi
callq 0x21b0
leaq 0x16ad(%rip), %rsi      # 0x5048
movq %rax, %rdi
callq 0x21b0
pushq $0x4
popq %rdi
callq 0x20c0
movl $0x2, (%rax)
movq 0x45e8(%rip), %rsi      # 0x7fa0
movq %rax, %rdi
xorl %edx, %edx
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O2/bowenfan96[P]icl-mcs-enigma/enigma.cpp
// Function: Enigma::turn_rotors()
void Enigma::turn_rotors() 
{
    for(auto rot = vec_rotors.rbegin(); rot != vec_rotors.rend(); ++rot) {
        
        if(rot == vec_rotors.rbegin()) {
            rot->rotate();
        }
        else if ((rot-1)->triggered) {
            rot->rotate();
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %r14
cmpq 0x8(%rbx), %r14
je 0x39fb
cmpq 0x10(%rbx), %r14
je 0x39e6
cmpb $0x1, 0xec(%r14)
jne 0x39f2
leaq -0xf0(%r14), %rdi
callq 0x2eae
addq $-0xf0, %r14
jmp 0x39d0
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/shreyas-gopalakrishna[P]Concurrent-Skip-list/main.cpp
// Function: show_usage()
void show_usage(){
	cout << "Usage: \n\n" ;
	cout << "./skiplist [--name] -i <max_number> -t <num_threads> --operation=<combined, separate> [--help] \n" ;
	cout << "--name                  Prints full name \n" ;
	cout << "-i <max_number>         Numbers from 1 to max_number are inserted into skip list, subset is chosen for get, delete, and range \n" ;
	cout << "-t <num_threads>        Max number of threads to use \n" ;
	cout << "--operation=<separate>  Performs multithreaded insert, delete, get and range operations one after the other \n" ;
	cout << "--operation=<combined>  Mixes up or combined get, insert, delete, range operations \n" ;
    cout << "--help                  Prints the usage of the program \n";
    cout << "\n[ Kindly use less input values since the output is displayed on console. Higher values provide an unreadable display ]\n"; 
    cout << "\n[ max_number must be between INT_MIN and INT_MAX and exclusive of INT_MIN and INT_MAX ]" << endl;
    cout << "[Output may be interleaved since multiple threads tend to print search value found together.] \n" << endl;

	exit(EXIT_FAILURE);
}

// Assembly:
pushq %rbx
movq 0x7a24(%rip), %rbx      # 0x9fc8
leaq 0x3a95(%rip), %rsi      # 0x6040
movq %rbx, %rdi
callq 0x21e0
leaq 0x3a90(%rip), %rsi      # 0x604a
movq %rbx, %rdi
callq 0x21e0
leaq 0x3ae2(%rip), %rsi      # 0x60ab
movq %rbx, %rdi
callq 0x21e0
leaq 0x3afe(%rip), %rsi      # 0x60d6
movq %rbx, %rdi
callq 0x21e0
leaq 0x3b6f(%rip), %rsi      # 0x6156
movq %rbx, %rdi
callq 0x21e0
leaq 0x3b97(%rip), %rsi      # 0x618d
movq %rbx, %rdi
callq 0x21e0
leaq 0x3bf6(%rip), %rsi      # 0x61fb
movq %rbx, %rdi
callq 0x21e0
leaq 0x3c3c(%rip), %rsi      # 0x6250
movq %rbx, %rdi
callq 0x21e0
leaq 0x3c67(%rip), %rsi      # 0x628a
movq %rbx, %rdi
callq 0x21e0
leaq 0x3cd1(%rip), %rsi      # 0x6303
movq %rbx, %rdi
callq 0x21e0
movq %rax, %rdi
callq 0x20f0
leaq 0x3d13(%rip), %rsi      # 0x635c
movq %rbx, %rdi
callq 0x21e0
movq %rax, %rdi
callq 0x20f0
pushq $0x1
popq %rdi
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O2/shreyas-gopalakrishna[P]Concurrent-Skip-list/main.cpp
// Function: generate_input(int)
void generate_input(int max_number){
    // generating insert data
    for(int i = 1; i <= max_number; i++){
        numbers_insert.push_back(i);
    }

    // generating delete data
    for(size_t i = 0; i < numbers_insert.size(); i++){
        if( rand() % 4 == 0 ){
            numbers_delete.push_back(numbers_insert[i]);
        }
    }

    // generating search data
    for(size_t i = 0; i < numbers_insert.size(); i++){
        if( rand() % 4 == 0 ){
            numbers_get.push_back(numbers_insert[i]);
        }
    }

    // generating range data
    for(size_t i = 0; i < num_threads; i++){
        int a = (rand() % static_cast<int>(max_number + 1));
        int b = a + (rand() % static_cast<int>(max_number - a + 1));
        numbers_range.push_back(make_pair(a,b));
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
pushq $0x1
popq %rax
leaq 0x7c16(%rip), %r14      # 0xa290
leaq 0x4(%rsp), %r15
movl %eax, 0x4(%rsp)
cmpl %ebx, %eax
jg 0x269a
movq %r14, %rdi
movq %r15, %rsi
callq 0x3628
movl 0x4(%rsp), %eax
incl %eax
jmp 0x267f
xorl %r15d, %r15d
leaq 0x7c04(%rip), %r14      # 0xa2a8
xorl %r12d, %r12d
movq 0x7bea(%rip), %rax      # 0xa298
movq 0x7bdb(%rip), %rcx      # 0xa290
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %rdx, %r12
jae 0x26e8
callq 0x2060
testb $0x3, %al
jne 0x26df
movq 0x7bbc(%rip), %rsi      # 0xa290
addq %r15, %rsi
movq %r14, %rdi
callq 0x3628
incq %r12
addq $0x4, %r15
jmp 0x26a7
xorl %r15d, %r15d
leaq 0x7bce(%rip), %r14      # 0xa2c0
xorl %r12d, %r12d
subq %rcx, %rax
sarq $0x2, %rax
cmpq %rax, %r12
jae 0x2733
callq 0x2060
testb $0x3, %al
jne 0x271c
movq 0x7b7f(%rip), %rsi      # 0xa290
addq %r15, %rsi
movq %r14, %rdi
callq 0x3628
incq %r12
movq 0x7b72(%rip), %rax      # 0xa298
movq 0x7b63(%rip), %rcx      # 0xa290
addq $0x4, %r15
jmp 0x26f5
incl %ebx
xorl %r13d, %r13d
leaq 0x7b99(%rip), %r14      # 0xa2d8
leaq 0x8(%rsp), %r15
cmpq 0x7a85(%rip), %r13      # 0xa1d0
jae 0x2784
callq 0x2060
cltd
idivl %ebx
movl %edx, %r12d
callq 0x2060
movl %ebx, %ecx
subl %r12d, %ecx
cltd
idivl %ecx
addl %r12d, %edx
shlq $0x20, %rdx
orq %rdx, %r12
movq %r12, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x3c50
incq %r13
jmp 0x2744
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/shreyas-gopalakrishna[P]Concurrent-Skip-list/main.cpp
// Function: skiplist_search(unsigned long, unsigned long)
void skiplist_search(size_t start, size_t end){
    if(end >= numbers_get.size()) end = numbers_get.size();
    if(start == end) end++;
    for(size_t i = start; i < end; i++){
        string s = skiplist.search(numbers_get[i]);
        if(s.empty()) s = "Not Found";
        cout << "Searching for " << numbers_get[i] << " Search value: " << s << endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x7a04(%rip), %rax      # 0xa2c8
subq 0x79f5(%rip), %rax      # 0xa2c0
sarq $0x2, %rax
cmpq %rsi, %rax
cmovaeq %rsi, %rax
xorl %r14d, %r14d
cmpq %rdi, %rax
sete %r14b
addq %rax, %r14
leaq 0x8(%rsp), %r15
movq 0x76d9(%rip), %r13      # 0x9fc8
leaq 0x3ad0(%rip), %rbp      # 0x63c6
leaq 0x3ad8(%rip), %r12      # 0x63d5
cmpq %r14, %rbx
jae 0x297a
movq 0x79b7(%rip), %rax      # 0xa2c0
movl (%rax,%rbx,4), %edx
movq %r15, %rdi
leaq 0x796a(%rip), %rsi      # 0xa280
callq 0x4b7c
cmpq $0x0, 0x10(%rsp)
jne 0x2932
movq %r15, %rdi
leaq 0x3a8f(%rip), %rsi      # 0x63bc
callq 0x2360
movq %r13, %rdi
movq %rbp, %rsi
callq 0x21e0
movq 0x797c(%rip), %rcx      # 0xa2c0
movl (%rcx,%rbx,4), %esi
movq %rax, %rdi
callq 0x2310
movq %rax, %rdi
movq %r12, %rsi
callq 0x21e0
movq %rax, %rdi
movq %r15, %rsi
callq 0x21c0
movq %rax, %rdi
callq 0x20f0
movq %r15, %rdi
callq 0x20d0
incq %rbx
jmp 0x28fd
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O2/shreyas-gopalakrishna[P]Concurrent-Skip-list/main.cpp
// Function: skiplist_range(int, int)
void skiplist_range(int start, int end){
    map<int, string> range_output = skiplist.range(start, end);

    string s = "";
    for (auto const& x : range_output){
        s += x.second + " ";
    }
    cout << "Range (" << start << ", " << end << ") = " << s << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %esi, %ecx
movl %edi, %ebp
leaq 0x78c9(%rip), %rsi      # 0xa280
leaq 0x48(%rsp), %rdi
movl %ebp, %edx
movl %ecx, 0x4(%rsp)
callq 0x503c
leaq 0x367b(%rip), %rsi      # 0x6049
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x36a0
leaq 0x50(%rsp), %rbx
movq 0x10(%rbx), %r13
leaq 0x3e30(%rip), %r14      # 0x681d
leaq 0x28(%rsp), %r15
leaq 0x8(%rsp), %r12
cmpq %rbx, %r13
je 0x2a2b
leaq 0x28(%r13), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x36db
movq %r12, %rdi
movq %r15, %rsi
callq 0x2370
movq %r15, %rdi
callq 0x20d0
movq %r13, %rdi
callq 0x2150
movq %rax, %r13
jmp 0x29f7
movq 0x7596(%rip), %rdi      # 0x9fc8
leaq 0x39ac(%rip), %rsi      # 0x63e5
callq 0x21e0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2310
leaq 0x399e(%rip), %rsi      # 0x63ed
movq %rax, %rdi
callq 0x21e0
movq %rax, %rdi
movl 0x4(%rsp), %esi
callq 0x2310
leaq 0x3986(%rip), %rsi      # 0x63f0
movq %rax, %rdi
callq 0x21e0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x21c0
movq %rax, %rdi
callq 0x20f0
leaq 0x8(%rsp), %rdi
callq 0x20d0
leaq 0x48(%rsp), %rdi
callq 0x3974
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2acd
jmp 0x2ab1
movq %rax, %rbx
jmp 0x2ac3
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x20d0
leaq 0x8(%rsp), %rdi
callq 0x20d0
leaq 0x48(%rsp), %rdi
callq 0x3974
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O2/shreyas-gopalakrishna[P]Concurrent-Skip-list/main.cpp
// Function: concurrent_skiplist_combined()
void concurrent_skiplist_combined(){

    cout << "\n---------- Numbers being inserted ----------" << endl;

    for (auto i = numbers_insert.begin(); i != numbers_insert.end(); ++i)
    std::cout << *i << ' ';
    cout << endl;

    cout << "\n---------- Numbers being deleted ----------" << endl;

    for (auto i = numbers_delete.begin(); i != numbers_delete.end(); ++i)
    std::cout << *i << ' ';
    cout << endl;

    cout << "\n---------- Numbers being searched ----------" << endl;

    for (auto i = numbers_get.begin(); i != numbers_get.end(); ++i)
    std::cout << *i << ' ';
    cout << endl;

    vector<thread> threads;

    for(size_t i = 0; i < num_threads; i++){
        threads.push_back(thread(skiplist_combined_operations));
    }
    for (auto &th : threads) {
        th.join();
    }

    skiplist.display();

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq 0x6dc9(%rip), %rbx      # 0x9fc8
leaq 0x333a(%rip), %rsi      # 0x6540
movq %rbx, %rdi
callq 0x21e0
movq %rax, %rdi
callq 0x20f0
movq 0x7073(%rip), %r14      # 0xa290
pushq $0x20
popq %rbp
cmpq 0x7071(%rip), %r14      # 0xa298
je 0x3244
movl (%r14), %esi
movq %rbx, %rdi
callq 0x2310
movq %rax, %rdi
movl %ebp, %esi
callq 0x2230
addq $0x4, %r14
jmp 0x3220
movq 0x6d7d(%rip), %rbx      # 0x9fc8
movq %rbx, %rdi
callq 0x20f0
leaq 0x3314(%rip), %rsi      # 0x656e
movq %rbx, %rdi
callq 0x21e0
movq %rax, %rdi
callq 0x20f0
movq 0x7037(%rip), %r14      # 0xa2a8
pushq $0x20
popq %rbp
cmpq 0x7035(%rip), %r14      # 0xa2b0
je 0x3298
movl (%r14), %esi
movq %rbx, %rdi
callq 0x2310
movq %rax, %rdi
movl %ebp, %esi
callq 0x2230
addq $0x4, %r14
jmp 0x3274
movq 0x6d29(%rip), %rbx      # 0x9fc8
movq %rbx, %rdi
callq 0x20f0
leaq 0x32ed(%rip), %rsi      # 0x659b
movq %rbx, %rdi
callq 0x21e0
movq %rax, %rdi
callq 0x20f0
movq 0x6ffb(%rip), %r14      # 0xa2c0
pushq $0x20
popq %rbp
cmpq 0x6ff9(%rip), %r14      # 0xa2c8
je 0x32ec
movl (%r14), %esi
movq %rbx, %rdi
callq 0x2310
movq %rax, %rdi
movl %ebp, %esi
callq 0x2230
addq $0x4, %r14
jmp 0x32c8
movq 0x6cd5(%rip), %rdi      # 0x9fc8
callq 0x20f0
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rbx
andq $0x0, 0x10(%rbx)
movaps %xmm0, (%rbx)
xorl %r12d, %r12d
leaq -0x35d(%rip), %r14      # 0x2fb5
leaq 0x8(%rsp), %r15
cmpq 0x6eb2(%rip), %r12      # 0xa1d0
jae 0x3343
movq %r15, %rdi
movq %r14, %rsi
callq 0x384c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3ee2
movq %r15, %rdi
callq 0x3796
incq %r12
jmp 0x3317
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r14
cmpq %r14, %rbx
je 0x3360
movq %rbx, %rdi
callq 0x2300
addq $0x8, %rbx
jmp 0x334d
leaq 0x6f19(%rip), %rdi      # 0xa280
callq 0x5284
leaq 0x10(%rsp), %rdi
callq 0x382a
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3396
jmp 0x3396
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3796
jmp 0x3399
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x382a
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O2/statgen[P]statgen/lib/tclap-1.2.0/examples/../include/tclap/MultiSwitchArg.h
// Function: TCLAP::MultiSwitchArg::processArg(int*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
inline bool MultiSwitchArg::processArg(int *i, std::vector<std::string>& args)
{
	if ( _ignoreable && Arg::ignoreRest() )
		return false;

	if ( argMatches( args[*i] ))
	{
		// so the isSet() method will work
		_alreadySet = true;

		// Matched argument: increment value.
		++_value;

		_checkWithVisitor();

		return true;
	}
	else if ( combinedSwitchesMatch( args[*i] ) )
	{
		// so the isSet() method will work
		_alreadySet = true;

		// Matched argument: increment value.
		++_value;

		// Check for more in argument and increment value.
		while ( combinedSwitchesMatch( args[*i] ) ) 
			++_value;

		_checkWithVisitor();

		return false;
	}
	else
		return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
cmpb $0x1, 0xa0(%rdi)
jne 0x4019
cmpb $0x0, 0xa1af(%rip)      # 0xe1c2
jne 0x40a3
movslq (%r12), %rsi
shlq $0x5, %rsi
addq (%r15), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x30(%rax)
movl %eax, %ebx
testb %al, %al
je 0x4052
movb $0x1, 0x91(%r14)
incl 0xa8(%r14)
movq 0x98(%r14), %rdi
testq %rdi, %rdi
jne 0x409b
movb $0x1, %bl
jmp 0x40a5
movslq (%r12), %rsi
shlq $0x5, %rsi
addq (%r15), %rsi
movq %r14, %rdi
callq 0x3cbc
testb %al, %al
je 0x40a3
movb $0x1, 0x91(%r14)
incl 0xa8(%r14)
movslq (%r12), %rsi
shlq $0x5, %rsi
addq (%r15), %rsi
movq %r14, %rdi
callq 0x3cbc
testb %al, %al
jne 0x4071
movq 0x98(%r14), %rdi
testq %rdi, %rdi
je 0x40a3
movq (%rdi), %rax
callq *0x10(%rax)
jmp 0x40a5
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: id::display(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void id::display(string s){
    if(argc == 3){
        outfile << left << setw(30) << "Identifier" << left << setw(30) << s << endl;
    }else{
        cout << left << setw(30) << "Identifier" << left << setw(30) << s << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x6246(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x3f84
leaq 0x6246(%rip), %rdi      # 0xa1c8
jmp 0x3f8b
movq 0x603d(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
pushq $0x1e
popq %r15
movq %r15, 0x10(%rdi,%rax)
leaq 0x208a(%rip), %rsi      # 0x6044
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq %r15, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2160
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: id::detected()
int id::detected(){
    string s(yytext);
    if(exit(s)){
        inc_id_cnt();
        display(s);
        return wordlist[s];
    }else{
        add_id(s);
        display(s);
        return id_id - 1;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0xa8, %rsp
leaq 0x63cb(%rip), %rax      # 0xa3f0
movq (%rax), %rsi
leaq -0x30(%rbp), %rbx
leaq -0x9(%rbp), %rdx
movq %rbx, %rdi
callq 0x4af0
leaq -0xb0(%rbp), %rdi
movq %rbx, %rsi
callq 0x2210
leaq -0xb0(%rbp), %rsi
callq 0x3ffa
movl %eax, %ebx
leaq -0xb0(%rbp), %rdi
callq 0x20d0
testb %bl, %bl
je 0x40ad
incl 0x63dd(%rip)            # 0xa448
incl 0x63d3(%rip)            # 0xa444
leaq -0x90(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x2210
leaq -0x90(%rbp), %rsi
callq 0x3f62
leaq -0x90(%rbp), %rdi
callq 0x20d0
leaq 0x63b0(%rip), %rdi      # 0xa450
leaq -0x30(%rbp), %rsi
callq 0x4a62
movl (%rax), %ebx
jmp 0x40f3
leaq -0x70(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x2210
leaq -0x70(%rbp), %rsi
callq 0x3f3a
leaq -0x70(%rbp), %rdi
callq 0x20d0
leaq -0x50(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x2210
leaq -0x50(%rbp), %rsi
callq 0x3f62
leaq -0x50(%rbp), %rdi
callq 0x20d0
movl 0x60ab(%rip), %ebx      # 0xa19c
decl %ebx
leaq -0x30(%rbp), %rdi
callq 0x20d0
movl %ebx, %eax
addq $0xa8, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
jmp 0x4130
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
jmp 0x4130
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
jmp 0x4130
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x20d0
jmp 0x413a
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x22d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: id::disp_tbl()
void id::disp_tbl(){
    if (argc == 2){
        cout << endl << endl << "ID_TABLE" << endl << endl;
        map<string, int>::iterator iter = wordlist.begin();
        map<string ,int>::iterator end = wordlist.end();
        for (; iter != end; iter ++)
            cout << setw(5) << iter->second << setw(10) << " " << iter->first << endl;
    }else if (argc == 3){
        outfile << endl << endl << "ID_TABLE" << endl << endl;
        map<string, int>::iterator iter = wordlist.begin();
        map<string ,int>::iterator end = wordlist.end();
        for (; iter != end; iter ++)
            outfile << setw(5) << iter->second << setw(10) << " " << iter->first << endl;
    }else {
        ;
    }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x605b(%rip), %rax      # 0xa1bc
movl (%rax), %eax
cmpl $0x3, %eax
je 0x4224
cmpl $0x2, %eax
jne 0x42cf
movq 0x5e4c(%rip), %rbx      # 0x9fc8
movq %rbx, %rdi
callq 0x20e0
movq %rax, %rdi
callq 0x20e0
leaq 0x369b(%rip), %rsi      # 0x782e
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
callq 0x20e0
movq 0x62b6(%rip), %r15      # 0xa468
leaq 0x629f(%rip), %r13      # 0xa458
leaq 0x368e(%rip), %r14      # 0x784e
cmpq %r13, %r15
je 0x42cf
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x5, 0x10(%rbx,%rax)
leaq 0x20(%r15), %r12
movl 0x40(%r15), %esi
movq %rbx, %rdi
callq 0x22b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xa, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r14, %rsi
callq 0x2170
movq %rax, %rdi
movq %r12, %rsi
callq 0x2160
movq %rax, %rdi
callq 0x20e0
movq %r15, %rdi
callq 0x2100
movq %rax, %r15
jmp 0x41c0
leaq 0x5f9d(%rip), %rbx      # 0xa1c8
movq %rbx, %rdi
callq 0x20e0
movq %rax, %rdi
callq 0x20e0
leaq 0x35ec(%rip), %rsi      # 0x782e
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
callq 0x20e0
movq 0x6207(%rip), %r15      # 0xa468
leaq 0x61f0(%rip), %r13      # 0xa458
leaq 0x35df(%rip), %r14      # 0x784e
cmpq %r13, %r15
je 0x42cf
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x5, 0x10(%rbx,%rax)
leaq 0x20(%r15), %r12
movl 0x40(%r15), %esi
movq %rbx, %rdi
callq 0x22b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xa, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r14, %rsi
callq 0x2170
movq %rax, %rdi
movq %r12, %rsi
callq 0x2160
movq %rax, %rdi
callq 0x20e0
movq %r15, %rdi
callq 0x2100
movq %rax, %r15
jmp 0x426f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: num::display(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void num::display(string s){
    if (argc == 3){
    outfile << left << setw(30) << "Number" << left << setw(30) << s << endl;
    }else{
        cout << left << setw(30) << "Number" << left << setw(30) << s << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x5eb8(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x4312
leaq 0x5eb8(%rip), %rdi      # 0xa1c8
jmp 0x4319
movq 0x5caf(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
pushq $0x1e
popq %r15
movq %r15, 0x10(%rdi,%rax)
leaq 0x1d07(%rip), %rsi      # 0x604f
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq %r15, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2160
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: num::detected()
double num::detected(){
    inc_num_cnt();
    string s(yytext);
    display(s);
    double value = stod(s);
    return value;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x58, %rsp
incl 0x60e9(%rip)            # 0xa480
incl 0x60a7(%rip)            # 0xa444
leaq 0x604c(%rip), %rax      # 0xa3f0
movq (%rax), %rsi
leaq -0x58(%rbp), %rbx
leaq -0x9(%rbp), %rdx
movq %rbx, %rdi
callq 0x4af0
leaq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x2210
leaq -0x38(%rbp), %rsi
callq 0x42f0
leaq -0x38(%rbp), %rdi
callq 0x20d0
leaq -0x58(%rbp), %rdi
xorl %esi, %esi
callq 0x4b2b
movsd %xmm0, -0x18(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x20d0
movsd -0x18(%rbp), %xmm0
addq $0x58, %rsp
popq %rbx
popq %rbp
retq
jmp 0x440a
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x20d0
jmp 0x440d
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x22d0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: operators::display(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void operators::display(string s){
    if (argc == 3){
        outfile << left << setw(30) << "Operator" << left << setw(30) << s << endl;            
    }else{
        cout << left << setw(30) << "Operator" << left << setw(30) << s << endl;    
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x5d78(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x4452
leaq 0x5d78(%rip), %rdi      # 0xa1c8
jmp 0x4459
movq 0x5b6f(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
pushq $0x1e
popq %r15
movq %r15, 0x10(%rdi,%rax)
leaq 0x1bce(%rip), %rsi      # 0x6056
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq %r15, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2160
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: delimiter::display(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void delimiter::display(string s){
    if (argc == 3){
        outfile << left << setw(30) << "Delimiter" << left << setw(30) << s << endl;        
    }else{
        cout << left << setw(30) << "Delimiter" << left << setw(30) << s << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x5c58(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x4572
leaq 0x5c58(%rip), %rdi      # 0xa1c8
jmp 0x4579
movq 0x5a4f(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
pushq $0x1e
popq %r15
movq %r15, 0x10(%rdi,%rax)
leaq 0x1ab7(%rip), %rsi      # 0x605f
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq %r15, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2160
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: keyword::display(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void keyword::display(string s){
    if (argc == 3){
        outfile << left << setw(30) << "Keyword" << left << setw(30) << s << endl;
    }else {
        cout << left << setw(30) << "Keyword" << left << setw(30) << s << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x5b38(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x4692
leaq 0x5b38(%rip), %rdi      # 0xa1c8
jmp 0x4699
movq 0x592f(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
pushq $0x1e
popq %r15
movq %r15, 0x10(%rdi,%rax)
leaq 0x19a1(%rip), %rsi      # 0x6069
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq %r15, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2160
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: strings::display(char*)
void strings::display(char* yytext){
    string s_temp(yytext);
    string s = s_temp.substr(1, s_temp.length() - 2);
    if (argc == 3){
        outfile << left << setw(30) << "String" << left << setw(30) << s << endl;
    }else{
        cout << left << setw(30) << "String" << left << setw(30) << s << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x48, %rsp
leaq -0x48(%rbp), %rbx
leaq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x4af0
movq 0x8(%rbx), %rcx
addq $-0x2, %rcx
leaq -0x28(%rbp), %rdi
pushq $0x1
popq %rdx
movq %rbx, %rsi
callq 0x21a0
leaq 0x59fb(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x47cf
leaq 0x59fb(%rip), %rdi      # 0xa1c8
jmp 0x47d6
movq 0x57f2(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %ebx       # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %ebx, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rdi,%rax)
leaq 0x3034(%rip), %rsi      # 0x7837
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %ebx
orl $0x20, %ebx
movl %ebx, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq $0x1e, 0x10(%rax,%rcx)
leaq -0x28(%rbp), %rsi
movq %rax, %rdi
callq 0x2160
movq %rax, %rdi
callq 0x20e0
leaq -0x28(%rbp), %rdi
callq 0x20d0
leaq -0x48(%rbp), %rdi
callq 0x20d0
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
jmp 0x4865
movq %rax, %rbx
leaq -0x28(%rbp), %rdi
callq 0x20d0
leaq -0x48(%rbp), %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x22d0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: characters::display(char*)
void characters::display(char* yytext){
    string s_temp(yytext);
    string s = s_temp.substr(1, s_temp.length() - 2);
    if (argc == 3){
        outfile << left << setw(30) << "Char" << left << setw(30) << s << endl;
    }else{
        cout << left << setw(30) << "Char" << left << setw(30) << s << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x48, %rsp
leaq -0x48(%rbp), %rbx
leaq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x4af0
movq 0x8(%rbx), %rcx
addq $-0x2, %rcx
leaq -0x28(%rbp), %rdi
pushq $0x1
popq %rdx
movq %rbx, %rsi
callq 0x21a0
leaq 0x590f(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x48bb
leaq 0x590f(%rip), %rdi      # 0xa1c8
jmp 0x48c2
movq 0x5706(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %ebx       # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %ebx, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rdi,%rax)
leaq 0x2f4f(%rip), %rsi      # 0x783e
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %ebx
orl $0x20, %ebx
movl %ebx, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq $0x1e, 0x10(%rax,%rcx)
leaq -0x28(%rbp), %rsi
movq %rax, %rdi
callq 0x2160
movq %rax, %rdi
callq 0x20e0
leaq -0x28(%rbp), %rdi
callq 0x20d0
leaq -0x48(%rbp), %rdi
callq 0x20d0
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
jmp 0x4951
movq %rax, %rbx
leaq -0x28(%rbp), %rdi
callq 0x20d0
leaq -0x48(%rbp), %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x22d0
// File: /workspace/github_cpp_makefile_star2_O2/DuoLife-QNL[P]lexical_analysis/token.cpp
// Function: error::display(char*, int)
void error::display(char* yytext, int yylineno){
    string s(yytext);
    if (argc == 3){
        outfile << left << setw(30) << "Error" << left << setw(30) << s << left <<"Line: " << yylineno << endl;
    }else{
        cout << left << setw(30) << "Error" << left << setw(30) << s << left <<"Line: " << yylineno << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebx
leaq -0x38(%rbp), %rdi
leaq -0x11(%rbp), %rdx
callq 0x4af0
leaq 0x5839(%rip), %rax      # 0xa1bc
cmpl $0x3, (%rax)
jne 0x4991
leaq 0x5839(%rip), %rdi      # 0xa1c8
jmp 0x4998
movq 0x5630(%rip), %rdi      # 0x9fc8
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rdi,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rdi,%rax)
leaq 0x2e7c(%rip), %rsi      # 0x7843
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
andl 0x18(%rax,%rdx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq $0x1e, 0x10(%rax,%rcx)
leaq -0x38(%rbp), %rsi
movq %rax, %rdi
callq 0x2160
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl 0x18(%rax,%rcx), %edx
orl $0x20, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x2e31(%rip), %rsi      # 0x7849
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
movl %ebx, %esi
callq 0x22b0
movq %rax, %rdi
callq 0x20e0
leaq -0x38(%rbp), %rdi
callq 0x20d0
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x22d0
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/dns.c
// Function: parse_name
int static parse_name(const unsigned char **inpos, const unsigned char *inend, const unsigned char *inbuf, char *buf, size_t bufsize) {
  size_t bufused = 0;
  int init = 1;
  do {
    if (*inpos == inend)
      return -1;
    // read length of next component
    int octet = *((*inpos)++);
    if (octet == 0) {
      buf[bufused] = 0;
      return 0;
    }
    // add dot in output
    if (!init) {
      if (bufused == bufsize-1)
        return -2;
      buf[bufused++] = '.';
    } else
      init = 0;
    // handle references
    if ((octet & 0xC0) == 0xC0) {
      if (*inpos == inend)
        return -1;
      int ref = ((octet - 0xC0) << 8) + *((*inpos)++);
      if (ref < 0 || ref >= (*inpos)-inbuf-2) return -1;
      const unsigned char *newbuf = inbuf + ref;
      return parse_name(&newbuf, (*inpos) - 2, inbuf, buf+bufused, bufsize-bufused);
    }
    if (octet > 63) return -1;
    // copy label
    while (octet) {
      if (*inpos == inend)
        return -1;
      if (bufused == bufsize-1)
        return -2;
      int c = *((*inpos)++);
      if (c == '.')
        return -1;
      octet--;
      buf[bufused++] = c;
    }
  } while(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
leaq -0x1(%r8), %r9
xorl %r14d, %r14d
pushq $-0x1
popq %rax
pushq $-0x2
popq %r11
xorl %r10d, %r10d
movq (%rdi), %rbx
cmpq %rsi, %rbx
je 0x4281
leaq 0x1(%rbx), %r15
movq %r15, (%rdi)
movzbl (%rbx), %ebx
testl %ebx, %ebx
je 0x428c
testb $0x1, %r14b
je 0x423f
cmpq %r9, %r10
je 0x427e
movb $0x2e, (%rcx,%r10)
incq %r10
movl %ebx, %ebp
notl %ebp
testb $-0x40, %bpl
je 0x4295
cmpb $0x3f, %bl
ja 0x4281
subl $0x1, %ebx
jb 0x4279
movq (%rdi), %r14
cmpq %rsi, %r14
je 0x4281
cmpq %r10, %r9
je 0x427e
leaq 0x1(%r14), %r15
movq %r15, (%rdi)
movb (%r14), %bpl
cmpb $0x2e, %bpl
je 0x4281
movb %bpl, (%rcx,%r10)
incq %r10
jmp 0x424e
movb $0x1, %r14b
jmp 0x4216
movl %r11d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movb $0x0, (%rcx,%r10)
xorl %eax, %eax
jmp 0x4281
movq (%rdi), %r9
cmpq %rsi, %r9
je 0x4281
leaq 0x1(%r9), %r11
movq %r11, (%rdi)
shll $0x8, %ebx
movzbl (%r9), %esi
addl %ebx, %esi
addl $0xffff4000, %esi       # imm = 0xFFFF4000
subq %rdx, %r11
addq $-0x2, %r11
cmpq %rsi, %r11
jle 0x4281
addq %rdx, %rsi
movq %rsp, %rdi
movq %rsi, (%rdi)
decq %r9
addq %r10, %rcx
subq %r10, %r8
movq %r9, %rsi
callq 0x41fe
jmp 0x4281
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/dns.c
// Function: write_record_ns
int static write_record_ns(unsigned char** outpos, const unsigned char *outend, char *name, int offset, dns_class cls, int ttl, const char *ns) {
  unsigned char *oldpos = *outpos;
  int ret = write_record(outpos, outend, name, offset, TYPE_NS, cls, ttl);
  if (ret) return ret;
  int error = 0;
  if (outend - *outpos < 2) { error = -5; goto error; }
  (*outpos) += 2;
  unsigned char *curpos = *outpos;
  ret = write_name(outpos, outend, ns, -1);
  if (ret) { error = ret; goto error; }
  curpos[-2] = (*outpos - curpos) >> 8;
  curpos[-1] = (*outpos - curpos) & 0xFF;
  return 0;
error:
  *outpos = oldpos;
  return error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movl %edx, %ecx
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %r12
pushq $0x2
popq %rdx
callq 0x4528
testl %eax, %eax
jne 0x4333
movq (%rbx), %rbp
movq %r15, %rax
subq %rbp, %rax
cmpq $0x2, %rax
jge 0x4314
pushq $-0x5
popq %rax
jmp 0x4330
leaq 0x2(%rbp), %r13
movq %r13, (%rbx)
pushq $-0x1
popq %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x45df
testl %eax, %eax
je 0x4342
movq %r12, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl (%rbx), %eax
subl %r13d, %eax
movb %ah, (%rbp)
movl (%rbx), %eax
subl %r13d, %eax
movb %al, 0x1(%rbp)
xorl %eax, %eax
jmp 0x4333
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/dns.c
// Function: write_record
int static write_record(unsigned char** outpos, const unsigned char *outend, const char *name, int offset, dns_type typ, dns_class cls, int ttl) {
  unsigned char *oldpos = *outpos;
  int error = 0;
  // name
  int ret = write_name(outpos, outend, name, offset);
  if (ret) { error = ret; goto error; }
  if (outend - *outpos < 8) { error = -4; goto error; }
  // type
  *((*outpos)++) = typ >> 8; *((*outpos)++) = typ & 0xFF;
  // class
  *((*outpos)++) = cls >> 8; *((*outpos)++) = cls & 0xFF;
  // ttl
  *((*outpos)++) = (ttl >> 24) & 0xFF; *((*outpos)++) = (ttl >> 16) & 0xFF; *((*outpos)++) = (ttl >> 8) & 0xFF; *((*outpos)++) = ttl & 0xFF;
  return 0;
error:
  *outpos = oldpos;
  return error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r12d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %r15
leaq 0xe1d0(%rip), %rdx      # 0x12715
pushq $0xc
popq %rcx
callq 0x45df
testl %eax, %eax
jne 0x4560
movq (%rbx), %rcx
subq %rcx, %r14
cmpq $0x8, %r14
jge 0x456c
pushq $-0x4
popq %rax
movq %r15, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1(%rcx), %rax
movq %rax, (%rbx)
xorl %eax, %eax
movb %al, (%rcx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movb %bpl, (%rcx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movb %al, (%rcx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movb $0x1, (%rcx)
movl %r12d, %ecx
shrl $0x18, %ecx
movq (%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%rbx)
movb %cl, (%rdx)
movl %r12d, %ecx
shrl $0x10, %ecx
movq (%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%rbx)
movb %cl, (%rdx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movl %r12d, %edx
movb %dh, (%rcx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movb %r12b, (%rcx)
jmp 0x4563
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/dns.c
// Function: write_name
int static write_name(unsigned char** outpos, const unsigned char *outend, const char *name, int offset) {
  while (*name != 0) {
    char *dot = strchr(name, '.');
    const char *fin = dot;
    if (!dot) fin = name + strlen(name);
    if (fin - name > 63) return -1;
    if (fin == name) return -3;
    if (outend - *outpos < fin - name + 2) return -2;
    *((*outpos)++) = fin - name;
    memcpy(*outpos, name, fin - name);
    *outpos += fin - name;
    if (!dot) break;
    name = dot + 1;
  }
  if (offset < 0) {
    // no reference
    if (outend == *outpos) return -2;
    *((*outpos)++) = 0;
  } else {
    if (outend - *outpos < 2) return -2;
    *((*outpos)++) = (offset >> 8) | 0xC0;
    *((*outpos)++) = offset & 0xFF;
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, 0x4(%rsp)
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r14
pushq $0x2e
popq %r12
cmpb $0x0, (%r13)
je 0x4666
movq %r13, %rdi
movl %r12d, %esi
callq 0x3170
movq %rax, %rbp
testq %rax, %rax
jne 0x4620
movq %r13, %rdi
callq 0x31b0
addq %r13, %rax
movq %rax, %rbx
subq %r13, %rbx
cmpq $0x3f, %rbx
jg 0x4696
cmpq %r13, %rax
je 0x469a
movq (%r14), %rax
movq %r15, %rcx
subq %rax, %rcx
leaq 0x2(%rbx), %rdx
cmpq %rdx, %rcx
jl 0x469e
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movb %bl, (%rax)
movq (%r14), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x3360
addq %rbx, (%r14)
leaq 0x1(%rbp), %r13
testq %rbp, %rbp
jne 0x45fb
movq (%r14), %rdx
movl 0x4(%rsp), %esi
testl %esi, %esi
js 0x46a3
subq %rdx, %r15
cmpq $0x2, %r15
pushq $-0x2
popq %rax
jl 0x46b7
leaq 0x1(%rdx), %rcx
movq %rcx, (%r14)
movb $-0x40, (%rdx)
movq (%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movb %sil, (%rax)
jmp 0x46b5
pushq $-0x1
jmp 0x46a0
pushq $-0x3
jmp 0x46a0
pushq $-0x2
popq %rax
jmp 0x46b7
cmpq %r15, %rdx
pushq $-0x2
popq %rax
je 0x46b7
leaq 0x1(%rdx), %rcx
movq %rcx, (%r14)
movb $0x0, (%rdx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/bitcoin.cpp
// Function: TestNode(CService const&, int&, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int&, std::vector<CAddress, std::allocator<CAddress>>*)
bool TestNode(const CService &cip, int &ban, int &clientV, std::string &clientSV, int &blocks, vector<CAddress>* vAddr) {
  try {
    CNode node(cip, vAddr);
    bool ret = node.Run();
    if (!ret) {
      ban = node.GetBan();
    } else {
      ban = 0;
    }
    clientV = node.GetClientVersion();
    clientSV = node.GetClientSubVersion();
    blocks = node.GetStartingHeight();
  //printf("%s: %s!!!\n", cip.ToString().c_str(), ret ? "GOOD" : "BAD");
    return ret;
  } catch(std::ios_base::failure& e) {
    ban = 0;
    return false;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %rsi
leaq 0x20(%rsp), %rdi
movq %r9, %rdx
callq 0x479a
leaq 0x20(%rsp), %rdi
callq 0x48a0
movl %eax, %ebp
xorl %eax, %eax
testb %bpl, %bpl
jne 0x470d
movl 0xb8(%rsp), %eax
movl %eax, (%rbx)
leaq 0x88(%rsp), %rsi
movl -0x8(%rsi), %eax
movl %eax, (%r12)
movq %rsp, %rdi
callq 0x3550
movq %rsp, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x34b0
movq %rbx, %rdi
callq 0x31d0
leaq 0x20(%rsp), %rdi
movl 0x88(%rdi), %eax
movl %eax, (%r14)
callq 0x4a48
movl %ebp, %eax
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4763
movq %rdx, %r15
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x4a48
jmp 0x477b
movq %rdx, %r15
movq %rax, %r14
movq %r14, %rdi
cmpl $0x1, %r15d
jne 0x4795
callq 0x3190
andl $0x0, (%rbx)
callq 0x3640
xorl %ebp, %ebp
jmp 0x474f
callq 0x3690
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/bitcoin.cpp
// Function: CNode::CNode(CService const&, std::vector<CAddress, std::allocator<CAddress>>*)
CNode(const CService& ip, vector<CAddress>* vAddrIn) : you(ip), nHeaderStart(-1), nMessageStart(-1), vAddr(vAddrIn), ban(0), doneAfter(0), nVersion(0) {
    vSend.SetType(SER_NETWORK);
    vSend.SetVersion(0);
    vRecv.SetType(SER_NETWORK);
    vRecv.SetVersion(0);
    if (time(NULL) > 1329696000) {
      vSend.SetVersion(209);
      vRecv.SetVersion(209);
    }
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x14(%rdi)
movups %xmm0, 0x8(%rdi)
movl $0x11500, %eax          # imm = 0x11500
movl %eax, 0x2c(%rdi)
movabsq $0x100050000, %rcx      # imm = 0x100050000
movq %rcx, 0x24(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x3c(%rdi)
movl %eax, 0x54(%rdi)
movq %rcx, 0x4c(%rdi)
orq $-0x1, 0x58(%rdi)
leaq 0x8(%rdi), %r14
andl $0x0, 0x60(%rdi)
leaq 0x30(%rdi), %r15
leaq 0x68(%rdi), %r12
leaq 0x78(%rdi), %rax
movq %rax, 0x68(%rdi)
andq $0x0, 0x70(%rdi)
movb $0x0, 0x78(%rdi)
movq %rdx, 0x90(%rdi)
andl $0x0, 0x98(%rdi)
andq $0x0, 0xa0(%rdi)
addq $0xa8, %rdi
movzwl 0x10(%rsi), %eax
movw %ax, 0x30(%rsp)
movups (%rsi), %xmm0
movaps %xmm0, 0x20(%rsp)
movzwl 0x30(%rsp), %eax
movw %ax, 0x10(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
pushq $0x1
popq %r13
movq %r13, %rsi
callq 0x9a64
movq %r13, 0x28(%rbx)
movq %r13, 0x50(%rbx)
xorl %edi, %edi
callq 0x33d0
cmpq $0x4f418d01, %rax       # imm = 0x4F418D01
jl 0x486f
movl $0xd1, %eax
movl %eax, 0x2c(%rbx)
movl %eax, 0x54(%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %r12, %rdi
callq 0x31d0
movq %r15, %rdi
callq 0x4a76
movq %r14, %rdi
callq 0x4a76
movq %rbx, %rdi
callq 0x3690
// File: /workspace/github_cpp_makefile_star2_O2/tenup-coin[P]seeder/./serialize.h
// Function: secure_allocator<char>::deallocate(char*, unsigned long)
void deallocate(T* p, std::size_t n)
    {
        if (p != NULL)
        {
            memset(p, 0, sizeof(T) * n);
            munlock(p, sizeof(T) * n);
        }
        std::allocator<T>::deallocate(p, n);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
testq %rsi, %rsi
je 0x4afd
movq %rdx, %r14
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3230
pushq $0x1e
popq %rbp
movl %ebp, %edi
callq 0x32b0
movq %rax, %r15
negq %r15
andq %rbx, %r15
leaq (%r14,%rbx), %r12
decq %r12
movl %ebp, %edi
callq 0x32b0
leaq -0x1(%rax), %r14
orq %r12, %r14
movl %ebp, %edi
callq 0x32b0
negq %rax
andq %rbx, %rax
subq %rax, %r14
incq %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x36f0
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x33e0
nop