LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::addNodeOneOrMore(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, unsigned 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>>>>&)
Node * Parser::addNodeOneOrMore(std::string & nodeName, unsigned int & OID, std::vector<std::string> & parentVector)
{
    
    DataType dataType;
    for (std::list<Node>::iterator it = m_pTree -> m_nodeList.begin(); it != m_pTree -> m_nodeList.end(); it++)
    {
        if ((*it).m_name == parentVector.front())
        {
            m_pNode = &(*it);
            break;
        }
    }
    return m_pTree -> addNode(OID, nodeName, dataType, "", AccessType::NOT_ACCESSIBLE, StatusType::MANDATORY, m_pNode);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, %r13
movq %rdx, 0x8(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x1dc38
movq %rbx, (%rsp)
movq 0x60(%rbx), %r14
leaq 0x8(%r14), %rbx
movq 0x8(%r14), %rbp
cmpq %rbx, %rbp
je 0xc111
movq (%r13), %r13
movq 0x8(%r13), %r12
movq 0x20(%rbp), %rdx
cmpq %r12, %rdx
jne 0xc0fa
testq %rdx, %rdx
je 0xc105
movq (%r13), %rsi
movq 0x18(%rbp), %rdi
callq 0x5340
testl %eax, %eax
je 0xc105
movq (%rbp), %rbp
cmpq %rbx, %rbp
jne 0xc0db
jmp 0xc111
addq $0x10, %rbp
movq (%rsp), %rax
movq %rbp, 0x68(%rax)
movq 0x8(%rsp), %rax
movl (%rax), %ebp
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x6f5e
leaq 0xc8(%rsp), %rsi
movups -0x20(%rsi), %xmm0
movups -0x10(%rsi), %xmm1
leaq 0x70(%rsp), %r15
movaps %xmm1, -0x10(%r15)
movaps %xmm0, -0x20(%r15)
movq %r15, %rdi
callq 0x8858
leaq 0x88(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x88e2
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x13692(%rip), %rdx     # 0x1f814
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
callq 0x6fee
leaq 0x30(%rsp), %rdx
leaq 0x50(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %r14, %rdi
movl %ebp, %esi
movl $0x3, %r9d
movq (%rsp), %rax
pushq 0x68(%rax)
pushq $0x0
callq 0x1df6a
addq $0x10, %rsp
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0xc1d5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0x50(%rsp), %rdi
callq 0x1dc56
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xc1f6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0xa8(%rsp), %rdi
callq 0x1dc56
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0xc237
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5320
jmp 0xc237
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x1dc56
jmp 0xc253
movq %rax, %rbx
movq %r15, %rdi
callq 0x6f02
jmp 0xc253
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xc26f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5320
jmp 0xc26f
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x1dc56
movq %rbx, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseMIBFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Parser::parseMIBFile(std::string fileContent)
{
    parseCustomDataTypesInMain(fileContent);
    parseCustomDataTypeInformation();
    parseDiminishedNodes(fileContent);
    parseNodes(fileContent);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x6f5e
movq %rbx, %rdi
movq %r15, %rsi
callq 0xda9c
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0xf3a4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5320
movq %rbx, %rdi
callq 0xe248
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x6f5e
movq %rbx, %rdi
movq %r15, %rsi
callq 0xafc2
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xf3ef
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x6f5e
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc284
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf432
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5320
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0xf45a
movq %rax, %rbx
movq 0x28(%rsp), %rdi
jmp 0xf45a
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0xf46b
movq (%r12), %rsi
incq %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/datatype.cpp
// Function: DataType::DataType(BaseDataType, EncodingComplexity, EncodingType, DataVisibility, unsigned int, unsigned int, unsigned int)
DataType::DataType(BaseDataType baseType, EncodingComplexity complexity, EncodingType encodingType, DataVisibility visibility, unsigned int lengthLimit, unsigned int rangeLimitLower, unsigned int rangeLimitUpper)
{
    m_baseType = baseType;
    m_complexity = complexity;
    m_encodingType = encodingType;
    m_visibility = visibility;
    m_lengthLimit = lengthLimit;
    m_rangeLimitLower = rangeLimitLower;
    m_rangeLimitUpper = rangeLimitUpper;
    m_tag = 0;
}

// Assembly:
movl 0x10(%rsp), %eax
movl 0x8(%rsp), %r10d
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
movl %ecx, 0x8(%rdi)
movl %r8d, 0xc(%rdi)
movl %r9d, 0x10(%rdi)
movl %r10d, 0x14(%rdi)
movl %eax, 0x18(%rdi)
movl $0x0, 0x1c(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/tree.cpp
// Function: Tree::recursiveSearch(std::vector<unsigned int, std::allocator<unsigned int>>, unsigned int, Node*)
Node * Tree::recursiveSearch(std::vector<unsigned int> vectorOfOID, unsigned int vectorPosition, Node * node)
{
    std::list<Node *> & childList = node -> m_childElementPointerList;
    for (std::list<Node *>::iterator it = childList.begin(); it != childList.end(); it++)
    {   
        unsigned int currentOID = (*it) -> m_objectIdentifier;
        if (currentOID ==  vectorOfOID.at(vectorPosition) && vectorOfOID.size() - 1 == vectorPosition)
        {
            return (*it);        
        }
        else if ((*it) -> m_objectIdentifier ==  vectorOfOID.at(vectorPosition))
        {
            vectorPosition++;
            Node * pNode = recursiveSearch(vectorOfOID, vectorPosition, (*it));
            return pNode;
        }
    } 
    return nullptr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r12
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
addq $0xa8, %r12
movq %r12, %rbx
movq (%rbx), %rbx
cmpq %r12, %rbx
je 0x1e343
movl %ebp, %esi
movq (%r14), %rax
movq 0x8(%r14), %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %rsi, %rdx
jbe 0x1e358
movq 0x10(%rbx), %r8
movl (%r8), %ecx
movl (%rax,%rsi,4), %edi
cmpl %edi, %ecx
sete %al
decq %rdx
cmpq %rsi, %rdx
sete %r9b
andb %al, %r9b
movl %r9d, %eax
xorb $0x1, %al
testb %r9b, %r9b
cmovneq %r8, %r13
cmpq %rsi, %rdx
je 0x1e339
cmpl %edi, %ecx
jne 0x1e339
incl %ebp
movq %rsp, %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x86cc
movq 0x10(%rbx), %rcx
movq %r15, %rdi
movq %r13, %rsi
movl %ebp, %edx
callq 0x1e284
movq %rax, %r13
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1e337
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
xorl %eax, %eax
testb %al, %al
jne 0x1e2a7
jmp 0x1e346
xorl %r13d, %r13d
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2252(%rip), %rdi      # 0x205b1
xorl %eax, %eax
callq 0x5480
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1e37f
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/tree.cpp
// Function: Tree::findNodeByName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Node * Tree::findNodeByName(std::string name)
{
    for (std::list<Node>::iterator it = m_nodeList.begin(); it != m_nodeList.end(); it++)
    {
        if ((*it).m_name == name)
        {
            return &(*it);
        }
    }
    return nullptr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
movq 0x8(%rdi), %r12
addq $0x8, %r15
cmpq %r15, %r12
je 0x1e461
movq %rsi, %r14
movq 0x8(%rsi), %r13
xorl %ebx, %ebx
movq 0x20(%r12), %rdx
cmpq %r13, %rdx
jne 0x1e456
testq %rdx, %rdx
je 0x1e465
movq (%r14), %rsi
movq 0x18(%r12), %rdi
callq 0x5340
testl %eax, %eax
je 0x1e465
movq (%r12), %r12
cmpq %r15, %r12
jne 0x1e436
jmp 0x1e46c
xorl %ebx, %ebx
jmp 0x1e46c
addq $0x10, %r12
movq %r12, %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/shengzh-oOoO[P]CodeSim/src/assembly_moss.cpp
// Function: CodeFile::CreateHashList()
void CreateHashList(){
        FILE *fid = fopen(filename,"r");
        if(fid == NULL){
            printf("打开%s失败\n",filename);
            assert(false);
        }
        char ch = 0;
        char prev_ch = 0;
        int linecnt = 0;
        while(EOF!=(ch= fgetc(fid))){
            if (ch=='\t'){
                ch = ' ';
            }
            if(prev_ch == ' '&& ch ==' '){
                continue;
            }
            if(prev_ch == '\n'&& ch =='\n'){
                continue;
            }
            hashwindow.push_back(ch);
            prev_ch = ch;
            if (ch == '\n'){
                hashlist.push_back(RSHash());
                hashwindow.clear();
            }
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0xa8c(%rip), %rsi       # 0x207f
callq 0x10d0
testq %rax, %rax
je 0x1706
movq %rax, %r14
leaq 0x68(%rbx), %r15
leaq 0x80(%rbx), %rax
movq %rax, -0x30(%rbp)
xorl %r13d, %r13d
movq %rbx, -0x38(%rbp)
movl %r13d, %r12d
xorb $0xa, %r12b
movl %r13d, %ebx
xorb $0x20, %bl
movq %r14, %rdi
callq 0x1100
movl %eax, %r13d
cmpb $0x9, %r13b
je 0x1648
movzbl %r13b, %eax
cmpl $0xff, %eax
jne 0x164b
jmp 0x16f7
movb $0x20, %r13b
movl %r13d, %ecx
xorb $0x20, %cl
movl %r13d, %eax
xorb $0xa, %al
orb %r12b, %al
sete %al
orb %bl, %cl
je 0x1627
testb %al, %al
jne 0x1627
movl $0x18, %edi
callq 0x10b0
movb %r13b, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
callq 0x1040
movq -0x38(%rbp), %rbx
incq 0x78(%rbx)
cmpb $0xa, %r13b
jne 0x161a
movq (%r15), %rcx
cmpq %r15, %rcx
je 0x16b7
movl $0xf8c9, %edx           # imm = 0xF8C9
xorl %eax, %eax
imulq %rdx, %rax
movsbq 0x10(%rcx), %rsi
addq %rsi, %rax
imulq $0x5c6b7, %rdx, %rdx    # imm = 0x5C6B7
movq (%rcx), %rcx
cmpq %r15, %rcx
jne 0x169a
jmp 0x16b9
xorl %eax, %eax
movq %rax, -0x40(%rbp)
movq 0x88(%rbx), %rsi
cmpq 0x90(%rbx), %rsi
je 0x16dd
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x88(%rbx)
jmp 0x16ea
movq -0x30(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0x195c
movq %r15, %rdi
callq 0x1920
jmp 0x161a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x974(%rip), %rdi       # 0x2081
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1030
leaq 0x91a(%rip), %rdi       # 0x2038
leaq 0x919(%rip), %rsi       # 0x203e
leaq 0x965(%rip), %rcx       # 0x2091
movl $0x27, %edx
callq 0x1070
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/Factorial.cpp
// Function: factorial(BigFloat const&)
BigFloat factorial(const BigFloat& n)
{
    if(n > 1)
        return n * factorial(n - 1);
    else if(n == 0)
        return 1;
    else
        return n;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %rsi
movl $0x1, (%rsi)
movq %r14, %rdi
callq 0x8646
testb %al, %al
je 0x2469
leaq 0xc(%rsp), %rdx
movl $0x1, (%rdx)
leaq 0x90(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x516e
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x23bc
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4137
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x243a
callq 0x2120
leaq 0x18(%rsp), %rdi
callq 0x28a2
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x245a
callq 0x2120
leaq 0x98(%rsp), %rdi
callq 0x28a2
jmp 0x24ce
leaq 0x10(%rsp), %rsi
movl $0x0, (%rsi)
movq %r14, %rdi
callq 0x404c
testb %al, %al
je 0x248f
movq %rbx, %rdi
movl $0x1, %esi
callq 0x277c
jmp 0x24ce
movb (%r14), %al
movb %al, (%rbx)
leaq 0x8(%rbx), %r15
leaq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0x2a50
movb 0x5c(%r14), %al
movb %al, 0x5c(%rbx)
movl 0x58(%r14), %eax
movl %eax, 0x58(%rbx)
leaq 0x60(%rbx), %rdi
leaq 0x70(%rbx), %rax
movq %rax, 0x60(%rbx)
movq 0x60(%r14), %rsi
movq 0x68(%r14), %rdx
addq %rsi, %rdx
callq 0x2dd0
movq %rbx, %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0x28a2
jmp 0x250a
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2758
jmp 0x24fd
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x2758
movq %rbx, %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/./BigFloat.h
// Function: BigFloat::BigFloat()
BigFloat()
    {
        sign = '\0';
        decimals = 0;
        error = 1;
        error_code = "Unset";
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
leaq 0x8(%rdi), %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%rdi)
movups %xmm0, 0x38(%rdi)
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x8(%rdi)
xorl %r13d, %r13d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x28e6
leaq 0x60(%r15), %r14
leaq 0x70(%r15), %r12
movq %r12, 0x60(%r15)
movq $0x0, 0x68(%r15)
movb %r13b, 0x70(%r15)
movb %r13b, (%r15)
movl $0x0, 0x58(%r15)
movb $0x1, 0x5c(%r15)
leaq 0x97d3(%rip), %rcx      # 0xc02e
movl $0x5, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21b0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r15
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x2887
callq 0x2120
movq %rbx, %rdi
callq 0x28a2
movq %r15, %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::Subtract(BigFloat const&, BigFloat const&)
BigFloat BigFloat::Subtract(const BigFloat& left, const BigFloat& right)
{
    BigFloat tmp;
    int carry = 0;
    int aus;

    for(size_t i = 0; i < left.number.size(); ++i) {
        int val1, val2;
        val1 = CharToInt(left.number[i]);
        val2 = (i > right.number.size() - 1) ? 0 : CharToInt(right.number[i]);

        val1 -= carry;

        if(val1 < val2) {
            aus = 10 + val1 - val2;
            carry = 1;
        }
        else {
            aus = val1 - val2;
            carry = 0;
        }

        tmp.number.push_back(IntToChar(aus));
    }

    return tmp;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x27f8
leaq 0x8(%rbx), %rax
movq %rax, 0x10(%rsp)
xorl %r13d, %r13d
xorl %eax, %eax
movq 0x50(%r15), %rsi
movq 0x18(%r15), %rcx
movq 0x30(%r15), %rdx
movq %rsi, %rdi
subq %rdx, %rdi
shrq $0x3, %rdi
cmpq $0x1, %rsi
adcq $-0x1, %rdi
movq 0x38(%r15), %rsi
subq 0x40(%r15), %rsi
addq 0x28(%r15), %rsi
shlq $0x9, %rdi
addq %rdi, %rsi
subq %rcx, %rsi
cmpq %rsi, %r13
jae 0x38c8
movq %rcx, %rsi
subq 0x20(%r15), %rsi
addq %r13, %rsi
cmpq $0x1ff, %rsi            # imm = 0x1FF
ja 0x37b5
addq %r13, %rcx
jmp 0x37e4
movq %rsi, %rcx
shrq $0x9, %rcx
movq %rcx, %rdi
movabsq $-0x80000000000000, %r8 # imm = 0xFF80000000000000
orq %r8, %rdi
testq %rsi, %rsi
cmovgq %rcx, %rdi
movq %rdi, %rcx
shlq $0x9, %rcx
subq %rcx, %rsi
addq (%rdx,%rdi,8), %rsi
movq %rsi, %rcx
movq 0x50(%r14), %rdi
movq 0x18(%r14), %rsi
movq 0x30(%r14), %rdx
movq %rdi, %r8
subq %rdx, %r8
shrq $0x3, %r8
cmpq $0x1, %rdi
adcq $-0x1, %r8
shlq $0x9, %r8
movq 0x38(%r14), %rdi
subq 0x40(%r14), %rdi
addq 0x28(%r14), %rdi
movq %rsi, %r9
notq %r9
addq %rdi, %r9
addq %r8, %r9
xorl %edi, %edi
cmpq %r9, %r13
ja 0x3872
movq %rsi, %rdi
subq 0x20(%r14), %rdi
addq %r13, %rdi
cmpq $0x1ff, %rdi            # imm = 0x1FF
ja 0x383d
addq %r13, %rsi
jmp 0x386c
movq %rdi, %rsi
shrq $0x9, %rsi
movq %rsi, %r8
movabsq $-0x80000000000000, %r9 # imm = 0xFF80000000000000
orq %r9, %r8
testq %rdi, %rdi
cmovgq %rsi, %r8
movq %r8, %rsi
shlq $0x9, %rsi
subq %rsi, %rdi
addq (%rdx,%r8,8), %rdi
movq %rdi, %rsi
movsbl (%rsi), %edi
addl $-0x30, %edi
movsbl (%rcx), %ecx
leal (%rax,%rcx), %edx
addl $-0x30, %edx
xorl %ebp, %ebp
cmpl %edi, %edx
leal -0x26(%rax,%rcx), %eax
cmovgel %edx, %eax
setl %r12b
subl %edi, %eax
addb $0x30, %al
movb %al, 0xf(%rsp)
movq 0x38(%rbx), %rcx
movq 0x48(%rbx), %rdx
decq %rdx
cmpq %rdx, %rcx
je 0x38aa
movb %al, (%rcx)
incq 0x38(%rbx)
jmp 0x38b9
movq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rsi
callq 0xb79a
movb %r12b, %bpl
negl %ebp
incq %r13
movl %ebp, %eax
jmp 0x3760
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2758
movq %r14, %rdi
callq 0x2200
nop
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: operator*(BigFloat const&, BigFloat const&)
BigFloat operator*(const BigFloat& left, const BigFloat& right)
{
    BigFloat tmp;
    if((left.error) || (right.error)) {
        return tmp;
    }

    tmp = BigFloat::Multiply(left, right);
    if(((left.sign == '-') && (right.sign == '-')) || ((left.sign == '+') && (right.sign == '+')))
        tmp.sign = '+';
    else
        tmp.sign = '-';

    tmp.decimals = left.decimals + right.decimals;
    tmp.error = 0;
    tmp.LeadTrim();

    return tmp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0x27f8
cmpb $0x0, 0x5c(%r14)
jne 0x420f
cmpb $0x0, 0x5c(%r15)
jne 0x420f
movq %rsp, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x38ee
leaq 0x8(%rsp), %r12
movb -0x8(%r12), %al
movb %al, (%rbx)
leaq 0x8(%rbx), %rdi
movq %r12, %rsi
callq 0xb4d4
movb 0x54(%r12), %al
movb %al, 0x5c(%rbx)
movl 0x50(%r12), %eax
movl %eax, 0x58(%rbx)
leaq 0x60(%rbx), %rdi
leaq 0x60(%rsp), %r13
movq %r13, %rsi
callq 0x2170
movq (%r13), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x41c5
callq 0x2120
movq %r12, %rdi
callq 0x28a2
movb (%r14), %al
movl %eax, %ecx
xorb $0x2d, %cl
movb (%r15), %dl
movl %edx, %esi
xorb $0x2d, %sil
orb %cl, %sil
sete %cl
xorb $0x2b, %al
xorb $0x2b, %dl
orb %al, %dl
sete %al
orb %cl, %al
xorb $0x1, %al
addb %al, %al
addb $0x2b, %al
movb %al, (%rbx)
movl 0x58(%r15), %eax
addl 0x58(%r14), %eax
movl %eax, 0x58(%rbx)
movb $0x0, 0x5c(%rbx)
movq %rbx, %rdi
callq 0x43c6
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2758
movq %r14, %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::operator=(char const*)
BigFloat& BigFloat::operator=(const char* strNum)
{
    number.clear();
    decimals = 0;
    sign = '\0';
    error = 0;

    int count = 0;
    if(strNum[count] == '+') {
        sign = '+';
        count++;
    }
    else if(strNum[count] == '-') {
        sign = '-';
        count++;
    }
    else if(isdigit(strNum[count]))
        sign = '+';
    else {
        error = 1;
        error_code = "Unset";
        return *this;
    }

    bool start_dec = false;

    while(strNum[count] != '\0') {
        if(!start_dec)
            if(strNum[count] == '.') {
                if(number.empty()) {
                    sign = '\0';
                    error = 1;
                    error_code = "Unset";
                    return *this;
                }
                start_dec = true;
                count++;
            }

        if(isdigit(strNum[count])) {
            number.push_front(strNum[count]);
            count++;
            if(start_dec)
                decimals++;
        }
        else {
            sign = '\0';
            number.clear();
            decimals = 0;
            error = 1;
            error_code = "Unset";
            return *this;
        }
    }
    this->LeadTrim();
    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x9a4a
movl $0x0, 0x58(%rbx)
xorl %eax, %eax
movb %al, (%rbx)
movb %al, 0x5c(%rbx)
movzbl (%r15), %eax
movl $0x1, %r12d
cmpl $0x2b, %eax
je 0x430a
cmpl $0x2d, %eax
je 0x430a
movsbl %al, %eax
addl $-0x30, %eax
cmpl $0xa, %eax
jae 0x4399
xorl %r12d, %r12d
movb $0x2b, %al
movb %al, (%rbx)
movl %r12d, %eax
movb (%r15,%rax), %al
testb %al, %al
je 0x4378
xorl %ebp, %ebp
cmpb $0x2e, %al
setne %al
orb %bpl, %al
testb $0x1, %al
jne 0x4335
movq 0x38(%rbx), %rax
cmpq 0x18(%rbx), %rax
je 0x4396
incl %r12d
movb $0x1, %bpl
movslq %r12d, %r12
movsbl (%r15,%r12), %eax
leal -0x30(%rax), %ecx
cmpl $0x9, %ecx
ja 0x4382
movq 0x18(%rbx), %rcx
cmpq 0x20(%rbx), %rcx
je 0x4358
movb %al, -0x1(%rcx)
decq 0x18(%rbx)
jmp 0x4364
leaq (%r15,%r12), %rsi
movq %r14, %rdi
callq 0xb856
testb $0x1, %bpl
je 0x436d
incl 0x58(%rbx)
incq %r12
movb (%r15,%r12), %al
testb %al, %al
jne 0x4319
movq %rbx, %rdi
callq 0x43c6
jmp 0x43b9
movb $0x0, (%rbx)
movq %r14, %rdi
callq 0x9a4a
movl $0x0, 0x58(%rbx)
jmp 0x4399
movb $0x0, (%rbx)
movb $0x1, 0x5c(%rbx)
leaq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rdx
leaq 0x7c82(%rip), %rcx      # 0xc02e
movl $0x5, %r8d
xorl %esi, %esi
callq 0x21b0
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::operator==(BigFloat const&) const
bool BigFloat::operator== (const BigFloat& right) const
{
    if((error) || (right.error))
        return false;

    int check = CompareNum(*this, right);
    if((check == 0) && (sign == right.sign))
        return true;
    return false;
}

// Assembly:
cmpb $0x0, 0x5c(%rdi)
je 0x63bb
xorl %eax, %eax
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpb $0x0, 0x5c(%rsi)
jne 0x63e0
movq %rdi, %r14
movq %rbx, %rsi
callq 0x2e60
testl %eax, %eax
jne 0x63e0
movb (%r14), %cl
movb $0x1, %al
cmpb (%rbx), %cl
je 0x63e2
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::operator>(BigFloat const&) const
bool BigFloat::operator> (const BigFloat& right) const
{
    if((error) || (right.error))
        return false;

    if(((sign == '+') && (right.sign == '+'))) {
        int check = CompareNum(*this, right);
        if(check == 1)
            return true;
        return false;
    }
    if(((sign == '-') && (right.sign == '-'))) {
        int check = CompareNum(*this, right);
        if(check == 2)
            return true;
        return false;
    }
    if(((sign == '-') && (right.sign == '+')))
        return false;
    if(((sign == '+') && (right.sign == '-')))
        return true;

    return false; //all cases are covered above, this is only to prevent compiler warnings
}

// Assembly:
pushq %rax
cmpb $0x0, 0x5c(%rdi)
jne 0x63f7
cmpb $0x0, 0x5c(%rsi)
je 0x63fb
xorl %eax, %eax
jmp 0x6432
movb (%rdi), %dl
movl %edx, %eax
xorb $0x2b, %al
movb (%rsi), %cl
movl %ecx, %r8d
xorb $0x2b, %r8b
orb %al, %r8b
jne 0x6419
callq 0x2e60
cmpl $0x1, %eax
jmp 0x642f
xorb $0x2d, %dl
xorb $0x2d, %cl
orb %cl, %dl
jne 0x642d
callq 0x2e60
cmpl $0x2, %eax
jmp 0x642f
orb %cl, %al
sete %al
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::Power(BigFloat const&, BigFloat const&, int)
BigFloat BigFloat::Power(const BigFloat& left, const BigFloat& right, int div_precision)
{
    BigFloat tmp;

    tmp = BigFloat::Pow(left, right);

    tmp.sign = '+';
    if(left.sign == '-')
        if(right % 2 != 0)
            tmp.sign = '-';

    tmp.decimals = left.decimals;
    tmp.error = 0;
    tmp.LeadTrim();

    if(right.sign == '-')
        tmp = BigFloat::PrecDiv(1, tmp, div_precision);

    return tmp;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movl %ecx, 0x4(%rsp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
callq 0x27f8
leaq 0x18(%rsp), %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x3cc6
leaq 0x20(%rsp), %rbp
movb -0x8(%rbp), %al
movb %al, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rdi, 0x8(%rsp)
movq %rbp, %rsi
callq 0xb4d4
movb 0x54(%rbp), %al
movb %al, 0x5c(%rbx)
movl 0x50(%rbp), %eax
movl %eax, 0x58(%rbx)
leaq 0x60(%rbx), %r15
leaq 0x78(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x2170
movq (%r14), %rdi
leaq 0x88(%rsp), %r14
cmpq %r14, %rdi
je 0x8261
callq 0x2120
movq %rbp, %rdi
callq 0x28a2
movb $0x2b, (%rbx)
cmpb $0x2d, (%r13)
jne 0x82c6
leaq 0x98(%rsp), %rdx
movl $0x2, (%rdx)
leaq 0x18(%rsp), %rdi
movq %r12, %rsi
callq 0x40b4
leaq 0x14(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x18(%rsp), %rdi
callq 0x83d0
movl %eax, %ebp
movq 0x78(%rsp), %rdi
cmpq %r14, %rdi
je 0x82b4
callq 0x2120
leaq 0x20(%rsp), %rdi
callq 0x28a2
testb %bpl, %bpl
je 0x82c6
movb $0x2d, (%rbx)
movl 0x58(%r13), %eax
movl %eax, 0x58(%rbx)
movb $0x0, 0x5c(%rbx)
movq %rbx, %rdi
callq 0x43c6
cmpb $0x2d, (%r12)
jne 0x8388
leaq 0x98(%rsp), %rdi
movl $0x1, %esi
callq 0x277c
movq %r14, %r13
leaq 0x18(%rsp), %rdi
leaq 0x98(%rsp), %rsi
movq %rbx, %rdx
movl 0x4(%rsp), %ecx
callq 0x6656
leaq 0x58(%rbx), %r14
leaq 0x20(%rsp), %r12
movb -0x8(%r12), %al
movb %al, (%rbx)
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0xb4d4
movb 0x54(%r12), %al
movb %al, 0x4(%r14)
movl 0x50(%r12), %eax
movl %eax, (%r14)
leaq 0x78(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x2170
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x835d
callq 0x2120
movq %r12, %rdi
callq 0x28a2
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x837b
callq 0x2120
leaq 0xa0(%rsp), %rdi
callq 0x28a2
movq %rbx, %rax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x98(%rsp), %rdi
jmp 0x83b4
jmp 0x83bd
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x2758
jmp 0x83c0
jmp 0x83bd
movq %rax, %r14
movq %rbx, %rdi
callq 0x2758
movq %r14, %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: operator<<(std::ostream&, BigFloat const&)
std::ostream& operator<<(std::ostream& out, const BigFloat& right)
{
    if(right.error) {
        out << "nan";
        return out;
    }

    out << right.sign;
    for(int i = right.number.size() - 1; i >= 0; --i) {
        out << right.number[i];
        if((i == right.decimals) && (i != 0))
            out << '.';
    }
    return out;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x1, 0x5c(%rsi)
jne 0x8a48
leaq 0x367c(%rip), %rsi      # 0xc0b2
movl $0x3, %edx
movq %rbx, %rdi
callq 0x2150
jmp 0x8b3d
movq %rsi, %r14
movb (%rsi), %al
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2150
movq 0x50(%r14), %rax
movl 0x30(%r14), %ecx
movl %eax, %edx
subl %ecx, %edx
shrl $0x3, %edx
cmpq $0x1, %rax
adcl $-0x1, %edx
shll $0x9, %edx
movl 0x38(%r14), %ecx
subl 0x40(%r14), %ecx
addl 0x28(%r14), %ecx
movl 0x18(%r14), %eax
addl %edx, %ecx
notl %eax
addl %ecx, %eax
js 0x8b3d
movl %eax, %r13d
leaq 0x5(%rsp), %r15
leaq 0x6(%rsp), %r12
movabsq $-0x80000000000000, %rbp # imm = 0xFF80000000000000
movq 0x18(%r14), %rcx
movq %rcx, %rax
subq 0x20(%r14), %rax
leaq (%rax,%r13), %rdx
cmpq $0x1ff, %rdx            # imm = 0x1FF
ja 0x8aca
addq %r13, %rcx
jmp 0x8af4
movq %rdx, %rcx
shrq $0x9, %rcx
leaq (%rcx,%rbp), %rsi
testq %rdx, %rdx
cmovgq %rcx, %rsi
movq 0x30(%r14), %rcx
movq %rsi, %rdx
shlq $0x9, %rdx
subq %rdx, %rax
addq (%rcx,%rsi,8), %rax
addq %r13, %rax
movq %rax, %rcx
movb (%rcx), %al
movb %al, 0x5(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2150
testq %r13, %r13
je 0x8b2d
movl 0x58(%r14), %eax
cmpq %rax, %r13
jne 0x8b2d
movb $0x2e, 0x6(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2150
leaq -0x1(%r13), %rax
testq %r13, %r13
movq %rax, %r13
jg 0x8aad
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: operator>>(std::istream&, BigFloat&)
std::istream& operator>>(std::istream& in, BigFloat& right)
{
    std::string c;
    in >> c;
    right = c;
    return in;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq 0x8(%rsp), %rsi
callq 0x2180
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x2dd0
movq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x42ba
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x8bbc
callq 0x2120
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8bcb
callq 0x2120
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x8bf1
callq 0x2120
jmp 0x8bf1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8c00
callq 0x2120
movq %rbx, %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::ToDouble() const
double BigFloat::ToDouble() const
{
    double var = 0;

    if(error) {
        var = std::nan("");
        return var;
    }

    double dec = 1;
    if(decimals > 0) {
        int aus = decimals;
        while(aus != 0) {
            dec /= 10;
            aus--;
        }
    }

    for(size_t i = 0; i < number.size(); i++) {
        var += CharToInt(number[i]) * dec;
        dec *= 10;
    }

    if(sign == '-')
        var *= -1;

    return var;
}

// Assembly:
cmpb $0x1, 0x5c(%rdi)
jne 0x8c20
leaq 0x351c(%rip), %rdi      # 0xc137
jmp 0x2040
movl 0x58(%rdi), %eax
movsd 0x340d(%rip), %xmm1     # 0xc038
testl %eax, %eax
jle 0x8c3f
movsd 0x3409(%rip), %xmm0     # 0xc040
divsd %xmm0, %xmm1
decl %eax
jne 0x8c37
movq 0x50(%rdi), %rdx
movq 0x18(%rdi), %rax
movq 0x30(%rdi), %rcx
movq %rdx, %rsi
subq %rcx, %rsi
shrq $0x3, %rsi
cmpq $0x1, %rdx
adcq $-0x1, %rsi
movq 0x38(%rdi), %rdx
subq 0x40(%rdi), %rdx
addq 0x28(%rdi), %rdx
shlq $0x9, %rsi
addq %rsi, %rdx
xorpd %xmm0, %xmm0
subq %rax, %rdx
je 0x8cf3
movq %rax, %rsi
subq 0x20(%rdi), %rsi
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %r8d, %r8d
movsd 0x33ad(%rip), %xmm2     # 0xc040
movabsq $-0x80000000000000, %r9 # imm = 0xFF80000000000000
cmpq $0x1ff, %rsi            # imm = 0x1FF
ja 0x8cac
leaq (%rax,%r8), %r10
jmp 0x8ccc
movq %rsi, %r10
shrq $0x9, %r10
leaq (%r10,%r9), %r11
testq %rsi, %rsi
cmovgq %r10, %r11
movq (%rcx,%r11,8), %r10
shlq $0x9, %r11
subq %r11, %r10
addq %rsi, %r10
movsbl (%r10), %r10d
addl $-0x30, %r10d
xorps %xmm3, %xmm3
cvtsi2sd %r10d, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm3, %xmm0
mulsd %xmm2, %xmm1
incq %r8
incq %rsi
decq %rdx
jne 0x8c9d
cmpb $0x2d, (%rdi)
jne 0x8d00
xorpd 0x3350(%rip), %xmm0     # 0xc050
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::ToFloat() const
float BigFloat::ToFloat() const
{
    float var = 0;

    if(error) {
        var = std::nan("");
        return var;
    }

    float dec = 1;
    if(decimals > 0) {
        int aus = decimals;
        while(aus != 0) {
            dec /= 10;
            aus--;
        }
    }

    for(size_t i = 0; i < number.size(); i++) {
        var += CharToInt(number[i]) * dec;
        dec *= 10;
    }

    if(sign == '-')
        var *= -1;

    return var;
}

// Assembly:
pushq %rax
cmpb $0x1, 0x5c(%rdi)
jne 0x8d24
leaq 0x3421(%rip), %rdi      # 0xc137
callq 0x2040
cvtsd2ss %xmm0, %xmm0
jmp 0x8e02
movl 0x58(%rdi), %eax
movss 0x3341(%rip), %xmm1     # 0xc070
testl %eax, %eax
jle 0x8d43
movss 0x3339(%rip), %xmm0     # 0xc074
divss %xmm0, %xmm1
decl %eax
jne 0x8d3b
movq 0x50(%rdi), %rdx
movq 0x18(%rdi), %rax
movq 0x30(%rdi), %rcx
movq %rdx, %rsi
subq %rcx, %rsi
shrq $0x3, %rsi
cmpq $0x1, %rdx
adcq $-0x1, %rsi
movq 0x38(%rdi), %rdx
subq 0x40(%rdi), %rdx
addq 0x28(%rdi), %rdx
shlq $0x9, %rsi
addq %rsi, %rdx
xorps %xmm0, %xmm0
subq %rax, %rdx
je 0x8df6
movq %rax, %rsi
subq 0x20(%rdi), %rsi
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %r8d, %r8d
movss 0x32de(%rip), %xmm2     # 0xc074
movabsq $-0x80000000000000, %r9 # imm = 0xFF80000000000000
cmpq $0x1ff, %rsi            # imm = 0x1FF
ja 0x8daf
leaq (%rax,%r8), %r10
jmp 0x8dcf
movq %rsi, %r10
shrq $0x9, %r10
leaq (%r10,%r9), %r11
testq %rsi, %rsi
cmovgq %r10, %r11
movq (%rcx,%r11,8), %r10
shlq $0x9, %r11
subq %r11, %r10
addq %rsi, %r10
movsbl (%r10), %r10d
addl $-0x30, %r10d
xorps %xmm3, %xmm3
cvtsi2ss %r10d, %xmm3
mulss %xmm1, %xmm3
addss %xmm3, %xmm0
mulss %xmm2, %xmm1
incq %r8
incq %rsi
decq %rdx
jne 0x8da0
cmpb $0x2d, (%rdi)
jne 0x8e02
xorps 0x325e(%rip), %xmm0     # 0xc060
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::ToString[abi:cxx11]() const
std::string BigFloat::ToString() const
{
    std::string var;
    std::stringstream ss;

    if(error) {
        var = "nan";
        return var;
    }
    if(sign == '-') {
        ss << sign;
    }
    for(int i = number.size() - 1; i >= 0; i--) {
        ss << number[i];
        if((i == decimals) && (i != 0))
            ss << ".";
    }
    ss >> var;
    return var;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x10(%rsp), %rdi
callq 0x20c0
cmpb $0x1, 0x5c(%r14)
jne 0x8e6d
movq 0x8(%rbx), %rdx
leaq 0x325a(%rip), %rcx      # 0xc0b2
movl $0x3, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x21b0
jmp 0x8f7d
movb (%r14), %al
cmpb $0x2d, %al
jne 0x8e8a
leaq 0x20(%rsp), %rdi
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, %edx
callq 0x2150
movq %r15, 0x8(%rsp)
movq 0x50(%r14), %rax
movl 0x30(%r14), %ecx
movl %eax, %edx
subl %ecx, %edx
shrl $0x3, %edx
cmpq $0x1, %rax
adcl $-0x1, %edx
shll $0x9, %edx
movl 0x38(%r14), %ecx
subl 0x40(%r14), %ecx
addl 0x28(%r14), %ecx
movl 0x18(%r14), %eax
addl %edx, %ecx
notl %eax
addl %ecx, %eax
js 0x8f6b
leaq 0x20(%rsp), %r15
movl %eax, %ebp
leaq 0x7(%rsp), %r12
leaq 0x31e0(%rip), %r13      # 0xc0b7
movq 0x18(%r14), %rcx
movq %rcx, %rax
subq 0x20(%r14), %rax
leaq (%rax,%rbp), %rdx
cmpq $0x1ff, %rdx            # imm = 0x1FF
ja 0x8ef4
addq %rbp, %rcx
jmp 0x8f27
movq %rdx, %rcx
shrq $0x9, %rcx
movabsq $-0x80000000000000, %rsi # imm = 0xFF80000000000000
addq %rcx, %rsi
testq %rdx, %rdx
cmovgq %rcx, %rsi
movq 0x30(%r14), %rcx
movq %rsi, %rdx
shlq $0x9, %rdx
subq %rdx, %rax
addq (%rcx,%rsi,8), %rax
addq %rbp, %rax
movq %rax, %rcx
movb (%rcx), %al
movb %al, 0x7(%rsp)
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2150
testq %rbp, %rbp
je 0x8f5b
movl 0x58(%r14), %eax
cmpq %rax, %rbp
jne 0x8f5b
movl $0x1, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x2150
leaq -0x1(%rbp), %rax
testq %rbp, %rbp
movq %rax, %rbp
jg 0x8ed7
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %r15
callq 0x2180
movq 0x7034(%rip), %rsi      # 0xffb8
leaq 0x10(%rsp), %rdi
callq 0x20e0
leaq 0x90(%rsp), %rdi
callq 0x2060
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, 0x8(%rsp)
movq %rax, %r14
jmp 0x8fe2
movq %r15, 0x8(%rsp)
jmp 0x8fc1
movq %rax, %r14
movq 0x6fed(%rip), %rsi      # 0xffb8
leaq 0x10(%rsp), %rdi
callq 0x20e0
leaq 0x90(%rsp), %rdi
callq 0x2060
movq (%rbx), %rdi
cmpq 0x8(%rsp), %rdi
je 0x8ff1
callq 0x2120
movq %r14, %rdi
callq 0x2200
nop
// File: /workspace/github_cpp_makefile_star2_O1/Mariotti94[P]BigFloat/BigFloat.cc
// Function: BigFloat::TrailTrim()
void BigFloat::TrailTrim()
{
    if(!error)
        while((number[0] == '0') && (decimals > 0)) {
            number.pop_front();
            decimals--;
        }
}

// Assembly:
cmpb $0x0, 0x5c(%rdi)
jne 0x935b
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movabsq $-0x80000000000000, %r15 # imm = 0xFF80000000000000
movq 0x18(%rbx), %rcx
movq %rcx, %rax
subq 0x20(%rbx), %rax
cmpq $0x200, %rax            # imm = 0x200
jb 0x933e
movq 0x30(%rbx), %rcx
movq %rax, %rdx
shrq $0x9, %rdx
leaq (%rdx,%r15), %rsi
testq %rax, %rax
cmovgq %rdx, %rsi
movq %rsi, %rdx
shlq $0x9, %rdx
subq %rdx, %rax
addq (%rcx,%rsi,8), %rax
movq %rax, %rcx
cmpb $0x30, (%rcx)
jne 0x9356
cmpl $0x0, 0x58(%rbx)
jle 0x9356
movq %r14, %rdi
callq 0x9b70
decl 0x58(%rbx)
jmp 0x9304
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/NovaGL[P]HarmonyHubControl/HarmonyHubControl.cpp
// Function: connectToHarmony(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, csocket&)
int connectToHarmony(std::string strHarmonyIPAddress, int harmonyPortNumber, csocket& harmonyCommunicationcsocket)
{
    if(strHarmonyIPAddress.length() == 0 || harmonyPortNumber == 0 || harmonyPortNumber > 65535)
    {
        errorString = "connectToHarmony : Empty Harmony IP Address or Port";
        return 1;
    }

    harmonyCommunicationcsocket.connect(strHarmonyIPAddress.c_str(), harmonyPortNumber);

    if (harmonyCommunicationcsocket.getState() != csocket::CONNECTED)
    {
        errorString = "connectToHarmony : Unable to connect to specified IP Address on specified Port";
        return 1;
    }

    return 0;
}

// Assembly:
pushq %rbx
cmpl $0xffff, %esi           # imm = 0xFFFF
jg 0x4309
movq %rdx, %rbx
movl %esi, %edx
testl %esi, %esi
je 0x4309
cmpq $0x0, 0x8(%rdi)
je 0x4309
movq (%rdi), %rsi
movq %rbx, %rdi
callq 0xbb10
movq %rbx, %rdi
callq 0xbec8
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x1, %ecx
je 0x4330
movq 0xffcd(%rip), %rdx      # 0x142c0
leaq 0xffbe(%rip), %rdi      # 0x142b8
leaq 0x7fd1(%rip), %rcx      # 0xc2d2
movl $0x4e, %r8d
jmp 0x4324
movq 0xffb0(%rip), %rdx      # 0x142c0
leaq 0xffa1(%rip), %rdi      # 0x142b8
leaq 0x7f80(%rip), %rcx      # 0xc29e
movl $0x33, %r8d
xorl %esi, %esi
callq 0x3420
movl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/NovaGL[P]HarmonyHubControl/HarmonyHubControl.cpp
// Function: TryGetMemberString[abi:cxx11](rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>> const&, char const*)
std::string TryGetMemberString(const rapidjson::Value& value, const char* memberName)
{
    rapidjson::Value::ConstMemberIterator itr = value.FindMember(memberName);
    if (itr != value.MemberEnd() && itr->value.IsString())
    {
        return itr->value.GetString();
    }
    return std::string();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x8118
movq (%r14), %r14
movq %r15, %rdi
callq 0x7f1a
cmpq %rax, %r14
je 0x580e
testb $0x4, 0x1f(%r14)
jne 0x5823
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
jmp 0x583f
addq $0x10, %r14
movq %r14, %rdi
callq 0x7f5a
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7de4
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/NovaGL[P]HarmonyHubControl/HarmonyHubControl.cpp
// Function: parseFunction(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>> const&, std::vector<Function, std::allocator<Function>>&)
int parseFunction(const rapidjson::Value& controlGroup, std::vector<Function>& vecDeviceFunctions)
{
    rapidjson::Value::ConstMemberIterator itr = controlGroup.FindMember("function");
    if (itr != controlGroup.MemberEnd() && itr->value.IsArray())
    {
        Function f;
        f.m_strName = TryGetMemberString(controlGroup, "name");
        if (f.m_strName.empty())
        {
            return 1;
        }
        for (const auto& function : itr->value.GetArray())
        {
            if(parseAction(function, f.m_vecActions) != 0)
            {
                return 1;
            }
        }
        vecDeviceFunctions.push_back(f);
    }
    else
    {
        return 1;
    }

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x6e80(%rip), %rdx      # 0xc92d
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x8118
movq (%r14), %r14
movq %r15, %rdi
callq 0x7f1a
movq %rax, %rcx
movl $0x1, %eax
cmpq %rcx, %r14
je 0x5bbe
cmpw $0x4, 0x1e(%r14)
jne 0x5bbe
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
xorl %eax, %eax
movq %rax, -0x8(%r13)
movb $0x0, (%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r13)
movq %rax, 0x20(%r13)
leaq 0x6e18(%rip), %rdx      # 0xc922
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
callq 0x57db
movq %rsp, %rdi
leaq 0x38(%rsp), %r15
movq %r15, %rsi
callq 0x3330
movq (%r15), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x5b41
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0x20(%rsp), %r15
movq -0x18(%r15), %rbp
testq %rbp, %rbp
je 0x5b98
cmpw $0x4, 0x1e(%r14)
jne 0x5bcd
movabsq $0xffffffffffff, %r12   # imm = 0xFFFFFFFFFFFF
andq 0x18(%r14), %r12
addq $0x10, %r14
movq %r14, %rdi
callq 0xab0a
cmpq %r12, %rax
je 0x5b8d
movq %rax, %r14
movq %r12, %rdi
movq %r15, %rsi
callq 0x584c
addq $0x10, %r12
cmpq %r14, %r12
jne 0x5b79
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x80c6
movq %r15, %rdi
callq 0x8482
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x5bb6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
xorl %eax, %eax
testq %rbp, %rbp
sete %al
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8c5d(%rip), %rdi      # 0xe831
leaq 0x73d6(%rip), %rsi      # 0xcfb1
leaq 0x8c59(%rip), %rcx      # 0xe83b
movl $0x703, %edx            # imm = 0x703
callq 0x31a0
jmp 0x5bf0
jmp 0x5bf0
movq %rax, %rbx
movq %rsp, %rdi
callq 0x80f0
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O1/NovaGL[P]HarmonyHubControl/HarmonyHubControl.cpp
// Function: parseControlGroup(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>> const&, std::vector<Function, std::allocator<Function>>&)
int parseControlGroup(const rapidjson::Value& device, std::vector<Function>& vecDeviceFunctions)
{
    rapidjson::Value::ConstMemberIterator itr = device.FindMember("controlGroup");
    if (itr != device.MemberEnd() && itr->value.IsArray())
    {
        for (const auto& controlGroup : itr->value.GetArray())
        {
            if(parseFunction(controlGroup, vecDeviceFunctions) != 0)
            {
                return 1;
            }
        }
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x6d1f(%rip), %rdx      # 0xc936
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x8118
movq (%r15), %r15
movq %r14, %rdi
callq 0x7f1a
xorl %ebp, %ebp
cmpq %rax, %r15
je 0x5c80
cmpw $0x4, 0x1e(%r15)
jne 0x5c80
movabsq $0xffffffffffff, %r14   # imm = 0xFFFFFFFFFFFF
andq 0x18(%r15), %r14
addq $0x10, %r15
movq %r15, %rdi
callq 0xab0a
cmpq %r14, %rax
je 0x5c80
movq %rax, %r15
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5a92
testl %eax, %eax
jne 0x5c7b
addq $0x10, %r14
cmpq %r15, %r14
jne 0x5c61
jmp 0x5c80
movl $0x1, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/NovaGL[P]HarmonyHubControl/HarmonyHubControl.cpp
// Function: ReadAuthorizationTokenFile[abi:cxx11]()
const std::string ReadAuthorizationTokenFile()
{
    std::string strAuthorizationToken;
    std::ifstream AuthorizationTokenFileStream (HARMONY_HUB_AUTHORIZATION_TOKEN_FILENAME);
    if (!AuthorizationTokenFileStream.is_open())
    {
        return strAuthorizationToken;
    }

    getline (AuthorizationTokenFileStream,strAuthorizationToken);

    AuthorizationTokenFileStream.close();
    
    return strAuthorizationToken;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x664a(%rip), %rsi      # 0xc989
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x34d0
leaq 0x80(%rsp), %rdi
callq 0x30b0
testb %al, %al
je 0x6392
movq 0x8(%rsp), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x3250
movsbl %al, %edx
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x34e0
leaq 0x8(%rsp), %rdi
callq 0x30a0
leaq 0x8(%rsp), %rdi
callq 0x30d0
movq %rbx, %rax
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x63be
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x30d0
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x63d1
movq (%r15), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O1/NovaGL[P]HarmonyHubControl/HarmonyHubControl.cpp
// Function: WriteAuthorizationTokenFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int WriteAuthorizationTokenFile(const std::string& strAuthorizationToken)
{
    std::ofstream AuthorizationTokenFileStream;
    AuthorizationTokenFileStream.open(HARMONY_HUB_AUTHORIZATION_TOKEN_FILENAME);
    if(!AuthorizationTokenFileStream.is_open())
    {
        return 1;
    }
    AuthorizationTokenFileStream << strAuthorizationToken;
    AuthorizationTokenFileStream.close();

    return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x3480
leaq 0x658f(%rip), %rsi      # 0xc989
movq %rbx, %rdi
movl $0x10, %edx
callq 0x3050
leaq 0x78(%rsp), %rdi
callq 0x30b0
movl $0x1, %ebx
testb %al, %al
je 0x6437
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x8(%rsp), %rdi
callq 0x3310
xorl %ebx, %ebx
leaq 0x8(%rsp), %rdi
callq 0x33c0
movq 0xdb92(%rip), %rax      # 0x13fd0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x10(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x8(%rsp,%rcx)
callq 0x3210
leaq 0x100(%rsp), %rdi
callq 0x3110
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x33f0
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O1/NovaGL[P]HarmonyHubControl/./rapidjson/document.h
// Function: rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>::~GenericDocument()
~GenericDocument() {
        // Clear the ::ValueType before ownAllocator is destroyed, ~ValueType()
        // runs last and may access its elements or members which would be freed
        // with an allocator like MemoryPoolAllocator (CrtAllocator does not
        // free its data when destroyed, but MemoryPoolAllocator does).
        if (ownAllocator_) {
            ValueType::SetNull();
        }
        Destroy();
    }

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, 0x18(%rdi)
je 0x8063
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rdi
callq 0x8a5a
addq $0x20, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x8a36