user: What would the C source look like for the assembly code provided here?

```asm
<logData>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0xd8,%rsp
  mov    %rdi,-0xd8(%rbp)
  mov    %rsi,-0xe0(%rbp)
  mov    %rdx,-0xe8(%rbp)
  mov    %rcx,-0xf0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    -0xd8(%rbp),%rcx
  mov    -0xf0(%rbp),%rdx
  mov    -0xe8(%rbp),%rax
  mov    %rax,%rsi
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpq   $0x0,-0xd8(%rbp)
  je     L1
  cmpq   $0x0,-0xe0(%rbp)
  je     L1
  movl   $0x0,-0xc4(%rbp)
  jmp    L14
L42:
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0xf(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%esi
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0xe(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r8d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0xd(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0xf4(%rbp)
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0xc(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%ebx
  mov    %ebx,-0xf8(%rbp)
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0xb(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r15d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0xa(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r14d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x9(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r13d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x8(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r12d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x7(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%ebx
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x6(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r11d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x5(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r10d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x4(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%r9d
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x3(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edi
  mov    %edi,-0xfc(%rbp)
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    %ecx,-0x100(%rbp)
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    -0xc4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  lea    -0xc0(%rbp),%rdi
  push   %rsi
  push   %r8
  mov    -0xf4(%rbp),%esi
  push   %rsi
  mov    -0xf8(%rbp),%esi
  push   %rsi
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  push   %r11
  push   %r10
  push   %r9
  mov    -0xfc(%rbp),%r9d
  mov    -0x100(%rbp),%r8d
  mov    %eax,%edx
  lea    D8(%rip),%rax
  mov    %rax,%rsi
  call   <sprintf@plt>
  add    $0x60,%rsp
  lea    -0xc0(%rbp),%rcx
  mov    -0xc4(%rbp),%edx
  mov    -0xe8(%rbp),%rax
  mov    %rax,%rsi
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x10,-0xc4(%rbp)
L14:
  mov    -0xc4(%rbp),%eax
  cltq
  cmp    %rax,-0xe0(%rbp)
  ja     L42
L1:
  mov    -0xf0(%rbp),%rdx
  mov    -0xe8(%rbp),%rax
  mov    %rax,%rsi
  lea    D39(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  nop
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L35
  call   <__stack_chk_fail@plt>
L35:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: tag: D23
data_type: string
name: parse_data
arguments: tag: D8
data_type: string
name: parse_data
arguments: tag: D9
data_type: string
name: parse_data
arguments: tag: D39
data_type: string

tool: D23: %s(): ========== %s: %p.


tool: D8: %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X

tool: D9: %s(): %04X: %s


tool: D39: %s(): ========== End of %s.


assistant: ```c
void logData(unsigned char *p, size_t pLen, const char *func, const char *msg) {
  int x;
  printf("%s(): ========== %s: %p.\n", func, msg, p);
  if ((p != 0) && (pLen > 0)) {
    for (x = 0; x < pLen; x += 16) {
      char buf[128];
      sprintf(buf, "%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X", p[x + 0], p[x + 1], p[x + 2], p[x + 3], p[x + 4], p[x + 5], p[x + 6], p[x + 7], p[x + 8], p[x + 9], p[x + 10], p[x + 11], p[x + 12], p[x + 13], p[x + 14], p[x + 15]);
      printf("%s(): %04X: %s\n", func, x, buf);
    }
  }
  printf("%s(): ========== End of %s.\n", func, msg);
}
```