LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
incl 0x5979(%rip)            # 0xa470
incl 0x5937(%rip)            # 0xa434
leaq 0x58dc(%rip), %rax      # 0xa3e0
movq (%rax), %rsi
leaq -0x70(%rbp), %rbx
leaq -0x30(%rbp), %rdx
movq %rbx, %rdi
callq 0x5786
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %rdi
callq 0x5862
leaq -0x50(%rbp), %rsi
callq 0x4a18
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x4b50
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2170
movq -0x70(%rbp), %rbx
callq 0x2050
movq %rax, %r14
movl (%rax), %r12d
movl $0x0, (%rax)
leaq -0x30(%rbp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2110
cmpq %rbx, (%r15)
je 0x4bc4
movl (%r14), %eax
testl %eax, %eax
je 0x4b91
cmpl $0x22, %eax
jne 0x4b94
leaq 0x2cc4(%rip), %rdi      # 0x7850
callq 0x2220
movl %r12d, (%r14)
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bb7
movq -0x60(%rbp), %rsi
incq %rsi
movsd %xmm0, -0x28(%rbp)
callq 0x2170
movsd -0x28(%rbp), %xmm0
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2c85(%rip), %rdi      # 0x7850
callq 0x20d0
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x4bfb
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2170
jmp 0x4bfb
movq %rax, %rbx
jmp 0x4bfb
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x4bfb
movl %r12d, (%r14)
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c14
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2170
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
movq %rsi, %rbx
leaq 0x5569(%rip), %rax      # 0xa1ac
cmpl $0x3, (%rax)
jne 0x4c51
leaq 0x5569(%rip), %r14      # 0xa1b8
jmp 0x4c58
movq 0x5370(%rip), %r14      # 0x9fc8
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r15d      # imm = 0xFFFFFF4F
movl 0x18(%r14,%rcx), %edx
andl %r15d, %edx
orl $0x20, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movl $0x1e, %r12d
movq %r12, 0x10(%r14,%rax)
leaq 0x13cb(%rip), %rsi      # 0x6056
movl $0x8, %edx
movq %r14, %rdi
callq 0x21b0
movq (%r14), %rax
movq -0x18(%rax), %rcx
andl 0x18(%r14,%rcx), %r15d
orl $0x20, %r15d
movl %r15d, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq %r12, 0x10(%r14,%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x21b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
movq %rsi, %rbx
leaq 0x53cd(%rip), %rax      # 0xa1ac
cmpl $0x3, (%rax)
jne 0x4ded
leaq 0x53cd(%rip), %r14      # 0xa1b8
jmp 0x4df4
movq 0x51d4(%rip), %r14      # 0x9fc8
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r15d      # imm = 0xFFFFFF4F
movl 0x18(%r14,%rcx), %edx
andl %r15d, %edx
orl $0x20, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movl $0x1e, %r12d
movq %r12, 0x10(%r14,%rax)
leaq 0x1238(%rip), %rsi      # 0x605f
movl $0x9, %edx
movq %r14, %rdi
callq 0x21b0
movq (%r14), %rax
movq -0x18(%rax), %rcx
andl 0x18(%r14,%rcx), %r15d
orl $0x20, %r15d
movl %r15d, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq %r12, 0x10(%r14,%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x21b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
movq %rsi, %rbx
leaq 0x5231(%rip), %rax      # 0xa1ac
cmpl $0x3, (%rax)
jne 0x4f89
leaq 0x5231(%rip), %r14      # 0xa1b8
jmp 0x4f90
movq 0x5038(%rip), %r14      # 0x9fc8
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r15d      # imm = 0xFFFFFF4F
movl 0x18(%r14,%rcx), %edx
andl %r15d, %edx
orl $0x20, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movl $0x1e, %r12d
movq %r12, 0x10(%r14,%rax)
leaq 0x10a6(%rip), %rsi      # 0x6069
movl $0x7, %edx
movq %r14, %rdi
callq 0x21b0
movq (%r14), %rax
movq -0x18(%rax), %rcx
andl 0x18(%r14,%rcx), %r15d
orl $0x20, %r15d
movl %r15d, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq %r12, 0x10(%r14,%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x21b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x20e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
subq $0x40, %rsp
leaq -0x50(%rbp), %rbx
leaq -0x30(%rbp), %rdx
movq %rbx, %rdi
callq 0x5786
movq 0x8(%rbx), %rcx
addq $-0x2, %rcx
leaq -0x30(%rbp), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x2180
leaq 0x5075(%rip), %rax      # 0xa1ac
cmpl $0x3, (%rax)
jne 0x51d1
leaq 0x5071(%rip), %rbx      # 0xa1b8
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rbx,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
leaq 0x26c1(%rip), %rsi      # 0x7837
movl $0x6, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
andl 0x18(%rbx,%rcx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
jmp 0x525d
movq 0x4df0(%rip), %rbx      # 0x9fc8
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rbx,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
leaq 0x2630(%rip), %rsi      # 0x7837
movl $0x6, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
andl 0x18(%rbx,%rcx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5289
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x2170
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52a2
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2170
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
jmp 0x52cc
movq %rax, %rbx
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52cc
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x2170
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52e5
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2170
movq %rbx, %rdi
callq 0x22b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
subq $0x40, %rsp
leaq -0x50(%rbp), %rbx
leaq -0x30(%rbp), %rdx
movq %rbx, %rdi
callq 0x5786
movq 0x8(%rbx), %rcx
addq $-0x2, %rcx
leaq -0x30(%rbp), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x2180
leaq 0x4e83(%rip), %rax      # 0xa1ac
cmpl $0x3, (%rax)
jne 0x53c3
leaq 0x4e7f(%rip), %rbx      # 0xa1b8
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rbx,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
leaq 0x24d6(%rip), %rsi      # 0x783e
movl $0x4, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
andl 0x18(%rbx,%rcx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
jmp 0x544f
movq 0x4bfe(%rip), %rbx      # 0x9fc8
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r14d      # imm = 0xFFFFFF4F
movl 0x18(%rbx,%rcx), %edx
andl %r14d, %edx
orl $0x20, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
leaq 0x2445(%rip), %rsi      # 0x783e
movl $0x4, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
andl 0x18(%rbx,%rcx), %r14d
orl $0x20, %r14d
movl %r14d, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rbx,%rax)
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x547b
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x2170
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5494
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2170
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
jmp 0x54be
movq %rax, %rbx
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x54be
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x2170
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x54d7
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2170
movq %rbx, %rdi
callq 0x22b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebx
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x5786
leaq 0x4ca9(%rip), %rax      # 0xa1ac
cmpl $0x3, (%rax)
jne 0x55d9
leaq 0x4ca5(%rip), %r14      # 0xa1b8
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r15d      # imm = 0xFFFFFF4F
movl 0x18(%r14,%rcx), %edx
andl %r15d, %edx
orl $0x20, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%r14,%rax)
leaq 0x22ff(%rip), %rsi      # 0x7843
movl $0x5, %edx
movq %r14, %rdi
callq 0x21b0
movq (%r14), %rax
movq -0x18(%rax), %rcx
andl 0x18(%r14,%rcx), %r15d
orl $0x20, %r15d
movl %r15d, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%r14,%rax)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
movq %r14, %rdi
callq 0x21b0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rax
movl $0xffffff4f, %ecx       # imm = 0xFFFFFF4F
andl 0x18(%r14,%rax), %ecx
orl $0x20, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x22a3(%rip), %rsi      # 0x7849
movl $0x6, %edx
movq %r14, %rdi
callq 0x21b0
movq %r14, %rdi
movl %ebx, %esi
callq 0x2290
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
jmp 0x56a1
movq 0x49e8(%rip), %r14      # 0x9fc8
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %r15d      # imm = 0xFFFFFF4F
movl 0x18(%r14,%rcx), %edx
andl %r15d, %edx
orl $0x20, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%r14,%rax)
leaq 0x2232(%rip), %rsi      # 0x7843
movl $0x5, %edx
movq %r14, %rdi
callq 0x21b0
movq (%r14), %rax
movq -0x18(%rax), %rcx
andl 0x18(%r14,%rcx), %r15d
orl $0x20, %r15d
movl %r15d, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%r14,%rax)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
movq %r14, %rdi
callq 0x21b0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rax
movl $0xffffff4f, %ecx       # imm = 0xFFFFFF4F
andl 0x18(%r14,%rax), %ecx
orl $0x20, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x21d6(%rip), %rsi      # 0x7849
movl $0x6, %edx
movq %r14, %rdi
callq 0x21b0
movq %r14, %rdi
movl %ebx, %esi
callq 0x2290
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x56cd
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2170
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x56f4
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2170
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/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:
movq (%rdi), %r10
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpq %rsi, %r10
je 0x4783
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq -0x1(%r8), %r9
xorl %ebx, %ebx
xorl %r14d, %r14d
leaq 0x1(%r10), %r11
movq %r11, (%rdi)
movzbl (%r10), %r11d
testl %r11d, %r11d
je 0x4784
testb $0x1, %r14b
je 0x4729
cmpq %r9, %rbx
je 0x4776
movb $0x2e, (%rcx,%rbx)
incq %rbx
movq %rbx, %r10
movl %r11d, %ebx
notl %ebx
testb $-0x40, %bl
je 0x478c
cmpb $0x3f, %r11b
ja 0x477b
movq (%rdi), %rbx
cmpq %rsi, %rbx
je 0x477b
cmpq %r10, %r9
je 0x4776
leaq 0x1(%rbx), %r14
movq %r14, (%rdi)
movb (%rbx), %bpl
cmpb $0x2e, %bpl
je 0x477b
leaq 0x1(%r10), %rbx
movb %bpl, (%rcx,%r10)
movq %rbx, %r10
decl %r11d
jne 0x473c
movq (%rdi), %r10
movb $0x1, %r14b
cmpq %rsi, %r10
jne 0x4707
jmp 0x477b
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movb $0x0, (%rcx,%rbx)
xorl %eax, %eax
jmp 0x477b
movq (%rdi), %r9
cmpq %rsi, %r9
je 0x477b
leaq 0x1(%r9), %rbx
movq %rbx, (%rdi)
shll $0x8, %r11d
movzbl (%r9), %esi
addl %r11d, %esi
addl $0xffff4000, %esi       # imm = 0xFFFF4000
subq %rdx, %rbx
addq $-0x2, %rbx
cmpq %rsi, %rbx
jle 0x477b
addq %rdx, %rsi
leaq 0x8(%rsp), %rdi
movq %rsi, (%rdi)
decq %r9
addq %r10, %rcx
subq %r10, %r8
movq %r9, %rsi
callq 0x46e5
jmp 0x477b
// File: /workspace/github_cpp_makefile_star2_O3/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
movl $0x2, %edx
callq 0x4a33
testl %eax, %eax
jne 0x4832
movq (%rbx), %rbp
movq %r15, %rcx
subq %rbp, %rcx
movl $0xfffffffb, %eax       # imm = 0xFFFFFFFB
cmpq $0x2, %rcx
jl 0x482f
leaq 0x2(%rbp), %r13
movq %r13, (%rbx)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x4ae7
testl %eax, %eax
je 0x4841
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 0x4832
// File: /workspace/github_cpp_makefile_star2_O3/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, %ebx
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %r12
leaq 0xecf6(%rip), %rdx      # 0x13745
movl $0xc, %ecx
callq 0x4ae7
testl %eax, %eax
jne 0x4a6e
movq (%r14), %rcx
subq %rcx, %r15
movl $0xfffffffc, %eax       # imm = 0xFFFFFFFC
cmpq $0x8, %r15
jge 0x4a7a
movq %r12, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1(%rcx), %rax
movq %rax, (%r14)
xorl %eax, %eax
movb %al, (%rcx)
movq (%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r14)
movb %bpl, (%rcx)
movq (%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r14)
movb %al, (%rcx)
movq (%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r14)
movb $0x1, (%rcx)
movl %ebx, %ecx
shrl $0x18, %ecx
movq (%r14), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movb %cl, (%rdx)
movl %ebx, %ecx
shrl $0x10, %ecx
movq (%r14), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r14)
movb %cl, (%rdx)
movq (%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r14)
movb %bh, (%rcx)
movq (%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%r14)
movb %bl, (%rcx)
jmp 0x4a71
// File: /workspace/github_cpp_makefile_star2_O3/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, %ebp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x0, (%r15)
je 0x4b6b
movq %r15, %rdi
movl $0x2e, %esi
callq 0x3180
movq %rax, %r12
testq %rax, %rax
jne 0x4b23
movq %r15, %rdi
callq 0x31c0
addq %r15, %rax
movq %rax, %r13
subq %r15, %r13
cmpq $0x3f, %r13
jg 0x4b99
cmpq %r15, %rax
je 0x4ba0
movq (%rbx), %rax
movq %r14, %rcx
subq %rax, %rcx
leaq 0x2(%r13), %rdx
cmpq %rdx, %rcx
jl 0x4bba
leaq 0x1(%rax), %rcx
movq %rcx, (%rbx)
movb %r13b, (%rax)
movq (%rbx), %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3350
addq %r13, (%rbx)
leaq 0x1(%r12), %r15
testq %r12, %r12
jne 0x4afd
movq (%rbx), %rcx
testl %ebp, %ebp
js 0x4ba7
subq %rcx, %r14
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
cmpq $0x2, %r14
jl 0x4bbf
leaq 0x1(%rcx), %rax
movq %rax, (%rbx)
movb $-0x40, (%rcx)
movq (%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%rbx)
movb %bpl, (%rax)
jmp 0x4bb6
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x4bbf
movl $0xfffffffd, %eax       # imm = 0xFFFFFFFD
jmp 0x4bbf
cmpq %r14, %rcx
je 0x4bba
leaq 0x1(%rcx), %rax
movq %rax, (%rbx)
movb $0x0, (%rcx)
xorl %eax, %eax
jmp 0x4bbf
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x4ce0
leaq 0x20(%rsp), %rdi
callq 0x4dee
movl %eax, %ebp
xorl %eax, %eax
testb %bpl, %bpl
jne 0x4c15
movl 0xb8(%rsp), %eax
movl %eax, (%rbx)
movl 0x80(%rsp), %eax
movl %eax, (%r12)
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x706e
movq %rsp, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x34a0
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x4c62
callq 0x33d0
leaq 0x98(%rsp), %rax
movl 0x10(%rax), %ecx
movl %ecx, (%r14)
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c7e
callq 0x33d0
leaq 0x50(%rsp), %rdi
callq 0x5042
leaq 0x28(%rsp), %rdi
callq 0x5042
movl %ebp, %eax
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4ca6
movq %rdx, %r15
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x500a
jmp 0x4cbe
movq %rdx, %r15
movq %rax, %r14
movq %r14, %rdi
cmpl $0x1, %r15d
jne 0x4cdb
callq 0x31a0
movl $0x0, (%rbx)
callq 0x3600
xorl %ebp, %ebp
jmp 0x4c92
callq 0x3650
// File: /workspace/github_cpp_makefile_star2_O3/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
leaq 0x8(%rdi), %r14
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)
leaq 0x30(%rdi), %r15
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x3c(%rdi)
movl %eax, 0x54(%rdi)
movq %rcx, 0x4c(%rdi)
movq $-0x1, 0x58(%rdi)
xorl %eax, %eax
movl %eax, 0x60(%rdi)
leaq 0x78(%rdi), %r13
movq %r13, 0x68(%rdi)
movq %rax, 0x70(%rdi)
movb $0x0, 0x78(%rdi)
movq %rdx, 0x90(%rdi)
movl %eax, 0x98(%rdi)
movq %rax, 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)
movl $0x1, %r12d
movl $0x1, %esi
callq 0xab46
movq %r12, 0x28(%rbx)
movq %r12, 0x50(%rbx)
xorl %edi, %edi
callq 0x33c0
cmpq $0x4f418d01, %rax       # imm = 0x4F418D01
jl 0x4db6
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, %r12
movq 0x68(%rbx), %rdi
cmpq %r13, %rdi
je 0x4dd5
callq 0x33d0
movq %r15, %rdi
callq 0x5042
movq %r14, %rdi
callq 0x5042
movq %r12, %rdi
callq 0x3650
nop
// File: /workspace/github_cpp_makefile_star2_O3/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:
testq %rsi, %rsi
je 0x50de
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
callq 0x3220
movl $0x1e, %edi
callq 0x32a0
movq %rax, %r15
negq %r15
andq %rbx, %r15
leaq (%r14,%rbx), %r12
decq %r12
movl $0x1e, %edi
callq 0x32a0
leaq -0x1(%rax), %r14
orq %r12, %r14
movl $0x1e, %edi
callq 0x32a0
negq %rax
andq %rbx, %rax
subq %rax, %r14
incq %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x36b0
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x33d0
xorl %edi, %edi
jmp 0x33d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/bitcoin.cpp
// Function: CNode::PushVersion()
void PushVersion() {
    int64 nTime = time(NULL);
    uint64 nLocalNonce = BITCOIN_SEED_NONCE;
    int64 nLocalServices = 0;
    CAddress me(CService("0.0.0.0"));
    BeginMessage("version");
    int nBestHeight = GetRequireHeight();
    string ver = "/tenup-seeder:0.01/";
    vSend << PROTOCOL_VERSION << nLocalServices << nTime << you << me << nLocalNonce << ver << nBestHeight;
    EndMessage();
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
xorl %r12d, %r12d
xorl %edi, %edi
callq 0x33c0
movq %rax, %r15
leaq 0xdf08(%rip), %rsi      # 0x13014
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0x9c2e
movzwl 0x10(%r14), %eax
movw %ax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
leaq 0x58(%rsp), %rdi
movl $0x1, %esi
callq 0xab46
leaq 0xded9(%rip), %rsi      # 0x1301c
movq %rbx, %rdi
callq 0x5686
leaq 0x1732e(%rip), %rax     # 0x1c480
cmpb $0x0, (%rax)
movl $0x3a98, %ebp           # imm = 0x3A98
cmovnel %r12d, %ebp
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xdeb5(%rip), %rsi      # 0x13024
leaq 0xdec1(%rip), %rdx      # 0x13037
leaq 0x20(%rsp), %rdi
callq 0x5b14
leaq 0x8(%rbx), %r14
leaq 0x1c(%rsp), %rcx
movl $0x11500, -0x4(%rcx)    # imm = 0x11500
movq 0x10(%rbx), %rsi
leaq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x58be
leaq 0x20(%rsp), %rcx
movq $0x0, -0x8(%rcx)
movq 0x10(%rbx), %rsi
leaq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x58be
leaq 0x20(%rsp), %rcx
movq %r15, -0x8(%rcx)
movq 0x10(%rbx), %rsi
leaq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x58be
leaq 0xa8(%rbx), %rdi
movl 0x28(%rbx), %edx
movl 0x2c(%rbx), %ecx
movq %r14, %rsi
callq 0x5baa
movl 0x28(%rbx), %edx
movl 0x2c(%rbx), %ecx
leaq 0x58(%rsp), %rdi
movq %r14, %rsi
callq 0x5baa
movabsq $0x539a019ca550825, %rax # imm = 0x539A019CA550825
leaq 0x20(%rsp), %rcx
movq %rax, -0x8(%rcx)
movq 0x10(%rbx), %rsi
leaq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x58be
movq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x5c85
movq 0x28(%rsp), %rdx
testq %rdx, %rdx
je 0x5249
movq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x587e
leaq 0x1c(%rsp), %rcx
movl %ebp, -0x4(%rcx)
movq 0x10(%rbx), %rsi
leaq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x58be
movq %rbx, %rdi
callq 0x56f2
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x5279
callq 0x33d0
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x529b
callq 0x33d0
movq %rbx, %rdi
callq 0x3650
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/bitcoin.cpp
// Function: CNode::Send()
void Send() {
    if (sock == INVALID_SOCKET) return;
    if (vSend.empty()) return;
    int nBytes = send(sock, &vSend[0], vSend.size(), 0);
    if (nBytes > 0) {
      vSend.erase(vSend.begin(), vSend.begin() + nBytes);
    } else {
      close(sock);
      sock = INVALID_SOCKET;
    }
  }

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %edi
cmpl $-0x1, %edi
je 0x52ff
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %rdx, %rcx
subq %rsi, %rcx
movl 0x20(%rbx), %eax
cmpq %rax, %rcx
je 0x52ff
addq %rax, %rsi
subq %rsi, %rdx
xorl %ecx, %ecx
callq 0x31e0
testl %eax, %eax
jle 0x52f2
leaq 0x8(%rbx), %rdi
movl 0x20(%rbx), %esi
addq 0x8(%rbx), %rsi
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
addq %rsi, %rax
movq %rax, %rdx
popq %rbx
jmp 0x5d24
movl (%rbx), %edi
callq 0x36e0
movl $0xffffffff, (%rbx)     # imm = 0xFFFFFFFF
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/bitcoin.cpp
// Function: CNode::EndMessage()
void EndMessage() {
    if (nHeaderStart == -1) return;
    unsigned int nSize = vSend.size() - nMessageStart;
    memcpy((char*)&vSend[nHeaderStart] + offsetof(CMessageHeader, nMessageSize), &nSize, sizeof(nSize));
    if (vSend.GetVersion() >= 209) {
      uint256 hash = Hash(vSend.begin() + nMessageStart, vSend.end());
      unsigned int nChecksum = 0;
      memcpy(&nChecksum, &hash, sizeof(nChecksum));
      assert(nMessageStart - nHeaderStart >= offsetof(CMessageHeader, nChecksum) + sizeof(nChecksum));
      memcpy((char*)&vSend[nHeaderStart] + offsetof(CMessageHeader, nChecksum), &nChecksum, sizeof(nChecksum));
    }
    nHeaderStart = -1;
    nMessageStart = -1;
  }

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movl 0x58(%rdi), %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
je 0x579e
movq %rdi, %rbx
movl 0x20(%rdi), %ecx
addq 0x8(%rdi), %rcx
movl 0x10(%rdi), %edx
subl %ecx, %edx
subl 0x5c(%rdi), %edx
movl %edx, 0x10(%rax,%rcx)
cmpl $0xd1, 0x2c(%rdi)
jl 0x5796
movl 0x20(%rbx), %eax
addq 0x8(%rbx), %rax
movl 0x5c(%rbx), %ecx
addq %rax, %rcx
movq 0x10(%rbx), %rsi
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
subq %rcx, %rsi
leaq 0x16c7c(%rip), %rdi     # 0x1c3d1
cmovneq %rcx, %rdi
movq %r14, %rdx
callq 0x34d0
movq %rsp, %rdx
xorps %xmm0, %xmm0
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movl $0x20, %esi
movq %r14, %rdi
callq 0x34d0
movl 0x58(%rbx), %eax
movl 0x5c(%rbx), %ecx
subl %eax, %ecx
cmpl $0x17, %ecx
jbe 0x57a6
movl (%rsp), %ecx
movl 0x20(%rbx), %edx
addq 0x8(%rbx), %rdx
movl %ecx, 0x14(%rax,%rdx)
movq $-0x1, 0x58(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r14
retq
leaq 0xd919(%rip), %rdi      # 0x130c6
leaq 0xd96a(%rip), %rsi      # 0x1311e
leaq 0xd96f(%rip), %rcx      # 0x1312a
movl $0x39, %edx
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/bitcoin.cpp
// Function: CNode::AbortMessage()
void AbortMessage() {
    if (nHeaderStart == -1) return;
    vSend.resize(nHeaderStart);
    nHeaderStart = -1;
    nMessageStart = -1;
  }

// Assembly:
movl 0x58(%rdi), %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
je 0x57ff
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
addq $0x8, %rdi
leaq 0xf(%rsp), %rdx
movb $0x0, (%rdx)
movl 0x20(%rbx), %esi
addq %rax, %rsi
callq 0x5db4
movq $-0x1, 0x58(%rbx)
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: CDataStream::write(char const*, int)
CDataStream& write(const char* pch, int nSize)
    {
        // Write to the end of the buffer
        assert(nSize >= 0);
        vch.insert(vch.end(), pch, pch + nSize);
        return (*this);
    }

// Assembly:
pushq %rbx
testl %edx, %edx
js 0x589f
movq %rsi, %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rsi
movl %edx, %ecx
addq %rax, %rcx
movq %rax, %rdx
callq 0x58be
movq %rbx, %rax
popq %rbx
retq
leaq 0xd792(%rip), %rdi      # 0x13038
leaq 0xd796(%rip), %rsi      # 0x13043
leaq 0xd79d(%rip), %rcx      # 0x13051
movl $0x43e, %edx            # imm = 0x43E
callq 0x32b0
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: void WriteCompactSize<CDataStream>(CDataStream&, unsigned long long)
void WriteCompactSize(Stream& os, uint64 nSize)
{
    if (nSize < 253)
    {
        unsigned char chSize = nSize;
        WRITEDATA(os, chSize);
    }
    else if (nSize <= USHRT_MAX)
    {
        unsigned char chSize = 253;
        unsigned short xSize = nSize;
        WRITEDATA(os, chSize);
        WRITEDATA(os, xSize);
    }
    else if (nSize <= UINT_MAX)
    {
        unsigned char chSize = 254;
        unsigned int xSize = nSize;
        WRITEDATA(os, chSize);
        WRITEDATA(os, xSize);
    }
    else
    {
        unsigned char chSize = 255;
        uint64 xSize = nSize;
        WRITEDATA(os, chSize);
        WRITEDATA(os, xSize);
    }
    return;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpq $0xfc, %rsi
ja 0x5caf
leaq 0x11(%rsp), %rcx
movb %sil, -0x1(%rcx)
movq 0x8(%rbx), %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
jmp 0x5d17
cmpq $0xffff, %rsi           # imm = 0xFFFF
ja 0x5ccd
leaq 0x10(%rsp), %rcx
movb $-0x3, -0x1(%rcx)
leaq 0x12(%rsp), %r14
movw %si, -0x2(%r14)
jmp 0x5cf7
movq %rsi, %rax
leaq 0x10(%rsp), %rcx
shrq $0x20, %rax
jne 0x5cea
movb $-0x2, -0x1(%rcx)
leaq 0x14(%rsp), %r14
movl %esi, -0x4(%r14)
jmp 0x5cf7
movb $-0x1, -0x1(%rcx)
leaq 0x18(%rsp), %r14
movq %rsi, -0x8(%r14)
movq 0x8(%rbx), %rsi
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
callq 0x58be
movq 0x8(%rbx), %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rcx
callq 0x58be
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: CDataStream::erase(__gnu_cxx::__normal_iterator<char*, std::vector<char, secure_allocator<char>>>, __gnu_cxx::__normal_iterator<char*, std::vector<char, secure_allocator<char>>>)
iterator erase(iterator first, iterator last)
    {
        if (first == vch.begin() + nReadPos)
        {
            // special case for erasing from the front
            if (last == vch.end())
            {
                nReadPos = 0;
                return vch.erase(vch.begin(), vch.end());
            }
            else
            {
                nReadPos = (last - vch.begin());
                return last;
            }
        }
        else
            return vch.erase(first, last);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rdi, %r14
movq (%rdi), %rbx
movl 0x18(%rdi), %eax
addq %rbx, %rax
cmpq %rsi, %rax
je 0x5d68
movq %rsi, %r12
movq %rsi, %rbx
cmpq %r15, %rsi
je 0x5da4
movq 0x8(%r14), %rdx
subq %r15, %rdx
je 0x5d7c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x35f0
movq 0x8(%r14), %rax
movq %rax, %rcx
jmp 0x5d82
cmpq %r15, 0x8(%r14)
je 0x5d93
movl %r15d, %eax
subl %ebx, %eax
movl %eax, 0x18(%r14)
movq %r15, %rbx
jmp 0x5da4
movq %r15, %rax
movq %r15, %rcx
subq %r15, %rax
addq %rax, %r12
cmpq %r12, %rcx
je 0x5da4
movq %r12, 0x8(%r14)
jmp 0x5da4
movl $0x0, 0x18(%r14)
cmpq %r15, %rbx
je 0x5da4
movq %rbx, 0x8(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: CDataStream::insert(__gnu_cxx::__normal_iterator<char*, std::vector<char, secure_allocator<char>>>, __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char>>>, __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char>>>)
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
    {
        if (it == vch.begin() + nReadPos && last - first <= nReadPos)
        {
            // special case for inserting at the front when there's room
            nReadPos -= (last - first);
            memcpy(&vch[nReadPos], &first[0], last - first);
        }
        else
            vch.insert(it, first, last);
    }

// Assembly:
movq %rdi, %rax
movq (%rdi), %rdi
movl 0x18(%rax), %r9d
leaq (%rdi,%r9), %r8
cmpq %rsi, %r8
jne 0x6018
movq %rcx, %r8
subq %rdx, %r8
cmpq %r9, %r8
jle 0x6020
movq %rax, %rdi
jmp 0x67a4
subl %r8d, %r9d
movl %r9d, 0x18(%rax)
addq %r9, %rdi
movq %rdx, %rsi
movq %r8, %rdx
jmp 0x3350
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: CDataStream::ignore(int)
CDataStream& ignore(int nSize)
    {
        // Ignore from the beginning of the buffer
        assert(nSize >= 0);
        unsigned int nReadPosNext = nReadPos + nSize;
        if (nReadPosNext >= vch.size())
        {
            if (nReadPosNext > vch.size())
            {
                setstate(std::ios::failbit, "CDataStream::ignore() : end of data");
                nSize = vch.size() - nReadPos;
            }
            nReadPos = 0;
            vch.clear();
            return (*this);
        }
        nReadPos = nReadPosNext;
        return (*this);
    }

// Assembly:
pushq %rbx
testl %esi, %esi
js 0x60d8
movq %rdi, %rbx
addl 0x18(%rdi), %esi
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
movq %rcx, %rdx
subq %rax, %rdx
cmpq %rsi, %rdx
jbe 0x60a6
movl %esi, 0x18(%rbx)
jmp 0x60d3
jae 0x60c3
leaq 0xd150(%rip), %rdx      # 0x131ff
movq %rbx, %rdi
movl $0x4, %esi
callq 0x672e
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movl $0x0, 0x18(%rbx)
cmpq %rax, %rcx
je 0x60d3
movq %rax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
retq
leaq 0xcf59(%rip), %rdi      # 0x13038
leaq 0xcf5d(%rip), %rsi      # 0x13043
leaq 0xd0ec(%rip), %rcx      # 0x131d9
movl $0x42a, %edx            # imm = 0x42A
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: CDataStream::read(char*, int)
CDataStream& read(char* pch, int nSize)
    {
        // Read from the beginning of the buffer
        assert(nSize >= 0);
        unsigned int nReadPosNext = nReadPos + nSize;
        if (nReadPosNext >= vch.size())
        {
            if (nReadPosNext > vch.size())
            {
                setstate(std::ios::failbit, "CDataStream::read() : end of data");
                memset(pch, 0, nSize);
                nSize = vch.size() - nReadPos;
            }
            memcpy(pch, &vch[nReadPos], nSize);
            nReadPos = 0;
            vch.clear();
            return (*this);
        }
        memcpy(pch, &vch[nReadPos], nSize);
        nReadPos = nReadPosNext;
        return (*this);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testl %edx, %edx
js 0x670e
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
movl 0x18(%rdi), %eax
leal (%rax,%r15), %r12d
movq (%rdi), %rsi
movq 0x8(%rdi), %rcx
subq %rsi, %rcx
cmpq %r12, %rcx
jbe 0x66a5
addq %rax, %rsi
movl %r15d, %edx
movq %r14, %rdi
callq 0x3350
movl %r12d, 0x18(%rbx)
jmp 0x66ff
jae 0x66d8
leaq 0xcb09(%rip), %rdx      # 0x131b7
movq %rbx, %rdi
movl $0x4, %esi
callq 0x672e
movl %r15d, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3220
movl 0x8(%rbx), %r15d
movq (%rbx), %rsi
subl %esi, %r15d
movl 0x18(%rbx), %eax
subl %eax, %r15d
movl %eax, %eax
addq %rsi, %rax
movslq %r15d, %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x3350
movl $0x0, 0x18(%rbx)
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x66ff
movq %rax, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0xc923(%rip), %rdi      # 0x13038
leaq 0xc927(%rip), %rsi      # 0x13043
leaq 0xca68(%rip), %rcx      # 0x1318b
movl $0x413, %edx            # imm = 0x413
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/bitcoin.cpp
// Function: CNode::GotVersion()
void GotVersion() {
     //printf("\n%s: version %i\n", ToString(you).c_str(), nVersion);
    if (vAddr) {
      BeginMessage("getaddr");
      EndMessage();
      doneAfter = time(NULL) + GetTimeout();
    } else {
      doneAfter = time(NULL) + 1;
    }
  }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x90(%rdi)
je 0x6a3c
leaq 0xc847(%rip), %rsi      # 0x1324d
movq %rbx, %rdi
callq 0x5686
movq %rbx, %rdi
callq 0x56f2
xorl %edi, %edi
callq 0x33c0
movq %rax, %r14
leaq 0xa8(%rbx), %rdi
callq 0x92aa
leaq 0x1e(%r14), %rcx
addq $0x78, %r14
testb %al, %al
cmoveq %rcx, %r14
jmp 0x6a49
xorl %edi, %edi
callq 0x33c0
movq %rax, %r14
incq %r14
movq %r14, 0xa0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: void Unserialize<CDataStream, char>(CDataStream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int, int)
void Unserialize(Stream& is, std::basic_string<C>& str, int, int)
{
    unsigned int nSize = ReadCompactSize(is);
    str.resize(nSize);
    if (nSize != 0)
        is.read((char*)&str[0], nSize * sizeof(str[0]));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
callq 0x6b74
movq %rax, %r15
movl %r15d, %esi
movq %r14, %rdi
xorl %edx, %edx
callq 0x3110
testl %r15d, %r15d
je 0x6b6e
movq (%r14), %rsi
movq %rbx, %rdi
movl %r15d, %edx
popq %rbx
popq %r14
popq %r15
jmp 0x6662
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: unsigned long long ReadCompactSize<CDataStream>(CDataStream&)
uint64 ReadCompactSize(Stream& is)
{
    unsigned char chSize;
    READDATA(is, chSize);
    uint64 nSizeRet = 0;
    if (chSize < 253)
    {
        nSizeRet = chSize;
    }
    else if (chSize == 253)
    {
        unsigned short xSize;
        READDATA(is, xSize);
        nSizeRet = xSize;
    }
    else if (chSize == 254)
    {
        unsigned int xSize;
        READDATA(is, xSize);
        nSizeRet = xSize;
    }
    else
    {
        uint64 xSize;
        READDATA(is, xSize);
        nSizeRet = xSize;
    }
    if (nSizeRet > (uint64)MAX_SIZE)
        throw std::ios_base::failure("ReadCompactSize() : size too large");
    return nSizeRet;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x7(%rsp), %r14
movq %r14, %rsi
movl $0x1, %edx
callq 0x6662
movzbl (%r14), %eax
cmpq $0xfc, %rax
jbe 0x6bea
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
cmpq $0xfe, %rax
je 0x6bc6
cmpl $0xfd, %eax
jne 0x6bd5
movl $0x2, %edx
callq 0x6662
movzwl (%r14), %eax
jmp 0x6bea
movl $0x4, %edx
callq 0x6662
movl (%r14), %eax
jmp 0x6be2
movl $0x8, %edx
callq 0x6662
movq (%r14), %rax
cmpq $0x2000001, %rax        # imm = 0x2000001
jae 0x6bf2
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movl $0x20, %edi
callq 0x31d0
movq %rax, %rbx
callq 0x33a0
leaq 0x8(%rsp), %rdx
movl $0x1, (%rdx)
movq %rax, 0x8(%rdx)
leaq 0xc610(%rip), %rsi      # 0x1322a
movq %rbx, %rdi
callq 0x3160
movq 0x1535f(%rip), %rsi     # 0x1bf88
movq 0x15388(%rip), %rdx     # 0x1bfb8
movq %rbx, %rdi
callq 0x3640
movq %rax, %r14
movq %rbx, %rdi
callq 0x32e0
movq %r14, %rdi
callq 0x3650
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/./serialize.h
// Function: void Unserialize_impl<CDataStream, CAddress, std::allocator<CAddress>>(CDataStream&, std::vector<CAddress, std::allocator<CAddress>>&, int, int, boost::integral_constant<bool, false> const&)
void Unserialize_impl(Stream& is, std::vector<T, A>& v, int nType, int nVersion, const boost::false_type&)
{
    //unsigned int nSize = ReadCompactSize(is);
    //v.resize(nSize);
    //for (std::vector<T, A>::iterator vi = v.begin(); vi != v.end(); ++vi)
    //    Unserialize(is, (*vi), nType, nVersion);

    v.clear();
    unsigned int nSize = ReadCompactSize(is);
    unsigned int i = 0;
    unsigned int nMid = 0;
    while (nMid < nSize)
    {
        nMid += 5000000 / sizeof(T);
        if (nMid > nSize)
            nMid = nSize;
        v.resize(nMid);
        for (; i < nMid; i++)
            Unserialize(is, v[i], nType, nVersion);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
cmpq %rax, 0x8(%rsi)
je 0x6c70
movq %rax, 0x8(%r14)
movq %r15, %rdi
callq 0x6b74
movq %rax, %r12
testl %r12d, %r12d
je 0x6cf5
xorl %eax, %eax
movl $0x0, (%rsp)
movq %r12, 0x8(%rsp)
addl $0x1e848, %eax          # imm = 0x1E848
cmpl %r12d, %eax
movl %r12d, %r13d
movl %eax, 0x4(%rsp)
cmovbl %eax, %r13d
movq %r14, %rdi
movq %r13, %rsi
callq 0x6d04
movq %r13, %rax
movl (%rsp), %ecx
subl %ecx, %r13d
jbe 0x6cee
movq %rax, 0x10(%rsp)
movl %ecx, %eax
shlq $0x3, %rax
leaq (%rax,%rax,4), %r12
movq (%r14), %rdi
addq %r12, %rdi
movq %r15, %rsi
movl %ebp, %edx
movl %ebx, %ecx
callq 0x6a58
addq $0x28, %r12
decl %r13d
jne 0x6cc6
movq 0x10(%rsp), %rax
movl %eax, (%rsp)
movq 0x8(%rsp), %r12
cmpl %r12d, 0x4(%rsp)
jb 0x6c8e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/tenup-coin[P]seeder/netbase.cpp
// Function: ParseNetwork(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
enum Network ParseNetwork(std::string net) {
    boost::to_lower(net);
    if (net == "ipv4") return NET_IPV4;
    if (net == "ipv6") return NET_IPV6;
    if (net == "tor")  return NET_TOR;
    if (net == "i2p")  return NET_I2P;
    return NET_UNROUTABLE;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
callq 0x3700
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
addq %rax, %rcx
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq %rcx, 0x8(%rdi)
movq %r14, %rsi
callq 0xa62d
movq %rsp, %rdi
callq 0x3550
leaq 0xcfc5(%rip), %rsi      # 0x1410b
movq %rbx, %rdi
callq 0x30e0
testl %eax, %eax
je 0x7195
leaq 0xcfbc(%rip), %rsi      # 0x14115
movq %rbx, %rdi
callq 0x30e0
testl %eax, %eax
je 0x719c
leaq 0xc1f4(%rip), %rsi      # 0x13360
movq %rbx, %rdi
callq 0x30e0
testl %eax, %eax
je 0x71a3
leaq 0xc277(%rip), %rsi      # 0x133f6
movq %rbx, %rdi
callq 0x30e0
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
shll $0x2, %eax
jmp 0x71a8
movl $0x1, %eax
jmp 0x71a8
movl $0x2, %eax
jmp 0x71a8
movl $0x3, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x3550
movq %rbx, %rdi
callq 0x3650