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

```asm
<print_raw_data>:
  endbr64
  push   %r15
  movslq %edx,%rax
  push   %r14
  lea    (%rsi,%rax,1),%r15
  xor    %eax,%eax
  mov    %rdi,%r14
  push   %r13
  mov    %rsi,%r13
  lea    D47(%rip),%rsi
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  call   <fprintf@plt>
  mov    %eax,%ebx
  cmp    %r15,%r13
  jae    L43
  movl   $0x0,0x14(%rsp)
  mov    %r13,%r12
  nopl   0x0(%rax,%rax,1)
L32:
  mov    0x14(%rsp),%edx
  lea    D32(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  addl   $0x10,0x14(%rsp)
  movl   $0x4,0x10(%rsp)
  lea    (%rbx,%rax,1),%ebp
  mov    %r12,0x18(%rsp)
  mov    %r13,%r12
  mov    %ebp,%r13d
L110:
  mov    $0x4,%ebx
L19:
  cmp    %r12,%r15
  jbe    L9
  movsbl (%r12),%edx
  mov    %r14,%rdi
  xor    %eax,%eax
  lea    0x1(%r12),%rbp
  lea    D15(%rip),%rsi
  mov    %rbp,%r12
  call   <fprintf@plt>
  lea    0x0(%r13,%rax,1),%edx
  mov    %edx,%r13d
L1:
  sub    $0x1,%ebx
  jne    L19
  xor    %eax,%eax
  lea    D83(%rip),%rsi
  mov    %r14,%rdi
  mov    %edx,0xc(%rsp)
  call   <fprintf@plt>
  subl   $0x1,0x10(%rsp)
  mov    0xc(%rsp),%edx
  lea    (%rdx,%rax,1),%r13d
  jne    L110
  lea    D88(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  mov    %r13d,%ebp
  mov    %r12,%r13
  mov    0x18(%rsp),%r12
  call   <fprintf@plt>
  lea    0x0(%rbp,%rax,1),%ebx
  mov    $0x10,%ebp
  jmp    L76
  nopl   0x0(%rax)
L65:
  lea    D65(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  lea    (%rbx,%rax,1),%ecx
  mov    %ecx,%ebx
L84:
  add    $0x1,%r12
  sub    $0x1,%ebp
  je     L35
L76:
  cmp    %r12,%r15
  jbe    L12
  movsbl (%r12),%edx
  lea    -0x20(%rdx),%eax
  cmp    $0x5e,%al
  jbe    L65
  lea    D41(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  lea    (%rbx,%rax,1),%ecx
  mov    %ecx,%ebx
  jmp    L84
  nopl   0x0(%rax,%rax,1)
L9:
  lea    D98(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  lea    0x0(%r13,%rax,1),%edx
  mov    %edx,%r13d
  jmp    L1
  xchg   %ax,%ax
L12:
  lea    D83(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  lea    (%rbx,%rax,1),%ecx
  mov    %ecx,%ebx
  sub    $0x1,%ebp
  jne    L76
L35:
  lea    D86(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  mov    %ecx,0xc(%rsp)
  call   <fprintf@plt>
  mov    0xc(%rsp),%ecx
  lea    (%rcx,%rax,1),%ebx
  cmp    %r15,%r13
  jb     L32
L43:
  add    $0x28,%rsp
  mov    %ebx,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: label: D47
datatype: string
name: parse_data
arguments: label: D32
datatype: string
name: parse_data
arguments: label: D15
datatype: string
name: parse_data
arguments: label: D83
datatype: string
name: parse_data
arguments: label: D88
datatype: string
name: parse_data
arguments: label: D65
datatype: string
name: parse_data
arguments: label: D41
datatype: string
name: parse_data
arguments: label: D98
datatype: string
name: parse_data
arguments: label: D86
datatype: string

tool: D47: 


tool: D32: 0x%04x:  

tool: D15: %02x

tool: D83:  

tool: D88:     [

tool: D65: %c

tool: D41: .

tool: D98:   

tool: D86: ]


assistant: ```c
int print_raw_data(FILE *ostream, char *data, int data_len) {
  char *h, *a;
  char *end = data + data_len;
  unsigned int offset = 0;
  int i, j;
  int len = 0;
  len += fprintf(ostream, "\n");
  h = a = data;
  while (h < end) {
    len += fprintf(ostream, "0x%04x:  ", offset);
    offset += 16;
    for (i = 0; i < 4; i++) {
      for (j = 0; j < 4; j++) {
        if (h < end)
          len += fprintf(ostream, "%02x", *h++);
        else
          len += fprintf(ostream, "  ");
      }
      len += fprintf(ostream, " ");
    }
    len += fprintf(ostream, "    [");
    for (i = 0; i < 16; i++) {
      if (a < end) {
        if ((*a >= ' ') && (*a <= '~'))
          len += fprintf(ostream, "%c", *a);
        else
          len += fprintf(ostream, ".");
        a++;
      } else
        len += fprintf(ostream, " ");
    }
    len += fprintf(ostream, "]\n");
  }
  return len;
}
```