// File: /workspace/github_cpp_makefile_star2_O3/wrighteagle2d[P]wrighteaglebase/Debug/../src/Logger.cpp
// Function: SightLogger::Flush()
void SightLogger::Flush() {
  static const double prec = 0.0001;

  if (mHeaderReady && PlayerParam::instance().SaveSightLog()) {
    if (!mHeaderLogged) {
      mHeaderLogged = true;
      os << mHeader << mServerParamMsg << mPlayerParamMsg << mPlayerTypeMsg;

      for (int i = 0; i < mTime.S(); ++i) {
        os << "(show " << 0 << " ((b)" << ' '
           << Quantize(mpBall->GetPos().X(), prec) << ' '
           << Quantize(mpBall->GetPos().Y(), prec) << ' '
           << Quantize(mpBall->GetVel().X(), prec) << ' '
           << Quantize(mpBall->GetVel().Y(), prec) << ')';

        for (char side = 'l'; side <= 'r'; side += 'r' - 'l') {
          for (Unum i = 1; i <= TEAMSIZE; ++i) {
            os << " ((" << side << ' ' << i << ')' << ' ' << 0 << ' ' << "0x0"
               << ' ' << i * 4.0 * (side == 'l' ? -1 : 1) << ' ' << -37.0 << ' '
               << 0 << ' ' << 0 << ' ' << 0 << ' ' << 0 << " (v h " << 60 << ')'
               << " (s " << 0 << ' ' << 0 << ' ' << '1' << ')'
               << " (c 0 0 0 0 0 0 0 0 0 0 0))";
            // end of player
          }
        }
        os << ")\n";
      }
    }

    mSightMutex.Lock();

    if (mServerPlayMode_dirty) {
      mServerPlayMode_dirty = false;
      os << "(playmode " << mTime.T() << ' '
         << ServerPlayModeMap::instance().GetPlayModeString(mServerPlayMode)
         << ")\n";
    }

    if (mTeamState_dirty) {
      mTeamState_dirty = false;
      os << "(team " << mTime.T() << ' '
         << (mLeftName.empty() ? "null" : mLeftName.c_str()) << ' '
         << (mRightName.empty() ? "null" : mRightName.c_str()) << ' '
         << mLeftScore << ' ' << mRightScore << ")\n";
    }

    os << "(show " << mTime.T() << " ((b)" << ' '
       << Quantize(mpBall->GetPos().X(), prec) << ' '
       << Quantize(mpBall->GetPos().Y(), prec) << ' '
       << Quantize(mpBall->GetVel().X(), prec) << ' '
       << Quantize(mpBall->GetVel().Y(), prec) << ')';

    LogBallInfo(*mpBall);

    const PlayerState *p;
    for (char side = 'l'; side <= 'r'; side += 'r' - 'l') {
      for (Unum i = 1; i <= TEAMSIZE; ++i) {
        p = (side == 'l') ? mpLeftTeam[i] : mpRightTeam[i];

        if (p->IsAlive()) {
          LogPlayerInfo(*p);
        }

        os << " ((" << side << ' ' << i << ')' << ' ' << p->GetPlayerType()
           << ' ' << (p->IsAlive() ? (p->IsGoalie() ? "0x9" : "0x1") : "0x0")
           << ' '
           << (p->IsAlive() ? Quantize(p->GetPos().X(), prec)
                            : i * 4.0 * (side == 'l' ? -1 : 1))
           << ' ' << (p->IsAlive() ? Quantize(p->GetPos().Y(), prec) : -37.0)
           << ' ' << Quantize(p->GetVel().X(), prec) << ' '
           << Quantize(p->GetVel().Y(), prec) << ' '
           << Quantize(p->GetBodyDir(), prec) << ' '
           << Quantize(p->GetNeckDir(), prec) << " (v h "
           << sight::ViewAngle(p->GetViewWidth()) << ')' << " (s "
           << p->GetStamina() << ' ' << p->GetEffort() << ' ' << '1' << ')'
           << " (c 0 0 0 0 0 0 0 0 0 0 0))";
        // end of player
      }
    }

    mSightMutex.UnLock();

    os << ")\n";
    os.flush();
  }

  if (PlayerParam::instance().SaveDecLog()) {
    mDecMutex.Lock();
    int time = mTime.S() << 16 | mTime.T();
    if (!points.empty()) {
      for (std::vector<PointShape>::iterator it = points.begin();
           it != points.end(); it++) {
        os << "(draw " << time << ' ' << *it << ")\n";
      }
      points.clear();
    }
    if (!lines.empty()) {
      for (std::vector<LineShape>::iterator it = lines.begin();
           it != lines.end(); it++) {
        os << "(draw " << time << ' ' << *it << ")\n";
      }
      lines.clear();
    }
    if (!circles.empty()) {
      for (std::vector<CircleShape>::iterator it = circles.begin();
           it != circles.end(); it++) {
        os << "(draw " << time << ' ' << *it << ")\n";
      }
      circles.clear();
    }
    mDecMutex.UnLock();
    os.flush();
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r14
cmpb $0x1, 0x2e4(%rdi)
jne 0x3411c
callq 0x43dce
cmpb $0x1, 0x5c43(%rax)
jne 0x3411c
cmpb $0x0, 0x2e5(%r14)
movq %r14, %rbx
movq %r14, -0x38(%rbp)
jne 0x3393c
movb $0x1, 0x2e5(%rbx)
movq 0x260(%rbx), %rsi
movq 0x268(%rbx), %rdx
movq %rbx, %rdi
callq 0x9560
movq 0x280(%rbx), %rsi
movq 0x288(%rbx), %rdx
movq %rax, %rdi
callq 0x9560
movq 0x2a0(%rbx), %rsi
movq 0x2a8(%rbx), %rdx
movq %rax, %rdi
callq 0x9560
movq 0x2c0(%rbx), %rsi
movq 0x2c8(%rbx), %rdx
movq %rax, %rdi
callq 0x9560
cmpl $0x0, 0x2f4(%rbx)
jle 0x3393c
xorl %eax, %eax
leaq -0x29(%rbp), %r12
movl %eax, -0x58(%rbp)
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x37489(%rip), %rsi     # 0x6a9dd
callq 0x9560
movq %rbx, %rdi
xorl %esi, %esi
callq 0x9880
movq %rax, %r15
movl $0x5, %edx
movq %rax, %rdi
leaq 0x3746f(%rip), %rsi     # 0x6a9e4
callq 0x9560
movb $0x20, %r14b
movb %r14b, -0x29(%rbp)
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %r15
movq 0x350(%rbx), %rax
movsd 0x8(%rax), %xmm0
movsd 0x373e0(%rip), %xmm1    # 0x6a988
divsd %xmm1, %xmm0
callq 0x96b0
mulsd 0x373cf(%rip), %xmm0    # 0x6a988
movq %r15, %rdi
callq 0x97d0
movb %r14b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %r15
movq 0x350(%rbx), %rax
movsd 0x10(%rax), %xmm0
divsd 0x3739c(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x3738f(%rip), %xmm0    # 0x6a988
movq %r15, %rdi
callq 0x97d0
movb %r14b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %r15
movq 0x350(%rbx), %rax
movsd 0x30(%rax), %xmm0
divsd 0x3735c(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x3734f(%rip), %xmm0    # 0x6a988
movq %r15, %rdi
callq 0x97d0
movb %r14b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %r15
movq 0x350(%rbx), %rax
movsd 0x38(%rax), %xmm0
divsd 0x3731c(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x3730f(%rip), %xmm0    # 0x6a988
movq %r15, %rdi
callq 0x97d0
movb $0x29, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movb $0x6c, %al
movq %rax, -0x50(%rbp)
movl $0x1, %ebx
movl $0x4, %r14d
movl $0x3, %edx
movq -0x38(%rbp), %r13
movq %r13, %rdi
leaq 0x37331(%rip), %rsi     # 0x6a9ea
callq 0x9560
movq -0x50(%rbp), %r15
movb %r15b, -0x29(%rbp)
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x9560
movb $0x20, %cl
movb %cl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
movl %ebx, -0x48(%rbp)
movl %ebx, %esi
callq 0x9880
movb $0x29, %cl
movb %cl, -0x29(%rbp)
movb $0x20, %bl
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
xorl %esi, %esi
callq 0x9880
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %r13
movl $0x3, %edx
movq %rax, %rdi
leaq 0x3729d(%rip), %rsi     # 0x6a9ee
callq 0x9560
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x9560
movl %r14d, -0x40(%rbp)
cvtsi2sd %r14d, %xmm0
cmpb $0x6c, %r15b
jne 0x33780
xorpd 0x358a0(%rip), %xmm0    # 0x69020
movq %rax, %rdi
callq 0x97d0
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
movsd 0x371ea(%rip), %xmm0    # 0x6a990
callq 0x97d0
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
xorl %esi, %esi
callq 0x9880
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
xorl %esi, %esi
callq 0x9880
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
xorl %esi, %esi
callq 0x9880
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
xorl %esi, %esi
callq 0x9880
movq %rax, %r13
movl $0x6, %edx
movq %rax, %rdi
leaq 0x371c1(%rip), %rsi     # 0x6a9f2
callq 0x9560
movq %r13, %rdi
movl $0x3c, %esi
callq 0x9880
movb $0x29, %cl
movb %cl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %r13
movl $0x4, %edx
movq %rax, %rdi
leaq 0x3718f(%rip), %rsi     # 0x6a9f9
callq 0x9560
movq %r13, %rdi
movb $0x29, %r13b
xorl %esi, %esi
callq 0x9880
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movq %rax, %rdi
xorl %esi, %esi
callq 0x9880
movb %bl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movb $0x31, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movb %r13b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x9560
movl $0x1b, %edx
movq %rax, %rdi
leaq 0x3711b(%rip), %rsi     # 0x6a9fe
callq 0x9560
movl -0x48(%rbp), %ebx
incl %ebx
movl -0x40(%rbp), %r14d
addl $0x4, %r14d
cmpl $0x30, %r14d
jne 0x336a6
movq -0x50(%rbp), %rcx
leal 0x6(%rcx), %eax
cmpb $0x6d, %cl
movq %rax, -0x50(%rbp)
jb 0x3369b
movl $0x2, %edx
movq -0x38(%rbp), %rbx
movq %rbx, %rdi
leaq 0x3732b(%rip), %rsi     # 0x6ac51
callq 0x9560
movl -0x58(%rbp), %eax
incl %eax
cmpl 0x2f4(%rbx), %eax
jl 0x33542
leaq 0x200(%rbx), %rdi
movq %rdi, -0x60(%rbp)
callq 0x4e01a
cmpb $0x1, 0x2ec(%rbx)
movq %rbx, %r14
jne 0x33a06
movb $0x0, 0x2ec(%r14)
leaq 0x370af(%rip), %rsi     # 0x6aa1a
movl $0xa, %edx
movq %r14, %rdi
callq 0x9560
movl 0x2f0(%r14), %esi
movq %r14, %rdi
callq 0x9880
leaq -0x29(%rbp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x9560
movq %r14, %rbx
movq %rax, %r14
callq 0x546f6
movl 0x2e8(%rbx), %esi
movq %rax, %rdi
callq 0x55a98
testq %rax, %rax
je 0x339d4
movq %rax, %r15
movq %rax, %rdi
callq 0x9200
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x9560
jmp 0x339ee
movq (%r14), %rax
movq -0x18(%rax), %rax
movq %r14, %rdi
addq %rax, %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x9860
leaq 0x3725c(%rip), %rsi     # 0x6ac51
movl $0x2, %edx
movq %r14, %rdi
callq 0x9560
movq -0x38(%rbp), %r14
cmpb $0x1, 0x348(%r14)
jne 0x33b75
movb $0x0, 0x348(%r14)
leaq 0x37002(%rip), %rsi     # 0x6aa25
movl $0x6, %edx
movq %r14, %rdi
callq 0x9560
movl 0x2f0(%r14), %esi
movq %r14, %rdi
callq 0x9880
leaq -0x29(%rbp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x9560
movq %r14, %rcx
movq %rax, %r14
cmpq $0x0, 0x310(%rcx)
je 0x33a8b
movq 0x308(%rcx), %r15
testq %r15, %r15
jne 0x33a92
movq (%r14), %rax
movq -0x18(%rax), %rax
movq %r14, %rdi
addq %rax, %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x9860
jmp 0x33aa8
leaq 0x36f9a(%rip), %r15     # 0x6aa2c
movq %r15, %rdi
callq 0x9200
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x9560
leaq -0x29(%rbp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x9560
movq %rax, %r14
movq -0x38(%rbp), %rax
cmpq $0x0, 0x330(%rax)
je 0x33af5
movq 0x328(%rax), %r15
testq %r15, %r15
jne 0x33afc
movq (%r14), %rax
movq -0x18(%rax), %rax
movq %r14, %rdi
addq %rax, %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x9860
jmp 0x33b12
leaq 0x36f30(%rip), %r15     # 0x6aa2c
movq %r15, %rdi
callq 0x9200
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x9560
movb $0x20, %bl
leaq -0x29(%rbp), %r15
movb %bl, (%r15)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x9560
movq -0x38(%rbp), %r14
movl 0x2f8(%r14), %esi
movq %rax, %rdi
callq 0x9880
movb %bl, (%r15)
leaq -0x29(%rbp), %rsi
movl $0x1, %edx
movq %rax, %rdi
callq 0x9560
movl 0x2fc(%r14), %esi
movq %rax, %rdi
callq 0x9880
leaq 0x370e9(%rip), %rsi     # 0x6ac51
movl $0x2, %edx
movq %rax, %rdi
callq 0x9560
leaq 0x36e61(%rip), %rsi     # 0x6a9dd
movl $0x6, %edx
movq %r14, %rdi
callq 0x9560
movl 0x2f0(%r14), %esi
movq %r14, %rdi
callq 0x9880
movq %rax, %r14
leaq 0x36e42(%rip), %rsi     # 0x6a9e4
movl $0x5, %edx
movq %rax, %rdi
callq 0x9560
movb $0x20, %bl
leaq -0x29(%rbp), %r15
movb %bl, (%r15)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x9560
movq %rax, %r14
movq -0x38(%rbp), %rax
movq 0x350(%rax), %rax
movsd 0x8(%rax), %xmm0
divsd 0x36da5(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x36d98(%rip), %xmm0    # 0x6a988
movq %r14, %rdi
callq 0x97d0
movb %bl, (%r15)
leaq -0x29(%rbp), %r14
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
movq %rax, %r12
movq -0x38(%rbp), %rax
movq 0x350(%rax), %rax
movsd 0x10(%rax), %xmm0
divsd 0x36d5e(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x36d51(%rip), %xmm0    # 0x6a988
movq %r12, %rdi
callq 0x97d0
movb %bl, (%r14)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
movq %rax, %r12
movq -0x38(%rbp), %rax
movq 0x350(%rax), %rax
movsd 0x30(%rax), %xmm0
divsd 0x36d1b(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x36d0e(%rip), %xmm0    # 0x6a988
movq %r12, %rdi
callq 0x97d0
movb %bl, (%r14)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
movq %rax, %r12
movq -0x38(%rbp), %rax
movq 0x350(%rax), %rax
movsd 0x38(%rax), %xmm0
divsd 0x36cd8(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x36ccb(%rip), %xmm0    # 0x6a988
movq %r12, %rdi
movb $0x20, %r12b
callq 0x97d0
movb $0x29, (%r14)
movq -0x38(%rbp), %r14
leaq -0x29(%rbp), %rsi
movl $0x1, %edx
movq %rax, %rdi
callq 0x9560
movq 0x350(%r14), %rsi
movq %r14, %rdi
callq 0x34326
leaq 0x3b0(%r14), %rax
movq %rax, -0x58(%rbp)
movb $0x6c, %r15b
movl $0x4, -0x40(%rbp)
movq $-0xb, -0x48(%rbp)
movq -0x58(%rbp), %rbx
movq %r15, -0x50(%rbp)
leaq -0x58(%rbx), %rax
cmpb $0x6c, %r15b
cmovneq %rbx, %rax
movq (%rax), %r13
cmpb $0x1, 0x112(%r13)
jne 0x33d39
movq %r14, %rdi
movq %r13, %rsi
callq 0x3452a
movl $0x3, %edx
movq %r14, %rdi
leaq 0x36ca2(%rip), %rsi     # 0x6a9ea
callq 0x9560
movb %r15b, -0x29(%rbp)
movl $0x1, %edx
movq %r14, %rdi
leaq -0x29(%rbp), %r14
movq %r14, %rsi
callq 0x9560
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
movq -0x48(%rbp), %rcx
leal 0xc(%rcx), %esi
movq %rax, %rdi
callq 0x9880
movb $0x29, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
movl 0x114(%r13), %esi
movq %rax, %rdi
callq 0x9880
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
movq %rax, %r14
cmpb $0x1, 0x112(%r13)
leaq 0x36c09(%rip), %rsi     # 0x6a9ee
jne 0x33e01
cmpb $0x0, 0x175(%r13)
leaq 0x36c3f(%rip), %rsi     # 0x6aa35
leaq 0x36c34(%rip), %rax     # 0x6aa31
cmovneq %rax, %rsi
movl $0x3, %edx
movq %r14, %rdi
callq 0x9560
movb $0x20, -0x29(%rbp)
movl $0x1, %edx
movq %r14, %rdi
leaq -0x29(%rbp), %rsi
callq 0x9560
movq %rax, %r14
cmpb $0x1, 0x112(%r13)
jne 0x33e51
movsd 0x8(%r13), %xmm0
movsd 0x36b4a(%rip), %xmm1    # 0x6a988
divsd %xmm1, %xmm0
callq 0x96b0
mulsd 0x36b39(%rip), %xmm0    # 0x6a988
jmp 0x33e64
cvtsi2sdl -0x40(%rbp), %xmm0
cmpb $0x6c, %r15b
jne 0x33e64
xorpd 0x351bc(%rip), %xmm0    # 0x69020
movq %r14, %rdi
callq 0x97d0
movb $0x20, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0x29(%rbp), %rsi
callq 0x9560
movq %rax, %r14
cmpb $0x1, 0x112(%r13)
movsd 0x36afc(%rip), %xmm0    # 0x6a990
jne 0x33eb5
movsd 0x10(%r13), %xmm0
movsd 0x36ae4(%rip), %xmm1    # 0x6a988
divsd %xmm1, %xmm0
callq 0x96b0
mulsd 0x36ad3(%rip), %xmm0    # 0x6a988
movq %r14, %rdi
callq 0x97d0
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0x29(%rbp), %r15
movq %r15, %rsi
callq 0x9560
movq %rax, %r14
movsd 0x30(%r13), %xmm0
movsd 0x36aa2(%rip), %xmm1    # 0x6a988
divsd %xmm1, %xmm0
callq 0x96b0
mulsd 0x36a91(%rip), %xmm0    # 0x6a988
movq %r14, %rdi
callq 0x97d0
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movq %rax, %r14
movsd 0x38(%r13), %xmm0
divsd 0x36a64(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x36a57(%rip), %xmm0    # 0x6a988
movq %r14, %rdi
callq 0x97d0
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movq %rax, %r14
movsd 0xb0(%r13), %xmm0
divsd 0x36a27(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x36a1a(%rip), %xmm0    # 0x6a988
movq %r14, %rdi
callq 0x97d0
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movq %rax, %r14
callq 0x49360
movq %rax, %r12
callq 0x49360
movsd 0x98(%r13), %xmm1
maxsd 0x3168(%r12), %xmm1
movsd 0x3160(%rax), %xmm0
minsd %xmm1, %xmm0
divsd 0x369c7(%rip), %xmm0    # 0x6a988
callq 0x96b0
mulsd 0x369ba(%rip), %xmm0    # 0x6a988
movq %r14, %rdi
callq 0x97d0
movq %rax, %r14
movl $0x6, %edx
movq %rax, %rdi
leaq 0x36a0a(%rip), %rsi     # 0x6a9f2
callq 0x9560
movl 0x118(%r13), %eax
decl %eax
movsd 0x350b2(%rip), %xmm0    # 0x690b0
cmpl $0x2, %eax
ja 0x34011
movl %eax, %eax
leaq 0x36adc(%rip), %rcx     # 0x6aae8
movsd (%rcx,%rax,8), %xmm0
movq %r14, %rdi
callq 0x97d0
movb $0x29, %cl
movb %cl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movq %rax, %r14
movl $0x4, %edx
movq %rax, %rdi
leaq 0x369b9(%rip), %rsi     # 0x6a9f9
callq 0x9560
movsd 0x78(%r13), %xmm0
movq %r14, %rdi
callq 0x97d0
movb $0x20, %r12b
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movsd 0x80(%r13), %xmm0
movq %rax, %rdi
callq 0x97d0
movb %r12b, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movb $0x31, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movb $0x29, %cl
movb %cl, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x9560
movl $0x1b, %edx
movq %rax, %rdi
leaq 0x36937(%rip), %rsi     # 0x6a9fe
callq 0x9560
addl $0x4, -0x40(%rbp)
addq $0x8, %rbx
incq -0x48(%rbp)
movq -0x38(%rbp), %r14
movq -0x50(%rbp), %r15
jne 0x33d15
leal 0x6(%r15), %eax
cmpb $0x6d, %r15b
movl %eax, %r15d
jb 0x33cfe
movq -0x60(%rbp), %rdi
callq 0x4e036
leaq 0x36b4a(%rip), %rsi     # 0x6ac51
movl $0x2, %edx
movq %r14, %rdi
callq 0x9560
movq %r14, %rdi
callq 0x9330
callq 0x43dce
cmpb $0x1, 0x5c44(%rax)
jne 0x34316
leaq 0x228(%r14), %rdi
movq %rdi, -0x48(%rbp)
callq 0x4e01a
movl 0x2f4(%r14), %r15d
shll $0x10, %r15d
orl 0x2f0(%r14), %r15d
movq 0x408(%r14), %r12
cmpq 0x410(%r14), %r12
je 0x341e7
leaq 0x408(%r14), %rax
movq %rax, -0x40(%rbp)
leaq -0x29(%rbp), %r13
movq %r14, %rbx
leaq 0x36ad4(%rip), %r14     # 0x6ac51
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x368ad(%rip), %rsi     # 0x6aa39
callq 0x9560
movq %rbx, %rdi
movl %r15d, %esi
callq 0x9880
movb $0x20, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x9560
movq %rax, %rdi
movq %r12, %rsi
callq 0x357cd
movl $0x2, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
addq $0x38, %r12
cmpq 0x410(%rbx), %r12
jne 0x3417d
movq -0x40(%rbp), %rdi
movq (%rdi), %rsi
callq 0x36396
movq %rbx, %r14
movq 0x420(%r14), %r12
cmpq 0x428(%r14), %r12
je 0x34276
leaq -0x29(%rbp), %r13
movq %r14, %rbx
leaq 0x36a4c(%rip), %r14     # 0x6ac51
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x36825(%rip), %rsi     # 0x6aa39
callq 0x9560
movq %rbx, %rdi
movl %r15d, %esi
callq 0x9880
movb $0x20, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x9560
movq %rax, %rdi
movq %r12, %rsi
callq 0x358d5
movl $0x2, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
addq $0x30, %r12
cmpq 0x428(%rbx), %r12
jne 0x34205
movq 0x420(%rbx), %rax
cmpq %rax, %r12
movq %rbx, %r14
je 0x34276
movq %rax, 0x428(%r14)
movq 0x438(%r14), %r12
cmpq 0x440(%r14), %r12
je 0x34305
leaq -0x29(%rbp), %r13
movq %r14, %rbx
leaq 0x369bd(%rip), %r14     # 0x6ac51
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x36796(%rip), %rsi     # 0x6aa39
callq 0x9560
movq %rbx, %rdi
movl %r15d, %esi
callq 0x9880
movb $0x20, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x9560
movq %rax, %rdi
movq %r12, %rsi
callq 0x359e3
movl $0x2, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x9560
addq $0x20, %r12
cmpq 0x440(%rbx), %r12
jne 0x34294
movq 0x438(%rbx), %rax
cmpq %rax, %r12
movq %rbx, %r14
je 0x34305
movq %rax, 0x440(%r14)
movq -0x48(%rbp), %rdi
callq 0x4e036
movq %r14, %rdi
callq 0x9330
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop