// File: wrighteagle2d[P]wrighteaglebase/Debug/../src/WorldState.cpp
// Function: WorldStateUpdater::UpdateSpecificUnknownPlayer(UnknownPlayerObserver const&, int, bool)
void WorldStateUpdater::UpdateSpecificUnknownPlayer(
    const UnknownPlayerObserver &player, Unum unum, bool is_teammate) {
  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 (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" << GetTeammate(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" <<
        //GetTeammate(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);
      }
    }

    //既然不知道这个队员,直接置０
    Teammate(unum).UpdateFoulChargedCycle(0);

    //是否铲球
    if (player.IsKnownSide()) {
      if (player.GetIsTackling().time() == mpObserver->LatestSightTime()) {
        if (player.IsTackling()) {
          if (Teammate(unum).GetTackleBan() == 0) {
            Teammate(unum).UpdateTackleBan(
                ServerParam::instance().tackleCycles() - 1);
          }
          // tackle 速度一定为0
          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);
        }
      }
      //是否上周期踢过球
      if (player.GetIsKicked().time() == mpObserver->LatestSightTime()) {
        Teammate(unum).UpdateKicked(player.IsKicked());
      }

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

  } 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 (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" << GetOpponent(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" <<
        //GetOpponent(unum).GetBodyDir() << "\n";
        if (vel.Mod() > max_speed) {
          vel = Polar2Vector(max_speed, vel.Dir());
        }
        vel *= GetOpponent(unum).GetPlayerDecay();

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

    //既然不知道这个队员,置０
    Opponent(unum).UpdateFoulChargedCycle(0);

    //是否铲球
    if (player.IsKnownSide()) {
      if (player.GetIsTackling().time() == mpObserver->LatestSightTime()) {
        if (player.IsTackling()) {
          if (Opponent(unum).GetTackleBan() == 0) {
            Opponent(unum).UpdateTackleBan(
                ServerParam::instance().tackleCycles() - 1);
          }
          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);
        }
      }
      //是否上周期踢过球
      if (player.GetIsKicked().time() == mpObserver->LatestSightTime()) {
        Opponent(unum).UpdateKicked(player.IsKicked());
      }

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3c0, %rsp            # imm = 0x3C0
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x220(%rbp)
testb $0x1, -0x15(%rbp)
je 0xb8fe7
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
movl $0x1, %esi
callq 0x288a0
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
xorl %esi, %esi
callq 0xbc810
movq -0x10(%rbp), %rdi
callq 0xbd1d0
movq %rax, %rdi
callq 0x28aa0
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x228(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x228(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb8659
jmp 0xb87a9
callq 0x798a0
movq %rax, -0x248(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbd3a0
movq -0x248(%rbp), %rdi
movsd (%rax), %xmm0
callq 0xbd220
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x30(%rbp)
movl 0x28(%rdi), %esi
callq 0xbd3c0
movsd %xmm0, -0x240(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbd470
movsd -0x240(%rbp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x112c0
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x28(%rbp)
movsd %xmm1, -0x20(%rbp)
callq 0xbcea0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, %rdi
leaq -0x28(%rbp), %rsi
callq 0x11360
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x48(%rbp)
movsd %xmm1, -0x40(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
movq -0x220(%rbp), %rax
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0x28(%rbp), %rsi
callq 0x142f0
callq 0x798a0
movq %rax, -0x238(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbd3a0
movq -0x238(%rbp), %rdi
movsd (%rax), %xmm0
callq 0xbca60
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x230(%rbp)
callq 0xbc740
movq %rax, %rdi
addq $0x8, %rdi
callq 0xbcf40
movsd -0x230(%rbp), %xmm0
movq -0x220(%rbp), %rdi
addsd (%rax), %xmm0
movsd %xmm0, -0x50(%rbp)
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
addq $0x8, %rdi
movsd -0x50(%rbp), %xmm0
callq 0xbc830
movq -0x220(%rbp), %rax
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
callq 0xab550
cmpq $0x0, %rax
je 0xb8cbb
movq -0x220(%rbp), %rax
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
callq 0xab550
movq %rax, %rdi
leaq -0x14(%rbp), %rsi
callq 0x1a9d0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x1ddd0
movq -0x220(%rbp), %rdx
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %eax
movl $0x9, %ecx
subl 0x28(%rdx), %ecx
cmpl %ecx, %eax
jge 0xb8cb9
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x250(%rbp)
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
addl -0x54(%rbp), %esi
callq 0xab550
movq %rax, %rdi
leaq -0x14(%rbp), %rsi
callq 0x1a9d0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq -0x250(%rbp), %rdi
movq %rax, %rsi
callq 0x110a0
movsd %xmm0, -0x68(%rbp)
movsd %xmm1, -0x60(%rbp)
movl -0x54(%rbp), %eax
addl $0x1, %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x70(%rbp)
leaq -0x68(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x98290
movq -0x220(%rbp), %rdi
movl 0x28(%rdi), %esi
callq 0xbd4f0
movq -0x220(%rbp), %rax
movsd %xmm0, -0x80(%rbp)
movsd %xmm1, -0x78(%rbp)
movq (%rax), %rdi
callq 0x119d0
movq %rax, %rdi
callq 0xbcec0
testb $0x1, %al
jne 0xb890b
movq -0x220(%rbp), %rax
movq (%rax), %rdi
callq 0x119d0
movq %rax, %rdi
callq 0xbcee0
testb $0x1, %al
jne 0xb890b
movq -0x220(%rbp), %rax
movq (%rax), %rdi
callq 0x119d0
movq %rax, %rdi
callq 0xbd600
testb $0x1, %al
jne 0xb890b
jmp 0xb892b
movsd 0xac6d(%rip), %xmm0     # 0xc3580
movsd %xmm0, -0x88(%rbp)
leaq -0x80(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x98290
callq 0x798a0
movq -0x220(%rbp), %rdi
movq %rax, -0x280(%rbp)
callq 0xbc740
movq %rax, %rdi
callq 0x10a60
movq -0x280(%rbp), %rdi
movl %eax, -0x8c(%rbp)
leaq -0x8c(%rbp), %rsi
callq 0x129d0
movq %rax, %rdi
callq 0x12fe0
movq %rax, %rsi
leaq -0x80(%rbp), %rdi
callq 0x98290
movq -0x220(%rbp), %rdi
callq 0xbc740
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x270(%rbp)
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
callq 0xab550
movq -0x220(%rbp), %rdi
movq %rax, -0x278(%rbp)
callq 0xbd620
movq -0x278(%rbp), %rdi
movl %eax, -0xa4(%rbp)
leaq -0xa4(%rbp), %rsi
callq 0x1a9d0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq -0x270(%rbp), %rdi
movq %rax, %rsi
callq 0x110a0
movsd %xmm0, -0xa0(%rbp)
movsd %xmm1, -0x98(%rbp)
leaq -0x80(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x110a0
movsd %xmm0, -0xb8(%rbp)
movsd %xmm1, -0xb0(%rbp)
leaq -0x68(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x32ae0
callq 0x798a0
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x268(%rbp)
movq (%rax), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7b0
movq -0x268(%rbp), %rdi
movq %rax, %rsi
callq 0x129d0
movq %rax, %rdi
callq 0x29430
movsd (%rax), %xmm0
movsd %xmm0, -0xc0(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x104e0
movq -0x220(%rbp), %rax
movsd %xmm0, -0x258(%rbp)
movsd -0xc0(%rbp), %xmm0
movsd %xmm0, -0x260(%rbp)
movq 0x8(%rax), %rdi
leaq -0x14(%rbp), %rsi
callq 0x12520
movq %rax, %rdi
callq 0x11740
movsd -0x260(%rbp), %xmm1
movsd -0x258(%rbp), %xmm0
mulsd (%rax), %xmm1
movsd 0x9a44(%rip), %xmm2     # 0xc2518
mulsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe 0xb8b79
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbd640
movq %rax, %rdi
callq 0xbd670
testb $0x1, %al
jne 0xb8aff
jmp 0xb8b79
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, -0x298(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x10520
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x288(%rbp)
movl -0x14(%rbp), %esi
callq 0xbd640
movq %rax, %rdi
callq 0x5c650
movq -0x220(%rbp), %rdi
movl %eax, -0x28c(%rbp)
movl -0x14(%rbp), %esi
callq 0xbd640
movq %rax, %rdi
callq 0x32a60
movq -0x298(%rbp), %rdi
movl -0x28c(%rbp), %esi
movaps %xmm0, %xmm1
movsd -0x288(%rbp), %xmm0
callq 0x77ef0
jmp 0xb8bee
leaq -0x68(%rbp), %rdi
callq 0x104e0
movq -0x220(%rbp), %rax
movsd %xmm0, -0x2a0(%rbp)
movsd -0xc0(%rbp), %xmm0
movsd %xmm0, -0x2a8(%rbp)
movq 0x8(%rax), %rdi
leaq -0x14(%rbp), %rsi
callq 0x12520
movq %rax, %rdi
callq 0x11740
movsd -0x2a8(%rbp), %xmm0
movsd -0x2a0(%rbp), %xmm1
mulsd (%rax), %xmm0
ucomisd %xmm1, %xmm0
jb 0xb8bec
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
movl $0x1, %esi
callq 0xbd690
jmp 0xb8bee
leaq -0x68(%rbp), %rdi
callq 0x104e0
ucomisd -0xc0(%rbp), %xmm0
jbe 0xb8c4b
leaq -0x68(%rbp), %rdi
callq 0x10520
movsd %xmm0, -0xd8(%rbp)
leaq -0xc0(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x112c0
movsd %xmm0, -0xd0(%rbp)
movsd %xmm1, -0xc8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x60(%rbp)
callq 0x798a0
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x2b0(%rbp)
movq (%rax), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7b0
movq -0x2b0(%rbp), %rdi
movq %rax, %rsi
callq 0x129d0
movq %rax, %rdi
callq 0x12fe0
movq %rax, %rsi
leaq -0x68(%rbp), %rdi
callq 0x113f0
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
movq -0x220(%rbp), %rax
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0x68(%rbp), %rsi
callq 0x142a0
jmp 0xb8cbb
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
xorl %esi, %esi
callq 0x78180
movq -0x10(%rbp), %rdi
callq 0xbdfd0
testb $0x1, %al
jne 0xb8ce6
jmp 0xb8fe2
movq -0x10(%rbp), %rdi
callq 0xbe010
movq %rax, %rdi
callq 0xbd760
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x2b8(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x2b8(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb8d28
jmp 0xb8e0f
movq -0x10(%rbp), %rdi
callq 0xbe030
testb $0x1, (%rax)
je 0xb8df4
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
callq 0x12c40
cmpl $0x0, %eax
jne 0xb8d8a
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, -0x2c0(%rbp)
callq 0x855e0
movq %rax, %rdi
callq 0x78160
movq -0x2c0(%rbp), %rdi
movl %eax, %esi
subl $0x1, %esi
callq 0x78140
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, -0x2c8(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0xf0(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0xf8(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
leaq -0xf8(%rbp), %rdx
callq 0x11a10
movq -0x220(%rbp), %rax
movq -0x2c8(%rbp), %rdi
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0xe8(%rbp), %rsi
callq 0x142a0
jmp 0xb8e0d
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
xorl %esi, %esi
callq 0x78140
jmp 0xb8e0f
movq -0x10(%rbp), %rdi
callq 0xbe050
movq %rax, %rdi
callq 0xbd760
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x2d0(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x2d0(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb8e51
jmp 0xb8f38
movq -0x10(%rbp), %rdi
callq 0xbe070
testb $0x1, (%rax)
je 0xb8f1d
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
callq 0x12c60
cmpl $0x0, %eax
jne 0xb8eb3
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, -0x2d8(%rbp)
callq 0x855e0
movq %rax, %rdi
callq 0x781a0
movq -0x2d8(%rbp), %rdi
movl (%rax), %esi
subl $0x1, %esi
callq 0x78180
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, -0x2e0(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x110(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x118(%rbp)
leaq -0x108(%rbp), %rdi
leaq -0x110(%rbp), %rsi
leaq -0x118(%rbp), %rdx
callq 0x11a10
movq -0x220(%rbp), %rax
movq -0x2e0(%rbp), %rdi
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0x108(%rbp), %rsi
callq 0x142a0
jmp 0xb8f36
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rdi
xorl %esi, %esi
callq 0x78180
jmp 0xb8f38
movq -0x10(%rbp), %rdi
callq 0xbe090
movq %rax, %rdi
callq 0xbd760
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x2e8(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x2e8(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb8f77
jmp 0xb8fa9
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, -0x2f0(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbe0b0
movq -0x2f0(%rbp), %rdi
movb (%rax), %al
andb $0x1, %al
movzbl %al, %esi
callq 0x7d2c0
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc780
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x2f8(%rbp)
movq (%rax), %rdi
movl -0x14(%rbp), %esi
callq 0xbd890
movq -0x2f8(%rbp), %rdi
movl (%rax), %esi
callq 0x78050
jmp 0xb9a14
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
movl $0x1, %esi
callq 0x288a0
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
xorl %esi, %esi
callq 0xbc810
movq -0x10(%rbp), %rdi
callq 0xbd1d0
movq %rax, %rdi
callq 0x28aa0
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x300(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x300(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb905e
jmp 0xb91de
callq 0x798a0
movq %rax, -0x320(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbd3a0
movq -0x320(%rbp), %rdi
movsd (%rax), %xmm0
callq 0xbd220
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x130(%rbp)
movl 0x28(%rdi), %esi
callq 0xbd3c0
movsd %xmm0, -0x318(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbd470
movsd -0x318(%rbp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, -0x138(%rbp)
leaq -0x130(%rbp), %rdi
leaq -0x138(%rbp), %rsi
callq 0x112c0
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x128(%rbp)
movsd %xmm1, -0x120(%rbp)
callq 0xbcea0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, %rdi
leaq -0x128(%rbp), %rsi
callq 0x11360
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x148(%rbp)
movsd %xmm1, -0x140(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x120(%rbp)
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
movq -0x220(%rbp), %rax
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0x128(%rbp), %rsi
callq 0x142f0
callq 0x798a0
movq %rax, -0x310(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbd3a0
movq -0x310(%rbp), %rdi
movsd (%rax), %xmm0
callq 0xbca60
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x308(%rbp)
callq 0xbc740
movq %rax, %rdi
addq $0x8, %rdi
callq 0xbcf40
movsd -0x308(%rbp), %xmm0
movq -0x220(%rbp), %rdi
addsd (%rax), %xmm0
movsd %xmm0, -0x150(%rbp)
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
addq $0x8, %rdi
movsd -0x150(%rbp), %xmm0
callq 0xbc830
movq -0x220(%rbp), %rax
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
callq 0xab550
cmpq $0x0, %rax
je 0xb96eb
movq -0x220(%rbp), %rax
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
callq 0xab550
movq %rax, %rdi
leaq -0x14(%rbp), %rsi
callq 0x5c5b0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x1ddd0
movq -0x220(%rbp), %rdx
movl %eax, -0x154(%rbp)
movl -0x154(%rbp), %eax
movl $0x9, %ecx
subl 0x28(%rdx), %ecx
cmpl %ecx, %eax
jge 0xb96e9
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x328(%rbp)
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
addl -0x154(%rbp), %esi
callq 0xab550
movq %rax, %rdi
leaq -0x14(%rbp), %rsi
callq 0x5c5b0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq -0x328(%rbp), %rdi
movq %rax, %rsi
callq 0x110a0
movsd %xmm0, -0x168(%rbp)
movsd %xmm1, -0x160(%rbp)
movl -0x154(%rbp), %eax
addl $0x1, %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x170(%rbp)
leaq -0x168(%rbp), %rdi
leaq -0x170(%rbp), %rsi
callq 0x98290
movq -0x220(%rbp), %rdi
xorl %esi, %esi
callq 0xbd4f0
movq -0x220(%rbp), %rax
movsd %xmm0, -0x180(%rbp)
movsd %xmm1, -0x178(%rbp)
movq (%rax), %rdi
callq 0x119d0
movq %rax, %rdi
callq 0xbcec0
testb $0x1, %al
jne 0xb9360
movq -0x220(%rbp), %rax
movq (%rax), %rdi
callq 0x119d0
movq %rax, %rdi
callq 0xbcee0
testb $0x1, %al
jne 0xb9360
movq -0x220(%rbp), %rax
movq (%rax), %rdi
callq 0x119d0
movq %rax, %rdi
callq 0xbd600
testb $0x1, %al
jne 0xb9360
jmp 0xb9383
movsd 0xa218(%rip), %xmm0     # 0xc3580
movsd %xmm0, -0x188(%rbp)
leaq -0x180(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x98290
callq 0x798a0
movq -0x220(%rbp), %rdi
movq %rax, -0x350(%rbp)
callq 0xbc740
movq %rax, %rdi
callq 0x10a60
movq -0x350(%rbp), %rdi
movl %eax, -0x18c(%rbp)
leaq -0x18c(%rbp), %rsi
callq 0x129d0
movq %rax, %rdi
callq 0x12fe0
movq %rax, %rsi
leaq -0x180(%rbp), %rdi
callq 0x98290
movq -0x220(%rbp), %rdi
callq 0xbc740
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x340(%rbp)
movq 0x8(%rax), %rdi
movl 0x28(%rax), %esi
addl $0x1, %esi
callq 0xab550
movq -0x220(%rbp), %rdi
movq %rax, -0x348(%rbp)
callq 0xbd620
movq -0x348(%rbp), %rdi
movl %eax, -0x1a4(%rbp)
leaq -0x1a4(%rbp), %rsi
callq 0x1a9d0
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11090
movq -0x340(%rbp), %rdi
movq %rax, %rsi
callq 0x110a0
movsd %xmm0, -0x1a0(%rbp)
movsd %xmm1, -0x198(%rbp)
leaq -0x180(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x110a0
movsd %xmm0, -0x1b8(%rbp)
movsd %xmm1, -0x1b0(%rbp)
leaq -0x168(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x32ae0
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbd900
movq %rax, %rdi
callq 0x1d810
movsd (%rax), %xmm0
movsd %xmm0, -0x1c0(%rbp)
leaq -0x168(%rbp), %rdi
callq 0x104e0
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x330(%rbp)
movsd -0x1c0(%rbp), %xmm0
movsd %xmm0, -0x338(%rbp)
movl -0x14(%rbp), %esi
callq 0xbd900
movq %rax, %rdi
callq 0x11740
movsd -0x338(%rbp), %xmm1
movsd -0x330(%rbp), %xmm0
mulsd (%rax), %xmm1
movsd 0x9006(%rip), %xmm2     # 0xc2518
mulsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe 0xb95ba
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbd900
movq %rax, %rdi
callq 0xbd670
testb $0x1, %al
jne 0xb953d
jmp 0xb95ba
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, -0x368(%rbp)
leaq -0x168(%rbp), %rdi
callq 0x10520
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x358(%rbp)
movl -0x14(%rbp), %esi
callq 0xbd900
movq %rax, %rdi
callq 0x5c650
movq -0x220(%rbp), %rdi
movl %eax, -0x35c(%rbp)
movl -0x14(%rbp), %esi
callq 0xbd900
movq %rax, %rdi
callq 0x32a60
movq -0x368(%rbp), %rdi
movl -0x35c(%rbp), %esi
movaps %xmm0, %xmm1
movsd -0x358(%rbp), %xmm0
callq 0x77ef0
jmp 0xb962d
leaq -0x168(%rbp), %rdi
callq 0x104e0
movq -0x220(%rbp), %rdi
movsd %xmm0, -0x370(%rbp)
movsd -0x1c0(%rbp), %xmm0
movsd %xmm0, -0x378(%rbp)
movl -0x14(%rbp), %esi
callq 0xbd900
movq %rax, %rdi
callq 0x11740
movsd -0x378(%rbp), %xmm0
movsd -0x370(%rbp), %xmm1
mulsd (%rax), %xmm0
ucomisd %xmm1, %xmm0
jb 0xb962b
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
movl $0x1, %esi
callq 0xbd690
jmp 0xb962d
leaq -0x168(%rbp), %rdi
callq 0x104e0
ucomisd -0x1c0(%rbp), %xmm0
jbe 0xb9696
leaq -0x168(%rbp), %rdi
callq 0x10520
movsd %xmm0, -0x1d8(%rbp)
leaq -0x1c0(%rbp), %rdi
leaq -0x1d8(%rbp), %rsi
callq 0x112c0
movsd %xmm0, -0x1d0(%rbp)
movsd %xmm1, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbd900
movq %rax, %rdi
callq 0x11740
movq %rax, %rsi
leaq -0x168(%rbp), %rdi
callq 0x113f0
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
movq -0x220(%rbp), %rax
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0x168(%rbp), %rsi
callq 0x142a0
jmp 0xb96eb
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
xorl %esi, %esi
callq 0x78180
movq -0x10(%rbp), %rdi
callq 0xbdfd0
testb $0x1, %al
jne 0xb9716
jmp 0xb9a12
movq -0x10(%rbp), %rdi
callq 0xbe010
movq %rax, %rdi
callq 0xbd760
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x380(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x380(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb9758
jmp 0xb983f
movq -0x10(%rbp), %rdi
callq 0xbe030
testb $0x1, (%rax)
je 0xb9824
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
callq 0x12c40
cmpl $0x0, %eax
jne 0xb97ba
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, -0x388(%rbp)
callq 0x855e0
movq %rax, %rdi
callq 0x78160
movq -0x388(%rbp), %rdi
movl %eax, %esi
subl $0x1, %esi
callq 0x78140
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, -0x390(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x1f0(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x1f8(%rbp)
leaq -0x1e8(%rbp), %rdi
leaq -0x1f0(%rbp), %rsi
leaq -0x1f8(%rbp), %rdx
callq 0x11a10
movq -0x220(%rbp), %rax
movq -0x390(%rbp), %rdi
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0x1e8(%rbp), %rsi
callq 0x142a0
jmp 0xb983d
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
xorl %esi, %esi
callq 0x78140
jmp 0xb983f
movq -0x10(%rbp), %rdi
callq 0xbe050
movq %rax, %rdi
callq 0xbd760
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x398(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x398(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb9881
jmp 0xb9968
movq -0x10(%rbp), %rdi
callq 0xbe070
testb $0x1, (%rax)
je 0xb994d
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
callq 0x12c60
cmpl $0x0, %eax
jne 0xb98e3
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, -0x3a0(%rbp)
callq 0x855e0
movq %rax, %rdi
callq 0x781a0
movq -0x3a0(%rbp), %rdi
movl (%rax), %esi
subl $0x1, %esi
callq 0x78180
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, -0x3a8(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x210(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x218(%rbp)
leaq -0x208(%rbp), %rdi
leaq -0x210(%rbp), %rsi
leaq -0x218(%rbp), %rdx
callq 0x11a10
movq -0x220(%rbp), %rax
movq -0x3a8(%rbp), %rdi
movl 0x28(%rax), %edx
movsd 0x18(%rax), %xmm0
leaq -0x208(%rbp), %rsi
callq 0x142a0
jmp 0xb9966
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rdi
xorl %esi, %esi
callq 0x78180
jmp 0xb9968
movq -0x10(%rbp), %rdi
callq 0xbe090
movq %rax, %rdi
callq 0xbd760
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x3b0(%rbp)
movq (%rax), %rdi
callq 0xbc870
movq -0x3b0(%rbp), %rdi
movq %rax, %rsi
callq 0x120a0
testb $0x1, %al
jne 0xb99a7
jmp 0xb99d9
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, -0x3b8(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbe0b0
movq -0x3b8(%rbp), %rdi
movb (%rax), %al
andb $0x1, %al
movzbl %al, %esi
callq 0x7d2c0
movq -0x220(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xbc7e0
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x3c0(%rbp)
movq (%rax), %rdi
movl -0x14(%rbp), %esi
callq 0xbd930
movq -0x3c0(%rbp), %rdi
movl (%rax), %esi
callq 0x78050
jmp 0xb9a14
addq $0x3c0, %rsp            # imm = 0x3C0
popq %rbp
retq
nopl (%rax)