user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<emit_literal>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %rcx,-0x30(%rbp)
  mov    %r8,-0x38(%rbp)
  mov    %r9,-0x40(%rbp)
L203:
  mov    -0x20(%rbp),%rax
  cmp    -0x28(%rbp),%rax
  je     L114
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <emit_indent@plt>
  mov    -0x30(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D79(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L118
L40:
  mov    -0x18(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x9(%rbp)
  cmpb   $0x5c,-0x9(%rbp)
  je     L120
  cmpb   $0x22,-0x9(%rbp)
  jne    L122
L120:
  mov    $0x5c,%edi
  call   <putchar@plt>
  movzbl -0x9(%rbp),%eax
  mov    %eax,%edi
  call   <putchar@plt>
  jmp    L142
L122:
  cmpb   $0x1f,-0x9(%rbp)
  jbe    L26
  cmpb   $0x27,-0x9(%rbp)
  je     L26
  movzbl -0x9(%rbp),%eax
  mov    %eax,%edi
  call   <putchar@plt>
  jmp    L142
L26:
  cmpb   $0xa,-0x9(%rbp)
  jne    L53
  lea    D22(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x8(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x20(%rbp)
  cmpq   $0x0,-0x30(%rbp)
  je     L203
  addq   $0x1,-0x30(%rbp)
  jmp    L203
L53:
  cmpb   $0x9,-0x9(%rbp)
  jne    L174
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L142
L174:
  cmpb   $0x8,-0x9(%rbp)
  jne    L5
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L142
L5:
  cmpb   $0xd,-0x9(%rbp)
  jne    L99
  lea    D78(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L142
L99:
  cmpb   $0xc,-0x9(%rbp)
  jne    L137
  lea    D56(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L142
L137:
  cmpb   $0xb,-0x9(%rbp)
  jne    L105
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L142
L105:
  mov    $0x5c,%edi
  call   <putchar@plt>
  movzbl -0x9(%rbp),%eax
  shr    $0x6,%al
  and    $0x7,%eax
  add    $0x30,%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  movzbl -0x9(%rbp),%eax
  shr    $0x3,%al
  and    $0x7,%eax
  add    $0x30,%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  movzbl -0x9(%rbp),%eax
  and    $0x7,%eax
  add    $0x30,%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
L142:
  addq   $0x1,-0x8(%rbp)
L118:
  mov    -0x8(%rbp),%rax
  cmp    -0x28(%rbp),%rax
  jb     L40
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L104
L114:
  nop
L104:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D79
type: string
name: unpack_data
arguments: tag: D22
type: string
name: unpack_data
arguments: tag: D7
type: string
name: unpack_data
arguments: tag: D13
type: string
name: unpack_data
arguments: tag: D78
type: string
name: unpack_data
arguments: tag: D56
type: string
name: unpack_data
arguments: tag: D65
type: string
name: unpack_data
arguments: tag: D30
type: string

tool: D79: TEXT_addstring (%s, %lu, "

tool: D22: \n");

tool: D7: \t

tool: D13: \b

tool: D78: \r

tool: D56: \f

tool: D65: \v

tool: D30: ");

assistant: ```c
void emit_literal(unsigned char *line, unsigned long startindex, unsigned long endindex, unsigned long lineno, const char *textvar, unsigned long indent) {
  unsigned long i;
restart:
  if (startindex == endindex)
    return;
  emit_indent(indent);
  printf("TEXT_addstring (%s, %lu, \"", textvar, lineno);
  for (i = startindex; i < endindex; i++) {
    unsigned char ch = line[i];
    if (ch == '\\' || ch == '"') {
      putchar('\\');
      putchar(ch);
    } else if (ch >= ' ' && ch != '\'') {
      putchar(ch);
    } else if (ch == '\n') {
      printf("\\n\");\n");
      startindex = i + 1;
      if (lineno > 0)
        lineno++;
      goto restart;
    } else if (ch == '\t') {
      printf("\\t");
    } else if (ch == '\b') {
      printf("\\b");
    } else if (ch == '\r') {
      printf("\\r");
    } else if (ch == '\f') {
      printf("\\f");
    } else if (ch == '\v') {
      printf("\\v");
    } else {
      putchar('\\');
      putchar('0' + ((ch / 64) % 8));
      putchar('0' + ((ch / 8) % 8));
      putchar('0' + (ch % 8));
    }
  }
  printf("\");\n");
}
```