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

```asm
<get_minimal>:
  endbr64
  push   %r15
  movslq %ecx,%r11
  mov    %r8,%r15
  push   %r14
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %r9,%rbp
  push   %rbx
  mov    %r11,%rbx
  sub    $0x18,%rsp
  test   %edi,%edi
  jle    L191
  lea    -0x1(%rdi),%r10d
  movslq %esi,%rax
  mov    $0x80,%r13d
  movslq %r10d,%rdx
  shl    $0x2,%rax
  imul   %r11,%rdx
  lea    (%rax,%rdx,4),%rax
  mov    $0x7f,%edx
  mov    (%r9,%rax,1),%r14d
  test   %r14d,%r14d
  je     L193
L136:
  lea    -0x1(%r12),%eax
  mov    $0x80,%r14d
  cmp    %edi,%eax
  jle    L59
  lea    0x1(%rdi),%r10d
  movslq %esi,%rax
  movslq %r10d,%rcx
  shl    $0x2,%rax
  imul   %r11,%rcx
  lea    (%rax,%rcx,4),%rax
  mov    0x0(%rbp,%rax,1),%r8d
  test   %r8d,%r8d
  je     L71
L59:
  mov    $0x80,%r10d
  test   %esi,%esi
  jle    L141
  movslq %edi,%r8
  lea    -0x1(%rsi),%ecx
  imul   %r11,%r8
  movslq %ecx,%rax
  shl    $0x2,%rax
  lea    (%rax,%r8,4),%rax
  mov    0x0(%rbp,%rax,1),%eax
  test   %eax,%eax
  je     L0
L141:
  lea    -0x1(%rbx),%eax
  mov    $0x80,%ecx
  cmp    %esi,%eax
  jle    L91
  movslq %edi,%r9
  lea    0x1(%rsi),%eax
  imul   %r11,%r9
  movslq %eax,%r8
  shl    $0x2,%r8
  lea    (%r8,%r9,4),%r8
  mov    0x0(%rbp,%r8,1),%r8d
  test   %r8d,%r8d
  je     L147
L91:
  cmp    %r14,%r13
  mov    %r14,%rax
  cmovle %r13,%rax
  cmp    %r10,%rax
  cmovg  %r10,%rax
  cmp    %rdx,%rax
  cmovg  %rdx,%rax
  mov    %rcx,%rdx
  cmp    %rcx,%rax
  cmovle %rax,%rdx
  cmp    %r13,%rdx
  je     L85
  cmp    %r14,%rdx
  je     L164
  cmp    %r10,%rdx
  je     L157
  cmp    %rcx,%rax
  jl     L22
  add    $0x1,%esi
  movslq %edi,%rax
  movslq %esi,%rsi
  movq   %rax,%xmm0
  movq   %rsi,%xmm4
  punpcklqdq %xmm4,%xmm0
  movaps %xmm0,D11(%rip)
  jmp    L22
  nopw   0x0(%rax,%rax,1)
L164:
  add    $0x1,%edi
  movslq %esi,%rsi
  movslq %edi,%rax
  movq   %rsi,%xmm2
  movq   %rax,%xmm0
  punpcklqdq %xmm2,%xmm0
  movaps %xmm0,D24(%rip)
L22:
  mov    %rdx,D24(%rip)
  add    $0x18,%rsp
  lea    D24(%rip),%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L191:
  mov    $0x80,%r13d
  mov    $0x7f,%edx
  jmp    L136
  nopl   0x0(%rax,%rax,1)
L85:
  sub    $0x1,%edi
  movslq %esi,%rsi
  movslq %edi,%rax
  movq   %rsi,%xmm1
  movq   %rax,%xmm0
  punpcklqdq %xmm1,%xmm0
  movaps %xmm0,D45(%rip)
  jmp    L22
L0:
  mov    %r11,0x8(%rsp)
  sub    $0x8,%rsp
  mov    %edi,%edx
  mov    %ebx,%r9d
  push   %r15
  mov    %r12d,%r8d
  mov    %esi,0x14(%rsp)
  mov    %edi,0x10(%rsp)
  call   <w@plt>
  pop    %r9
  pop    %r10
  mov    %rax,%rdx
  mov    0x8(%rsp),%r11
  mov    0x4(%rsp),%esi
  mov    %rax,%r10
  mov    (%rsp),%edi
  jmp    L141
  nopl   0x0(%rax,%rax,1)
L193:
  mov    %r11,0x8(%rsp)
  sub    $0x8,%rsp
  mov    %r11d,%r9d
  mov    %r10d,%edx
  push   %r8
  mov    %esi,%ecx
  mov    %r12d,%r8d
  mov    %esi,0x14(%rsp)
  mov    %edi,0x10(%rsp)
  call   <w@plt>
  pop    %r9
  pop    %r10
  mov    %rax,%rdx
  mov    (%rsp),%edi
  mov    0x4(%rsp),%esi
  mov    %rax,%r13
  mov    0x8(%rsp),%r11
  jmp    L136
  xchg   %ax,%ax
L71:
  mov    %r11,0x8(%rsp)
  sub    $0x8,%rsp
  mov    %esi,%ecx
  mov    %r10d,%edx
  push   %r15
  mov    %ebx,%r9d
  mov    %r12d,%r8d
  mov    %esi,0x14(%rsp)
  mov    %edi,0x10(%rsp)
  call   <w@plt>
  mov    %rax,%rdx
  pop    %rax
  pop    %rcx
  mov    %rdx,%r14
  mov    0x8(%rsp),%r11
  mov    0x4(%rsp),%esi
  mov    (%rsp),%edi
  jmp    L59
  nopl   0x0(%rax)
L147:
  mov    %r10,0x8(%rsp)
  sub    $0x8,%rsp
  mov    %edi,%edx
  mov    %eax,%ecx
  push   %r15
  mov    %ebx,%r9d
  mov    %r12d,%r8d
  mov    %esi,0x14(%rsp)
  mov    %edi,0x10(%rsp)
  call   <w@plt>
  mov    %rax,%rdx
  pop    %rax
  pop    %rcx
  mov    %rdx,%rcx
  mov    0x8(%rsp),%r10
  mov    0x4(%rsp),%esi
  mov    (%rsp),%edi
  jmp    L91
  nopl   0x0(%rax,%rax,1)
L157:
  sub    $0x1,%esi
  movslq %edi,%rax
  movslq %esi,%rsi
  movq   %rax,%xmm0
  movq   %rsi,%xmm3
  punpcklqdq %xmm3,%xmm0
  movaps %xmm0,D45(%rip)
  jmp    L22
```

