// File: /workspace/github_cpp_makefile_star2_O1/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 0x9f3b(%rip), %rbx      # 0x1afa8
leaq 0x3d76(%rip), %rsi      # 0x14dea
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 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x88(%r13), %rsi
movq %r13, 0xc8(%rsp)
movq 0x90(%r13), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
callq 0x9d62
leaq 0x3d17(%rip), %rsi      # 0x14e0f
movq %rbx, %rdi
callq 0x76b0
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %ebx
cmpl $0xa, %ebp
jb 0x11157
movl $0x4, %ebx
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x11150
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x11155
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11157
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1111f
addl $-0x3, %ebx
jmp 0x11157
addl $-0x2, %ebx
jmp 0x11157
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 0x13093
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0x10(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x111ad
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x111cd
movl $0xf, %esi
leaq 0x18(%rsp), %rdi
cmpq %rdi, 0x8(%rsp)
je 0x111c8
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x111de
movq 0x8(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x7110
jmp 0x111ec
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 0x11219
movq %rsi, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x1121f
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 0x3bc9(%rip), %rsi      # 0x14e0f
leaq 0x88(%rsp), %rdi
callq 0x76b0
leaq 0x78(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq %r13, 0x110(%rsp)
je 0x11282
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x11288
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%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 0x11300
movl $0x4, %r13d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x112f7
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x112fd
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11300
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r13d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x112c4
addl $-0x3, %r13d
jmp 0x11300
addl $-0x2, %r13d
jmp 0x11300
decl %r13d
shrl $0x1f, %r14d
leal (%r14,%r13), %esi
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x28(%rsp), %rdi
movl $0x2d, %edx
callq 0x73b0
movl %r14d, %ebx
movq 0x28(%rsp), %rdi
addq %rbx, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0x13093
movq 0x68(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x78(%rsp), %rdi
cmpq %rdi, %rcx
je 0x1135d
movq 0x78(%rsp), %rsi
cmpq %rsi, %rax
leaq 0x58(%rsp), %r13
jbe 0x11382
movl $0xf, %esi
leaq 0x38(%rsp), %rdi
cmpq %rdi, 0x28(%rsp)
je 0x1137d
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x11393
movq 0x28(%rsp), %rsi
leaq 0x68(%rsp), %rdi
callq 0x7110
jmp 0x113a1
leaq 0x28(%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 0x113ce
movq %rsi, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x113d4
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 0x3a16(%rip), %rsi      # 0x14e11
leaq 0xa8(%rsp), %rdi
callq 0x76b0
leaq 0x100(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11438
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x1143e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xf8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1147a
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x11496
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x114b2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x114d3
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x114ef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x11506
movq 0x58(%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 0x9d62
leaq 0x38d7(%rip), %rsi      # 0x14e0f
leaq 0x8(%rsp), %rdi
callq 0x76b0
movl $0x1, %r13d
cmpl $0xa, %ebp
jb 0x11596
movl $0x4, %r13d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1158d
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x11593
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11596
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r13d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1155a
addl $-0x3, %r13d
jmp 0x11596
addl $-0x2, %r13d
jmp 0x11596
decl %r13d
addl %r13d, %r15d
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
movq %r15, %rsi
movl $0x2d, %edx
callq 0x73b0
movq 0x110(%rsp), %rdi
addq 0x28(%rsp), %rdi
movl %r13d, %esi
movl %ebp, %edx
callq 0x13093
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x18(%rsp), %rdi
cmpq %rdi, %rcx
je 0x115f1
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
leaq 0x58(%rsp), %r13
leaq 0x98(%rsp), %r15
jbe 0x1161e
movl $0xf, %esi
leaq 0x38(%rsp), %rdi
cmpq %rdi, 0x28(%rsp)
je 0x11619
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1162f
movq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x7110
jmp 0x1163d
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7390
movq %r13, 0x48(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x1165d
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x11665
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3786(%rip), %rsi      # 0x14e0f
leaq 0x48(%rsp), %rdi
callq 0x76b0
movq %r15, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x116bf
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x116c6
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 0x11731
movl $0x4, %ebp
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x1172a
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1172f
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x11731
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebp
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x116f9
addl $-0x3, %ebp
jmp 0x11731
addl $-0x2, %ebp
jmp 0x11731
decl %ebp
addl %ebp, %r14d
leaq 0xe0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd0(%rsp), %rdi
movq %r14, %rsi
movl $0x2d, %edx
callq 0x73b0
addq 0xd0(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x13093
movq 0x88(%rsp), %rcx
movq 0x90(%rsp), %r8
movq 0xd8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x98(%rsp), %r12
cmpq %r12, %rcx
je 0x117a0
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
leaq 0x78(%rsp), %r14
leaq 0xb8(%rsp), %rbx
jbe 0x117ce
movl $0xf, %esi
cmpq %r15, 0xd0(%rsp)
je 0x117c9
movq 0xe0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x117e5
movq 0xd0(%rsp), %rsi
leaq 0x88(%rsp), %rdi
callq 0x7110
jmp 0x117f6
leaq 0xd0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7390
movq %r14, 0x68(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x11816
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x1181d
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x35d5(%rip), %rsi      # 0x14e16
leaq 0x68(%rsp), %rdi
callq 0x76b0
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11877
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x1187d
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 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x118af
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xd0(%rsp), %rdi
cmpq %r15, %rdi
je 0x118cc
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x118e9
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x11900
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1191c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11938
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7350
leaq 0x148(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %rdi
callq 0x9d62
leaq 0x138(%rsp), %rsi
movq 0xc8(%rsp), %rdi
callq 0x12292
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x11996
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 0x9d62
leaq 0x118(%rsp), %rsi
movq 0xc8(%rsp), %rdi
callq 0x124b6
movq 0x118(%rsp), %rdi
cmpq %r14, %rdi
je 0x119f4
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x11a11
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x11a36
movq 0x100(%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 0x11c3d
movq 0x128(%rsp), %rsi
jmp 0x11a82
movq %rax, %rbx
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x11c3d
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11c3d
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x11aae
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11aae
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
cmpq %r15, %rdi
je 0x11ad0
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11ad0
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x11afa
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11afa
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x11b1b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b1b
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x11b3e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b3e
jmp 0x11b3b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11c62
movq 0x18(%rsp), %rsi
jmp 0x11c5a
movq %rax, %rbx
jmp 0x11c62
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11b8c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11b8c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x11bad
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11bad
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x11bce
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11bce
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11bf4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11bf4
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11c15
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7350
jmp 0x11c15
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x11c87
movq 0x58(%rsp), %rsi
jmp 0x11c7f
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
jne 0x11c24
jmp 0x11c87
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x11c62
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x7350
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x11c87
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x7350
movq %rbx, %rdi
callq 0x7620
nop