LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: void io::CSVReader<15u, io::trim_chars<(char)32, (char)9>, io::no_quote_escape<(char)44>, io::throw_on_overflow, io::no_comment>::set_header<char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*>(char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*, char const*)
void set_header(ColNames...cols){
                        static_assert(sizeof...(ColNames)>=column_count,
                                "not enough column names specified");
                        static_assert(sizeof...(ColNames)<=column_count,
                                "too many column names specified");
                        set_column_names(std::forward<ColNames>(cols)...);
                        std::fill(row, row+column_count, nullptr);
                        col_order.resize(column_count);
                        for(unsigned i=0; i<column_count; ++i)
                                col_order[i] = i;
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %rbx
leaq 0x58(%rsp), %rbp
leaq 0x57(%rsp), %rdx
movq %rbp, %rdi
callq 0x20178
movaps 0xf0(%rsp), %xmm0
movups %xmm0, 0x40(%rsp)
movaps 0xe0(%rsp), %xmm0
movups %xmm0, 0x30(%rsp)
movaps 0xd0(%rsp), %xmm0
movups %xmm0, 0x20(%rsp)
movaps 0xc0(%rsp), %xmm0
movups %xmm0, 0x10(%rsp)
movaps 0xb0(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq %r12, %rcx
movq %r15, %r8
movq %r14, %r9
callq 0x2008e
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ccb1
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x53b0
xorps %xmm0, %xmm0
movups %xmm0, 0x230(%rbx)
movups %xmm0, 0x220(%rbx)
movups %xmm0, 0x210(%rbx)
movups %xmm0, 0x200(%rbx)
movups %xmm0, 0x1f0(%rbx)
movups %xmm0, 0x1e0(%rbx)
movups %xmm0, 0x1d0(%rbx)
movq $0x0, 0x240(%rbx)
leaq 0x428(%rbx), %rdi
movl $0xf, %esi
callq 0x1d120
movq 0x428(%rbx), %rax
movdqa 0x92d0(%rip), %xmm0     # 0x25fe0
xorl %ecx, %ecx
movdqa 0x92d6(%rip), %xmm1     # 0x25ff0
movdqa 0xabae(%rip), %xmm2     # 0x278d0
pshufd $0xf5, %xmm2, %xmm3     # xmm3 = xmm2[1,1,3,3]
movdqa 0xabb1(%rip), %xmm4     # 0x278e0
movdqa %xmm0, %xmm5
pxor %xmm1, %xmm5
movdqa %xmm2, %xmm6
pcmpgtd %xmm5, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pcmpeqd %xmm3, %xmm5
pand %xmm6, %xmm5
movd %xmm5, %edx
testb $0x1, %dl
je 0x1cd58
movl %ecx, (%rax,%rcx,4)
pextrw $0x4, %xmm5, %edx
testb $0x1, %dl
je 0x1cd69
leal 0x1(%rcx), %edx
movl %edx, 0x4(%rax,%rcx,4)
addq $0x2, %rcx
paddq %xmm4, %xmm0
cmpq $0x10, %rcx
jne 0x1cd2f
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1cda4
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x53b0
movq %rbx, %rdi
callq 0x5650
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: io::detail::AsynchronousReader::~AsynchronousReader()
~AsynchronousReader(){
                                if(byte_source != 0){
                                        {
                                                std::unique_lock<std::mutex>guard(lock);
                                                termination_requested = true;
                                        }
                                        read_requested_condition.notify_one();
                                        worker.join();
                                }
                        }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x1cfa4
leaq 0x30(%rbx), %rax
movq %rsp, %rdi
movq %rax, (%rdi)
movb $0x0, 0x8(%rdi)
callq 0x1d00e
movb $0x1, %al
movq %rsp, %rdi
movb %al, 0x8(%rdi)
movb %al, 0x10(%rbx)
callq 0x1cff8
leaq 0x88(%rbx), %rdi
callq 0x51f0
leaq 0x8(%rbx), %rdi
callq 0x5610
leaq 0x88(%rbx), %rdi
callq 0x5680
leaq 0x58(%rbx), %rdi
callq 0x5680
cmpq $0x0, 0x18(%rbx)
je 0x1cfc9
leaq 0x18(%rbx), %rdi
callq 0x5320
cmpq $0x0, 0x8(%rbx)
jne 0x1cfeb
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x1cfde
movq (%rdi), %rax
callq *0x10(%rax)
movq $0x0, (%rbx)
addq $0x10, %rsp
popq %rbx
retq
callq 0x5110
movq %rax, %rdi
callq 0x722d
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: io::LineReader::init(std::unique_ptr<io::ByteSourceBase, std::default_delete<io::ByteSourceBase>>)
void init(std::unique_ptr<ByteSourceBase>byte_source){
                        file_line = 0;

                        buffer = new char[3*block_len];
                        try{
                                data_begin = 0;
                                data_end = byte_source->read(buffer, 2*block_len);

                                // Ignore UTF-8 BOM
                                if(data_end >= 3 && buffer[0] == '\xEF' && buffer[1] == '\xBB' && buffer[2] == '\xBF')
                                        data_begin = 3;

                                if(data_end == 2*block_len){
                                        reader.init(std::move(byte_source));
                                        reader.start_read(buffer + 2*block_len, block_len);
                                }
                        }catch(...){
                                delete[]buffer;
                                throw;
                        }
                }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %ebp, %ebp
movl %ebp, 0x1c8(%rdi)
movl $0x3000000, %edi        # imm = 0x3000000
callq 0x5030
movq %rax, 0xb8(%rbx)
movl %ebp, 0xc0(%rbx)
movq (%r14), %rdi
movq (%rdi), %rcx
movq %rax, %rsi
movl $0x2000000, %edx        # imm = 0x2000000
callq *(%rcx)
movl %eax, 0xc4(%rbx)
cmpl $0x3, %eax
jl 0x1d20f
movq 0xb8(%rbx), %rcx
cmpb $-0x11, (%rcx)
jne 0x1d1bc
cmpb $-0x45, 0x1(%rcx)
jne 0x1d1bc
cmpb $-0x41, 0x2(%rcx)
jne 0x1d1bc
movl $0x3, 0xc0(%rbx)
cmpl $0x2000000, %eax        # imm = 0x2000000
jne 0x1d20f
movq (%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq $0x0, (%r14)
movq %rbx, %rdi
callq 0x1d39a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1d1ed
movq (%rdi), %rax
callq *0x10(%rax)
movq $0x0, 0x8(%rsp)
movl $0x2000000, %esi        # imm = 0x2000000
addq 0xb8(%rbx), %rsi
movq %rbx, %rdi
movl $0x1000000, %edx        # imm = 0x1000000
callq 0x1d43a
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1d22b
movq (%rdi), %rax
callq *0x10(%rax)
movq $0x0, 0x8(%rsp)
jmp 0x1d239
movq %rax, %r14
movq %r14, %rdi
callq 0x5190
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x1d252
callq 0x54b0
callq 0x54f0
movq %rax, %rbx
callq 0x55a0
movq %rbx, %rdi
callq 0x5650
movq %rax, %rdi
callq 0x722d
nop
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: io::LineReader::open_file(char const*)
static std::unique_ptr<ByteSourceBase> open_file(const char*file_name){
                        // We open the file in binary mode as it makes no difference under *nix
                        // and under Windows we handle \r\n newlines ourself.
                        FILE*file = std::fopen(file_name, "rb");
                        if(file == 0){
                                int x = errno; // store errno as soon as possible, doing it after constructor call can fail.
                                error::can_not_open_file err;
                                err.set_errno(x);
                                err.set_file_name(file_name);
                                throw err;
                        }
                        return std::unique_ptr<ByteSourceBase>(new detail::OwningStdIOByteSourceBase(file));
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xa728(%rip), %rsi      # 0x279b5
movq %r15, %rdi
callq 0x5450
testq %rax, %rax
je 0x1d2e0
movq %rax, %r14
movl $0x10, %edi
callq 0x53a0
movq %rax, %r15
leaq 0x1465f(%rip), %rax     # 0x31910
movq %rax, (%r15)
movq %r14, 0x8(%r15)
movq %r14, %rdi
xorl %esi, %esi
movl $0x2, %edx
xorl %ecx, %ecx
callq 0x5040
movq %r15, (%rbx)
movq %rbx, %rax
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x5070
movl (%rax), %eax
movl $0x108, %ebx            # imm = 0x108
movq %rsp, %r12
leaq (%r12,%rbx), %r14
leaq 0x145b6(%rip), %r13     # 0x318b0
movq %r13, (%r12)
movl %eax, 0x208(%r12)
movl $0xff, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x5200
movb $0x0, 0x207(%r12)
movl $0x210, %edi            # imm = 0x210
callq 0x51e0
movq %rax, %r15
leaq 0x145ad(%rip), %rax     # 0x318e0
movq %rax, (%r15)
leaq 0x8(%r15), %rdi
leaq 0x8(%rsp), %r12
movl $0x100, %edx            # imm = 0x100
movq %r12, %rsi
callq 0x52f0
addq %r15, %rbx
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r14, %rsi
callq 0x52f0
movl 0x200(%r12), %eax
movl %eax, 0x208(%r15)
movq %r13, (%r15)
leaq 0x144e0(%rip), %rsi     # 0x31858
movq 0x14c51(%rip), %rdx     # 0x31fd0
movq %r15, %rdi
callq 0x5620
movq %rax, %rbx
movq %rsp, %rdi
callq 0x56d8
movq %rbx, %rdi
callq 0x5650
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: io::detail::AsynchronousReader::start_read(char*, int)
void start_read(char*arg_buffer, int arg_desired_byte_count){
                                std::unique_lock<std::mutex>guard(lock);
                                buffer = arg_buffer;
                                desired_byte_count = arg_desired_byte_count;
                                read_byte_count = -1;
                                read_requested_condition.notify_one();
                        }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x30(%rdi), %rax
leaq 0x8(%rsp), %r12
movq %rax, (%r12)
movb $0x0, 0x8(%r12)
movq %r12, %rdi
callq 0x1d00e
movb $0x1, 0x8(%r12)
movq %r14, 0x20(%r15)
movl %ebx, 0x28(%r15)
movl $0xffffffff, 0x2c(%r15) # imm = 0xFFFFFFFF
addq $0x88, %r15
movq %r15, %rdi
callq 0x51f0
movq %r12, %rdi
callq 0x1cff8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: io::error::can_not_open_file::format_error_message() const
void format_error_message()const{
                                if(errno_value != 0)
                                        std::snprintf(error_message_buffer, sizeof(error_message_buffer),
                                                "Can not open file \"%s\" because \"%s\"."
                                                , file_name, std::strerror(errno_value));
                                else
                                        std::snprintf(error_message_buffer, sizeof(error_message_buffer),
                                                "Can not open file \"%s\"."
                                                , file_name);
                        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x208(%rdi), %edi
leaq 0x8(%rbx), %r14
addq $0x108, %rbx            # imm = 0x108
testl %edi, %edi
je 0x1d6c6
callq 0x5160
leaq 0xa30e(%rip), %rdx      # 0x279b8
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5560
leaq 0xa310(%rip), %rdx      # 0x279dd
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5560
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: io::detail::AsynchronousReader::finish_read()
int finish_read(){
                                std::unique_lock<std::mutex>guard(lock);
                                read_finished_condition.wait(
                                        guard, 
                                        [&]{
                                                return read_byte_count != -1 || read_error;
                                        }
                                );
                                if(read_error)
                                        std::rethrow_exception(read_error);
                                else
                                        return read_byte_count;
                        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x30(%rdi), %rax
leaq 0x8(%rsp), %r14
movq %rax, (%r14)
movb $0x0, 0x8(%r14)
movq %r14, %rdi
callq 0x1d00e
movb $0x1, 0x8(%r14)
movl 0x2c(%rbx), %ebp
cmpl $-0x1, %ebp
jne 0x1e036
leaq 0x58(%rbx), %r14
leaq 0x8(%rsp), %r15
movq 0x18(%rbx), %rax
testq %rax, %rax
jne 0x1e056
movq %r14, %rdi
movq %r15, %rsi
callq 0x5130
movl 0x2c(%rbx), %ebp
cmpl $-0x1, %ebp
je 0x1e01a
movq 0x18(%rbx), %rax
testq %rax, %rax
jne 0x1e056
leaq 0x8(%rsp), %rdi
callq 0x1cff8
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rsp, %rbx
movq %rax, (%rbx)
movq %rbx, %rdi
callq 0x5090
movq %rbx, %rdi
callq 0x53c0
movq %rax, %rbx
cmpq $0x0, (%rsp)
je 0x1e07e
movq %rsp, %rdi
callq 0x5320
leaq 0x8(%rsp), %rdi
callq 0x1cff8
movq %rbx, %rdi
callq 0x5650
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: void io::detail::chop_next_column<io::no_quote_escape<(char)44>>(char*&, char*&, char*&)
void chop_next_column(
                        char*&line, char*&col_begin, char*&col_end
                ){
                        assert(line != nullptr);

                        col_begin = line;
                        // the col_begin + (... - col_begin) removes the constness
                        col_end = col_begin + (quote_policy::find_next_column_end(col_begin) - col_begin);
                       
                        if(*col_end == '\0'){
                                line = nullptr;
                        }else{
                                *col_end = '\0';
                                line = col_end + 1;    
                        }
                }

// Assembly:
pushq %rax
movq (%rdi), %rax
testq %rax, %rax
je 0x1e140
movq %rax, (%rsi)
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0x1e126
cmpl $0x2c, %ecx
je 0x1e126
incq %rax
jmp 0x1e115
movq %rax, (%rdx)
cmpb $0x0, (%rax)
je 0x1e139
movb $0x0, (%rax)
movq (%rdx), %rax
incq %rax
jmp 0x1e13b
xorl %eax, %eax
movq %rax, (%rdi)
popq %rax
retq
leaq 0x996e(%rip), %rdi      # 0x27ab5
leaq 0x98bd(%rip), %rsi      # 0x27a0b
leaq 0x9970(%rip), %rcx      # 0x27ac5
movl $0x349, %edx            # imm = 0x349
callq 0x5250
nop
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: void io::detail::parse_line<io::trim_chars<(char)32, (char)9>, io::no_quote_escape<(char)44>>(char*, char**, std::vector<int, std::allocator<int>> const&)
void parse_line(
                        char*line,
                        char**sorted_col,
                        const std::vector<int>&col_order
                ){
                        for(std::size_t i=0; i<col_order.size(); ++i){
                                if(line == nullptr)
                                        throw ::io::error::too_few_columns();
                                char*col_begin, *col_end;
                                chop_next_column<quote_policy>(line, col_begin, col_end);

                                if(col_order[i] != -1){
                                        trim_policy::trim(col_begin, col_end);
                                        quote_policy::unescape(col_begin, col_end);
                                                               
                                        sorted_col[col_order[i]] = col_begin;
                                }
                        }
                        if(line != nullptr)
                                throw ::io::error::too_many_columns();
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rdx), %rax
cmpq (%rdx), %rax
je 0x1e3c4
movq %rdx, %rbx
movq %rsi, %r14
xorl %ebp, %ebp
leaq 0x8(%rsp), %r15
movq %rsp, %r12
leaq 0x10(%rsp), %r13
cmpq $0x0, 0x8(%rsp)
je 0x1e3d8
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x1e109
movq (%rbx), %rax
cmpl $-0x1, (%rax,%rbp,4)
je 0x1e3a8
movq (%rsp), %rcx
movq 0x10(%rsp), %rax
movzbl (%rcx), %edx
cmpl $0x9, %edx
je 0x1e36a
cmpl $0x20, %edx
jne 0x1e380
cmpq %rax, %rcx
je 0x1e380
incq %rcx
movq %rcx, (%rsp)
jmp 0x1e35d
decq %rax
movq %rax, 0x10(%rsp)
movzbl -0x1(%rax), %edx
cmpl $0x20, %edx
je 0x1e38e
cmpl $0x9, %edx
jne 0x1e393
cmpq %rcx, %rax
jne 0x1e378
movb $0x0, (%rax)
movq (%rsp), %rax
movq (%rbx), %rcx
movslq (%rcx,%rbp,4), %rcx
movq %rax, (%r14,%rcx,8)
movq (%rbx), %rax
incq %rbp
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rcx, %rbp
jb 0x1e331
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
jne 0x1e41e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x210, %edi            # imm = 0x210
callq 0x51e0
movq %rax, %rbx
movl $0x210, %edx            # imm = 0x210
movq %rax, %rdi
xorl %esi, %esi
callq 0x5230
movl $0xffffffff, 0x208(%rbx) # imm = 0xFFFFFFFF
leaq 0x13853(%rip), %rax     # 0x31c58
movq %rax, (%rbx)
leaq 0x137a9(%rip), %rsi     # 0x31bb8
movq 0x13bba(%rip), %rdx     # 0x31fd0
movq %rbx, %rdi
callq 0x5620
movl $0x210, %edi            # imm = 0x210
callq 0x51e0
movq %rax, %rbx
movl $0x210, %edx            # imm = 0x210
movq %rax, %rdi
xorl %esi, %esi
callq 0x5230
movl $0xffffffff, 0x208(%rbx) # imm = 0xFFFFFFFF
leaq 0x1383d(%rip), %rax     # 0x31c88
movq %rax, (%rbx)
leaq 0x137ab(%rip), %rsi     # 0x31c00
jmp 0x1e40f
nop
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: void io::CSVReader<15u, io::trim_chars<(char)32, (char)9>, io::no_quote_escape<(char)44>, io::throw_on_overflow, io::no_comment>::parse_helper<double, double, double, double, double, double, double, double, double, double, double, double, double, double, double>(unsigned long, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&)
void parse_helper(std::size_t r, T&t, ColType&...cols){                        
                        if(row[r]){
                                try{
                                        try{
                                                ::io::detail::parse<overflow_policy>(row[r], t);
                                        }catch(error::with_column_content&err){
                                                err.set_column_content(row[r]);
                                                throw;
                                        }
                                }catch(error::with_column_name&err){
                                        err.set_column_name(column_names[r].c_str());
                                        throw;
                                }
                        }
                        parse_helper(r+1, cols...);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %rbx
movq %rdi, %r14
movq 0x1d0(%rdi,%rsi,8), %rdi
testq %rdi, %rdi
je 0x20b01
movq %rdx, %rsi
callq 0x1e668
movq 0x30(%rsp), %r9
incq %rbx
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r12, %rcx
movq %r15, %r8
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
callq 0x20c00
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rdx, %r12
movq %rax, %r15
cmpl $0x2, %r12d
jne 0x20bb4
movq %r15, %rdi
callq 0x5190
movq %rax, %r15
movq 0x1d0(%r14,%rbx,8), %rsi
movl $0x3f, %edx
movq %rax, %rdi
callq 0x5200
movb $0x0, 0x3f(%r15)
callq 0x54f0
jmp 0x20be8
movq %rdx, %r12
movq %rax, %r15
callq 0x55a0
cmpl $0x1, %r12d
jne 0x20bf0
movq %r15, %rdi
callq 0x5190
movq %rax, %r15
shlq $0x5, %rbx
movq 0x248(%r14,%rbx), %rsi
movl $0x3f, %edx
movq %rax, %rdi
callq 0x5200
movb $0x0, 0x3f(%r15)
callq 0x54f0
movq %rax, %r15
callq 0x55a0
movq %r15, %rdi
callq 0x5650
movq %rax, %rdi
callq 0x722d
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: void io::detail::parse_signed_integer<io::set_to_max_on_overflow, int>(char const*, int&)
void parse_signed_integer(const char*col, T&x){
                        if(*col == '-'){
                                ++col;

                                x = 0;
                                while(*col != '\0'){
                                        if('0' <= *col && *col <= '9'){
                                                T y = *col - '0';
                                                if(x < (std::numeric_limits<T>::min()+y)/10){
                                                        overflow_policy::on_underflow(x);
                                                        return;
                                                }
                                                x = 10*x-y;
                                        }else
                                                throw error::no_digit();
                                        ++col;
                                }
                                return;
                        }else if(*col == '+')
                                ++col;
                        parse_unsigned_integer<overflow_policy>(col, x);
                }

// Assembly:
pushq %rbx
movzbl (%rdi), %eax
cmpl $0x2b, %eax
je 0x1e88d
cmpl $0x2d, %eax
jne 0x1e890
movl $0x0, (%rsi)
movb 0x1(%rdi), %dl
testb %dl, %dl
je 0x1e89c
addq $0x2, %rdi
xorl %eax, %eax
movl $0xcccccccd, %ecx       # imm = 0xCCCCCCCD
addb $-0x30, %dl
cmpb $0x9, %dl
ja 0x1e89e
movzbl %dl, %edx
movl $0x80000000, %r8d       # imm = 0x80000000
subl %edx, %r8d
imulq %rcx, %r8
shrq $0x23, %r8
negl %r8d
cmpl %r8d, %eax
jl 0x1e896
addl %eax, %eax
leal (%rax,%rax,4), %eax
subl %edx, %eax
movl %eax, (%rsi)
movb (%rdi), %dl
incq %rdi
testb %dl, %dl
jne 0x1e855
jmp 0x1e89c
incq %rdi
popq %rbx
jmp 0x1e91f
movl $0x80000000, (%rsi)     # imm = 0x80000000
popq %rbx
retq
movl $0x290, %edi            # imm = 0x290
callq 0x51e0
movq %rax, %rbx
movl $0x290, %edx            # imm = 0x290
movq %rax, %rdi
xorl %esi, %esi
callq 0x5230
movl $0xffffffff, 0x208(%rbx) # imm = 0xFFFFFFFF
xorps %xmm0, %xmm0
movups %xmm0, 0x20c(%rbx)
movups %xmm0, 0x21c(%rbx)
movups %xmm0, 0x22c(%rbx)
movups %xmm0, 0x23c(%rbx)
movups %xmm0, 0x24c(%rbx)
movups %xmm0, 0x25c(%rbx)
movups %xmm0, 0x26c(%rbx)
movups %xmm0, 0x27c(%rbx)
leaq 0x1342a(%rip), %rax     # 0x31d30
movq %rax, (%rbx)
leaq 0x133a8(%rip), %rsi     # 0x31cb8
movq 0x136b9(%rip), %rdx     # 0x31fd0
movq %rbx, %rdi
callq 0x5620
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/../lib/csv.h
// Function: void io::detail::parse_unsigned_integer<io::set_to_max_on_overflow, int>(char const*, int&)
void parse_unsigned_integer(const char*col, T&x){
                        x = 0;
                        while(*col != '\0'){
                                if('0' <= *col && *col <= '9'){
                                        T y = *col - '0';
                                        if(x > (std::numeric_limits<T>::max()-y)/10){
                                                overflow_policy::on_overflow(x);
                                                return;
                                        }
                                        x = 10*x+y;
                                }else
                                        throw error::no_digit();
                                ++col;
                        }
                }

// Assembly:
pushq %rbx
movl $0x0, (%rsi)
movb (%rdi), %cl
testb %cl, %cl
je 0x1e96c
incq %rdi
xorl %eax, %eax
addb $-0x30, %cl
cmpb $0x9, %cl
ja 0x1e96e
movzbl %cl, %ecx
movl %ecx, %edx
xorl $0x7ffffffe, %edx       # imm = 0x7FFFFFFE
imulq $0x66666667, %rdx, %rdx # imm = 0x66666667
shrq $0x22, %rdx
cmpl %edx, %eax
jg 0x1e966
leal (%rax,%rax,4), %eax
leal (%rcx,%rax,2), %eax
movl %eax, (%rsi)
movb (%rdi), %cl
incq %rdi
testb %cl, %cl
jne 0x1e931
jmp 0x1e96c
movl $0x7fffffff, (%rsi)     # imm = 0x7FFFFFFF
popq %rbx
retq
movl $0x290, %edi            # imm = 0x290
callq 0x51e0
movq %rax, %rbx
movl $0x290, %edx            # imm = 0x290
movq %rax, %rdi
xorl %esi, %esi
callq 0x5230
movl $0xffffffff, 0x208(%rbx) # imm = 0xFFFFFFFF
xorps %xmm0, %xmm0
movups %xmm0, 0x20c(%rbx)
movups %xmm0, 0x21c(%rbx)
movups %xmm0, 0x22c(%rbx)
movups %xmm0, 0x23c(%rbx)
movups %xmm0, 0x24c(%rbx)
movups %xmm0, 0x25c(%rbx)
movups %xmm0, 0x26c(%rbx)
movups %xmm0, 0x27c(%rbx)
leaq 0x1335a(%rip), %rax     # 0x31d30
movq %rax, (%rbx)
leaq 0x132d8(%rip), %rsi     # 0x31cb8
movq 0x135e9(%rip), %rdx     # 0x31fd0
movq %rbx, %rdi
callq 0x5620
nop
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/Orbit.cpp
// Function: posOrbit2ECI(Orbit)
Vector3d posOrbit2ECI(Orbit element){
    double p = element.semi_latus_rectum;
    double nu = element.true_anomaly;
    double e = element.eccentricity;
    Vector3d posPQW_;
    Vector3d posECI_;
    posPQW_ << p*cos(nu)/(1+e*cos(nu)),
    p*sin(nu)/(1+e*cos(nu)),
    0;
    posECI_ = dcmPQW2ECI(element) * posPQW_;
    return posECI_;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, %rbx
movsd 0x190(%rsp), %xmm0
movsd %xmm0, 0x98(%rsp)
movsd 0x150(%rsp), %xmm0
movsd %xmm0, 0xa8(%rsp)
movsd 0x188(%rsp), %xmm0
movsd %xmm0, 0xa0(%rsp)
callq 0x5690
mulsd 0x98(%rsp), %xmm0
movsd %xmm0, 0xb0(%rsp)
movsd 0xa0(%rsp), %xmm0
callq 0x5690
mulsd 0xa8(%rsp), %xmm0
addsd 0x2ff0(%rip), %xmm0     # 0x25070
movsd 0xb0(%rsp), %xmm1
divsd %xmm0, %xmm1
leaq 0xb8(%rsp), %rax
leaq 0xe0(%rsp), %r14
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
movl $0x1, %ecx
movq %rcx, 0x10(%r14)
movq %rcx, 0x18(%r14)
movsd %xmm1, (%rax)
movsd 0xa0(%rsp), %xmm0
callq 0x50f0
mulsd 0x98(%rsp), %xmm0
movsd %xmm0, 0x98(%rsp)
movsd 0xa0(%rsp), %xmm0
callq 0x5690
mulsd 0xa8(%rsp), %xmm0
addsd 0x2f78(%rip), %xmm0     # 0x25070
movsd 0x98(%rsp), %xmm1
divsd %xmm0, %xmm1
leaq 0xd8(%rsp), %rsi
movsd %xmm1, (%rsi)
movq %r14, %rdi
callq 0x15520
leaq 0xd0(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x15520
movq 0xf8(%rsp), %rax
addq 0xe8(%rsp), %rax
cmpq $0x3, %rax
jne 0x22228
cmpq $0x1, 0xf0(%rsp)
jne 0x22228
leaq 0x140(%rsp), %rsi
movl $0x12, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
leaq 0xe0(%rsp), %r14
movq %r14, %rdi
callq 0x21d63
movsd 0xb8(%rsp), %xmm0
movsd 0xc0(%rsp), %xmm1
movsd 0xc8(%rsp), %xmm2
movsd 0x10(%r14), %xmm3
mulsd %xmm0, %xmm3
movsd 0x28(%r14), %xmm4
mulsd %xmm1, %xmm4
addsd %xmm3, %xmm4
movsd 0x40(%r14), %xmm3
mulsd %xmm2, %xmm3
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
mulpd (%r14), %xmm0
addsd %xmm4, %xmm3
movupd 0x18(%r14), %xmm4
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
mulpd %xmm4, %xmm1
addpd %xmm0, %xmm1
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
mulpd 0x30(%r14), %xmm2
addpd %xmm1, %xmm2
movupd %xmm2, (%rbx)
movsd %xmm3, 0x10(%rbx)
movq %rbx, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r14
retq
jmp 0x221ff
movq 0xf8(%rsp), %rcx
addq 0xe8(%rsp), %rcx
cmpq $0x3, %rcx
jne 0x22228
cmpq $0x1, 0xf0(%rsp)
jne 0x22228
movq %rax, %rdi
callq 0x5650
leaq 0x50a5(%rip), %rdi      # 0x272d4
leaq 0x5125(%rip), %rsi      # 0x2735b
leaq 0x514b(%rip), %rcx      # 0x27388
movl $0x6a, %edx
callq 0x5250
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/Orbit.cpp
// Function: velOrbit2ECI(Orbit)
Vector3d velOrbit2ECI(Orbit element){
    double p = element.semi_latus_rectum;
    double nu = element.true_anomaly;
    double e = element.eccentricity;
    double mu = element.mu;
    Vector3d velPQW_;
    Vector3d velECI_;
    velPQW_ << -sqrt(mu/p)*sin(nu),
    sqrt(mu/p)*(e+cos(nu)),
    0;
    velECI_ = dcmPQW2ECI(element) * velPQW_;
    return velECI_;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdi, %rbx
movsd 0x198(%rsp), %xmm0
movsd %xmm0, 0xa0(%rsp)
movsd 0x150(%rsp), %xmm1
movsd 0x160(%rsp), %xmm0
movsd %xmm0, 0xa8(%rsp)
divsd 0x1a0(%rsp), %xmm1
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
xorpd %xmm2, %xmm2
movsd %xmm1, 0x90(%rsp)
ucomisd %xmm2, %xmm1
movsd %xmm0, 0x98(%rsp)
jae 0x222bb
movsd 0x90(%rsp), %xmm0
callq 0x52e0
xorpd 0x3c8d(%rip), %xmm0     # 0x25f50
movapd %xmm0, 0x110(%rsp)
movsd 0xa0(%rsp), %xmm0
callq 0x50f0
mulsd 0x110(%rsp), %xmm0
leaq 0xf8(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x1, %ecx
movq %rcx, 0xc0(%rsp)
movq %rcx, 0xc8(%rsp)
movsd %xmm0, (%rax)
movsd 0x90(%rsp), %xmm0
ucomisd 0x3a0f(%rip), %xmm0     # 0x25d38
jae 0x22342
movsd 0x90(%rsp), %xmm0
callq 0x52e0
movsd %xmm0, 0x98(%rsp)
movsd 0xa0(%rsp), %xmm0
callq 0x5690
movsd 0xa8(%rsp), %xmm1
addsd %xmm0, %xmm1
mulsd 0x98(%rsp), %xmm1
leaq 0x130(%rsp), %rsi
movsd %xmm1, (%rsi)
leaq 0xb0(%rsp), %rdi
callq 0x15520
leaq 0x128(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x15520
movq 0xc8(%rsp), %rax
addq 0xb8(%rsp), %rax
cmpq $0x3, %rax
jne 0x2248e
cmpq $0x1, 0xc0(%rsp)
jne 0x2248e
leaq 0x150(%rsp), %rsi
movl $0x12, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
callq 0x21d63
movsd 0xf8(%rsp), %xmm0
movsd 0x100(%rsp), %xmm1
movsd 0x108(%rsp), %xmm2
movsd 0x10(%r14), %xmm3
mulsd %xmm0, %xmm3
movsd 0x28(%r14), %xmm4
mulsd %xmm1, %xmm4
addsd %xmm3, %xmm4
movsd 0x40(%r14), %xmm3
mulsd %xmm2, %xmm3
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
mulpd (%r14), %xmm0
addsd %xmm4, %xmm3
movupd 0x18(%r14), %xmm4
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
mulpd %xmm4, %xmm1
addpd %xmm0, %xmm1
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
mulpd 0x30(%r14), %xmm2
addpd %xmm1, %xmm2
movupd %xmm2, (%rbx)
movsd %xmm3, 0x10(%rbx)
movq %rbx, %rax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r14
retq
jmp 0x22465
movq 0xc8(%rsp), %rcx
addq 0xb8(%rsp), %rcx
cmpq $0x3, %rcx
jne 0x2248e
cmpq $0x1, 0xc0(%rsp)
jne 0x2248e
movq %rax, %rdi
callq 0x5650
leaq 0x4e3f(%rip), %rdi      # 0x272d4
leaq 0x4ebf(%rip), %rsi      # 0x2735b
leaq 0x4ee5(%rip), %rcx      # 0x27388
movl $0x6a, %edx
callq 0x5250
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/Orbit.cpp
// Function: success_orbit(Orbit)
bool success_orbit(Orbit element){
    double const earth_radius = 6378.137; // 地球半径 km
    Vector3d posECI_check;
    element.true_anomaly = 0;
    posECI_check = posOrbit2ECI(element);
    if (posECI_check.norm() > earth_radius) {
        return true;
    } else {
        return false;
    }
}

// Assembly:
pushq %rbx
subq $0xb0, %rsp
leaq 0xc0(%rsp), %rsi
movq $0x0, 0x48(%rsi)
movl $0x12, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
callq 0x22007
movsd 0x10(%rbx), %xmm0
movapd (%rbx), %xmm1
mulpd %xmm1, %xmm1
mulsd %xmm0, %xmm0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm0, %xmm2
addsd %xmm1, %xmm2
xorps %xmm0, %xmm0
sqrtsd %xmm2, %xmm0
ucomisd 0x5d38(%rip), %xmm0     # 0x28248
seta %al
addq $0xb0, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/Orbit.cpp
// Function: julian_day(int, int, int, int, int, double)
double julian_day(int year, int mon, int day, int hr, int minute, double sec){
    /* Input UTC
     *  inputs          description                    range / units
     *    year        - year                           1900 .. 2100
     *    mon         - month                          1 .. 12
     *    day         - day                            1 .. 28,29,30,31
     *    hr          - universal time hour            0 .. 23
     *    min         - universal time min             0 .. 59
     *    sec         - universal time sec             0.0 .. 59.999
     *  outputs       :
     *    jd          - julian date                    days from 4713 bc
     * cf. sgp4ext.cpp */
    double jd = 367.0 * year - floor((7 * (year + floor((mon + 9) / 12.0))) * 0.25) +
                floor( 275 * mon / 9.0 ) + day + 1721013.5 +
                ((sec / 60.0 + minute) / 60.0 + hr) / 24.0;  // ut in days
    return jd;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movsd %xmm0, 0x10(%rsp)
movl %r8d, %ebp
movl %ecx, %ebx
movl %edx, %r14d
movl %esi, %r15d
xorps %xmm0, %xmm0
cvtsi2sd %edi, %xmm0
movsd %xmm0, 0x8(%rsp)
leal 0x9(%r15), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x5cf9(%rip), %xmm0     # 0x28250
callq 0x55e0
addsd 0x8(%rsp), %xmm0
mulsd 0x5cee(%rip), %xmm0     # 0x28258
mulsd 0x37be(%rip), %xmm0     # 0x25d30
callq 0x55e0
movsd 0x8(%rsp), %xmm1
mulsd 0x5cdb(%rip), %xmm1     # 0x28260
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
imull $0x113, %r15d, %eax     # imm = 0x113
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x5cc3(%rip), %xmm0     # 0x28268
callq 0x55e0
addsd 0x8(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
addsd %xmm1, %xmm0
addsd 0x5cac(%rip), %xmm0     # 0x28270
movsd 0x5cac(%rip), %xmm1     # 0x28278
movsd 0x10(%rsp), %xmm3
divsd %xmm1, %xmm3
cvtsi2sd %ebp, %xmm2
addsd %xmm3, %xmm2
divsd %xmm1, %xmm2
xorps %xmm1, %xmm1
cvtsi2sd %ebx, %xmm1
addsd %xmm2, %xmm1
divsd 0x5c8b(%rip), %xmm1     # 0x28280
addsd %xmm1, %xmm0
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/coordinate_transform.cpp
// Function: dcmECI2ECEF(double)
Matrix3d dcmECI2ECEF(double second){
    double omega = 7.292115e-5; // 地球の自転角速度[rad/s]
    double theta = omega * second;
    Matrix3d dcm;
    dcm << cos(theta), sin(theta), 0.0,
          -sin(theta), cos(theta), 0.0,
           0.0,        0.0,        1.0;
    return dcm;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
mulsd 0x5cc6(%rip), %xmm0     # 0x28398
movsd %xmm0, (%rsp)
callq 0x5690
leaq 0x8(%rsp), %r14
movq %rbx, (%r14)
movq $0x0, 0x8(%r14)
movl $0x1, %eax
movq %rax, 0x10(%r14)
movq %rax, 0x18(%r14)
movsd %xmm0, (%rbx)
movsd (%rsp), %xmm0
callq 0x50f0
leaq 0x60(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
leaq 0x58(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x22604
movq %rax, %r14
movsd (%rsp), %xmm0
callq 0x50f0
xorps 0x3810(%rip), %xmm0     # 0x25f50
leaq 0x50(%rsp), %rsi
movlps %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
movq %rax, %r14
movsd (%rsp), %xmm0
callq 0x5690
leaq 0x48(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
leaq 0x40(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x22604
leaq 0x38(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x22604
leaq 0x30(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x22604
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
leaq 0x28(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x22604
movq 0x20(%rsp), %rax
addq 0x10(%rsp), %rax
cmpq $0x3, %rax
jne 0x22815
cmpq $0x3, 0x18(%rsp)
jne 0x22815
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r14
retq
jmp 0x227f5
jmp 0x227f5
jmp 0x227f5
jmp 0x227f5
jmp 0x227f5
jmp 0x227f5
jmp 0x227f5
movq 0x20(%rsp), %rcx
addq 0x10(%rsp), %rcx
cmpq $0x3, %rcx
jne 0x22815
cmpq $0x3, 0x18(%rsp)
jne 0x22815
movq %rax, %rdi
callq 0x5650
leaq 0x4ab8(%rip), %rdi      # 0x272d4
leaq 0x4b38(%rip), %rsi      # 0x2735b
leaq 0x5a5e(%rip), %rcx      # 0x28288
movl $0x6a, %edx
callq 0x5250
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/coordinate_transform.cpp
// Function: posLLH(Eigen::Matrix<double, 3, 1, 0, 3, 1>)
Vector3d posLLH(Vector3d posECEF_){
    
    Vector3d posLLH;
    double a = 6378137.0;               // WGS84の長軸[m]
    double one_f = 298.257223563;       // 扁平率fの1/f（平滑度）
    double b = a * (1.0 - 1.0 / one_f); // WGS84の短軸[m] b = 6356752.314245
    double e2 = (1.0 / one_f) * (2.0 - (1.0 / one_f));  // 第一離心率eの2乗
    double ed2 = (e2 * a * a / (b * b));// 第二離心率e'の2乗
    double p = sqrt(posECEF_(0) * posECEF_(0) + posECEF_(1) * posECEF_(1));    // 現在位置での地球回転軸からの距離[m]
    double theta = atan2(posECEF_(2)*a, p*b);    //[rad]
    posLLH[0] = rad2deg(atan2((posECEF_(2) + ed2 * b * pow(sin(theta),3)), p - e2 * a * pow(cos(theta),3)));
    posLLH[1] = rad2deg(atan2(posECEF_(1),posECEF_(0)));
    posLLH[2] = p / cos(deg2rad(posLLH(0))) - n_posECEF2LLH(posLLH(0), a, e2);
    return posLLH;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movsd (%rsi), %xmm0
movsd 0x8(%rsi), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm2
movsd %xmm2, 0x8(%rsp)
movsd 0x10(%rsi), %xmm0
mulsd 0x58af(%rip), %xmm0     # 0x28208
movsd 0x5887(%rip), %xmm1     # 0x281e8
mulsd %xmm2, %xmm1
callq 0x50a0
movsd %xmm0, 0x20(%rsp)
movsd 0x10(%r14), %xmm1
movsd %xmm1, 0x10(%rsp)
callq 0x50f0
movsd 0x349f(%rip), %xmm1     # 0x25e28
callq 0x5640
mulsd 0x5a0a(%rip), %xmm0     # 0x283a0
addsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd 0x20(%rsp), %xmm0
callq 0x5690
movsd 0x3473(%rip), %xmm1     # 0x25e28
callq 0x5640
movapd %xmm0, %xmm1
mulsd 0x59e2(%rip), %xmm1     # 0x283a8
addsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm0
callq 0x50a0
movaps %xmm0, 0x10(%rsp)
movsd (%r14), %xmm1
movsd 0x8(%r14), %xmm0
callq 0x50a0
movapd 0x10(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
mulpd 0x35a2(%rip), %xmm1     # 0x25fa0
divpd 0x35aa(%rip), %xmm1     # 0x25fb0
movupd %xmm1, (%rbx)
divsd 0x32fe(%rip), %xmm1     # 0x25d10
mulsd 0x32fe(%rip), %xmm1     # 0x25d18
movapd %xmm1, 0x10(%rsp)
movapd %xmm1, %xmm0
callq 0x5690
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movaps 0x10(%rsp), %xmm0
callq 0x50f0
movsd %xmm0, 0x20(%rsp)
movapd 0x10(%rsp), %xmm0
callq 0x50f0
movsd 0x20(%rsp), %xmm1
mulsd 0x594e(%rip), %xmm1     # 0x283b0
mulsd %xmm0, %xmm1
addsd 0x2602(%rip), %xmm1     # 0x25070
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0x22a82
sqrtsd %xmm0, %xmm0
jmp 0x22a87
callq 0x52e0
movsd 0x5929(%rip), %xmm1     # 0x283b8
divsd %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x10(%rbx)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/coordinate_transform.cpp
// Function: dcmECEF2NED(Eigen::Matrix<double, 3, 1, 0, 3, 1>)
Matrix3d dcmECEF2NED(Vector3d posLLH_){
    Matrix3d dcm;
    double lat = deg2rad(posLLH_[0]);
    double lon = deg2rad(posLLH_[1]);
    dcm << -sin(lat)*cos(lon), -sin(lat)*sin(lon), cos(lat),
           -sin(lon),           cos(lon),          0,
           -cos(lat)*cos(lon), -cos(lat)*sin(lon), -sin(lat);
    return dcm;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
movsd (%rsi), %xmm0
movsd 0x8(%rsi), %xmm2
movsd 0x3245(%rip), %xmm3     # 0x25d10
divsd %xmm3, %xmm0
movsd 0x3241(%rip), %xmm1     # 0x25d18
mulsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
divsd %xmm3, %xmm2
mulsd %xmm1, %xmm2
movsd %xmm2, (%rsp)
callq 0x50f0
xorpd 0x3455(%rip), %xmm0     # 0x25f50
movapd %xmm0, 0x10(%rsp)
movsd (%rsp), %xmm0
callq 0x5690
mulsd 0x10(%rsp), %xmm0
leaq 0x28(%rsp), %r14
movq %rbx, (%r14)
movq $0x0, 0x8(%r14)
movl $0x1, %eax
movq %rax, 0x10(%r14)
movq %rax, 0x18(%r14)
movsd %xmm0, (%rbx)
movsd 0x8(%rsp), %xmm0
callq 0x50f0
xorps 0x340c(%rip), %xmm0     # 0x25f50
movaps %xmm0, 0x10(%rsp)
movsd (%rsp), %xmm0
callq 0x50f0
mulsd 0x10(%rsp), %xmm0
leaq 0x80(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
movq %rax, %r14
movsd 0x8(%rsp), %xmm0
callq 0x5690
leaq 0x78(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
movq %rax, %r14
movsd (%rsp), %xmm0
callq 0x50f0
xorpd 0x33af(%rip), %xmm0     # 0x25f50
leaq 0x70(%rsp), %rsi
movlpd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
movq %rax, %r14
movsd (%rsp), %xmm0
callq 0x5690
leaq 0x68(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
leaq 0x60(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x22604
movq %rax, %r14
movsd 0x8(%rsp), %xmm0
callq 0x5690
xorps 0x3357(%rip), %xmm0     # 0x25f50
movaps %xmm0, 0x10(%rsp)
movsd (%rsp), %xmm0
callq 0x5690
mulsd 0x10(%rsp), %xmm0
leaq 0x58(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
movq %rax, %r14
movsd 0x8(%rsp), %xmm0
callq 0x5690
xorps 0x331c(%rip), %xmm0     # 0x25f50
movaps %xmm0, 0x10(%rsp)
movsd (%rsp), %xmm0
callq 0x50f0
mulsd 0x10(%rsp), %xmm0
leaq 0x50(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
movq %rax, %r14
movsd 0x8(%rsp), %xmm0
callq 0x50f0
xorpd 0x32e0(%rip), %xmm0     # 0x25f50
leaq 0x48(%rsp), %rsi
movlpd %xmm0, (%rsi)
movq %r14, %rdi
callq 0x22604
movq 0x40(%rsp), %rax
addq 0x30(%rsp), %rax
cmpq $0x3, %rax
jne 0x22cd5
cmpq $0x3, 0x38(%rsp)
jne 0x22cd5
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r14
retq
jmp 0x22cb5
jmp 0x22cb5
jmp 0x22cb5
jmp 0x22cb5
jmp 0x22cb5
jmp 0x22cb5
jmp 0x22cb5
movq 0x40(%rsp), %rcx
addq 0x30(%rsp), %rcx
cmpq $0x3, %rcx
jne 0x22cd5
cmpq $0x3, 0x38(%rsp)
jne 0x22cd5
movq %rax, %rdi
callq 0x5650
leaq 0x45f8(%rip), %rdi      # 0x272d4
leaq 0x4678(%rip), %rsi      # 0x2735b
leaq 0x559e(%rip), %rcx      # 0x28288
movl $0x6a, %edx
callq 0x5250
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/coordinate_transform.cpp
// Function: vel_wind_NEDframe(double, double)
Vector3d vel_wind_NEDframe(double wind_speed, double wind_direction){
    Vector3d vel;
    vel[0] = - wind_speed * cos(deg2rad(wind_direction));
    vel[1] = - wind_speed * sin(deg2rad(wind_direction));
    vel[2] = 0;
    return vel;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
movaps %xmm0, 0x20(%rsp)
movq %rdi, %rbx
divsd 0x2c21(%rip), %xmm1     # 0x25d10
mulsd 0x2c21(%rip), %xmm1     # 0x25d18
movsd %xmm1, 0x8(%rsp)
movapd %xmm1, %xmm0
callq 0x5690
movapd %xmm0, 0x10(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x50f0
movapd 0x10(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
movapd 0x20(%rsp), %xmm0
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
xorpd 0x2e1d(%rip), %xmm0     # 0x25f50
mulpd %xmm1, %xmm0
movupd %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/coordinate_transform.cpp
// Function: angle_of_attack(Eigen::Matrix<double, 3, 1, 0, 3, 1>)
Vector3d angle_of_attack(Vector3d vel_AIR_BODYframe_){
    double vel_abs = vel_AIR_BODYframe_.norm();
    double alpha;
    double beta;
    double gamma;
    if(abs(vel_AIR_BODYframe_[0]) < 0.001 || vel_abs < 0.01){
        alpha = 0;
        beta = 0;
        gamma = 0;
    }else{
        alpha = atan2(vel_AIR_BODYframe_[2], vel_AIR_BODYframe_[0]);
//        beta = asin(vel_AIR_BODYframe_[1] / vel_abs);
        beta = atan2(vel_AIR_BODYframe_[1], vel_AIR_BODYframe_[0]);
        gamma = atan2(sqrt(vel_AIR_BODYframe_[1] * vel_AIR_BODYframe_[1] +
                      vel_AIR_BODYframe_[2] * vel_AIR_BODYframe_[2]), vel_AIR_BODYframe_[0]);
    }
    Vector3d aoa;
    aoa[0] = alpha;
    aoa[1] = beta;
    aoa[2] = gamma;
    return aoa;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movupd (%rsi), %xmm1
movapd 0x1e54(%rip), %xmm0     # 0x25030
andpd %xmm1, %xmm0
movsd 0x51d8(%rip), %xmm2     # 0x283c0
ucomisd %xmm0, %xmm2
xorps %xmm5, %xmm5
ja 0x23293
movq %rsi, %r14
movapd %xmm1, %xmm2
mulpd %xmm1, %xmm2
movsd 0x10(%rsi), %xmm0
movapd %xmm0, %xmm3
mulsd %xmm0, %xmm3
movapd %xmm2, %xmm4
unpckhpd %xmm2, %xmm4            # xmm4 = xmm4[1],xmm2[1]
addsd %xmm3, %xmm4
addsd %xmm2, %xmm4
xorps %xmm2, %xmm2
sqrtsd %xmm4, %xmm2
movsd 0x2ad4(%rip), %xmm3     # 0x25d00
ucomisd %xmm2, %xmm3
xorpd %xmm3, %xmm3
xorpd %xmm2, %xmm2
ja 0x2329b
callq 0x50a0
movsd %xmm0, 0x10(%rsp)
movsd (%r14), %xmm1
movsd 0x8(%r14), %xmm0
callq 0x50a0
movsd %xmm0, 0x8(%rsp)
movsd (%r14), %xmm1
movsd 0x8(%r14), %xmm0
movsd 0x10(%r14), %xmm2
mulsd %xmm2, %xmm2
mulsd %xmm0, %xmm0
addsd %xmm2, %xmm0
sqrtsd %xmm0, %xmm0
callq 0x50a0
movsd 0x8(%rsp), %xmm3
movsd 0x10(%rsp), %xmm5
movapd %xmm0, %xmm2
jmp 0x2329b
xorpd %xmm3, %xmm3
xorpd %xmm2, %xmm2
movsd %xmm5, (%rbx)
movsd %xmm3, 0x8(%rbx)
movsd %xmm2, 0x10(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/coordinate_transform.cpp
// Function: dcmNED2BODY(double, double)
Matrix3d dcmNED2BODY(double azimuth_rad, double elevation_rad){
    Matrix3d dcm;
    double az = azimuth_rad;
    double el = elevation_rad;
    /*
    dcm <<  cos(el)*cos(az), cos(el)*sin(az), -sin(el),
    -sin(az),                cos(az),          0,
    sin(el)*cos(az),         sin(el)*sin(az),  cos(el);
    */
    dcm = dcmNED2BODY(az, el, 0.0);
    return dcm;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq %rsp, %r14
xorps %xmm2, %xmm2
movq %r14, %rdi
callq 0x23304
movaps (%r14), %xmm0
movups %xmm0, (%rbx)
movaps 0x10(%r14), %xmm0
movups %xmm0, 0x10(%rbx)
movaps 0x20(%r14), %xmm0
movups %xmm0, 0x20(%rbx)
movaps 0x30(%r14), %xmm0
movups %xmm0, 0x30(%rbx)
movsd 0x40(%r14), %xmm0
movsd %xmm0, 0x40(%rbx)
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/coordinate_transform.cpp
// Function: azimuth_elevation(Eigen::Matrix<double, 3, 1, 0, 3, 1>)
Vector2d azimuth_elevation(Vector3d vel_BODY_NEDframe){
    double north  = vel_BODY_NEDframe[0];
    double east = vel_BODY_NEDframe[1];
    double down = vel_BODY_NEDframe[2];
    double azimuth = pi/2.0 - atan2(north, east);
    double elevation = atan2(-down, sqrt(north * north + east * east));
    Vector2d azel;
    azel[0] = azimuth;
    azel[1] = elevation;
    return azel;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movsd (%rsi), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd 0x8(%rsi), %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x10(%rsi), %xmm2
movaps %xmm2, 0x20(%rsp)
callq 0x50a0
movsd 0x267a(%rip), %xmm1     # 0x25d50
subsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
movaps 0x20(%rsp), %xmm0
xorps 0x2864(%rip), %xmm0     # 0x25f50
movsd 0x8(%rsp), %xmm2
mulsd %xmm2, %xmm2
movsd 0x10(%rsp), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm2, %xmm1
sqrtsd %xmm1, %xmm1
callq 0x50a0
movsd 0x18(%rsp), %xmm1
movsd %xmm1, (%rbx)
movsd %xmm0, 0x8(%rbx)
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
retq