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

```asm
<rotate>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %edx,-0x20(%rbp)
  cmpl   $0x1,-0x1c(%rbp)
  jle    L30
  movl   $0x0,-0x10(%rbp)
  mov    -0x1c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L27
L33:
  movl   $0x0,-0x8(%rbp)
  jmp    L59
L14:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x10(%rbp),%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x10(%rbp),%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  sub    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x10(%rbp),%esi
  mov    -0x8(%rbp),%edx
  add    %esi,%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x10(%rbp),%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x10(%rbp),%ecx
  mov    -0xc(%rbp),%eax
  add    %ecx,%eax
  sub    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%ecx
  mov    -0xc(%rbp),%edx
  add    %ecx,%edx
  sub    -0x8(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x10(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x10(%rbp),%ecx
  mov    -0xc(%rbp),%eax
  add    %ecx,%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%ecx
  mov    -0xc(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x10(%rbp),%esi
  mov    -0xc(%rbp),%edx
  add    %esi,%edx
  sub    -0x8(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x10(%rbp),%ecx
  mov    -0xc(%rbp),%eax
  add    %ecx,%eax
  cltq
  shl    $0x2,%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x8(%rbp)
L59:
  mov    -0x8(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jl     L14
  addl   $0x1,-0x10(%rbp)
  subl   $0x2,-0xc(%rbp)
L27:
  cmpl   $0x0,-0xc(%rbp)
  jg     L33
  jmp    L1
L30:
  nop
L1:
  pop    %rbp
  ret
```

assistant: ```c
void rotate(int **matrix, int matrixRowSize, int matrixColSize) {
  if (matrixRowSize <= 1)
    return;
  int i, l, k, t;
  i = 0;
  l = matrixRowSize - 1;
  while (l >= 1) {
    for (k = 0; k < l; k++) {
      t = matrix[i][i + k];
      matrix[i][i + k] = matrix[i + l - k][i];
      matrix[i + l - k][i] = matrix[i + l][i + l - k];
      matrix[i + l][i + l - k] = matrix[k + i][i + l];
      matrix[k + i][i + l] = t;
    }
    i++;
    l -= 2;
  }
}
```