// File: /workspace/github_cpp_makefile_star2_O3/kobanium[P]Ray/src/gtp/Gtp.cpp
// Function: GTP_lz_analyze()
void GTP_lz_analyze( void )
{
  char *command;
  int color = S_EMPTY, centi_second = 100;

  StopPondering();

  command = STRTOK(input_copy, DELIM, &next_token);
  CHOMP(command);

  ParseAnalysisTag(color, centi_second);

  bool old_pondering_mode = pondering_mode;
  SetPonderingMode(true);

  if (color == S_EMPTY) {
    color = player_color;
  } else {
    player_color = color;
  }

  if (command_id >= 0) {
    std::cout << "=" << command_id << " " << std::endl;
  } else {
    std::cout << "= " << std::endl;
  }

  UctSearchPondering(game, color, centi_second);

  while (!InputPending()) {
    std::this_thread::yield();
  }

  StopPondering();
  SetPonderingMode(old_pondering_mode);

  std::cout << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movl $0x0, 0xc(%rsp)
movl $0x64, 0x8(%rsp)
callq 0x4a986
leaq 0x55f4b(%rip), %rdi     # 0x77280
leaq 0x3c0c6(%rip), %rsi     # 0x5d402
callq 0x6640
movq %rax, %rbx
movq %rax, %rdi
callq 0x6160
cmpb $0xa, -0x1(%rbx,%rax)
jne 0x21358
movb $0x0, -0x1(%rbx,%rax)
leaq 0xc(%rsp), %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x21b50
leaq 0x1aaba5cb(%rip), %rax  # 0x1aadb93c
movb (%rax), %bpl
movl $0x1, %edi
callq 0x4a4c4
movl (%rbx), %ebx
testl %ebx, %ebx
je 0x2138c
movl %ebx, 0x550b6(%rip)     # 0x76440
jmp 0x21392
movl 0x550ae(%rip), %ebx     # 0x76440
cmpl $0x0, 0x55fef(%rip)     # 0x77388
js 0x213d8
movq 0x54c06(%rip), %r14     # 0x75fa8
leaq 0x3c7f8(%rip), %rsi     # 0x5dba1
movl $0x1, %edx
movq %r14, %rdi
callq 0x6490
movl 0x55fcc(%rip), %esi     # 0x77388
movq %r14, %rdi
callq 0x6730
movq %rax, %r14
leaq 0x3c034(%rip), %rsi     # 0x5d402
movl $0x1, %edx
movq %rax, %rdi
jmp 0x213ee
movq 0x54bc9(%rip), %r14     # 0x75fa8
leaq 0x3be63(%rip), %rsi     # 0x5d249
movl $0x2, %edx
movq %r14, %rdi
callq 0x6490
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
movq 0x55f6f(%rip), %rdi     # 0x77390
movl 0x8(%rsp), %edx
movl %ebx, %esi
callq 0x4b349
xorps %xmm0, %xmm0
leaq 0x28(%rsp), %rbx
movups %xmm0, 0x68(%rbx)
movups %xmm0, 0x58(%rbx)
movups %xmm0, 0x48(%rbx)
movups %xmm0, 0x38(%rbx)
movups %xmm0, 0x28(%rbx)
movups %xmm0, 0x18(%rbx)
movups %xmm0, 0x8(%rbx)
movq $0x0, 0x78(%rbx)
movq $0x1, (%rbx)
leaq 0x10(%rsp), %r8
movaps %xmm0, (%r8)
movl $0x1, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x63b0
testb $0x1, (%rbx)
jne 0x214e8
leaq 0x30(%rsp), %r15
leaq 0x28(%rsp), %rbx
leaq 0x10(%rsp), %r14
callq 0x65e0
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%r15)
movups %xmm0, 0x50(%r15)
movups %xmm0, 0x40(%r15)
movups %xmm0, 0x30(%r15)
movups %xmm0, 0x20(%r15)
movups %xmm0, 0x10(%r15)
movups %xmm0, (%r15)
movq $0x0, 0x70(%r15)
movq $0x1, 0x28(%rsp)
movaps %xmm0, 0x10(%rsp)
movl $0x1, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r8
callq 0x63b0
testb $0x1, 0x28(%rsp)
je 0x2148d
callq 0x4a986
movzbl %bpl, %edi
callq 0x4a4c4
movq 0x54aab(%rip), %rbx     # 0x75fa8
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
addq $0xa8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq