user: 这段汇编代码用C语言表示是什么样的：

```asm
<ai_moverobber>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %edi,%r12d
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  call   <map_getrobberhex@plt>
  mov    %eax,%ebp
  mov    %eax,%edi
  call   <robber_erase@plt>
  lea    0x20(%rsp),%rax
  lea    0x78(%rsp),%rdx
L121:
  movl   $0x0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L121
  movl   $0xfffffc18,0x70(%rsp)
  movl   $0xfffffc18,0x28(%rsp)
  movl   $0xfffffc18,0x20(%rsp)
  mov    $0x1,%ebx
  jmp    L29
L47:
  mov    %r12d,%edi
  call   <ai_robweight@plt>
  mov    %eax,0x20(%rsp,%rbx,4)
L23:
  add    $0x1,%rbx
  cmp    $0x16,%rbx
  je     L149
L29:
  mov    %ebx,%esi
  cmp    $0x2,%ebx
  je     L23
  cmp    $0x14,%ebx
  jne    L47
  jmp    L23
L149:
  mov    $0x1,%eax
  mov    $0x0,%ebx
  mov    $0x0,%ecx
  jmp    L5
L84:
  add    $0x1,%rax
  cmp    $0x16,%rax
  je     L19
L5:
  mov    0x20(%rsp,%rax,4),%edx
  cmp    %eax,%ebp
  je     L84
  cmp    %ecx,%edx
  cmovg  %eax,%ebx
  cmovg  %edx,%ecx
  jmp    L84
L19:
  mov    %ebx,%edi
  call   <robber_place@plt>
  mov    %rsp,%rbp
  mov    %rbp,%rsi
  mov    %ebx,%edi
  call   <ai_vertsonhex@plt>
  mov    %rbp,%rbx
  lea    0x18(%rsp),%r15
  mov    $0x0,%r14d
  mov    $0x0,%r13d
  jmp    L16
L158:
  add    $0x4,%rbx
  cmp    %rbx,%r15
  je     L107
L16:
  mov    (%rbx),%ebp
  mov    %ebp,%edi
  call   <data_playeratvertex@plt>
  mov    %eax,%esi
  mov    %ebp,%edx
  mov    %r12d,%edi
  call   <ai_playerweight@plt>
  cmp    %r13d,%eax
  jle    L158
  mov    (%rbx),%ebp
  mov    %ebp,%edi
  call   <data_playeratvertex@plt>
  mov    %eax,%esi
  mov    %ebp,%edx
  mov    %r12d,%edi
  call   <ai_playerweight@plt>
  mov    %eax,%r13d
  mov    (%rbx),%edi
  call   <data_playeratvertex@plt>
  mov    %eax,%r14d
  jmp    L158
L107:
  mov    %r14d,%edi
  call   <data_totresources@plt>
  test   %rax,%rax
  jg     L55
L101:
  mov    %r12d,%edi
  call   <data_refresh@plt>
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L155
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L55:
  mov    %r14d,%edi
  call   <robber_steal@plt>
  mov    %eax,%esi
  mov    $0x1,%edx
  mov    %r12d,%edi
  call   <data_addresource@plt>
  jmp    L101
L155:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void ai_moverobber(int player) {
  int hexorig = map_getrobberhex();
  robber_erase(hexorig);
  int hexes[22], i;
  for (i = 0; i < 22; i++)
    hexes[i] = 0;
  hexes[0] = hexes[2] = hexes[20] = -1000;
  for (i = 1; i < 22; i++) {
    if (i == 2 || i == 20)
      continue;
    hexes[i] = ai_robweight(player, i);
  }
  int max, hex;
  hex = max = 0;
  for (i = 1; i < 22; i++) {
    if (hexes[i] > max && i != hexorig) {
      max = hexes[i];
      hex = i;
    }
  }
  robber_place(hex);
  int verts[6];
  ai_vertsonhex(hex, verts);
  max = 0;
  int maxp = 0;
  for (i = 0; i < 6; i++) {
    if (ai_playerweight(player, data_playeratvertex(verts[i]), verts[i]) > max) {
      max = ai_playerweight(player, data_playeratvertex(verts[i]), verts[i]);
      maxp = data_playeratvertex(verts[i]);
    }
  }
  if (data_totresources(maxp) > 0)
    data_addresource(player, robber_steal(maxp), 1);
  data_refresh(player);
}
```