user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<isValidSudoku>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  lea    D0(%rip),%r12
  push   %rbp
  lea    0x48(%rdi),%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
L7:
  mov    $0x9,%esi
  mov    %r12,%rdi
  call   <bzero@plt>
  xor    %edx,%edx
  nopw   0x0(%rax,%rax,1)
L60:
  mov    0x0(%r13),%rax
  movzbl (%rax,%rdx,1),%eax
  cmp    $0x2e,%al
  je     L162
  sub    $0x31,%eax
  cmp    $0x8,%al
  ja     L71
  movsbq %al,%rax
  cmpb   $0x0,(%r12,%rax,1)
  jne    L71
  movb   $0x1,(%r12,%rax,1)
L162:
  add    $0x1,%rdx
  cmp    $0x9,%rdx
  jne    L60
  add    $0x8,%r13
  cmp    %rbp,%r13
  jne    L7
  xor    %r13d,%r13d
L68:
  mov    $0x9,%esi
  mov    %r12,%rdi
  call   <bzero@plt>
  mov    %rbx,%rdx
  nopl   0x0(%rax)
L111:
  mov    (%rdx),%rax
  movzbl (%rax,%r13,1),%eax
  cmp    $0x2e,%al
  je     L78
  sub    $0x31,%eax
  cmp    $0x8,%al
  ja     L71
  movsbq %al,%rax
  cmpb   $0x0,(%r12,%rax,1)
  jne    L71
  movb   $0x1,(%r12,%rax,1)
L78:
  add    $0x8,%rdx
  cmp    %rbp,%rdx
  jne    L111
  add    $0x1,%r13
  cmp    $0x9,%r13
  jne    L68
  xor    %r14d,%r14d
L168:
  xor    %r15d,%r15d
  mov    $0x3,%r13d
  lea    0x3(%r14),%ebp
L155:
  mov    $0x9,%esi
  mov    %r12,%rdi
  call   <bzero@plt>
  mov    %rbx,%rcx
  mov    %r14d,%esi
L140:
  mov    %r15,%rdx
  nopl   0x0(%rax)
L12:
  mov    (%rcx),%rax
  movzbl (%rax,%rdx,1),%eax
  cmp    $0x2e,%al
  je     L186
  sub    $0x31,%eax
  cmp    $0x8,%al
  ja     L71
  movsbq %al,%rax
  cmpb   $0x0,(%r12,%rax,1)
  jne    L71
  movb   $0x1,(%r12,%rax,1)
L186:
  add    $0x1,%rdx
  cmp    %edx,%r13d
  jg     L12
  add    $0x1,%esi
  add    $0x8,%rcx
  cmp    %esi,%ebp
  jg     L140
  add    $0x3,%r15
  add    $0x3,%r13d
  cmp    $0x9,%r15
  jne    L155
  add    $0x18,%rbx
  cmp    $0x9,%ebp
  jne    L52
  mov    $0x1,%eax
  jmp    L105
  nopl   0x0(%rax)
L71:
  xor    %eax,%eax
L105:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L52:
  mov    %ebp,%r14d
  jmp    L168
```

assistant: ```c
isValidSudoku(char **board, int boardRowSize, int boardColSize) {
  static char nums[9];
  int i, j, k, l;
  for (i = 0; i < 9; i++) {
    bzero(nums, sizeof(nums));
    for (j = 0; j < 9; j++) {
      if (board[i][j] == '.')
        continue;
      if (board[i][j] < '1' || board[i][j] > '9')
        return (0);
      if (nums[board[i][j] - '1'])
        return (0);
      nums[board[i][j] - '1'] = 1;
    }
  }
  for (i = 0; i < 9; i++) {
    bzero(nums, sizeof(nums));
    for (j = 0; j < 9; j++) {
      if (board[j][i] == '.')
        continue;
      if (board[j][i] < '1' || board[j][i] > '9')
        return (0);
      if (nums[board[j][i] - '1'])
        return (0);
      nums[board[j][i] - '1'] = 1;
    }
  }
  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      bzero(nums, sizeof(nums));
      for (k = i * 3; k < i * 3 + 3; k++) {
        for (l = j * 3; l < j * 3 + 3; l++) {
          if (board[k][l] == '.')
            continue;
          if (board[k][l] < '1' || board[k][l] > '9')
            return (0);
          if (nums[board[k][l] - '1'])
            return (0);
          nums[board[k][l] - '1'] = 1;
        }
      }
    }
  }
  return (1);
}
```