LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/oknenavin[P]cxon/test/../src/cxon/lang/cbor/node/node.hxx
// Function: cxon::cbor::basic_node<cxon::cbor::node_traits<std::allocator<char>>>::basic_node(cxon::cbor::basic_node<cxon::cbor::node_traits<std::allocator<char>>> const&, std::allocator<cxon::cbor::basic_node<cxon::cbor::node_traits<std::allocator<char>>>> const&)
basic_node(const basic_node& o, const allocator_type& al)
                noexcept(value::is_nothrow_copy_constructible<basic_node>::value)
            :   kind_(o.kind_), alloc_(al)
            {
                switch (o.kind_) {
#                   define CXON_CBOR_TYPE_DEF(T)    case node_kind::T: value::copy_construct<T>(*this, o); break
                        CXON_CBOR_TYPE_DEF(map);
                        CXON_CBOR_TYPE_DEF(array);
                        CXON_CBOR_TYPE_DEF(tag);
                        CXON_CBOR_TYPE_DEF(bytes);
                        CXON_CBOR_TYPE_DEF(text);
                        CXON_CBOR_TYPE_DEF(real);
                        CXON_CBOR_TYPE_DEF(sint);
                        CXON_CBOR_TYPE_DEF(uint);
                        CXON_CBOR_TYPE_DEF(simple);
                        CXON_CBOR_TYPE_DEF(boolean);
                        CXON_CBOR_TYPE_DEF(null);
                        CXON_CBOR_TYPE_DEF(undefined);
#                   undef CXON_CBOR_TYPE_DEF
                }
            }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl 0x20(%rsi), %eax
