user: 下面的汇编指令对应的C源代码是什么：

```asm
<piece_hexdump>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,%r15
  mov    %rsi,0x20(%rsp)
  mov    %edx,0x30(%rsp)
  mov    %rcx,0x18(%rsp)
  mov    %ecx,0xc(%rsp)
  test   %ecx,%ecx
  jle    L36
  lea    0x40(%rsi),%rbp
  mov    $0x0,%r13d
  mov    $0x0,%ecx
  movl   $0x0,0x8(%rsp)
  mov    %rdi,0x10(%rsp)
  jmp    L125
L45:
  test   %ecx,%ecx
  jne    L110
  cmpl   $0x0,0x8(%rsp)
  jne    L25
  test   %al,%al
  jne    L25
L110:
  add    $0x40,%rbp
  add    $0x10,%r13
  cmp    %r13d,0xc(%rsp)
  jle    L48
  mov    %ebx,0x8(%rsp)
L125:
  mov    %r13d,%esi
  lea    -0x40(%rbp),%r12
  mov    %r12,%rax
  mov    $0x1,%ebx
  mov    $0x0,%edx
L61:
  cmpl   $0x0,(%rax)
  cmovne %edx,%ebx
  add    $0x4,%rax
  cmp    %rbp,%rax
  jne    L61
  test   %ebx,%ebx
  sete   %al
  test   %ecx,%ecx
  je     L45
  test   %al,%al
  je     L45
L25:
  mov    0x30(%rsp),%eax
  lea    (%rax,%rsi,1),%edx
  lea    D2(%rip),%rsi
  mov    0x10(%rsp),%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    0xc(%rsp),%eax
  cmp    %r13d,%eax
  jl     L2
  mov    %r13,%r15
  mov    $0x0,%r14d
  mov    %r12,0x28(%rsp)
  mov    %ebx,0x34(%rsp)
  mov    %rbp,0x38(%rsp)
  mov    %eax,%ebp
  mov    0x10(%rsp),%rbx
  mov    0x20(%rsp),%r12
  jmp    L234
L73:
  mov    (%r12,%r15,4),%edx
  lea    D35(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  add    $0x1,%r14d
  cmp    $0x10,%r14d
  je     L6
  add    $0x1,%r15
  cmp    %r15d,%ebp
  jl     L96
L234:
  test   $0x7,%r14b
  jne    L73
  mov    %rbx,%rsi
  mov    $0x20,%edi
  call   <fputc@plt>
  jmp    L73
L6:
  mov    0x28(%rsp),%r12
  mov    0x34(%rsp),%ebx
  mov    0x38(%rsp),%rbp
L2:
  mov    0x10(%rsp),%r14
  mov    %r14,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D43(%rip),%rdi
  call   <fwrite@plt>
  jmp    L94
L96:
  mov    0x28(%rsp),%r12
  mov    0x34(%rsp),%ebx
  mov    0x38(%rsp),%rbp
  jmp    L2
L250:
  mov    %r14,%rsi
  mov    $0x2e,%edi
  call   <fputc@plt>
L197:
  add    $0x4,%r12
  cmp    %rbp,%r12
  je     L3
L94:
  mov    (%r12),%edi
  call   <isprint@plt>
  test   %rax,%rax
  je     L250
  mov    %r14,%rsi
  mov    (%r12),%edi
  call   <fputc@plt>
  jmp    L197
L3:
  mov    0x10(%rsp),%r15
  mov    %r15,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D37(%rip),%rdi
  call   <fwrite@plt>
  test   %ebx,%ebx
  je     L180
  cmpl   $0x0,0x8(%rsp)
  je     L180
  mov    %r15,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D48(%rip),%rdi
  call   <fwrite@plt>
  mov    $0x1,%ecx
  jmp    L110
L180:
  mov    $0x0,%ecx
  jmp    L110
L48:
  mov    0x10(%rsp),%r15
L36:
  testb  $0xf,0x18(%rsp)
  jne    L193
L168:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L193:
  mov    %r15,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  jmp    L168
```

tool_calls: name: read_data
arguments: label: D2
type_guessed: string
name: read_data
arguments: label: D35
type_guessed: string
name: read_data
arguments: label: D43
type_guessed: string
name: read_data
arguments: label: D37
type_guessed: string
name: read_data
arguments: label: D48
type_guessed: string

tool: D2: 0x%08jx

tool: D35: %02x 

tool: D43:  |

tool: D37: |


tool: D48: *


assistant: ```c
void piece_hexdump(FILE *stream, void *data, off_t offset, size_t size) {
  uint8_t *src = data;
  off_t i, j;
  bool curr_zeros = false, prev_zeros = false, skip_zeros = false;
  for (i = 0; i < (off_t)size; i += 16) {
    curr_zeros = true;
    for (j = 0; j < 16; j++) {
      if (src[i + j] != 0x00) {
        curr_zeros = false;
      }
    }
    if (!curr_zeros && skip_zeros) {
      skip_zeros = false;
    }
    if (!skip_zeros && !(curr_zeros && !prev_zeros)) {
      fprintf(stream, "0x%08jx", offset + i);
      for (j = 0; j < 16; j++) {
        if (i + j > (off_t)size)
          break;
        if (j % 8 == 0) {
          fprintf(stream, " ");
        }
        fprintf(stream, "%02x ", src[i + j]);
      }
      fprintf(stream, " |");
      for (j = 0; j < 16; j++) {
        if (isprint(src[i + j])) {
          fprintf(stream, "%c", src[i + j]);
        } else {
          fprintf(stream, ".");
        }
      }
      fprintf(stream, "|\n");
    }
    if (curr_zeros && prev_zeros) {
      if (!skip_zeros) {
        fprintf(stream, "*\n");
        skip_zeros = true;
      }
    }
    prev_zeros = curr_zeros;
  }
  if (size % 16) {
    fprintf(stream, "\n");
  }
}
```