// File: /workspace/github_cpp_makefile_star2_O3/icemiliang[P]vot/src/votx/otx.cc
// Function: votx::OTX::write_results(int, int)
void OTX::write_results(const int iterD, const int iterH) {
        std::cout << "writing results...\n    File prefix: " << vPrefix << std::endl;

        std::string dFilename = vPrefix + "_" + std::to_string(iterD) 
                                        + "_" + std::to_string(iterH) + ".vot";
        std::string iFilename = vPrefix + "_" + std::to_string(iterD) 
                                        + "_" + std::to_string(iterH) + ".index";        
        write_dirac(dFilename);
        write_empirical(iFilename);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %r13
movq 0x9fd3(%rip), %rbx      # 0x1afa8
leaq 0x3e2e(%rip), %rsi      # 0x14e0a
movl $0x24, %edx
movq %rbx, %rdi
callq 0x73a0
movq 0x88(%r13), %rsi
movq 0x90(%r13), %rdx
movq %rbx, %rdi
callq 0x73a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7320
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7240
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x88(%r13), %rsi
movq %r13, 0xc8(%rsp)
movq 0x90(%r13), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x9d5e
leaq 0x3dcf(%rip), %rsi      # 0x14e2f
movq %rbx, %rdi
callq 0x76b0
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %ebx
cmpl $0xa, %ebp
jb 0x110bf
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x110b8
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x110bd
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x110bf
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x11087
addl $-0x3, %ebx
jmp 0x110bf
addl $-0x2, %ebx
jmp 0x110bf
decl %ebx
shrl $0x1f, %r15d
leal (%rbx,%r15), %esi
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8(%rsp), %rdi
movl $0x2d, %edx
callq 0x73b0
movl %r15d, %r13d
movq 0x8(%rsp), %rdi
addq %r13, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq 0x1306b
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x10(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x11115
movq 0x38(%rsp), %rdi
movq 0x8(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x11138
movl $0xf, %edi
leaq 0x18(%rsp), %r9
cmpq %r9, %rsi
je 0x11133
movq 0x18(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x11144
leaq 0x28(%rsp), %rdi
callq 0x7110
jmp 0x11152
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7390
leaq 0x98(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x1117f
movq %rsi, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x11185
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3c83(%rip), %rsi      # 0x14e2f
leaq 0x88(%rsp), %rdi
callq 0x76b0
leaq 0x58(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq %r13, 0x110(%rsp)
je 0x111e8
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x111ee
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl %r14d, %r12d
negl %r12d
cmovsl %r14d, %r12d
movl $0x1, %r13d
cmpl $0xa, %r12d
jb 0x11266
movl $0x4, %r13d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x1125d
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x11263
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11266
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r13d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1122a
addl $-0x3, %r13d
jmp 0x11266
addl $-0x2, %r13d
jmp 0x11266
decl %r13d
shrl $0x1f, %r14d
leal (%r14,%r13), %esi
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x68(%rsp), %rdi
movl $0x2d, %edx
callq 0x73b0
movl %r14d, %ebx
movq 0x68(%rsp), %rdi
addq %rbx, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0x1306b
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0x70(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x58(%rsp), %rsi
cmpq %rsi, %rcx
je 0x112c3
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
cmpq %rdi, %rax
leaq 0x38(%rsp), %r13
jbe 0x112eb
movl $0xf, %edi
leaq 0x78(%rsp), %r9
cmpq %r9, %rsi
je 0x112e6
movq 0x78(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x112f7
leaq 0x48(%rsp), %rdi
callq 0x7110
jmp 0x11305
leaq 0x68(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7390
leaq 0xb8(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x11332
movq %rsi, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x11338
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3ad2(%rip), %rsi      # 0x14e31
leaq 0xa8(%rsp), %rdi
callq 0x76b0
leaq 0xe0(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1139c
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x113a2
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xd8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x113de
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x113fa
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x11416
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11437
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11453
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x1146a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7350
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
movq 0xc8(%rsp), %rax
movq 0x88(%rax), %rsi
movq 0x90(%rax), %rdx
addq %rsi, %rdx
callq 0x9d5e
leaq 0x3993(%rip), %rsi      # 0x14e2f
leaq 0x8(%rsp), %rdi
callq 0x76b0
movl $0x1, %r13d
cmpl $0xa, %ebp
jb 0x114fa
movl $0x4, %r13d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x114f1
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x114f7
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x114fa
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r13d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x114be
addl $-0x3, %r13d
jmp 0x114fa
addl $-0x2, %r13d
jmp 0x114fa
decl %r13d
addl %r13d, %r15d
leaq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
movq %rax, (%rdi)
movq %r15, %rsi
movl $0x2d, %edx
callq 0x73b0
movq 0x110(%rsp), %rdi
addq 0x68(%rsp), %rdi
movl %r13d, %esi
movl %ebp, %edx
callq 0x1306b
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x70(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x18(%rsp), %rsi
cmpq %rsi, %rcx
je 0x11555
movq 0x18(%rsp), %rdi
movq 0x68(%rsp), %rsi
cmpq %rdi, %rax
leaq 0x38(%rsp), %r13
leaq 0x98(%rsp), %r15
jbe 0x11585
movl $0xf, %edi
leaq 0x78(%rsp), %r9
cmpq %r9, %rsi
je 0x11580
movq 0x78(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x11591
leaq 0x8(%rsp), %rdi
callq 0x7110
jmp 0x1159f
leaq 0x68(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7390
movq %r13, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x115bf
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x115c7
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3844(%rip), %rsi      # 0x14e2f
leaq 0x28(%rsp), %rdi
callq 0x76b0
movq %r15, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11621
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x11628
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl $0x1, %ebp
cmpl $0xa, %r12d
jb 0x11693
movl $0x4, %ebp
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x1168c
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x11691
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11693
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebp
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1165b
addl $-0x3, %ebp
jmp 0x11693
addl $-0x2, %ebp
jmp 0x11693
decl %ebp
addl %ebp, %r14d
leaq 0x100(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xf0(%rsp), %rdi
movq %r14, %rsi
movl $0x2d, %edx
callq 0x73b0
addq 0xf0(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x1306b
movq 0x88(%rsp), %rcx
movq 0x90(%rsp), %r8
movq 0xf8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x98(%rsp), %r12
cmpq %r12, %rcx
je 0x11702
movq 0x98(%rsp), %rdi
movq 0xf0(%rsp), %rsi
cmpq %rdi, %rax
leaq 0x58(%rsp), %r14
leaq 0xb8(%rsp), %rbx
jbe 0x11733
movl $0xf, %edi
cmpq %r15, %rsi
je 0x1172e
movq 0x100(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x11742
leaq 0x88(%rsp), %rdi
callq 0x7110
jmp 0x11753
leaq 0xf0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7390
movq %r14, 0x48(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x11773
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1177a
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3698(%rip), %rsi      # 0x14e36
leaq 0x48(%rsp), %rdi
callq 0x76b0
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x117d4
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x117da
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x1180c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xf0(%rsp), %rdi
cmpq %r15, %rdi
je 0x11829
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x11846
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x1185d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x11879
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11895
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7350
leaq 0x148(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xd0(%rsp), %rsi
movq 0xd8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %rdi
callq 0x9d5e
leaq 0x138(%rsp), %rsi
movq 0xc8(%rsp), %rdi
callq 0x12200
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x118f3
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x7350
leaq 0x128(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x118(%rsp), %rdi
callq 0x9d5e
leaq 0x118(%rsp), %rsi
movq 0xc8(%rsp), %rdi
callq 0x12424
movq 0x118(%rsp), %rdi
cmpq %r14, %rdi
je 0x11951
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1196e
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x11993
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x7350
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x118(%rsp), %rdi
cmpq %r14, %rdi
je 0x11b9a
movq 0x128(%rsp), %rsi
jmp 0x119df
movq %rax, %rbx
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x11b9a
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b9a
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x11a0b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11a0b
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
cmpq %r15, %rdi
je 0x11a2d
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11a2d
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x11a57
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11a57
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x11a78
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11a78
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x11a9b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11a9b
jmp 0x11a98
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11bbf
movq 0x18(%rsp), %rsi
jmp 0x11bb7
movq %rax, %rbx
jmp 0x11bbf
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11ae9
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11ae9
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x11b0a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b0a
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x11b2b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b2b
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11b51
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b51
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11b72
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b72
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x11be4
movq 0x38(%rsp), %rsi
jmp 0x11bdc
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
jne 0x11b81
jmp 0x11be4
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x11bbf
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x11be4
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x7350
movq %rbx, %rdi
callq 0x7620