user: What is the c source code of the assembly code below:

```asm
<yyqq>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  cmpb   $0x0,(%rdi)
  je     L158
  lea    0x2(%rdi),%rax
  mov    %rax,%rdx
  mov    $0x0,%edi
  mov    $0x1,%esi
  sub    %eax,%esi
  movabs $0x400000000000009,%r9
  jmp    L111
L65:
  cmp    $0x1b,%al
  je     L170
  lea    -0x22(%rax),%ecx
  cmp    $0x3a,%cl
  ja     L238
  bt     %rcx,%r9
  jb     L170
L87:
  add    $0x1,%edi
  jmp    L256
L170:
  add    $0x2,%edi
L64:
  test   %al,%al
  je     L323
L256:
  add    $0x1,%rdx
L111:
  lea    (%rsi,%rdx,1),%r8d
  movzbl -0x1(%rdx),%eax
  lea    -0x7(%rax),%ecx
  cmp    $0x2,%cl
  jbe    L170
  cmp    $0xb,%al
  je     L170
  cmp    $0xd,%al
  jg     L65
  cmp    $0xb,%al
  jg     L170
  cmp    $0xa,%al
  jne    L267
  add    $0x4,%edi
  jmp    L256
L238:
  cmp    $0x1f,%al
  jg     L87
L267:
  add    $0x5,%edi
  jmp    L64
L323:
  mov    %rbx,%r13
  cmp    %r8d,%edi
  je     L183
  add    $0x1,%edi
  call   <malloc@plt>
  mov    %rax,%r13
  movzbl (%rbx),%edx
  test   %dl,%dl
  je     L225
  mov    %rax,%rbp
  lea    D13(%rip),%r14
  lea    D10(%rip),%r12
  jmp    L157
  movb   $0x5c,0x0(%rbp)
  movzbl (%rbx),%eax
  mov    %al,0x1(%rbp)
  lea    0x2(%rbp),%rbp
  lea    0x1(%rbx),%rbx
L244:
  movzbl (%rbx),%edx
  test   %dl,%dl
  je     L95
L157:
  lea    -0x7(%rdx),%eax
  cmp    $0x55,%al
  ja     L327
  movzbl %al,%eax
  movslq (%r12,%rax,4),%rax
  add    %r12,%rax
  notrack jmp *%rax
  movb   $0x25,0x0(%rbp)
  movzbl (%rbx),%eax
  mov    %al,0x1(%rbp)
  lea    0x2(%rbp),%rbp
  lea    0x1(%rbx),%rbx
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x6e,0x1(%rbp)
  movb   $0x5c,0x2(%rbp)
  movb   $0xa,0x3(%rbp)
  add    $0x1,%rbx
  lea    0x4(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x74,0x1(%rbp)
  add    $0x1,%rbx
  lea    0x2(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x72,0x1(%rbp)
  add    $0x1,%rbx
  lea    0x2(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x61,0x1(%rbp)
  add    $0x1,%rbx
  lea    0x2(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x62,0x1(%rbp)
  add    $0x1,%rbx
  lea    0x2(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x65,0x1(%rbp)
  add    $0x1,%rbx
  lea    0x2(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x66,0x1(%rbp)
  add    $0x1,%rbx
  lea    0x2(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movb   $0x76,0x1(%rbp)
  add    $0x1,%rbx
  lea    0x2(%rbp),%rbp
  jmp    L244
  movb   $0x5c,0x0(%rbp)
  movzbl (%rbx),%eax
  mov    %al,0x1(%rbp)
  lea    0x2(%rbp),%rbp
  lea    0x1(%rbx),%rbx
  jmp    L244
L327:
  cmp    $0x1f,%dl
  jle    L283
  add    $0x1,%rbx
  mov    %dl,0x0(%rbp)
  lea    0x1(%rbp),%rbp
  jmp    L244
L283:
  movsbl %dl,%edx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  call   <sprintf@plt>
  add    $0x4,%rbp
  add    $0x1,%rbx
  jmp    L244
L225:
  mov    %rax,%rbp
L95:
  movb   $0x0,0x0(%rbp)
L183:
  mov    %r13,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L158:
  mov    %rdi,%r13
  jmp    L183
```

tool_calls: name: retrieve_data
arguments: data_tag: D13
datatype: string

tool: D13: \%03o

assistant: ```c
char *yyqq(char *s) {
  char *d = s;
  char *dst;
  int sl = 0, dl = 0;
  while (*s++) {
    dl++;
    sl++;
    if (*s == 7 || *s == 8 || *s == 9 || *s == 11 || *s == 12 || *s == 13 || *s == 27 || *s == 34 || *s == '%' || *s == 92) {
      dl++;
    } else if (*s == 10) {
      dl += 3;
    } else if (*(signed char *)s < 32) {
      dl += 4;
    }
  }
  if (dl == sl)
    return d;
  s = d;
  dst = d = (char *)malloc(dl + 1);
  while (*s) {
    if (*s == '"') {
      *d++ = '\\';
      *d++ = *s++;
    } else if (*s == '%') {
      *d++ = '%';
      *d++ = *s++;
    } else if (*s == '\n') {
      *d++ = '\\';
      *d++ = 'n';
      *d++ = '\\';
      *d++ = 10;
      s++;
    } else if (*s == '\t') {
      *d++ = '\\';
      *d++ = 't';
      s++;
    } else if (*s == '\r') {
      *d++ = '\\';
      *d++ = 'r';
      s++;
    } else if (*s == '\a') {
      *d++ = '\\';
      *d++ = 'a';
      s++;
    } else if (*s == '\b') {
      *d++ = '\\';
      *d++ = 'b';
      s++;
    } else if (*s == '\033') {
      *d++ = '\\';
      *d++ = 'e';
      s++;
    } else if (*s == '\f') {
      *d++ = '\\';
      *d++ = 'f';
      s++;
    } else if (*s == '\v') {
      *d++ = '\\';
      *d++ = 'v';
      s++;
    } else if (*s == 92) {
      *d++ = '\\';
      *d++ = *s++;
    } else if (*(signed char *)s < 32) {
      sprintf(d, "\\%03o", *s);
      d += 4;
      s++;
    } else {
      *d++ = *s++;
    }
  }
  *d = 0;
  return dst;
}
```