// File: /workspace/github_cpp_makefile_star2_O3/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 0x6230d
imulq $0x178, %r13, %r12      # imm = 0x178
movb $0x1, 0x1ba(%rax,%r12)
movl $0x0, 0x118(%rax,%r12)
movq (%r14), %rdx
movl 0x14(%rdx), %ecx
movl 0x18(%rdx), %edx
cmpl %edx, 0x1c(%rbx)
movq %r12, -0x60(%rbp)
jne 0x62517
cmpl %ecx, 0x18(%rbx)
jne 0x62517
callq 0x43dce
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x677a6
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x6242a
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 0x49360
movq %rax, %r15
callq 0x49360
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
maxsd 0x3168(%r15), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x62449
imulq $0x178, %r13, %r12      # imm = 0x178
movb $0x1, 0x11e2(%rax,%r12)
movl $0x0, 0x1140(%rax,%r12)
movq (%r14), %rcx
movl 0x14(%rcx), %edx
movl 0x18(%rcx), %esi
cmpl %esi, 0x1c(%rbx)
movq %r12, -0x60(%rbp)
jne 0x62ae4
cmpl %edx, 0x18(%rbx)
jne 0x62ae4
callq 0x43dce
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x677a6
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x629f7
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 0x49360
movq %rax, %r15
callq 0x49360
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
maxsd 0x3168(%r15), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x62a16
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x59a22
addsd 0x10(%rbx), %xmm0
mulsd 0x6bfa(%rip), %xmm0     # 0x69050
divsd 0x6bea(%rip), %xmm0     # 0x69048
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 0xf572
callq 0x43dce
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x675e6
movslq 0x14(%r14), %rcx
movq 0x8(%r14), %rax
imulq $0x178, %rcx, %rcx      # imm = 0x178
addsd -0xa8(%rcx,%rax), %xmm0
movsd %xmm0, 0xd0(%rax,%r12)
movq (%r14), %rdx
movl 0x14(%rdx), %ecx
movl 0x18(%rdx), %edx
cmpl %edx, 0x3c(%rbx)
jne 0x62687
cmpl %ecx, 0x38(%rbx)
jne 0x62687
movsd 0x10(%rbx), %xmm0
mulsd 0x6b1a(%rip), %xmm0     # 0x69050
divsd 0x6b0a(%rip), %xmm0     # 0x69048
leaq -0x50(%rbp), %r15
leaq -0x58(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r15), %xmm0
movsd 0x6af2(%rip), %xmm2     # 0x69050
mulsd 0x30(%rbx), %xmm2
movsd (%r12), %xmm1
divsd 0x6ad7(%rip), %xmm2     # 0x69048
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 0x678ce
movsd %xmm0, -0x30(%rbp)
movsd %xmm1, -0x38(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x62fc3
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 0x49360
movq %rax, %r15
callq 0x49360
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
maxsd 0x3168(%r15), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x62fe2
cmpl %edx, 0x1c(%rbx)
jne 0x63076
cmpl %ecx, 0x18(%rbx)
jne 0x63076
movl 0x28(%r14), %esi
movl %esi, %ecx
movq %rax, %rdi
incl %ecx
je 0x62712
cmpl $0x9, %esi
jg 0x63076
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
movl 0xc0(%rdi,%r12), %edx
movl $0x9, %edi
subl %esi, %edi
cmpl %edi, %edx
jge 0x63076
leaq (%rax,%r12), %rdi
addq $0xb0, %rdi
addl %edx, %ecx
je 0x62793
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 0x678ce
movq (%r14), %rax
cmpb $0x0, 0x1b2(%rax)
jne 0x627f2
cmpb $0x0, 0x1b1(%rax)
jne 0x627f2
cmpb $0x1, 0x1b0(%rax)
jne 0x63c8e
movsd 0x7dce(%rip), %xmm2     # 0x6a5c8
divsd %xmm2, %xmm0
movsd %xmm0, -0x38(%rbp)
divsd %xmm2, %xmm1
movsd %xmm1, -0x30(%rbp)
callq 0x43dce
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 0x628c2
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 0x43dce
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, -0x30(%rbp)
movsd %xmm0, -0x58(%rbp)
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
movsd %xmm0, -0x38(%rbp)
movq 0x8(%r14), %r15
callq 0x43dce
movq 0x5c38(%rax), %rax
movslq 0x1bc(%r15,%r12), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd -0x30(%rbp), %xmm0
mulsd 0x3020(%rax,%rcx), %xmm0
mulsd 0x7c4d(%rip), %xmm0     # 0x6a5d0
movsd -0x38(%rbp), %xmm1
ucomisd %xmm0, %xmm1
movq 0x8(%r14), %r15
jbe 0x63bb0
cmpb $0x1, 0x21c(%r15,%r12)
jne 0x63bb0
addq %r12, %r15
addq $0xa8, %r15
leaq -0x50(%rbp), %rdi
callq 0xe702
movq 0x8(%r14), %rcx
movl 0x160(%rcx,%r12), %eax
movsd 0x168(%rcx,%r12), %xmm1
movsd 0x668a(%rip), %xmm2     # 0x69060
ucomisd %xmm0, %xmm2
jbe 0x63c9d
movsd 0x6688(%rip), %xmm3     # 0x69070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x629e8
jmp 0x63cc1
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x59a22
addsd 0x10(%rbx), %xmm0
mulsd 0x662d(%rip), %xmm0     # 0x69050
divsd 0x661d(%rip), %xmm0     # 0x69048
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 0xf572
callq 0x43dce
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x675e6
movslq 0x14(%r14), %rcx
movq 0x8(%r14), %rax
imulq $0x178, %rcx, %rcx      # imm = 0x178
addsd -0xa8(%rax,%rcx), %xmm0
movsd %xmm0, 0x10f8(%rax,%r12)
movq (%r14), %rcx
movl 0x14(%rcx), %edx
movl 0x18(%rcx), %esi
cmpl %esi, 0x3c(%rbx)
jne 0x62c54
cmpl %edx, 0x38(%rbx)
jne 0x62c54
movsd 0x10(%rbx), %xmm0
mulsd 0x654d(%rip), %xmm0     # 0x69050
divsd 0x653d(%rip), %xmm0     # 0x69048
leaq -0x50(%rbp), %r15
leaq -0x58(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92d0
movsd (%r15), %xmm0
movsd 0x6525(%rip), %xmm2     # 0x69050
mulsd 0x30(%rbx), %xmm2
movsd (%r12), %xmm1
divsd 0x650a(%rip), %xmm2     # 0x69048
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 0x678ce
movsd %xmm0, -0x30(%rbp)
movsd %xmm1, -0x38(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x6316b
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 0x49360
movq %rax, %r15
callq 0x49360
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
maxsd 0x3168(%r15), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x6318a
cmpl %esi, 0x1c(%rbx)
jne 0x6321e
cmpl %edx, 0x18(%rbx)
jne 0x6321e
movl 0x28(%r14), %edi
movl %edi, %edx
movq %rax, %r8
incl %edx
je 0x62ce0
cmpl $0x9, %edi
jg 0x6321e
movq 0x8(%rax), %rsi
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(%rsi), %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 %rsi, %r8
movl 0x10e8(%r8,%r12), %esi
movl $0x9, %r8d
subl %edi, %r8d
cmpl %r8d, %esi
jge 0x6321e
leaq (%rax,%r12), %rdi
addq $0x10d8, %rdi           # imm = 0x10D8
movq %rax, %r9
addl %esi, %edx
je 0x62d6f
movq 0x8(%rax), %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 (%rdi), %xmm0
subsd 0x10d8(%r9,%r12), %xmm0
movsd 0x8(%rdi), %xmm1
subsd 0x10e0(%r9,%r12), %xmm1
incl %esi
cvtsi2sd %esi, %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,%rax), %xmm1
movsd -0x98(%rdx,%rax), %xmm2
cmpb $0x0, 0x1b2(%rcx)
jne 0x62de0
cmpb $0x0, 0x1b1(%rcx)
jne 0x62de0
cmpb $0x1, 0x1b0(%rcx)
jne 0x63d6f
movsd 0x77e0(%rip), %xmm0     # 0x6a5c8
divsd %xmm0, %xmm1
movsd %xmm1, -0x30(%rbp)
divsd %xmm0, %xmm2
movsd %xmm2, -0x38(%rbp)
callq 0x43dce
movslq 0x14(%r14), %rcx
movq 0x8(%r14), %r15
imulq $0x178, %rcx, %rdx      # imm = 0x178
decq %rcx
addq %r15, %rdx
addq $-0xd0, %rdx
movslq 0x114(%rdx), %rsi
movq 0x5c38(%rax), %rax
imulq $0x3700, %rsi, %rsi     # imm = 0x3700
movsd 0x3020(%rax,%rsi), %xmm0
movsd -0x30(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd -0x38(%rbp), %xmm3
divsd %xmm0, %xmm3
movl 0x28(%r14), %edi
movq %r15, %rsi
incl %edi
je 0x62eb3
movq 0x8(%r15), %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 %xmm0, %xmm2
subsd 0xb8(%rsi,%rax), %xmm1
addsd -0x50(%rbp), %xmm2
subsd %xmm1, %xmm3
movsd %xmm2, -0x50(%rbp)
addsd -0x48(%rbp), %xmm3
movsd %xmm3, -0x48(%rbp)
movsd 0x1130(%r15,%r12), %xmm0
movsd %xmm0, -0x30(%rbp)
movsd %xmm0, -0x58(%rbp)
mulsd %xmm3, %xmm3
mulsd %xmm2, %xmm2
addsd %xmm3, %xmm2
xorps %xmm0, %xmm0
sqrtsd %xmm2, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x43dce
movq 0x5c38(%rax), %rax
movslq 0x11e4(%r15,%r12), %rcx
imulq $0x3700, %rcx, %rcx     # imm = 0x3700
movsd -0x30(%rbp), %xmm0
mulsd 0x3020(%rax,%rcx), %xmm0
mulsd 0x7681(%rip), %xmm0     # 0x6a5d0
movsd -0x38(%rbp), %xmm1
ucomisd %xmm0, %xmm1
movq 0x8(%r14), %r15
jbe 0x63c1f
cmpb $0x1, 0x1244(%r15,%r12)
jne 0x63c1f
addq %r12, %r15
addq $0x10d0, %r15           # imm = 0x10D0
leaq -0x50(%rbp), %rdi
callq 0xe702
movq 0x8(%r14), %rcx
movl 0x1188(%rcx,%r12), %eax
movsd 0x1190(%rcx,%r12), %xmm1
movsd 0x60be(%rip), %xmm2     # 0x69060
ucomisd %xmm0, %xmm2
jbe 0x63d79
movsd 0x60bc(%rip), %xmm3     # 0x69070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x62fb4
jmp 0x63d9d
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x59a22
mulsd 0x6066(%rip), %xmm0     # 0x69050
divsd 0x6056(%rip), %xmm0     # 0x69048
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 0xf53c
movq (%r14), %rax
movl 0x14(%rax), %edx
movl 0x18(%rax), %ecx
cmpl %ecx, 0x54(%rbx)
jne 0x633be
cmpl %edx, 0x50(%rbx)
jne 0x633be
movsd 0x48(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x63313
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 0x49360
movq %rax, %r15
callq 0x49360
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movq -0x60(%rbp), %r12
maxsd 0x3168(%r15), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rcx
movq 0x8(%r14), %rax
imulq $0x178, %rcx, %rcx      # imm = 0x178
addsd -0x20(%rax,%rcx), %xmm0
jmp 0x63336
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x59a22
mulsd 0x5ebe(%rip), %xmm0     # 0x69050
divsd 0x5eae(%rip), %xmm0     # 0x69048
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 0xf53c
movq (%r14), %rax
movl 0x14(%rax), %edx
movl 0x18(%rax), %ecx
cmpl %ecx, 0x54(%rbx)
jne 0x63619
cmpl %edx, 0x50(%rbx)
jne 0x63619
movsd 0x48(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x6356e
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 0x49360
movq %rax, %r15
callq 0x49360
imulq $0x178, %r13, %rcx      # imm = 0x178
movq %rbx, %r13
movq -0x68(%rbp), %rbx
movsd -0x38(%rcx,%r12), %xmm1
movq -0x60(%rbp), %r12
maxsd 0x3168(%r15), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rcx
movq 0x8(%r14), %rax
imulq $0x178, %rcx, %rcx      # imm = 0x178
addsd -0x20(%rax,%rcx), %xmm0
jmp 0x63591
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x59a22
movq 0x8(%r14), %rax
movsd -0x30(%rbp), %xmm3
addsd %xmm0, %xmm3
addq %r12, %rax
addq $0xa8, %rax
movl 0x28(%r14), %ecx
movsd 0x18(%r14), %xmm0
movsd 0x5d06(%rip), %xmm1     # 0x69060
ucomisd %xmm3, %xmm1
jbe 0x63374
movsd 0x5d08(%rip), %xmm2     # 0x69070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x63368
jmp 0x63398
ucomisd 0x5ccc(%rip), %xmm3     # 0x69048
jb 0x63398
movsd 0x5ce2(%rip), %xmm1     # 0x69068
movsd 0x5cba(%rip), %xmm2     # 0x69048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x6338e
movsd %xmm3, 0xb0(%rax)
movl %ecx, 0xb8(%rax)
movsd %xmm0, 0xc0(%rax)
movb $0x0, 0x174(%rax)
movq (%r14), %rax
movl 0x14(%rax), %edx
movl 0x18(%rax), %ecx
cmpl %ecx, 0x64(%rbx)
jne 0x63451
cmpl %edx, 0x60(%rbx)
jne 0x63451
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 0x5c66(%rip), %xmm2     # 0x69060
ucomisd %xmm0, %xmm2
jbe 0x63414
movsd 0x5c68(%rip), %xmm3     # 0x69070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x63408
jmp 0x63438
ucomisd 0x5c2c(%rip), %xmm0     # 0x69048
jb 0x63438
movsd 0x5c42(%rip), %xmm2     # 0x69068
movsd 0x5c1a(%rip), %xmm3     # 0x69048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x6342e
movsd %xmm0, 0x98(%rdx)
movl %esi, 0xa0(%rdx)
movsd %xmm1, 0xa8(%rdx)
movl 0x14(%rax), %edx
cmpl %ecx, 0x88(%rbx)
jne 0x63877
cmpl %edx, 0x84(%rbx)
jne 0x63877
movq 0x8(%r14), %rdx
leaq 0xa8(%rdx), %r12
cmpb $0x1, 0x80(%rbx)
jne 0x63559
movsd 0xa0(%rbx), %xmm0
movsd %xmm0, -0x38(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x637b4
cmpl $0xa, %eax
movl $0xa, %ecx
cmovll %eax, %ecx
movq 0x8(%rdx), %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), %rax
movq %rax, -0x70(%rbp)
callq 0x49360
movq %rax, %r15
callq 0x49360
imulq $0x178, -0x70(%rbp), %rcx # imm = 0x178
movsd -0x38(%rcx,%r13), %xmm1
movq -0x30(%rbp), %r13
maxsd 0x3168(%r15), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x637cf
movq -0x60(%rbp), %rdx
movb $0x0, 0x110(%r12,%rdx)
movq %rdx, %r12
jmp 0x63877
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%rcx), %rdi
addq $-0xd0, %rdi
callq 0x59a22
movq 0x8(%r14), %rax
movsd -0x30(%rbp), %xmm3
addsd %xmm0, %xmm3
addq %r12, %rax
addq $0x10d0, %rax           # imm = 0x10D0
movl 0x28(%r14), %ecx
movsd 0x18(%r14), %xmm0
movsd 0x5aab(%rip), %xmm1     # 0x69060
ucomisd %xmm3, %xmm1
jbe 0x635cf
movsd 0x5aad(%rip), %xmm2     # 0x69070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x635c3
jmp 0x635f3
ucomisd 0x5a71(%rip), %xmm3     # 0x69048
jb 0x635f3
movsd 0x5a87(%rip), %xmm1     # 0x69068
movsd 0x5a5f(%rip), %xmm2     # 0x69048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x635e9
movsd %xmm3, 0xb0(%rax)
movl %ecx, 0xb8(%rax)
movsd %xmm0, 0xc0(%rax)
movb $0x0, 0x174(%rax)
movq (%r14), %rax
movl 0x14(%rax), %edx
movl 0x18(%rax), %ecx
cmpl %ecx, 0x64(%rbx)
jne 0x636ac
cmpl %edx, 0x60(%rbx)
jne 0x636ac
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 0x5a0b(%rip), %xmm2     # 0x69060
ucomisd %xmm0, %xmm2
jbe 0x6366f
movsd 0x5a0d(%rip), %xmm3     # 0x69070
addsd %xmm3, %xmm0
ucomisd %xmm0, %xmm2
ja 0x63663
jmp 0x63693
ucomisd 0x59d1(%rip), %xmm0     # 0x69048
jb 0x63693
movsd 0x59e7(%rip), %xmm2     # 0x69068
movsd 0x59bf(%rip), %xmm3     # 0x69048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x63689
movsd %xmm0, 0x98(%rdx)
movl %esi, 0xa0(%rdx)
movsd %xmm1, 0xa8(%rdx)
movl 0x14(%rax), %edx
cmpl %ecx, 0x88(%rbx)
jne 0x63a65
cmpl %edx, 0x84(%rbx)
jne 0x63a65
cmpb $0x1, 0x80(%rbx)
jne 0x63a65
movq 0x8(%r14), %r15
movsd 0xa0(%rbx), %xmm0
movsd %xmm0, -0x38(%rbp)
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x639b2
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 0x49360
movq %r15, -0x70(%rbp)
movq %rax, %r15
callq 0x49360
imulq $0x178, %r12, %rcx      # imm = 0x178
movq -0x60(%rbp), %r12
movsd -0x38(%rcx,%r13), %xmm1
movq -0x30(%rbp), %r13
maxsd 0x3168(%r15), %xmm1
movq -0x70(%rbp), %r15
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
movslq 0x14(%r14), %rax
movq 0x8(%r14), %rcx
imulq $0x178, %rax, %rax      # imm = 0x178
addsd -0x20(%rcx,%rax), %xmm0
jmp 0x639cd
movslq 0x14(%r14), %rax
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%r12), %rdi
addq $-0x178, %rdi           # imm = 0xFE88
callq 0x59a22
movsd -0x38(%rbp), %xmm3
addsd %xmm0, %xmm3
addq -0x60(%rbp), %r12
movl 0x28(%r14), %eax
movsd 0x18(%r14), %xmm0
movsd 0x5872(%rip), %xmm1     # 0x69060
ucomisd %xmm3, %xmm1
jbe 0x63808
movsd 0x5874(%rip), %xmm2     # 0x69070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x637fc
jmp 0x6382c
ucomisd 0x5838(%rip), %xmm3     # 0x69048
jb 0x6382c
movsd 0x584e(%rip), %xmm1     # 0x69068
movsd 0x5826(%rip), %xmm2     # 0x69048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x63822
movq $-0x1, 0xd0(%r12)
movq $0x0, 0xd8(%r12)
movsd %xmm3, 0xe0(%r12)
movl %eax, 0xe8(%r12)
movsd %xmm0, 0xf0(%r12)
movq 0x8(%r14), %rax
movq -0x60(%rbp), %r12
movb $0x1, 0x1b8(%rax,%r12)
movq (%r14), %rax
movl 0x18(%rax), %ecx
cmpl %ecx, 0x70(%rbx)
jne 0x638e8
movl 0x14(%rax), %edx
cmpl %edx, 0x6c(%rbx)
jne 0x638e8
movq 0x8(%r14), %rdx
leaq (%rdx,%r12), %r15
addq $0x170, %r15            # imm = 0x170
cmpb $0x1, 0x68(%rbx)
jne 0x638e1
cmpl $0x0, (%r15)
jne 0x638b3
callq 0x49360
movl 0x3320(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rdx
leaq (%rdx,%r12), %rdi
addq $0xa8, %rdi
xorpd %xmm0, %xmm0
leaq -0x50(%rbp), %rsi
movapd %xmm0, (%rsi)
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf53c
movq (%r14), %rax
movl 0x18(%rax), %ecx
jmp 0x638e8
movl $0x0, (%r15)
cmpl %ecx, 0x94(%rbx)
jne 0x6395f
movl 0x14(%rax), %ecx
cmpl %ecx, 0x90(%rbx)
jne 0x6395f
movq 0x8(%r14), %rcx
leaq (%rcx,%r12), %r15
addq $0x1cc, %r15            # imm = 0x1CC
cmpb $0x1, 0x8c(%rbx)
jne 0x63958
cmpl $0x0, (%r15)
jne 0x6392d
callq 0x49360
movl 0x33e8(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rcx
leaq (%rcx,%r12), %rdi
addq $0xa8, %rdi
xorpd %xmm0, %xmm0
leaq -0x50(%rbp), %rsi
movapd %xmm0, (%rsi)
movl 0x28(%r14), %edx
movsd 0x18(%r14), %xmm0
callq 0xf53c
movq (%r14), %rax
jmp 0x6395f
movl $0x0, (%r15)
movq 0x8(%r14), %rcx
movl 0xc0(%rax,%r13,4), %edx
movl 0x218(%rcx,%r12), %esi
testl %esi, %esi
je 0x63981
cmpl $0x2, %edx
jne 0x6398e
cmpl $0x1, %esi
jne 0x6398e
leaq (%rcx,%r12), %rsi
addq $0x218, %rsi            # imm = 0x218
movl %edx, (%rsi)
movl 0x7c(%rbx), %edx
cmpl 0x18(%rax), %edx
jne 0x63ba1
movl 0x14(%rax), %eax
cmpl %eax, 0x78(%rbx)
jne 0x63ba1
addq $0xa8, %rcx
jmp 0x63b90
movslq 0x14(%r14), %rax
imulq $0x178, %rax, %rax      # imm = 0x178
leaq (%rax,%r15), %rdi
addq $-0xd0, %rdi
callq 0x59a22
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 0x566e(%rip), %xmm1     # 0x69060
ucomisd %xmm3, %xmm1
jbe 0x63a0c
movsd 0x5670(%rip), %xmm2     # 0x69070
addsd %xmm2, %xmm3
ucomisd %xmm3, %xmm1
ja 0x63a00
jmp 0x63a30
ucomisd 0x5634(%rip), %xmm3     # 0x69048
jb 0x63a30
movsd 0x564a(%rip), %xmm1     # 0x69068
movsd 0x5622(%rip), %xmm2     # 0x69048
addsd %xmm1, %xmm3
ucomisd %xmm2, %xmm3
jae 0x63a26
movq $-0x1, 0xd0(%rax)
movq $0x0, 0xd8(%rax)
movsd %xmm3, 0xe0(%rax)
movl %ecx, 0xe8(%rax)
movsd %xmm0, 0xf0(%rax)
movq (%r14), %rax
movl 0x14(%rax), %edx
movl 0x18(%rax), %ecx
cmpl %ecx, 0x70(%rbx)
jne 0x63ad3
cmpl %edx, 0x6c(%rbx)
jne 0x63ad3
movq 0x8(%r14), %rdx
leaq (%rdx,%r12), %r15
addq $0x1198, %r15           # imm = 0x1198
cmpb $0x1, 0x68(%rbx)
jne 0x63acc
cmpl $0x0, (%r15)
jne 0x63a9e
callq 0x49360
movl 0x3320(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rdx
leaq (%rdx,%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 0xf53c
movq (%r14), %rax
movl 0x18(%rax), %ecx
jmp 0x63ad3
movl $0x0, (%r15)
cmpl %ecx, 0x94(%rbx)
jne 0x63b4a
movl 0x14(%rax), %ecx
cmpl %ecx, 0x90(%rbx)
jne 0x63b4a
movq 0x8(%r14), %rcx
leaq (%rcx,%r12), %r15
addq $0x11f4, %r15           # imm = 0x11F4
cmpb $0x1, 0x8c(%rbx)
jne 0x63b43
cmpl $0x0, (%r15)
jne 0x63b18
callq 0x49360
movl 0x33e8(%rax), %eax
decl %eax
movl %eax, (%r15)
movq 0x8(%r14), %rcx
leaq (%rcx,%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 0xf53c
movq (%r14), %rax
jmp 0x63b4a
movl $0x0, (%r15)
movq 0x8(%r14), %rcx
movl 0xec(%rax,%r13,4), %edx
movl 0x1240(%rcx,%r12), %esi
testl %esi, %esi
je 0x63b6c
cmpl $0x2, %edx
jne 0x63b79
cmpl $0x1, %esi
jne 0x63b79
leaq (%rcx,%r12), %rsi
addq $0x1240, %rsi           # imm = 0x1240
movl %edx, (%rsi)
movl 0x7c(%rbx), %edx
cmpl 0x18(%rax), %edx
jne 0x63ba1
movl 0x14(%rax), %eax
cmpl %eax, 0x78(%rbx)
jne 0x63ba1
addq $0x10d0, %rcx           # imm = 0x10D0
movb 0x74(%rbx), %al
imulq $0x178, %r13, %rdx      # imm = 0x178
movb %al, 0x111(%rcx,%rdx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x43dce
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 0x63cda
movq 0x8(%r14), %rax
movb $0x1, 0x21c(%rax,%r12)
jmp 0x63cda
movsd -0x50(%rbp), %xmm0
movsd -0x48(%rbp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x43dce
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 0x63db6
movq 0x8(%r14), %rax
movb $0x1, 0x1244(%rax,%r12)
jmp 0x63db6
movsd %xmm1, -0x30(%rbp)
movsd %xmm0, -0x38(%rbp)
jmp 0x6280c
ucomisd 0x53a3(%rip), %xmm0     # 0x69048
jb 0x63cc1
movsd 0x53b9(%rip), %xmm2     # 0x69068
movsd 0x5391(%rip), %xmm3     # 0x69048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x63cb7
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
sqrtsd %xmm0, %xmm0
ucomisd -0x58(%rbp), %xmm0
jbe 0x63d23
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq 0xe702
leaq -0x78(%rbp), %rsi
movsd %xmm0, (%rsi)
leaq -0x58(%rbp), %rdi
callq 0x67752
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
callq 0x43dce
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 0x6305c
movsd %xmm1, -0x30(%rbp)
jmp 0x62df5
ucomisd 0x52c7(%rip), %xmm0     # 0x69048
jb 0x63d9d
movsd 0x52dd(%rip), %xmm2     # 0x69068
movsd 0x52b5(%rip), %xmm3     # 0x69048
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jae 0x63d93
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
sqrtsd %xmm0, %xmm0
ucomisd -0x58(%rbp), %xmm0
jbe 0x63dff
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq 0xe702
leaq -0x78(%rbp), %rsi
movsd %xmm0, (%rsi)
leaq -0x58(%rbp), %rdi
callq 0x67752
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
movq 0x8(%r14), %r15
callq 0x43dce
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 0x63204
nop