// File: /workspace/github_cpp_makefile_star2_O3/thierry7100[P]CutOptim/src/SvgDoc.cpp
// Function: SvgDoc::OptimizeLevelFreeRot(Polygon*, std::__cxx11::list<NSVGpath*, std::allocator<NSVGpath*>>, std::__cxx11::list<NSVGpath*, std::allocator<NSVGpath*>>, double, double&, double, int, int, int)
NSVGpath *SvgDoc::OptimizeLevelFreeRot(Polygon *FixedPolyHull, std::list<NSVGpath *> FixedList, std::list<NSVGpath *> CurFloating, double FixedArea,
                                double &Cost, double InBestCost, int FloatPolygon, int nbFixedPoly, int LevelOptimize)
{
Polygon *rot_p = NULL;
Polygon *trans_rot_p = NULL;
vector<Point> FixedHull;
vector<Point> tmpFixedHull;
double BestCost = 1e100;
int Best_i = -1, Best_j = -1;
int Best_Poly = -1;
double BestAngle;
Point BestTranslation;
Point OverAllCentroid;
Rectangle OverAll;
int Reason;
int FixedPolygon = 0;
Point RefPoint;

    if ( debug_level > 1 )
    {
        OutDebug << "Entering OptimizeLevel(" << LevelOptimize <<  "): FixedHullArea " <<  FixedPolyHull->area() << " Fixed area " << FixedArea;
        OutDebug << " InBestCost=" << InBestCost << "\n";
        OutDebug << "Elements in list:" << CurFloating.size() << " first is " << CurFloating.front()->id << "\n";
    }
    FixedHull = FixedPolyHull->GetVertices();
    OverAllCentroid = FixedPolyHull->getCentroid();
    OverAll = FixedPolyHull->GetBoundingBox();

    NSVGpath *WorkingFloatingEntry = CurFloating.front();
    //  And remove element from temporary floating list
    CurFloating.pop_front();
    BestCost = 1e100;          //  Very large, each try should be better
    BestAngle = -500;            //   Impossible value
    if ( debug_level > 1 )
    {
        OutDebug << "Polygon to be placed : " << WorkingFloatingEntry->id << "  has " << WorkingFloatingEntry->LargePolygon->nVertices << " vertices.\n";
    }
    double tmpPolygonArea = FixedArea + WorkingFloatingEntry->LargePolygon->area();
    int nPreviousVertices = getFixedNbVertex(FixedList);            //  Number of vertices of all polygons before this one
    //  Build a cache object which will speed up computation if not yet present
    if ( UseCache && WorkingFloatingEntry->CachePoly == NULL )
    {
        //  Use 4 for num_rot because 4 possibilities will be tested, even if 2 at most are possible.
        WorkingFloatingEntry->CachePoly = new CachePosition(WorkingFloatingEntry->LargePolygon->nVertices, 4, nPreviousVertices);
    }
    //  Precomputing of segments and angle to save time
    WorkingFloatingEntry->LargePolygon->ComputeAngles();     //  Compute angles to be more efficient later
    WorkingFloatingEntry->LargePolygon->CalcSegments();

    //  Try all vertices of all placed polygons
    FixedPolygon = 0;
    int iFixedVertex = 0;
    for (std::list<NSVGpath *>::iterator it=FixedList.begin(); it != FixedList.end(); ++it, FixedPolygon++)
    {
        //  Get next placed polygon
        NSVGpath *path = *it;
        Polygon  *curFixed = path->PlacedPolygon;
        if ( debug_level > 2 )
        {
            OutDebug << "\n\n-------    Trying matching polygon " << FloatPolygon << " with Polygon " << FixedPolygon << "\n";
        }
        // For each vertex of this placed polygon
        for ( int iVFixed = 0; iVFixed < curFixed->nVertices-1; iFixedVertex++, iVFixed++)
        {
            double angle = 0;
            if ( debug_level > 2 )
            {
                OutDebug << "\nTrying on vertex " << iVFixed << " of fixed polygon\n";
            }
            //  Try all vertices of the floating polygon, and select the best
            for (int iVFloat = 0; iVFloat < WorkingFloatingEntry->LargePolygon->nVertices-1; iVFloat++)
            {
                if ( debug_level > 3 )
                {
                    OutDebug << "\nTrying with vertex " << iVFloat << " on vertex " << iVFixed << "\n";
                }
                //  For each case, try 4 angles. Angles are computed such as edge of flaot polygon are aligned to edge of fixed polygon with matching vertex.
                //  As there is 2 edges for each vertex, there are 4 possible angles, even if at most 2 will be possible
                for ( int iRot = 0; iRot < 4; iRot++)
                {
                    //  Use cache if available

                    trans_rot_p = NULL;
                    int Cached = 0;
                    if ( UseCache && path->isFixed )
                        WorkingFloatingEntry->CachePoly->isOKPlacedFreeRot(iVFloat, iRot, iFixedVertex, &trans_rot_p);
                    if ( Cached < 0 )       //  Cache says impossible !
                    {
                        CacheHit_KO++;
                        if ( debug_level > 2 )
                            OutDebug << "Cache says placement polygon " << FloatPolygon << " vertex " << iVFloat << " on vertex " << iVFixed << " of Polygon " << FixedPolygon << "(" << iFixedVertex << ")" << "impossible " << *curFixed->GetVertex(iVFixed) << "\n";
                        continue;           //  Goto next vertex...
                    }
                    else if ( Cached == 0 )
                    {
                        CacheMiss++;        // Not yet in cache, check angles first
                        nbCheckAngles++;
                        angle = 0;
                        //  Compute angle associated with floating polygon vertex j placed on vertex i of fixed polygon curFixed polygon (index i_rot)
                        //  If not possible, invalidate cache
                        int Res = ComputeFreeRotAngle(WorkingFloatingEntry->LargePolygon, iVFloat, curFixed, iVFixed, iRot, angle);
                        if ( debug_level > 3 )
                        {
                            OutDebug << "iRot =" << iRot << " angle=" << round(angle * 180 / M_PI);
                            OutDebug << "  ComputeFreeRotAngle: Res=" << Res << "\n";
                        }
                        if ( Res == 0)
                        {
                            //  Impossible, invalid cache entry
                            if ( UseCache && path->isFixed )
                                WorkingFloatingEntry->CachePoly->addOKPlacedFreeRot(iVFloat, iRot, iFixedVertex, NULL);
                            if ( debug_level > 2 )
                                OutDebug << "ComputeFreeRotAngle: Placement polygon " << FloatPolygon << " vertex " << iVFloat << " with rotation " << angle << "(" << iRot << ")" << " on vertex " << iVFixed << " of Polygon " << FixedPolygon << " impossible " << *curFixed->GetVertex(iVFixed) << ", reason angle mismatch\n";
                            continue;    //  Not possible goto next without further processing
                        }
                        //  Compute polygon translated and rotated...
                        if ( rot_p ) delete rot_p;
                        rot_p = WorkingFloatingEntry->LargePolygon->Rotate(angle);
                        nbRotation++;
                        rot_p->ComputeAngles();     //  Compute angles to be more efficient later
                        rot_p->CalcSegments();
                        trans_rot_p = rot_p->Translate(curFixed->GetVertex(iVFixed), iVFloat);
                        nbTranslation++;
                        trans_rot_p->CalcSegments();
                    }
                    else
                    {
                        CacheHit_OK++;
                        angle = trans_rot_p->getRotation();
                    }

                    RefPoint = Point(WorkingFloatingEntry->StartX, WorkingFloatingEntry->StartY);
                    RefPoint.Transform(angle, WorkingFloatingEntry->LargePolygon->getCentroid(), trans_rot_p->getTranslation());
                    if ( (Reason = PlacementNotPossible(trans_rot_p, FixedList, &OverAll, &RefPoint, Cached)) )
                    {
                        if ( debug_level > 2 )
                            OutDebug << "Placement polygon " << FloatPolygon << " vertex " << iVFloat << " on vertex " << iVFixed << " of Polygon " << FixedPolygon << " impossible " << *curFixed->GetVertex(iVFixed) << ", reason " << Reason << "\n";
                        //  If impossible due to conflict with fixed polygon, invalidate cache entry
                        if ( path->isFixed && (Reason & FIXED_BIT) != 0 )
                        {
                            if ( UseCache )
                                WorkingFloatingEntry->CachePoly->addOKPlacedFreeRot(iVFloat, iRot, iFixedVertex, NULL);
                            delete trans_rot_p;
                            trans_rot_p = NULL;
                        }
                        //  Free memory associated with polygon
                        if ( Cached == 0 && trans_rot_p != NULL )
                        {
                            delete trans_rot_p;
                            trans_rot_p = NULL;
                        }

                        nbPlacementImpossible++;
                        continue;
                    }
                    if ( path->isFixed && Cached == 0)        //  If current vertex belongs to a fixed path, cache value
                    {
                        if ( UseCache )
                        {
                            WorkingFloatingEntry->CachePoly->addOKPlacedFreeRot(iVFloat, iRot, iFixedVertex, trans_rot_p);
                            Cached = 1;
                        }
                    }
                    //  Compute cost function
                    //  We will use only the Hull area.
                    //  As the Hull will only grow with subsequent calls, if a temp value is greater than the best one, no need to process further polygons
                    vector<Point> tmpHull = CombineHull(FixedHull, trans_rot_p->GetVertices());
                    double tmpHullArea = HullArea(tmpHull);
                    if ( debug_level > 1)
                        OutDebug << "  Vertex " << iVFloat << " on " << iVFixed << " of polygon " << FixedPolygon << " Hull area " << tmpHullArea << "--> DiffArea=" << tmpHullArea - tmpPolygonArea << "\n";
                    //  In this case, call again this function but with a list without the first element
                    //  First copy the list, the first element has already been removed
                    std::list<NSVGpath *> tmpFloatList = CurFloating;
                    //  Then add this element, as placed to the fixed list.
                    std::list<NSVGpath *> tmpFixedList = FixedList;
                    tmpFixedList.push_back(WorkingFloatingEntry);
                    //  Move Polygon at its place, but before delete existing polygon to save memory
                    if ( WorkingFloatingEntry->PlacedPolygon ) delete WorkingFloatingEntry->PlacedPolygon;
                    if ( WorkingFloatingEntry->LargeConvexHull ) delete WorkingFloatingEntry->LargeConvexHull;
                    Point temp_pT = trans_rot_p->getTranslation();
                    WorkingFloatingEntry->PlacedPolygon = WorkingFloatingEntry->LargePolygon->Transform(angle, &temp_pT);
                    WorkingFloatingEntry->PlacedPolygon->ComputeAngles();
                    WorkingFloatingEntry->PlacedPolygon->CalcSegments();
                    //  Update variables for Fixed polygons lists
                    double tmpFixedArea = FixedArea + WorkingFloatingEntry->LargePolygon->area();
                    tmpFixedHull = CombineHull(FixedHull, WorkingFloatingEntry->PlacedPolygon->GetVertices());
                    WorkingFloatingEntry->LargeConvexHull = new Polygon(tmpFixedHull);
                    WorkingFloatingEntry->LargeConvexHull->ReCalcArea();
                    if ( debug_level > 1 && !tmpFloatList.empty() && tmpHullArea >= InBestCost )
                    {
                        OutDebug << " TmpHullarea (" << tmpHullArea << ") larger than input best values (" << InBestCost << ") no need to process other polygons in list\n";
                    }
                    if ( debug_level > 1 && !tmpFloatList.empty() && tmpHullArea >= BestCost )
                    {
                        OutDebug << " TmpHullarea (" << tmpHullArea << ") larger than current best values (" << BestCost << ") no need to process other polygons in list\n";
                    }
                    if ( !tmpFloatList.empty() && (tmpHullArea <= InBestCost && tmpHullArea <= BestCost) ) //  No need to go deeper, if nothing in list or cost already too high
                    {
                        if ( debug_level > 1 )
                        {
                            OutDebug << "  Applying current translation : " << temp_pT << " to polygon " << FloatPolygon << "\n";
                            OutDebug << "  new hull with " << FixedHull.size() << " vertices, area " << HullArea(FixedHull) << " Fixed polygon area " << tmpFixedArea <<"\n";
                            OutDebug << "  LargeConvexHull area :" << WorkingFloatingEntry->LargeConvexHull->area() << "\n";
                            OutDebug << "  Then call Optimize level again...\n";
                        }
                        OverAll = Hull2BoundingBox(FixedHull);
                        //  Then call Optimize level if the floating list is non empty
                        NSVGpath *Res = OptimizeLevelFreeRot(WorkingFloatingEntry->LargeConvexHull, tmpFixedList, tmpFloatList, tmpFixedArea, tmpHullArea, BestCost, FloatPolygon+1, nbFixedPoly, LevelOptimize - 1);
                        if ( Res == NULL )
                        {
                            //  Not possible, make sure that tmpHullArea will be greater than BestCost
                            tmpHullArea = BestCost + 10;
                        }
                        //  After return, the tmpHullArea is updated
                        if ( debug_level > 1 )
                        {
                            OutDebug << "-----   Returning at level " << LevelOptimize << ",  Cost is " << tmpHullArea << "\n";
                        }
                    }
                    if ( tmpHullArea < BestCost  )
                    {   //  Yes record new best value and corresponding position
                        BestCost = tmpHullArea;
                        BestAngle = angle;
                        BestTranslation = trans_rot_p->getTranslation();
                        Best_i = iVFixed;
                        Best_j = iVFloat;
                        Best_Poly = FixedPolygon;
                        if ( debug_level > 1 )
                        {
                            OutDebug << "New best found placing polygon " << FloatPolygon << "\n";
                            OutDebug << "  Vertex " << iVFloat << " on vertex " << iVFixed << " of polygon " <<  FixedPolygon << "\n";
                            OutDebug << " Rotation=" << round(angle*180/M_PI) << " Translation " << BestTranslation << " from " << *(rot_p->GetVertex(iVFloat)) << " to " <<  *(curFixed->GetVertex(iVFixed)) << "\n";
                            OutDebug << "  Hull area:" << tmpHullArea << " Polygon area:" << tmpPolygonArea << "\n";

                        }
                    }
                    if ( Cached == 0 )
                    {
                        delete trans_rot_p;     //  No need to keep, free memory
                        if ( rot_p->nVertices == 0 )
                        {
                            cerr << " rot_p (" << rot_p << ") invalid with 0 vertices, level =" << LevelOptimize << " Float poly = " << FloatPolygon << "\n";
                        }
                    }
               }
            }
         }
    }
    //  Do some cleaning...
    if ( rot_p != NULL ) delete rot_p;
    rot_p = NULL;
    //  Place polygon at BestAngle and Best Translation
    if ( BestAngle < -100 )
    {
        Cost = 1.0e50;        //      Return a large cost, all possible solutions will be better than this one
        return NULL;
    }
    if ( BestCost > InBestCost )    //  Not better at this level
    {
        Cost = BestCost;
        if ( debug_level > 1 )
        {
            OutDebug << "Level " << LevelOptimize << " No better move than " <<  InBestCost << " found, return at upper level\n";
        }
        return WorkingFloatingEntry;
    }
    if ( WorkingFloatingEntry->PlacedPolygon ) delete WorkingFloatingEntry->PlacedPolygon;
    if ( WorkingFloatingEntry->LargeConvexHull ) delete WorkingFloatingEntry->LargeConvexHull;
    WorkingFloatingEntry->PlacedPolygon = WorkingFloatingEntry->LargePolygon->Transform(BestAngle, &BestTranslation);
    WorkingFloatingEntry->PlacedPolygon->ComputeAngles();
    WorkingFloatingEntry->PlacedPolygon->CalcSegments();
    FixedArea += WorkingFloatingEntry->PlacedPolygon->area();
    FixedHull = CombineHull(FixedHull, WorkingFloatingEntry->PlacedPolygon->GetVertices());
    WorkingFloatingEntry->LargeConvexHull = new Polygon(FixedHull);
    WorkingFloatingEntry->LargeConvexHull->ReCalcArea();
    WorkingFloatingEntry->LargeConvexHull->getCentroid();
    Cost = BestCost;
    if ( debug_level > 0 )
    {
        OutDebug << "Level " << LevelOptimize << ": Applying best move : " << BestTranslation << "/" << round(BestAngle*180/M_PI) << "° to polygon " << FloatPolygon << " will place vertex " << Best_j << " on vertex " << Best_i << " of polygon " << Best_Poly << "\n";
        OutDebug << "  new hull with " << FixedHull.size() << " vertices, area " << HullArea(FixedHull) << " Fixed polygon area " << FixedArea <<"\n";
        OutDebug << "  LargeConvexHull area :" << WorkingFloatingEntry->LargeConvexHull->area() << " Cost= " << Cost << "\n";
        OutDebug << "  CurFloating.Size=" << CurFloating.size() << "\n";
        int idx_list = 1;
        for (std::list<NSVGpath *>::iterator it=CurFloating.begin(); it != CurFloating.end() ; ++it, idx_list++)
        {
            NSVGpath  *lPath = *it;
            if ( lPath->PlacedPolygon == NULL )
            {
                OutDebug << "Element " << idx_list << "Not placed\n";
            }
            else
            {
                OutDebug << " Element " << idx_list << ": Translation=" << lPath->PlacedPolygon->getTranslation() << " rot=" << round(lPath->PlacedPolygon->getRotation()*180/M_PI) ;
                OutDebug << " Hull area=" << lPath->LargeConvexHull->area() << "\n";
            }
        }
    }
    return WorkingFloatingEntry;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp            # imm = 0x2A8
movq %r9, 0x58(%rsp)
movsd %xmm1, 0xc0(%rsp)
movq %r8, 0xe0(%rsp)
movsd %xmm0, 0xe8(%rsp)
movq %rcx, 0xa0(%rsp)
movq %rdx, 0xd8(%rsp)
movq %rsi, %rbx
movq %rdi, %r15
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movq %rax, 0x90(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x80(%rsp)
movq %rax, 0x170(%rsp)
movapd %xmm0, 0x160(%rsp)
movapd %xmm0, 0x1c0(%rsp)
movapd %xmm0, 0x200(%rsp)
movapd %xmm0, 0x1f0(%rsp)
movapd %xmm0, 0x180(%rsp)
cmpl $0x2, 0x60(%rdi)
jl 0x35f16
leaq 0x68(%r15), %r14
leaq 0x97fb(%rip), %rsi      # 0x3f5ef
movl $0x17, %edx
movq %r14, %rdi
callq 0x74e0
movq %r14, %rdi
movl 0x2e8(%rsp), %esi
callq 0x7720
movq %rax, %r12
leaq 0x97ed(%rip), %rsi      # 0x3f607
movl $0x11, %edx
movq %rax, %rdi
callq 0x74e0
movq %rbx, %rdi
callq 0x266bc
movq %r12, %rdi
callq 0x7690
movq %rax, %r12
leaq 0x97d8(%rip), %rsi      # 0x3f619
movl $0xc, %edx
movq %rax, %rdi
callq 0x74e0
movq %r12, %rdi
movsd 0xe8(%rsp), %xmm0
callq 0x7690
leaq 0x97cc(%rip), %rsi      # 0x3f632
movl $0xc, %edx
movq %r14, %rdi
callq 0x74e0
movq %r14, %rdi
movsd 0xc0(%rsp), %xmm0
callq 0x7690
leaq 0x9441(%rip), %rsi      # 0x3f2cc
movl $0x1, %edx
movq %rax, %rdi
callq 0x74e0
leaq 0x97a0(%rip), %rsi      # 0x3f63f
movl $0x11, %edx
movq %r14, %rdi
callq 0x74e0
movq 0xa0(%rsp), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x7300
movq %rax, %r14
leaq 0x9787(%rip), %rsi      # 0x3f651
movl $0xa, %edx
movq %rax, %rdi
callq 0x74e0
movq 0xa0(%rsp), %rax
movq (%rax), %rax
movl $0x90, %r12d
addq 0x10(%rax), %r12
movq %r12, %rdi
callq 0x71d0
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x74e0
leaq 0x93c3(%rip), %rsi      # 0x3f2cc
movl $0x1, %edx
movq %r14, %rdi
callq 0x74e0
leaq 0x10(%rbx), %rsi
leaq 0x60(%rsp), %rdi
callq 0x259ac
movq 0x80(%rsp), %rdi
movq 0x90(%rsp), %rsi
movapd 0x60(%rsp), %xmm0
movapd %xmm0, 0x80(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x90(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
testq %rdi, %rdi
je 0x35f87
subq %rdi, %rsi
callq 0x7450
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x35f87
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movq %rbx, %rdi
callq 0x27d5c
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
callq 0x27c1a
movupd 0x60(%rsp), %xmm0
movupd 0x70(%rsp), %xmm1
movapd %xmm1, 0x200(%rsp)
movapd %xmm0, 0x1f0(%rsp)
movq 0xa0(%rsp), %rax
movq (%rax), %rbx
movq 0x10(%rbx), %rcx
movq %rcx, (%rsp)
decq 0x10(%rax)
movq %rbx, %rdi
callq 0x76b0
movl $0x18, %esi
movq %rbx, %rdi
callq 0x7450
cmpl $0x2, 0x60(%r15)
jl 0x36061
leaq 0x68(%r15), %rbx
leaq 0x9664(%rip), %rsi      # 0x3f65c
movl $0x17, %edx
movq %rbx, %rdi
callq 0x74e0
movq (%rsp), %rax
leaq 0x90(%rax), %r14
movq %r14, %rdi
callq 0x71d0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x74e0
leaq 0x9647(%rip), %rsi      # 0x3f674
movl $0x6, %edx
movq %rbx, %rdi
callq 0x74e0
movq (%rsp), %rax
movq 0x68(%rax), %rax
movl 0x8(%rax), %esi
movq %rbx, %rdi
callq 0x7720
leaq 0x9627(%rip), %rsi      # 0x3f67b
movl $0xb, %edx
movq %rax, %rdi
callq 0x74e0
movq (%rsp), %rax
movq 0x68(%rax), %rdi
callq 0x266bc
movsd %xmm0, 0xf0(%rsp)
leaq 0x290(%rsp), %r14
movq %r14, %rdi
movq 0xd8(%rsp), %rsi
callq 0x3b844
movq 0x290(%rsp), %rdi
xorl %ebx, %ebx
cmpq %r14, %rdi
je 0x360cc
movq %rdi, %rax
movq 0x10(%rax), %rcx
movq (%rax), %rdx
movq 0x68(%rcx), %rax
addl 0x8(%rax), %ebx
movq %rdx, %rax
cmpq %r14, %rdx
jne 0x360a1
movq (%rdi), %r12
movl $0x18, %esi
callq 0x7450
movq %r12, %rdi
cmpq %r14, %r12
jne 0x360b7
cmpl $0x0, 0x64(%r15)
movq (%rsp), %r12
je 0x36112
cmpq $0x0, 0x88(%r12)
jne 0x36112
movl $0x38, %edi
callq 0x7440
movq %rax, %r14
movq (%rsp), %r12
movq 0x68(%r12), %rax
movl 0x8(%rax), %esi
movq %r14, %rdi
movl $0x4, %edx
movl %ebx, %ecx
callq 0x2524c
movq %r14, 0x88(%r12)
movq 0x68(%r12), %rdi
callq 0x2870c
movq (%rsp), %rax
movq 0x68(%rax), %rdi
callq 0x28f40
movq 0xd8(%rsp), %rax
movq (%rax), %rcx
cmpq %rax, %rcx
je 0x3757e
movsd 0xf0(%rsp), %xmm0
addsd 0xe8(%rsp), %xmm0
movsd %xmm0, 0xf0(%rsp)
leaq 0x68(%r15), %rbp
movq 0x58(%rsp), %rax
incl %eax
movl %eax, 0x15c(%rsp)
movl 0x2e8(%rsp), %eax
leal -0x1(%rax), %eax
movq %rax, 0x1e8(%rsp)
movq $0x0, 0x50(%rsp)
movsd 0x8103(%rip), %xmm0     # 0x3e290
movsd %xmm0, 0xd0(%rsp)
movl $0xffffffff, 0xbc(%rsp) # imm = 0xFFFFFFFF
movsd 0x80cf(%rip), %xmm0     # 0x3e278
movsd %xmm0, 0x38(%rsp)
leaq 0x248(%rsp), %r12
movl $0xffffffff, 0xb4(%rsp) # imm = 0xFFFFFFFF
movl $0xffffffff, 0xb8(%rsp) # imm = 0xFFFFFFFF
movl $0x0, 0x14(%rsp)
movl $0x0, 0x34(%rsp)
movq %rbp, 0x20(%rsp)
movq %rcx, 0x1e0(%rsp)
movq 0x10(%rcx), %rax
movq %rax, 0xf8(%rsp)
movq 0x78(%rax), %rax
movq %rax, 0xa8(%rsp)
cmpl $0x3, 0x60(%r15)
jl 0x36261
movl $0x25, %edx
movq %rbp, %rdi
leaq 0x995d(%rip), %rsi      # 0x3fb75
callq 0x74e0
movq %rbp, %rdi
movq 0x58(%rsp), %rsi
callq 0x7720
movq %rax, %rbx
movl $0xe, %edx
movq %rax, %rdi
leaq 0x995f(%rip), %rsi      # 0x3fb9b
callq 0x74e0
movq %rbx, %rdi
movl 0x14(%rsp), %esi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x9070(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movq 0xa8(%rsp), %rax
cmpl $0x2, 0x8(%rax)
jl 0x3753e
movq $0x0, 0x28(%rsp)
cmpl $0x3, 0x60(%r15)
jl 0x362b8
movl $0x12, %edx
movq %rbp, %rdi
leaq 0x9918(%rip), %rsi      # 0x3fbaa
callq 0x74e0
movq %rbp, %rdi
movq 0x28(%rsp), %rsi
callq 0x7720
movl $0x12, %edx
movq %rax, %rdi
leaq 0x990a(%rip), %rsi      # 0x3fbbd
callq 0x74e0
movq (%rsp), %rax
movq 0x68(%rax), %rax
cmpl $0x2, 0x8(%rax)
jl 0x37515
movq $0x0, 0x8(%rsp)
cmpl $0x3, 0x60(%r15)
jle 0x36333
movl $0x14, %edx
movq %rbp, %rdi
leaq 0x98e7(%rip), %rsi      # 0x3fbd0
callq 0x74e0
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x7720
movq %rax, %rbx
movl $0xb, %edx
movq %rax, %rdi
leaq 0x98a4(%rip), %rsi      # 0x3fbb1
callq 0x74e0
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8f9e(%rip), %rsi      # 0x3f2cc
callq 0x74e0
xorl %ebx, %ebx
movq $0x0, 0x18(%rsp)
cmpl $0x0, 0x64(%r15)
je 0x36376
movq 0xf8(%rsp), %rax
cmpl $0x0, 0x80(%rax)
je 0x36376
movq (%rsp), %rax
movq 0x88(%rax), %rdi
movq 0x8(%rsp), %rsi
movl %ebx, %edx
movl 0x34(%rsp), %ecx
leaq 0x18(%rsp), %r8
callq 0x2542c
incq 0x2a0(%r15)
incq 0x280(%r15)
movq $0x0, 0x108(%rsp)
movq (%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x8(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq 0x28(%rsp), %rcx
movl %ebx, %r8d
leaq 0x108(%rsp), %r9
callq 0x30f16
movzbl %al, %r14d
cmpl $0x4, 0x60(%r15)
movq 0x20(%rsp), %rbp
jl 0x3645c
movl $0x6, %edx
movq %rbp, %rdi
leaq 0x9808(%rip), %rsi      # 0x3fbe5
callq 0x74e0
movq %rbp, %rdi
movl %ebx, %esi
callq 0x7720
movq %rax, %r13
movl $0x7, %edx
movq %rax, %rdi
leaq 0x97ee(%rip), %rsi      # 0x3fbec
callq 0x74e0
movsd 0x108(%rsp), %xmm0
mulsd 0x7dfc(%rip), %xmm0     # 0x3e210
divsd 0x5c04(%rip), %xmm0     # 0x3c020
callq 0x71c0
movq %r13, %rdi
callq 0x7690
movl $0x1b, %edx
movq %rbp, %rdi
leaq 0x97bc(%rip), %rsi      # 0x3fbf4
callq 0x74e0
movq %rbp, %rdi
movl %r14d, %esi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8e75(%rip), %rsi      # 0x3f2cc
callq 0x74e0
testl %r14d, %r14d
je 0x367e2
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x36475
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rax
movq 0x68(%rax), %rdi
movsd 0x108(%rsp), %xmm0
movsd %xmm0, 0xc8(%rsp)
callq 0x28190
movq %rax, 0x50(%rsp)
incq 0x278(%r15)
movq 0x50(%rsp), %rdi
callq 0x2870c
movq 0x50(%rsp), %rdi
callq 0x28f40
movq 0x28(%rsp), %r14
shlq $0x4, %r14
movq 0xa8(%rsp), %rax
movq 0x10(%rax), %rsi
addq %r14, %rsi
movq 0x50(%rsp), %rdi
movq 0x8(%rsp), %rdx
callq 0x27fb4
movq %rax, 0x18(%rsp)
incq 0x270(%r15)
movq %rax, %rdi
callq 0x28f40
movq (%rsp), %rax
movupd (%rax), %xmm0
movapd %xmm0, 0x180(%rsp)
movq 0x68(%rax), %rdi
callq 0x27d5c
movq 0x18(%rsp), %rax
movups 0xb0(%rax), %xmm2
movaps %xmm2, 0x110(%rsp)
movapd %xmm0, 0x40(%rsp)
movsd 0xc8(%rsp), %xmm0
movapd %xmm1, 0x260(%rsp)
callq 0x77a0
movaps %xmm0, 0x1d0(%rsp)
movsd 0xc8(%rsp), %xmm0
callq 0x70f0
movsd 0x180(%rsp), %xmm1
movsd 0x188(%rsp), %xmm2
movapd 0x40(%rsp), %xmm5
subsd %xmm5, %xmm1
movapd 0x260(%rsp), %xmm6
subsd %xmm6, %xmm2
movapd %xmm2, %xmm3
xorpd 0x7b3b(%rip), %xmm3     # 0x3e0c0
movapd %xmm0, %xmm4
movapd 0x1d0(%rsp), %xmm7
unpcklpd %xmm7, %xmm4            # xmm4 = xmm4[0],xmm7[0]
unpcklpd %xmm2, %xmm3            # xmm3 = xmm3[0],xmm2[0]
mulpd %xmm4, %xmm3
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
movapd %xmm7, %xmm2
unpcklpd %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
mulpd %xmm1, %xmm2
addpd %xmm3, %xmm2
movapd %xmm5, %xmm1
unpcklpd %xmm6, %xmm1            # xmm1 = xmm1[0],xmm6[0]
addpd %xmm2, %xmm1
addpd 0x110(%rsp), %xmm1
movapd 0x7b01(%rip), %xmm0     # 0x3e0d0
divpd %xmm0, %xmm1
movapd %xmm1, 0x40(%rsp)
movapd %xmm1, %xmm0
callq 0x71c0
movapd %xmm0, 0x110(%rsp)
movapd 0x40(%rsp), %xmm0
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
callq 0x71c0
movapd 0x110(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
mulpd 0x7ac1(%rip), %xmm1     # 0x3e0d0
movapd %xmm1, 0x180(%rsp)
movq 0x18(%rsp), %r13
movq %r12, %rdi
movq 0xd8(%rsp), %rsi
callq 0x3b844
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
leaq 0x1f0(%rsp), %rcx
leaq 0x180(%rsp), %r8
xorl %r9d, %r9d
callq 0x34868
movl %eax, %r13d
movq 0x248(%rsp), %rdi
cmpq %r12, %rdi
je 0x36673
movq (%rdi), %rbp
movl $0x18, %esi
callq 0x7450
movq %rbp, %rdi
cmpq %r12, %rbp
jne 0x3665e
testl %r13d, %r13d
je 0x36959
cmpl $0x3, 0x60(%r15)
jl 0x3677b
movl $0x12, %edx
movq 0x20(%rsp), %rdi
leaq 0x958d(%rip), %rsi      # 0x3fc25
callq 0x74e0
movq 0x20(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0x7720
movq %rax, %rbp
movl $0x8, %edx
movq %rax, %rdi
leaq 0x9371(%rip), %rsi      # 0x3fa2f
callq 0x74e0
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x7720
movq %rax, %rbp
movl $0xb, %edx
movq %rax, %rdi
leaq 0x94cf(%rip), %rsi      # 0x3fbb1
callq 0x74e0
movq %rbp, %rdi
movq 0x28(%rsp), %rsi
callq 0x7720
movq %rax, %rbp
movl $0xc, %edx
movq %rax, %rdi
leaq 0x9017(%rip), %rsi      # 0x3f71d
callq 0x74e0
movq %rbp, %rdi
movl 0x14(%rsp), %esi
callq 0x7720
movq %rax, %rbp
movl $0xc, %edx
movq %rax, %rdi
leaq 0x903c(%rip), %rsi      # 0x3f765
callq 0x74e0
movq 0xa8(%rsp), %rax
addq 0x10(%rax), %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0x3b894
movq %rax, %r14
movl $0x9, %edx
movq %rax, %rdi
leaq 0x9034(%rip), %rsi      # 0x3f78b
callq 0x74e0
movq %r14, %rdi
movl %r13d, %esi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8b56(%rip), %rsi      # 0x3f2cc
callq 0x74e0
testb $0x10, %r13b
je 0x370ed
movq 0xf8(%rsp), %rax
cmpl $0x0, 0x80(%rax)
je 0x370ed
cmpl $0x0, 0x64(%r15)
je 0x367bf
movq (%rsp), %rax
movq 0x88(%rax), %rdi
movq 0x8(%rsp), %rsi
movl %ebx, %edx
movl 0x34(%rsp), %ecx
xorl %r8d, %r8d
callq 0x2545c
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x367cf
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
movq 0x20(%rsp), %rbp
jmp 0x3710b
cmpl $0x0, 0x64(%r15)
je 0x36818
movq 0xf8(%rsp), %rax
cmpl $0x0, 0x80(%rax)
je 0x36818
movq (%rsp), %rax
movq 0x88(%rax), %rdi
movq 0x8(%rsp), %rsi
movl %ebx, %edx
movl 0x34(%rsp), %ecx
xorl %r8d, %r8d
callq 0x2545c
cmpl $0x3, 0x60(%r15)
jl 0x374e5
movl $0x27, %edx
movq %rbp, %rdi
leaq 0x93de(%rip), %rsi      # 0x3fc10
callq 0x74e0
movq %rbp, %rdi
movq 0x58(%rsp), %rsi
callq 0x7720
movq %rax, %r14
movl $0x8, %edx
movq %rax, %rdi
leaq 0x91d9(%rip), %rsi      # 0x3fa2f
callq 0x74e0
movq %r14, %rdi
movq 0x8(%rsp), %rsi
callq 0x7720
movq %rax, %r14
movl $0xf, %edx
movq %rax, %rdi
leaq 0x9231(%rip), %rsi      # 0x3faab
callq 0x74e0
movsd 0x108(%rsp), %xmm0
movq %r14, %rdi
callq 0x7690
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7d30(%rip), %rsi      # 0x3e5d2
callq 0x74e0
movq %r14, %rdi
movl %ebx, %esi
callq 0x7720
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6835(%rip), %rsi      # 0x3d0f8
callq 0x74e0
movl $0xb, %edx
movq %r14, %rdi
leaq 0x92da(%rip), %rsi      # 0x3fbb1
callq 0x74e0
movq %r14, %rdi
movq 0x28(%rsp), %rsi
callq 0x7720
movq %rax, %r14
movl $0xc, %edx
movq %rax, %rdi
leaq 0x8e22(%rip), %rsi      # 0x3f71d
callq 0x74e0
movq %r14, %rdi
movl 0x14(%rsp), %esi
callq 0x7720
movq %rax, %r14
movl $0xc, %edx
movq %rax, %rdi
leaq 0x8e47(%rip), %rsi      # 0x3f765
callq 0x74e0
movq 0x28(%rsp), %rsi
shlq $0x4, %rsi
movq 0xa8(%rsp), %rax
addq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x3b894
movl $0x18, %edx
movq %rax, %rdi
leaq 0x8e23(%rip), %rsi      # 0x3f772
callq 0x74e0
jmp 0x374e5
movq 0xf8(%rsp), %rax
cmpl $0x0, 0x80(%rax)
sete %al
cmpl $0x0, 0x64(%r15)
sete %cl
orb %al, %cl
movb %cl, 0x1d0(%rsp)
jne 0x3699e
movq (%rsp), %rax
movq 0x88(%rax), %rdi
movq 0x18(%rsp), %r8
movq 0x8(%rsp), %rsi
movl %ebx, %edx
movl 0x34(%rsp), %ecx
callq 0x2545c
movq 0x18(%rsp), %rsi
addq $0x10, %rsi
leaq 0x60(%rsp), %r13
movq %r13, %rdi
callq 0x259ac
leaq 0x140(%rsp), %rdi
leaq 0x80(%rsp), %rsi
movq %r13, %rdx
callq 0x257db
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x369e3
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
leaq 0x140(%rsp), %rdi
callq 0x2589b
movsd %xmm0, 0x40(%rsp)
movq 0x20(%rsp), %rbp
movsd 0x40(%rsp), %xmm0
movsd %xmm0, 0x100(%rsp)
cmpl $0x2, 0x60(%r15)
jl 0x36ae4
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x8f43(%rip), %rsi      # 0x3f967
callq 0x74e0
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x7720
movq %rax, %r13
movl $0x4, %edx
movq %rax, %rdi
leaq 0x8d4d(%rip), %rsi      # 0x3f795
callq 0x74e0
movq %r13, %rdi
movq 0x28(%rsp), %rsi
callq 0x7720
movq %rax, %r13
movl $0xc, %edx
movq %rax, %rdi
leaq 0x8d2e(%rip), %rsi      # 0x3f79a
callq 0x74e0
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x7720
movq %rax, %r13
movl $0xb, %edx
movq %rax, %rdi
leaq 0x8d18(%rip), %rsi      # 0x3f7a7
callq 0x74e0
movq %r13, %rdi
movsd 0x40(%rsp), %xmm0
callq 0x7690
movq %rax, %r13
movl $0xd, %edx
movq %rax, %rdi
leaq 0x8d06(%rip), %rsi      # 0x3f7ba
callq 0x74e0
movsd 0x40(%rsp), %xmm0
subsd 0xf0(%rsp), %xmm0
movq %r13, %rdi
callq 0x7690
movl $0x1, %edx
movq %rax, %rdi
leaq 0x87ed(%rip), %rsi      # 0x3f2cc
callq 0x74e0
leaq 0x128(%rsp), %rdi
movq 0xa0(%rsp), %rsi
callq 0x3b844
leaq 0x190(%rsp), %rdi
movq 0xd8(%rsp), %rsi
callq 0x3b844
movl $0x18, %edi
callq 0x7440
movq (%rsp), %r13
movq %r13, 0x10(%rax)
movq %rax, %rdi
leaq 0x190(%rsp), %rsi
callq 0x7080
incq 0x1a0(%rsp)
movq 0x78(%r13), %rdi
testq %rdi, %rdi
je 0x36b47
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rax
movq 0x70(%rax), %rdi
testq %rdi, %rdi
je 0x36b5a
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rax
movups 0xb0(%rax), %xmm0
movaps %xmm0, 0x230(%rsp)
movq (%rsp), %r13
movq 0x68(%r13), %rdi
movsd 0xc8(%rsp), %xmm0
leaq 0x230(%rsp), %rsi
callq 0x2844e
movq %rax, 0x78(%r13)
movq %rax, %rdi
callq 0x2870c
movq 0x78(%r13), %rdi
callq 0x28f40
movq 0x68(%r13), %rdi
callq 0x266bc
movsd %xmm0, 0x110(%rsp)
movq (%rsp), %rax
movq 0x78(%rax), %rsi
addq $0x10, %rsi
leaq 0x218(%rsp), %r13
movq %r13, %rdi
callq 0x259ac
leaq 0x60(%rsp), %rdi
leaq 0x80(%rsp), %rsi
movq %r13, %rdx
callq 0x257db
movq 0x160(%rsp), %rdi
movq 0x170(%rsp), %rsi
movapd 0x60(%rsp), %xmm0
movapd %xmm0, 0x160(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x170(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
testq %rdi, %rdi
je 0x36c47
subq %rdi, %rsi
callq 0x7450
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x36c47
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movq 0x218(%rsp), %rdi
testq %rdi, %rdi
je 0x36c64
movq 0x228(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movl $0xc0, %edi
callq 0x7440
movq %rax, %r13
movq %rax, %rdi
leaq 0x160(%rsp), %rsi
callq 0x26340
movq (%rsp), %rax
movq %r13, 0x70(%rax)
movq %r13, %rdi
callq 0x27c0a
cmpl $0x2, 0x60(%r15)
movq 0x128(%rsp), %rax
jl 0x36db3
leaq 0x128(%rsp), %rcx
cmpq %rcx, %rax
sete %cl
movsd 0x40(%rsp), %xmm0
ucomisd 0xc0(%rsp), %xmm0
setb %dl
orb %cl, %dl
jne 0x36d35
movl $0xe, %edx
movq %rbp, %rdi
leaq 0x8f61(%rip), %rsi      # 0x3fc38
callq 0x74e0
movq %rbp, %rdi
movsd 0x40(%rsp), %xmm0
callq 0x7690
movq %rax, %r13
movl $0x21, %edx
movq %rax, %rdi
leaq 0x8adc(%rip), %rsi      # 0x3f7d8
callq 0x74e0
movq %r13, %rdi
movsd 0xc0(%rsp), %xmm0
callq 0x7690
movl $0x2c, %edx
movq %rax, %rdi
leaq 0x8ad9(%rip), %rsi      # 0x3f7fa
callq 0x74e0
movq 0x128(%rsp), %rax
cmpl $0x2, 0x60(%r15)
jl 0x36db3
leaq 0x128(%rsp), %rcx
cmpq %rcx, %rax
je 0x36db3
movsd 0x40(%rsp), %xmm0
ucomisd 0x38(%rsp), %xmm0
jb 0x36db3
movl $0xe, %edx
movq %rbp, %rdi
leaq 0x8ed9(%rip), %rsi      # 0x3fc38
callq 0x74e0
movq %rbp, %rdi
movsd 0x40(%rsp), %xmm0
callq 0x7690
movq %rax, %r13
movl $0x23, %edx
movq %rax, %rdi
leaq 0x8aa3(%rip), %rsi      # 0x3f827
callq 0x74e0
movq %r13, %rdi
movsd 0x38(%rsp), %xmm0
callq 0x7690
movl $0x2c, %edx
movq %rax, %rdi
leaq 0x8a54(%rip), %rsi      # 0x3f7fa
callq 0x74e0
movq 0x128(%rsp), %rax
leaq 0x128(%rsp), %rcx
cmpq %rcx, %rax
je 0x37126
movsd 0xc0(%rsp), %xmm0
ucomisd 0x40(%rsp), %xmm0
jb 0x37126
movsd 0x38(%rsp), %xmm0
ucomisd 0x40(%rsp), %xmm0
jb 0x37126
movsd 0x110(%rsp), %xmm0
addsd 0xe8(%rsp), %xmm0
movsd %xmm0, 0x110(%rsp)
cmpl $0x2, 0x60(%r15)
jl 0x36f56
movl $0x21, %edx
movq %rbp, %rdi
leaq 0x8a2b(%rip), %rsi      # 0x3f84b
callq 0x74e0
movq %rbp, %rdi
leaq 0x230(%rsp), %rsi
callq 0x3b894
movq %rax, %r13
movl $0xc, %edx
movq %rax, %rdi
leaq 0x8bcf(%rip), %rsi      # 0x3fa16
callq 0x74e0
movq %r13, %rdi
movq 0x58(%rsp), %rsi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8464(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movl $0x10, %edx
movq %rbp, %rdi
leaq 0x89f1(%rip), %rsi      # 0x3f86d
callq 0x74e0
movq 0x88(%rsp), %rsi
subq 0x80(%rsp), %rsi
sarq $0x4, %rsi
movq %rbp, %rdi
callq 0x7300
movq %rax, %r13
movl $0x10, %edx
movq %rax, %rdi
leaq 0x89cf(%rip), %rsi      # 0x3f87e
callq 0x74e0
leaq 0x80(%rsp), %rdi
callq 0x2589b
movq %r13, %rdi
callq 0x7690
movq %rax, %r13
movl $0x14, %edx
movq %rax, %rdi
leaq 0x89b4(%rip), %rsi      # 0x3f88f
callq 0x74e0
movq %r13, %rdi
movsd 0x110(%rsp), %xmm0
callq 0x7690
movl $0x1, %edx
movq %rax, %rdi
leaq 0x83cc(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movl $0x18, %edx
movq %rbp, %rdi
leaq 0x8990(%rip), %rsi      # 0x3f8a4
callq 0x74e0
movq (%rsp), %rax
movq 0x70(%rax), %rdi
callq 0x266bc
movq %rbp, %rdi
callq 0x7690
movl $0x1, %edx
movq %rax, %rdi
leaq 0x838f(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movl $0x24, %edx
movq %rbp, %rdi
leaq 0x896c(%rip), %rsi      # 0x3f8bd
callq 0x74e0
leaq 0x60(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x2591e
movupd 0x60(%rsp), %xmm0
movupd 0x70(%rsp), %xmm1
movapd %xmm1, 0x200(%rsp)
movapd %xmm0, 0x1f0(%rsp)
movq (%rsp), %rax
movq 0x70(%rax), %r13
leaq 0x1a8(%rsp), %rdi
leaq 0x190(%rsp), %rsi
callq 0x3b844
leaq 0x278(%rsp), %r12
movq %r12, %rdi
leaq 0x128(%rsp), %rsi
callq 0x3b844
movq %r15, %rdi
movq %r13, %rsi
leaq 0x1a8(%rsp), %rdx
movq %r12, %rcx
movsd 0x110(%rsp), %xmm0
leaq 0x100(%rsp), %r8
movsd 0x38(%rsp), %xmm1
movl 0x15c(%rsp), %r9d
pushq 0x1e8(%rsp)
movl 0x2e8(%rsp), %eax
pushq %rax
callq 0x35d48
addq $0x10, %rsp
movq %rax, %r13
movq 0x278(%rsp), %rdi
cmpq %r12, %rdi
je 0x37028
movq (%rdi), %rbp
movl $0x18, %esi
callq 0x7450
movq %rbp, %rdi
cmpq %r12, %rbp
jne 0x37013
movq 0x1a8(%rsp), %rdi
leaq 0x1a8(%rsp), %r12
cmpq %r12, %rdi
je 0x37052
movq (%rdi), %rbp
movl $0x18, %esi
callq 0x7450
movq %rbp, %rdi
cmpq %r12, %rbp
jne 0x3703d
testq %r13, %r13
jne 0x3706e
movsd 0x38(%rsp), %xmm0
addsd 0x4fb3(%rip), %xmm0     # 0x3c018
movsd %xmm0, 0x100(%rsp)
cmpl $0x1, 0x60(%r15)
movq 0x20(%rsp), %rbp
leaq 0x248(%rsp), %r12
jle 0x37117
movl $0x1b, %edx
movq %rbp, %rdi
leaq 0x884d(%rip), %rsi      # 0x3f8e2
callq 0x74e0
movq %rbp, %rdi
movl 0x2e8(%rsp), %esi
callq 0x7720
movq %rax, %r13
movl $0xb, %edx
movq %rax, %rdi
leaq 0x8843(%rip), %rsi      # 0x3f8fe
callq 0x74e0
movsd 0x100(%rsp), %xmm0
movq %r13, %rdi
movsd %xmm0, 0x40(%rsp)
callq 0x7690
movl $0x1, %edx
movq %rax, %rdi
leaq 0x81e6(%rip), %rsi      # 0x3f2cc
callq 0x74e0
jmp 0x37126
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
movq 0x20(%rsp), %rbp
je 0x3710b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
incq 0x298(%r15)
jmp 0x374e5
movsd 0x100(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
movsd 0x38(%rsp), %xmm0
ucomisd 0x40(%rsp), %xmm0
jbe 0x373c0
movq 0x18(%rsp), %rax
movupd 0xb0(%rax), %xmm0
movapd %xmm0, 0x1c0(%rsp)
cmpl $0x2, 0x60(%r15)
jl 0x3737f
movl $0x1f, %edx
movq %rbp, %rdi
leaq 0x8adf(%rip), %rsi      # 0x3fc47
callq 0x74e0
movq %rbp, %rdi
movq 0x58(%rsp), %rsi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x8143(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x87ca(%rip), %rsi      # 0x3f967
callq 0x74e0
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x7720
movq %rax, %r13
movl $0xb, %edx
movq %rax, %rdi
leaq 0x89f0(%rip), %rsi      # 0x3fbb1
callq 0x74e0
movq %r13, %rdi
movq 0x28(%rsp), %rsi
callq 0x7720
movq %rax, %r13
movl $0xc, %edx
movq %rax, %rdi
leaq 0x85b5(%rip), %rsi      # 0x3f79a
callq 0x74e0
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x80c7(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movl $0xa, %edx
movq %rbp, %rdi
leaq 0x875d(%rip), %rsi      # 0x3f976
callq 0x74e0
movsd 0xc8(%rsp), %xmm0
mulsd 0x6fe1(%rip), %xmm0     # 0x3e210
divsd 0x4de9(%rip), %xmm0     # 0x3c020
callq 0x71c0
movq %rbp, %rdi
callq 0x7690
movq %rax, %r13
movl $0xd, %edx
movq %rax, %rdi
leaq 0x872b(%rip), %rsi      # 0x3f981
callq 0x74e0
movq %r13, %rdi
leaq 0x1c0(%rsp), %rsi
callq 0x3b894
movq %rax, %r13
movl $0x6, %edx
movq %rax, %rdi
leaq 0x8712(%rip), %rsi      # 0x3f98f
callq 0x74e0
movq 0x8(%rsp), %rsi
shlq $0x4, %rsi
movq 0x50(%rsp), %rax
addq 0x10(%rax), %rsi
movq %r13, %rdi
callq 0x3b894
movq %rax, %r13
movl $0x4, %edx
movq %rax, %rdi
leaq 0x8052(%rip), %rsi      # 0x3f300
callq 0x74e0
movq 0xa8(%rsp), %rax
addq 0x10(%rax), %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0x3b894
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7ff3(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movl $0xc, %edx
movq %rbp, %rdi
leaq 0x86ad(%rip), %rsi      # 0x3f99a
callq 0x74e0
movq %rbp, %rdi
movsd 0x40(%rsp), %xmm0
callq 0x7690
movq %rax, %r14
movl $0xe, %edx
movq %rax, %rdi
leaq 0x869d(%rip), %rsi      # 0x3f9af
callq 0x74e0
movq %r14, %rdi
movsd 0xf0(%rsp), %xmm0
callq 0x7690
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7f95(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movsd 0xc8(%rsp), %xmm0
movsd %xmm0, 0xd0(%rsp)
movl 0x14(%rsp), %eax
movl %eax, 0xb8(%rsp)
movq 0x8(%rsp), %rax
movl %eax, 0xb4(%rsp)
movq 0x28(%rsp), %rax
movl %eax, 0xbc(%rsp)
movsd 0x40(%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
jmp 0x373c0
movsd 0xc8(%rsp), %xmm0
movsd %xmm0, 0xd0(%rsp)
movl 0x14(%rsp), %eax
movl %eax, 0xb8(%rsp)
movq 0x8(%rsp), %rax
movl %eax, 0xb4(%rsp)
movq 0x28(%rsp), %rax
movl %eax, 0xbc(%rsp)
movsd 0x40(%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
cmpb $0x0, 0x1d0(%rsp)
je 0x37474
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x373de
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x50(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jne 0x37474
movl $0x8, %edx
movq 0x19be7(%rip), %rdi     # 0x50fe0
leaq 0x832a(%rip), %rsi      # 0x3f72a
callq 0x74e0
movq 0x19bd4(%rip), %rdi     # 0x50fe0
movq 0x50(%rsp), %rsi
callq 0x7360
movq %rax, %r14
movl $0x22, %edx
movq %rax, %rdi
leaq 0x830b(%rip), %rsi      # 0x3f733
callq 0x74e0
movq %r14, %rdi
movl 0x2e8(%rsp), %esi
callq 0x7720
movq %rax, %r14
movl $0xe, %edx
movq %rax, %rdi
leaq 0x8308(%rip), %rsi      # 0x3f756
callq 0x74e0
movq %r14, %rdi
movq 0x58(%rsp), %rsi
callq 0x7720
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7e5d(%rip), %rsi      # 0x3f2cc
callq 0x74e0
movq 0x190(%rsp), %rdi
leaq 0x190(%rsp), %r13
cmpq %r13, %rdi
je 0x3749e
movq (%rdi), %r14
movl $0x18, %esi
callq 0x7450
movq %r14, %rdi
cmpq %r13, %r14
jne 0x37489
movq 0x128(%rsp), %rdi
leaq 0x128(%rsp), %r13
cmpq %r13, %rdi
je 0x374c8
movq (%rdi), %r14
movl $0x18, %esi
callq 0x7450
movq %r14, %rdi
cmpq %r13, %r14
jne 0x374b3
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x374e5
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
incl %ebx
cmpl $0x4, %ebx
jne 0x36335
movq 0x8(%rsp), %rdx
incq %rdx
movq (%rsp), %rax
movq 0x68(%rax), %rax
movslq 0x8(%rax), %rax
decq %rax
movq %rdx, 0x8(%rsp)
cmpq %rax, %rdx
jl 0x362d3
incl 0x34(%rsp)
movq 0x28(%rsp), %rdx
incq %rdx
movq 0xa8(%rsp), %rax
movslq 0x8(%rax), %rax
decq %rax
movq %rdx, 0x28(%rsp)
cmpq %rax, %rdx
jl 0x3627c
incl 0x14(%rsp)
movq 0x1e0(%rsp), %rcx
movq (%rcx), %rcx
cmpq 0xd8(%rsp), %rcx
jne 0x361e2
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x3756b
movq (%rdi), %rax
callq *0x8(%rax)
movsd 0x6d25(%rip), %xmm0     # 0x3e298
ucomisd 0xd0(%rsp), %xmm0
jbe 0x375ee
movabsq $0x4a511b0ec57e649a, %rax # imm = 0x4A511B0EC57E649A
movq 0xe0(%rsp), %rcx
movq %rax, (%rcx)
movq $0x0, (%rsp)
movq 0x160(%rsp), %rdi
testq %rdi, %rdi
je 0x375b8
movq 0x170(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
movq (%rsp), %rbx
je 0x375d9
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movq %rbx, %rax
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movsd 0x38(%rsp), %xmm0
ucomisd 0xc0(%rsp), %xmm0
jbe 0x37676
movq 0xe0(%rsp), %rax
movsd %xmm0, (%rax)
cmpl $0x2, 0x60(%r15)
jl 0x3759b
leaq 0x83a5(%rip), %rsi      # 0x3f9be
movl $0x6, %edx
movq %rbp, %rdi
callq 0x74e0
movq %rbp, %rdi
movl 0x2e8(%rsp), %esi
callq 0x7720
movq %rax, %rbx
leaq 0x8386(%rip), %rsi      # 0x3f9c5
movl $0x15, %edx
movq %rax, %rdi
callq 0x74e0
movq %rbx, %rdi
movsd 0xc0(%rsp), %xmm0
callq 0x7690
leaq 0x8377(%rip), %rsi      # 0x3f9db
movl $0x1e, %edx
movq %rax, %rdi
callq 0x74e0
jmp 0x3759b
movq (%rsp), %rax
movq 0x78(%rax), %rdi
testq %rdi, %rdi
je 0x37689
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rax
movq 0x70(%rax), %rdi
testq %rdi, %rdi
je 0x3769c
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rax
movq 0x68(%rax), %rdi
leaq 0x1c0(%rsp), %rsi
movsd 0xd0(%rsp), %xmm0
callq 0x2844e
movq (%rsp), %rcx
movq %rax, 0x78(%rcx)
movq %rax, %rdi
callq 0x2870c
movq (%rsp), %rax
movq 0x78(%rax), %rdi
callq 0x28f40
movq (%rsp), %rax
movq 0x78(%rax), %rdi
callq 0x266bc
movsd %xmm0, 0x8(%rsp)
movq (%rsp), %rax
movq 0x78(%rax), %rsi
addq $0x10, %rsi
leaq 0x140(%rsp), %rdi
callq 0x259ac
leaq 0x60(%rsp), %rdi
leaq 0x80(%rsp), %rsi
leaq 0x140(%rsp), %rdx
callq 0x257db
movq 0x80(%rsp), %rdi
movq 0x90(%rsp), %rsi
movapd 0x60(%rsp), %xmm0
movapd %xmm0, 0x80(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x90(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
testq %rdi, %rdi
je 0x37780
subq %rdi, %rsi
callq 0x7450
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x37780
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x3779d
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movl $0xc0, %edi
callq 0x7440
movq %rax, %r14
leaq 0x80(%rsp), %rsi
movq %rax, %rdi
callq 0x26340
movq (%rsp), %rax
movq %r14, 0x70(%rax)
movq %r14, %rdi
callq 0x27c0a
movq (%rsp), %rax
movq 0x70(%rax), %rdi
callq 0x27d5c
movq 0xe0(%rsp), %rax
movsd 0x38(%rsp), %xmm0
movsd %xmm0, (%rax)
cmpl $0x0, 0x60(%r15)
jle 0x3759b
leaq 0x81c3(%rip), %rsi      # 0x3f9be
movl $0x6, %edx
movq %rbp, %rdi
callq 0x74e0
movq %rbp, %rdi
movl 0x2e8(%rsp), %esi
callq 0x7720
movq %rax, %rbx
leaq 0x81d9(%rip), %rsi      # 0x3f9fa
movl $0x17, %edx
movq %rax, %rdi
callq 0x74e0
leaq 0x1c0(%rsp), %rsi
movq %rbx, %rdi
callq 0x3b894
movq %rax, %rbx
leaq 0x81ca(%rip), %rsi      # 0x3fa12
movl $0x1, %edx
movq %rax, %rdi
callq 0x74e0
movsd 0xd0(%rsp), %xmm0
mulsd 0x69aa(%rip), %xmm0     # 0x3e210
divsd 0x47b2(%rip), %xmm0     # 0x3c020
callq 0x71c0
movq %rbx, %rdi
callq 0x7690
movq %rax, %rbx
leaq 0x818f(%rip), %rsi      # 0x3fa14
movl $0xe, %edx
movq %rax, %rdi
callq 0x74e0
movq %rbx, %rdi
movq 0x58(%rsp), %rsi
callq 0x7720
movq %rax, %rbx
leaq 0x817b(%rip), %rsi      # 0x3fa24
movl $0x13, %edx
movq %rax, %rdi
callq 0x74e0
movq %rbx, %rdi
movl 0xb4(%rsp), %esi
callq 0x7720
movq %rax, %rbx
leaq 0x82e2(%rip), %rsi      # 0x3fbb1
movl $0xb, %edx
movq %rax, %rdi
callq 0x74e0
movq %rbx, %rdi
movl 0xbc(%rsp), %esi
callq 0x7720
movq %rax, %rbx
leaq 0x7ea5(%rip), %rsi      # 0x3f79a
movl $0xc, %edx
movq %rax, %rdi
callq 0x74e0
movq %rbx, %rdi
movl 0xb8(%rsp), %esi
callq 0x7720
leaq 0x79b4(%rip), %rsi      # 0x3f2cc
movl $0x1, %edx
movq %rax, %rdi
callq 0x74e0
leaq 0x7f41(%rip), %rsi      # 0x3f86d
movl $0x10, %edx
movq %rbp, %rdi
callq 0x74e0
movq 0x88(%rsp), %rsi
subq 0x80(%rsp), %rsi
sarq $0x4, %rsi
movq %rbp, %rdi
callq 0x7300
movq %rax, %rbx
leaq 0x7f1f(%rip), %rsi      # 0x3f87e
movl $0x10, %edx
movq %rax, %rdi
callq 0x74e0
leaq 0x80(%rsp), %rdi
callq 0x2589b
movq %rbx, %rdi
callq 0x7690
movq %rax, %rbx
leaq 0x7f04(%rip), %rsi      # 0x3f88f
movl $0x14, %edx
movq %rax, %rdi
callq 0x74e0
movsd 0x8(%rsp), %xmm0
addsd 0xe8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x7690
leaq 0x7916(%rip), %rsi      # 0x3f2cc
movl $0x1, %edx
movq %rax, %rdi
callq 0x74e0
leaq 0x7eda(%rip), %rsi      # 0x3f8a4
movl $0x18, %edx
movq %rbp, %rdi
callq 0x74e0
movq (%rsp), %rax
movq 0x70(%rax), %rdi
callq 0x266bc
movq %rbp, %rdi
callq 0x7690
movq %rax, %rbx
leaq 0x8042(%rip), %rsi      # 0x3fa38
movl $0x7, %edx
movq %rax, %rdi
callq 0x74e0
movq 0xe0(%rsp), %rax
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x7690
leaq 0x78ae(%rip), %rsi      # 0x3f2cc
movl $0x1, %edx
movq %rax, %rdi
callq 0x74e0
leaq 0x800e(%rip), %rsi      # 0x3fa40
movl $0x13, %edx
movq %rbp, %rdi
callq 0x74e0
movq 0xa0(%rsp), %rax
movq 0x10(%rax), %rsi
movq %rbp, %rdi
callq 0x7300
leaq 0x7872(%rip), %rsi      # 0x3f2cc
movl $0x1, %edx
movq %rax, %rdi
callq 0x74e0
movq 0xa0(%rsp), %rax
movq (%rax), %rbx
cmpq %rax, %rbx
je 0x3759b
movl $0x1, %ebp
leaq 0x7fe6(%rip), %r14      # 0x3fa6d
leaq 0x7fe5(%rip), %r15      # 0x3fa73
movq 0x10(%rbx), %r13
cmpq $0x0, 0x78(%r13)
je 0x37b64
movl $0x9, %edx
movq 0x20(%rsp), %rdi
leaq 0x7fa6(%rip), %rsi      # 0x3fa54
callq 0x74e0
movq 0x20(%rsp), %rdi
movl %ebp, %esi
callq 0x7720
movq %rax, %r12
movl $0xe, %edx
movq %rax, %rdi
leaq 0x7f8d(%rip), %rsi      # 0x3fa5e
callq 0x74e0
movq 0x78(%r13), %rax
movupd 0xb0(%rax), %xmm0
movapd %xmm0, 0x60(%rsp)
movq %r12, %rdi
leaq 0x60(%rsp), %rsi
callq 0x3b894
movq %rax, %r12
movl $0x5, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x74e0
movq 0x78(%r13), %rax
movsd 0xa8(%rax), %xmm0
mulsd 0x66f4(%rip), %xmm0     # 0x3e210
divsd 0x44fc(%rip), %xmm0     # 0x3c020
callq 0x71c0
movq %r12, %rdi
callq 0x7690
movl $0xb, %edx
movq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x74e0
movq 0x70(%r13), %rdi
callq 0x266bc
movq 0x20(%rsp), %rdi
callq 0x7690
movl $0x1, %edx
leaq 0x776a(%rip), %rsi      # 0x3f2cc
jmp 0x37b92
movl $0x8, %edx
movq 0x20(%rsp), %rdi
leaq 0x7ee0(%rip), %rsi      # 0x3fa55
callq 0x74e0
movq 0x20(%rsp), %rdi
movl %ebp, %esi
callq 0x7720
movl $0xb, %edx
leaq 0x80d5(%rip), %rsi      # 0x3fc67
movq %rax, %rdi
callq 0x74e0
incl %ebp
movq (%rbx), %rbx
cmpq 0xa0(%rsp), %rbx
jne 0x37a8e
jmp 0x3759b
movq %rax, %rbx
movl $0xc0, %esi
jmp 0x37bce
jmp 0x37d15
jmp 0x37da2
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
jmp 0x37d99
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37da2
jmp 0x37d1a
movq %rax, %rbx
jmp 0x37c2c
movq %rax, %rbx
movq 0x278(%rsp), %rdi
cmpq %r12, %rdi
jne 0x37c36
leaq 0x1a8(%rsp), %r15
jmp 0x37c53
leaq 0x1a8(%rsp), %r15
movq (%rdi), %r14
movl $0x18, %esi
callq 0x7450
movq %r14, %rdi
cmpq %r12, %r14
jne 0x37c3e
movq 0x1a8(%rsp), %rdi
cmpq %r15, %rdi
je 0x37d1d
movq (%rdi), %r14
movl $0x18, %esi
callq 0x7450
movq %r14, %rdi
cmpq %r15, %r14
jne 0x37c64
jmp 0x37d1d
jmp 0x37da2
jmp 0x37d1a
movq %rax, %rbx
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x37da5
movq 0x70(%rsp), %rsi
jmp 0x37d96
movq %rax, %rbx
movq 0x218(%rsp), %rdi
testq %rdi, %rdi
je 0x37d1d
movq 0x228(%rsp), %rsi
subq %rdi, %rsi
jmp 0x37cdc
jmp 0x37da2
movq %rax, %rbx
jmp 0x37d4f
jmp 0x37d1a
jmp 0x37d15
movq %rax, %rbx
movl $0xc0, %esi
movq %r13, %rdi
callq 0x7450
jmp 0x37d1d
jmp 0x37d1a
movq %rax, %rbx
movq 0x248(%rsp), %rdi
cmpq %r12, %rdi
je 0x37da5
movq (%rdi), %r14
movl $0x18, %esi
callq 0x7450
movq %r14, %rdi
cmpq %r12, %r14
jne 0x37cf9
jmp 0x37da5
jmp 0x37d1a
movq %rax, %rbx
jmp 0x37d81
movq %rax, %rbx
movq 0x190(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x37d4f
leaq 0x190(%rsp), %r15
movq (%rdi), %r14
movl $0x18, %esi
callq 0x7450
movq %r14, %rdi
cmpq %r15, %r14
jne 0x37d3a
movq 0x128(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x37d81
leaq 0x128(%rsp), %r15
movq (%rdi), %r14
movl $0x18, %esi
callq 0x7450
movq %r14, %rdi
cmpq %r15, %r14
jne 0x37d6c
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x37da5
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
jmp 0x37da5
jmp 0x37da2
movq %rax, %rbx
movq 0x160(%rsp), %rdi
testq %rdi, %rdi
je 0x37dc2
movq 0x170(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x37ddf
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x7450
movq %rbx, %rdi
callq 0x7740