// File: /workspace/github_cpp_makefile_star2_O3/wrighteagle2d[P]wrighteaglebase/Debug/../src/Trainer.cpp
// Function: Trainer::Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)
void Trainer::Parse(const string &section, const vector<string> &content) {
  Unum num;
  double x, y, vx, vy, dir;
  int playerType;
  if (section == "Scene") {
    sscanf(content.at(0).c_str(), "%d %s", &mTrainTime, mTrainRcg);
    mHaveRcg = ReadRcgFile();
  } else if (section == "NeedOpponent") {
    Unum t;
    stringstream sin;
    sin.str(*content.begin());
    while (sin >> t) {
      mNeedOpponentList.push_back(t);
    }
  } else if (section == "Converse") {
    ReadConverseConf(content.at(0));
  } else if (section == "InitialTime") {
    sscanf(content.at(0).c_str(), "%d", &mInitialTime);
  } else if (!mHaveRcg) {
    mInitialTime = 0;
    if (section == "BallData") {
      sscanf(content.at(0).c_str(), "%lf %lf %lf %lf", &x, &y, &vx, &vy);
      mBallStateList.push_back(
          pair<Vector, Vector>(Vector(x, y), Vector(vx, vy)));
    } else if (section == "TeammateData") {
      vector<PlayerState> ps;
      for (vector<string>::const_iterator it = content.begin();
           it != content.end(); it++) {
        sscanf(it->c_str(), "%d %d %lf %lf %lf %lf %lf", &num, &playerType, &x,
               &y, &vx, &vy, &dir);
        ps.push_back(
            PlayerState(num, Vector(x, y), Vector(vx, vy), dir, playerType));
      }
      mPlayerStatesList.push_back(ps);
    } else if (section == "OpponentData") {
      vector<PlayerState> ps;
      for (vector<string>::const_iterator it = content.begin();
           it != content.end(); it++) {
        sscanf(it->c_str(), "%d %d %lf %lf %lf %lf %lf", &num, &playerType, &x,
               &y, &vx, &vy, &dir);
        ps.push_back(
            PlayerState(-num, Vector(x, y), Vector(vx, vy), dir, playerType));
      }
      mPlayerStatesList.push_back(ps);
    }
  } else if (section == "EndCondition") {
    std::string tmp; //把几行变成一行，便于控制结构

    for (vector<string>::const_iterator it = content.begin();
         it != content.end(); it++) {
      tmp.append(it->c_str());
    }
    tmp.append("\0");
    ParseCondition(tmp);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x1c0a9(%rip), %rsi     # 0x6d003
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
je 0x51051
leaq 0x1c09e(%rip), %rsi     # 0x6d00f
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
je 0x5108d
leaq 0x1c094(%rip), %rsi     # 0x6d01c
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
je 0x51133
leaq 0x1c086(%rip), %rsi     # 0x6d025
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
je 0x51159
cmpb $0x0, 0x32(%rbx)
je 0x51192
leaq 0x1c0ae(%rip), %rsi     # 0x6d06e
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
jne 0x51121
leaq -0x1e8(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movq (%r14), %r13
cmpq 0x8(%r14), %r13
je 0x51010
leaq -0x1f8(%rbp), %r15
movq (%r13), %rsi
movq %r15, %rdi
callq 0x9970
addq $0x20, %r13
cmpq 0x8(%r14), %r13
jne 0x50ffa
leaq 0x1bda5(%rip), %rsi     # 0x6cdbc
leaq -0x1f8(%rbp), %rdi
callq 0x9970
leaq -0x1f8(%rbp), %rsi
movq %rbx, %rdi
callq 0x52212
movq -0x1f8(%rbp), %rdi
cmpq %r12, %rdi
je 0x51121
movq -0x1e8(%rbp), %rsi
incq %rsi
jmp 0x514e4
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x51509
movq (%rax), %rdi
leaq 0x98(%rbx), %rdx
leaq 0xa0(%rbx), %rcx
leaq 0x1bf93(%rip), %rsi     # 0x6d009
xorl %eax, %eax
callq 0x9490
movq %rbx, %rdi
callq 0x5158a
movb %al, 0x32(%rbx)
jmp 0x51121
leaq -0x1f8(%rbp), %rdi
callq 0x9350
movq (%r14), %rsi
leaq -0x1e0(%rbp), %rdi
callq 0x9730
leaq 0x140(%rbx), %r14
leaq -0x1f8(%rbp), %r15
leaq -0x40(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x92e0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x51102
movq 0x148(%rbx), %rsi
cmpq 0x150(%rbx), %rsi
je 0x510f5
movl -0x40(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x148(%rbx)
jmp 0x510ba
movq %r14, %rdi
movq %r12, %rdx
callq 0x49144
jmp 0x510ba
movq 0x32e8f(%rip), %rsi     # 0x83f98
leaq -0x1f8(%rbp), %rdi
callq 0x9370
leaq -0x178(%rbp), %rdi
callq 0x91c0
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r14), %rsi
cmpq %rsi, 0x8(%r14)
je 0x5150b
movq %rbx, %rdi
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x520ee
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x5150d
movq (%rax), %rdi
addq $0x138, %rbx            # imm = 0x138
leaq 0x19a0c(%rip), %rsi     # 0x6ab83
movq %rbx, %rdx
xorl %eax, %eax
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9490
movl $0x0, 0x138(%rbx)
leaq 0x1be8e(%rip), %rsi     # 0x6d031
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
je 0x51309
leaq 0x1be80(%rip), %rsi     # 0x6d03a
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
je 0x513af
leaq 0x1be90(%rip), %rsi     # 0x6d061
movq %r15, %rdi
callq 0x91a0
testl %eax, %eax
jne 0x51121
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movq (%r14), %r13
cmpq 0x8(%r14), %r13
je 0x512f1
leaq -0x68(%rbp), %r15
leaq -0x60(%rbp), %r12
movq (%r13), %rdi
subq $0x8, %rsp
leaq 0x1be33(%rip), %rsi     # 0x6d047
leaq -0x48(%rbp), %rdx
leaq -0x44(%rbp), %rcx
movq %r15, %r8
movq %r12, %r9
xorl %eax, %eax
leaq -0x70(%rbp), %r10
pushq %r10
leaq -0x50(%rbp), %r10
pushq %r10
leaq -0x58(%rbp), %r10
pushq %r10
callq 0x9490
addq $0x20, %rsp
xorl %eax, %eax
subl -0x48(%rbp), %eax
movsd -0x68(%rbp), %xmm0
movsd -0x60(%rbp), %xmm1
movsd -0x58(%rbp), %xmm2
movsd -0x50(%rbp), %xmm3
movsd -0x70(%rbp), %xmm4
movl -0x44(%rbp), %ecx
movl %eax, -0x1f8(%rbp)
movsd %xmm0, -0x1f0(%rbp)
movsd %xmm1, -0x1e8(%rbp)
movsd %xmm2, -0x1e0(%rbp)
movsd %xmm3, -0x1d8(%rbp)
movsd %xmm4, -0x1d0(%rbp)
movl %ecx, -0x1c8(%rbp)
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x512d3
movq -0x1c8(%rbp), %rax
movq %rax, 0x30(%rsi)
movups -0x1f8(%rbp), %xmm0
movups -0x1e8(%rbp), %xmm1
movups -0x1d8(%rbp), %xmm2
movups %xmm2, 0x20(%rsi)
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x38, %rsi
movq %rsi, -0x38(%rbp)
jmp 0x512e3
leaq -0x40(%rbp), %rdi
leaq -0x1f8(%rbp), %rdx
callq 0x536f2
addq $0x20, %r13
cmpq 0x8(%r14), %r13
jne 0x51205
addq $0x120, %rbx            # imm = 0x120
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x52dc6
jmp 0x514d0
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x5150f
movq (%rax), %rdi
leaq 0x1bd31(%rip), %rsi     # 0x6d051
leaq -0x68(%rbp), %r14
leaq -0x60(%rbp), %r15
leaq -0x58(%rbp), %r12
leaq -0x50(%rbp), %r13
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
movq %r13, %r9
xorl %eax, %eax
callq 0x9490
movsd (%r14), %xmm0
movsd (%r15), %xmm1
movsd (%r12), %xmm2
movsd (%r13), %xmm3
movsd %xmm0, -0x1f8(%rbp)
movsd %xmm1, -0x1f0(%rbp)
movsd %xmm2, -0x1e8(%rbp)
movsd %xmm3, -0x1e0(%rbp)
movq 0x168(%rbx), %rsi
cmpq 0x170(%rbx), %rsi
je 0x514ee
movups -0x1f8(%rbp), %xmm0
movups -0x1e8(%rbp), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x20, 0x168(%rbx)
jmp 0x51121
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movq (%r14), %r13
cmpq 0x8(%r14), %r13
je 0x514bd
leaq -0x68(%rbp), %r15
leaq -0x60(%rbp), %r12
movq (%r13), %rdi
subq $0x8, %rsp
leaq 0x1bc65(%rip), %rsi     # 0x6d047
leaq -0x48(%rbp), %rdx
leaq -0x44(%rbp), %rcx
movq %r15, %r8
movq %r12, %r9
xorl %eax, %eax
leaq -0x70(%rbp), %r10
pushq %r10
leaq -0x50(%rbp), %r10
pushq %r10
leaq -0x58(%rbp), %r10
pushq %r10
callq 0x9490
addq $0x20, %rsp
movl -0x48(%rbp), %eax
movsd -0x68(%rbp), %xmm0
movsd -0x60(%rbp), %xmm1
movsd -0x58(%rbp), %xmm2
movsd -0x50(%rbp), %xmm3
movsd -0x70(%rbp), %xmm4
movl -0x44(%rbp), %ecx
movl %eax, -0x1f8(%rbp)
movsd %xmm0, -0x1f0(%rbp)
movsd %xmm1, -0x1e8(%rbp)
movsd %xmm2, -0x1e0(%rbp)
movsd %xmm3, -0x1d8(%rbp)
movsd %xmm4, -0x1d0(%rbp)
movl %ecx, -0x1c8(%rbp)
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x5149f
movq -0x1c8(%rbp), %rax
movq %rax, 0x30(%rsi)
movups -0x1f8(%rbp), %xmm0
movups -0x1e8(%rbp), %xmm1
movups -0x1d8(%rbp), %xmm2
movups %xmm2, 0x20(%rsi)
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x38, %rsi
movq %rsi, -0x38(%rbp)
jmp 0x514af
leaq -0x40(%rbp), %rdi
leaq -0x1f8(%rbp), %rdx
callq 0x536f2
addq $0x20, %r13
cmpq 0x8(%r14), %r13
jne 0x513d3
addq $0x120, %rbx            # imm = 0x120
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x52dc6
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x51121
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x94e0
jmp 0x51121
addq $0x160, %rbx            # imm = 0x160
leaq -0x1f8(%rbp), %rdx
movq %rbx, %rdi
callq 0x53ef4
jmp 0x51121
jmp 0x5150f
jmp 0x5150f
jmp 0x5150f
leaq 0x1861d(%rip), %rdi     # 0x69b33
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x9750
jmp 0x51529
jmp 0x51529
jmp 0x51540
jmp 0x51529
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x51582
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
jmp 0x51559
jmp 0x51560
movq %rax, %rbx
movq -0x1f8(%rbp), %rdi
cmpq %r12, %rdi
je 0x51582
movq -0x1e8(%rbp), %rsi
incq %rsi
callq 0x94e0
jmp 0x51582
movq %rax, %rbx
movq 0x32a2e(%rip), %rsi     # 0x83f98
leaq -0x1f8(%rbp), %rdi
callq 0x9370
leaq -0x178(%rbp), %rdi
callq 0x91c0
movq %rbx, %rdi
callq 0x98b0