// File: /workspace/github_cpp_makefile_star2_O3/Doug0855[P]TigerZone/Adapter.cpp
// Function: Adapter::parseMakeMove(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
values_t Adapter::parseMakeMove(std::string message)
{
  std::istringstream buffer(message);
  std::istream_iterator<std::string> beg(buffer), end;

  std::vector<std::string> messageWords(beg,end);   //Put all the words from the message into a vector

  std::string gameId = messageWords[5];       // Get the gameId from the string
  std::string tileType = messageWords[messageWords.size()-1]; //get the tileType that we are about to place
  std::string moveNum = messageWords[messageWords.size()-3];  //get the move number

  values_t out;
  out.gameId = gameId;
  out.tile_num = exprToTile(tileType);
  out.moveNumber = moveNum;

  return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %rdi, %rbx
leaq -0x2e0(%rbp), %r14
movq %r14, %rdi
movq %rdx, %rsi
movl $0x8, %edx
callq 0x33b0
leaq -0x100(%rbp), %rdi
movq %r14, %rsi
callq 0xc664
xorl %eax, %eax
leaq -0xb8(%rbp), %r15
movq %rax, -0x18(%r15)
movq %r15, -0x10(%r15)
movq %rax, -0x8(%r15)
movb %al, (%r15)
movb %al, 0x10(%r15)
movq -0x100(%rbp), %rax
movq -0xf8(%rbp), %rsi
leaq -0x128(%rbp), %rdi
movq %rax, -0x8(%rdi)
leaq -0x118(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0xf0(%rbp), %rdx
addq %rsi, %rdx
callq 0x9cc4
movb -0xd8(%rbp), %al
movb %al, -0x108(%rbp)
movq -0xd0(%rbp), %rax
movq -0xc8(%rbp), %rsi
leaq -0x158(%rbp), %rdi
movq %rax, -0x8(%rdi)
leaq -0x148(%rbp), %r13
movq %r13, -0x10(%r13)
movq -0xc0(%rbp), %rdx
addq %rsi, %rdx
callq 0x9cc4
movb -0xa8(%rbp), %al
leaq -0x160(%rbp), %rdx
movb %al, 0x28(%rdx)
leaq -0x60(%rbp), %rdi
leaq -0x130(%rbp), %rsi
leaq -0x48(%rbp), %rcx
callq 0xc6b6
movq -0x158(%rbp), %rdi
cmpq %r13, %rdi
je 0xbb7f
callq 0x3200
movq -0x128(%rbp), %rdi
cmpq %r12, %rdi
je 0xbb90
callq 0x3200
movq -0x60(%rbp), %rax
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq 0xa0(%rax), %rsi
movq 0xa8(%rax), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x9cc4
movq -0x58(%rbp), %rax
leaq -0x90(%rbp), %r13
movq %r13, -0x10(%r13)
movq -0x20(%rax), %rsi
movq -0x18(%rax), %rdx
addq %rsi, %rdx
leaq -0xa0(%rbp), %rdi
callq 0x9cc4
movq -0x58(%rbp), %rax
leaq -0x70(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0x60(%rax), %rsi
movq -0x58(%rax), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %rdi
callq 0x9cc4
leaq 0x40(%rbx), %rdi
leaq 0x50(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rbx)
movups %xmm0, 0x18(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x38(%rbx)
movq %rax, 0x40(%rbx)
movq %rcx, 0x48(%rbx)
movb %cl, 0x50(%rbx)
leaq 0x70(%rbx), %rax
movq %rax, 0x60(%rbx)
movq %rcx, 0x68(%rbx)
movb %cl, 0x70(%rbx)
leaq 0x90(%rbx), %rax
movq %rax, 0x80(%rbx)
movq %rcx, 0x88(%rbx)
movb %cl, 0x90(%rbx)
movl $0x0, 0xa4(%rbx)
leaq -0x48(%rbp), %rsi
callq 0x3140
leaq 0x60(%rbx), %r14
leaq -0xa0(%rbp), %rsi
callq 0xa4c4
movl %eax, 0x4(%rbx)
leaq -0x80(%rbp), %rsi
movq %r14, %rdi
callq 0x3140
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0xbc8b
callq 0x3200
movq -0xa0(%rbp), %rdi
cmpq %r13, %rdi
leaq -0x38(%rbp), %r14
je 0xbca0
callq 0x3200
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0xbcae
callq 0x3200
leaq -0x60(%rbp), %rdi
callq 0xc60c
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0xbcc8
callq 0x3200
leaq -0xe8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xbcdd
callq 0x3200
movq 0x132dc(%rip), %rsi     # 0x1efc0
leaq -0x2e0(%rbp), %rdi
callq 0x3300
leaq -0x268(%rbp), %rdi
callq 0x30d0
movq %rbx, %rax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0xbd6f
movq %rax, %r14
jmp 0xbd80
movq %rax, %r14
jmp 0xbd92
movq %rax, %r14
movq -0x158(%rbp), %rdi
cmpq %r13, %rdi
je 0xbd39
callq 0x3200
jmp 0xbd39
movq %rax, %r14
movq -0x128(%rbp), %rdi
cmpq %r12, %rdi
je 0xbd9b
callq 0x3200
jmp 0xbd9b
movq %rax, %r14
jmp 0xbd9b
movq %rax, %r14
jmp 0xbdc1
movq %rax, %r14
movq %rbx, %rdi
callq 0x8b68
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0xbd6f
callq 0x3200
movq -0xa0(%rbp), %rdi
cmpq %r13, %rdi
je 0xbd80
callq 0x3200
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xbd92
callq 0x3200
leaq -0x60(%rbp), %rdi
callq 0xc60c
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0xbdac
callq 0x3200
leaq -0xe8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xbdc1
callq 0x3200
movq 0x131f8(%rip), %rsi     # 0x1efc0
leaq -0x2e0(%rbp), %rdi
callq 0x3300
leaq -0x268(%rbp), %rdi
callq 0x30d0
movq %r14, %rdi
callq 0x33f0