LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentinput.cpp
// Function: ExperimentInput::getRandomPhase() const
ffast_real ExperimentInput::getRandomPhase() const
{
    if (config->getPhasesNb() < 1)
    {
       return 2*M_PI*drand48();
    }
    else if (config->getPhasesNb() == 1)
    {
        return 0;
    }
    else if (config->getPhasesNb() == 2)
    {
        return M_PI*std::round(drand48());
    }
    else
    {
        return (std::floor(config->getPhasesNb()*drand48())*2 + 1)*M_PI/config->getPhasesNb();
    }
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x67f8
testl %eax, %eax
jle 0x8d19
movq 0x10(%rbx), %rdi
callq 0x67f8
xorpd %xmm0, %xmm0
cmpl $0x1, %eax
je 0x8d80
movq 0x10(%rbx), %rdi
callq 0x67f8
cmpl $0x2, %eax
jne 0x8d28
callq 0x3230
callq 0x30d0
mulsd 0x4001(%rip), %xmm0     # 0xcd18
jmp 0x8d80
callq 0x3230
mulsd 0x3fda(%rip), %xmm0     # 0xcd00
jmp 0x8d80
movq 0x10(%rbx), %rdi
callq 0x67f8
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x3230
mulsd 0x8(%rsp), %xmm0
callq 0x3460
addsd %xmm0, %xmm0
addsd 0x3391(%rip), %xmm0     # 0xc0e8
mulsd 0x3fb9(%rip), %xmm0     # 0xcd18
movsd %xmm0, 0x8(%rsp)
movq 0x10(%rbx), %rdi
callq 0x67f8
cvtsi2sd %eax, %xmm0
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentoutput.cpp
// Function: ExperimentOutput::checkFalseDetections()
void ExperimentOutput::checkFalseDetections()
{
    // number of false detections in the current iteration of the algorithm
    falseDetectionsIterationNb = 0;

    // go over the decoded frequencies by the backEnd
    for (auto it = backEnd->getDecodedFrequencies().cbegin(); it != backEnd->getDecodedFrequencies().cend(); ++it)
    {
        // if decoded frequency is a false detection
        if (input->getNonZeroFrequencies().count(it->first) == 0)
        {
            falseDetectionsIterationNb++;
        }
    }

    // addd the results of current iteration to the global couter
    falseDetectionsNbs.push_back(falseDetectionsIterationNb);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
andl $0x0, 0x38(%rdi)
movq 0x18(%rdi), %rdi
callq 0x3edc
movq %rax, %r14
addq $0x10, %r14
movq (%r14), %r14
movq 0x18(%rbx), %rdi
callq 0x3edc
testq %r14, %r14
je 0x922f
movq 0x20(%rbx), %rdi
callq 0x8c3c
leaq 0x8(%r14), %rsi
movq %rax, %rdi
callq 0x41fa
testq %rax, %rax
jne 0x91ff
incl 0x38(%rbx)
jmp 0x91ff
movl 0x38(%rbx), %eax
addq $0x58, %rbx
leaq 0x4(%rsp), %rsi
movl %eax, (%rsi)
movq %rbx, %rdi
callq 0xa060
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentoutput.cpp
// Function: ExperimentOutput::computeMSEErrorAmplitude()
void ExperimentOutput::computeMSEErrorAmplitude()
{
    if (falseDetectionsIterationNb == 0 && missedLocationsIterationNb == 0 && binningFailure == false)
    {
        ffast_real denominator = 0, numerator = 0;
        for (auto i = input->getNonZeroFrequencies().cbegin(); i != input->getNonZeroFrequencies().cend(); ++i)
        {
            numerator+=std::norm(i->second-backEnd->getDecodedFrequencies().at(i->first));
            denominator+=std::norm(i->second);
        }
        MSEerrorsAmplitude.push_back(numerator/denominator);
    }
}

// Assembly:
cmpl $0x0, 0x38(%rdi)
jne 0x94b7
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
cmpl $0x0, 0x3c(%rdi)
jne 0x94ae
cmpb $0x0, 0x40(%rbx)
jne 0x94ae
movq 0x20(%rbx), %rdi
callq 0x8c3c
movq %rax, %r14
addq $0x10, %r14
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movq (%r14), %r14
movq 0x20(%rbx), %rdi
callq 0x8c3c
testq %r14, %r14
je 0x9485
leaq 0x8(%r14), %r15
movq 0x18(%rbx), %rdi
callq 0x3edc
movq %rax, %rdi
movq %r15, %rsi
callq 0x7c4e
movsd 0x10(%r14), %xmm0
movsd 0x18(%r14), %xmm1
movapd %xmm0, %xmm2
subsd (%rax), %xmm2
movapd %xmm1, %xmm3
subsd 0x8(%rax), %xmm3
unpcklpd %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0]
mulpd %xmm1, %xmm1
unpcklpd %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0]
mulpd %xmm0, %xmm0
addpd %xmm1, %xmm0
movapd (%rsp), %xmm1
addpd %xmm0, %xmm1
movapd %xmm1, (%rsp)
jmp 0x941b
addq $0xe0, %rbx
movapd (%rsp), %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
divsd %xmm1, %xmm0
leaq 0x18(%rsp), %rsi
movsd %xmm0, (%rsi)
movq %rbx, %rdi
callq 0x4598
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentoutput.cpp
// Function: ExperimentOutput::computeMSEerror()
void ExperimentOutput::computeMSEerror()
{
    if (falseDetectionsIterationNb == 0 && missedLocationsIterationNb == 0 && binningFailure == false)
    {
        ffast_real MSEerror = 0;
        for (auto i = backEnd->getRealFrequenciesIndices().cbegin(); i != backEnd->getRealFrequenciesIndices().cend(); ++i)
        {
            bool found = false;
            auto it = input->getNonZeroFrequencies().cbegin();
            while (!found && it != input->getNonZeroFrequencies().cend())
            {
                if(std::abs((double)it->first-(*i))<=3)
                {
                    MSEerror += std::abs( it->first-(*i) );
                    found = true;
                }
                ++it;
            }
        }
        MSEerrors.push_back(MSEerror/config->getSignalSparsity());
    }
}

