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

```asm
<trace>:
  endbr64
  push   %r15
  push   %r14
  mov    %ecx,%r14d
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x68,%rsp
  mov    (%rdi),%r12d
  mov    0x4(%rdi),%ebp
  mov    $0x3e8,%edi
  mov    %edx,0xc(%rsp)
  mov    0xa0(%rsp),%r15
  mov    %r9,0x18(%rsp)
  movd   %ebp,%xmm1
  mov    %r8,0x10(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  lea    -0x1(%r12),%eax
  addl   $0x1,D6(%rip)
  movd   %eax,%xmm0
  lea    0x1(%rbp),%eax
  punpckldq %xmm1,%xmm0
  movd   %eax,%xmm2
  lea    0x1(%r12),%eax
  movq   %xmm0,0x38(%rsp)
  movd   %r12d,%xmm0
  punpckldq %xmm2,%xmm0
  movq   %xmm0,0x40(%rsp)
  movd   %eax,%xmm0
  lea    -0x1(%rbp),%eax
  punpckldq %xmm1,%xmm0
  movd   %eax,%xmm4
  movq   %xmm0,0x48(%rsp)
  movd   %r12d,%xmm0
  punpckldq %xmm4,%xmm0
  movq   %xmm0,0x50(%rsp)
  call   <usleep@plt>
  mov    0x18(%rsp),%r9
  movslq %r12d,%rdx
  movslq %ebp,%rax
  lea    0x0(,%rdx,8),%rsi
  lea    0x0(,%rax,4),%rcx
  mov    -0x8(%r9,%rsi,1),%rdi
  mov    (%r9,%rdx,8),%rdx
  mov    0x8(%r9,%rsi,1),%rsi
  mov    0x4(%rdx,%rcx,1),%r11d
  mov    -0x4(%rdx,%rcx,1),%ecx
  mov    (%rsi,%rax,4),%esi
  mov    (%rdi,%rax,4),%edi
  movl   $0x1,(%rdx,%rax,4)
  mov    %ecx,0x28(%rsp)
  mov    %esi,0x18(%rsp)
  cmp    %r12d,(%rbx)
  je     L148
L52:
  test   %edi,%edi
  je     L132
  test   %r11d,%r11d
  jne    L72
L93:
  lea    0x40(%rsp),%rdi
  sub    $0x8,%rsp
  mov    %r14d,%ecx
  mov    %rbx,%rsi
  push   %r15
  mov    0x20(%rsp),%r8
  mov    0x1c(%rsp),%edx
  mov    %r9,0x30(%rsp)
  call   <trace>
  mov    %rax,%r10
  pop    %rax
  pop    %rdx
  mov    0x20(%rsp),%r9
L19:
  mov    0x18(%rsp),%esi
  test   %esi,%esi
  jne    L37
  test   %r10,%r10
  je     L150
L169:
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r15,%rdi
  mov    %r10,0x18(%rsp)
  call   <increaseWay@plt>
  mov    0xc(%rsp),%esi
  mov    %rbx,%r9
  mov    %r13,%r8
  mov    0x10(%rsp),%rdi
  mov    %r15,%rcx
  mov    %r14d,%edx
  call   <printBitmap@plt>
  mov    0x18(%rsp),%r10
L164:
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L68
  add    $0x68,%rsp
  mov    %r10,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L72:
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  je     L150
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  jne    L151
L2:
  lea    0x50(%rsp),%rdi
  sub    $0x8,%rsp
  mov    %r14d,%ecx
  mov    %rbx,%rsi
  push   %r15
  mov    0x20(%rsp),%r8
  mov    0x1c(%rsp),%edx
  call   <trace>
  pop    %r9
  pop    %r11
  mov    %rax,%r10
L41:
  test   %r10,%r10
  jne    L169
L151:
  xor    %r10d,%r10d
  jmp    L164
  nopl   0x0(%rax)
L150:
  lea    0x48(%rsp),%rdi
  sub    $0x8,%rsp
  mov    %r14d,%ecx
  mov    %rbx,%rsi
  push   %r15
  mov    0x20(%rsp),%r8
  mov    0x1c(%rsp),%edx
  mov    %r9,0x28(%rsp)
  call   <trace>
  pop    %rdx
  pop    %rcx
  mov    0x18(%rsp),%r9
  mov    %rax,%r10
L37:
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  jne    L41
  test   %r10,%r10
  jne    L169
  jmp    L2
  nopl   0x0(%rax)
L148:
  cmp    %ebp,0x4(%rbx)
  jne    L52
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r15,%rdi
  call   <increaseWay@plt>
  mov    0xc(%rsp),%esi
  mov    %rbx,%r9
  mov    %r13,%r8
  mov    0x10(%rsp),%rdi
  mov    %r15,%rcx
  mov    %r14d,%edx
  call   <printBitmap@plt>
  mov    %r15,%r10
  jmp    L164
  nopl   0x0(%rax,%rax,1)
L132:
  mov    %r11d,0x2c(%rsp)
  lea    0x38(%rsp),%rdi
  mov    %r14d,%ecx
  mov    %rbx,%rsi
  sub    $0x8,%rsp
  push   %r15
  mov    0x20(%rsp),%r8
  mov    0x1c(%rsp),%edx
  mov    %r9,0x30(%rsp)
  call   <trace>
  pop    %rdi
  pop    %r8
  mov    0x2c(%rsp),%r11d
  mov    0x20(%rsp),%r9
  mov    %rax,%r10
  test   %r11d,%r11d
  jne    L19
  test   %rax,%rax
  jne    L169
  jmp    L93
L68:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int *trace(int *startPoint, int *exitpoint, int width, int heigth, int **bitmap, int **visited, int *way) {
  static int depth;
  depth++;
  int x = startPoint[1];
  int y = startPoint[0];
  int routes[4] = {0, 0, 0, 0};
  int up[2] = {y - 1, x};
  int right[2] = {y, x + 1};
  int down[2] = {y + 1, x};
  int left[2] = {y, x - 1};
  int *result = NULL;
  usleep(1000);
  if (visited[y - 1][x] == 0)
    routes[0] = 1;
  if (visited[y][x + 1] == 0)
    routes[1] = 1;
  if (visited[y + 1][x] == 0)
    routes[2] = 1;
  if (visited[y][x - 1] == 0)
    routes[3] = 1;
  visited[y][x] = 1;
  if (y == exitpoint[0] && x == exitpoint[1]) {
    increaseWay(way, x, y);
    printBitmap(bitmap, width, heigth, way, startPoint, exitpoint);
    return way;
  }
  if (routes[0] && result == NULL)
    result = trace(up, exitpoint, width, heigth, bitmap, visited, way);
  if (routes[1] && result == NULL)
    result = trace(right, exitpoint, width, heigth, bitmap, visited, way);
  if (routes[2] && result == NULL)
    result = trace(down, exitpoint, width, heigth, bitmap, visited, way);
  if (routes[3] && result == NULL)
    result = trace(left, exitpoint, width, heigth, bitmap, visited, way);
  if (result != NULL) {
    increaseWay(way, x, y);
    printBitmap(bitmap, width, heigth, way, startPoint, exitpoint);
  }
  return result;
}
```