// File: /workspace/github_cpp_makefile_star2_O1/UCBASiCS[P]SPRIGHT/src/customizedoutput.cpp
// Function: CustomizedOutput::process()
void CustomizedOutput::process()
{
    chrono->start("Output");

    std::unordered_map<int,ffast_complex> decodedFrequencies;

    decodedFrequencies = backEnd->getDecodedFrequencies();

    std::ofstream myfile (config->getOutputFile());
    if (myfile.is_open())
    {
        myfile.precision(15);
        for (auto i = decodedFrequencies.cbegin(); i != decodedFrequencies.cend(); ++i)
            myfile << i->first << ":" << i->second << std::endl;
        myfile.close();
    }

    chrono->stop("Output");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x260, %rsp            # imm = 0x260
movq %rdi, %rbx
movq 0x8(%rdi), %r14
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x6c26(%rip), %rsi      # 0xfcc3
leaq 0x6c25(%rip), %rdx      # 0xfcc9
leaq 0x60(%rsp), %rdi
callq 0x44c2
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x5a48
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x90d2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3270
leaq 0x58(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movq 0x18(%rbx), %rdi
callq 0x42a8
leaq 0x28(%rsp), %rcx
cmpq %rcx, %rax
je 0x9115
leaq 0x28(%rsp), %rdi
movq %rax, %rsi
callq 0x9320
movq 0x10(%rbx), %rdi
callq 0x8254
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
movl $0x10, %edx
callq 0x3290
leaq 0xd0(%rsp), %rdi
callq 0x3070
testb %al, %al
je 0x91d5
movq 0x60(%rsp), %rax
movq -0x18(%rax), %rax
movq $0xf, 0x68(%rsp,%rax)
movq 0x38(%rsp), %r13
testq %r13, %r13
je 0x91cb
leaq 0x60(%rsp), %r14
leaq 0x6adc(%rip), %r15      # 0xfc49
movl 0x8(%r13), %esi
movq %r14, %rdi
callq 0x3470
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x32b0
leaq 0x10(%r13), %rsi
movq %r12, %rdi
callq 0x32d0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3250
movsbl %al, %esi
movq %r12, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
movq (%r13), %r13
testq %r13, %r13
jne 0x916d
leaq 0x60(%rsp), %rdi
callq 0x3350
movq 0x8(%rbx), %rbx
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x6ada(%rip), %rsi      # 0xfcc3
leaq 0x6ad9(%rip), %rdx      # 0xfcc9
leaq 0x8(%rsp), %rdi
callq 0x44c2
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5ae4
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x921e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0xcd93(%rip), %rax      # 0x15fb8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x68(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x60(%rsp,%rcx)
callq 0x31f0
leaq 0x158(%rsp), %rdi
callq 0x30b0
leaq 0x28(%rsp), %rdi
callq 0x4452
addq $0x260, %rsp            # imm = 0x260
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x92b3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x92b6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0x92b6
jmp 0x92b3
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x92ca
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0x92ca
movq %rax, %rbx
jmp 0x92ca
jmp 0x92ae
movq %rax, %rbx
jmp 0x92c0
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x33a0
leaq 0x28(%rsp), %rdi
callq 0x4452
movq %rbx, %rdi
callq 0x3490