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

```asm
<setZeroes>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  mov    %edx,%r13d
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  test   %esi,%esi
  jle    L246
  lea    -0x1(%rsi),%eax
  lea    0x8(%rdi),%rbx
  mov    %rdi,%r8
  mov    $0x1,%r14d
  mov    %eax,0x1c(%rsp)
  lea    (%rbx,%rax,8),%r9
  movslq %edx,%rsi
  xchg   %ax,%ax
L204:
  test   %r13d,%r13d
  jle    L42
  mov    (%r8),%rdx
  xor    %eax,%eax
  jmp    L7
  nopl   0x0(%rax)
L16:
  mov    (%r12),%rdi
  movl   $0x0,(%rdi,%rcx,1)
  movl   $0x0,(%rdx)
L266:
  add    $0x1,%rax
  cmp    %rsi,%rax
  je     L42
L7:
  mov    (%rdx,%rax,4),%edi
  lea    0x0(,%rax,4),%rcx
  test   %edi,%edi
  jne    L266
  test   %rax,%rax
  jne    L16
  add    $0x1,%rax
  xor    %r14d,%r14d
  cmp    %rsi,%rax
  jne    L7
  nopw   0x0(%rax,%rax,1)
L42:
  add    $0x8,%r8
  cmp    %r9,%r8
  jne    L204
  cmp    $0x1,%r15d
  je     L157
  lea    -0x2(%r15),%eax
  mov    %rbx,%rcx
  lea    0x10(%r12,%rax,8),%r8
  lea    -0x1(%r13),%eax
  lea    0x4(,%rax,4),%rbp
  jmp    L127
  nopl   0x0(%rax)
L126:
  add    $0x8,%rcx
  cmp    %rcx,%r8
  je     L157
L127:
  mov    (%rcx),%rdi
  mov    (%rdi),%esi
  test   %esi,%esi
  jne    L126
  test   %r13d,%r13d
  jle    L126
  mov    %rbp,%rdx
  xor    %esi,%esi
  mov    %rcx,0x10(%rsp)
  mov    %r8,0x8(%rsp)
  call   <memset@plt>
  mov    0x10(%rsp),%rcx
  mov    0x8(%rsp),%r8
  add    $0x8,%rcx
  cmp    %rcx,%r8
  jne    L127
L157:
  cmp    $0x1,%r13d
  jle    L65
L179:
  mov    0x1c(%rsp),%eax
  mov    %r13d,%r8d
  mov    (%r12),%rdi
  mov    $0x4,%edx
  shl    $0x2,%r8
  lea    (%rbx,%rax,8),%rsi
  jmp    L47
  nopw   0x0(%rax,%rax,1)
L172:
  add    $0x4,%rdx
  cmp    %rdx,%r8
  je     L193
L47:
  mov    (%rdi,%rdx,1),%ecx
  test   %ecx,%ecx
  jne    L172
  test   %r15d,%r15d
  jle    L172
  mov    %r12,%rax
L279:
  mov    (%rax),%rcx
  add    $0x8,%rax
  movl   $0x0,(%rcx,%rdx,1)
  cmp    %rsi,%rax
  jne    L279
  add    $0x4,%rdx
  cmp    %rdx,%r8
  jne    L47
L193:
  mov    (%rdi),%eax
  test   %eax,%eax
  jne    L165
  lea    -0x1(%r13),%edx
  add    $0x4,%rdi
  xor    %esi,%esi
  shl    $0x2,%rdx
  call   <memset@plt>
L165:
  test   %r14d,%r14d
  jne    L39
  test   %r15d,%r15d
  jle    L39
L25:
  mov    0x1c(%rsp),%ebp
  lea    (%rbx,%rbp,8),%rdx
  nopw   0x0(%rax,%rax,1)
L137:
  mov    (%r12),%rax
  add    $0x8,%r12
  movl   $0x0,(%rax)
  cmp    %rdx,%r12
  jne    L137
L39:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L65:
  test   %r14d,%r14d
  je     L25
  jmp    L39
L246:
  lea    -0x1(%rsi),%eax
  mov    $0x1,%r14d
  lea    0x8(%rdi),%rbx
  mov    %eax,0x1c(%rsp)
  cmp    $0x1,%edx
  jg     L179
  jmp    L39
```

assistant: ```c
void setZeroes(int **matrix, int matrixRowSize, int matrixColSize) {
  int col = 1;
  for (int i = 0; i < matrixRowSize; i++) {
    for (int j = 0; j < matrixColSize; j++) {
      if (matrix[i][j] == 0) {
        if (j == 0)
          col = 0;
        else
          matrix[i][0] = matrix[0][j] = 0;
      }
    }
  }
  for (int i = 1; i < matrixRowSize; i++)
    if (matrix[i][0] == 0)
      for (int j = 0; j < matrixColSize; j++)
        matrix[i][j] = 0;
  for (int j = 1; j < matrixColSize; j++)
    if (matrix[0][j] == 0)
      for (int i = 0; i < matrixRowSize; i++)
        matrix[i][j] = 0;
  if (matrix[0][0] == 0)
    for (int j = 1; j < matrixColSize; j++)
      matrix[0][j] = 0;
  if (col == 0)
    for (int i = 0; i < matrixRowSize; i++)
      matrix[i][0] = 0;
}
```