// File: wrighteagle2d[P]wrighteaglebase/Debug/../src/PositionInfo.cpp
// Function: PositionInfo::GetShootAngle(double, double, PlayerState const&, double&)
AngleDeg PositionInfo::GetShootAngle(AngleDeg left, AngleDeg right,
                                     const PlayerState &state,
                                     AngleDeg &interval) {
  vector<pair<Unum, AngleDeg>> tmp;
  for (vector<PlayerState *>::const_iterator it =
           mpWorldState->GetPlayerList().begin();
       it != mpWorldState->GetPlayerList().end(); ++it) {
    if ((*it)->IsAlive() && (*it)->GetPosConf() > FLOAT_EPS &&
        (*it)->GetUnum() != state.GetUnum() &&
        ((*it)->GetPos() - state.GetPos()).Dir() + Rad2Deg(1 / 10) > left &&
        ((*it)->GetPos() - state.GetPos()).Dir() - Rad2Deg(1 / 10) <
            right) { //介于左右门柱之间
      tmp.push_back(pair<Unum, AngleDeg>(
          (*it)->GetUnum(), ((*it)->GetPos() - state.GetPos()).Dir()));
    }
  }
  if (tmp.size() != 0) {
    sort(tmp.begin(), tmp.end(), PlayerDirCompare());
    vector<pair<int, AngleDeg>> dis;
    int i = 0;
    vector<pair<int, AngleDeg>>::const_iterator it;
    for (it = tmp.begin(); it != tmp.end(); ++it) {
      if (i == 0) {
        dis.push_back(pair<int, AngleDeg>(
            i++, ((*it).second - left /* - Rad2Deg(1/10) - Rad2Deg(1/3)*/)));
      } else {
        dis.push_back(pair<int, AngleDeg>(
            i++, ((*it).second -
                  (*(it - 1)).second) /*- 2*Rad2Deg(1/10) - Rad2Deg(1/3)*/));
      }
    }
    dis.push_back(pair<int, AngleDeg>(
        i, (right - (*(it - 1)).second) /*- Rad2Deg(1/10) - Rad2Deg(1/3)*/));
    sort(dis.begin(), dis.end(), PlayerDirCompare());

    if (dis.back().first == 0) {
      interval = dis.back().second - Rad2Deg(1.0 / 10.0) - Rad2Deg(1.0 / 4.0);
      return MinMax(left + 1,
                    dis.back().second / 2 + left - Rad2Deg(1.0 / 10.0) -
                        Rad2Deg(1.0 / 4.0),
                    right - 1);
    } else if (dis.back().first == i) {
      interval = dis.back().second - Rad2Deg(1.0 / 10.0) - Rad2Deg(1.0 / 4.0);
      return MinMax(left + 1,
                    right - dis.back().second / 2 + Rad2Deg(1.0 / 10.0) +
                        Rad2Deg(1.0 / 4.0),
                    right - 1);
    } else {
      interval =
          dis.back().second - 2 * Rad2Deg(1.0 / 10.0) - Rad2Deg(1.0 / 4.0);
      return MinMax(left + 1,
                    (*(tmp.begin() + dis.back().first - 1)).second +
                        dis.back().second / 2,
                    right - 1);
    }
  } else {
    interval = right - left;
    return (left + right) / 2;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x420, %rsp            # imm = 0x420
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x268(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x293e0
movq -0x268(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x81040
movq %rax, -0x260(%rbp)
jmp 0x7f28e
movq -0x260(%rbp), %rdi
callq 0x81060
movq %rax, -0x50(%rbp)
movq -0x268(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x81040
movq %rax, -0x270(%rbp)
jmp 0x7f2b7
movq -0x270(%rbp), %rdi
callq 0x810d0
movq %rax, -0x68(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x81090
testb $0x1, %al
jne 0x7f2dd
jmp 0x7f659
leaq -0x50(%rbp), %rdi
callq 0x81100
movq (%rax), %rdi
callq 0x23f20
movb %al, -0x271(%rbp)
jmp 0x7f2f6
movb -0x271(%rbp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0x272(%rbp)
jne 0x7f30e
jmp 0x7f535
leaq -0x50(%rbp), %rdi
callq 0x81100
movq (%rax), %rdi
addq $0x8, %rdi
callq 0x1d930
movq %rax, -0x280(%rbp)
jmp 0x7f32c
movq -0x280(%rbp), %rax
movsd (%rax), %xmm0
xorl %eax, %eax
movsd 0x41cc7(%rip), %xmm1    # 0xc1008
ucomisd %xmm1, %xmm0
movb %al, -0x272(%rbp)
jbe 0x7f535
leaq -0x50(%rbp), %rdi
callq 0x81100
movq (%rax), %rdi
callq 0x1b470
movl %eax, -0x284(%rbp)
jmp 0x7f36a
movq -0x28(%rbp), %rdi
callq 0x1b470
movl %eax, -0x288(%rbp)
jmp 0x7f37b
movl -0x284(%rbp), %ecx
movl -0x288(%rbp), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x272(%rbp)
je 0x7f535
leaq -0x50(%rbp), %rdi
callq 0x81100
movq (%rax), %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, -0x290(%rbp)
jmp 0x7f3b5
movq -0x28(%rbp), %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, -0x298(%rbp)
jmp 0x7f3cb
movq -0x298(%rbp), %rsi
movq -0x290(%rbp), %rdi
callq 0x110a0
movsd %xmm1, -0x2a8(%rbp)
movsd %xmm0, -0x2a0(%rbp)
jmp 0x7f3f0
movsd -0x2a8(%rbp), %xmm0
movsd -0x2a0(%rbp), %xmm1
movsd %xmm1, -0x78(%rbp)
movsd %xmm0, -0x70(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x10520
movsd %xmm0, -0x2b0(%rbp)
jmp 0x7f41d
movq $0x0, -0x80(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x2b8(%rbp)
jmp 0x7f438
movsd -0x2b8(%rbp), %xmm1
movsd -0x2b0(%rbp), %xmm0
addsd %xmm1, %xmm0
xorl %eax, %eax
ucomisd -0x18(%rbp), %xmm0
movb %al, -0x272(%rbp)
jbe 0x7f535
leaq -0x50(%rbp), %rdi
callq 0x81100
movq (%rax), %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, -0x2c0(%rbp)
jmp 0x7f47d
movq -0x28(%rbp), %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, -0x2c8(%rbp)
jmp 0x7f493
movq -0x2c8(%rbp), %rsi
movq -0x2c0(%rbp), %rdi
callq 0x110a0
movsd %xmm1, -0x2d8(%rbp)
movsd %xmm0, -0x2d0(%rbp)
jmp 0x7f4b8
movsd -0x2d8(%rbp), %xmm0
movsd -0x2d0(%rbp), %xmm1
movsd %xmm1, -0x90(%rbp)
movsd %xmm0, -0x88(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x10520
movsd %xmm0, -0x2e0(%rbp)
jmp 0x7f4ee
movq $0x0, -0x98(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x2e8(%rbp)
jmp 0x7f50f
movsd -0x2e8(%rbp), %xmm0
movsd -0x2e0(%rbp), %xmm1
subsd %xmm0, %xmm1
movsd -0x20(%rbp), %xmm0
ucomisd %xmm1, %xmm0
seta %al
movb %al, -0x272(%rbp)
movb -0x272(%rbp), %al
testb $0x1, %al
jne 0x7f544
jmp 0x7f649
leaq -0x50(%rbp), %rdi
callq 0x81100
movq (%rax), %rdi
callq 0x1b470
movl %eax, -0x2ec(%rbp)
jmp 0x7f55d
movl -0x2ec(%rbp), %eax
movl %eax, -0xac(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x81100
movq (%rax), %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, -0x2f8(%rbp)
jmp 0x7f587
movq -0x28(%rbp), %rdi
addq $0x8, %rdi
callq 0x11090
movq %rax, -0x300(%rbp)
jmp 0x7f59d
movq -0x300(%rbp), %rsi
movq -0x2f8(%rbp), %rdi
callq 0x110a0
movsd %xmm1, -0x310(%rbp)
movsd %xmm0, -0x308(%rbp)
jmp 0x7f5c2
movsd -0x310(%rbp), %xmm0
movsd -0x308(%rbp), %xmm1
movsd %xmm1, -0xc8(%rbp)
movsd %xmm0, -0xc0(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x10520
movsd %xmm0, -0x318(%rbp)
jmp 0x7f5f8
movsd -0x318(%rbp), %xmm0
movsd %xmm0, -0xb8(%rbp)
leaq -0xa8(%rbp), %rdi
leaq -0xac(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x81650
jmp 0x7f624
leaq -0x48(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x29400
jmp 0x7f636
jmp 0x7f649
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x7ff16
jmp 0x7f64b
leaq -0x50(%rbp), %rdi
callq 0x81150
jmp 0x7f29e
leaq -0x48(%rbp), %rdi
callq 0x2a0d0
cmpq $0x0, %rax
je 0x7fec8
leaq -0x48(%rbp), %rdi
movq %rdi, -0x320(%rbp)
callq 0x294c0
movq -0x320(%rbp), %rdi
movq %rax, -0xd0(%rbp)
callq 0x294f0
movq %rax, -0xd8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x81680
jmp 0x7f6ab
leaq -0xf8(%rbp), %rdi
callq 0x293e0
movl $0x0, -0xfc(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x816c0
leaq -0x48(%rbp), %rdi
callq 0x294c0
movq %rax, -0x118(%rbp)
leaq -0x110(%rbp), %rdi
leaq -0x118(%rbp), %rsi
callq 0x29780
movq -0x110(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x294f0
movq %rax, -0x120(%rbp)
leaq -0x108(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x816e0
testb $0x1, %al
jne 0x7f72a
jmp 0x7f87b
cmpl $0x0, -0xfc(%rbp)
jne 0x7f7c2
movl -0xfc(%rbp), %eax
movl %eax, %ecx
incl %ecx
movl %ecx, -0xfc(%rbp)
movl %eax, -0x134(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x81720
movsd 0x8(%rax), %xmm0
movsd -0x18(%rbp), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, -0x140(%rbp)
leaq -0x130(%rbp), %rdi
leaq -0x134(%rbp), %rsi
leaq -0x140(%rbp), %rdx
callq 0x81650
jmp 0x7f78b
leaq -0xf8(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x29400
jmp 0x7f7a0
jmp 0x7f868
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x29810
jmp 0x7ff16
movl -0xfc(%rbp), %eax
movl %eax, %ecx
incl %ecx
movl %ecx, -0xfc(%rbp)
movl %eax, -0x154(%rbp)
leaq -0x108(%rbp), %rdi
movq %rdi, -0x330(%rbp)
callq 0x81720
movq -0x330(%rbp), %rdi
movsd 0x8(%rax), %xmm0
movsd %xmm0, -0x328(%rbp)
movl $0x1, %esi
callq 0x81740
movq %rax, -0x168(%rbp)
leaq -0x168(%rbp), %rdi
callq 0x81720
movsd -0x328(%rbp), %xmm0
movsd 0x8(%rax), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, -0x160(%rbp)
leaq -0x150(%rbp), %rdi
leaq -0x154(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x81650
jmp 0x7f851
leaq -0xf8(%rbp), %rdi
leaq -0x150(%rbp), %rsi
callq 0x29400
jmp 0x7f866
jmp 0x7f868
jmp 0x7f86a
leaq -0x108(%rbp), %rdi
callq 0x81780
jmp 0x7f6fe
movsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x338(%rbp)
leaq -0x108(%rbp), %rdi
movl $0x1, %esi
callq 0x81740
movq %rax, -0x188(%rbp)
leaq -0x188(%rbp), %rdi
callq 0x81720
movsd -0x338(%rbp), %xmm0
movsd 0x8(%rax), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, -0x180(%rbp)
leaq -0x178(%rbp), %rdi
leaq -0xfc(%rbp), %rsi
leaq -0x180(%rbp), %rdx
callq 0x817a0
jmp 0x7f8e1
leaq -0xf8(%rbp), %rdi
leaq -0x178(%rbp), %rsi
callq 0x29400
jmp 0x7f8f6
leaq -0xf8(%rbp), %rdi
movq %rdi, -0x340(%rbp)
callq 0x294c0
movq -0x340(%rbp), %rdi
movq %rax, -0x190(%rbp)
callq 0x294f0
movq %rax, -0x198(%rbp)
movq -0x190(%rbp), %rdi
movq -0x198(%rbp), %rsi
callq 0x81680
jmp 0x7f938
leaq -0xf8(%rbp), %rdi
callq 0x295e0
cmpl $0x0, (%rax)
jne 0x7fb14
leaq -0xf8(%rbp), %rdi
callq 0x295e0
movsd 0x8(%rax), %xmm0
movsd %xmm0, -0x350(%rbp)
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, -0x1a8(%rbp)
leaq -0x1a8(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x348(%rbp)
jmp 0x7f98d
movsd -0x348(%rbp), %xmm1
movsd -0x350(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, -0x360(%rbp)
movabsq $0x3fd0000000000000, %rax # imm = 0x3FD0000000000000
movq %rax, -0x1b0(%rbp)
leaq -0x1b0(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x358(%rbp)
jmp 0x7f9d0
movsd -0x358(%rbp), %xmm1
movsd -0x360(%rbp), %xmm0
subsd %xmm1, %xmm0
movq -0x30(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x18(%rbp), %xmm0
movsd 0x41617(%rip), %xmm1    # 0xc1010
addsd %xmm1, %xmm0
movsd %xmm0, -0x1b8(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x295e0
movsd 0x8(%rax), %xmm0
movsd 0x41602(%rip), %xmm1    # 0xc1020
mulsd %xmm1, %xmm0
movsd -0x18(%rbp), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -0x370(%rbp)
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, -0x1c8(%rbp)
leaq -0x1c8(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x368(%rbp)
jmp 0x7fa5a
movsd -0x368(%rbp), %xmm1
movsd -0x370(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, -0x380(%rbp)
movabsq $0x3fd0000000000000, %rax # imm = 0x3FD0000000000000
movq %rax, -0x1d0(%rbp)
leaq -0x1d0(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x378(%rbp)
jmp 0x7fa9d
movsd -0x378(%rbp), %xmm1
movsd -0x380(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, -0x1c0(%rbp)
movsd -0x20(%rbp), %xmm0
movsd 0x41d62(%rip), %xmm1    # 0xc1828
addsd %xmm1, %xmm0
movsd %xmm0, -0x1d8(%rbp)
leaq -0x1b8(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
leaq -0x1d8(%rbp), %rdx
callq 0x12a20
movq %rax, -0x388(%rbp)
jmp 0x7faf5
movq -0x388(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, -0x8(%rbp)
movl $0x1, -0x1dc(%rbp)
jmp 0x7feba
leaq -0xf8(%rbp), %rdi
callq 0x295e0
movl (%rax), %eax
cmpl -0xfc(%rbp), %eax
jne 0x7fd05
leaq -0xf8(%rbp), %rdi
callq 0x295e0
movsd 0x8(%rax), %xmm0
movsd %xmm0, -0x398(%rbp)
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, -0x1e8(%rbp)
leaq -0x1e8(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x390(%rbp)
jmp 0x7fb6e
movsd -0x390(%rbp), %xmm1
movsd -0x398(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, -0x3a8(%rbp)
movabsq $0x3fd0000000000000, %rax # imm = 0x3FD0000000000000
movq %rax, -0x1f0(%rbp)
leaq -0x1f0(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x3a0(%rbp)
jmp 0x7fbb1
movsd -0x3a0(%rbp), %xmm1
movsd -0x3a8(%rbp), %xmm0
subsd %xmm1, %xmm0
movq -0x30(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x18(%rbp), %xmm0
movsd 0x41436(%rip), %xmm1    # 0xc1010
addsd %xmm1, %xmm0
movsd %xmm0, -0x1f8(%rbp)
movsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x3c0(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x295e0
movsd -0x3c0(%rbp), %xmm0
movsd 0x8(%rax), %xmm1
movsd 0x442ec(%rip), %xmm2    # 0xc3f00
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -0x3b8(%rbp)
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, -0x208(%rbp)
leaq -0x208(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x3b0(%rbp)
jmp 0x7fc4b
movsd -0x3b0(%rbp), %xmm1
movsd -0x3b8(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x3d0(%rbp)
movabsq $0x3fd0000000000000, %rax # imm = 0x3FD0000000000000
movq %rax, -0x210(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x3c8(%rbp)
jmp 0x7fc8e
movsd -0x3c8(%rbp), %xmm1
movsd -0x3d0(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x200(%rbp)
movsd -0x20(%rbp), %xmm0
movsd 0x41b71(%rip), %xmm1    # 0xc1828
addsd %xmm1, %xmm0
movsd %xmm0, -0x218(%rbp)
leaq -0x1f8(%rbp), %rdi
leaq -0x200(%rbp), %rsi
leaq -0x218(%rbp), %rdx
callq 0x12a20
movq %rax, -0x3d8(%rbp)
jmp 0x7fce6
movq -0x3d8(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, -0x8(%rbp)
movl $0x1, -0x1dc(%rbp)
jmp 0x7feba
leaq -0xf8(%rbp), %rdi
callq 0x295e0
movsd 0x8(%rax), %xmm0
movsd %xmm0, -0x3e8(%rbp)
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, -0x220(%rbp)
leaq -0x220(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x3e0(%rbp)
jmp 0x7fd45
movsd -0x3e8(%rbp), %xmm0
movsd -0x3e0(%rbp), %xmm1
addsd %xmm1, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, -0x3f8(%rbp)
movabsq $0x3fd0000000000000, %rax # imm = 0x3FD0000000000000
movq %rax, -0x228(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x124d0
movsd %xmm0, -0x3f0(%rbp)
jmp 0x7fd8c
movsd -0x3f0(%rbp), %xmm1
movsd -0x3f8(%rbp), %xmm0
subsd %xmm1, %xmm0
movq -0x30(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x18(%rbp), %xmm0
movsd 0x4125b(%rip), %xmm1    # 0xc1010
movsd %xmm1, -0x408(%rbp)
addsd %xmm1, %xmm0
movsd %xmm0, -0x230(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x294c0
movq %rax, -0x250(%rbp)
leaq -0xf8(%rbp), %rdi
movq %rdi, -0x418(%rbp)
callq 0x295e0
movslq (%rax), %rsi
leaq -0x250(%rbp), %rdi
callq 0x2ab80
movq %rax, -0x248(%rbp)
leaq -0x248(%rbp), %rdi
movl $0x1, %esi
callq 0x2b1a0
movq %rax, -0x240(%rbp)
leaq -0x240(%rbp), %rdi
callq 0x296b0
movq -0x418(%rbp), %rdi
movsd 0x8(%rax), %xmm0
movsd %xmm0, -0x410(%rbp)
callq 0x295e0
movsd -0x410(%rbp), %xmm0
movsd -0x408(%rbp), %xmm1
movsd 0x8(%rax), %xmm2
movsd 0x411c4(%rip), %xmm3    # 0xc1020
mulsd %xmm3, %xmm2
addsd %xmm2, %xmm0
movsd %xmm0, -0x238(%rbp)
movsd -0x20(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, -0x258(%rbp)
leaq -0x230(%rbp), %rdi
leaq -0x238(%rbp), %rsi
leaq -0x258(%rbp), %rdx
callq 0x12a20
movq %rax, -0x400(%rbp)
jmp 0x7fea0
movq -0x400(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, -0x8(%rbp)
movl $0x1, -0x1dc(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x29810
jmp 0x7feff
movsd -0x20(%rbp), %xmm0
subsd -0x18(%rbp), %xmm0
movq -0x30(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x18(%rbp), %xmm0
addsd -0x20(%rbp), %xmm0
movsd 0x415c4(%rip), %xmm1    # 0xc14b0
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
movl $0x1, -0x1dc(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x29810
movsd -0x8(%rbp), %xmm0
addq $0x420, %rsp            # imm = 0x420
popq %rbp
retq
leaq -0x48(%rbp), %rdi
callq 0x29810
movq -0x58(%rbp), %rdi
callq 0xaa60
nopl (%rax,%rax)