user: 请将以下的汇编代码转换成C语言代码：

```asm
<updatepins>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %esi,-0x28(%rbp)
  movl   $0x10,-0x1c(%rbp)
  movl   $0x5,-0x18(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x14(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0xc(%rbp)
  movl   $0x96,-0x8(%rbp)
  mov    -0x1c(%rbp),%eax
  sub    -0x18(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x1c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %ecx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%ecx
  mov    -0x1c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  mov    $0x0,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  cmpl   $0x1,-0x24(%rbp)
  jne    L42
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L42:
  cmpl   $0x2,-0x24(%rbp)
  jne    L7
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L7:
  cmpl   $0x3,-0x24(%rbp)
  jne    L56
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L56:
  cmpl   $0x4,-0x24(%rbp)
  jne    L58
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L58:
  cmpl   $0x5,-0x24(%rbp)
  jne    L66
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L66:
  cmpl   $0x6,-0x24(%rbp)
  jne    L13
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L13:
  cmpl   $0x7,-0x24(%rbp)
  jne    L62
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L62:
  cmpl   $0x8,-0x24(%rbp)
  jne    L87
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%ecx
  mov    -0x1c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L87:
  cmpl   $0x9,-0x24(%rbp)
  jne    L8
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%ecx
  mov    -0x1c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L8:
  cmpl   $0xa,-0x24(%rbp)
  jne    L54
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x1c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %ecx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
  mov    -0x4(%rbp),%eax
  lea    0x28(%rax),%ecx
  mov    -0x1c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0x8(%rbp),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  mov    $0xffff,%ecx
  mov    $0x5,%edx
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <drawX@plt>
L54:
  nop
  leave
  ret
```

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