user: What would the C source look like for the assembly code provided here?

```asm
<printMatrixClockwisely>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  lea    -0x1(%rdx),%r13d
  push   %r12
  lea    -0x1(%rsi),%r12d
  push   %rbp
  mov    %r12d,%eax
  push   %rbx
  lea    D7(%rip),%rbx
  sub    $0x28,%rsp
  cmp    %r12d,%r13d
  cmovle %r13d,%eax
  mov    %rdi,0x18(%rsp)
  xor    %r14d,%r14d
  xor    %ebp,%ebp
  movl   $0xffffffff,0x14(%rsp)
  test   %eax,%eax
  jle    L105
  nopl   (%rax)
L103:
  cmp    0x14(%rsp),%r13d
  jle    L100
  mov    0x18(%rsp),%rcx
  movslq %ebp,%rax
  movslq 0x14(%rsp),%rsi
  lea    (%rax,%rax,4),%rax
  lea    (%rcx,%rax,4),%rcx
  mov    %r13d,%eax
  sub    %esi,%eax
  lea    0x4(%rcx,%rsi,4),%r15
  sub    $0x1,%eax
  add    %rsi,%rax
  lea    0x8(%rcx,%rax,4),%rax
  mov    %rax,0x8(%rsp)
  nopw   0x0(%rax,%rax,1)
L116:
  mov    (%r15),%esi
  mov    %rbx,%rdi
  xor    %eax,%eax
  add    $0x4,%r15
  call   <printf@plt>
  cmp    0x8(%rsp),%r15
  jne    L116
  mov    %r13d,0x8(%rsp)
L8:
  sub    $0x1,%r13d
  cmp    %ebp,%r12d
  jle    L77
  mov    %r12d,%ecx
  movslq %ebp,%rsi
  movslq 0x8(%rsp),%rax
  mov    0x18(%rsp),%rdi
  sub    %ebp,%ecx
  lea    (%rsi,%rsi,4),%rdx
  sub    $0x1,%ecx
  add    %rax,%rdx
  add    %rsi,%rcx
  lea    (%rdi,%rdx,4),%r15
  lea    (%rcx,%rcx,4),%rcx
  add    %rcx,%rax
  lea    0x14(%rdi,%rax,4),%rbp
  nopl   (%rax)
L75:
  mov    0x14(%r15),%esi
  mov    %rbx,%rdi
  xor    %eax,%eax
  add    $0x14,%r15
  call   <printf@plt>
  cmp    %rbp,%r15
  jne    L75
  mov    %r12d,%ebp
L77:
  mov    0x8(%rsp),%edx
  mov    %r14d,0x14(%rsp)
  sub    $0x1,%r12d
  cmp    %r14d,%edx
  jle    L92
  mov    0x18(%rsp),%rcx
  movslq %ebp,%rax
  lea    (%rax,%rax,4),%rax
  lea    (%rcx,%rax,4),%rsi
  movslq %edx,%rax
  sub    %r14d,%edx
  mov    %edx,%ecx
  shl    $0x2,%rax
  sub    $0x1,%ecx
  lea    -0x4(%rsi,%rax,1),%r15
  sub    $0x8,%rax
  shl    $0x2,%rcx
  sub    %rcx,%rax
  add    %rsi,%rax
  mov    %rax,0x8(%rsp)
  nopw   0x0(%rax,%rax,1)
L30:
  mov    (%r15),%esi
  mov    %rbx,%rdi
  xor    %eax,%eax
  sub    $0x4,%r15
  call   <printf@plt>
  cmp    0x8(%rsp),%r15
  jne    L30
L112:
  lea    0x1(%r14),%eax
  mov    %eax,0x8(%rsp)
  cmp    %eax,%ebp
  jle    L90
  movslq 0x14(%rsp),%rdx
  movslq %ebp,%rax
  sub    %r14d,%ebp
  lea    (%rax,%rax,4),%rax
  lea    -0x2(%rbp),%esi
  add    %rdx,%rax
  mov    0x18(%rsp),%rdx
  lea    (%rsi,%rsi,4),%rsi
  shl    $0x2,%rsi
  shl    $0x2,%rax
  lea    -0x14(%rdx),%rcx
  lea    (%rdx,%rax,1),%r15
  sub    %rsi,%rcx
  mov    %rcx,%rbp
  add    %rax,%rbp
  nopl   0x0(%rax,%rax,1)
L42:
  mov    -0x14(%r15),%esi
  mov    %rbx,%rdi
  xor    %eax,%eax
  sub    $0x14,%r15
  call   <printf@plt>
  cmp    %rbp,%r15
  jne    L42
  mov    0x8(%rsp),%ebp
L90:
  cmp    %r12d,%r13d
  mov    %r12d,%eax
  mov    0x8(%rsp),%r14d
  cmovle %r13d,%eax
  cmp    %r14d,%eax
  jg     L103
L105:
  add    $0x28,%rsp
  mov    $0xa,%edi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <putchar@plt>
  nopl   0x0(%rax,%rax,1)
L100:
  mov    0x14(%rsp),%eax
  mov    %eax,0x8(%rsp)
  jmp    L8
  nopl   (%rax)
L92:
  mov    0x8(%rsp),%eax
  mov    %eax,0x14(%rsp)
  jmp    L112
```

tool_calls: name: disassemble_data
arguments: tag: D7
type: string

tool: D7: %d 

assistant: ```c
void printMatrixClockwisely(int matrix[][5], int row, int col) {
  int min = 0;
  int maxCol = col - 1;
  int maxRow = row - 1;
  int i = 0, j = -1;
  while (min < (maxRow < maxCol ? maxRow : maxCol)) {
    while (j < maxCol) {
      ++j;
      printf("%d ", matrix[i][j]);
    }
    --maxCol;
    while (i < maxRow) {
      ++i;
      printf("%d ", matrix[i][j]);
    }
    --maxRow;
    while (j > min) {
      --j;
      printf("%d ", matrix[i][j]);
    }
    ++min;
    while (i > min) {
      --i;
      printf("%d ", matrix[i][j]);
    }
  }
  printf("\n");
}
```