user: Converte this assembly snippet into its equivalent C code:

```asm
<print_SeatsMap_Special>:
  endbr64
  push   %r15
  movslq %esi,%rax
  push   %r14
  mov    %rax,%r14
  push   %r13
  lea    D69(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,0x8(%rsp)
  sub    $0x1,%edi
  mov    %rax,(%rsp)
  xor    %eax,%eax
  mov    %rdx,0x18(%rsp)
  call   <int_to_charc@plt>
  lea    D34(%rip),%rdx
  mov    %r13,%rdi
  lea    0x1(%rax),%r15d
  mov    %eax,0xc(%rsp)
  xor    %eax,%eax
  mov    %r15d,%esi
  call   <printf@plt>
  test   %r14d,%r14d
  jle    L53
  xor    %ebp,%ebp
  lea    D36(%rip),%rbx
  nopl   0x0(%rax)
L44:
  mov    %ebp,%esi
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %ebp,%r12d
  call   <printf@plt>
  lea    0x1(%rbp),%ebp
  cmp    %ebp,%r14d
  jne    L44
  mov    $0xa,%edi
  xor    %ebp,%ebp
  lea    D73(%rip),%rbx
  call   <putchar@plt>
  mov    %r15d,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  lea    D34(%rip),%rdx
  call   <printf@plt>
  cs nopw 0x0(%rax,%rax,1)
L18:
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebp,%eax
  add    $0x1,%ebp
  cmp    %eax,%r12d
  jne    L18
L17:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x8(%rsp),%eax
  test   %eax,%eax
  jle    L25
  lea    -0x1(%r14),%eax
  mov    0x18(%rsp),%rcx
  xor    %r12d,%r12d
  lea    D5(%rip),%rbp
  mov    %rax,0x10(%rsp)
  lea    D47(%rip),%r13
  lea    0x1(%rcx,%rax,1),%rbx
  xchg   %ax,%ax
L21:
  mov    0xc(%rsp),%esi
  xor    %eax,%eax
  mov    %r12d,%edx
  lea    D53(%rip),%rdi
  call   <printf@plt>
  test   %r14d,%r14d
  jle    L2
  mov    %rbx,%rdx
  sub    0x10(%rsp),%rdx
  lea    -0x1(%rdx),%r15
  jmp    L107
  nopl   0x0(%rax,%rax,1)
L37:
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%r15
  call   <printf@plt>
  cmp    %r15,%rbx
  je     L2
L107:
  cmpb   $0x1,(%r15)
  jne    L37
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%r15
  call   <printf@plt>
  cmp    %r15,%rbx
  jne    L107
L2:
  mov    $0xa,%edi
  add    $0x1,%r12d
  call   <putchar@plt>
  add    (%rsp),%rbx
  cmp    %r12d,0x8(%rsp)
  jne    L21
L25:
  add    $0x28,%rsp
  mov    $0xa,%edi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1070 <putchar@plt>
L53:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    %r15d,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  lea    D34(%rip),%rdx
  call   <printf@plt>
  jmp    L17
```

tool_calls: name: extract_symbolic_data
arguments: label: D69
type_infered: string
name: extract_symbolic_data
arguments: label: D34
type_infered: string
name: extract_symbolic_data
arguments: label: D36
type_infered: string
name: extract_symbolic_data
arguments: label: D73
type_infered: string
name: extract_symbolic_data
arguments: label: D5
type_infered: string
name: extract_symbolic_data
arguments: label: D47
type_infered: string
name: extract_symbolic_data
arguments: label: D53
type_infered: string

tool: D69: %*s

tool: 

tool: D36:   %d 

tool: D73:  ___

tool: D5: ___|

tool: D47: _#_|

tool: D53: %*d |

assistant: ```c
void print_SeatsMap_Special(int rows, int cols, char mat[rows][cols]) {
  int i, j;
  int char_num = int_to_charc(rows - 1);
  printf("%*s", char_num + 1, "");
  for (i = 0; i < cols; i++) {
    printf("  %d ", i);
  }
  printf("\n");
  printf("%*s", char_num + 1, "");
  for (i = 0; i < cols; i++) {
    printf(" ___");
  }
  printf("\n");
  for (i = 0; i < rows; i++) {
    printf("%*d |", char_num, i);
    for (j = 0; j < cols; j++) {
      if (mat[i][j] == 1)
        printf("_#_|");
      else
        printf("___|");
    }
    printf("\n");
  }
  printf("\n");
}
```