// File: /workspace/github_cpp_makefile_star2_O3/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 $0x4d8, %rsp            # imm = 0x4D8
movq %rdi, %rbx
leaq 0x98(%rsp), %r14
movq %r14, %rdi
callq 0x1c980
leaq 0xc2f1(%rip), %r12      # 0x279ae
leaq 0xc2e7(%rip), %r13      # 0x279ab
leaq 0xc2dd(%rip), %rbp      # 0x279a8
leaq 0xc2d3(%rip), %rax      # 0x279a5
leaq 0xc2c9(%rip), %r10      # 0x279a2
leaq 0xc2bf(%rip), %r11      # 0x2799f
leaq 0xc2b6(%rip), %r15      # 0x2799d
leaq 0xc2b5(%rip), %rsi      # 0x279a3
leaq 0xc35f(%rip), %rdx      # 0x27a54
leaq 0xc2ad(%rip), %rcx      # 0x279a9
leaq 0xc2a9(%rip), %r8       # 0x279ac
leaq 0xc2a5(%rip), %r9       # 0x279af
movq %r14, %rdi
pushq %r12
pushq %r13
pushq %rbp
pushq %rax
pushq %r10
pushq %r11
pushq %r15
leaq 0xc27b(%rip), %rax      # 0x2799b
pushq %rax
leaq 0xc271(%rip), %rax      # 0x27999
pushq %rax
leaq 0xc267(%rip), %rax      # 0x27997
pushq %rax
callq 0x1cc10
addq $0x50, %rsp
movq $0x1, 0x8(%rsp)
movq $0xf, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movl $0xf, %esi
movl $0x1, %edx
movl $0xf, %ecx
movq %rbx, %rdi
callq 0x69e0
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x18b78
xorl %r13d, %r13d
leaq 0x98(%rsp), %rbp
leaq 0x20(%rsp), %r14
xorl %r12d, %r12d
movq %rbp, %rdi
movq %r14, %rsi
leaq 0x28(%rsp), %rdx
leaq 0x30(%rsp), %rcx
leaq 0x38(%rsp), %r8
leaq 0x40(%rsp), %r9
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
leaq 0x90(%rsp), %rax
pushq %rax
callq 0x1cdac
addq $0x50, %rsp
testb %al, %al
je 0x1b867
leaq 0x1(%r12), %r15
movl $0xf, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1ea44
movq 0x8(%rbx), %rax
cmpq %r12, %rax
jle 0x1b8d7
movq (%rbx), %rcx
addq %r13, %rcx
shlq $0x3, %rax
xorl %edx, %edx
cmpq %rdx, 0x10(%rbx)
jle 0x1b8d7
movsd 0x20(%rsp,%rdx,8), %xmm0
movsd %xmm0, (%rcx)
incq %rdx
addq %rax, %rcx
cmpq $0xf, %rdx
jne 0x1b83b
addq $0x8, %r13
movq %r15, %r12
jmp 0x1b78c
movq 0x4c0(%rsp), %rdi
testq %rdi, %rdi
je 0x1b884
movq 0x4d0(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
movl $0x418, %r14d           # imm = 0x418
leaq (%rsp,%r14), %rax
addq $0x98, %rax
movq -0x10(%rax), %rdi
cmpq %rdi, %rax
je 0x1b8a8
movq (%rax), %rsi
incq %rsi
callq 0x53b0
addq $-0x20, %r14
cmpq $0x238, %r14            # imm = 0x238
jne 0x1b88a
leaq 0x98(%rsp), %rdi
callq 0x1cf40
movq %rbx, %rax
addq $0x4d8, %rsp            # imm = 0x4D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9e2f(%rip), %rdi      # 0x2570d
leaq 0x9e5d(%rip), %rsi      # 0x25742
leaq 0x9e82(%rip), %rcx      # 0x2576e
movl $0x151, %edx            # imm = 0x151
callq 0x5250
jmp 0x1b8ff
jmp 0x1b8fa
movq %rax, %r14
jmp 0x1b90a
movq %rax, %r14
movq (%rbx), %rdi
callq 0x5460
leaq 0x98(%rsp), %rdi
callq 0x1cee2
movq %r14, %rdi
callq 0x5650
nop