assistant: ```c
long *get_minimal(int row, int col, int m, int n, long tiles[m][n], bool S[m][n]) {
  static long coord[3] = {-1, -1, LONG_MAX};
  long min = LONG_MAX - 1;
  long up = LONG_MAX, down = LONG_MAX, left = LONG_MAX, rigth = LONG_MAX;
  if (row > 0 && !S[row - 1][col]) {
    up = w(row, col, row - 1, col, m, n, tiles);
    min = up;
  }
  if (row < m - 1 && !S[row + 1][col]) {
    down = w(row, col, row + 1, col, m, n, tiles);
    min = down;
  }
  if (col > 0 && !S[row][col - 1]) {
    left = w(row, col, row, col - 1, m, n, tiles);
    min = left;
  }
  if (col < n - 1 && !S[row][col + 1]) {
    rigth = w(row, col, row, col + 1, m, n, tiles);
    min = rigth;
  }
  if (up < min)
    min = up;
  if (down < min)
    min = down;
  if (left < min)
    min = left;
  if (rigth < min)
    min = rigth;
  if (up == min) {
    coord[0] = row - 1;
    coord[1] = col;
  } else if (down == min) {
    coord[0] = row + 1;
    coord[1] = col;
  } else if (left == min) {
    coord[0] = row;
    coord[1] = col - 1;
  } else if (rigth == min) {
    coord[0] = row;
    coord[1] = col + 1;
  }
  coord[2] = min;
  return coord;
}
```