// File: /workspace/github_cpp_makefile_star2_O2/istellartech[P]OpenTsiolkovsky/src/fileio.cpp
// Function: read_csv_vector_15d(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
MatrixXd read_csv_vector_15d(string filename){
//    ファイル名を入れるとMatrixXd(n行15列)を返す
    const int col_number = 15;
    io::CSVReader<col_number> in(filename);
    double buf[col_number];
    in.set_header("1","2","3","4","5","6","7","8","9","10","11","12","13","14","15");
    MatrixXd value = MatrixXd::Zero(1,col_number);
    int now_col = 0;
    while(in.read_row(buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], 
                buf[6], buf[7], buf[8], buf[9], buf[10], buf[11], buf[12], buf[13], buf[14])){
        value.conservativeResize(now_col+1, col_number);
        for(int i = 0; i < col_number; i++){
            value(now_col, i) = buf[i];
        }
        now_col++;
    }

    return value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4e8, %rsp            # imm = 0x4E8
movq %rdi, %rbx
leaq 0xa8(%rsp), %r14
movq %r14, %rdi
callq 0x17784
leaq 0xbc38(%rip), %r12      # 0x226de
leaq 0xbc2e(%rip), %r13      # 0x226db
leaq 0xbc24(%rip), %rbp      # 0x226d8
leaq 0xbc1a(%rip), %rax      # 0x226d5
leaq 0xbc10(%rip), %r10      # 0x226d2
leaq 0xbc06(%rip), %r11      # 0x226cf
leaq 0xbbfd(%rip), %r15      # 0x226cd
leaq 0xbbfc(%rip), %rsi      # 0x226d3
leaq 0xbca6(%rip), %rdx      # 0x22784
leaq 0xbbf4(%rip), %rcx      # 0x226d9
leaq 0xbbf0(%rip), %r8       # 0x226dc
leaq 0xbbec(%rip), %r9       # 0x226df
movq %r14, %rdi
pushq %r12
pushq %r13
pushq %rbp
pushq %rax
pushq %r10
pushq %r11
pushq %r15
leaq 0xbbc2(%rip), %rax      # 0x226cb
pushq %rax
leaq 0xbbb8(%rip), %rax      # 0x226c9
pushq %rax
leaq 0xbbae(%rip), %rax      # 0x226c7
pushq %rax
callq 0x178c8
addq $0x50, %rsp
leaq 0x90(%rsp), %rdi
pushq $0x1
popq %rsi
pushq $0xf
popq %rdx
callq 0xfc8a
leaq 0x90(%rsp), %rsi
movq %rbx, %rdi
callq 0x16ebe
xorl %ebp, %ebp
leaq 0xa8(%rsp), %r14
leaq 0x10(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
leaq 0x18(%rsp), %rdx
leaq 0x20(%rsp), %rcx
leaq 0x28(%rsp), %r8
leaq 0x30(%rsp), %r9
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
leaq 0x80(%rsp), %rax
pushq %rax
callq 0x179ba
addq $0x50, %rsp
testb %al, %al
je 0x16c23
leaq 0x1(%rbp), %r13
movq %rbx, %rdi
movq %r13, %rsi
pushq $0xf
popq %rdx
callq 0x1965e
xorl %r12d, %r12d
cmpq $0xf, %r12
je 0x16c1b
movsd 0x10(%rsp,%r12,8), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x6548
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
incq %r12
jmp 0x16beb
movq %r13, %rbp
jmp 0x16b55
leaq 0xa8(%rsp), %rdi
callq 0x17ae0
movq %rbx, %rax
addq $0x4e8, %rsp            # imm = 0x4E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x16c47
movq %rax, %r14
jmp 0x16c59
jmp 0x16c4e
movq %rax, %r14
movq %rbx, %rdi
callq 0x6592
leaq 0xa8(%rsp), %rdi
callq 0x17ae0
movq %r14, %rdi
callq 0x5640