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

```asm
<vmir_hexdump>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xb0,%rsp
  mov    %rdi,-0x98(%rbp)
  mov    %rsi,-0xa0(%rbp)
  mov    %edx,-0xa4(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0xa0(%rbp),%rax
  mov    %rax,-0x78(%rbp)
  movl   $0x0,-0x8c(%rbp)
  jmp    L68
L92:
  mov    -0x8c(%rbp),%edx
  lea    -0x70(%rbp),%rax
  mov    %edx,%ecx
  lea    D11(%rip),%rdx
  mov    $0x64,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,-0x80(%rbp)
  movl   $0x0,-0x88(%rbp)
  jmp    L149
L38:
  mov    -0x8c(%rbp),%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  cmpl   $0x8,-0x88(%rbp)
  jne    L43
  lea    D29(%rip),%rax
  jmp    L29
L43:
  lea    D2(%rip),%rax
L29:
  mov    -0x80(%rbp),%esi
  mov    $0x64,%edx
  sub    %esi,%edx
  mov    %edx,%esi
  mov    -0x80(%rbp),%edx
  movslq %edx,%rdx
  lea    -0x70(%rbp),%rdi
  add    %rdx,%rdi
  mov    %ecx,%r8d
  mov    %rax,%rcx
  lea    D9(%rip),%rax
  mov    %rax,%rdx
  mov    $0x0,%eax
  call   <snprintf@plt>
  add    %eax,-0x80(%rbp)
  addl   $0x1,-0x88(%rbp)
L149:
  mov    -0x88(%rbp),%edx
  mov    -0x8c(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0xa4(%rbp)
  jle    L78
  cmpl   $0xf,-0x88(%rbp)
  jle    L38
L78:
  mov    $0x11,%eax
  sub    -0x88(%rbp),%eax
  mov    %eax,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  cmpl   $0x7,-0x88(%rbp)
  setle  %al
  movzbl %al,%eax
  add    %edx,%eax
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0x84(%rbp)
  jmp    L83
L48:
  mov    -0x80(%rbp),%edx
  mov    -0x84(%rbp),%eax
  add    %edx,%eax
  cltq
  movb   $0x20,-0x70(%rbp,%rax,1)
  addl   $0x1,-0x84(%rbp)
L83:
  mov    -0x84(%rbp),%eax
  cmp    -0x7c(%rbp),%eax
  jl     L48
  mov    -0x7c(%rbp),%eax
  add    %eax,-0x80(%rbp)
  movl   $0x0,-0x88(%rbp)
  jmp    L4
L99:
  mov    -0x8c(%rbp),%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x1f,%eax
  jle    L93
  mov    -0x8c(%rbp),%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x7e,%eax
  jg     L93
  mov    -0x8c(%rbp),%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%ecx
  jmp    L108
L93:
  mov    $0x2e,%ecx
L108:
  mov    -0x80(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x80(%rbp)
  cltq
  mov    %cl,-0x70(%rbp,%rax,1)
  addl   $0x1,-0x88(%rbp)
L4:
  mov    -0x88(%rbp),%edx
  mov    -0x8c(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0xa4(%rbp)
  jle    L64
  cmpl   $0xf,-0x88(%rbp)
  jle    L99
L64:
  mov    -0x80(%rbp),%eax
  cltq
  movb   $0x0,-0x70(%rbp,%rax,1)
  lea    -0x70(%rbp),%rdx
  mov    -0x98(%rbp),%rax
  mov    %rax,%rsi
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  addl   $0x10,-0x8c(%rbp)
L68:
  mov    -0x8c(%rbp),%eax
  cmp    -0xa4(%rbp),%eax
  jl     L92
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L132
  call   <__stack_chk_fail@plt>
L132:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D11
type: string
name: unpack_data
arguments: label: D29
type: string
name: unpack_data
arguments: label: D2
type: string
name: unpack_data
arguments: label: D9
type: string
name: unpack_data
arguments: label: D27
type: string

tool: D11: 0x%06x: 

tool: D29:  

tool: 

tool: D9: %s%02x 

tool: D27: %s: %s


assistant: ```c
void __attribute__((unused)) vmir_hexdump(const char *pfx, const void *data_, int len) {
  int i, j, k;
  const uint8_t *data = data_;
  char buf[100];
  for (i = 0; i < len; i += 16) {
    int p = snprintf(buf, sizeof(buf), "0x%06x: ", i);
    for (j = 0; j + i < len && j < 16; j++) {
      p += snprintf(buf + p, sizeof(buf) - p, "%s%02x ", j == 8 ? " " : "", data[i + j]);
    }
    const int cnt = (17 - j) * 3 + (j < 8);
    for (k = 0; k < cnt; k++)
      buf[p + k] = ' ';
    p += cnt;
    for (j = 0; j + i < len && j < 16; j++)
      buf[p++] = data[i + j] < 32 || data[i + j] > 126 ? '.' : data[i + j];
    buf[p] = 0;
    printf("%s: %s\n", pfx, buf);
  }
}
```