user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<updatepins>:
  endbr64
  push   %rbx
  xor    %ecx,%ecx
  mov    %edi,%ebx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  xor    %eax,%eax
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xcb,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xc3,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x4d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  call   <drawX@plt>
  xor    %ecx,%ecx
  xor    %eax,%eax
  mov    $0x5,%edx
  mov    $0x5d,%esi
  mov    $0xb3,%edi
  call   <drawX@plt>
  cmp    $0x1,%ebx
  je     L117
  cmp    $0x2,%ebx
  je     L124
  cmp    $0x3,%ebx
  je     L0
  cmp    $0x4,%ebx
  jne    L24
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
L16:
  xor    %eax,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  call   <drawX@plt>
L37:
  pop    %rbx
  ret
  nopl   (%rax)
L0:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xab,%edi
L61:
  xor    %eax,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  call   <drawX@plt>
  pop    %rbx
  ret
  nopl   0x0(%rax,%rax,1)
L24:
  cmp    $0x5,%ebx
  jne    L76
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  jmp    L16
L76:
  cmp    $0x6,%ebx
  jne    L4
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  pop    %rbx
  mov    $0x4d,%esi
  mov    $0xab,%edi
  xor    %eax,%eax
  jmp    1050 <drawX@plt>
L4:
  cmp    $0x7,%ebx
  jne    L112
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x4d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  pop    %rbx
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  xor    %eax,%eax
  jmp    1050 <drawX@plt>
  nopw   0x0(%rax,%rax,1)
L112:
  cmp    $0x8,%ebx
  jne    L42
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xb3,%edi
L132:
  xor    %eax,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x4d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x4d,%esi
  mov    $0xbb,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  pop    %rbx
  mov    $0x5d,%esi
  mov    $0xb3,%edi
  xor    %eax,%eax
  jmp    1050 <drawX@plt>
  nopw   0x0(%rax,%rax,1)
L124:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0x9b,%edi
  jmp    L61
  nopl   0x0(%rax)
L117:
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  pop    %rbx
  ret
  nopl   (%rax)
L42:
  cmp    $0x9,%ebx
  jne    L113
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xbb,%edi
L99:
  xor    %eax,%eax
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xa3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x3d,%esi
  mov    $0xb3,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x3d,%esi
  mov    $0xc3,%edi
  jmp    L132
L113:
  cmp    $0xa,%ebx
  jne    L37
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  xor    %eax,%eax
  mov    $0x9b,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xab,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    $0x2d,%esi
  mov    $0xbb,%edi
  call   <drawX@plt>
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    $0x2d,%esi
  mov    $0xcb,%edi
  jmp    L99
```

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);
  }
}
```