user: 请从给定的汇编指令推导出C源代码:

```asm
<updatepins>:
  endbr64
  push   %rbx
  mov    %edi,%ebx
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xcb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xc3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    $0x5d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  cmp    $0x1,%ebx
  je     L178
  cmp    $0x2,%ebx
  je     L99
  cmp    $0x3,%ebx
  je     L33
L184:
  cmp    $0x4,%ebx
  je     L39
L102:
  cmp    $0x5,%ebx
  je     L197
L90:
  cmp    $0x6,%ebx
  je     L193
L87:
  cmp    $0x7,%ebx
  je     L144
L106:
  cmp    $0x8,%ebx
  je     L63
L77:
  cmp    $0x9,%ebx
  je     L169
L151:
  cmp    $0xa,%ebx
  je     L170
L103:
  pop    %rbx
  ret
L178:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L184
L99:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L102
L33:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L90
L39:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L87
L197:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L106
L193:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L77
L144:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L151
L63:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x5d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L103
L169:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xc3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x5d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L103
L170:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xcb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xc3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xab,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x5d,%esi
  mov    $0xb3,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  jmp    L103
```

assistant: ```c
void updatepins(int score, int round) {
  int sizeofBox = 16;
  int sizeofXs = 5;
  int rowoffset2 = (4 * sizeofBox - 3 * sizeofBox) / 2;
  int rowoffset3 = rowoffset2 + (3 * sizeofBox - 2 * sizeofBox) / 2;
  int rowoffset4 = rowoffset3 + (2 * sizeofBox - sizeofBox) / 2;
  int boxnum;
  int horzposition = (320 - 20) / 2;
  int offset;
  offset = (sizeofBox - sizeofXs) / 2;
  drawX(horzposition + offset, 40 + offset, 5, 0);
  drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0);
  drawX(horzposition + offset + sizeofBox * 2, 40 + offset, 5, 0);
  drawX(horzposition + offset + sizeofBox * 3, 40 + offset, 5, 0);
  drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0);
  drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0);
  drawX(horzposition + offset + rowoffset2 + sizeofBox * 2, 40 + offset + sizeofBox, 5, 0);
  drawX(horzposition + offset + rowoffset3, 40 + offset + sizeofBox * 2, 5, 0);
  drawX(horzposition + offset + rowoffset3 + sizeofBox, 40 + offset + sizeofBox * 2, 5, 0);
  drawX(horzposition + offset + rowoffset4, 40 + offset + sizeofBox * 3, 5, 0);
  if (score == 1) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
  }
  if (score == 2) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
  }
  if (score == 3) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
  }
  if (score == 4) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0xFFFF);
  }
  if (score == 5) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox * 2, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0xFFFF);
  }
  if (score == 6) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox * 2, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0xFFFF);
    drawX(horzposition + offset + rowoffset3, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
  }
  if (score == 7) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox * 2, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0xFFFF);
    drawX(horzposition + offset + rowoffset3, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset3 + sizeofBox, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
  }
  if (score == 8) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox * 2, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0xFFFF);
    drawX(horzposition + offset + rowoffset3, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset3 + sizeofBox, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset4, 40 + offset + sizeofBox * 3, 5, 0XFFFF);
  }
  if (score == 9) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox * 2, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0xFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox * 2, 40 + offset + sizeofBox, 5, 0xFFFF);
    drawX(horzposition + offset + rowoffset3, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset3 + sizeofBox, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset4, 40 + offset + sizeofBox * 3, 5, 0XFFFF);
  }
  if (score == 10) {
    drawX(horzposition + offset, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox * 2, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + sizeofBox * 3, 40 + offset, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2, 40 + offset + sizeofBox, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox, 40 + offset + sizeofBox, 5, 0xFFFF);
    drawX(horzposition + offset + rowoffset2 + sizeofBox * 2, 40 + offset + sizeofBox, 5, 0xFFFF);
    drawX(horzposition + offset + rowoffset3, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset3 + sizeofBox, 40 + offset + sizeofBox * 2, 5, 0XFFFF);
    drawX(horzposition + offset + rowoffset4, 40 + offset + sizeofBox * 3, 5, 0XFFFF);
  }
}
```