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

```asm
<hexdump>:
  endbr64
  push   %r15
  mov    $0x20,%ecx
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x248,%rsp
  mov    %rdi,0x8(%rsp)
  lea    0x130(%rsp),%rdi
  lea    0x30(%rsp),%r12
  mov    %rsi,(%rsp)
  lea    D42(%rip),%rsi
  mov    %rdx,0x18(%rsp)
  mov    $0x100,%edx
  mov    %fs:0x28,%rax
  mov    %rax,0x238(%rsp)
  xor    %eax,%eax
  rep movsq %ds:(%rsi),%es:(%rdi)
  movzbl (%rsi),%eax
  xor    %esi,%esi
  mov    %al,(%rdi)
  mov    %r12,%rdi
  call   <memset@plt>
  test   %rbx,%rbx
  je     L78
  mov    0x8(%rsp),%rax
  lea    0x20(%rsp),%rbx
  lea    D118(%rip),%rsi
  mov    $0x1,%ebp
  mov    %rbx,%rdi
  lea    D53(%rip),%r13
  movsbl (%rax),%edx
  call   <sprintf@plt>
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L60
  nopw   0x0(%rax,%rax,1)
L27:
  lea    0x1(%rbp),%r14
  cmp    %r14,(%rsp)
  jb     L146
L132:
  mov    0x8(%rsp),%rax
  lea    D118(%rip),%rsi
  mov    %rbx,%rdi
  movsbl (%rax,%rbp,1),%edx
  call   <sprintf@plt>
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  test   $0x7,%r14b
  jne    L16
  lea    D79(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
L16:
  mov    %r14,%rbp
L60:
  test   $0xf,%bpl
  jne    L27
  lea    D84(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  mov    %rbp,%rax
  add    $0xfffffffffffffff0,%rax
  mov    %rax,0x10(%rsp)
  jb     L73
  mov    %rax,%rbp
  lea    -0x10(%rax),%rax
  mov    %rax,0x10(%rsp)
L32:
  mov    0x10(%rsp),%rsi
  mov    %r12,%rdx
  add    0x18(%rsp),%rsi
  lea    0x1(%rbp),%r14
  lea    D82(%rip),%rdi
  call   <printf@plt>
  mov    $0x100,%edx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  cmp    %r14,(%rsp)
  jae    L132
  nopw   0x0(%rax,%rax,1)
L146:
  mov    (%rsp),%rax
  and    $0xf,%eax
  mov    %rax,0x10(%rsp)
  je     L78
  mov    $0x10,%edx
  lea    D58(%rip),%rbp
  lea    D79(%rip),%r15
  sub    %rax,%rdx
  cmp    $0x8,%rdx
  mov    %rdx,%r14
  setne  %r13b
  nopl   0x0(%rax,%rax,1)
L1:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  test   $0x7,%r14b
  jne    L120
  test   %r13b,%r13b
  je     L120
  mov    %r15,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
L120:
  sub    $0x1,%r14
  jne    L1
  lea    D38(%rip),%rsi
  mov    %r12,%rdi
  lea    D53(%rip),%rbp
  call   <strcat@plt>
  mov    (%rsp),%rcx
  mov    0x10(%rsp),%rax
  mov    0x8(%rsp),%r13
  lea    -0x20(%rax,%rcx,1),%rax
  lea    0x0(%r13,%rax,1),%r14
  add    %rcx,%r13
  cmp    %rax,%rcx
  jbe    L145
  nopl   (%rax)
L95:
  movzbl (%r14),%eax
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  add    $0x1,%r14
  movsbl 0x130(%rsp,%rax,1),%edx
  call   <sprintf@plt>
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  cmp    %r14,%r13
  jne    L95
L145:
  mov    (%rsp),%rsi
  mov    %r12,%rdx
  lea    D82(%rip),%rdi
  and    $0xfffffffffffffff0,%rsi
  add    0x18(%rsp),%rsi
  call   <printf@plt>
L78:
  mov    0x238(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L39
  add    $0x248,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L73:
  mov    0x8(%rsp),%rax
  mov    0x10(%rsp),%r15
  lea    (%rax,%rbp,1),%r14
  add    %rax,%r15
  nopl   (%rax)
L158:
  movzbl (%r15),%eax
  mov    %r13,%rsi
  mov    %rbx,%rdi
  add    $0x1,%r15
  movsbl 0x130(%rsp,%rax,1),%edx
  call   <sprintf@plt>
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  cmp    %r15,%r14
  jne    L158
  jmp    L32
L39:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D42
data_type: string
name: parse_data
arguments: label: D118
data_type: string
name: parse_data
arguments: label: D53
data_type: string
name: parse_data
arguments: label: D79
data_type: string
name: parse_data
arguments: label: D84
data_type: string
name: parse_data
arguments: label: D82
data_type: string
name: parse_data
arguments: label: D58
data_type: string
name: parse_data
arguments: label: D38
data_type: string

tool: D42: ................................ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~.................................................................................................................................

tool: D118: %02x 

tool: D53: %c

tool: D79:  

tool: D84: | 

tool: D82: %p: %s


tool: D58:    

tool: D38:  | 

assistant: ```c
void hexdump(unsigned char *data, size_t length, void *addr) {
  size_t dp = 0, p = 0;
  const char trans[] = "................................ !\"#$%&'()*+,-./0123456789"
                       ":;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklm"
                       "nopqrstuvwxyz{|}~...................................."
                       "....................................................."
                       "........................................";
  char buff[0x100], byte[0x10];
  memset(buff, 0, sizeof(buff));
  for (dp = 1; dp <= length; dp++) {
    sprintf(byte, "%02x ", data[dp - 1]);
    strcat(buff, byte);
    if ((dp % 8) == 0) {
      strcat(buff, " ");
    }
    if ((dp % 16) == 0) {
      strcat(buff, "| ");
      p = dp;
      for (dp -= 16; dp < p; dp++) {
        sprintf(byte, "%c", trans[data[dp]]);
        strcat(buff, byte);
      }
      printf("%p: %s\n", (unsigned char *)addr + dp - 16, buff);
      memset(buff, 0, sizeof(buff));
    }
  }
  if (length % 16 != 0) {
    p = dp = 16 - (length % 16);
    for (dp = p; dp > 0; dp--) {
      strcat(buff, "   ");
      if (((dp % 8) == 0) && (p != 8)) {
        strcat(buff, " ");
      }
    }
    strcat(buff, " | ");
    for (dp = length - 16 - p; dp < length; dp++) {
      sprintf(byte, "%c", trans[data[dp]]);
      strcat(buff, byte);
    }
    printf("%p: %s\n", (unsigned char *)addr + length - (length % 16), buff);
  }
}
```