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

```asm
<OutputString>:
  endbr64
  test   %rsi,%rsi
  je     L199
  push   %r15
  mov    %edx,%r15d
  push   %r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  test   %rdi,%rdi
  je     L46
  movzbl (%rdi),%eax
  test   %al,%al
  je     L67
  nopl   0x0(%rax)
L192:
  lea    0x1(%rbx),%r12
  mov    %r12,%rbp
  cmp    $0x5c,%al
  je     L65
  test   %r15d,%r15d
  je     L161
  mov    D62(%rip),%edx
  cmp    $0x5e,%al
  je     L101
  add    $0x1,%edx
  mov    %edx,D59(%rip)
  cmp    $0xa,%al
  je     L333
L142:
  movsbl %al,%edi
  mov    %eax,%r14d
L389:
  mov    %r13,%rsi
  mov    %rbx,%rbp
  mov    %r12,%rbx
  call   <putc@plt>
L39:
  movzbl 0x1(%rbp),%eax
  test   %al,%al
  jne    L192
L67:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L65:
  test   %r15d,%r15d
  jne    L350
L27:
  movzbl 0x1(%rbx),%edx
  cmp    $0x37,%dl
  jle    L4
  lea    -0x6e(%rdx),%eax
  cmp    $0xe,%al
  ja     L95
  lea    D59(%rip),%rcx
  movzbl %al,%eax
  movslq (%rcx,%rax,4),%rax
  add    %rcx,%rax
  notrack jmp *%rax
  nopl   0x0(%rax)
L4:
  cmp    $0x2f,%dl
  jg     L72
L95:
  add    $0x2,%rbx
  mov    %edx,%r14d
L151:
  test   %r14b,%r14b
  je     L39
L187:
  movsbl %r14b,%edi
  mov    %rbp,%rbx
  lea    0x1(%rbp),%r12
  jmp    L389
  nopl   (%rax)
L161:
  cmp    $0x5e,%al
  jne    L142
  mov    $0xa,%edi
  mov    $0xa,%r14d
  jmp    L389
L350:
  addl   $0x1,D59(%rip)
  jmp    L27
  nopl   0x0(%rax)
L101:
  test   %edx,%edx
  je     L394
L333:
  movl   $0x0,D59(%rip)
  mov    $0xa,%edi
  mov    $0xa,%r14d
  jmp    L389
  xchg   %ax,%ax
L46:
  lea    D0(%rip),%rbx
  mov    $0x5e,%eax
  jmp    L192
  nopl   0x0(%rax)
L394:
  mov    %rbx,%rbp
  xor    %r14d,%r14d
  mov    %r12,%rbx
  jmp    L39
  cs nopw 0x0(%rax,%rax,1)
  mov    %r12,%rbx
  mov    $0xa,%edi
  mov    $0xa,%r14d
  movl   $0x0,D59(%rip)
  add    $0x1,%r12
  jmp    L389
  nopl   0x0(%rax)
  mov    %r12,%rbx
  mov    $0xd,%edi
  mov    $0xd,%r14d
  movl   $0x0,D59(%rip)
  add    $0x1,%r12
  jmp    L389
  nopl   0x0(%rax)
  movzbl 0x2(%rbx),%eax
  lea    0x2(%rbx),%rbp
  test   %al,%al
  je     L303
  mov    %rbp,%rdx
  cmp    $0x5c,%al
  jne    L117
  jmp    L303
  nopl   0x0(%rax)
L239:
  test   %al,%al
  je     L385
  cmp    $0x5c,%al
  je     L122
L117:
  movzbl 0x1(%rdx),%eax
  mov    %rdx,%r12
  add    $0x1,%rdx
  cmp    $0x7c,%al
  jne    L239
L231:
  movb   $0x0,(%r12)
  mov    %rbp,%rdi
  lea    0x1(%r12),%r14
  lea    0x2(%r12),%rbx
  call   <LookupSDATA@plt>
  mov    %rax,%rdi
  test   %rax,%rax
  je     L365
  mov    %r15d,%edx
  mov    %r13,%rsi
  mov    %r14,%rbp
  xor    %r14d,%r14d
  call   <OutputString>
  jmp    L39
  nopl   0x0(%rax,%rax,1)
  mov    %r12,%rbx
  mov    $0x20,%edi
  mov    $0x20,%r14d
  add    $0x1,%r12
  jmp    L389
  nopw   0x0(%rax,%rax,1)
  mov    %r12,%rbx
  mov    $0x9,%edi
  mov    $0x9,%r14d
  add    $0x1,%r12
  jmp    L389
  nopw   0x0(%rax,%rax,1)
L199:
  ret
  nopl   0x0(%rax)
L72:
  lea    -0x30(%rdx),%r14d
  movzbl 0x2(%rbx),%edx
  lea    0x2(%rbx),%rax
  lea    -0x30(%rdx),%esi
  cmp    $0x7,%sil
  ja     L278
  nopl   (%rax)
L30:
  mov    %rax,%rbp
  add    $0x1,%rax
  lea    -0x30(%rdx,%r14,8),%r14d
  movzbl (%rax),%edx
  lea    -0x30(%rdx),%esi
  cmp    $0x7,%sil
  jbe    L30
L283:
  mov    %rax,%rbx
  test   %r14b,%r14b
  je     L39
  jmp    L187
  nopl   0x0(%rax)
L303:
  mov    %rbp,%rdx
  nopl   0x0(%rax,%rax,1)
L122:
  test   %al,%al
  jne    L125
L385:
  add    $0x3,%rbx
  jmp    L151
L278:
  mov    %r12,%rbp
  jmp    L283
L365:
  mov    %r13,%rsi
  mov    $0x5b,%edi
  call   <putc@plt>
  mov    %rbp,%rdi
  mov    %r13,%rsi
  mov    %r14,%rbp
  call   <fputs@plt>
  mov    %r13,%rsi
  mov    $0x5d,%edi
  xor    %r14d,%r14d
  call   <putc@plt>
  jmp    L39
L125:
  mov    %rdx,%r12
  jmp    L231
```

