// File: /workspace/github_cpp_makefile_star2_O3/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 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xb8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x98(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x3f0(%rsp), %r12
movq %r12, %rdi
movl $0x8, %edx
callq 0x7570
leaq 0x18(%rsp), %rbx
movq 0x3f0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x7320
movsbl %al, %edx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x7670
movq 0x18(%rsp), %rax
cmpb $0x23, (%rax)
je 0xfdd5
leaq 0x268(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movl $0x18, %edx
callq 0x7550
movq %r14, (%rsp)
leaq 0x268(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x7400
leaq 0xa8(%rsp), %rsi
movq %rax, %rdi
callq 0x7400
leaq 0x88(%rsp), %rsi
movq %rax, %rdi
callq 0x7400
movq 0xa8(%rsp), %rbx
callq 0x7060
movq %rax, %r15
movl (%rax), %r13d
movl $0x0, (%rax)
leaq 0xe0(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
movl $0xa, %edx
callq 0x7490
cmpq %rbx, (%r14)
je 0x102ef
movslq %eax, %rcx
movq %rax, 0x38(%rsp)
cmpq %rax, %rcx
jne 0x102fb
movl (%r15), %ebp
cmpl $0x22, %ebp
je 0x102fb
testl %ebp, %ebp
jne 0xfeb4
movl %r13d, (%r15)
movl %r13d, %ebp
movq 0x88(%rsp), %rbx
movl $0x0, (%r15)
leaq 0xe0(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
movl $0xa, %edx
callq 0x7490
cmpq %rbx, (%r14)
je 0x10307
movq %rax, %rdx
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rdx), %rcx
cmpq %rax, %rcx
movq 0x38(%rsp), %rcx
jb 0x10313
movl (%r15), %eax
cmpl $0x22, %eax
je 0x10313
testl %eax, %eax
jne 0xff19
movl %ebp, (%r15)
movq (%rsp), %rax
movq %rdx, 0x8(%rsp)
movl %edx, 0x84(%rax)
testl %ecx, %ecx
jle 0x1013e
movq 0x8(%rsp), %r13
movl %r13d, %eax
shlq $0x3, %rax
testl %r13d, %r13d
movq $-0x1, %rcx
cmovnsq %rax, %rcx
movq %rcx, 0xc8(%rsp)
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
movq %r13, 0xd0(%rsp)
xorl %ebx, %ebx
leaq 0xe0(%rsp), %r13
movq %rbx, 0x40(%rsp)
movq 0x3f0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x7320
movsbl %al, %edx
movq %r12, %rdi
leaq 0x18(%rsp), %rsi
callq 0x7670
movq 0x18(%rsp), %rax
cmpb $0x23, (%rax)
je 0xff70
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
movl $0x18, %edx
callq 0x7550
movq %r13, %rdi
leaq 0x68(%rsp), %rsi
callq 0x7400
movq 0xc8(%rsp), %rdi
callq 0x7030
movq %rax, %rbx
cmpl $0x0, 0x8(%rsp)
jle 0x10049
xorl %r14d, %r14d
movq %r13, %rdi
leaq 0x48(%rsp), %rsi
callq 0x7400
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1023a
movq 0x48(%rsp), %rbp
movl (%r15), %r12d
movl $0x0, (%r15)
movq %rbp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x7290
cmpq %rbp, 0x10(%rsp)
je 0x1022e
movl (%r15), %eax
testl %eax, %eax
je 0x10033
cmpl $0x22, %eax
jne 0x10036
jmp 0x102cb
movl %r12d, (%r15)
movsd %xmm0, (%rbx,%r14,8)
incq %r14
cmpq %r14, 0xd0(%rsp)
jne 0xffdc
movl $0x60, %edi
callq 0x7340
movq %rax, %rbp
movq 0x68(%rsp), %r14
movl (%r15), %r12d
movl $0x0, (%r15)
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
callq 0x7290
cmpq %r14, 0x10(%rsp)
je 0x102d7
movl (%r15), %eax
testl %eax, %eax
je 0x1008e
cmpl $0x22, %eax
jne 0x10091
jmp 0x102e3
movl %r12d, (%r15)
movq %rbp, %rax
addq $0x58, %rax
movq %rax, 0x28(%rbp)
movq $0x1, 0x30(%rbp)
xorps %xmm1, %xmm1
movups %xmm1, 0x38(%rbp)
movl $0x3f800000, 0x48(%rbp) # imm = 0x3F800000
movups %xmm1, 0x50(%rbp)
movq %rbx, (%rbp)
movq 0x8(%rsp), %rax
movl %eax, 0x8(%rbp)
movsd %xmm0, 0x10(%rbp)
movq $0x0, 0x18(%rbp)
movq %rbp, 0xd8(%rsp)
movq (%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x100fc
movq %rbp, (%rsi)
addq $0x8, 0x8(%rdi)
leaq 0x3f0(%rsp), %r12
movq 0x40(%rsp), %rbx
jmp 0x10116
leaq 0xd8(%rsp), %rdx
callq 0x130f4
leaq 0x3f0(%rsp), %r12
movq 0x40(%rsp), %rbx
movq %r13, %rdi
movq 0xae38(%rip), %rsi      # 0x1af58
callq 0x7280
leaq 0x160(%rsp), %rdi
callq 0x7120
incl %ebx
cmpl 0x38(%rsp), %ebx
jne 0xff6b
movq (%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
shrq $0x3, %rax
movl %eax, 0x7c(%rcx)
movq 0xae01(%rip), %rsi      # 0x1af58
leaq 0x268(%rsp), %rdi
callq 0x7280
leaq 0x2e8(%rsp), %rdi
callq 0x7120
leaq 0x3f0(%rsp), %rdi
callq 0x70f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x1019a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x101bf
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x101e4
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x10200
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1021c
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 0x4c40(%rip), %rdi      # 0x14e75
callq 0x7200
movq 0xad9f(%rip), %rdi      # 0x1afe0
leaq 0x4987(%rip), %rsi      # 0x14bcf
movl $0x27, %edx
callq 0x73a0
movq 0xad87(%rip), %rdi      # 0x1afe0
leaq 0x4997(%rip), %rsi      # 0x14bf7
movl $0x6, %edx
callq 0x73a0
movq 0xad6f(%rip), %rdi      # 0x1afe0
leaq 0x4986(%rip), %rsi      # 0x14bfe
movl $0x6, %edx
callq 0x73a0
movq 0xad57(%rip), %rdi      # 0x1afe0
movl $0x36, %esi
callq 0x75f0
movq %rax, %rbx
leaq 0x41b6(%rip), %rsi      # 0x14453
movl $0x2, %edx
movq %rax, %rdi
callq 0x73a0
leaq 0x4954(%rip), %rsi      # 0x14c05
movl $0x1c, %edx
movq %rbx, %rdi
callq 0x73a0
movq %rbx, %rdi
callq 0x7190
callq 0x7100
leaq 0x4ba3(%rip), %rdi      # 0x14e75
callq 0x74c0
leaq 0x4b97(%rip), %rdi      # 0x14e75
callq 0x7200
leaq 0x4b8b(%rip), %rdi      # 0x14e75
callq 0x74c0
leaq 0x4b7a(%rip), %rdi      # 0x14e70
callq 0x7200
leaq 0x4b6e(%rip), %rdi      # 0x14e70
callq 0x74c0
leaq 0x4b62(%rip), %rdi      # 0x14e70
callq 0x7200
leaq 0x4b56(%rip), %rdi      # 0x14e70
callq 0x74c0
jmp 0x1036a
movq %rax, %rbx
jmp 0x103d6
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x103a8
movl %ebp, (%r15)
jmp 0x103a8
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x103a8
movl %r13d, (%r15)
jmp 0x103a8
jmp 0x103a5
jmp 0x103a5
jmp 0x10371
jmp 0x10371
jmp 0x10371
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x1035b
movl %r12d, (%r15)
movl $0x60, %esi
movq %rbp, %rdi
callq 0x7350
jmp 0x10382
movq %rax, %rbx
jmp 0x103c9
jmp 0x10371
movq %rax, %rbx
jmp 0x10382
movq %rax, %rbx
cmpl $0x0, (%r15)
jne 0x10382
movl %r12d, (%r15)
movq 0xabcf(%rip), %rsi      # 0x1af58
leaq 0xe0(%rsp), %rdi
callq 0x7280
leaq 0x160(%rsp), %rdi
callq 0x7120
jmp 0x103a8
movq %rax, %rbx
movq 0xaba9(%rip), %rsi      # 0x1af58
leaq 0x268(%rsp), %rdi
callq 0x7280
leaq 0x2e8(%rsp), %rdi
callq 0x7120
leaq 0x3f0(%rsp), %rdi
callq 0x70f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x103f2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x10417
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x1043c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x10458
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x10474
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7350
movq %rbx, %rdi
callq 0x7620