user: Demonstrate the C code that generates the assembly output below:

```asm
<printText>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %ecx,-0x30(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L105
L44:
  mov    -0x2c(%rbp),%ecx
  mov    -0x28(%rbp),%rax
  lea    D30(%rip),%rdx
  mov    %ecx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,-0x10(%rbp)
  mov    -0x2c(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L8
  mov    -0x2c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x10(%rbp)
L8:
  mov    -0x10(%rbp),%eax
  cltq
  add    %rax,-0x28(%rbp)
  mov    -0x10(%rbp),%eax
  sub    %eax,-0x2c(%rbp)
  addl   $0x1,-0xc(%rbp)
L105:
  mov    $0x10,%eax
  sub    -0x30(%rbp),%eax
  cmp    %eax,-0xc(%rbp)
  jl     L44
  mov    -0x2c(%rbp),%ecx
  mov    -0x28(%rbp),%rax
  lea    D13(%rip),%rdx
  mov    %ecx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,-0x10(%rbp)
  mov    -0x2c(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L98
  mov    -0x2c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x10(%rbp)
L98:
  mov    -0x10(%rbp),%eax
  cltq
  add    %rax,-0x28(%rbp)
  mov    -0x10(%rbp),%eax
  sub    %eax,-0x2c(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L70
L45:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x11(%rbp)
  cmpb   $0x1f,-0x11(%rbp)
  jbe    L19
  cmpb   $0x7e,-0x11(%rbp)
  ja     L19
  movzbl -0x11(%rbp),%edx
  mov    -0x2c(%rbp),%esi
  mov    -0x28(%rbp),%rax
  mov    %edx,%ecx
  lea    D34(%rip),%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,-0x10(%rbp)
  jmp    L49
L19:
  mov    -0x2c(%rbp),%ecx
  mov    -0x28(%rbp),%rax
  lea    D12(%rip),%rdx
  mov    %ecx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,-0x10(%rbp)
L49:
  mov    -0x2c(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L85
  mov    -0x2c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x10(%rbp)
L85:
  mov    -0x10(%rbp),%eax
  cltq
  add    %rax,-0x28(%rbp)
  mov    -0x10(%rbp),%eax
  sub    %eax,-0x2c(%rbp)
  addl   $0x1,-0xc(%rbp)
L70:
  mov    -0xc(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L45
  mov    -0x2c(%rbp),%ecx
  mov    -0x28(%rbp),%rax
  lea    D32(%rip),%rdx
  mov    %ecx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,-0x10(%rbp)
  mov    -0x2c(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L0
  mov    -0x2c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x10(%rbp)
L0:
  mov    -0x10(%rbp),%eax
  cltq
  add    %rax,-0x28(%rbp)
  mov    -0x10(%rbp),%eax
  sub    %eax,-0x2c(%rbp)
  mov    -0x28(%rbp),%rax
  sub    -0x8(%rbp),%rax
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D30
type_infered: string
name: retrieve_data
arguments: data_tag: D13
type_infered: string
name: retrieve_data
arguments: data_tag: D34
type_infered: string
name: retrieve_data
arguments: data_tag: D12
type_infered: string
name: retrieve_data
arguments: data_tag: D32
type_infered: string

tool: D30:    

tool: D13:    |

tool: D34: %c

tool: D12: .

tool: D32: |


assistant: ```c
int printText(char *outBuf, int outLen, unsigned char *message, int length) {
  char *startOutBuf = outBuf;
  int len;
  int i;
  for (i = 0; i < 16 - length; ++i) {
    len = snprintf(outBuf, outLen, "   ");
    if (len > outLen - 1)
      len = outLen - 1;
    outBuf += len;
    outLen -= len;
  }
  len = snprintf(outBuf, outLen, "   |");
  if (len > outLen - 1)
    len = outLen - 1;
  outBuf += len;
  outLen -= len;
  for (i = 0; i < length; ++i) {
    unsigned char ch = message[i];
    if (ch >= 32 && ch <= 126) {
      len = snprintf(outBuf, outLen, "%c", ch);
    } else {
      len = snprintf(outBuf, outLen, ".");
    }
    if (len > outLen - 1)
      len = outLen - 1;
    outBuf += len;
    outLen -= len;
  }
  len = snprintf(outBuf, outLen, "|\n");
  if (len > outLen - 1)
    len = outLen - 1;
  outBuf += len;
  outLen -= len;
  return outBuf - startOutBuf;
}
```