LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseLineForNodeNameDiminished(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::string Parser::parseLineForNodeNameDiminished(std::string & nodeLine, std::string & nodeName)
{
    std::regex patternNodeName("(\\S*)\\s*OBJECT IDENTIFIER");
    std::regex patternCutNodeName("");
    std::smatch match;
    if (std::regex_search(nodeLine, match, patternNodeName))
    {
        nodeName = match.str(1);
        patternCutNodeName.assign(nodeName);
        nodeLine = std::regex_replace(nodeLine, patternCutNodeName, "", std::regex_constants::format_first_only);
        return nodeName;
    }
    return "";
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x140a0(%rip), %rsi     # 0x1e55e
leaq 0x70(%rsp), %rdi
movl $0x10, %edx
callq 0xe4b4
leaq 0x14340(%rip), %rsi     # 0x1e814
leaq 0x50(%rsp), %rdi
movl $0x10, %edx
callq 0xe4b4
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
movq (%r15), %rdi
movq 0x8(%r15), %rsi
addq %rdi, %rsi
leaq 0x70(%rsp), %rcx
xorl %r8d, %r8d
callq 0x19bbf
testb %al, %al
je 0xa5e3
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movl $0x1, %edx
callq 0xe51c
leaq 0x10(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x43d0
movq (%r12), %rdi
leaq 0x20(%rsp), %r13
cmpq %r13, %rdi
je 0xa550
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4320
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
movl $0x10, %ecx
callq 0xeca4
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movl $0x400, (%rsp)          # imm = 0x400
leaq 0x1427f(%rip), %r8      # 0x1e814
leaq 0x50(%rsp), %rcx
xorl %r9d, %r9d
callq 0x1c116
leaq 0x10(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x43d0
movq (%r12), %rdi
cmpq %r13, %rdi
je 0xa5c8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4320
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x5f70
jmp 0xa5fc
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x14223(%rip), %rdx     # 0x1e814
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x6006
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa613
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x50(%rsp), %rdi
callq 0xe6fa
leaq 0x70(%rsp), %rdi
callq 0xe6fa
movq %rbx, %rax
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0xa663
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4320
jmp 0xa663
jmp 0xa660
jmp 0xa660
movq %rax, %rbx
jmp 0xa684
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa67a
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x50(%rsp), %rdi
callq 0xe6fa
leaq 0x70(%rsp), %rdi
callq 0xe6fa
movq %rbx, %rdi
callq 0x4550
// File: /workspace/github_cpp_makefile_star2_O3/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseLineForOIDDiminished(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, unsigned int&)
unsigned int Parser::parseLineForOIDDiminished(std::string & nodeLine, unsigned int & OID)
{
    std::regex patternOID("(\\d+)\\s\\}");
    std::smatch match;
    if (std::regex_search(nodeLine, match, patternOID))
    {
        OID = std::stoi(match.str(1));
        return OID;
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x13ec7(%rip), %rsi     # 0x1e578
leaq 0x48(%rsp), %r15
movq %r15, %rdi
movl $0x10, %edx
callq 0xe4b4
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorl %r14d, %r14d
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x19bbf
testb %al, %al
je 0xa769
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
movl $0x1, %edx
callq 0xe51c
movq 0x20(%rsp), %r12
callq 0x4060
movq %rax, %r15
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x40(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x4430
cmpq %r12, (%r13)
je 0xa79b
movq %rax, %r14
movslq %r14d, %rax
cmpq %r14, %rax
jne 0xa7a7
movl (%r15), %eax
cmpl $0x22, %eax
je 0xa7a7
testl %eax, %eax
jne 0xa748
movl %ebp, (%r15)
movl %r14d, (%rbx)
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa769
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4320
movl (%rbx), %r14d
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xa77f
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x48(%rsp), %rdi
callq 0xe6fa
movl %r14d, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14027(%rip), %rdi     # 0x1e7c9
callq 0x4200
leaq 0x1401b(%rip), %rdi     # 0x1e7c9
callq 0x4460
jmp 0xa7de
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0xa7c1
movl %ebp, (%r15)
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa7e1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4320
jmp 0xa7e1
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xa7f7
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x48(%rsp), %rdi
callq 0xe6fa
movq %rbx, %rdi
callq 0x4550
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1cc78
movq %rbx, (%rsp)
movq 0x60(%rbx), %r14
leaq 0x8(%r14), %rbx
movq 0x8(%r14), %rbp
cmpq %rbx, %rbp
je 0xb10a
movq (%r13), %r12
movq 0x8(%r12), %r13
cmpq %r13, 0x20(%rbp)
jne 0xb0f3
testq %r13, %r13
je 0xb0fe
movq (%r12), %rsi
movq 0x18(%rbp), %rdi
movq %r13, %rdx
callq 0x4340
testl %eax, %eax
je 0xb0fe
movq (%rbp), %rbp
cmpq %rbx, %rbp
jne 0xb0d4
jmp 0xb10a
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 0x5f70
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 0x7892
leaq 0x88(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x791c
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x13699(%rip), %rdx     # 0x1e814
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
callq 0x6006
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 0x1cfaa
addq $0x10, %rsp
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0xb1ce
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4320
leaq 0x50(%rsp), %rdi
callq 0x1cc96
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xb1ef
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4320
leaq 0xa8(%rsp), %rdi
callq 0x1cc96
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 0xb230
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4320
jmp 0xb230
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x1cc96
jmp 0xb24c
movq %rax, %rbx
movq %r15, %rdi
callq 0x5f12
jmp 0xb24c
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xb268
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4320
jmp 0xb268
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x1cc96
movq %rbx, %rdi
callq 0x4550
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x5f70
movq %rbx, %rdi
movq %r15, %rsi
callq 0xcab2
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0xe39c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4320
movq %rbx, %rdi
callq 0xd25e
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 0x5f70
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9fca
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xe3e7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4320
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 0x5f70
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb27e
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xe42a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4320
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0xe452
movq %rax, %rbx
movq 0x28(%rsp), %rdi
jmp 0xe452
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0xe463
movq (%r12), %rsi
incq %rsi
callq 0x4320
movq %rbx, %rdi
callq 0x4550
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rdi, %r14
addq $0xa8, %rcx
movl %edx, %eax
movq %rcx, %r12
movq (%r12), %r12
cmpq %rcx, %r12
je 0x1d34c
movq (%rsi), %rdi
movq 0x8(%rsi), %rdx
subq %rdi, %rdx
sarq $0x2, %rdx
cmpq %rax, %rdx
jbe 0x1d35e
movq 0x10(%r12), %r15
movl (%r15), %r8d
cmpl (%rdi,%rax,4), %r8d
jne 0x1d2e0
decq %rdx
cmpq %rax, %rdx
je 0x1d34f
incl %ebx
movq %rsp, %r15
movq %r15, %rdi
callq 0x7706
movq 0x10(%r12), %rcx
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0x1d2c4
movq %rax, %r15
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1d34f
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
jmp 0x1d34f
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x224c(%rip), %rdi      # 0x1f5b1
movq %rax, %rsi
xorl %eax, %eax
callq 0x4480
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1d388
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq %rbx, %rdi
callq 0x4550
// File: /workspace/github_cpp_makefile_star2_O3/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), %r13
addq $0x8, %r15
cmpq %r15, %r13
je 0x1d467
movq %rsi, %r14
movq 0x8(%rsi), %r12
xorl %ebx, %ebx
cmpq %r12, 0x20(%r13)
jne 0x1d45c
testq %r12, %r12
je 0x1d46b
movq (%r14), %rsi
movq 0x18(%r13), %rdi
movq %r12, %rdx
callq 0x4340
testl %eax, %eax
je 0x1d46b
movq (%r13), %r13
cmpq %r15, %r13
jne 0x1d43e
jmp 0x1d472
xorl %ebx, %ebx
jmp 0x1d472
addq $0x10, %r13
movq %r13, %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xa99(%rip), %rsi       # 0x207c
callq 0x10d0
testq %rax, %rax
je 0x16f1
movq %rax, %r14
leaq 0x68(%rbx), %r15
leaq 0x80(%rbx), %rax
movq %rax, -0x30(%rbp)
xorl %eax, %eax
movl %eax, %r12d
movq %r14, %rdi
callq 0x1100
movl %eax, %r13d
cmpb $0x9, %r13b
je 0x1629
movzbl %r13b, %eax
cmpl $0xff, %eax
jne 0x162c
jmp 0x16e2
movb $0x20, %r13b
movl %r12d, %ecx
xorb $0x20, %cl
movl %r13d, %edx
xorb $0x20, %dl
movb $0x20, %al
orb %cl, %dl
je 0x1605
xorb $0xa, %r12b
movl %r13d, %eax
xorb $0xa, %al
orb %r12b, %al
movb $0xa, %al
je 0x1605
movl $0x18, %edi
callq 0x10b0
movb %r13b, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
callq 0x1040
incq 0x78(%rbx)
movl %r13d, %eax
cmpb $0xa, %r13b
jne 0x1605
movq (%r15), %rcx
cmpq %r15, %rcx
je 0x16a0
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 0x1683
jmp 0x16a2
xorl %eax, %eax
movq %rax, -0x38(%rbp)
movq 0x88(%rbx), %rsi
cmpq 0x90(%rbx), %rsi
je 0x16c6
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x88(%rbx)
jmp 0x16d3
movq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rdx
callq 0x1972
movq %r15, %rdi
callq 0x1936
movb $0xa, %al
jmp 0x1605
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x986(%rip), %rdi       # 0x207e
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1030
leaq 0x92f(%rip), %rdi       # 0x2038
leaq 0x92e(%rip), %rsi       # 0x203e
leaq 0x977(%rip), %rcx       # 0x208e
movl $0x27, %edx
callq 0x1070
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x856e
testb %al, %al
je 0x2469
leaq 0xc(%rsp), %rdx
movl $0x1, (%rdx)
leaq 0x90(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x50ec
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x23bc
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4109
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 0x401e
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 0x2a56
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 0x2dce
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_O3/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 %ebp, %ebp
xorl %eax, %eax
movq 0x50(%r15), %rcx
movq 0x18(%r15), %rsi
movq 0x30(%r15), %rdx
movq %rcx, %rdi
subq %rdx, %rdi
shrq $0x3, %rdi
cmpq $0x1, %rcx
adcq $-0x1, %rdi
movq 0x38(%r15), %rcx
subq 0x40(%r15), %rcx
addq 0x28(%r15), %rcx
shlq $0x9, %rdi
addq %rdi, %rcx
subq %rsi, %rcx
cmpq %rcx, %rbp
jae 0x38ba
movq %rsi, %rcx
subq 0x20(%r15), %rcx
addq %rbp, %rcx
js 0x37c1
cmpq $0x1ff, %rcx            # imm = 0x1FF
ja 0x37ca
addq %rbp, %rsi
movq %rsi, %rcx
jmp 0x37df
movq %rcx, %rsi
sarq $0x9, %rsi
jmp 0x37d1
movq %rcx, %rsi
shrq $0x9, %rsi
movq %rsi, %rdi
shlq $0x9, %rdi
subq %rdi, %rcx
addq (%rdx,%rsi,8), %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, %rbp
ja 0x3861
movq %rsi, %rdi
subq 0x20(%r14), %rdi
addq %rbp, %rdi
js 0x383d
cmpq $0x1ff, %rdi            # imm = 0x1FF
ja 0x3846
addq %rbp, %rsi
movq %rsi, %rdi
jmp 0x385b
movq %rdi, %rsi
sarq $0x9, %rsi
jmp 0x384d
movq %rdi, %rsi
shrq $0x9, %rsi
movq %rsi, %r8
shlq $0x9, %r8
subq %r8, %rdi
addq (%rdx,%rsi,8), %rdi
movsbl (%rdi), %edi
addl $-0x30, %edi
movsbl (%rcx), %ecx
leal (%rax,%rcx), %edx
addl $-0x30, %edx
xorl %r13d, %r13d
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 0x389a
movb %al, (%rcx)
incq 0x38(%rbx)
jmp 0x38a9
movq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rsi
callq 0xb674
movb %r12b, %r13b
negl %r13d
incq %rbp
movl %r13d, %eax
jmp 0x3767
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_O3/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 0x41e1
cmpb $0x0, 0x5c(%r15)
jne 0x41e1
movq %rsp, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x38e0
leaq 0x8(%rsp), %r12
movb -0x8(%r12), %al
movb %al, (%rbx)
leaq 0x8(%rbx), %rdi
movq %r12, %rsi
callq 0xb3ae
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 0x4197
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 0x4398
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_O3/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 0x98d8
movl $0x0, 0x58(%rbx)
xorl %eax, %eax
movb %al, (%rbx)
movb %al, 0x5c(%rbx)
movzbl (%r15), %eax
movl $0x1, %r12d
cmpl $0x2b, %eax
je 0x42dc
cmpl $0x2d, %eax
je 0x42dc
movsbl %al, %eax
addl $-0x30, %eax
cmpl $0xa, %eax
jae 0x436b
xorl %r12d, %r12d
movb $0x2b, %al
movb %al, (%rbx)
movl %r12d, %eax
movb (%r15,%rax), %al
testb %al, %al
je 0x434a
xorl %ebp, %ebp
cmpb $0x2e, %al
setne %al
orb %bpl, %al
testb $0x1, %al
jne 0x4307
movq 0x38(%rbx), %rax
cmpq 0x18(%rbx), %rax
je 0x4368
incl %r12d
movb $0x1, %bpl
movslq %r12d, %r12
movsbl (%r15,%r12), %eax
leal -0x30(%rax), %ecx
cmpl $0x9, %ecx
ja 0x4354
movq 0x18(%rbx), %rcx
cmpq 0x20(%rbx), %rcx
je 0x432a
movb %al, -0x1(%rcx)
decq 0x18(%rbx)
jmp 0x4336
leaq (%r15,%r12), %rsi
movq %r14, %rdi
callq 0xb730
testb $0x1, %bpl
je 0x433f
incl 0x58(%rbx)
incq %r12
movb (%r15,%r12), %al
testb %al, %al
jne 0x42eb
movq %rbx, %rdi
callq 0x4398
jmp 0x438b
movb $0x0, (%rbx)
movq %r14, %rdi
callq 0x98d8
movl $0x0, 0x58(%rbx)
jmp 0x436b
movb $0x0, (%rbx)
movb $0x1, 0x5c(%rbx)
leaq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rdx
leaq 0x7cb0(%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_O3/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 0x62ff
xorl %eax, %eax
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpb $0x0, 0x5c(%rsi)
jne 0x6324
movq %rdi, %r14
movq %rbx, %rsi
callq 0x2e64
testl %eax, %eax
jne 0x6324
movb (%r14), %cl
movb $0x1, %al
cmpb (%rbx), %cl
je 0x6326
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x633b
cmpb $0x0, 0x5c(%rsi)
je 0x633f
xorl %eax, %eax
jmp 0x6376
movb (%rdi), %dl
movl %edx, %eax
xorb $0x2b, %al
movb (%rsi), %cl
movl %ecx, %r8d
xorb $0x2b, %r8b
orb %al, %r8b
jne 0x635d
callq 0x2e64
cmpl $0x1, %eax
jmp 0x6373
xorb $0x2d, %dl
xorb $0x2d, %cl
orb %cl, %dl
jne 0x6371
callq 0x2e64
cmpl $0x2, %eax
jmp 0x6373
orb %cl, %al
sete %al
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x3c98
leaq 0x20(%rsp), %rbp
movb -0x8(%rbp), %al
movb %al, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rdi, 0x8(%rsp)
movq %rbp, %rsi
callq 0xb3ae
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 0x8189
callq 0x2120
movq %rbp, %rdi
callq 0x28a2
movb $0x2b, (%rbx)
cmpb $0x2d, (%r13)
jne 0x81ee
leaq 0x98(%rsp), %rdx
movl $0x2, (%rdx)
leaq 0x18(%rsp), %rdi
movq %r12, %rsi
callq 0x4086
leaq 0x14(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x18(%rsp), %rdi
callq 0x82f8
movl %eax, %ebp
movq 0x78(%rsp), %rdi
cmpq %r14, %rdi
je 0x81dc
callq 0x2120
leaq 0x20(%rsp), %rdi
callq 0x28a2
testb %bpl, %bpl
je 0x81ee
movb $0x2d, (%rbx)
movl 0x58(%r13), %eax
movl %eax, 0x58(%rbx)
movb $0x0, 0x5c(%rbx)
movq %rbx, %rdi
callq 0x4398
cmpb $0x2d, (%r12)
jne 0x82b0
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 0x659a
leaq 0x58(%rbx), %r14
leaq 0x20(%rsp), %r12
movb -0x8(%r12), %al
movb %al, (%rbx)
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0xb3ae
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 0x8285
callq 0x2120
movq %r12, %rdi
callq 0x28a2
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82a3
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 0x82dc
jmp 0x82e5
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x2758
jmp 0x82e8
jmp 0x82e5
movq %rax, %r14
movq %rbx, %rdi
callq 0x2758
movq %r14, %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpb $0x1, 0x5c(%rsi)
jne 0x8972
leaq 0x3752(%rip), %rsi      # 0xc0b2
movl $0x3, %edx
movq %rbx, %rdi
callq 0x2150
jmp 0x8a59
movq %rsi, %r14
movb (%rsi), %al
leaq 0xf(%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 0x8a59
movl %eax, %r13d
leaq 0xd(%rsp), %r15
leaq 0xe(%rsp), %r12
movq 0x18(%r14), %rsi
movq 0x30(%r14), %rcx
movq %rsi, %rax
subq 0x20(%r14), %rax
movq %r13, %rdx
addq %rax, %rdx
js 0x89f5
cmpq $0x1ff, %rdx            # imm = 0x1FF
ja 0x89fb
addq %r13, %rsi
movq %rsi, %rax
jmp 0x8a10
sarq $0x9, %rdx
jmp 0x89ff
shrq $0x9, %rdx
movq %rdx, %rsi
shlq $0x9, %rsi
subq %rsi, %rax
addq (%rcx,%rdx,8), %rax
addq %r13, %rax
movb (%rax), %al
movb %al, 0xd(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2150
testq %r13, %r13
je 0x8a49
movl 0x58(%r14), %eax
cmpq %rax, %r13
jne 0x8a49
movb $0x2e, 0xe(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2150
leaq -0x1(%r13), %rax
testq %r13, %r13
movq %rax, %r13
jg 0x89cd
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x2dce
movq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x428c
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x8ad7
callq 0x2120
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8ae6
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 0x8b0c
callq 0x2120
jmp 0x8b0c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8b1b
callq 0x2120
movq %rbx, %rdi
callq 0x2200
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8b3c
leaq 0x3600(%rip), %rdi      # 0xc137
jmp 0x2040
movl 0x58(%rdi), %eax
movsd 0x34f1(%rip), %xmm1     # 0xc038
testl %eax, %eax
jle 0x8b5b
movsd 0x34ed(%rip), %xmm0     # 0xc040
divsd %xmm0, %xmm1
decl %eax
jne 0x8b53
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 0x8c08
movq %rax, %rsi
subq 0x20(%rdi), %rsi
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %r8d, %r8d
movsd 0x3491(%rip), %xmm2     # 0xc040
testq %rsi, %rsi
js 0x8bc3
cmpq $0x1ff, %rsi            # imm = 0x1FF
ja 0x8bcc
leaq (%rax,%r8), %r10
jmp 0x8be1
movq %rsi, %r9
sarq $0x9, %r9
jmp 0x8bd3
movq %rsi, %r9
shrq $0x9, %r9
movq (%rcx,%r9,8), %r10
shlq $0x9, %r9
subq %r9, %r10
addq %rsi, %r10
movsbl (%r10), %r9d
addl $-0x30, %r9d
xorps %xmm3, %xmm3
cvtsi2sd %r9d, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm3, %xmm0
mulsd %xmm2, %xmm1
incq %r8
incq %rsi
decq %rdx
jne 0x8baf
cmpb $0x2d, (%rdi)
jne 0x8c15
xorpd 0x343b(%rip), %xmm0     # 0xc050
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8c38
leaq 0x350d(%rip), %rdi      # 0xc137
callq 0x2040
cvtsd2ss %xmm0, %xmm0
jmp 0x8d0f
movl 0x58(%rdi), %eax
movss 0x342d(%rip), %xmm1     # 0xc070
testl %eax, %eax
jle 0x8c57
movss 0x3425(%rip), %xmm0     # 0xc074
divss %xmm0, %xmm1
decl %eax
jne 0x8c4f
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 0x8d03
movq %rax, %rsi
subq 0x20(%rdi), %rsi
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %r8d, %r8d
movss 0x33ca(%rip), %xmm2     # 0xc074
testq %rsi, %rsi
js 0x8cbe
cmpq $0x1ff, %rsi            # imm = 0x1FF
ja 0x8cc7
leaq (%rax,%r8), %r10
jmp 0x8cdc
movq %rsi, %r9
sarq $0x9, %r9
jmp 0x8cce
movq %rsi, %r9
shrq $0x9, %r9
movq (%rcx,%r9,8), %r10
shlq $0x9, %r9
subq %r9, %r10
addq %rsi, %r10
movsbl (%r10), %r9d
addl $-0x30, %r9d
xorps %xmm3, %xmm3
cvtsi2ss %r9d, %xmm3
mulss %xmm1, %xmm3
addss %xmm3, %xmm0
mulss %xmm2, %xmm1
incq %r8
incq %rsi
decq %rdx
jne 0x8caa
cmpb $0x2d, (%rdi)
jne 0x8d0f
xorps 0x3351(%rip), %xmm0     # 0xc060
popq %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8d7b
movq 0x8(%rbx), %rdx
leaq 0x334c(%rip), %rcx      # 0xc0b2
movl $0x3, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x21b0
jmp 0x8e7e
cmpb $0x2d, (%r14)
jne 0x8d98
leaq 0x20(%rsp), %rdi
leaq 0x7(%rsp), %rsi
movb $0x2d, (%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 0x8e6c
leaq 0x20(%rsp), %r15
movl %eax, %ebp
leaq 0x7(%rsp), %r12
leaq 0x32d2(%rip), %r13      # 0xc0b7
movq 0x18(%r14), %rsi
movq 0x30(%r14), %rcx
movq %rsi, %rax
subq 0x20(%r14), %rax
movq %rbp, %rdx
addq %rax, %rdx
js 0x8e0d
cmpq $0x1ff, %rdx            # imm = 0x1FF
ja 0x8e13
addq %rbp, %rsi
movq %rsi, %rax
jmp 0x8e28
sarq $0x9, %rdx
jmp 0x8e17
shrq $0x9, %rdx
movq %rdx, %rsi
shlq $0x9, %rsi
subq %rsi, %rax
addq (%rcx,%rdx,8), %rax
addq %rbp, %rax
movb (%rax), %al
movb %al, 0x7(%rsp)
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2150
testq %rbp, %rbp
je 0x8e5c
movl 0x58(%r14), %eax
cmpq %rax, %rbp
jne 0x8e5c
movl $0x1, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x2150
leaq -0x1(%rbp), %rax
testq %rbp, %rbp
movq %rax, %rbp
jg 0x8de5
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %r15
callq 0x2180
movq 0x7133(%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 0x8ee3
movq %r15, 0x8(%rsp)
jmp 0x8ec2
movq %rax, %r14
movq 0x70ec(%rip), %rsi      # 0xffb8
leaq 0x10(%rsp), %rdi
callq 0x20e0
leaq 0x90(%rsp), %rdi
callq 0x2060
movq (%rbx), %rdi
cmpq 0x8(%rsp), %rdi
je 0x8ef2
callq 0x2120
movq %r14, %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O3/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 0x9233
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq 0x18(%rbx), %rdx
movq 0x30(%rbx), %rax
movq %rdx, %rcx
subq 0x20(%rbx), %rcx
js 0x91fc
cmpq $0x200, %rcx            # imm = 0x200
jb 0x9214
movq %rcx, %rdx
shrq $0x9, %rdx
jmp 0x9203
movq %rcx, %rdx
sarq $0x9, %rdx
movq %rdx, %rsi
shlq $0x9, %rsi
subq %rsi, %rcx
addq (%rax,%rdx,8), %rcx
movq %rcx, %rdx
cmpb $0x30, (%rdx)
jne 0x922c
cmpl $0x0, 0x58(%rbx)
jle 0x922c
movq %r14, %rdi
callq 0x99fe
decl 0x58(%rbx)
jmp 0x91d9
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x48ff
movq %rdx, %rbx
movl %esi, %edx
testl %esi, %esi
je 0x48ff
cmpq $0x0, 0x8(%rdi)
je 0x48ff
movq (%rdi), %rsi
movq %rbx, %rdi
callq 0xb890
movq %rbx, %rdi
callq 0xbc44
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x1, %ecx
je 0x4926
movq 0xf9d7(%rip), %rdx      # 0x142c0
leaq 0xf9c8(%rip), %rdi      # 0x142b8
leaq 0x79db(%rip), %rcx      # 0xc2d2
movl $0x4e, %r8d
jmp 0x491a
movq 0xf9ba(%rip), %rdx      # 0x142c0
leaq 0xf9ab(%rip), %rdi      # 0x142b8
leaq 0x798a(%rip), %rcx      # 0xc29e
movl $0x33, %r8d
xorl %esi, %esi
callq 0x3420
movl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x868e
movq (%r14), %r14
movq %r15, %rdi
callq 0x8484
cmpq %rax, %r14
je 0x5e04
testb $0x4, 0x1f(%r14)
jne 0x5e19
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
jmp 0x5e35
addq $0x10, %r14
movq %r14, %rdi
callq 0x84c4
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x834e
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x688a(%rip), %rdx      # 0xc92d
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x868e
movq (%r14), %r14
movq %r15, %rdi
callq 0x8484
movq %rax, %rcx
movl $0x1, %eax
cmpq %rcx, %r14
je 0x61b4
cmpw $0x4, 0x1e(%r14)
jne 0x61b4
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 0x6822(%rip), %rdx      # 0xc922
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
callq 0x5dd1
movq %rsp, %rdi
leaq 0x38(%rsp), %r15
movq %r15, %rsi
callq 0x3330
movq (%r15), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x6137
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0x20(%rsp), %r15
movq -0x18(%r15), %rbp
testq %rbp, %rbp
je 0x618e
cmpw $0x4, 0x1e(%r14)
jne 0x61c3
movabsq $0xffffffffffff, %r12   # imm = 0xFFFFFFFFFFFF
andq 0x18(%r14), %r12
addq $0x10, %r14
movq %r14, %rdi
callq 0xa89a
cmpq %r12, %rax
je 0x6183
movq %rax, %r14
movq %r12, %rdi
movq %r15, %rsi
callq 0x5e42
addq $0x10, %r12
cmpq %r14, %r12
jne 0x616f
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x863c
movq %r15, %rdi
callq 0x89fe
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x61ac
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 0x8667(%rip), %rdi      # 0xe831
leaq 0x6de0(%rip), %rsi      # 0xcfb1
leaq 0x8663(%rip), %rcx      # 0xe83b
movl $0x703, %edx            # imm = 0x703
callq 0x31a0
jmp 0x61e6
jmp 0x61e6
movq %rax, %rbx
movq %rsp, %rdi
callq 0x8666
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x6729(%rip), %rdx      # 0xc936
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x868e
movq (%r15), %r15
movq %r14, %rdi
callq 0x8484
xorl %ebp, %ebp
cmpq %rax, %r15
je 0x6276
cmpw $0x4, 0x1e(%r15)
jne 0x6276
movabsq $0xffffffffffff, %r14   # imm = 0xFFFFFFFFFFFF
andq 0x18(%r15), %r14
addq $0x10, %r15
movq %r15, %rdi
callq 0xa89a
cmpq %r14, %rax
je 0x6276
movq %rax, %r15
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6088
testl %eax, %eax
jne 0x6271
addq $0x10, %r14
cmpq %r15, %r14
jne 0x6257
jmp 0x6276
movl $0x1, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x6054(%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 0x6988
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 0x69b4
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x30d0
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x69c7
movq (%r15), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
callq 0x34a0