// File: /workspace/github_cpp_makefile_star2_O1/wrighteagle2d[P]wrighteaglebase/Debug/../src/WorldState.cpp
// Function: WorldStateUpdater::UpdateSpecificPlayer(PlayerObserver const&, int, bool)
void WorldStateUpdater::UpdateSpecificPlayer(const PlayerObserver &player,
                                             Unum unum, bool is_teammate) {
  //根据底层的parser类的信息
  //更新的有：位置，速度，身体角度，头部角度，手指向，是否铲球
  //原则是：只有结果是最新时才更新

  if (is_teammate) {
    Teammate(unum).SetIsAlive(true);
    Teammate(unum).UpdateGuessedTimes(0);
    //位置更新
    if (player.GetDir().time() == mpObserver->LatestSightTime()) {
      Vector vec = Polar2Vector(
          PlayerParam::instance().ConvertSightDist(player.Dist()),
          GetNeckGlobalDirFromSightDelay(mSightDelay) + player.Dir());
      vec = GetSelf().GetPos() + vec;
      Teammate(unum).UpdatePos(vec, mSightDelay, mPlayerConf);

      double eps = PlayerParam::instance().GetEpsInSight(player.Dist()) +
                   SelfState().GetPosEps();
      Teammate(unum).UpdatePosEps(eps);
    }

    //速度更新
    if (player.GetDirChg().time() == mpObserver->LatestSightTime()) {
      //公式：relPos = polar2vector(1.0, ballAngle)
      Vector vec = Polar2Vector(1.0, player.Dir());
      double distChg = player.DistChg();
      double dirChg = player.DirChg();
      double dist = player.Dist();
      //计算公式见USTC_Material 第七章
      //公式：relVel = (distChg * relPos.x() - (dirChg * PI / 180 * ballDist *
      //relPos.y()),distChg * rpos.y() + (dirChg * PI / 180 * ballDist *
      //relPos.x())
      Vector relvel =
          Vector(distChg * vec.X() - (dirChg * M_PI / 180 * dist * vec.Y()),
                 distChg * vec.Y() + (dirChg * M_PI / 180 * dist * vec.X()));
      //公式：ballVel = playerVel() + relVel.rotate(neckGlobalAngle)
      relvel = GetSelfVelFromSightDelay(mSightDelay) +
               relvel.Rotate(GetNeckGlobalDirFromSightDelay(mSightDelay));
      Teammate(unum).UpdateVel(relvel, mSightDelay, mPlayerConf);
    } else if (player.GetDir().time() ==
               mpObserver->LatestSightTime()) //只看到位置但是看不到速度的情况
    {
      //	if (player.Dist() < ServerParam::instance().visibleDistance() *
      //2)

      if (mpWorldState->GetHistory(1 + mSightDelay)) {
        int delay = mpWorldState->GetHistory(1 + mSightDelay)
                        ->Teammate(unum)
                        .GetPosDelay();
        if (delay < HistoryState::HISTORY_SIZE - 1 - mSightDelay) {
          Vector vel = Teammate(unum).GetPos() -
                       mpWorldState->GetHistory(1 + mSightDelay + delay)
                           ->Teammate(unum)
                           .GetPos();
          vel /= (delay + 1);

          // use  speed of self sense instead of pos of self sight to reduce the
          // error
          Vector self_vel = GetSelfVelFromSightDelay(mSightDelay);
          if (mpObserver->Sense().IsCollideWithBall() ||
              mpObserver->Sense().IsCollideWithPlayer() ||
              mpObserver->Sense().IsCollideWithPost()) {
            self_vel /= -0.1;
          }
          self_vel /= PlayerParam::instance()
                          .HeteroPlayer(SelfState().GetPlayerType())
                          .playerDecay();
          Vector self_vel_pos =
              SelfState().GetPos() - mpWorldState->GetHistory(1 + mSightDelay)
                                         ->Teammate(GetSelfUnum())
                                         .GetPos();
          vel += self_vel - self_vel_pos;

          double max_speed =
              PlayerParam::instance()
                  .HeteroPlayer(mpObserver->GetTeammateType(unum))
                  .effectiveSpeedMax();
          //根据速度大致猜测朝向 有视觉时会覆盖
          if (vel.Mod() > max_speed *
                              mpWorldState->GetTeammate(unum).GetPlayerDecay() *
                              0.8 &&
              GetTeammate(unum).IsBodyDirMayChanged()) {
            //					Logger::instance().GetTextLogger("bodydir") <<
            //mpWorldState->CurrentTime().T() << "\t" <<
            //mpWorldState->CurrentTime().S() << "\t" << unum << "\t" <<
            //vel.Dir() << "\t" << Teammate(unum).GetBodyDir() << "\n";
            Teammate(unum).UpdateBodyDir(vel.Dir(),
                                         GetTeammate(unum).GetBodyDirDelay(),
                                         GetTeammate(unum).GetBodyDirConf());
            //					Teammate(unum).UpdateBodyDirMayChanged(false);
          } else if (vel.Mod() <=
                     max_speed *
                         mpWorldState->GetTeammate(unum).GetPlayerDecay()) {
            Teammate(unum).UpdateBodyDirMayChanged(true);
          }

          //				Logger::instance().GetTextLogger("bodydir") <<
          //mpWorldState->CurrentTime().T() << "\t" <<
          //mpWorldState->CurrentTime().S() << "\t" << unum << "\t" <<
          //Teammate(unum).GetBodyDir() << "\n";
          if (vel.Mod() > max_speed) {
            vel = Polar2Vector(max_speed, vel.Dir());
          }

          vel *= PlayerParam::instance()
                     .HeteroPlayer(mpObserver->GetTeammateType(unum))
                     .playerDecay();

          Teammate(unum).UpdateVel(vel, mSightDelay, mPlayerConf);
        }
      }
    }

    //身体角度
    if (player.GetBodyDir().time() == mpObserver->LatestSightTime()) {
      AngleDeg angle = player.BodyDir();
      angle = angle + GetNeckGlobalDirFromSightDelay(mSightDelay);
      Teammate(unum).UpdateBodyDir(angle, mSightDelay, mPlayerConf);
      Teammate(unum).UpdateBodyDirMayChanged(false);
    }

    //头部角度
    if (player.GetHeadDir().time() == mpObserver->LatestSightTime()) {
      AngleDeg angle = player.HeadDir() - player.BodyDir();
      Teammate(unum).UpdateNeckDir(angle, mSightDelay, mPlayerConf);
    }

    //手指向
    if (player.GetIsPointing().time() == mpObserver->LatestSightTime()) {
      if (player.IsPointing()) {
        Teammate(unum).UpdateArmPoint(
            player.PointDir() + GetNeckGlobalDirFromSightDelay(mSightDelay),
            mSightDelay, mPlayerConf);
        Teammate(unum).SetIsPointing(true);
      } else {
        Teammate(unum).SetIsPointing(false);
      }
    }

    //是否铲球
    if (player.GetIsTackling().time() == mpObserver->LatestSightTime()) {
      if (player.IsTackling()) {
        if (Teammate(unum).GetTackleBan() == 0) {
          Teammate(unum).UpdateTackleBan(
              ServerParam::instance().tackleCycles() - 1);
        }
        // tacle速度一定为零
        Teammate(unum).UpdateVel(Vector(0, 0), mSightDelay, mPlayerConf);
      } else {
        Teammate(unum).UpdateTackleBan(0);
      }
    }

    //是否被铲倒
    if (player.GetIsLying().time() == mpObserver->LatestSightTime()) {
      if (player.IsLying()) {
        if (Teammate(unum).GetFoulChargedCycle() == 0) {
          Teammate(unum).UpdateFoulChargedCycle(
              ServerParam::instance().foulCycles() - 1);
        }
        Teammate(unum).UpdateVel(Vector(0, 0), mSightDelay, mPlayerConf);
      } else {
        Teammate(unum).UpdateFoulChargedCycle(0);
      }
    }

    Teammate(unum).UpdateCardType(mpObserver->GetTeammateCardType(unum));

    //是否上周期踢过球
    if (player.GetIsKicked().time() == mpObserver->LatestSightTime()) {
      Teammate(unum).UpdateKicked(player.IsKicked());
    }
  } else {
    Opponent(unum).SetIsAlive(true);
    Opponent(unum).UpdateGuessedTimes(0);
    //位置更新
    if (player.GetDir().time() == mpObserver->LatestSightTime()) {
      Vector vec = Polar2Vector(
          PlayerParam::instance().ConvertSightDist(player.Dist()),
          GetNeckGlobalDirFromSightDelay(mSightDelay) + player.Dir());
      vec = GetSelf().GetPos() + vec;
      Opponent(unum).UpdatePos(vec, mSightDelay, mPlayerConf);

      double eps = PlayerParam::instance().GetEpsInSight(player.Dist()) +
                   SelfState().GetPosEps();
      Opponent(unum).UpdatePosEps(eps);
    }

    //速度更新
    if (player.GetDirChg().time() == mpObserver->LatestSightTime()) {
      //公式：relPos = polar2vector(1.0, ballAngle)
      Vector vec = Polar2Vector(1.0, player.Dir());
      double distChg = player.DistChg();
      double dirChg = player.DirChg();
      double dist = player.Dist();
      //计算公式见USTC_Material 第七章
      //公式：relVel = (distChg * relPos.x() - (dirChg * PI / 180 * ballDist *
      //relPos.y()),distChg * rpos.y() + (dirChg * PI / 180 * ballDist *
      //relPos.x())
      Vector relvel =
          Vector(distChg * vec.X() - (dirChg * M_PI / 180 * dist * vec.Y()),
                 distChg * vec.Y() + (dirChg * M_PI / 180 * dist * vec.X()));

      //公式：ballVel = playerVel() + relVel.rotate(neckGlobalAngle)
      relvel = GetSelfVelFromSightDelay(mSightDelay) +
               relvel.Rotate(GetNeckGlobalDirFromSightDelay(mSightDelay));
      Opponent(unum).UpdateVel(relvel, mSightDelay, mPlayerConf);
    } else if (player.GetDir().time() ==
               mpObserver
                   ->LatestSightTime()) //只看到球的位置但是看不到速度的情况
    {
      if (mpWorldState->GetHistory(1 + mSightDelay)) {
        int delay = mpWorldState->GetHistory(1 + mSightDelay)
                        ->Opponent(unum)
                        .GetPosDelay();
        if (delay < HistoryState::HISTORY_SIZE - 1 - mSightDelay) {
          Vector vel = Opponent(unum).GetPos() -
                       mpWorldState->GetHistory(1 + mSightDelay + delay)
                           ->Opponent(unum)
                           .GetPos();
          vel /= (delay + 1);

          // use  speed of self sense instead of pos of self sight to reduce the
          // error
          Vector self_vel = GetSelfVelFromSightDelay();
          if (mpObserver->Sense().IsCollideWithBall() ||
              mpObserver->Sense().IsCollideWithPlayer() ||
              mpObserver->Sense().IsCollideWithPost()) {
            self_vel /= -0.1;
          }
          self_vel /= PlayerParam::instance()
                          .HeteroPlayer(SelfState().GetPlayerType())
                          .playerDecay();
          Vector self_vel_pos =
              SelfState().GetPos() - mpWorldState->GetHistory(1 + mSightDelay)
                                         ->Teammate(GetSelfUnum())
                                         .GetPos();
          vel += self_vel - self_vel_pos;

          double max_speed = GetOpponent(unum).GetEffectiveSpeedMax();

          //根据速度预测对手身体朝向
          if (vel.Mod() >
                  max_speed * GetOpponent(unum).GetPlayerDecay() * 0.8 &&
              GetOpponent(unum).IsBodyDirMayChanged()) {
            //					Logger::instance().GetTextLogger("bodydir") <<
            //mpWorldState->CurrentTime().T() << "\t" <<
            //mpWorldState->CurrentTime().S() << "\t" << unum + TEAMSIZE << "\t"
            //<< vel.Dir() << "\t" << Opponent(unum).GetBodyDir() << "\n";
            Opponent(unum).UpdateBodyDir(vel.Dir(),
                                         GetOpponent(unum).GetBodyDirDelay(),
                                         GetOpponent(unum).GetBodyDirConf());
            //					Opponent(unum).UpdateBodyDirMayChanged(false);
          } else if (vel.Mod() <=
                     max_speed * GetOpponent(unum).GetPlayerDecay()) {
            Opponent(unum).UpdateBodyDirMayChanged(true);
          }

          //				Logger::instance().GetTextLogger("bodydir") <<
          //mpWorldState->CurrentTime().T() << "\t" <<
          //mpWorldState->CurrentTime().S() << "\t" << unum + TEAMSIZE << "\t"
          //<< Opponent(unum).GetBodyDir() << "\n";
          if (vel.Mod() > max_speed) {
            vel = Polar2Vector(max_speed, vel.Dir());
          }
          vel *= GetOpponent(unum).GetPlayerDecay();

          Opponent(unum).UpdateVel(vel, mSightDelay, mPlayerConf);
        }
      }
    }

    //身体角度
    if (player.GetBodyDir().time() == mpObserver->LatestSightTime()) {
      AngleDeg angle = player.BodyDir();
      angle = angle + GetNeckGlobalDirFromSightDelay(mSightDelay);
      Opponent(unum).UpdateBodyDir(angle, mSightDelay, mPlayerConf);
      Opponent(unum).UpdateBodyDirMayChanged(false);
    }

    //头部角度
    if (player.GetHeadDir().time() == mpObserver->LatestSightTime()) {
      AngleDeg angle = player.HeadDir() - player.BodyDir();
      Opponent(unum).UpdateNeckDir(angle, mSightDelay, mPlayerConf);
    }

    //手指向
    if (player.GetIsPointing().time() == mpObserver->LatestSightTime()) {
      if (player.IsPointing()) {
        Opponent(unum).UpdateArmPoint(
            player.PointDir() + GetNeckGlobalDirFromSightDelay(mSightDelay),
            mSightDelay, mPlayerConf);
      }
    }

    //是否铲球
    if (player.GetIsTackling().time() == mpObserver->LatestSightTime()) {
      if (player.IsTackling()) {
        if (Opponent(unum).GetTackleBan() == 0) {
          Opponent(unum).UpdateTackleBan(
              ServerParam::instance().tackleCycles() - 1);
        }
        // tackle速度一定为零
        Opponent(unum).UpdateVel(Vector(0, 0), mSightDelay, mPlayerConf);
      } else {
        Opponent(unum).UpdateTackleBan(0);
      }
    }

    //是否被铲倒
    if (player.GetIsLying().time() == mpObserver->LatestSightTime()) {
      if (player.IsLying()) {
        if (Opponent(unum).GetFoulChargedCycle() == 0) {
          Opponent(unum).UpdateFoulChargedCycle(
              ServerParam::instance().foulCycles() - 1);
        }
        Opponent(unum).UpdateVel(Vector(0, 0), mSightDelay, mPlayerConf);
      } else {
        Opponent(unum).UpdateFoulChargedCycle(0);
      }
    }

    Opponent(unum).UpdateCardType(mpObserver->GetOpponentCardType(unum));

    //是否上周期踢过球
    if (player.GetIsKicked().time() == mpObserver->LatestSightTime()) {
      Opponent(unum).UpdateKicked(player.IsKicked());
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rax
decl %edx
movslq %edx, %r13
testl %ecx, %ecx
movq %rsi, -0x68(%rbp)
je 0x64385
imulq $0x178, %r13, %r12      # imm = 0x178
movb $0x1, 0x1ba(%rax,%r12)
movl $0x0, 0x118(%rax,%r12)
movq (%r14), %rax
movl 0x1c(%rbx), %ecx
cmpl 0x18(%rax), %ecx
movq %r12, -0x60(%rbp)
jne 0x64586
movl 0x14(%rax), %eax
cmpl %eax, 0x18(%rbx)
jne 0x64586
callq 0x450ba
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x6a164
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x644a2
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%r14), %rax
movq 0x8(%rax), %rax
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
imulq $0x2128, %rcx, %r12     # imm = 0x2128
addq %rax, %r12
movq %r13, %rbx
movslq 0x14(%r14), %r13
callq 0x4a75c
movq %rax, %r15
callq 0x4a75c
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x644c1
imulq $0x178, %r13, %r12      # imm = 0x178
movb $0x1, 0x11e2(%rax,%r12)
movl $0x0, 0x1140(%rax,%r12)
movq (%r14), %rax
movl 0x1c(%rbx), %ecx
cmpl 0x18(%rax), %ecx
movq %r12, -0x60(%rbp)
jne 0x6481a
movl 0x14(%rax), %eax
cmpl %eax, 0x18(%rbx)
jne 0x6481a
callq 0x450ba
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x6a164
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x64736
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%r14), %rax
movq 0x8(%rax), %rax
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
imulq $0x2128, %rcx, %r12     # imm = 0x2128
addq %rax, %r12
movq %r13, %rbx
movslq 0x14(%r14), %r13
callq 0x4a75c
movq %rax, %r15
callq 0x4a75c
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x64755
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x5b2be
addsd 0x10(%rbx), %xmm0
mulsd 0x6b82(%rip), %xmm0     # 0x6b050
divsd 0x6b72(%rip), %xmm0     # 0x6b048
leaq -0x50(%rbp), %r15
leaq -0x58(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r12), %xmm0
movsd -0x30(%rbp), %xmm1
mulsd %xmm1, %xmm0
mulsd (%r15), %xmm1
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0xc8(%rax,%rcx), %xmm0
addsd -0xc0(%rax,%rcx), %xmm1
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
movq -0x60(%rbp), %r12
leaq 0xa8(%rcx,%r12), %rdi
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
leaq -0x50(%rbp), %rsi
callq 0xf682
callq 0x450ba
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x69fa4
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0xa8(%rax,%rcx), %xmm0
movsd %xmm0, 0xd0(%rcx,%r12)
movq (%r14), %rcx
movl 0x14(%rcx), %eax
movl 0x18(%rcx), %ecx
cmpl %ecx, 0x3c(%rbx)
jne 0x646ff
cmpl %eax, 0x38(%rbx)
jne 0x646ff
movsd 0x10(%rbx), %xmm0
mulsd 0x6aa2(%rip), %xmm0     # 0x6b050
divsd 0x6a92(%rip), %xmm0     # 0x6b048
leaq -0x50(%rbp), %r15
leaq -0x58(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r15), %xmm0
movsd 0x6a7a(%rip), %xmm2     # 0x6b050
mulsd 0x30(%rbx), %xmm2
movsd (%r12), %xmm1
divsd 0x6a5f(%rip), %xmm2     # 0x6b048
mulsd (%rbx), %xmm2
movapd %xmm2, %xmm4
movsd 0x20(%rbx), %xmm2
movapd %xmm2, %xmm3
mulsd %xmm0, %xmm2
mulsd %xmm4, %xmm0
mulsd %xmm1, %xmm3
subsd %xmm0, %xmm3
mulsd %xmm1, %xmm4
addsd %xmm4, %xmm2
movsd %xmm3, (%r15)
movsd %xmm2, 0x8(%r15)
movl 0x28(%r14), %esi
movq %r14, %rdi
callq 0x6a28c
movsd %xmm0, -0x30(%rbp)
movsd %xmm1, -0x38(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x649cb
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%r14), %rax
movq 0x8(%rax), %rax
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
imulq $0x2128, %rcx, %r12     # imm = 0x2128
addq %rax, %r12
movq %r13, %rbx
movslq 0x14(%r14), %r13
callq 0x4a75c
movq %rax, %r15
callq 0x4a75c
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x649ea
cmpl %ecx, 0x1c(%rbx)
jne 0x64a7e
cmpl %eax, 0x18(%rbx)
jne 0x64a7e
movq 0x8(%r14), %rax
movl 0x28(%r14), %esi
movl %esi, %ecx
movq %rax, %rdi
incl %ecx
je 0x65604
cmpl $0x9, %esi
jle 0x655a1
xorl %edi, %edi
jmp 0x65604
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x5b2be
addsd 0x10(%rbx), %xmm0
mulsd 0x68ee(%rip), %xmm0     # 0x6b050
divsd 0x68de(%rip), %xmm0     # 0x6b048
leaq -0x50(%rbp), %r15
leaq -0x58(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r12), %xmm0
movsd -0x30(%rbp), %xmm1
mulsd %xmm1, %xmm0
mulsd (%r15), %xmm1
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0xc8(%rax,%rcx), %xmm0
addsd -0xc0(%rax,%rcx), %xmm1
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
movq -0x60(%rbp), %r12
leaq 0x10d0(%rcx,%r12), %rdi
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
leaq -0x50(%rbp), %rsi
callq 0xf682
callq 0x450ba
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x69fa4
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0xa8(%rcx,%rax), %xmm0
movsd %xmm0, 0x10f8(%rcx,%r12)
movq (%r14), %rax
movl 0x14(%rax), %ecx
movl 0x18(%rax), %edx
cmpl %edx, 0x3c(%rbx)
jne 0x64993
cmpl %ecx, 0x38(%rbx)
jne 0x64993
movsd 0x10(%rbx), %xmm0
mulsd 0x680e(%rip), %xmm0     # 0x6b050
divsd 0x67fe(%rip), %xmm0     # 0x6b048
leaq -0x50(%rbp), %r15
leaq -0x58(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r15), %xmm0
movsd 0x67e6(%rip), %xmm2     # 0x6b050
mulsd 0x30(%rbx), %xmm2
movsd (%r12), %xmm1
divsd 0x67cb(%rip), %xmm2     # 0x6b048
mulsd (%rbx), %xmm2
movapd %xmm2, %xmm4
movsd 0x20(%rbx), %xmm2
movapd %xmm2, %xmm3
mulsd %xmm0, %xmm2
mulsd %xmm4, %xmm0
mulsd %xmm1, %xmm3
subsd %xmm0, %xmm3
mulsd %xmm1, %xmm4
addsd %xmm4, %xmm2
movsd %xmm3, (%r15)
movsd %xmm2, 0x8(%r15)
movl 0x28(%r14), %esi
movq %r14, %rdi
callq 0x6a28c
movsd %xmm0, -0x30(%rbp)
movsd %xmm1, -0x38(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x64b73
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%r14), %rax
movq 0x8(%rax), %rax
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
imulq $0x2128, %rcx, %r12     # imm = 0x2128
addq %rax, %r12
movq %r13, %rbx
movslq 0x14(%r14), %r13
callq 0x4a75c
movq %rax, %r15
callq 0x4a75c
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x64b92
cmpl %edx, 0x1c(%rbx)
jne 0x64c26
cmpl %ecx, 0x18(%rbx)
jne 0x64c26
movq 0x8(%r14), %rcx
movl 0x28(%r14), %esi
movl %esi, %edx
movq %rcx, %r8
incl %edx
je 0x6591c
cmpl $0x9, %esi
jle 0x658b8
xorl %r8d, %r8d
jmp 0x6591c
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x5b2be
mulsd 0x665e(%rip), %xmm0     # 0x6b050
divsd 0x664e(%rip), %xmm0     # 0x6b048
leaq -0x58(%rbp), %r15
leaq -0x78(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r15), %xmm0
movsd (%r12), %xmm1
leaq -0x50(%rbp), %rsi
movsd (%rsi), %xmm2
movsd 0x8(%rsi), %xmm3
movapd %xmm0, %xmm4
mulsd %xmm3, %xmm4
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm2
subsd %xmm4, %xmm2
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
movsd -0x30(%rbp), %xmm0
addsd %xmm2, %xmm0
movsd -0x38(%rbp), %xmm1
addsd %xmm3, %xmm1
movsd %xmm0, (%rsi)
movsd %xmm1, 0x8(%rsi)
movq 0x8(%r14), %rax
movq -0x60(%rbp), %r12
leaq (%rax,%r12), %rdi
addq $0xa8, %rdi
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf64c
movq (%r14), %rax
movl 0x54(%rbx), %ecx
cmpl 0x18(%rax), %ecx
jne 0x64dbd
movl 0x14(%rax), %eax
cmpl %eax, 0x50(%rbx)
jne 0x64dbd
movsd 0x48(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x64d1b
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%r14), %rax
movq 0x8(%rax), %rax
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
imulq $0x2128, %rcx, %r12     # imm = 0x2128
addq %rax, %r12
movq %r13, %rbx
movslq 0x14(%r14), %r13
callq 0x4a75c
movq %rax, %r15
callq 0x4a75c
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movq -0x60(%rbp), %r12
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x64d3a
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x5b2be
mulsd 0x64b6(%rip), %xmm0     # 0x6b050
divsd 0x64a6(%rip), %xmm0     # 0x6b048
leaq -0x58(%rbp), %r15
leaq -0x78(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r15), %xmm0
movsd (%r12), %xmm1
leaq -0x50(%rbp), %rsi
movsd (%rsi), %xmm2
movsd 0x8(%rsi), %xmm3
movapd %xmm0, %xmm4
mulsd %xmm3, %xmm4
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm2
subsd %xmm4, %xmm2
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
movsd -0x30(%rbp), %xmm0
addsd %xmm2, %xmm0
movsd -0x38(%rbp), %xmm1
addsd %xmm3, %xmm1
movsd %xmm0, (%rsi)
movsd %xmm1, 0x8(%rsi)
movq 0x8(%r14), %rax
movq -0x60(%rbp), %r12
leaq (%rax,%r12), %rdi
addq $0x10d0, %rdi           # imm = 0x10D0
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf64c
movq (%r14), %rax
movl 0x54(%rbx), %ecx
cmpl 0x18(%rax), %ecx
jne 0x65006
movl 0x14(%rax), %eax
cmpl %eax, 0x50(%rbx)
jne 0x65006
movsd 0x48(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x64f64
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%r14), %rax
movq 0x8(%rax), %rax
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
imulq $0x2128, %rcx, %r12     # imm = 0x2128
addq %rax, %r12
movq %r13, %rbx
movslq 0x14(%r14), %r13
callq 0x4a75c
movq %rax, %r15
callq 0x4a75c
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movq -0x60(%rbp), %r12
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x64f83
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x5b2be
movsd -0x30(%rbp), %xmm3
addsd %xmm0, %xmm3
movq 0x8(%r14), %rax
addq %r12, %rax
addq $0xa8, %rax
movl 0x28(%r14), %ecx
movsd 0x18(%r14), %xmm0
movsd 0x62fe(%rip), %xmm1     # 0x6b060
ucomisd %xmm3, %xmm1
jbe 0x64d7c
movsd 0x6300(%rip), %xmm2     # 0x6b070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x64d70
jmp 0x64da0
ucomisd 0x62c4(%rip), %xmm3     # 0x6b048
jb 0x64da0
movsd 0x62da(%rip), %xmm1     # 0x6b068
movsd 0x62b2(%rip), %xmm2     # 0x6b048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x64d96
movsd %xmm3, 0xb0(%rax)
movl %ecx, 0xb8(%rax)
movsd %xmm0, 0xc0(%rax)
movb $0x0, 0x174(%rax)
movq (%r14), %rax
movl 0x18(%rax), %ecx
cmpl %ecx, 0x64(%rbx)
jne 0x64e52
movl 0x14(%rax), %edx
cmpl %edx, 0x60(%rbx)
jne 0x64e52
movsd 0x58(%rbx), %xmm0
subsd 0x48(%rbx), %xmm0
movq 0x8(%r14), %rdx
addq %r12, %rdx
addq $0xa8, %rdx
movl 0x28(%r14), %esi
movsd 0x18(%r14), %xmm1
movsd 0x6262(%rip), %xmm2     # 0x6b060
ucomisd %xmm0, %xmm2
jbe 0x64e18
movsd 0x6264(%rip), %xmm3     # 0x6b070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x64e0c
jmp 0x64e3c
ucomisd 0x6228(%rip), %xmm0     # 0x6b048
jb 0x64e3c
movsd 0x623e(%rip), %xmm2     # 0x6b068
movsd 0x6216(%rip), %xmm3     # 0x6b048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x64e32
movsd %xmm0, 0x98(%rdx)
movl %esi, 0xa0(%rdx)
movsd %xmm1, 0xa8(%rdx)
cmpl %ecx, 0x88(%rbx)
jne 0x65264
movl 0x14(%rax), %eax
cmpl %eax, 0x84(%rbx)
jne 0x65264
movq 0x8(%r14), %rax
cmpb $0x1, 0x80(%rbx)
jne 0x64f5d
leaq 0xa8(%rax), %r12
movsd 0xa0(%rbx), %xmm0
movsd %xmm0, -0x38(%rbp)
movl 0x28(%r14), %ecx
testl %ecx, %ecx
je 0x651a6
cmpl $0xa, %ecx
movl $0xa, %edx
cmovll %ecx, %edx
movq 0x8(%rax), %rax
movslq %edx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
movq %r13, -0x30(%rbp)
imulq $0x2128, %rcx, %r13     # imm = 0x2128
addq %rax, %r13
movslq 0x14(%r14), %rax
movq %rax, -0x70(%rbp)
callq 0x4a75c
movq %rax, %r15
callq 0x4a75c
imulq $0x178, -0x70(%rbp), %rcx # imm = 0x178
movsd -0x38(%rcx,%r13), %xmm1
movq -0x30(%rbp), %r13
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x651c1
xorl %ecx, %ecx
jmp 0x6525c
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x5b2be
movsd -0x30(%rbp), %xmm3
addsd %xmm0, %xmm3
movq 0x8(%r14), %rax
addq %r12, %rax
addq $0x10d0, %rax           # imm = 0x10D0
movl 0x28(%r14), %ecx
movsd 0x18(%r14), %xmm0
movsd 0x60b5(%rip), %xmm1     # 0x6b060
ucomisd %xmm3, %xmm1
jbe 0x64fc5
movsd 0x60b7(%rip), %xmm2     # 0x6b070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x64fb9
jmp 0x64fe9
ucomisd 0x607b(%rip), %xmm3     # 0x6b048
jb 0x64fe9
movsd 0x6091(%rip), %xmm1     # 0x6b068
movsd 0x6069(%rip), %xmm2     # 0x6b048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x64fdf
movsd %xmm3, 0xb0(%rax)
movl %ecx, 0xb8(%rax)
movsd %xmm0, 0xc0(%rax)
movb $0x0, 0x174(%rax)
movq (%r14), %rax
movl 0x18(%rax), %ecx
cmpl %ecx, 0x64(%rbx)
jne 0x6509b
movl 0x14(%rax), %edx
cmpl %edx, 0x60(%rbx)
jne 0x6509b
movsd 0x58(%rbx), %xmm0
subsd 0x48(%rbx), %xmm0
movq 0x8(%r14), %rdx
addq %r12, %rdx
addq $0x10d0, %rdx           # imm = 0x10D0
movl 0x28(%r14), %esi
movsd 0x18(%r14), %xmm1
movsd 0x6019(%rip), %xmm2     # 0x6b060
ucomisd %xmm0, %xmm2
jbe 0x65061
movsd 0x601b(%rip), %xmm3     # 0x6b070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x65055
jmp 0x65085
ucomisd 0x5fdf(%rip), %xmm0     # 0x6b048
jb 0x65085
movsd 0x5ff5(%rip), %xmm2     # 0x6b068
movsd 0x5fcd(%rip), %xmm3     # 0x6b048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x6507b
movsd %xmm0, 0x98(%rdx)
movl %esi, 0xa0(%rdx)
movsd %xmm1, 0xa8(%rdx)
cmpl %ecx, 0x88(%rbx)
jne 0x6544e
movl 0x14(%rax), %eax
cmpl %eax, 0x84(%rbx)
jne 0x6544e
cmpb $0x1, 0x80(%rbx)
jne 0x6544e
movq 0x8(%r14), %r15
movsd 0xa0(%rbx), %xmm0
movsd %xmm0, -0x38(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x653a4
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%r15), %rax
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
movl 0x14b90(%rax), %esi
subl %ecx, %edx
leal (%rsi,%rdx), %ecx
addl $0xa, %ecx
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rdx # imm = 0x66666667
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
movslq %ecx, %rcx
movq %r13, -0x30(%rbp)
imulq $0x2128, %rcx, %r13     # imm = 0x2128
addq %rax, %r13
movslq 0x14(%r14), %r12
callq 0x4a75c
movq %r15, -0x70(%rbp)
movq %rax, %r15
callq 0x4a75c
imulq $0x178, %r12, %rcx      # imm = 0x178
movq -0x60(%rbp), %r12
movsd -0x38(%rcx,%r13), %xmm1
movq -0x30(%rbp), %r13
movsd 0x3160(%rax), %xmm0
maxsd 0x3168(%r15), %xmm1
movq -0x70(%rbp), %r15
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x653bf
movslq 0x14(%r14), %rax
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%r12), %rdi
addq $-0x178, %rdi           # imm = 0xFE88
callq 0x5b2be
movsd -0x38(%rbp), %xmm3
addsd %xmm0, %xmm3
addq -0x60(%rbp), %r12
movl 0x28(%r14), %eax
movsd 0x18(%r14), %xmm0
movsd 0x5e80(%rip), %xmm1     # 0x6b060
ucomisd %xmm3, %xmm1
jbe 0x651fa
movsd 0x5e82(%rip), %xmm2     # 0x6b070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x651ee
jmp 0x6521e
ucomisd 0x5e46(%rip), %xmm3     # 0x6b048
jb 0x6521e
movsd 0x5e5c(%rip), %xmm1     # 0x6b068
movsd 0x5e34(%rip), %xmm2     # 0x6b048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x65214
movq $-0x1, 0xd0(%r12)
movq $0x0, 0xd8(%r12)
movsd %xmm3, 0xe0(%r12)
movl %eax, 0xe8(%r12)
movsd %xmm0, 0xf0(%r12)
movq 0x8(%r14), %rax
movb $0x1, %cl
movq -0x60(%rbp), %r12
movb %cl, 0x1b8(%rax,%r12)
movq (%r14), %rax
movl 0x70(%rbx), %ecx
cmpl 0x18(%rax), %ecx
jne 0x652d5
movl 0x14(%rax), %eax
cmpl %eax, 0x6c(%rbx)
jne 0x652d5
movq 0x8(%r14), %rax
leaq (%rax,%r12), %r15
addq $0x170, %r15            # imm = 0x170
cmpb $0x1, 0x68(%rbx)
jne 0x652ce
cmpl $0x0, (%r15)
jne 0x652a2
callq 0x4a75c
movl 0x3320(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rax
leaq (%rax,%r12), %rdi
addq $0xa8, %rdi
xorpd %xmm0, %xmm0
leaq -0x50(%rbp), %rsi
movapd %xmm0, (%rsi)
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf64c
jmp 0x652d5
movl $0x0, (%r15)
movq (%r14), %rax
movl 0x94(%rbx), %ecx
cmpl 0x18(%rax), %ecx
jne 0x6534f
movl 0x14(%rax), %eax
cmpl %eax, 0x90(%rbx)
jne 0x6534f
movq 0x8(%r14), %rax
leaq (%rax,%r12), %r15
addq $0x1cc, %r15            # imm = 0x1CC
cmpb $0x1, 0x8c(%rbx)
jne 0x65348
cmpl $0x0, (%r15)
jne 0x6531c
callq 0x4a75c
movl 0x33e8(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rax
leaq (%rax,%r12), %rdi
addq $0xa8, %rdi
xorpd %xmm0, %xmm0
leaq -0x50(%rbp), %rsi
movapd %xmm0, (%rsi)
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf64c
jmp 0x6534f
movl $0x0, (%r15)
movq (%r14), %rcx
movq 0x8(%r14), %rax
movl 0xc0(%rcx,%r13,4), %edx
movl 0x218(%rax,%r12), %esi
testl %esi, %esi
je 0x65374
cmpl $0x2, %edx
jne 0x65381
cmpl $0x1, %esi
jne 0x65381
leaq (%rax,%r12), %rsi
addq $0x218, %rsi            # imm = 0x218
movl %edx, (%rsi)
movl 0x7c(%rbx), %edx
cmpl 0x18(%rcx), %edx
jne 0x65592
movl 0x14(%rcx), %ecx
cmpl %ecx, 0x78(%rbx)
jne 0x65592
addq $0xa8, %rax
jmp 0x65581
movslq 0x14(%r14), %rax
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%r15), %rdi
addq $-0xd0, %rdi
callq 0x5b2be
movsd -0x38(%rbp), %xmm3
addsd %xmm0, %xmm3
leaq (%r15,%r12), %rax
addq $0x10d0, %rax           # imm = 0x10D0
movl 0x28(%r14), %ecx
movsd 0x18(%r14), %xmm0
movsd 0x5c7c(%rip), %xmm1     # 0x6b060
ucomisd %xmm3, %xmm1
jbe 0x653fe
movsd 0x5c7e(%rip), %xmm2     # 0x6b070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x653f2
jmp 0x65422
ucomisd 0x5c42(%rip), %xmm3     # 0x6b048
jb 0x65422
movsd 0x5c58(%rip), %xmm1     # 0x6b068
movsd 0x5c30(%rip), %xmm2     # 0x6b048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x65418
movq $-0x1, 0xd0(%rax)
movq $0x0, 0xd8(%rax)
movsd %xmm3, 0xe0(%rax)
movl %ecx, 0xe8(%rax)
movsd %xmm0, 0xf0(%rax)
movq (%r14), %rax
movl 0x70(%rbx), %ecx
cmpl 0x18(%rax), %ecx
jne 0x654bf
movl 0x14(%rax), %eax
cmpl %eax, 0x6c(%rbx)
jne 0x654bf
movq 0x8(%r14), %rax
leaq (%rax,%r12), %r15
addq $0x1198, %r15           # imm = 0x1198
cmpb $0x1, 0x68(%rbx)
jne 0x654b8
cmpl $0x0, (%r15)
jne 0x6548c
callq 0x4a75c
movl 0x3320(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rax
leaq (%rax,%r12), %rdi
addq $0x10d0, %rdi           # imm = 0x10D0
xorpd %xmm0, %xmm0
leaq -0x50(%rbp), %rsi
movapd %xmm0, (%rsi)
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf64c
jmp 0x654bf
movl $0x0, (%r15)
movq (%r14), %rax
movl 0x94(%rbx), %ecx
cmpl 0x18(%rax), %ecx
jne 0x65539
movl 0x14(%rax), %eax
cmpl %eax, 0x90(%rbx)
jne 0x65539
movq 0x8(%r14), %rax
leaq (%rax,%r12), %r15
addq $0x11f4, %r15           # imm = 0x11F4
cmpb $0x1, 0x8c(%rbx)
jne 0x65532
cmpl $0x0, (%r15)
jne 0x65506
callq 0x4a75c
movl 0x33e8(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rax
leaq (%rax,%r12), %rdi
addq $0x10d0, %rdi           # imm = 0x10D0
xorpd %xmm0, %xmm0
leaq -0x50(%rbp), %rsi
movapd %xmm0, (%rsi)
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf64c
jmp 0x65539
movl $0x0, (%r15)
movq (%r14), %rcx
movq 0x8(%r14), %rax
movl 0xec(%rcx,%r13,4), %edx
movl 0x1240(%rax,%r12), %esi
testl %esi, %esi
je 0x6555e
cmpl $0x2, %edx
jne 0x6556b
cmpl $0x1, %esi
jne 0x6556b
leaq (%rax,%r12), %rsi
addq $0x1240, %rsi           # imm = 0x1240
movl %edx, (%rsi)
movl 0x7c(%rbx), %edx
cmpl 0x18(%rcx), %edx
jne 0x65592
movl 0x14(%rcx), %ecx
cmpl %ecx, 0x78(%rbx)
jne 0x65592
addq $0x10d0, %rax           # imm = 0x10D0
movb 0x74(%rbx), %cl
imulq $0x178, %r13, %rdx      # imm = 0x178
movb %cl, 0x111(%rax,%rdx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rax), %rdx
movslq %ecx, %rdi
imulq $0x66666667, %rdi, %r8  # imm = 0x66666667
movq %r8, %r9
shrq $0x3f, %r9
sarq $0x22, %r8
addl %r9d, %r8d
addl %r8d, %r8d
leal (%r8,%r8,4), %r8d
movl 0x14b90(%rdx), %r9d
subl %edi, %r8d
leal (%r9,%r8), %edi
addl $0xa, %edi
movslq %edi, %rdi
imulq $0x66666667, %rdi, %r8  # imm = 0x66666667
movq %r8, %r9
shrq $0x3f, %r9
sarq $0x22, %r8
addl %r9d, %r8d
addl %r8d, %r8d
leal (%r8,%r8,4), %r8d
subl %r8d, %edi
movslq %edi, %rdi
imulq $0x2128, %rdi, %rdi     # imm = 0x2128
addq %rdx, %rdi
testq %rdi, %rdi
je 0x64a7e
movq %rax, %rdi
testl %ecx, %ecx
je 0x65673
movq 0x8(%rax), %rdx
movslq %ecx, %rdi
imulq $0x66666667, %rdi, %rdi # imm = 0x66666667
movq %rdi, %r8
shrq $0x3f, %r8
sarq $0x22, %rdi
addl %r8d, %edi
addl %edi, %edi
leal (%rdi,%rdi,4), %edi
movl 0x14b90(%rdx), %r8d
subl %ecx, %edi
addl %r8d, %edi
addl $0xa, %edi
movslq %edi, %rdi
imulq $0x66666667, %rdi, %r8  # imm = 0x66666667
movq %r8, %r9
shrq $0x3f, %r9
sarq $0x22, %r8
addl %r9d, %r8d
addl %r8d, %r8d
leal (%r8,%r8,4), %r8d
subl %r8d, %edi
movslq %edi, %rdi
imulq $0x2128, %rdi, %rdi     # imm = 0x2128
addq %rdx, %rdi
movl 0xc0(%rdi,%r12), %edx
movl $0x9, %edi
subl %esi, %edi
cmpl %edi, %edx
jge 0x64a7e
leaq (%rax,%r12), %rdi
addq $0xb0, %rdi
addl %edx, %ecx
je 0x656f4
movq 0x8(%rax), %r8
movslq %ecx, %rax
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %r9
shrq $0x3f, %r9
sarq $0x22, %rcx
addl %r9d, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
movl 0x14b90(%r8), %r9d
subl %eax, %ecx
leal (%r9,%rcx), %eax
addl $0xa, %eax
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %r9
shrq $0x3f, %r9
sarq $0x22, %rcx
addl %r9d, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
imulq $0x2128, %rax, %rax     # imm = 0x2128
addq %r8, %rax
movsd (%rdi), %xmm0
movsd 0x8(%rdi), %xmm1
subsd 0xb0(%rax,%r12), %xmm0
subsd 0xb8(%rax,%r12), %xmm1
incl %edx
cvtsi2sd %edx, %xmm2
divsd %xmm2, %xmm0
movsd %xmm0, -0x50(%rbp)
divsd %xmm2, %xmm1
movsd %xmm1, -0x48(%rbp)
movq %r14, %rdi
callq 0x6a28c
movq (%r14), %rax
cmpb $0x0, 0x1b2(%rax)
jne 0x65753
cmpb $0x0, 0x1b1(%rax)
jne 0x65753
cmpb $0x1, 0x1b0(%rax)
jne 0x65e59
movsd 0x6e7d(%rip), %xmm2     # 0x6c5d8
divsd %xmm2, %xmm0
movsd %xmm0, -0x38(%rbp)
divsd %xmm2, %xmm1
movsd %xmm1, -0x30(%rbp)
callq 0x450ba
movslq 0x14(%r14), %rcx
movq 0x8(%r14), %rsi
imulq $0x178, %rcx, %rdx      # imm = 0x178
decq %rcx
addq %rsi, %rdx
addq $-0xd0, %rdx
movslq 0x114(%rdx), %rdi
movq 0x5c38(%rax), %rax
imulq $0x3700, %rdi, %rdi     # imm = 0x3700
movsd 0x3020(%rax,%rdi), %xmm0
movsd -0x38(%rbp), %xmm3
divsd %xmm0, %xmm3
movsd -0x30(%rbp), %xmm2
divsd %xmm0, %xmm2
movl 0x28(%r14), %edi
incl %edi
je 0x65823
movq 0x8(%rsi), %rax
movslq %edi, %rsi
imulq $0x66666667, %rsi, %rdi # imm = 0x66666667
movq %rdi, %r8
shrq $0x3f, %r8
sarq $0x22, %rdi
addl %r8d, %edi
addl %edi, %edi
leal (%rdi,%rdi,4), %edi
movl 0x14b90(%rax), %r8d
subl %esi, %edi
leal (%r8,%rdi), %esi
addl $0xa, %esi
movslq %esi, %rsi
imulq $0x66666667, %rsi, %rdi # imm = 0x66666667
movq %rdi, %r8
shrq $0x3f, %r8
sarq $0x22, %rdi
addl %r8d, %edi
addl %edi, %edi
leal (%rdi,%rdi,4), %edi
subl %edi, %esi
movslq %esi, %rsi
imulq $0x2128, %rsi, %rsi     # imm = 0x2128
addq %rax, %rsi
imulq $0x178, %rcx, %rax      # imm = 0x178
movsd 0x8(%rdx), %xmm0
movsd 0x10(%rdx), %xmm1
subsd 0xb0(%rsi,%rax), %xmm0
subsd 0xb8(%rsi,%rax), %xmm1
subsd %xmm0, %xmm3
subsd %xmm1, %xmm2
addsd -0x50(%rbp), %xmm3
movsd %xmm3, -0x50(%rbp)
addsd -0x48(%rbp), %xmm2
movsd %xmm2, -0x48(%rbp)
callq 0x450ba
movq (%r14), %rcx
movq 0x5c38(%rax), %rax
movslq 0x3c(%rcx,%r13,4), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd 0x3098(%rax,%rcx), %xmm0
movsd %xmm0, -0x58(%rbp)
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x65bde
sqrtsd %xmm0, %xmm0
jmp 0x65be3
movq 0x8(%rcx), %rdi
movslq %edx, %r8
imulq $0x66666667, %r8, %r9   # imm = 0x66666667
movq %r9, %r10
shrq $0x3f, %r10
sarq $0x22, %r9
addl %r10d, %r9d
addl %r9d, %r9d
leal (%r9,%r9,4), %r9d
movl 0x14b90(%rdi), %r10d
subl %r8d, %r9d
leal (%r10,%r9), %r8d
addl $0xa, %r8d
movslq %r8d, %r8
imulq $0x66666667, %r8, %r9   # imm = 0x66666667
movq %r9, %r10
shrq $0x3f, %r10
sarq $0x22, %r9
addl %r10d, %r9d
addl %r9d, %r9d
leal (%r9,%r9,4), %r9d
subl %r9d, %r8d
movslq %r8d, %r8
imulq $0x2128, %r8, %r8       # imm = 0x2128
addq %rdi, %r8
testq %r8, %r8
je 0x64c26
movq %rcx, %r8
testl %edx, %edx
je 0x6598f
movq 0x8(%rcx), %rdi
movslq %edx, %r8
imulq $0x66666667, %r8, %r8   # imm = 0x66666667
movq %r8, %r9
shrq $0x3f, %r9
sarq $0x22, %r8
addl %r9d, %r8d
addl %r8d, %r8d
leal (%r8,%r8,4), %r8d
movl 0x14b90(%rdi), %r9d
subl %edx, %r8d
addl %r9d, %r8d
addl $0xa, %r8d
movslq %r8d, %r8
imulq $0x66666667, %r8, %r9   # imm = 0x66666667
movq %r9, %r10
shrq $0x3f, %r10
sarq $0x22, %r9
addl %r10d, %r9d
addl %r9d, %r9d
leal (%r9,%r9,4), %r9d
subl %r9d, %r8d
movslq %r8d, %r8
imulq $0x2128, %r8, %r8       # imm = 0x2128
addq %rdi, %r8
movl 0x10e8(%r8,%r12), %edi
movl $0x9, %r8d
subl %esi, %r8d
cmpl %r8d, %edi
jge 0x64c26
leaq (%rcx,%r12), %rsi
addq $0x10d8, %rsi           # imm = 0x10D8
movq %rcx, %r9
addl %edi, %edx
je 0x65a1e
movq 0x8(%rcx), %r8
movslq %edx, %rdx
imulq $0x66666667, %rdx, %r9  # imm = 0x66666667
movq %r9, %r10
shrq $0x3f, %r10
sarq $0x22, %r9
addl %r10d, %r9d
addl %r9d, %r9d
leal (%r9,%r9,4), %r9d
movl 0x14b90(%r8), %r10d
subl %edx, %r9d
leal (%r10,%r9), %edx
addl $0xa, %edx
movslq %edx, %rdx
imulq $0x66666667, %rdx, %r9  # imm = 0x66666667
movq %r9, %r10
shrq $0x3f, %r10
sarq $0x22, %r9
addl %r10d, %r9d
addl %r9d, %r9d
leal (%r9,%r9,4), %r9d
subl %r9d, %edx
movslq %edx, %rdx
imulq $0x2128, %rdx, %r9      # imm = 0x2128
addq %r8, %r9
movsd (%rsi), %xmm0
subsd 0x10d8(%r9,%r12), %xmm0
movsd 0x8(%rsi), %xmm1
subsd 0x10e0(%r9,%r12), %xmm1
incl %edi
cvtsi2sd %edi, %xmm2
divsd %xmm2, %xmm0
movsd %xmm0, -0x50(%rbp)
divsd %xmm2, %xmm1
movsd %xmm1, -0x48(%rbp)
movslq 0x14(%r14), %rdx
imulq $0x178, %rdx, %rdx      # imm = 0x178
movsd -0xa0(%rdx,%rcx), %xmm1
movsd -0x98(%rdx,%rcx), %xmm2
cmpb $0x0, 0x1b2(%rax)
jne 0x65a8f
cmpb $0x0, 0x1b1(%rax)
jne 0x65a8f
cmpb $0x1, 0x1b0(%rax)
jne 0x65e68
movsd 0x6b41(%rip), %xmm0     # 0x6c5d8
divsd %xmm0, %xmm1
movsd %xmm1, -0x30(%rbp)
divsd %xmm0, %xmm2
movsd %xmm2, -0x38(%rbp)
callq 0x450ba
movslq 0x14(%r14), %rdx
movq 0x8(%r14), %rcx
imulq $0x178, %rdx, %rsi      # imm = 0x178
decq %rdx
addq %rcx, %rsi
addq $-0xd0, %rsi
movslq 0x114(%rsi), %rdi
movq 0x5c38(%rax), %rax
imulq $0x3700, %rdi, %rdi     # imm = 0x3700
movsd 0x3020(%rax,%rdi), %xmm0
movsd -0x30(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd -0x38(%rbp), %xmm3
divsd %xmm0, %xmm3
movl 0x28(%r14), %r8d
movq %rcx, %rdi
incl %r8d
movapd %xmm1, %xmm0
je 0x65b6d
movq 0x8(%rcx), %rax
movslq %r8d, %rdi
imulq $0x66666667, %rdi, %r8  # imm = 0x66666667
movq %r8, %r9
shrq $0x3f, %r9
sarq $0x22, %r8
addl %r9d, %r8d
addl %r8d, %r8d
leal (%r8,%r8,4), %r8d
movl 0x14b90(%rax), %r9d
subl %edi, %r8d
leal (%r9,%r8), %edi
addl $0xa, %edi
movslq %edi, %rdi
imulq $0x66666667, %rdi, %r8  # imm = 0x66666667
movq %r8, %r9
shrq $0x3f, %r9
sarq $0x22, %r8
addl %r9d, %r8d
addl %r8d, %r8d
leal (%r8,%r8,4), %r8d
subl %r8d, %edi
movslq %edi, %rdi
imulq $0x2128, %rdi, %rdi     # imm = 0x2128
addq %rax, %rdi
imulq $0x178, %rdx, %rax      # imm = 0x178
movsd 0x8(%rsi), %xmm2
movsd 0x10(%rsi), %xmm1
subsd 0xb0(%rdi,%rax), %xmm2
subsd 0xb8(%rdi,%rax), %xmm1
subsd %xmm2, %xmm0
subsd %xmm1, %xmm3
addsd -0x50(%rbp), %xmm0
movsd %xmm0, -0x50(%rbp)
addsd -0x48(%rbp), %xmm3
movsd %xmm3, -0x48(%rbp)
movsd 0x1130(%rcx,%r12), %xmm1
movsd %xmm1, -0x58(%rbp)
mulsd %xmm3, %xmm3
mulsd %xmm0, %xmm0
addsd %xmm3, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x65cc1
sqrtsd %xmm0, %xmm0
jmp 0x65cc6
callq 0x93c0
movsd %xmm0, -0x30(%rbp)
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movq 0x8(%r14), %r15
callq 0x450ba
movq 0x5c38(%rax), %rax
movslq 0x1bc(%r15,%r12), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd -0x38(%rbp), %xmm1
mulsd 0x3020(%rax,%rcx), %xmm1
mulsd 0x69b9(%rip), %xmm1     # 0x6c5e0
movsd -0x30(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x65c94
movq 0x8(%r14), %rax
cmpb $0x1, 0x21c(%rax,%r12)
jne 0x65c94
leaq (%rax,%r12), %r15
addq $0xa8, %r15
leaq -0x50(%rbp), %rdi
callq 0xe804
movq 0x8(%r14), %rcx
movl 0x160(%rcx,%r12), %eax
movsd 0x168(%rcx,%r12), %xmm1
movsd 0x53ed(%rip), %xmm2     # 0x6b060
ucomisd %xmm0, %xmm2
jbe 0x65e72
movsd 0x53eb(%rip), %xmm3     # 0x6b070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x65c85
jmp 0x65e96
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x65d9d
sqrtsd %xmm0, %xmm0
jmp 0x65da2
callq 0x93c0
movsd %xmm0, -0x30(%rbp)
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movq 0x8(%r14), %r15
callq 0x450ba
movq 0x5c38(%rax), %rax
movslq 0x11e4(%r15,%r12), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd -0x38(%rbp), %xmm1
mulsd 0x3020(%rax,%rcx), %xmm1
mulsd 0x68d6(%rip), %xmm1     # 0x6c5e0
movsd -0x30(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x65d77
movq 0x8(%r14), %rax
cmpb $0x1, 0x1244(%rax,%r12)
jne 0x65d77
leaq (%rax,%r12), %r15
addq $0x10d0, %r15           # imm = 0x10D0
leaq -0x50(%rbp), %rdi
callq 0xe804
movq 0x8(%r14), %rcx
movl 0x1188(%rcx,%r12), %eax
movsd 0x1190(%rcx,%r12), %xmm1
movsd 0x530a(%rip), %xmm2     # 0x6b060
ucomisd %xmm0, %xmm2
jbe 0x65f55
movsd 0x5308(%rip), %xmm3     # 0x6b070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x65d68
jmp 0x65f79
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x65dfb
sqrtsd %xmm0, %xmm0
jmp 0x65e00
callq 0x93c0
movsd %xmm0, -0x30(%rbp)
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movq 0x8(%r14), %r15
callq 0x450ba
movq 0x5c38(%rax), %rax
movslq 0x1bc(%r15,%r12), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd -0x38(%rbp), %xmm0
mulsd 0x3020(%rax,%rcx), %xmm0
ucomisd -0x30(%rbp), %xmm0
jb 0x65eaf
movq 0x8(%r14), %rax
movb $0x1, 0x21c(%rax,%r12)
jmp 0x65eaf
callq 0x93c0
movsd %xmm0, -0x30(%rbp)
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movq 0x8(%r14), %r15
callq 0x450ba
movq 0x5c38(%rax), %rax
movslq 0x11e4(%r15,%r12), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd -0x38(%rbp), %xmm0
mulsd 0x3020(%rax,%rcx), %xmm0
ucomisd -0x30(%rbp), %xmm0
jb 0x65f92
movq 0x8(%r14), %rax
movb $0x1, 0x1244(%rax,%r12)
jmp 0x65f92
movsd %xmm1, -0x30(%rbp)
movsd %xmm0, -0x38(%rbp)
jmp 0x6576d
movsd %xmm1, -0x30(%rbp)
jmp 0x65aa4
ucomisd 0x51ce(%rip), %xmm0     # 0x6b048
jb 0x65e96
movsd 0x51e4(%rip), %xmm2     # 0x6b068
movsd 0x51bc(%rip), %xmm3     # 0x6b048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x65e8c
movsd %xmm0, 0xb0(%r15)
movl %eax, 0xb8(%r15)
movsd %xmm1, 0xc0(%r15)
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x65ed5
sqrtsd %xmm0, %xmm0
jmp 0x65eda
callq 0x93c0
ucomisd -0x58(%rbp), %xmm0
jbe 0x65f09
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq 0xe804
leaq -0x78(%rbp), %rsi
movsd %xmm0, (%rsi)
leaq -0x58(%rbp), %rdi
callq 0x6a110
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
callq 0x450ba
movq (%r14), %rcx
movq 0x5c38(%rax), %rax
movslq 0x3c(%rcx,%r13,4), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd 0x3020(%rax,%rcx), %xmm0
leaq -0x50(%rbp), %rsi
mulsd (%rsi), %xmm0
movsd %xmm0, (%rsi)
movsd 0x3020(%rax,%rcx), %xmm0
mulsd 0x8(%rsi), %xmm0
movsd %xmm0, 0x8(%rsi)
movq 0x8(%r14), %rax
jmp 0x64a64
ucomisd 0x50eb(%rip), %xmm0     # 0x6b048
jb 0x65f79
movsd 0x5101(%rip), %xmm2     # 0x6b068
movsd 0x50d9(%rip), %xmm3     # 0x6b048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x65f6f
movsd %xmm0, 0xb0(%r15)
movl %eax, 0xb8(%r15)
movsd %xmm1, 0xc0(%r15)
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x65fb8
sqrtsd %xmm0, %xmm0
jmp 0x65fbd
callq 0x93c0
ucomisd -0x58(%rbp), %xmm0
jbe 0x65fec
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq 0xe804
leaq -0x78(%rbp), %rsi
movsd %xmm0, (%rsi)
leaq -0x58(%rbp), %rdi
callq 0x6a110
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
movq 0x8(%r14), %r15
callq 0x450ba
movq 0x5c38(%rax), %rax
movslq 0x11e4(%r15,%r12), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd 0x3020(%rax,%rcx), %xmm0
leaq -0x50(%rbp), %rsi
mulsd (%rsi), %xmm0
movsd %xmm0, (%rsi)
movsd 0x3020(%rax,%rcx), %xmm0
mulsd 0x8(%rsi), %xmm0
movsd %xmm0, 0x8(%rsi)
movq 0x8(%r14), %rax
jmp 0x64c0c