// Assembly:
cmpl $0x0, 0x38(%rdi)
jne 0x959e
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x0, 0x3c(%rdi)
jne 0x9595
cmpb $0x0, 0x40(%rbx)
jne 0x9595
movq 0x18(%rbx), %rdi
callq 0x3ed6
movq (%rax), %r15
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
movq 0x18(%rbx), %rdi
callq 0x3ed6
cmpq 0x8(%rax), %r15
je 0x9567
movq 0x20(%rbx), %rdi
callq 0x8c3c
movq %rax, %r14
addq $0x10, %r14
xorl %eax, %eax
testb $0x1, %al
jne 0x9561
movq (%r14), %r14
movq 0x20(%rbx), %rdi
callq 0x8c3c
testq %r14, %r14
je 0x9561
cvtsi2sdl 0x8(%r14), %xmm0
subsd (%r15), %xmm0
andpd 0x3800(%rip), %xmm0     # 0xcd40
movsd 0x2b90(%rip), %xmm1     # 0xc0d8
ucomisd %xmm0, %xmm1
setae %al
jb 0x9518
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
jmp 0x9518
addq $0x8, %r15
jmp 0x94f7
movq 0x10(%rbx), %rdi
addq $0x88, %rbx
callq 0x6718
cvtsi2sd %eax, %xmm0
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
leaq 0x8(%rsp), %rsi
movsd %xmm1, (%rsi)
movq %rbx, %rdi
callq 0x4598
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentoutput.cpp
// Function: ExperimentOutput::displayIterationResults() const
void ExperimentOutput::displayIterationResults() const
    {
        std::cout << MSEerrorAmplitude << " -> MSE error Amplitude" << std::endl;

        if (falseDetectionsIterationNb > 0)
        {
            std::cout << falseDetectionsIterationNb << " -> false detections" << std::endl;
        }
        else if (missedLocationsIterationNb > 0)
        {
            std::cout << missedLocationsIterationNb << " -> missed locations" << std::endl;
        }
        else if (binningFailure)
        {
         std::cout << "Binning failure" << std::endl;
     }
     else
     {
        std::cout << "Full recovery" << std::endl;
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movsd 0x48(%rdi), %xmm0
movq 0xaa20(%rip), %rdi      # 0x13fd0
callq 0x3400
leaq 0x379c(%rip), %rsi      # 0xcd58
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movl 0x38(%rbx), %esi
testl %esi, %esi
jle 0x95e8
movq 0xa9f6(%rip), %rdi      # 0x13fd0
callq 0x3470
leaq 0x378a(%rip), %rsi      # 0xcd70
jmp 0x9602
movl 0x3c(%rbx), %esi
testl %esi, %esi
jle 0x9613
movq 0xa9da(%rip), %rdi      # 0x13fd0
callq 0x3470
leaq 0x3783(%rip), %rsi      # 0xcd85
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
popq %rbx
jmp 0x3110
cmpb $0x1, 0x40(%rbx)
jne 0x9629
movq 0xa9b0(%rip), %rdi      # 0x13fd0
leaq 0x3773(%rip), %rsi      # 0xcd9a
jmp 0x9605
movq 0xa9a0(%rip), %rdi      # 0x13fd0
leaq 0x3773(%rip), %rsi      # 0xcdaa
jmp 0x9605
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentoutput.cpp
// Function: ExperimentOutput::setGlobalResultsFigures()
void ExperimentOutput::setGlobalResultsFigures()
{
    averageMSEerrorAmplitude    = 0;
    maxMSEerrorAmplitude        = 0;
    averageMissedLocationsNb    = 0;
    maxMissedLocationsNb        = 0;
    averageFalseDetectionsNb    = 0;
    maxFalseDetectionsNb        = 0;
    averageMSEerror             = 0;
    maxMSEerror                 = 0;
    int falseDetectionsNb       = 0;
    int missedLocationsNb       = 0;

    setAverageAndMax(MSEerrorsAmplitude, averageMSEerrorAmplitude, maxMSEerrorAmplitude);
    setAverageAndMax(missedLocationsNbs, averageMissedLocationsNb, maxMissedLocationsNb, &missedLocationsNb);
    setAverageAndMax(falseDetectionsNbs, averageFalseDetectionsNb, maxFalseDetectionsNb, &falseDetectionsNb);
    setAverageAndMax(MSEerrors, averageMSEerror, maxMSEerror);

    probabilityOfFalseDetection = ((ffast_real) falseDetectionsNb)/ config->getIterations();
    probabilityOfMissedLocation = ((ffast_real) missedLocationsNb)/ config->getIterations();
    probabilityOfBinningFailure = ((ffast_real) binningFailuresNb)/ config->getIterations();
    probabilityOfFullRecovery = ((ffast_real) fullRecoveriesNb)/ config->getIterations();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x120(%rdi), %rdx
leaq 0x128(%rdi), %rcx
leaq 0x110(%rdi), %r15
leaq 0x118(%rdi), %r12
leaq 0x100(%rdi), %rbp
leaq 0x108(%rdi), %r14
leaq 0x130(%rdi), %rax
movq %rax, 0x8(%rsp)
leaq 0x138(%rdi), %rax
movq %rax, 0x18(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x130(%rdi)
movups %xmm0, 0x120(%rdi)
movups %xmm0, 0x110(%rdi)
movups %xmm0, 0x100(%rdi)
leaq 0x14(%rsp), %rax
andl $0x0, (%rax)
leaq 0x24(%rsp), %r13
andl $0x0, (%r13)
leaq 0xe0(%rdi), %rsi
xorl %r8d, %r8d
callq 0x9ba0
leaq 0x70(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %rcx
movq %r13, %r8
callq 0x9c0e
leaq 0x58(%rbx), %rsi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r14, %rcx
leaq 0x14(%rsp), %r8
callq 0x9c0e
leaq 0x88(%rbx), %rsi
movq %rbx, %rdi
movq 0x8(%rsp), %rdx
movq 0x18(%rsp), %rcx
xorl %r8d, %r8d
callq 0x9ba0
leaq 0x14(%rsp), %rax
cvtsi2sdl (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x10(%rbx), %rdi
callq 0x670c
cvtsi2sd %eax, %xmm0
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x140(%rbx)
cvtsi2sdl (%r13), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x10(%rbx), %rdi
callq 0x670c
cvtsi2sd %eax, %xmm0
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x148(%rbx)
cvtsi2sdl 0xd8(%rbx), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x10(%rbx), %rdi
callq 0x670c
cvtsi2sd %eax, %xmm0
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x150(%rbx)
cvtsi2sdl 0xf8(%rbx), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x10(%rbx), %rdi
callq 0x670c
cvtsi2sd %eax, %xmm0
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x158(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentoutput.cpp
// Function: ExperimentOutput::isBinningFailure(std::set<int, std::less<int>, std::allocator<int>>) const
bool ExperimentOutput::isBinningFailure(std::set<int> missedLocations) const
{
    /*
        if at least one of the missed locations appear in a singleton bin, that is,
        it could have been peeled, declare NOT a bining failure. If all of the missed
        locations appear in multiton bins, than it is a binning failure.
    */
    for (int stage=0; stage<config->getBinsNb(); stage++)
    {
        // std::vector<int> binStatus(config->getOldBinSize(stage), 0);
        std::vector<int> binStatus(config->getBinNumItems(stage), 0);


        for (auto it = missedLocations.cbegin(); it != missedLocations.cend(); ++it)
        {
            // binStatus[*it % config->getOldBinSize(stage)]++;
            binStatus[*it % config->getBinNumItems(stage)]++;
        }

        for (unsigned int index=0; index<binStatus.size(); index++)
        {
            if (binStatus[index] == 1)
            {
                return false;
            }
        }
    }
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r15
movq %rsi, 0x20(%rsp)
leaq 0x8(%rsi), %r14
xorl %ebx, %ebx
leaq 0x8(%rsp), %r12
movq 0x10(%r15), %rdi
callq 0x67ca
movl %eax, %r13d
cmpl %eax, %ebx
jge 0x9b20
movq 0x10(%r15), %rdi
movl %ebx, %esi
callq 0x6730
movslq %eax, %rsi
andl $0x0, 0x4(%rsp)
movq %r12, %rdi
leaq 0x4(%rsp), %rdx
leaq 0x3(%rsp), %rcx
callq 0x9b4a
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rbp
cmpq %r14, %rbp
je 0x9add
movl 0x20(%rbp), %r12d
movq 0x10(%r15), %rdi
movl %ebx, %esi
callq 0x6730
movl %eax, %ecx
movl %r12d, %eax
cltd
idivl %ecx
movslq %edx, %rax
movq 0x8(%rsp), %rcx
incl (%rcx,%rax,4)
movq %rbp, %rdi
callq 0x32b0
movq %rax, %rbp
jmp 0x9aa9
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
xorl %edx, %edx
leaq 0x8(%rsp), %r12
movl %edx, %esi
cmpq %rsi, %rcx
jbe 0x9b07
leal 0x1(%rsi), %edx
cmpl $0x1, (%rax,%rsi,4)
jne 0x9af5
jmp 0x9b16
movq %r12, %rdi
callq 0x41c6
incl %ebx
jmp 0x9a67
leaq 0x8(%rsp), %rdi
callq 0x41c6
cmpl %r13d, %ebx
setge %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x41c6
movq %rbx, %rdi
callq 0x3490
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/experimentoutput.cpp
// Function: void ExperimentOutput::setAverageAndMax<std::vector<double, std::allocator<double>>>(std::vector<double, std::allocator<double>>&, double&, double&, int*)
void ExperimentOutput::setAverageAndMax(tempVector& array, ffast_real& average, ffast_real& max, int* counter)
    {
        for (unsigned int i=0; i<array.size(); i++)
        {
            average += array[i];

            if (max < array[i])
            {
                max = array[i];
            }

            if (counter != NULL && array[i] > 0)
            {
                (*counter)++;
            }
        }
        if (array.size() > 0)
        {
            average /= array.size();
        }
    }

// Assembly:
movq (%rsi), %rdi
movq 0x8(%rsi), %rsi
movq %rsi, %rax
subq %rdi, %rax
sarq $0x3, %rax
xorl %r9d, %r9d
xorpd %xmm0, %xmm0
movl %r9d, %r9d
cmpq %r9, %rax
jbe 0x9bf7
movsd (%rdi,%r9,8), %xmm1
addsd (%rdx), %xmm1
movsd %xmm1, (%rdx)
movsd (%rdi,%r9,8), %xmm1
ucomisd (%rcx), %xmm1
jbe 0x9bde
movsd %xmm1, (%rcx)
testq %r8, %r8
je 0x9bf2
movsd (%rdi,%r9,8), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x9bf2
incl (%r8)
incl %r9d
jmp 0x9bb8
cmpq %rdi, %rsi
je 0x9c0d
cvtsi2sd %rax, %xmm0
movsd (%rdx), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rdx)
retq
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/frontend.cpp
// Function: FrontEnd::FrontEnd(Chrono*, Config const*, Input const*)
FrontEnd::FrontEnd(Chrono* newChrono, const Config* newConfig, const Input* newInput):
	Step(newChrono, newConfig),countSamplesDone(false),input(newInput)
{
    signalLength = config->getSignalLength();
    observationMatrix = (ffast_complex**) malloc(config->getBinsSum() * sizeof(ffast_complex*));

    for (int binAbsoluteIndex=0; binAbsoluteIndex<config->getBinsSum(); binAbsoluteIndex++)
    {
        observationMatrix[binAbsoluteIndex] = (ffast_complex*) malloc(config->getDelaysNb() * sizeof(ffast_complex));
    }
    for (int binAbsoluteIndex=0; binAbsoluteIndex<config->getBinsSum(); binAbsoluteIndex++)
        for (int delayNb = 0; delayNb < config->getBinsSum(); delayNb++)
            observationMatrix[binAbsoluteIndex][delayNb] = 0;

    computeDelays();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
leaq 0x9766(%rip), %rax      # 0x13d00
movq %rax, (%rdi)
leaq 0x48(%rdi), %rax
movq %rax, 0x18(%rdi)
movq $0x1, 0x20(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movl $0x3f800000, 0x38(%rdi) # imm = 0x3F800000
movups %xmm0, 0x40(%rdi)
movb $0x0, 0x5c(%rdi)
movups %xmm0, 0x60(%rdi)
andq $0x0, 0x70(%rdi)
movq %rcx, 0x78(%rdi)
leaq 0x88(%rdi), %rax
andl $0x0, 0x88(%rdi)
andq $0x0, 0x90(%rdi)
movq %rax, 0x98(%rdi)
movq %rax, 0xa0(%rdi)
andq $0x0, 0xa8(%rdi)
movq %rdx, %rdi
callq 0x6710
movl %eax, 0x58(%rbx)
movq 0x10(%rbx), %rdi
callq 0x67c6
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x3320
movq %rax, 0x50(%rbx)
xorl %r14d, %r14d
movq 0x10(%rbx), %rdi
callq 0x67c6
cltq
cmpq %rax, %r14
jge 0xa655
movq 0x10(%rbx), %rdi
callq 0x67d8
movslq %eax, %rdi
shlq $0x4, %rdi
callq 0x3320
movq 0x50(%rbx), %rcx
movq %rax, (%rcx,%r14,8)
incq %r14
jmp 0xa623
xorl %r14d, %r14d
movq 0x10(%rbx), %rdi
callq 0x67c6
cltq
cmpq %rax, %r14
jge 0xa69c
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x10(%rbx), %rdi
callq 0x67c6
cltq
cmpq %rax, %r12
jge 0xa697
movq 0x50(%rbx), %rax
movq (%rax,%r14,8), %rax
incq %r12
xorps %xmm0, %xmm0
movups %xmm0, (%rax,%r15)
addq $0x10, %r15
jmp 0xa66e
incq %r14
jmp 0xa658
movq %rbx, %rdi
callq 0xa6e6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0xa6b6
jmp 0xa6b6
jmp 0xa6b6
movq %rax, %r14
leaq 0x18(%rbx), %r15
leaq 0x60(%rbx), %r12
subq $-0x80, %rbx
movq %rbx, %rdi
callq 0x3ffc
movq %r12, %rdi
callq 0x41c6
movq %r15, %rdi
callq 0x4054
movq %r14, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/split.cpp
// Function: split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
std::vector<std::string>& split(const std::string& string, char delimeter, std::vector<std::string>& elements)
{
    std::stringstream stringStream(string);
    std::string item;

    while (std::getline(stringStream, item, delimeter))
    {
        elements.push_back(item);
    }

    return elements;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %rsi
leaq 0x20(%rsp), %r14
pushq $0x18
popq %rdx
movq %r14, %rdi
callq 0x33f0
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movsbl %bpl, %ebp
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x34d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb725
movq %rbx, %rdi
movq %r15, %rsi
callq 0xb7fc
jmp 0xb6fd
movq %rsp, %rdi
callq 0x30f0
leaq 0x20(%rsp), %rdi
callq 0x31b0
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x30f0
leaq 0x20(%rsp), %rdi
callq 0x31b0
movq %rbx, %rdi
callq 0x3490
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/spright.cpp
// Function: SPRIGHT::SPRIGHT(Config const*, Input*, Output*)
SPRIGHT::SPRIGHT(const Config* newConfig, Input* newInput, Output* newOutput): config(newConfig), input(newInput), output(newOutput)
{
    chrono    = new Chrono();
    frontEnd  = new FrontEnd(chrono, config, input);
    backEnd   = new BackEnd(chrono, config, frontEnd);
    output->setBackEnd(backEnd);
    iteration = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq %rsi, (%rdi)
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movl $0xa0, %edi
callq 0x3260
movq %rax, %r15
movq %rax, %rdi
callq 0xb63c
movq %r15, 0x8(%rbx)
movl $0xb0, %edi
callq 0x3260
movq %rax, %r14
movq (%rbx), %rdx
movq 0x10(%rbx), %rcx
movq %rax, %rdi
movq %r15, %rsi
callq 0xa580
movq %r14, 0x30(%rbx)
movl $0xc0, %edi
callq 0x3260
movq %rax, %r15
movq (%rbx), %rdx
movq 0x8(%rbx), %rsi
movq %rax, %rdi
movq %r14, %rcx
callq 0x37ec
movq %r15, 0x28(%rbx)
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xb6ac
andl $0x0, 0x20(%rbx)
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movl $0xc0, %esi
movq %r15, %rdi
jmp 0xbaa4
movq %rax, %rbx
movl $0xb0, %esi
movq %r14, %rdi
callq 0x3270
movq %rbx, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/spright.cpp
// Function: SPRIGHT::~SPRIGHT()
SPRIGHT::~SPRIGHT()
{
    delete output;
    delete backEnd;
    delete frontEnd;
    delete input;
    delete config;
    delete chrono;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0xbac8
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0xbad7
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0xbae6
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xbaf5
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rbx), %r14
testq %r14, %r14
je 0xbb05
movq %r14, %rdi
callq 0xbede
movl $0xd0, %esi
movq %r14, %rdi
callq 0x3270
movq 0x8(%rbx), %rbx
testq %rbx, %rbx
je 0xbb23
movq %rbx, %rdi
callq 0xbf0e
movl $0xa0, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3270
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/spright.cpp
// Function: SPRIGHT::process()
void SPRIGHT::process()
{
    chrono->start("Global");

    iteration++;
    frontEnd->process();
    backEnd->process();

    chrono->stop("Global");
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %r14
leaq 0x1459(%rip), %rsi      # 0xcfa6
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x3fb6
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x56f4
leaq 0x8(%rsp), %rdi
callq 0x30f0
incl 0x20(%rbx)
movq 0x30(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x28(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rbx), %rbx
leaq 0x1411(%rip), %rsi      # 0xcfa6
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x3fb6
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5758
leaq 0x8(%rsp), %rdi
callq 0x30f0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0xbbc7
jmp 0xbbd6
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x30f0
jmp 0xbbd9
movq %rax, %rbx
movq %rbx, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/spright.cpp
// Function: SPRIGHT::displayResults() const
void SPRIGHT::displayResults() const
{

    if ( config->needToCountSamples() )
    {
        std::cout << std::endl << "<===== NUMBER OF SAMPLES =====>" << std::endl << frontEnd->getUsedSamplesNb() << " -> used samples" << std::endl;
        std::cout << std::setprecision(3) << frontEnd->getUsedSamplesNb()/((double) config->getSignalLengthOriginal())*100 << "\% samples touched" << std::endl;
    }
    
    std::cout << std::endl << "<===== AVERAGE TIME (in seconds) =====>" << std::endl;
    displayExecutionTime(chrono->average("FrontEnd"), chrono->average("BackEnd"), chrono->average("Global"));
    output->displayGlobalResults();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x6808
testb %al, %al
je 0xbcb8
movq 0x83c8(%rip), %r14      # 0x13fd0
movq %r14, %rdi
callq 0x3110
leaq 0x1396(%rip), %rsi      # 0xcfad
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0xb030
movq %r15, %rdi
movl %eax, %esi
callq 0x3470
leaq 0x1389(%rip), %rsi      # 0xcfcd
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x8(%r14,%rax)
movq 0x30(%rbx), %rdi
callq 0xb030
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x10(%rsp)
movq (%rbx), %rdi
callq 0x7094
cvtsi2sd %eax, %xmm0
movsd 0x10(%rsp), %xmm1
divsd %xmm0, %xmm1
mulsd 0x10bb(%rip), %xmm1     # 0xcd50
movapd %xmm1, %xmm0
movq %r14, %rdi
callq 0x3400
leaq 0x1336(%rip), %rsi      # 0xcfde
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq 0x8311(%rip), %rdi      # 0x13fd0
callq 0x3110
leaq 0x1325(%rip), %rsi      # 0xcff0
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq 0x8(%rbx), %r14
leaq 0x1229(%rip), %rsi      # 0xcf0f
leaq 0x60(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
callq 0x3fb6
movq %r14, %rdi
movq %r15, %rsi
callq 0x5850
movsd %xmm0, 0x10(%rsp)
movq 0x8(%rbx), %r14
leaq 0x31c(%rip), %rsi       # 0xc030
leaq 0x40(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x3fb6
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
callq 0x5850
movsd %xmm0, 0x18(%rsp)
movq 0x8(%rbx), %r14
leaq 0x1265(%rip), %rsi      # 0xcfa6
leaq 0x20(%rsp), %rdi
leaq 0xd(%rsp), %rdx
callq 0x3fb6
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x5850
movapd %xmm0, %xmm2
movsd 0x10(%rsp), %xmm0
movsd 0x18(%rsp), %xmm1
callq 0xbdde
leaq 0x20(%rsp), %rdi
callq 0x30f0
leaq 0x40(%rsp), %rdi
callq 0x30f0
leaq 0x60(%rsp), %rdi
callq 0x30f0
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0xbda9
movq %rax, %rbx
jmp 0xbdc2
jmp 0xbdb0
movq %rax, %rbx
jmp 0xbdcc
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x30f0
leaq 0x40(%rsp), %rdi
callq 0x30f0
leaq 0x60(%rsp), %rdi
callq 0x30f0
movq %rbx, %rdi
callq 0x3490
// File: /workspace/github_cpp_makefile_star2_O2/UCBASiCS[P]SPRIGHT/src/spright.cpp
// Function: SPRIGHT::displayExecutionTime(double, double, double) const
void SPRIGHT::displayExecutionTime(double frontEndTime, double backEndTime, double globalTime) const
{
    double SPRIGHTtime = frontEndTime+backEndTime;

    std::cout << std::setprecision(3) << std::scientific
              << frontEndTime << " -> execution of the front-end"  << std::endl
              << backEndTime << " -> execution of the back-end"  << std::endl
              << SPRIGHTtime << " -> total execution of SPRIGHT"  << std::endl;

    std::cout << globalTime << " -> global execution" << std::endl;

    std::cout.unsetf(std::ios_base::floatfield);
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x18, %rsp
movsd %xmm2, 0x10(%rsp)
movsd %xmm1, (%rsp)
movapd %xmm0, %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsp)
movq 0x81cc(%rip), %rbx      # 0x13fd0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movq $0x3, 0x8(%rbx,%rcx)
movq -0x18(%rax), %rax
movl $0xfffffefb, %ebp       # imm = 0xFFFFFEFB
movl 0x18(%rbx,%rax), %ecx
andl %ebp, %ecx
orl $0x100, %ecx            # imm = 0x100
movl %ecx, 0x18(%rbx,%rax)
movq %rbx, %rdi
callq 0x3400
leaq 0x11dc(%rip), %rsi      # 0xd018
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq %rax, %rdi
movsd (%rsp), %xmm0
callq 0x3400
leaq 0x11d7(%rip), %rsi      # 0xd037
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq %rax, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x3400
leaq 0x11d0(%rip), %rsi      # 0xd055
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq %rbx, %rdi
movsd 0x10(%rsp), %xmm0
callq 0x3400
leaq 0x11ca(%rip), %rsi      # 0xd074
movq %rax, %rdi
callq 0x3250
movq %rax, %rdi
callq 0x3110
movq (%rbx), %rax
movq -0x18(%rax), %rax
andl %ebp, 0x18(%rbx,%rax)
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::F_NEW_ARRAY()
DEF_FUNC(NEW_ARRAY)
{
    v_stack.add();
    STOP.type=T_ARRAY;
    STOP.v_array=newArray();
    reg_this=STOP;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x68, %rdi
pushq $0x1
popq %rsi
callq 0x9bce
movq 0x70(%rbx), %rax
movl $0x5, -0x20(%rax)
callq 0xf0a7
movq 0x70(%rbx), %rcx
movq %rax, -0x18(%rcx)
movq 0x70(%rbx), %rax
movups -0x20(%rax), %xmm0
movups -0x10(%rax), %xmm1
movups %xmm0, 0x468(%rbx)
movups %xmm1, 0x478(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::F_NEW_OBJECT()
DEF_FUNC(NEW_OBJECT)
{
    v_stack.add();
    STOP.type=T_OBJECT;
    STOP.v_object=newObject();
    reg_this=STOP;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x68, %rdi
pushq $0x1
popq %rsi
callq 0x9bce
movq 0x70(%rbx), %rax
movl $0x6, -0x20(%rax)
callq 0xf126
movq 0x70(%rbx), %rcx
movq %rax, -0x18(%rcx)
movq 0x70(%rbx), %rax
movups -0x20(%rax), %xmm0
movups -0x10(%rax), %xmm1
movups %xmm0, 0x468(%rbx)
movups %xmm1, 0x478(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::F_CREATE_FUNCTION()
DEF_FUNC(CREATE_FUNCTION)
{
    ARRAY_TYPE external=STOP.v_array;
    STOP.type=T_FUNCTION;
    auto prototype = newObject();
    (*prototype)["__proto__"]=reg_system["prototypes"][string("Function")];
    STOP.v_function={get_int32(),external,prototype};
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movq 0x70(%rdi), %rax
movq -0x18(%rax), %r12
movl $0x8, -0x20(%rax)
callq 0xf126
movq %rax, %r14
leaq 0x152e8(%rip), %rsi     # 0x1d15c
leaq 0x48(%rsp), %r15
leaq 0x7(%rsp), %rdx
movq %r15, %rdi
callq 0x9c4a
leaq 0x4a8(%rbx), %rdi
movq %r15, %rsi
callq 0x9be4
movq %rax, %r15
leaq 0x152b4(%rip), %rsi     # 0x1d153
leaq 0x28(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x9c4a
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0xbae2
movq %rax, %r15
leaq 0x152a2(%rip), %rsi     # 0x1d167
leaq 0x8(%rsp), %rdi
leaq 0x5(%rsp), %rdx
callq 0x9c4a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x9be4
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
leaq 0x8(%rsp), %rdi
callq 0x6130
leaq 0x28(%rsp), %rdi
callq 0x6130
leaq 0x48(%rsp), %rdi
callq 0x6130
movslq 0x500(%rbx), %rax
movq 0x60(%rbx), %rcx
movq 0x70(%rbx), %rdx
movl 0x1(%rcx,%rax), %eax
movl %eax, -0x18(%rdx)
movq %r12, -0x10(%rdx)
movq %r14, -0x8(%rdx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6130
jmp 0x7f4d
jmp 0x7f4a
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x6130
jmp 0x7f5e
jmp 0x7f5b
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x6130
movq %rbx, %rdi
callq 0x6460
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::F_OBJECT_SET()
DEF_FUNC(OBJECT_SET)
{
    if(reg_this.type==T_OBJECT)
    {
        string key=SPOP.toString();
        object_set(reg_this,key,STOP);
    }
    
    else if(reg_this.type==T_ARRAY)
    {
        int key=SPOP.toInt();
        (*reg_this.v_array)[key]=STOP;
    }
    else STOP.setNull();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movl 0x468(%rdi), %eax
cmpl $0x5, %eax
je 0x86b3
cmpl $0x6, %eax
jne 0x86fd
leaq 0x468(%rbx), %r14
leaq 0x68(%rbx), %rsi
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x9c86
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0xb612
movq 0x70(%rbx), %rdx
addq $-0x20, %rdx
movq %r14, %rdi
movq %r12, %rsi
callq 0x80ff
leaq 0x8(%rsp), %rdi
callq 0x6130
jmp 0x86f1
leaq 0x68(%rbx), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x9c86
movq %r14, %rdi
callq 0xb5a0
movq 0x70(%rbx), %rcx
movq 0x470(%rbx), %rdx
cltq
movq (%rdx), %rdx
shlq $0x5, %rax
movups -0x20(%rcx), %xmm0
movups -0x10(%rcx), %xmm1
movups %xmm1, 0x10(%rdx,%rax)
movups %xmm0, (%rdx,%rax)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x70(%rbx), %rdi
addq $-0x20, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xb6e0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6130
movq %rbx, %rdi
callq 0x6460
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::F_ADD()
DEF_FUNC(ADD)
{
    auto a=SPOP;
    if(STOP.type==T_STRING)
    {
        STRING_TYPE s=newString();
        *s=*STOP.v_string+a.toString();
        STOP.v_string=s;
    }
    else STOP+=a;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq 0x68(%rdi), %rsi
leaq 0x28(%rsp), %rdi
callq 0x9c86
movq 0x70(%rbx), %rdi
cmpl $0x4, -0x20(%rdi)
jne 0x8974
callq 0xeff0
movq %rax, %r14
movq 0x70(%rbx), %rax
movq -0x18(%rax), %r15
leaq 0x8(%rsp), %r12
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0xb612
leaq 0x48(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x9d3d
leaq 0x48(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x62d0
movq %r15, %rdi
callq 0x6130
leaq 0x8(%rsp), %rdi
callq 0x6130
movq 0x70(%rbx), %rax
movq %r14, -0x18(%rax)
jmp 0x8982
addq $-0x20, %rdi
leaq 0x28(%rsp), %rsi
callq 0xb4e0
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6130
movq %rbx, %rdi
callq 0x6460
nop
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::call(int)
void VirtualMachine::call(int argc)
{
    V_VALUE &func=v_stack.top(argc);
    if(func.type==T_FUNCTION)
    {
        stack_frame.push({l_stack,next_ip,v_stack.size()-argc});
        l_stack=v_stack.size();
        ip=func.v_function.func;
        KEEP_INS;
    }
    else if(func.type==T_NATIVE_FUNCTION)
    {
        auto size=v_stack.size();
        reg_ret.setNull();
        func.v_native_function(argc,*this);
        v_stack.resize(size);
        v_stack.sub(argc);
        STOP=reg_ret;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x70(%rdi), %r14
movslq %esi, %rax
movq %rax, %rcx
shlq $0x5, %rcx
movq %r14, %r12
subq %rcx, %r12
negq %rcx
movl -0x20(%r14,%rcx), %ecx
cmpl $0x7, %ecx
je 0x8e77
cmpl $0x8, %ecx
jne 0x8eca
movl 0x80(%rbx), %ecx
movq %rsp, %rsi
movl %ecx, (%rsi)
movl 0x504(%rbx), %ecx
movl %ecx, 0x4(%rsi)
subq 0x68(%rbx), %r14
leaq 0x88(%rbx), %rdi
sarq $0x5, %r14
subq %rax, %r14
movq %r14, 0x8(%rsi)
callq 0xaa8e
movq 0x70(%rbx), %rax
subq 0x68(%rbx), %rax
shrq $0x5, %rax
movl %eax, 0x80(%rbx)
movl -0x18(%r12), %eax
movl %eax, 0x500(%rbx)
movl %eax, 0x504(%rbx)
jmp 0x8eca
movl %esi, %ebp
leaq 0x68(%rbx), %r15
subq 0x68(%rbx), %r14
sarq $0x5, %r14
leaq 0x488(%rbx), %rdi
callq 0xb6e0
movl %ebp, %edi
movq %rbx, %rsi
callq *-0x18(%r12)
movq %r15, %rdi
movq %r14, %rsi
callq 0x9f74
movq %r15, %rdi
movl %ebp, %esi
callq 0x9bb4
movq 0x70(%rbx), %rax
movups 0x498(%rbx), %xmm0
movups %xmm0, -0x10(%rax)
movups 0x488(%rbx), %xmm0
movups %xmm0, -0x20(%rax)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::F_RET()
DEF_FUNC(RET)
{
    l_stack=stack_frame.top().sp;
    ip=stack_frame.top().ip;
    KEEP_INS;
    reg_ret=STOP;
    v_stack.resize(stack_frame.top().size);
    STOP=reg_ret;
    stack_frame.pop();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0xb8(%rdi), %rax
movq 0xc0(%rdi), %rcx
cmpq %rcx, %rax
je 0x8efc
leaq -0x10(%rax), %rsi
movq %rax, %rdx
jmp 0x8f15
movq 0xd0(%rbx), %rdx
movq -0x8(%rdx), %rdx
leaq 0x1f0(%rdx), %rsi
addq $0x200, %rdx            # imm = 0x200
leaq 0x488(%rbx), %r15
movl (%rsi), %esi
movl %esi, 0x80(%rbx)
movl -0xc(%rdx), %edx
movl %edx, 0x500(%rbx)
movl %edx, 0x504(%rbx)
movq 0x70(%rbx), %rdx
movups -0x20(%rdx), %xmm0
movups -0x10(%rdx), %xmm1
movups %xmm0, 0x488(%rbx)
movups %xmm1, 0x498(%rbx)
cmpq %rcx, %rax
jne 0x8f62
movq 0xd0(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
leaq 0x88(%rbx), %r14
leaq 0x68(%rbx), %rdi
movq -0x8(%rax), %rsi
callq 0x9f74
movq 0x70(%rbx), %rax
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups %xmm1, -0x10(%rax)
movups %xmm0, -0x20(%rax)
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0xa856
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::push(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void VirtualMachine::push(const string &s)
{
    v_stack.add();
    STOP.type=T_STRING;
    STOP.v_string=newString();
    *STOP.v_string=s;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x68, %rdi
pushq $0x1
popq %rsi
callq 0x9bce
movq 0x70(%r14), %rax
movl $0x4, -0x20(%rax)
callq 0xeff0
movq 0x70(%r14), %rcx
movq %rax, -0x18(%rcx)
movq 0x70(%r14), %rax
movq -0x18(%rax), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6170
nop
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::load(char const*)
bool VirtualMachine::load(const char *filename)
{
    if(!code_data.load(filename))return false;
    l_stack=0;
    v_stack.add();
    STOP.type=T_OBJECT;
    STOP.v_object=&reg_system;
    return true;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x19bf8
movl %eax, %ebp
testb %al, %al
je 0x9a4a
andl $0x0, 0x80(%rbx)
leaq 0x68(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x9bce
movq 0x70(%rbx), %rax
movl $0x6, -0x20(%rax)
addq $0x4a8, %rbx            # imm = 0x4A8
movq %rbx, -0x18(%rax)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::callReturn(int)
V_VALUE VirtualMachine::callReturn(int argc)
{
    DATATYPE type=v_stack.top(argc).type;
    call(argc);
    if(type==T_FUNCTION)runReturn();
    return SPOP;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x70(%rsi), %rax
movslq %edx, %rsi
movq %rsi, %rcx
shlq $0x5, %rcx
negq %rcx
movl -0x20(%rax,%rcx), %ebp
movq %r14, %rdi
callq 0x8dea
cmpl $0x8, %ebp
jne 0x9a88
movq %r14, %rdi
callq 0x9aa0
addq $0x68, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9c86
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::runStep()
void VirtualMachine::runStep()
{
    //discode(CUR_INS,code_data,stdout);
    //continue;
    gc_enable=false;
    next_ip=ip+CUR_INS_LEN;
    if(CUR_INS>=0&&CUR_INS<=OP_HALT)(this->*op_func[CUR_INS])();
    else printf("Unknow instructor: %d\n",CUR_INS);
    //printf("STACK SIZE: %d\n",v_stack.size());
    //puts("-----------------");
    ip=next_ip;
    gc_enable=true;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x25da0(%rip), %r14     # 0x2f878
movb $0x0, (%r14)
movslq 0x500(%rdi), %rax
movq 0x60(%rdi), %rcx
movzbl (%rcx,%rax), %edx
leaq 0x1410e(%rip), %rsi     # 0x1dc00
movl (%rsi,%rdx,8), %edx
addl %eax, %edx
movl %edx, 0x504(%rdi)
movzbl (%rcx,%rax), %esi
cmpq $0x38, %rsi
ja 0x9b2d
shll $0x4, %esi
movq 0xd8(%rbx,%rsi), %rax
movq 0xe0(%rbx,%rsi), %rdi
addq %rbx, %rdi
testb $0x1, %al
je 0x9b29
movq (%rdi), %rcx
movq -0x1(%rcx,%rax), %rax
callq *%rax
jmp 0x9b3b
leaq 0x136bf(%rip), %rdi     # 0x1d1f3
xorl %eax, %eax
callq 0x6050
movl 0x504(%rbx), %eax
movl %eax, 0x500(%rbx)
movb $0x1, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::run()
void VirtualMachine::run()
{
    clock_t t=clock();
    ip=code_data.config.entry_point;
    int code_raw_size=code_data.config.code_raw_size;
    while(ip>=0&&ip<code_raw_size&&CUR_INS!=OP_HALT)runStep();
    printf("halt in %lu clocks.\n",clock()-t);
    //printf("memory_table: %u\n",memory_table.size());
    //gc();printf("memory_table: %u\n",memory_table.size());
    
    //printf("STACK SIZE: %d\n",v_stack.size());
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
callq 0x61a0
movq %rax, %rbx
movl 0x28(%r14), %ebp
movl 0x38(%r14), %eax
movl %eax, 0x500(%r14)
testl %eax, %eax
js 0x9b97
cmpl %ebp, %eax
jge 0x9b97
movl %eax, %eax
movq 0x60(%r14), %rcx
cmpb $0x38, (%rcx,%rax)
je 0x9b97
movq %r14, %rdi
callq 0x9aca
movl 0x500(%r14), %eax
jmp 0x9b72
callq 0x61a0
subq %rbx, %rax
leaq 0x13664(%rip), %rdi     # 0x1d20a
movq %rax, %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x6050
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/buildin.cpp
// Function: build_inscans_(int, VirtualMachine&)
BUILD_FUNC_SIGN(scans)
{
    char s[1000];
    vm.reg_ret.type=T_STRING;
    scanf("%s",s);
    vm.reg_ret.v_string=newString();
    *vm.reg_ret.v_string=s;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x3e8, %rsp            # imm = 0x3E8
movq %rsi, %rbx
movl $0x4, 0x488(%rsi)
leaq 0x135d6(%rip), %rdi     # 0x1e3db
movq %rsp, %r14
movq %r14, %rsi
xorl %eax, %eax
callq 0x62a0
callq 0xeff0
movq %rax, 0x490(%rbx)
movq %rax, %rdi
movq %r14, %rsi
callq 0x64b0
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/buildin.cpp
// Function: build_inlen_(int, VirtualMachine&)
BUILD_FUNC_SIGN(len)
{
    vm.reg_ret.type=T_INT;
    switch(GET_ARGV(0).type)
    {
        case T_ARRAY:
            vm.reg_ret.v_int=GET_ARGV(0).v_array->size();
            break;
        case T_OBJECT:
            vm.reg_ret.v_int=GET_ARGV(0).v_object->size();
            break;
        case T_STRING:
            vm.reg_ret.v_int=GET_ARGV(0).v_string->length();
            break;
        default:
            vm.reg_ret.v_int=1;
    }
}

// Assembly:
movl $0x2, 0x488(%rsi)
movq 0x70(%rsi), %rax
movl -0x20(%rax), %ecx
cmpl $0x4, %ecx
je 0xae79
cmpl $0x6, %ecx
je 0xae70
cmpl $0x5, %ecx
jne 0xae82
movq -0x18(%rax), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
shrq $0x5, %rax
jmp 0xae85
movq -0x18(%rax), %rax
movl 0x28(%rax), %eax
jmp 0xae85
movq -0x18(%rax), %rax
movl 0x8(%rax), %eax
jmp 0xae85
pushq $0x1
popq %rax
movl %eax, 0x490(%rsi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/buildin.cpp
// Function: build_inclear_(int, VirtualMachine&)
BUILD_FUNC_SIGN(clear)
{
    if(GET_ARGV(0).type==T_ARRAY)GET_ARGV(0).v_array->clear();
    else if(GET_ARGV(0).type==T_OBJECT)GET_ARGV(0).v_object->clear();
    else return;
    vm.reg_ret=GET_ARGV(0);
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movq 0x70(%rsi), %rax
movl -0x20(%rax), %ecx
cmpl $0x6, %ecx
je 0xaf17
cmpl $0x5, %ecx
jne 0xaf3a
movq -0x18(%rax), %rax
movq (%rax), %rcx
cmpq %rcx, 0x8(%rax)
je 0xaf20
movq %rcx, 0x8(%rax)
jmp 0xaf20
movq -0x18(%rax), %rdi
callq 0xb47e
movq 0x70(%rbx), %rax
movups -0x20(%rax), %xmm0
movups -0x10(%rax), %xmm1
movups %xmm0, 0x488(%rbx)
movups %xmm1, 0x498(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/buildin.cpp
// Function: build_inget_keys_(int, VirtualMachine&)
BUILD_FUNC_SIGN(get_keys)
{
    vm.reg_ret.type=T_ARRAY;
    vm.reg_ret.v_array=newArray();
    if(GET_ARGV(0).type==T_OBJECT)
    {
        int i=0;
        vm.reg_ret.v_array->resize(GET_ARGV(0).v_object->size());
        for(auto &x:*GET_ARGV(0).v_object)
        {
            (*vm.reg_ret.v_array)[i].type=T_STRING;
            (*vm.reg_ret.v_array)[i].v_string=newString();
            *(*vm.reg_ret.v_array)[i].v_string=x.first;
            i++;
        }
    }
    else if(GET_ARGV(0).type==T_ARRAY)
    {
        int size=GET_ARGV(0).v_array->size();
        vm.reg_ret.v_array->resize(size);
        for(int i=0;i<size;i++)
        {
            (*vm.reg_ret.v_array)[i].type=T_INT;
            (*vm.reg_ret.v_array)[i].v_int=i;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movl $0x5, 0x488(%rsi)
callq 0xf0a7
movq %rax, 0x490(%rbx)
movq 0x70(%rbx), %rcx
movl -0x20(%rcx), %edx
cmpl $0x5, %edx
je 0xb041
cmpl $0x6, %edx
jne 0xb096
movq -0x18(%rcx), %rcx
movq 0x28(%rcx), %rsi
movq %rax, %rdi
callq 0x9f74
movq 0x70(%rbx), %rax
movq -0x18(%rax), %r12
movq 0x18(%r12), %r14
addq $0x8, %r12
xorl %r13d, %r13d
cmpq %r12, %r14
je 0xb096
leaq 0x20(%r14), %r15
movq 0x490(%rbx), %rax
movq (%rax), %rax
movl $0x4, (%rax,%r13)
callq 0xeff0
movq 0x490(%rbx), %rcx
movq (%rcx), %rcx
movq %rax, 0x8(%rcx,%r13)
movq 0x490(%rbx), %rax
movq (%rax), %rax
movq 0x8(%rax,%r13), %rdi
movq %r15, %rsi
callq 0x6170
movq %r14, %rdi
callq 0x61b0
movq %rax, %r14
addq $0x20, %r13
jmp 0xafe6
movq -0x18(%rcx), %rcx
movq 0x8(%rcx), %rdx
subq (%rcx), %rdx
shrq $0x5, %rdx
movslq %edx, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x9f74
xorl %eax, %eax
testl %r14d, %r14d
cmovlel %eax, %r14d
xorl %ecx, %ecx
cmpq %rcx, %r14
je 0xb096
movq 0x490(%rbx), %rdx
movq (%rdx), %rdx
movl $0x2, (%rdx,%rax)
movq 0x490(%rbx), %rdx
movq (%rdx), %rdx
movl %ecx, 0x8(%rdx,%rax)
incq %rcx
addq $0x20, %rax
jmp 0xb069
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/buildin.cpp
// Function: build_ineach_(int, VirtualMachine&)
BUILD_FUNC_SIGN(each)
{
    auto v=GET_ARGV(0);
    auto f=GET_ARGV(1);
    if(v.type==T_ARRAY)
    {
        for(int i=0;i<v.v_array->size();i++)
        {
            vm.push(f);
            vm.push(f); //callee
            vm.push(vm.v_stack[0]); // this
            vm.push((*v.v_array)[i]);
            vm.push(i);
            vm.callReturn(4);
        }
    }
    else if(v.type==T_OBJECT)
    {
        for(auto &x:*v.v_object)
        {
            vm.push(f);
            vm.push(f); //callee
            vm.push(vm.v_stack[0]); // this
            vm.push(x.first);
            vm.push(x.second);
            vm.callReturn(4);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq 0x70(%rsi), %rcx
movl -0x20(%rcx), %eax
movq -0x18(%rcx), %rbp
movups -0x40(%rcx), %xmm0
movups -0x30(%rcx), %xmm1
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
cmpl $0x6, %eax
je 0xb15b
cmpl $0x5, %eax
jne 0xb1c9
xorl %r15d, %r15d
movq %rsp, %r14
pushq $0x4
popq %r13
xorl %r12d, %r12d
movq 0x8(%rbp), %rax
subq (%rbp), %rax
sarq $0x5, %rax
cmpq %r12, %rax
jbe 0xb1c9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x99c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x99c0
movq 0x68(%rbx), %rsi
movq %rbx, %rdi
callq 0x99c0
movq (%rbp), %rsi
addq %r15, %rsi
movq %rbx, %rdi
callq 0x99c0
movq %rbx, %rdi
movl %r12d, %esi
callq 0x7cc8
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq 0x9a54
incq %r12
addq $0x20, %r15
jmp 0xb0f1
movq 0x18(%rbp), %r15
addq $0x8, %rbp
movq %rsp, %r14
pushq $0x4
popq %r12
cmpq %rbp, %r15
je 0xb1c9
leaq 0x20(%r15), %r13
movq %rbx, %rdi
movq %r14, %rsi
callq 0x99c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x99c0
movq 0x68(%rbx), %rsi
movq %rbx, %rdi
callq 0x99c0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x99ca
leaq 0x40(%r15), %rsi
movq %rbx, %rdi
callq 0x99c0
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x9a54
movq %r15, %rdi
callq 0x61b0
movq %rax, %r15
jmp 0xb16a
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/Eronana[P]strawberry/src/buildin.cpp
// Function: build_incall_(int, VirtualMachine&)
BUILD_FUNC_SIGN(call)
{
    auto &_this=GET_ARGV(0);
    auto &f=GET_ARGV(1);
    vm.push(f); // function
    vm.push(f); // callee
    vm.push(_this); // this
    for(int i=0;i<ARGC-2;i++)vm.push(GET_ARGV(ARGC+2));
    vm.callReturn(ARGC);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movl %edi, %ebp
movq 0x70(%rsi), %r14
leaq -0x20(%r14), %r15
addq $-0x40, %r14
movq %rsi, %rdi
movq %r14, %rsi
callq 0x99c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x99c0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x99c0
movslq %ebp, %rax
movq %rax, %r14
negq %r14
cmpl $0x5, %eax
pushq $0x4
popq %r15
cmovgel %ebp, %r15d
addl $-0x4, %r15d
shlq $0x5, %r14
subl $0x1, %r15d
jb 0xb24c
movq 0x70(%rbx), %rax
leaq (%rax,%r14), %rsi
addq $-0x20, %rsi
movq %rbx, %rdi
callq 0x99c0
jmp 0xb230
addl $-0x2, %ebp
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
movl %ebp, %edx
callq 0x9a54
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq