user: Translate the below assembly code into C programming language:

```asm
<asc2c>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %rdi,0x8(%rsp)
  mov    %rsi,%r12
  mov    %edx,%r13d
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  lea    D4(%rip),%r15
  lea    D27(%rip),%r14
L213:
  lea    0x10(%rsp),%rdi
  mov    0x8(%rsp),%rdx
  mov    $0x64,%esi
  call   <fgets@plt>
  test   %rax,%rax
  je     L270
  movzbl 0x10(%rsp),%edi
  lea    0x10(%rsp),%rbx
  test   %dil,%dil
  jne    L98
  jmp    L213
L138:
  lea    -0x9(%rdi),%eax
  cmp    $0x1,%al
  ja     L134
  test   %r13d,%r13d
  jne    L222
  cmp    $0xa,%dil
  je     L146
  cmp    $0x20,%dil
  je     L267
  cmp    $0x9,%dil
  jne    L18
  mov    %r12,%rsi
  mov    $0x9,%edi
  call   <fputc@plt>
  jmp    L18
L17:
  cmp    $0x5c,%dil
  jne    L134
  mov    %r12,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  mov    %r14,%rdi
  call   <fwrite@plt>
  movzbl (%rbx),%ebp
L18:
  add    $0x1,%rbx
  movzbl (%rbx),%edi
  test   %dil,%dil
  je     L213
L98:
  cmp    $0x22,%dil
  je     L265
  jg     L17
  cmp    $0xd,%dil
  je     L52
  jle    L138
  cmp    $0x20,%dil
  jne    L134
  test   %r13d,%r13d
  je     L267
L222:
  cmp    $0x20,%bpl
  je     L128
  cmp    $0x3e,%bpl
  jne    L237
L128:
  mov    $0x20,%ebp
  jmp    L18
L237:
  mov    %r12,%rsi
  mov    $0x20,%edi
  call   <fputc@plt>
  mov    $0x20,%ebp
  jmp    L18
L267:
  mov    %r12,%rsi
  mov    $0x20,%edi
  call   <fputc@plt>
  jmp    L18
L146:
  mov    %r12,%rcx
  mov    $0x4,%edx
  mov    $0x1,%esi
  lea    D2(%rip),%rdi
  call   <fwrite@plt>
  jmp    L18
L265:
  mov    %r12,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  mov    %r15,%rdi
  call   <fwrite@plt>
  movzbl (%rbx),%ebp
  jmp    L18
L134:
  movsbl %dil,%edi
  mov    %r12,%rsi
  call   <fputc@plt>
  movzbl (%rbx),%ebp
  jmp    L18
L52:
  test   %r13d,%r13d
  jne    L222
  jmp    L18
L270:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L38
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L38:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D4
type_guessed: string
name: disassemble_data
arguments: tag: D27
type_guessed: string
name: disassemble_data
arguments: tag: D2
type_guessed: string

tool: D4: \"

tool: D27: \\

tool: D2: \n\


assistant: ```c
void asc2c(FILE *file_in, FILE *file_out, int cmpr) {
  char buf[100];
  char prev;
  int bpos;
  while (fgets(buf, 100, file_in) != NULL) {
    bpos = 0;
    while (buf[bpos]) {
      switch (buf[bpos]) {
      case 13:
      case ' ':
      case 10:
      case '\t':
        if (cmpr) {
          if (prev != ' ' && prev != '>')
            fprintf(file_out, " ");
          prev = ' ';
        } else {
          switch (buf[bpos]) {
          case ' ':
            fprintf(file_out, " ");
            break;
          case '\t':
            fprintf(file_out, "	");
            break;
          case 10:
            fprintf(file_out, "\\n\\\n");
            break;
          }
        }
        break;
      case '\\':
        fprintf(file_out, "\\\\");
        prev = buf[bpos];
        break;
      case '\"':
        fprintf(file_out, "\\\"");
        prev = buf[bpos];
        break;
      default:
        fprintf(file_out, "%c", buf[bpos]);
        prev = buf[bpos];
        break;
      }
      bpos++;
    }
  }
}
```