user: What is the c source code of the assembly code below:

```asm
<spiralPrint>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %esi,-0x18(%rbp)
  mov    %rdx,-0x20(%rbp)
  movl   $0x0,-0x8(%rbp)
  movl   $0x0,-0x4(%rbp)
  jmp    L82
L31:
  mov    -0x4(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  jmp    L101
L104:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  mov    %eax,%esi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  addl   $0x1,-0xc(%rbp)
L101:
  mov    -0xc(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jl     L104
  addl   $0x1,-0x8(%rbp)
  mov    -0x8(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  jmp    L128
L33:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  mov    %eax,%esi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  addl   $0x1,-0xc(%rbp)
L128:
  mov    -0xc(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jl     L33
  subl   $0x1,-0x18(%rbp)
  mov    -0x8(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jge    L47
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L67
L27:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  lea    -0x18(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  mov    %eax,%esi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  subl   $0x1,-0xc(%rbp)
L67:
  mov    -0xc(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jge    L27
  subl   $0x1,-0x14(%rbp)
L47:
  mov    -0x4(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jge    L82
  mov    -0x14(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L62
L6:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  mov    %eax,%esi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  subl   $0x1,-0xc(%rbp)
L62:
  mov    -0xc(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jge    L6
  addl   $0x1,-0x4(%rbp)
L82:
  mov    -0x8(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jge    L106
  mov    -0x4(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jl     L31
L106:
  nop
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D32
type: string

tool: D32: %d 

assistant: ```c
void spiralPrint(int m, int n, int a[3][6]) {
  int i, k = 0, l = 0;
  while (k < m && l < n) {
    for (i = l; i < n; ++i) {
      printf("%d ", a[k][i]);
    }
    k++;
    for (i = k; i < m; ++i) {
      printf("%d ", a[i][n - 1]);
    }
    n--;
    if (k < m) {
      for (i = n - 1; i >= l; --i) {
        printf("%d ", a[m - 1][i]);
      }
      m--;
    }
    if (l < n) {
      for (i = m - 1; i >= k; --i) {
        printf("%d ", a[i][l]);
      }
      l++;
    }
  }
}
```