// File: /workspace/github_cpp_makefile_star2_O1/wrighteagle2d[P]wrighteaglebase/Debug/../src/Parser.cpp
// Function: Parser::ParseSense(char*)
void Parser::ParseSense(char *msg) {
  if (!PlayerParam::instance().isCoach() ||
      !PlayerParam::instance().isTrainer()) {
    TimeTest::instance().Update(
        mpObserver->CurrentTime()); // player每周期都有sense
  }

  NetworkTest::instance().Update(mpObserver->CurrentTime());
  NetworkTest::instance().Begin("Sense");

  parser::get_word(&msg);
  parser::get_next_word(&msg); // skip 'view'
  parser::get_next_word(&msg); // skip 'mode'
  parser::get_next_word(&msg); // skip not used view quality

  ViewWidth view_width = VW_None;
  switch (msg[1]) {
  case 'o':
    view_width = VW_Normal;
    break; /* normal */
  case 'a':
    view_width = VW_Narrow;
    break; /* narrow */
  case 'i':
    view_width = VW_Wide;
    break; /* wide   */
  default:
    PARSE_ERROR("Unknown view quality");
    break;
  }

  double stamina = parser::get_double(&msg);
  double effort = parser::get_double(&msg);
  double capacity = parser::get_double(&msg);

  double speed = parser::get_double(&msg);
  double speed_dir = parser::get_double(&msg);
  double neck_dir = parser::get_double(&msg);

  int kicks = parser::get_int(&msg);
  int dashes = parser::get_int(&msg);
  int turns = parser::get_int(&msg);
  int says = parser::get_int(&msg);
  int turn_necks = parser::get_int(&msg);
  int catchs = parser::get_int(&msg);
  int moves = parser::get_int(&msg);
  int change_views = parser::get_int(&msg);

  int arm_movable_ban = parser::get_int(&msg); // 直到下次手臂能动的剩余周期数
  int arm_expires = parser::get_int(&msg); // 直到手臂动作失效剩余的周期数
  double arm_target_dist = parser::get_double(&msg); // 指向的目标的距离
  AngleDeg arm_target_dir = parser::get_double(&msg); // 指向的目标的方向
  int points = parser::get_int(&msg);                 // point count
  parser::get_next_word(&msg);                        // focus
  parser::get_next_word(&msg);                        // target
  parser::get_next_word(&msg);                        // side
  char focus_side = msg[0];

  Unum focus_unum = 0;
  if (focus_side != 'l' && focus_side != 'r') { // 没有特别注意的队员
    focus_side = '?';
  } else { // 特别注意的队员号码
    focus_unum = parser::get_int(&msg);
  }
  int focuses = parser::get_int(&msg);
  int tackle_expires = parser::get_int(&msg);
  int tackles = parser::get_int(&msg);

  //以下是碰撞和犯规信息
  mpObserver->ClearCollisionState();

  parser::get_word(&msg);      // (collision {none|[(ball)][(player)][(post)]})
  parser::get_next_word(&msg); // skip 'collision'
  if (msg[0] != 'n') {
    do {
      switch (msg[1]) {
      case 'a':
        mpObserver->SetCollideWithBall();
        break;
      case 'l':
        mpObserver->SetCollideWithPlayer();
        break;
      case 'o':
        mpObserver->SetCollideWithPost();
        break;
      }
      parser::get_next_word(&msg);
    } while (msg[0] != 'f' && msg[0]);
  }

  int foul_charged_cycle = 0;
  CardType card_type = CR_None;

  if (msg[0]) { // v14
    foul_charged_cycle = parser::get_int(
        &msg); // (foul (charged CYCLE) (card {none|yellow|red})))
    parser::get_word(&msg);
    parser::get_next_word(&msg); // skip 'card'

    switch (msg[0]) {
    case 'n':
      break;
    case 'y':
      card_type = CR_Yellow;
      break;
    case 'r':
      card_type = CR_Red;
      break;
    }
  }

  mpObserver->SetSenseBody(
      view_width, stamina, effort, capacity,

      speed, speed_dir, neck_dir,

      kicks, dashes, turns, says, turn_necks, catchs, moves, change_views,

      arm_movable_ban, arm_expires, arm_target_dist, arm_target_dir, points,

      focus_side, focus_unum, focuses,

      tackle_expires, tackles,

      foul_charged_cycle, card_type, mpObserver->CurrentTime());

  NetworkTest::instance().SetCommandExecuteCount(
      dashes, kicks, turns, says, turn_necks, catchs, moves, change_views,
      points, tackles, focuses);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdi, %r12
movq %rsi, -0x30(%rbp)
callq 0x450ba
cmpb $0x1, 0x31a5(%rax)
jne 0x40067
callq 0x450ba
cmpb $0x0, 0x31a6(%rax)
jne 0x4007d
callq 0x4fec4
movq 0x10(%r12), %rcx
movq 0xc(%rcx), %rsi
movq %rax, %rdi
callq 0x4fee2
callq 0x3974e
movq 0x10(%r12), %rsi
addq $0xc, %rsi
movq %rax, %rdi
callq 0x39b74
callq 0x3974e
movq %rax, %rbx
leaq -0x108(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x2d377(%rip), %rsi     # 0x6d424
leaq 0x2d375(%rip), %rdx     # 0x6d429
leaq -0x118(%rbp), %r14
movq %r14, %rdi
callq 0x13766
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3976c
movq -0x118(%rbp), %rdi
cmpq %r15, %rdi
je 0x400e9
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x94e0
movq -0x30(%rbp), %r14
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x4011d
testl %eax, %eax
jne 0x4011d
incq %r14
movq %r14, -0x30(%rbp)
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x4011d
incq %r14
testl %eax, %eax
je 0x40103
movq -0x30(%rbp), %r14
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
testl %eax, %eax
je 0x4014c
incq %r14
movq %r14, -0x30(%rbp)
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
incq %r14
testl %eax, %eax
jne 0x40133
decq %r14
testb %bl, %bl
je 0x4016d
incq %r14
movq %r14, -0x30(%rbp)
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x4016d
incq %r14
testl %eax, %eax
je 0x40153
movq -0x30(%rbp), %r14
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
testl %eax, %eax
je 0x4019c
incq %r14
movq %r14, -0x30(%rbp)
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
incq %r14
testl %eax, %eax
jne 0x40183
decq %r14
testb %bl, %bl
je 0x401bd
incq %r14
movq %r14, -0x30(%rbp)
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x401bd
incq %r14
testl %eax, %eax
je 0x401a3
movq -0x30(%rbp), %r14
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
testl %eax, %eax
je 0x401ec
incq %r14
movq %r14, -0x30(%rbp)
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
incq %r14
testl %eax, %eax
jne 0x401d3
decq %r14
testb %bl, %bl
je 0x4020d
incq %r14
movq %r14, -0x30(%rbp)
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x4020d
incq %r14
testl %eax, %eax
je 0x401f3
movq -0x30(%rbp), %rdi
movzbl 0x1(%rdi), %eax
cmpl $0x61, %eax
je 0x40237
cmpl $0x69, %eax
je 0x4022f
xorl %r15d, %r15d
cmpl $0x6f, %eax
jne 0x4023d
movl $0x2, %r15d
jmp 0x4023d
movl $0x3, %r15d
jmp 0x4023d
movl $0x1, %r15d
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
jb 0x4027b
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x40264
movzbl %al, %eax
btq %rax, %rcx
jb 0x40278
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40257
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movsd %xmm0, -0xf0(%rbp)
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
jb 0x402d0
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x402b9
movzbl %al, %eax
btq %rax, %rcx
jb 0x402cd
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x402ac
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movsd %xmm0, -0xe8(%rbp)
jb 0x40325
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x4030e
movzbl %al, %eax
btq %rax, %rcx
jb 0x40322
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40301
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movsd %xmm0, -0xe0(%rbp)
jb 0x4037a
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x40363
movzbl %al, %eax
btq %rax, %rcx
jb 0x40377
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40356
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movsd %xmm0, -0xd8(%rbp)
jb 0x403cf
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x403b8
movzbl %al, %eax
btq %rax, %rcx
jb 0x403cc
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x403ab
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movsd %xmm0, -0xd0(%rbp)
jb 0x40424
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x4040d
movzbl %al, %eax
btq %rax, %rcx
jb 0x40421
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40400
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movsd %xmm0, -0xc8(%rbp)
jb 0x40479
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x40462
movzbl %al, %eax
btq %rax, %rcx
jb 0x40476
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40455
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0x68(%rbp)
jb 0x404d6
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x404bd
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x404d3
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x404ad
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0x60(%rbp)
jb 0x40533
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x4051a
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x40530
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x4050a
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0x58(%rbp)
jb 0x40590
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40577
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x4058d
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40567
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0x50(%rbp)
jb 0x405ed
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x405d4
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x405ea
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x405c4
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0xc0(%rbp)
jb 0x4064d
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40634
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x4064a
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40624
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0xb8(%rbp)
jb 0x406ad
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40694
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x406aa
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40684
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0xb0(%rbp)
jb 0x4070d
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x406f4
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x4070a
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x406e4
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0xa8(%rbp)
jb 0x4076d
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40754
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x4076a
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40744
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0xa0(%rbp)
jb 0x407cd
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x407b4
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x407ca
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x407a4
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq (%rbx), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0x98(%rbp)
jb 0x4082d
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40814
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x4082a
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40804
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movsd %xmm0, -0x90(%rbp)
jb 0x40882
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x4086b
movzbl %al, %eax
btq %rax, %rcx
jb 0x4087f
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x4085e
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
callq 0x93a0
movq (%rbx), %rdi
movb (%rdi), %al
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movsd %xmm0, -0x88(%rbp)
jb 0x408d7
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x408c0
movzbl %al, %eax
btq %rax, %rcx
jb 0x408d4
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x408b3
decq %rdi
leaq -0x30(%rbp), %r14
movq %r14, %rsi
movl $0xa, %edx
callq 0x9680
movq %rax, -0x80(%rbp)
movq (%r14), %rbx
movb (%rbx), %r14b
movsbl %r14b, %edi
callq 0x97c0
testl %eax, %eax
je 0x4091c
incq %rbx
movq %rbx, -0x30(%rbp)
movb (%rbx), %r14b
movsbl %r14b, %edi
callq 0x97c0
incq %rbx
testl %eax, %eax
jne 0x40902
decq %rbx
testb %r14b, %r14b
je 0x40940
incq %rbx
movq %rbx, -0x30(%rbp)
movsbl (%rbx), %r14d
movl %r14d, %edi
callq 0x97c0
testl %r14d, %r14d
je 0x40940
incq %rbx
testl %eax, %eax
je 0x40924
movq -0x30(%rbp), %rbx
movb (%rbx), %r14b
movsbl %r14b, %edi
callq 0x97c0
testl %eax, %eax
je 0x40971
incq %rbx
movq %rbx, -0x30(%rbp)
movb (%rbx), %r14b
movsbl %r14b, %edi
callq 0x97c0
incq %rbx
testl %eax, %eax
jne 0x40957
decq %rbx
testb %r14b, %r14b
je 0x40995
incq %rbx
movq %rbx, -0x30(%rbp)
movsbl (%rbx), %r14d
movl %r14d, %edi
callq 0x97c0
testl %r14d, %r14d
je 0x40995
incq %rbx
testl %eax, %eax
je 0x40979
movq -0x30(%rbp), %rbx
movb (%rbx), %r14b
movsbl %r14b, %edi
callq 0x97c0
testl %eax, %eax
je 0x409c6
incq %rbx
movq %rbx, -0x30(%rbp)
movb (%rbx), %r14b
movsbl %r14b, %edi
callq 0x97c0
incq %rbx
testl %eax, %eax
jne 0x409ac
decq %rbx
testb %r14b, %r14b
je 0x409ea
incq %rbx
movq %rbx, -0x30(%rbp)
movsbl (%rbx), %r14d
movl %r14d, %edi
callq 0x97c0
testl %r14d, %r14d
je 0x409ea
incq %rbx
testl %eax, %eax
je 0x409ce
movq -0x30(%rbp), %rdi
movzbl (%rdi), %r13d
cmpl $0x72, %r13d
je 0x409fe
cmpl $0x6c, %r13d
jne 0x40a4f
movsbl %r13b, %eax
addl $-0x30, %eax
cmpl $0xa, %eax
jb 0x40a3f
incq %rdi
movabsq $0x680000000001, %rax   # imm = 0x680000000001
movl %r13d, %ecx
cmpb $0x2e, %cl
ja 0x40a28
movzbl %cl, %ecx
btq %rcx, %rax
jb 0x40a3c
movq %rdi, -0x30(%rbp)
movb (%rdi), %cl
movsbl %cl, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40a1a
decq %rdi
leaq -0x30(%rbp), %rsi
movl $0xa, %edx
callq 0x9680
jmp 0x40a54
xorl %eax, %eax
movb $0x3f, %r13b
movq -0x30(%rbp), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0x78(%rbp)
jb 0x40aa1
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40a88
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x40a9e
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40a78
decq %rdi
leaq -0x30(%rbp), %r14
movq %r14, %rsi
movl $0xa, %edx
callq 0x9680
movq (%r14), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movq %rax, -0x48(%rbp)
jb 0x40afe
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40ae5
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x40afb
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40ad5
decq %rdi
leaq -0x30(%rbp), %r14
movq %r14, %rsi
movl $0xa, %edx
callq 0x9680
movq (%r14), %rdi
movb (%rdi), %sil
movsbl %sil, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
movl %r15d, -0x34(%rbp)
movq %rax, -0x70(%rbp)
jb 0x40b5f
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %sil
ja 0x40b46
movzbl %sil, %edx
btq %rdx, %rcx
jb 0x40b5c
movq %rdi, -0x30(%rbp)
movb (%rdi), %sil
movsbl %sil, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40b36
decq %rdi
leaq -0x30(%rbp), %r15
movq %r15, %rsi
movl $0xa, %edx
callq 0x9680
movq %rax, -0x40(%rbp)
movq %r12, -0xf8(%rbp)
movq 0x10(%r12), %rbx
movw $0x0, 0x1b0(%rbx)
movb $0x0, 0x1b2(%rbx)
movq (%r15), %r14
movsbl (%r14), %r15d
movl %r15d, %edi
callq 0x97c0
testl %r15d, %r15d
je 0x40bc7
testl %eax, %eax
jne 0x40bc7
incq %r14
movq %r14, -0x30(%rbp)
movsbl (%r14), %r15d
movl %r15d, %edi
callq 0x97c0
testl %r15d, %r15d
je 0x40bc7
incq %r14
testl %eax, %eax
je 0x40bab
movq -0x30(%rbp), %r12
movb (%r12), %r14b
movsbl %r14b, %edi
callq 0x97c0
testl %eax, %eax
je 0x40bfa
incq %r12
movq %r12, -0x30(%rbp)
movb (%r12), %r14b
movsbl %r14b, %edi
callq 0x97c0
incq %r12
testl %eax, %eax
jne 0x40bdf
decq %r12
testb %r14b, %r14b
je 0x40c1f
incq %r12
movq %r12, -0x30(%rbp)
movsbl (%r12), %r15d
movl %r15d, %edi
callq 0x97c0
testl %r15d, %r15d
je 0x40c1f
incq %r12
testl %eax, %eax
je 0x40c02
movq -0x30(%rbp), %rax
cmpb $0x6e, (%rax)
je 0x40cc7
movq -0x30(%rbp), %r12
movzbl 0x1(%r12), %eax
cmpl $0x6f, %eax
je 0x40c57
cmpl $0x6c, %eax
je 0x40c4e
cmpl $0x61, %eax
jne 0x40c5e
movb $0x1, 0x1b2(%rbx)
jmp 0x40c5e
movb $0x1, 0x1b1(%rbx)
jmp 0x40c5e
movb $0x1, 0x1b0(%rbx)
movb (%r12), %r14b
movsbl %r14b, %edi
callq 0x97c0
testl %eax, %eax
je 0x40c8d
incq %r12
movq %r12, -0x30(%rbp)
movb (%r12), %r14b
movsbl %r14b, %edi
callq 0x97c0
incq %r12
testl %eax, %eax
jne 0x40c72
decq %r12
testb %r14b, %r14b
je 0x40cb5
incq %r12
movq %r12, -0x30(%rbp)
movsbl (%r12), %r15d
movl %r15d, %edi
callq 0x97c0
incq %r12
testl %r15d, %r15d
je 0x40cb2
testl %eax, %eax
je 0x40c95
decq %r12
movzbl (%r12), %eax
cmpl $0x66, %eax
je 0x40cc7
testl %eax, %eax
jne 0x40c30
movq -0x30(%rbp), %rdi
movb (%rdi), %al
xorl %r12d, %r12d
testb %al, %al
je 0x40dc4
movsbl %al, %ecx
addl $-0x30, %ecx
cmpl $0xa, %ecx
jb 0x40d14
incq %rdi
movabsq $0x680000000001, %rcx   # imm = 0x680000000001
cmpb $0x2e, %al
ja 0x40cfd
movzbl %al, %eax
btq %rax, %rcx
jb 0x40d11
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
movsbl %al, %edx
addl $-0x30, %edx
incq %rdi
cmpl $0x9, %edx
ja 0x40cf0
decq %rdi
leaq -0x30(%rbp), %rbx
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9680
movq %rax, %r15
movq (%rbx), %r14
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x40d5b
testl %eax, %eax
jne 0x40d5b
incq %r14
movq %r14, -0x30(%rbp)
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x40d5b
incq %r14
testl %eax, %eax
je 0x40d41
movq -0x30(%rbp), %r14
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
testl %eax, %eax
je 0x40d8a
incq %r14
movq %r14, -0x30(%rbp)
movb (%r14), %bl
movsbl %bl, %edi
callq 0x97c0
incq %r14
testl %eax, %eax
jne 0x40d71
decq %r14
testb %bl, %bl
je 0x40dab
incq %r14
movq %r14, -0x30(%rbp)
movsbl (%r14), %ebx
movl %ebx, %edi
callq 0x97c0
testl %ebx, %ebx
je 0x40dab
incq %r14
testl %eax, %eax
je 0x40d91
movq -0x30(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x72, %eax
je 0x40dc9
cmpl $0x79, %eax
jne 0x40dcf
movl $0x1, %r12d
jmp 0x40dcf
xorl %r15d, %r15d
jmp 0x40dcf
movl $0x2, %r12d
movq -0xf8(%rbp), %rax
movq 0x10(%rax), %rdi
subq $0x8, %rsp
movsbl %r13b, %eax
movl -0x34(%rbp), %esi
movsd -0xf0(%rbp), %xmm0
movsd -0xe8(%rbp), %xmm1
movsd -0xe0(%rbp), %xmm2
movsd -0xd8(%rbp), %xmm3
movsd -0xd0(%rbp), %xmm4
movsd -0xc8(%rbp), %xmm5
movq -0x68(%rbp), %rdx
movq -0x60(%rbp), %rcx
movq -0x58(%rbp), %r8
movq -0x50(%rbp), %r9
movsd -0x90(%rbp), %xmm6
movsd -0x88(%rbp), %xmm7
pushq 0xc(%rdi)
pushq %r12
pushq %r15
pushq -0x40(%rbp)
pushq -0x70(%rbp)
pushq -0x48(%rbp)
pushq -0x78(%rbp)
pushq %rax
movq -0x80(%rbp), %r14
pushq %r14
pushq -0x98(%rbp)
pushq -0xa0(%rbp)
movq -0xa8(%rbp), %r13
pushq %r13
movq -0xb0(%rbp), %r12
pushq %r12
movq -0xb8(%rbp), %rbx
pushq %rbx
movq -0xc0(%rbp), %r15
pushq %r15
callq 0x3ccc0
addq $0x80, %rsp
callq 0x3974e
movq %rax, %rdi
movq -0x60(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq -0x58(%rbp), %rcx
movq -0x50(%rbp), %r8
movl %r15d, %r9d
pushq -0x48(%rbp)
pushq -0x40(%rbp)
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
callq 0x3a134
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x118(%rbp), %rdi
cmpq %r15, %rdi
je 0x40ee7
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x94e0
movq %rbx, %rdi
callq 0x98b0
nop