movl %eax, 0x20(%rdi)
movl 0x20(%rsi), %eax
cmpq $0xa, %rax
ja 0x35f6c
movq %rdi, %rbx
leaq 0x12755(%rip), %rcx     # 0x485f0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq (%rsi), %rax
movq %rax, (%rbx)
jmp 0x35f6c
movb (%rsi), %al
movb %al, (%rbx)
jmp 0x35f6c
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x131ac
movq (%rsi), %r14
movl $0x30, %edi
callq 0x4230
movq %rax, (%rbx)
movq (%r14), %rcx
movq %rcx, (%rax)
leaq 0x8(%rax), %rdi
addq $0x8, %r14
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x35994
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
callq 0x24a46
jmp 0x35f6c
movq (%rsi), %r14
movl $0x30, %edi
callq 0x4230
movq %rax, (%rbx)
leaq 0x5(%rsp), %rdx
movq %rax, %rdi
movq %r14, %rsi
callq 0x3eabc
jmp 0x35f6c
movq (%rsi), %r14
movl $0x18, %edi
callq 0x4230
movq %rax, (%rbx)
leaq 0x6(%rsp), %rdx
movq %rax, %rdi
movq %r14, %rsi
callq 0x3e9a4
jmp 0x35f6c
movq $0x0, (%rbx)
jmp 0x35f6c
movsd (%rsi), %xmm0
movsd %xmm0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/oknenavin[P]cxon/test/../src/cxon/lang/cbor/node/node.hxx
// Function: cxon::cbor::basic_node<test::kind::unordered_node_traits<std::allocator<char>>>::operator=(std::initializer_list<cxon::cbor::basic_node<test::kind::unordered_node_traits<std::allocator<char>>>>)
basic_node& operator =(std::initializer_list<basic_node> l) {
                    bool const obj = l.size() == 0 || std::all_of(l.begin(), l.end(), [&](const basic_node& e) {
                        return e.template is<array>() && e.template get<array>().size() == 2;
                    });
                    if (obj) {
                        auto& o = imbue<map>();
                        for (auto& e : l) {
                            auto& a = e.template get<array>();
                            cxon::cnt::append(o, {a[0], a[1]});
                        }
                    }
                    else
                        imbue<array>() = l;
                    return *this;
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
testq %rdx, %rdx
movq %rdi, (%rsp)
je 0x361fb
leaq (,%r13,4), %rax
addq %r13, %rax
leaq (%r14,%rax,8), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x43e97
cmpq %r15, %rax
je 0x361fb
movq %rbx, %rdi
callq 0x43e5e
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x44e82
jmp 0x3625d
movq %rbx, %rdi
callq 0x43ddc
testq %r13, %r13
je 0x3625d
movq %rax, %r15
leaq 0x30(%rsp), %r12
shlq $0x3, %r13
leaq (,%r13,4), %rbp
addq %r13, %rbp
xorl %ebx, %ebx
leaq 0x8(%rsp), %r13
movq (%r14,%rbx), %rax
movq (%rax), %rsi
leaq 0x28(%rsi), %rdx
movq %r13, %rdi
callq 0x43e28
movq %r15, %rdi
movq %r13, %rsi
callq 0x43ffa
movq %r12, %rdi
callq 0x43cb8
movq %r13, %rdi
callq 0x43cb8
addq $0x28, %rbx
cmpq %rbx, %rbp
jne 0x36226
movq (%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x43cb8
leaq 0x8(%rsp), %rdi
callq 0x43cb8
movq %rbx, %rdi
callq 0x43b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/oknenavin[P]cxon/test/../src/cxon/lang/cbor/node/node.hxx
// Function: cxon::cbor::operator<(cxon::cbor::basic_node<cxon::cbor::node_traits<test::kind::my_allocator<char>>> const&, cxon::cbor::basic_node<cxon::cbor::node_traits<test::kind::my_allocator<char>>> const&)
bool operator <(const basic_node& f, const basic_node& s) noexcept {
                    if (f.kind_ != s.kind_)
                        return f.kind_ < s.kind_;
                    switch (f.kind_) {
#                       define CXON_CBOR_TYPE_DEF(T)    case node_kind::T: return f.get<T>() < s.get<T>()
                            CXON_CBOR_TYPE_DEF(map);
                            CXON_CBOR_TYPE_DEF(array);
                            CXON_CBOR_TYPE_DEF(tag);
                            CXON_CBOR_TYPE_DEF(bytes);
                            CXON_CBOR_TYPE_DEF(text);
                            CXON_CBOR_TYPE_DEF(real);
                            CXON_CBOR_TYPE_DEF(sint);
                            CXON_CBOR_TYPE_DEF(uint);
                            CXON_CBOR_TYPE_DEF(simple);
                            CXON_CBOR_TYPE_DEF(boolean);
                            case node_kind::null: return false;
                            CXON_CBOR_TYPE_DEF(undefined);
#                       undef CXON_CBOR_TYPE_DEF
                    }
                    return false; // LCOV_EXCL_LINE
                }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl 0x20(%rdi), %eax
cmpl 0x20(%rsi), %eax
jne 0x45ff7
cmpl $0x2, %eax
jne 0x45fcb
movq (%rdi), %rdi
movq (%rsi), %rsi
movq (%rdi), %rax
movq (%rsi), %rcx
cmpq %rcx, %rax
jb 0x46097
jne 0x4609b
addq $0x8, %rdi
addq $0x8, %rsi
jmp 0x45f99
xorl %ebx, %ebx
cmpl $0x9, %eax
ja 0x460ae
movl %eax, %eax
leaq 0x2d4d(%rip), %rcx      # 0x48d2c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb (%rdi), %al
cmpb (%rsi), %al
jmp 0x46092
movq (%rdi), %rax
cmpq (%rsi), %rax
setl %bl
jmp 0x460ae
movq (%rdi), %rax
movq (%rsi), %rcx
movq (%rax), %rdi
movq 0x8(%rax), %rsi
movq (%rcx), %rdx
movq 0x8(%rcx), %rcx
callq 0x461ba
jmp 0x46038
movq (%rdi), %rax
movq (%rsi), %rcx
movq 0x18(%rax), %rdi
addq $0x8, %rax
movq 0x18(%rcx), %rdx
addq $0x8, %rcx
movq %rax, %rsi
callq 0x460c0
movl %eax, %ebx
jmp 0x460ae
movsd (%rsi), %xmm0
ucomisd (%rdi), %xmm0
seta %bl
jmp 0x460ae
movq (%rdi), %rax
movq 0x8(%rdi), %rbx
movq (%rsi), %rcx
movq 0x8(%rsi), %r14
subq %rax, %rbx
subq %rcx, %r14
cmpq %rbx, %r14
movq %rbx, %rdx
cmovbq %r14, %rdx
testq %rdx, %rdx
je 0x4609f
movq %rax, %rdi
movq %rcx, %rsi
callq 0x4120
testl %eax, %eax
sete %cl
cltq
jmp 0x460a1
callq 0x46224
movl %eax, %ebx
shrl $0x1f, %ebx
jmp 0x460ae
movq (%rdi), %rax
cmpq (%rsi), %rax
setb %bl
jmp 0x460ae
movb $0x1, %bl
jmp 0x460ae
xorl %ebx, %ebx
jmp 0x460ae
movb $0x1, %cl
subq %r14, %rbx
testb %cl, %cl
cmoveq %rax, %rbx
shrq $0x3f, %rbx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x8424
// File: /workspace/github_cpp_makefile_star2_O1/chiku[P]cmatrix/demo/io_demo.cpp
// Function: main
int main()
{
    int size = 5;
    cmatrix::Matrix<double> matrix(size, size);
    matrix.fillByPosition(new testFunctionoid, size/2, size/2, 1.0/size, 1.0/size);
    std::cout << matrix << std::endl;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
movq $0x0, 0x20(%rdi)
movl $0x5, %esi
movl $0x5, %edx
callq 0x262a
movl $0x1, %edi
callq 0x2140
movq %rsp, %rdi
movsd 0xcac(%rip), %xmm0      # 0x3008
movl $0x2, %edx
movl $0x2, %ecx
movq %rax, %rsi
movaps %xmm0, %xmm1
callq 0x2406
movq 0x2c60(%rip), %rdi      # 0x4fd8
movq %rsp, %rsi
callq 0x24d5
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20a0
cmpq $0x0, 0x10(%rsp)
je 0x23cd
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x2a34
xorps %xmm0, %xmm0
movaps %xmm0, -0x10(%rbx)
movq $0x0, (%rbx)
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
cmpq $0x0, 0x10(%rsp)
je 0x23fe
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x2a34
xorps %xmm0, %xmm0
movaps %xmm0, -0x10(%r14)
movq $0x0, (%r14)
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/chiku[P]cmatrix/src/impl/matrix/functionoid.cpp
// Function: cmatrix::Matrix<double>& cmatrix::Matrix<double>::fillByPosition<testFunctionoid*>(testFunctionoid*, long, long, double, double)
Matrix<Type>& Matrix<Type>::fillByPosition(FunctObj function, long int xShift, long int yShift, Type xScale, Type yScale)
{
    for (int i = 0; i < rows(); i++) {
        for (int j = 0; j < columns(); j++) {
            access(i, j) = (*function)((i - xShift) * xScale, (j - yShift) * yScale);
        }
    }

    return (*this);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movsd %xmm0, (%rsp)
movq %rdi, %r14
cmpq $0x0, (%rdi)
jle 0x24c3
movq %rcx, %rbx
movq %rdx, %r15
negq %rbx
xorl %r12d, %r12d
xorl %r13d, %r13d
movsd %xmm1, 0x8(%rsp)
cmpq $0x0, 0x8(%r14)
jle 0x24b3
movq %r13, %rax
subq %r15, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
mulsd (%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
xorl %ebp, %ebp
leaq (%rbx,%rbp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
mulsd %xmm1, %xmm0
mulsd 0x10(%rsp), %xmm0
callq 0x2040
movsd 0xb90(%rip), %xmm2      # 0x3010
movsd 0x8(%rsp), %xmm1
addsd %xmm2, %xmm0
movsd 0xb86(%rip), %xmm2      # 0x3018
mulsd %xmm2, %xmm0
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
imulq %r12, %rcx
addq (%rax), %rcx
movsd %xmm0, (%rcx,%rbp,8)
incq %rbp
cmpq %rbp, 0x8(%r14)
jg 0x245d
incq %r13
addq $0x8, %r12
cmpq %r13, (%r14)
jg 0x243b
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chiku[P]cmatrix/src/impl/matrix/io/stream.cpp
// Function: std::ostream& cmatrix::operator<<<double>(std::ostream&, cmatrix::Matrix<double> const&)
std::ostream& operator << (std::ostream& outputStream, const Matrix<Type>& matrix)
{
    for (int i = 0; i < matrix.rows(); i++) {
        for (int j = 0; j< matrix.columns(); j++) {
            outputStream << std::setiosflags(std::ios::fixed) << std::setprecision(4) << matrix.access(i, j) << std::string("\t");
        }

        outputStream << std::string("\n");
    }

    return outputStream;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
cmpq $0x0, (%rsi)
jle 0x25ee
movq %rsi, %r14
leaq 0x10(%rsp), %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
movq %r13, 0x20(%rsp)
cmpq $0x0, 0x8(%r14)
jle 0x2598
xorl %r13d, %r13d
movq (%rbx), %rax
movq -0x18(%rax), %rcx
orl $0x4, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x4, 0x8(%rbx,%rax)
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
imulq %r12, %rcx
addq (%rax), %rcx
movsd (%rcx,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x21a0
movq %rax, %rbp
movq %r15, (%rsp)
movq %rsp, %rdi
leaq 0xba5(%rip), %rsi       # 0x30fd
leaq 0xb9f(%rip), %rdx       # 0x30fe
callq 0x2b08
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbp, %rdi
callq 0x2160
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x258b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2150
incq %r13
cmpq %r13, 0x8(%r14)
jg 0x2511
movq %r15, (%rsp)
movq %rsp, %rdi
leaq 0xb59(%rip), %rsi       # 0x30ff
leaq 0xb53(%rip), %rdx       # 0x3100
callq 0x2b08
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x2160
movq (%rsp), %rdi
cmpq %r15, %rdi
movq 0x20(%rsp), %r13
je 0x25de
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2150
incq %r13
addq $0x8, %r12
cmpq %r13, (%r14)
jg 0x24fe
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x261f
jmp 0x2604
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2622
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x2622
movq %rax, %rbx
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/chiku[P]cmatrix/src/impl/matrix/base.cpp
// Function: cmatrix::Matrix<double>::setSize(long, long)
void Matrix<Type>::setSize(long int rows, long int columns)
{
    if ((*this).rows() > 0 && (*this).columns() > 0 && !size.matches(rows, columns)) {
        throw Exception::InvalidSizeReset(ExceptionBody::BadSizeReset(size, rows, columns));
    }

    if (rows < 0 || columns < 0) {
        throw Exception::InvalidSizeSet(ExceptionBody::InvalidSizeSet(rows, columns));
    }

    clearMemory();

    size.set(rows, columns);

    engine.allocateMemory(size);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rdi), %rax
testq %rax, %rax
jle 0x2663
movq 0x8(%r12), %rcx
testq %rcx, %rcx
jle 0x2663
cmpq %r15, %rax
jne 0x2701
cmpq %r14, %rcx
jne 0x2701
movq %r14, %rax
orq %r15, %rax
js 0x26b4
leaq 0x10(%r12), %rbx
cmpq $0x0, 0x10(%r12)
je 0x2691
movq %rbx, %rdi
callq 0x2a34
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq $0x0, 0x10(%r12)
movq %r15, (%r12)
movq %r14, 0x8(%r12)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x29a2
movl $0x10, %edi
callq 0x2070
movq %rax, %rbx
movq %rsp, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x28da
movb $0x1, %bpl
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x2170
leaq 0x26ac(%rip), %rax      # 0x4d90
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0x2650(%rip), %rsi      # 0x4d40
movq 0x28d9(%rip), %rdx      # 0x4fd0
movq %rbx, %rdi
callq 0x21b0
jmp 0x2759
movl $0x10, %edi
callq 0x2070
movq %rax, %rbx
movq (%r12), %rsi
movq 0x8(%r12), %rdx
leaq 0x20(%rsp), %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x27ae
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x2170
leaq 0x262a(%rip), %rax      # 0x4d68
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0x25de(%rip), %rsi      # 0x4d28
movq 0x287f(%rip), %rdx      # 0x4fd0
movq %rbx, %rdi
callq 0x21b0
movq %rax, %r14
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2799
movq 0x30(%rsp), %rsi
jmp 0x2789
jmp 0x2793
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2799
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2150
jmp 0x2799
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x27a6
movq %rbx, %rdi
callq 0x20d0
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/chiku[P]cmatrix/src/exception.h
// Function: cmatrix::ExceptionBody::BadSizeReset[abi:cxx11](cmatrix::Size, long, long)
static std::basic_string<char> BadSizeReset(Size bounds, long int rows, long int columns)
        {
            std::stringstream message;
            message << "Invalid attempt to reset rows to " << rows << " and columns to " << columns
                    << " from [" << bounds.getRows() << ", " << bounds.getColumns() << "]";
            return message.str();
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x20b0
leaq 0x10(%rsp), %rbp
leaq 0x88a(%rip), %rsi       # 0x306c
movl $0x21, %edx
movq %rbp, %rdi
callq 0x2160
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2120
movq %rax, %r13
leaq 0x88a(%rip), %rsi       # 0x308e
movl $0x10, %edx
movq %rax, %rdi
callq 0x2160
movq %r13, %rdi
movq %r12, %rsi
callq 0x2120
movq %rax, %r12
leaq 0x879(%rip), %rsi       # 0x309f
movl $0x7, %edx
movq %rax, %rdi
callq 0x2160
movq %r12, %rdi
movq %r15, %rsi
callq 0x2120
movq %rax, %r15
leaq 0x85f(%rip), %rsi       # 0x30a7
movl $0x2, %edx
movq %rax, %rdi
callq 0x2160
movq %r15, %rdi
movq %r14, %rsi
callq 0x2120
leaq 0x843(%rip), %rsi       # 0x30aa
movl $0x1, %edx
movq %rax, %rdi
callq 0x2160
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0x2190
movq 0x2730(%rip), %rsi      # 0x4fb8
movq %rsp, %rdi
callq 0x20e0
leaq 0x80(%rsp), %rdi
callq 0x2050
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x26fc(%rip), %rsi      # 0x4fb8
movq %rsp, %rdi
callq 0x20e0
leaq 0x80(%rsp), %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/B2bDecoder.cpp
// Function: B2b::B2b()
B2b::B2b(){
	lbdtime = false;
	mjd0 = mjd1 = 0;
	sod0 = sod1 = 0.0;
	/******* if want to use the whole prn list,use this code to update cprn_list,other wise will use  ******/
	cprn_list.clear();
	for(int i = 0 ; i < 32;i++){
		char cprn[4] = {0};
		sprintf(cprn,"G%02d",i + 1);
		cprn_list.push_back(cprn);
	}
	for(int i = 0 ; i < 59;i++){
		char cprn[4] = {0};
		sprintf(cprn,"C%02d",i + 1);
		cprn_list.push_back(cprn);
	}
	/***********************************************************************************/
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
leaq 0x20(%rdi), %rax
movq %rax, -0x68(%rbp)
leaq 0xe5e4(%rip), %rax      # 0x11d00
addq $0x10, %rax
movq %rax, 0x20(%rdi)
leaq 0x48(%rdi), %rax
movl $0xa8, %ecx
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
addq $0x18, %rax
addq $-0x18, %rcx
jne 0x372d
leaq 0xf0(%rdi), %rax
movq %rax, 0xf8(%rdi)
movq %rax, 0xf0(%rdi)
xorl %eax, %eax
movq %rax, 0x100(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x34(%rdi)
leaq 0xe5ca(%rip), %rcx      # 0x11d40
addq $0x10, %rcx
movq %rcx, 0x20(%rdi)
leaq 0x730(%rdi), %rcx
movq %rcx, 0x720(%rdi)
movq %rax, 0x728(%rdi)
movb $0x0, 0x730(%rdi)
leaq 0xd48(%rdi), %rcx
movq %rcx, -0x58(%rbp)
leaq 0xd78(%rdi), %r12
movl $0x0, 0x8(%rdi)
movq %rax, (%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, 0xd48(%rdi)
movups %xmm0, 0xd58(%rdi)
movups %xmm0, 0xd68(%rdi)
movups %xmm0, 0xd78(%rdi)
movq %rdi, -0x60(%rbp)
movq %rax, 0xd88(%rdi)
movq %r12, %rdi
callq 0x5534
movl $0x1, %r13d
leaq -0x40(%rbp), %rbx
leaq -0x2c(%rbp), %r15
leaq -0x50(%rbp), %r14
movl $0x0, -0x2c(%rbp)
movq %r15, %rdi
leaq 0x9894(%rip), %rsi      # 0xd0a0
movl %r13d, %edx
xorl %eax, %eax
callq 0x3080
movq %rbx, -0x50(%rbp)
movq %r15, %rdi
callq 0x3150
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x5e72
movq %r12, %rdi
movq %r14, %rsi
callq 0x5c08
movq -0x50(%rbp), %rdi
cmpq %rbx, %rdi
je 0x384e
callq 0x3280
incl %r13d
cmpl $0x21, %r13d
jne 0x37fb
movl $0x1, %r13d
leaq -0x2c(%rbp), %r15
leaq -0x50(%rbp), %r14
movl $0x0, -0x2c(%rbp)
movq %r15, %rdi
leaq 0x9830(%rip), %rsi      # 0xd0a6
movl %r13d, %edx
xorl %eax, %eax
callq 0x3080
movq %rbx, -0x50(%rbp)
movq %r15, %rdi
callq 0x3150
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x5e72
movq %r12, %rdi
movq %r14, %rsi
callq 0x5c08
movq -0x50(%rbp), %rdi
cmpq %rbx, %rdi
je 0x38b8
callq 0x3280
incl %r13d
cmpl $0x3c, %r13d
jne 0x3865
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x38d4
jmp 0x38d9
movq %rax, %r13
jmp 0x38ea
movq %rax, %r13
movq -0x50(%rbp), %rdi
cmpq %rbx, %rdi
je 0x38ea
callq 0x3280
movq -0x60(%rbp), %rbx
addq $0xd60, %rbx            # imm = 0xD60
movq %r12, %rdi
callq 0x557a
movq %rbx, %rdi
callq 0x55c8
movq -0x58(%rbp), %rdi
callq 0x560e
movq -0x68(%rbp), %rdi
callq 0x5654
movq %r13, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/B2bDecoder.cpp
// Function: B2b::m_process()
void B2b::m_process(){
	m_loadorbclk();
	nav.v_openRnxEph(toString(mjd0) + ":" + toString(sod0));
	m_genclock();
	m_geneph();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
callq 0x3920
leaq -0x90(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5825
leaq 0xa236(%rip), %rsi      # 0xe1e1
movq %r14, %rdi
callq 0x34f0
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3fd7
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x3fde
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x10(%rbx), %rsi
leaq -0x70(%rbp), %rdi
callq 0x58be
movq -0x50(%rbp), %rcx
movq -0x48(%rbp), %r8
movq -0x68(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r14, %rcx
je 0x4020
movq -0x40(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x403d
leaq -0x60(%rbp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x4038
movq -0x60(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x404c
movq -0x70(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x30f0
jmp 0x4059
leaq -0x70(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3310
leaq -0x20(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x407a
movq %rsi, -0x30(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x20(%rbp)
jmp 0x4080
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x28(%rbp)
movq %rcx, (%rax)
leaq 0x20(%rbx), %rdi
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x30(%rbp), %rsi
callq 0xa7ce
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40bb
callq 0x3280
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40cd
callq 0x3280
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x40db
callq 0x3280
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40ed
callq 0x3280
movq %rbx, %rdi
callq 0x4168
movq %rbx, %rdi
callq 0x45e0
addq $0x80, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4123
callq 0x3280
jmp 0x4123
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x413a
callq 0x3280
jmp 0x413a
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x414d
callq 0x3280
jmp 0x414d
movq %rax, %rbx
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x415f
callq 0x3280
movq %rbx, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: BroadcastEphUtils::glsinit(double*, GLSEPH&)
void BroadcastEphUtils::glsinit(double* x, GLSEPH& eph) {
	int i;
	for (i = 0; i < 3; i++)
		x[i] = eph.pos[i];
	for (i = 3; i < 6; i++)
		x[i] = eph.vel[i - 3];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
movsd 0x30(%rdx,%rax,8), %xmm0
movsd %xmm0, (%rsi,%rax,8)
incq %rax
cmpq $0x3, %rax
jne 0x86f4
xorl %eax, %eax
movsd 0x48(%rdx,%rax,8), %xmm0
movsd %xmm0, 0x18(%rsi,%rax,8)
incq %rax
cmpq $0x3, %rax
jne 0x870a
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: BroadcastEphUtils::glsrkf4(double, double*, GLSEPH&)
void BroadcastEphUtils::glsrkf4(double h, double* x, GLSEPH& eph) {
	int i, j;
	double coef[4], xj[6], acc[6], funct[6];
	coef[0] = h / 2;
	coef[1] = h / 2;
	coef[2] = h;
	coef[3] = h;
	for (i = 0; i < 6; i++)
		xj[i] = x[i];
	glsfright(xj, acc, eph);
	for (i = 0; i < 6; i++)
		funct[i] = xj[i];
	for (j = 0; j < 3; j++) {
		for (i = 0; i < 6; i++) {
			xj[i] = x[i] + coef[j] * acc[i];
			funct[i] = funct[i] + coef[j + 1] * acc[i] / 3.0;
		}
		glsfright(xj, acc, eph);
	}
	for (i = 0; i < 6; i++)
		x[i] = funct[i] + h * acc[i] / 6.0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movsd 0x560c(%rip), %xmm1     # 0xdd50
mulsd %xmm0, %xmm1
movsd %xmm1, -0x50(%rbp)
movsd %xmm1, -0x48(%rbp)
movsd %xmm0, -0x40(%rbp)
movsd %xmm0, -0x30(%rbp)
movsd %xmm0, -0x38(%rbp)
movups (%rsi), %xmm0
movups 0x10(%rsi), %xmm1
movups 0x20(%rsi), %xmm2
leaq -0xe0(%rbp), %r15
movaps %xmm0, (%r15)
movaps %xmm1, 0x10(%r15)
movaps %xmm2, 0x20(%r15)
leaq -0xb0(%rbp), %r12
movq %r15, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x8baa
movapd (%r15), %xmm0
movapd 0x10(%r15), %xmm1
movapd 0x20(%r15), %xmm2
movapd %xmm2, -0x60(%rbp)
movapd %xmm1, -0x70(%rbp)
movapd %xmm0, -0x80(%rbp)
xorl %r13d, %r13d
movsd 0x55d7(%rip), %xmm4     # 0xdd98
movsd -0x50(%rbp,%r13,8), %xmm0
movsd -0x48(%rbp,%r13,8), %xmm1
incq %r13
xorl %eax, %eax
movsd -0xb0(%rbp,%rax,8), %xmm2
movapd %xmm0, %xmm3
mulsd %xmm2, %xmm3
addsd (%rbx,%rax,8), %xmm3
mulsd %xmm1, %xmm2
divsd %xmm4, %xmm2
addsd -0x80(%rbp,%rax,8), %xmm2
movsd %xmm3, -0xe0(%rbp,%rax,8)
movsd %xmm2, -0x80(%rbp,%rax,8)
incq %rax
cmpq $0x6, %rax
jne 0x87d4
movq %r15, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x8baa
movsd 0x5572(%rip), %xmm4     # 0xdd98
cmpq $0x3, %r13
jne 0x87c1
xorl %eax, %eax
movsd 0x5502(%rip), %xmm0     # 0xdd38
movsd -0x30(%rbp), %xmm2
movsd -0xb0(%rbp,%rax,8), %xmm1
mulsd %xmm2, %xmm1
divsd %xmm0, %xmm1
addsd -0x80(%rbp,%rax,8), %xmm1
movsd %xmm1, (%rbx,%rax,8)
incq %rax
cmpq $0x6, %rax
jne 0x883b
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: BroadcastEphUtils::glsfright(double*, double*, GLSEPH&)
void BroadcastEphUtils::glsfright(double* x, double* acc, GLSEPH& eph) {
	const double c20 = -1.08262575e-3;
	const double GMEARTH = 3.986004418e5;
	const double EROT = 7.292115e-5;
	const double ER = 6.378136e3;
	int i;
	double factor1, factor2, r, vec1[3], vec2[3];
	r = sqrt(x[0] * x[0] + x[1] * x[1] + x[2] * x[2]);
	factor1 = -GMEARTH / pow(r, 3);
	factor2 = 1.5 * GMEARTH * c20 * ER * ER / pow(r, 5);
	vec1[0] = EROT * EROT * x[0] + 2.0 * EROT * x[4];
	vec1[1] = EROT * EROT * x[1] - 2.0 * EROT * x[3];
	vec1[2] = 0.0;
	vec2[0] = x[0] * (1.0 - 5.0 * pow((x[2] / r), 2));
	vec2[1] = x[1] * (1.0 - 5.0 * pow((x[2] / r), 2));
	vec2[2] = x[2] * (3.0 - 5.0 * pow((x[2] / r), 2));
	for (i = 0; i < 3; i++) {
		acc[i] = x[i + 3];
		acc[i + 3] = eph.acc[i] + vec1[i] + factor2 * vec2[i] + factor1 * x[i];
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movsd (%rsi), %xmm1
movsd 0x8(%rsi), %xmm0
mulsd %xmm0, %xmm0
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
movsd 0x10(%rsi), %xmm0
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x8bf2
sqrtsd %xmm0, %xmm0
jmp 0x8bf7
callq 0x3230
movsd 0x5199(%rip), %xmm1     # 0xdd98
movsd %xmm0, -0x20(%rbp)
callq 0x34a0
movsd 0x51a7(%rip), %xmm1     # 0xddb8
divsd %xmm0, %xmm1
movsd %xmm1, -0x28(%rbp)
movsd 0x519e(%rip), %xmm1     # 0xddc0
movsd -0x20(%rbp), %xmm0
callq 0x34a0
movsd (%r15), %xmm2
movsd 0x20(%r15), %xmm1
mulsd 0x5191(%rip), %xmm1     # 0xddd0
movsd 0x5191(%rip), %xmm3     # 0xddd8
movapd %xmm2, %xmm4
mulsd %xmm3, %xmm4
addsd %xmm1, %xmm4
movsd 0x516d(%rip), %xmm1     # 0xddc8
movsd %xmm4, -0x60(%rbp)
movsd 0x18(%r15), %xmm4
mulsd 0x5172(%rip), %xmm4     # 0xdde0
divsd %xmm0, %xmm1
mulsd 0x8(%r15), %xmm3
addsd %xmm4, %xmm3
movsd %xmm3, -0x58(%rbp)
movq $0x0, -0x50(%rbp)
movsd 0x10(%r15), %xmm0
movsd -0x20(%rbp), %xmm5
divsd %xmm5, %xmm0
mulsd %xmm0, %xmm0
movsd 0x5144(%rip), %xmm3     # 0xdde8
mulsd %xmm3, %xmm0
movsd 0x50a8(%rip), %xmm4     # 0xdd58
addsd %xmm4, %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, -0x40(%rbp)
movsd 0x10(%r15), %xmm0
divsd %xmm5, %xmm0
mulsd %xmm0, %xmm0
mulsd %xmm3, %xmm0
addsd %xmm4, %xmm0
mulsd 0x8(%r15), %xmm0
movsd %xmm0, -0x38(%rbp)
movsd 0x10(%r15), %xmm0
movapd %xmm0, %xmm2
divsd %xmm5, %xmm2
mulsd %xmm2, %xmm2
mulsd %xmm3, %xmm2
movsd -0x28(%rbp), %xmm3
addsd 0x5097(%rip), %xmm2     # 0xdd98
mulsd %xmm0, %xmm2
movsd %xmm2, -0x30(%rbp)
xorl %eax, %eax
movsd 0x18(%r15,%rax), %xmm0
movsd %xmm0, (%r14,%rax)
movsd 0x60(%rbx,%rax), %xmm0
addsd -0x60(%rbp,%rax), %xmm0
movsd -0x40(%rbp,%rax), %xmm2
mulsd %xmm1, %xmm2
addsd %xmm0, %xmm2
movsd (%r15,%rax), %xmm0
mulsd %xmm3, %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, 0x18(%r14,%rax)
addq $0x8, %rax
cmpq $0x18, %rax
jne 0x8d0c
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: RnxNavFile::v_readOrbit(char const*, int, double, double*)
int RnxNavFile::v_readOrbit(const char* cprn, int mjd, double sod,
		double* xsat) {
	// using rinex navigation file to acquire orbit
	int wk, iode = -1;
	double sow, tgd, dtmin, sclk;
	mjd2wksow(mjd, sod, &wk, &sow);
	if (cprn[0] != 'R')
		if (cprn[0] == 'C')
			return this->m_brd2xyz("yyy", cprn, wk, sow - 14.0, xsat, &sclk,
					&dtmin, &tgd, &iode);
		else
			return this->m_brd2xyz("yyy", cprn, wk, sow, xsat, &sclk, &dtmin,
					&tgd, &iode);
	else
		return this->m_gls2xyz("yyy", cprn, wk, sow, xsat, &sclk, &dtmin, &iode);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0xffffffff, -0x2c(%rbp) # imm = 0xFFFFFFFF
leaq -0x4c(%rbp), %r12
leaq -0x58(%rbp), %r13
movl %edx, %edi
movq %r12, %rsi
movq %r13, %rdx
callq 0xb48b
movzbl (%r14), %eax
movl (%r12), %ecx
movsd (%r13), %xmm0
cmpl $0x52, %eax
je 0xa6ca
cmpl $0x43, %eax
jne 0xa694
addsd 0x378c(%rip), %xmm0     # 0xde20
movq (%r15), %rax
subq $0x8, %rsp
leaq -0x2c(%rbp), %r10
leaq -0x48(%rbp), %r11
leaq -0x40(%rbp), %r12
leaq 0x3b35(%rip), %rsi      # 0xe1e3
leaq -0x38(%rbp), %r9
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %r8
pushq %r10
pushq %r11
pushq %r12
callq *0x10(%rax)
addq $0x20, %rsp
jmp 0xa6f4
movq (%r15), %rax
leaq -0x2c(%rbp), %r10
leaq -0x40(%rbp), %r11
leaq 0x3b07(%rip), %rsi      # 0xe1e3
leaq -0x38(%rbp), %r9
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %r8
pushq %r10
pushq %r11
callq *0x18(%rax)
addq $0x10, %rsp
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: RnxNavFile::v_readClk(char const*, int, double, double*)
int RnxNavFile::v_readClk(const char* cprn, int mjd, double sod, double* sclk) {
	// using rinex navigation file to acquire satellite clock
	int wk, iode = -1;
	double sow, tgd, dtmin;
	mjd2wksow(mjd, sod, &wk, &sow);
	*sclk = 0.0;
	if (cprn[0] != 'R')
		if (cprn[0] == 'C')
			return this->m_brd2xyz("ynn", cprn, wk, sow - 14.0, NULL, sclk,
					&dtmin, &tgd, &iode);
		else
			return this->m_brd2xyz("ynn", cprn, wk, sow, NULL, sclk, &dtmin,
					&tgd, &iode);
	else
		return this->m_gls2xyz("ynn", cprn, wk, sow, NULL, sclk, &dtmin, &iode);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0xffffffff, -0x2c(%rbp) # imm = 0xFFFFFFFF
leaq -0x44(%rbp), %r12
leaq -0x50(%rbp), %r13
movl %edx, %edi
movq %r12, %rsi
movq %r13, %rdx
callq 0xb48b
movq $0x0, (%rbx)
movzbl (%r14), %eax
movl (%r12), %ecx
movsd (%r13), %xmm0
cmpl $0x52, %eax
je 0xa796
cmpl $0x43, %eax
jne 0xa761
addsd 0x36bf(%rip), %xmm0     # 0xde20
movq (%r15), %rax
subq $0x8, %rsp
leaq -0x2c(%rbp), %r10
leaq -0x40(%rbp), %r11
leaq -0x38(%rbp), %r12
leaq 0x37b5(%rip), %rsi      # 0xdf30
movq %r15, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movq %rbx, %r9
pushq %r10
pushq %r11
pushq %r12
callq *0x10(%rax)
addq $0x20, %rsp
jmp 0xa7bf
movq (%r15), %rax
leaq -0x2c(%rbp), %r10
leaq -0x38(%rbp), %r11
leaq 0x3788(%rip), %rsi      # 0xdf30
movq %r15, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movq %rbx, %r9
pushq %r10
pushq %r11
callq *0x18(%rax)
addq $0x10, %rsp
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: RnxNavFile::v_openRnxEph(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void RnxNavFile::v_openRnxEph(string ephcmd) {
	int curmjd;
	this->isOpen = 1;
	int iyear, imon, iday, ih, imin;
	double dsec, cursod;
	curmjd = atoi(ephcmd.substr(0, index_string(ephcmd.c_str(), ':')).c_str());
	cursod = atof(ephcmd.substr(index_string(ephcmd.c_str(), ':') + 1).c_str());
	mjd0 = curmjd;
	sod0 = 0.0;
	mjd1 = curmjd + 1;
	sod1 = 0.0;
	mjd2date(curmjd, cursod, &iyear, &imon, &iday, &ih, &imin, &dsec);
	memset(curFile, 0, sizeof(char) * 1024);
	for (int i = 0; i < this->navfilename.length(); i++)
		this->curFile[i] = this->navfilename[i];

	/**** using rinex3.x format to read nav ****/
	this->m_readRnxnav('M');
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movl $0x1, 0x500(%rdi)
movq (%rsi), %rdi
movl $0x3a, %esi
callq 0xb3de
movslq %eax, %rcx
leaq -0x68(%rbp), %r14
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x32e0
movq (%r14), %r12
movq %r12, %rdi
callq 0x3420
movl %eax, %r14d
leaq -0x58(%rbp), %r13
cmpq %r13, %r12
je 0xa82f
movq %r12, %rdi
callq 0x3280
movq (%r15), %rdi
movl $0x3a, %esi
callq 0xb3de
incl %eax
movslq %eax, %rdx
leaq -0x68(%rbp), %r12
movq %r12, %rdi
movq %r15, %rsi
movq $-0x1, %rcx
callq 0x32e0
movq (%r12), %r15
movq %r15, %rdi
callq 0x3390
cmpq %r13, %r15
je 0xa87a
movq %r15, %rdi
movsd %xmm0, -0x30(%rbp)
callq 0x3280
movsd -0x30(%rbp), %xmm0
movl %r14d, 0x4e8(%rbx)
xorps %xmm1, %xmm1
movups %xmm1, 0x4f0(%rbx)
movl %r14d, %eax
incl %eax
movl %eax, 0x4ec(%rbx)
movq %r12, (%rsp)
leaq -0x44(%rbp), %rsi
leaq -0x40(%rbp), %rdx
leaq -0x3c(%rbp), %rcx
leaq -0x38(%rbp), %r8
leaq -0x34(%rbp), %r9
movl %r14d, %edi
callq 0xbef6
leaq 0xe8(%rbx), %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x31b0
cmpq $0x0, 0x708(%rbx)
je 0xa8f2
xorl %eax, %eax
movq 0x700(%rbx), %rcx
movb (%rcx,%rax), %cl
movb %cl, 0xe8(%rbx,%rax)
incq %rax
cmpq %rax, 0x708(%rbx)
ja 0xa8d5
movq %rbx, %rdi
movl $0x4d, %esi
callq 0x8d5e
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: RnxNavFile::v_readOrbit(char const*, int, double, double*, int*)
int RnxNavFile::v_readOrbit(const char* cprn, int mjd, double sod, double* xsat,
		int* iode) {
	// using rinex navigation file to acquire orbit
	// using rinex navigation file to acquire orbit
	int wk;
	double sow, tgd, dtmin, sclk;
	mjd2wksow(mjd, sod, &wk, &sow);
	if (cprn[0] != 'R')
		if (cprn[0] == 'C')
			return this->m_brd2xyz("yyy", cprn, wk, sow - 14.0, xsat, &sclk,
					&dtmin, &tgd, iode);
		else
			return this->m_brd2xyz("yyy", cprn, wk, sow, xsat, &sclk, &dtmin,
					&tgd, iode);
	else
		return this->m_gls2xyz("yyy", cprn, wk, sow, xsat, &sclk, &dtmin, iode);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, -0x30(%rbp)
movq %rcx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq -0x4c(%rbp), %r13
leaq -0x58(%rbp), %rbx
movl %edx, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xb48b
movzbl (%r15), %eax
movl (%r13), %ecx
movsd (%rbx), %xmm0
cmpl $0x52, %eax
je 0xa993
cmpl $0x43, %eax
jne 0xa95f
addsd 0x34c1(%rip), %xmm0     # 0xde20
movq (%r12), %rax
subq $0x8, %rsp
leaq -0x48(%rbp), %r10
leaq -0x40(%rbp), %r11
leaq 0x386d(%rip), %rsi      # 0xe1e3
leaq -0x38(%rbp), %r9
movq %r12, %rdi
movq %r15, %rdx
movq %r14, %r8
pushq -0x30(%rbp)
pushq %r10
pushq %r11
callq *0x10(%rax)
addq $0x20, %rsp
jmp 0xa9bb
movq (%r12), %rax
leaq -0x40(%rbp), %r10
leaq 0x3841(%rip), %rsi      # 0xe1e3
leaq -0x38(%rbp), %r9
movq %r12, %rdi
movq %r15, %rdx
movq %r14, %r8
pushq -0x30(%rbp)
pushq %r10
callq *0x18(%rax)
addq $0x10, %rsp
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Broadcast.cpp
// Function: RnxNavFile::v_readClk(char const*, int, double, double*, int*)
int RnxNavFile::v_readClk(const char* cprn, int mjd, double sod, double* sclk,
		int* iode) {
	int wk;
	double sow, tgd, dtmin;
	mjd2wksow(mjd, sod, &wk, &sow);
	*sclk = 0.0;
	if (cprn[0] != 'R')
		if (cprn[0] == 'C')
			return this->m_brd2xyz("ynn", cprn, wk, sow - 14.0, NULL, sclk,
					&dtmin, &tgd, iode);
		else
			return this->m_brd2xyz("ynn", cprn, wk, sow, NULL, sclk, &dtmin,
					&tgd, iode);
	else
		return this->m_gls2xyz("ynn", cprn, wk, sow, NULL, sclk, &dtmin, iode);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, -0x30(%rbp)
movq %rcx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq -0x44(%rbp), %r13
leaq -0x50(%rbp), %rbx
movl %edx, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xb48b
movq $0x0, (%r14)
movzbl (%r15), %eax
movl (%r13), %ecx
movsd (%rbx), %xmm0
cmpl $0x52, %eax
je 0xaa55
cmpl $0x43, %eax
jne 0xaa22
addsd 0x33fe(%rip), %xmm0     # 0xde20
movq (%r12), %rax
subq $0x8, %rsp
leaq -0x40(%rbp), %r10
leaq -0x38(%rbp), %r11
leaq 0x34f7(%rip), %rsi      # 0xdf30
movq %r12, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
movq %r14, %r9
pushq -0x30(%rbp)
pushq %r10
pushq %r11
callq *0x10(%rax)
addq $0x20, %rsp
jmp 0xaa7c
movq (%r12), %rax
leaq -0x38(%rbp), %r10
leaq 0x34cc(%rip), %rsi      # 0xdf30
movq %r12, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
movq %r14, %r9
pushq -0x30(%rbp)
pushq %r10
callq *0x18(%rax)
addq $0x10, %rsp
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Com.cpp
// Function: md_julday(int, int, int)
int md_julday(int iyear,int imonth,int iday){
	int iyr, result;
	int doy_of_month[12] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304,
			334 };
	if (iyear < 0 || imonth < 0 || iday < 0 || imonth > 12 || iday > 366
			|| (imonth != 0 && iday > 31)) {
		printf("iyear = %d,imonth = %d,iday = %d,incorrect argument",iyear,imonth,iday);
		printf("iyear = %d,imonth = %d,iday = %d,incorrect argument",iyear,imonth,iday);
		exit(1);
	}
	iyr = iyear;
	if (imonth <= 2)
		iyr -= 1;
	result = 365 * iyear - 678941 + iyr / 4 - iyr / 100 + iyr / 400 + iday;
	if (imonth != 0)
		result = result + doy_of_month[imonth - 1];
	return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r15d
movl %esi, %ebx
movl %edi, %r14d
cmpl $0x16e, %edx            # imm = 0x16E
jg 0xaba8
cmpl $0xc, %ebx
jg 0xaba8
movl %ebx, %eax
orl %r14d, %eax
orl %r15d, %eax
js 0xaba8
testl %ebx, %ebx
sete %al
cmpl $0x20, %r15d
setl %cl
orb %al, %cl
je 0xaba8
xorl %eax, %eax
cmpl $0x3, %ebx
setl %al
movl %r14d, %ecx
subl %eax, %ecx
imull $0x16d, %r14d, %edx     # imm = 0x16D
addl %r15d, %edx
negl %eax
addl %r14d, %eax
addl $0x3, %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
sarl $0x2, %eax
addl %edx, %eax
movslq %ecx, %rcx
imulq $-0x51eb851f, %rcx, %rdx # imm = 0xAE147AE1
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x25, %rdx
addl %esi, %edx
addl %eax, %edx
imulq $0x51eb851f, %rcx, %rax # imm = 0x51EB851F
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x27, %rax
addl %ecx, %eax
addl %edx, %eax
addl $0xfff5a3e3, %eax       # imm = 0xFFF5A3E3
testl %ebx, %ebx
je 0xab9f
decl %ebx
leaq 0x37c4(%rip), %rcx      # 0xe360
addl (%rcx,%rbx,4), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3811(%rip), %r12      # 0xe3c0
movq %r12, %rdi
movl %r14d, %esi
movl %ebx, %edx
movl %r15d, %ecx
xorl %eax, %eax
callq 0x3050
movq %r12, %rdi
movl %r14d, %esi
movl %ebx, %edx
movl %r15d, %ecx
xorl %eax, %eax
callq 0x3050
movl $0x1, %edi
callq 0x3370
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Com.cpp
// Function: gpsweek(int, int, int, int*, int*)
void gpsweek(int year, int month, int day, int* week, int* wd) {
	int mjd;
	if (year != 0) {
		if (month != 0)
			mjd = md_julday(year, month, day);
		else
			mjd = md_julday(year, 1, 1) + day - 1;
	} else
		mjd = day;
	*week = (mjd - 44244) / 7;
	*wd = mjd - 44244 - (*week) * 7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r15
movl %edx, %r14d
testl %edi, %edi
je 0xac1a
testl %esi, %esi
je 0xac05
movl %r14d, %edx
callq 0xaaec
movl %eax, %r14d
jmp 0xac1a
movl $0x1, %esi
movl $0x1, %edx
callq 0xaaec
addl %eax, %r14d
decl %r14d
movl %r14d, %eax
addl $0xffff532c, %eax       # imm = 0xFFFF532C
cltq
imulq $-0x6db6db6d, %rax, %rax # imm = 0x92492493
shrq $0x20, %rax
addl %r14d, %eax
addl $0xffff532c, %eax       # imm = 0xFFFF532C
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x2, %eax
addl %ecx, %eax
movl %eax, (%r15)
leal (,%rax,8), %ecx
subl %ecx, %eax
addl %r14d, %eax
addl $0xffff532c, %eax       # imm = 0xFFFF532C
movl %eax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Com.cpp
// Function: mjd2doy(int, int*, int*)
void mjd2doy(int jd, int* iyear, int* idoy) {
	*iyear = (jd + 678940) / 365;
	*idoy = jd - md_julday(*iyear, 1, 1);
	while (*idoy <= 0) {
		(*iyear)--;
		*idoy = jd - md_julday(*iyear, 1, 1) + 1;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl %edi, %r15d
leal 0xa5c1c(%r15), %eax
cltq
imulq $-0x4c73064f, %rax, %rax # imm = 0xB38CF9B1
shrq $0x20, %rax
leal (%rax,%r15), %edi
addl $0xa5c1c, %edi          # imm = 0xA5C1C
movl %edi, %eax
shrl $0x1f, %eax
sarl $0x8, %edi
addl %eax, %edi
movl %edi, (%rsi)
movl $0x1, %esi
movl $0x1, %edx
callq 0xaaec
movl %r15d, %ecx
subl %eax, %ecx
movl %ecx, (%rbx)
jg 0xacdc
incl %r15d
movl (%r14), %edi
decl %edi
movl %edi, (%r14)
movl $0x1, %esi
movl $0x1, %edx
callq 0xaaec
movl %r15d, %ecx
subl %eax, %ecx
movl %ecx, (%rbx)
testl %ecx, %ecx
jle 0xacba
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Com.cpp
// Function: wksow2mjd(int, double, int*, double*)
void wksow2mjd(int week,double sow,int* mjd,double* sod){
	if(mjd!=NULL)
		*mjd = (int)(sow/86400.0) + week*7 + 44244;
	if(sod!=NULL)
		*sod = fmod(sow,86400.0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdx, %rbx
testq %rsi, %rsi
je 0xad17
movapd %xmm0, %xmm1
divsd 0x232f(%rip), %xmm1     # 0xd030
cvttsd2si %xmm1, %eax
leal (,%rdi,8), %ecx
subl %edi, %ecx
addl %ecx, %eax
addl $0xacd4, %eax           # imm = 0xACD4
movl %eax, (%rsi)
testq %rbx, %rbx
je 0xad2d
movsd 0x230c(%rip), %xmm1     # 0xd030
callq 0x33a0
movsd %xmm0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Com.cpp
// Function: blhxyz(double*, double, double, double*)
void blhxyz(double* geod,double a0,double b0,double* x){
	double a,b,e2,N,W;
	if(a0 == 0 || b0 == 0){
		a = 6378137.0;
		b = 298.257223563;  //alpha = (a-b)/a
	}else{
		a = a0;
		b = b0;
	}
	if(b <= 6000000)
		b = a - a / b;
	e2 = (a * a - b * b) / (a * a);

	W = sqrt(1 - e2 * pow(sin(geod[0]),2));
	N = a / W;
	x[0] = (N + geod[2]) * cos(geod[0]) * cos(geod[1]);
	x[1] = (N + geod[2]) * cos(geod[0]) * sin(geod[1]);
	x[2] = (N * (1-e2) + geod[2]) *sin(geod[0]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorpd %xmm4, %xmm4
movapd %xmm1, %xmm3
cmpeqpd %xmm4, %xmm3
movapd %xmm0, %xmm2
cmpeqpd %xmm4, %xmm2
orpd %xmm3, %xmm2
movd %xmm2, %eax
testb $0x1, %al
je 0xad6f
movsd 0x3539(%rip), %xmm1     # 0xe2a8
je 0xad79
movsd 0x3537(%rip), %xmm0     # 0xe2b0
movapd %xmm0, %xmm3
divsd %xmm1, %xmm3
movapd %xmm0, %xmm2
subsd %xmm3, %xmm2
movapd %xmm1, %xmm3
cmpnlesd 0x3522(%rip), %xmm3     # 0xe2b8
andpd %xmm3, %xmm1
andnpd %xmm2, %xmm3
orpd %xmm1, %xmm3
mulsd %xmm3, %xmm3
movapd %xmm0, -0x30(%rbp)
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, %xmm0
subsd %xmm3, %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
movsd (%r14), %xmm0
callq 0x30a0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd -0x38(%rbp), %xmm1
movsd 0x2f75(%rip), %xmm0     # 0xdd58
subsd %xmm1, %xmm0
ucomisd 0x2259(%rip), %xmm0     # 0xd048
jb 0xadf7
sqrtsd %xmm0, %xmm0
jmp 0xadfc
callq 0x3230
movapd -0x30(%rbp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, -0x30(%rbp)
movsd 0x10(%r14), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x18(%rbp)
movsd (%r14), %xmm0
callq 0x34e0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
movsd 0x8(%r14), %xmm0
callq 0x34e0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, (%rbx)
movsd 0x10(%r14), %xmm0
addsd -0x30(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
movsd (%r14), %xmm0
callq 0x34e0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
movsd 0x8(%r14), %xmm0
callq 0x30a0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, 0x8(%rbx)
movsd 0x2ed6(%rip), %xmm0     # 0xdd58
subsd -0x38(%rbp), %xmm0
mulsd -0x30(%rbp), %xmm0
addsd 0x10(%r14), %xmm0
movsd %xmm0, -0x30(%rbp)
movsd (%r14), %xmm0
callq 0x30a0
mulsd -0x30(%rbp), %xmm0
movsd %xmm0, 0x10(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Com.cpp
// Function: rot_enu2xyz(double, double, double (*) [3])
void rot_enu2xyz(double lat, double lon, double (*rotmat)[3]) {
	double coslat, sinlat, coslon, sinlon;
	coslat = cos(lat - PI / 2);
	sinlat = sin(lat - PI / 2);
	coslon = cos(-PI / 2 - lon);
	sinlon = sin(-PI / 2 - lon);

	rotmat[0][0] = coslon;
	rotmat[0][1] = sinlon * coslat;
	rotmat[0][2] = sinlon * sinlat;
	rotmat[1][0] = -sinlon;
	rotmat[1][1] = coslon * coslat;
	rotmat[1][2] = coslon * sinlat;
	rotmat[2][0] = 0;
	rotmat[2][1] = -sinlat;
	rotmat[2][2] = coslat;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movsd %xmm1, -0x10(%rbp)
addsd 0x30b2(%rip), %xmm0     # 0xe2c8
movsd %xmm0, -0x20(%rbp)
callq 0x34e0
movsd %xmm0, -0x30(%rbp)
movsd -0x20(%rbp), %xmm0
callq 0x30a0
movaps %xmm0, -0x20(%rbp)
movsd 0x308d(%rip), %xmm0     # 0xe2c8
subsd -0x10(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0x34e0
movsd %xmm0, -0x10(%rbp)
movsd -0x28(%rbp), %xmm0
callq 0x30a0
movsd -0x10(%rbp), %xmm4
movsd %xmm4, (%rbx)
movsd -0x30(%rbp), %xmm2
movapd %xmm2, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rbx)
movapd -0x20(%rbp), %xmm3
movapd %xmm3, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rbx)
movapd 0x2ba2(%rip), %xmm1     # 0xde30
xorpd %xmm1, %xmm0
movlpd %xmm0, 0x18(%rbx)
movapd %xmm2, %xmm0
mulsd %xmm4, %xmm0
movsd %xmm0, 0x20(%rbx)
movapd %xmm3, %xmm0
mulsd %xmm3, %xmm4
movsd %xmm4, 0x28(%rbx)
movq $0x0, 0x30(%rbx)
xorpd %xmm1, %xmm0
movlpd %xmm0, 0x38(%rbx)
movsd %xmm2, 0x40(%rbx)
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]eph_converter/src/Com.cpp
// Function: matmpy(double*, double*, double*, int, int, int)
void matmpy(double* A, double* B, double* C, int row, int colA, int colB) {
	int i, j, k;
	double value;
	double* dest = (double*)calloc(row * colB,sizeof(double));
	for (i = 0; i < row; i++) {
		for (j = 0; j < colB; j++) {
			value = 0;
			for (k = 0; k < colA; k++){
				value += A[i * colA + k] * B[k* colB + j];
			}
			dest[i * colB + j] = value;
		}
	}
	for(i = 0;i <row;i++){
		for(j = 0;j < colB;j++){
			C[i * colB + j] = dest[i * colB + j];
		}
	}
	free(dest);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movl %r8d, %r13d
movl %ecx, %r15d
movq %rdx, -0x40(%rbp)
movq %rsi, -0x50(%rbp)
movq %rdi, -0x48(%rbp)
movl %r9d, %eax
imull %ecx, %eax
movslq %eax, %rdi
movl $0x8, %esi
callq 0x31d0
movq %rax, -0x30(%rbp)
movl %ebx, %r12d
movl %r15d, %r14d
movl %r15d, -0x34(%rbp)
testl %r15d, %r15d
jle 0xb393
movl %r13d, %eax
leaq (,%r12,8), %rcx
xorl %edx, %edx
xorl %esi, %esi
testl %ebx, %ebx
jle 0xb388
movl %edx, %edi
movq -0x48(%rbp), %r8
leaq (%r8,%rdi,8), %rdi
movq %rsi, %r8
imulq %r12, %r8
movq -0x30(%rbp), %r9
leaq (%r9,%r8,8), %r8
movq -0x50(%rbp), %r9
xorl %r10d, %r10d
xorpd %xmm0, %xmm0
testl %r13d, %r13d
jle 0xb376
movq %r9, %r11
xorl %r15d, %r15d
movsd (%rdi,%r15,8), %xmm1
mulsd (%r11), %xmm1
addsd %xmm1, %xmm0
incq %r15
addq %rcx, %r11
cmpq %r15, %rax
jne 0xb35c
movsd %xmm0, (%r8,%r10,8)
incq %r10
addq $0x8, %r9
cmpq %r12, %r10
jne 0xb34d
incq %rsi
addl %r13d, %edx
cmpq %r14, %rsi
jne 0xb329
cmpl $0x0, -0x34(%rbp)
movq -0x40(%rbp), %r15
jle 0xb3c7
shlq $0x3, %r12
xorl %r13d, %r13d
testl %ebx, %ebx
jle 0xb3bf
movl %r13d, %eax
movq -0x30(%rbp), %rcx
leaq (%rcx,%rax,8), %rsi
leaq (%r15,%rax,8), %rdi
movq %r12, %rdx
callq 0x3240
addl %ebx, %r13d
decq %r14
jne 0xb3a4
movq -0x30(%rbp), %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3360