tool_calls: name: disassemble_data
arguments: label: D0
type: string

tool: D0: ^

assistant: ```c
void OutputString(char *s, FILE *fp, int track_pos) {
  char c, *sdata, *cp;
  static int char_pos;
  if (!fp)
    return;
  if (!s)
    s = "^";
  for (; *s; s++) {
    if (*s == '\\') {
      s++;
      if (track_pos)
        char_pos++;
      switch (*s) {
      default:
        c = *s;
        break;
      case 's':
        c = ' ';
        break;
      case 't':
        c = '\t';
        break;
      case 'n':
        c = '\n';
        char_pos = 0;
        break;
      case 'r':
        c = '\r';
        char_pos = 0;
        break;
      case '0':
      case '1':
      case '2':
      case '3':
      case '4':
      case '5':
      case '6':
      case '7':
        c = *s - '0';
        for (s++; ((*s >= '0') && (*s <= '7')); s++)
          c = (c << 3) + (*s - '0');
        s--;
        break;
      case '|':
        s++;
        sdata = s;
        cp = s;
        while (*cp && *cp != '\\' && cp[1] != '|')
          cp++;
        if (!*cp)
          break;
        *cp = '\0';
        cp++;
        s = cp;
        cp = LookupSDATA(sdata);
        if (cp)
          OutputString(cp, fp, track_pos);
        else {
          putc('[', fp);
          fputs(sdata, fp);
          putc(']', fp);
        }
        c = 0;
        break;
      }
    } else {
      c = *s;
      if (track_pos) {
        if (c == '^') {
          if (char_pos != 0)
            c = '\n';
          else
            c = 0;
        } else
          char_pos++;
        if (c == '\n')
          char_pos = 0;
      } else if (c == '^')
        c = '\n';
    }
    if (c)
      putc(c, fp);
  }
}
```