// File: /workspace/github_cpp_makefile_star2_O1/icemiliang[P]vot/src/votx/otx.cc
// Function: votx::OTX::read_diracX_from_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void OTX::read_diracX_from_file(std::string pFilename) {
        std::string line, tmp, sNum, sDim, sDirac;
        std::ifstream file(pFilename);
        do {getline(file, line);} while (line[0] == '#');
        std::stringstream pline(line);
        pline >> tmp >> sNum >> sDim;
        int num = stoi(sNum);
        int dim = stoi(sDim);
        vDim = dim;

        // Read samples line by line
        for (int i = 0; i < num; i++) {
            do {getline(file, line);} while (line[0] == '#');
            std::stringstream pline(line);
            pline >> sDirac;
            double* coors = new double[dim];
            for (int j = 0; j < dim; j++) {
                ASSERT_VOT(pline >> tmp, "# coor elements != dimension");
                coors[j] = stod(tmp);
            }
            DiracX *tmpdiracx = new DiracX(dim, *coors, stod(sDirac));
            vDiracXs.push_back(tmpdiracx);
        }
        vNumDiracXs = vDiracXs.size();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5f8, %rsp            # imm = 0x5F8
movq %rdi, %r14
leaq 0x28(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x50(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xb0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x90(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x70(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x3f0(%rsp), %r15
movq %r15, %rdi
movl $0x8, %edx
callq 0x7570
leaq 0x18(%rsp), %rbx
movq 0x3f0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7320
movsbl %al, %edx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x7670
movq 0x18(%rsp), %rax
cmpb $0x23, (%rax)
je 0xfe69
leaq 0x268(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movl $0x18, %edx
callq 0x7550
movq %r14, 0x8(%rsp)
leaq 0x268(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x7400
leaq 0xa0(%rsp), %rsi
movq %rax, %rdi
callq 0x7400
leaq 0x80(%rsp), %rsi
movq %rax, %rdi
callq 0x7400
movq 0xa0(%rsp), %rbx
callq 0x7060
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0xe0(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x7490
cmpq %rbx, (%r12)
je 0x10392
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x1039e
movq %rax, %rcx
movl (%r14), %eax
cmpl $0x22, %eax
je 0x1039e
movq %rcx, (%rsp)
testl %eax, %eax
jne 0xff48
movl %ebp, (%r14)
movq 0x80(%rsp), %rbx
movl (%r14), %ebp
movl $0x0, (%r14)
leaq 0xe0(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x7490
cmpq %rbx, (%r12)
je 0x103aa
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
movq (%rsp), %rcx
jb 0x103b6
movq %rax, %r12
movl (%r14), %eax
cmpl $0x22, %eax
je 0x103b6
testl %eax, %eax
jne 0xffb0
movl %ebp, (%r14)
movq 0x8(%rsp), %rax
movl %r12d, 0x84(%rax)
testl %ecx, %ecx
jle 0x101e0
movslq %r12d, %rdx
leaq (,%rdx,8), %rax
testl %r12d, %r12d
movq $-0x1, %rcx
cmovnsq %rax, %rcx
movq %rcx, 0xc8(%rsp)
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movq %rdx, 0xd0(%rsp)
xorl %eax, %eax
leaq 0xe0(%rsp), %r15
movq %r12, 0xc0(%rsp)
movq %rax, 0x38(%rsp)
movq 0x3f0(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x3f0(%rsp), %rbx
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7320
movsbl %al, %edx
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x7670
movq 0x18(%rsp), %rax
cmpb $0x23, (%rax)
je 0x1000a
movq %r15, %rdi
leaq 0x18(%rsp), %rsi
movl $0x18, %edx
callq 0x7550
movq %r15, %rdi
leaq 0x60(%rsp), %rsi
callq 0x7400
movq 0xc8(%rsp), %rdi
callq 0x7030
movq %rax, %rbx
testl %r12d, %r12d
jle 0x100e7
xorl %ebp, %ebp
movq %r15, %rdi
leaq 0x40(%rsp), %rsi
callq 0x7400
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x102dd
movq 0x40(%rsp), %r13
movl (%r14), %r12d
movl $0x0, (%r14)
movq %r13, %rdi
leaq 0x10(%rsp), %rsi
callq 0x7290
cmpq %r13, 0x10(%rsp)
je 0x102d1
movl (%r14), %eax
testl %eax, %eax
je 0x100d2
cmpl $0x22, %eax
jne 0x100d5
jmp 0x1036e
movl %r12d, (%r14)
movsd %xmm0, (%rbx,%rbp,8)
incq %rbp
cmpq %rbp, 0xd0(%rsp)
jne 0x1007b
movl $0x60, %edi
callq 0x7340
movq %rax, %r13
movq 0x60(%rsp), %rbp
movl (%r14), %r12d
movl $0x0, (%r14)
movq %rbp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x7290
cmpq %rbp, 0x10(%rsp)
je 0x1037a
movl (%r14), %eax
testl %eax, %eax
je 0x1012c
cmpl $0x22, %eax
jne 0x1012f
jmp 0x10386
movl %r12d, (%r14)
movq %rbx, (%r13)
movq 0xc0(%rsp), %r12
movl %r12d, 0x8(%r13)
movq %r13, %rax
addq $0x58, %rax
movq %rax, 0x28(%r13)
movq $0x1, 0x30(%r13)
xorps %xmm1, %xmm1
movups %xmm1, 0x38(%r13)
movl $0x3f800000, 0x48(%r13) # imm = 0x3F800000
movups %xmm1, 0x50(%r13)
movsd %xmm0, 0x10(%r13)
movq $0x0, 0x18(%r13)
movq %r13, 0xd8(%rsp)
movq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x1019f
movq %r13, (%rsi)
addq $0x8, 0x8(%rdi)
movq (%rsp), %rbx
movq 0x38(%rsp), %r13
jmp 0x101b5
leaq 0xd8(%rsp), %rdx
callq 0x1315c
movq (%rsp), %rbx
movq 0x38(%rsp), %r13
movq %r15, %rdi
movq 0xad99(%rip), %rsi      # 0x1af58
callq 0x7280
leaq 0x160(%rsp), %rdi
callq 0x7120
incl %r13d
cmpl %ebx, %r13d
movq %r13, %rax
jne 0x10005
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
shrq $0x3, %rax
movl %eax, 0x7c(%rcx)
movq 0xad5e(%rip), %rsi      # 0x1af58
leaq 0x268(%rsp), %rdi
callq 0x7280
leaq 0x2e8(%rsp), %rdi
callq 0x7120
leaq 0x3f0(%rsp), %rdi
callq 0x70f0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x1023d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x10262
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x10287
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x102a3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x102bf
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7350
addq $0x5f8, %rsp            # imm = 0x5F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4b7d(%rip), %rdi      # 0x14e55
callq 0x7200
movq 0xacfc(%rip), %rdi      # 0x1afe0
leaq 0x48c4(%rip), %rsi      # 0x14baf
movl $0x27, %edx
callq 0x73a0
movq 0xace4(%rip), %rdi      # 0x1afe0
leaq 0x48d4(%rip), %rsi      # 0x14bd7
movl $0x6, %edx
callq 0x73a0
movq 0xaccc(%rip), %rdi      # 0x1afe0
leaq 0x48c3(%rip), %rsi      # 0x14bde
movl $0x6, %edx
callq 0x73a0
movq 0xacb4(%rip), %rdi      # 0x1afe0
movl $0x36, %esi
callq 0x75f0
movq %rax, %rbx
leaq 0x4113(%rip), %rsi      # 0x14453
movl $0x2, %edx
movq %rax, %rdi
callq 0x73a0
leaq 0x4891(%rip), %rsi      # 0x14be5
movl $0x1c, %edx
movq %rbx, %rdi
callq 0x73a0
movq %rbx, %rdi
callq 0x7190
callq 0x7100
leaq 0x4ae0(%rip), %rdi      # 0x14e55
callq 0x74c0
leaq 0x4ad4(%rip), %rdi      # 0x14e55
callq 0x7200
leaq 0x4ac8(%rip), %rdi      # 0x14e55
callq 0x74c0
leaq 0x4ab7(%rip), %rdi      # 0x14e50
callq 0x7200
leaq 0x4aab(%rip), %rdi      # 0x14e50
callq 0x74c0
leaq 0x4a9f(%rip), %rdi      # 0x14e50
callq 0x7200
leaq 0x4a93(%rip), %rdi      # 0x14e50
callq 0x74c0
jmp 0x10401
movq %rax, %rbx
jmp 0x1046d
jmp 0x103ce
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x1043f
movl %ebp, (%r14)
jmp 0x1043f
jmp 0x1043c
jmp 0x1043c
jmp 0x10408
jmp 0x10408
jmp 0x10408
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x103f2
movl %r12d, (%r14)
movl $0x60, %esi
movq %r13, %rdi
callq 0x7350
jmp 0x10419
movq %rax, %rbx
jmp 0x10460
jmp 0x10408
movq %rax, %rbx
jmp 0x10419
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x10419
movl %r12d, (%r14)
movq 0xab38(%rip), %rsi      # 0x1af58
leaq 0xe0(%rsp), %rdi
callq 0x7280
leaq 0x160(%rsp), %rdi
callq 0x7120
jmp 0x1043f
movq %rax, %rbx
movq 0xab12(%rip), %rsi      # 0x1af58
leaq 0x268(%rsp), %rdi
callq 0x7280
leaq 0x2e8(%rsp), %rdi
callq 0x7120
leaq 0x3f0(%rsp), %rdi
callq 0x70f0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x10489
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x104ae
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x104d3
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x104ef
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1050b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7350
movq %rbx, %rdi
callq 0x7620
nop