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

```asm
<mp4tree_box_uuid_sample_encryption>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %edx,%r15d
  lea    0x4(%rdi),%rdi
  call   <get_u24@plt>
  mov    %eax,%r14d
  mov    %eax,0x4(%rsp)
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  lea    D113(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    (%rbx),%ebp
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %ebp,%edx
  lea    D87(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %r14d,%edx
  lea    D110(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rbx),%r13
  test   $0x1,%r14b
  jne    L8
L57:
  mov    %r13,%rdi
  call   <get_u32@plt>
  mov    %eax,%ebx
  mov    %eax,0x8(%rsp)
  add    $0x10,%r13
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %ebx,%edx
  lea    D15(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  lea    D59(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  test   %ebx,%ebx
  jle    L88
  mov    $0x0,%r12d
  mov    %r15d,%r14d
  jmp    L44
L8:
  mov    0x18(%rbx),%r13d
  mov    0x14(%rbx),%r12d
  mov    0x10(%rbx),%ebp
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %r13d,%r8d
  mov    %r12d,%ecx
  mov    %ebp,%edx
  lea    D111(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x1c(%rbx),%ebp
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %ebp,%edx
  lea    D82(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%esi
  mov    %r15d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  lea    D14(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x20(%rbx),%rdi
  mov    %r15d,%edx
  mov    $0x10,%esi
  call   <mp4tree_hexdump@plt>
  lea    0x60(%rbx),%r13
  jmp    L57
L75:
  call   <get_u16@plt>
  mov    %eax,%r15d
  mov    $0x1,%esi
  mov    %ebx,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %r15d,%edx
  lea    D22(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x28,%r13
  lea    0x2(%r14),%eax
  mov    $0x0,%esi
  mov    %eax,0xc(%rsp)
  mov    %eax,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  lea    D123(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  test   %r15d,%r15d
  jle    L87
  mov    %r13,%rbp
  mov    $0x0,%ebx
  mov    %r13,0x10(%rsp)
  mov    %r12d,0x18(%rsp)
  mov    %r14d,0x1c(%rsp)
  mov    0xc(%rsp),%r14d
L46:
  lea    0x8(%rbp),%rdi
  call   <get_u32@plt>
  mov    %eax,%r13d
  mov    %rbp,%rdi
  call   <get_u16@plt>
  mov    %eax,%r12d
  mov    $0x0,%esi
  mov    %r14d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %r13d,%r8d
  mov    %r12d,%ecx
  mov    %ebx,%edx
  lea    D4(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x18,%rbp
  mov    %ebx,%eax
  add    $0x1,%ebx
  cmp    %ebx,%r15d
  jne    L46
  mov    0x10(%rsp),%r13
  mov    0x18(%rsp),%r12d
  mov    0x1c(%rsp),%r14d
  mov    %eax,%eax
  lea    0x3(%rax,%rax,2),%rax
  lea    0x0(%r13,%rax,8),%r13
L87:
  add    $0x1,%r12d
  cmp    %r12d,0x8(%rsp)
  je     L88
L44:
  mov    $0x1,%esi
  mov    %r14d,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %r12d,%edx
  lea    D3(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x8,%esi
  mov    %r13,%rdi
  call   <mp4tree_hexstr@plt>
  mov    %rax,%rbp
  lea    0x1(%r14),%ebx
  mov    $0x0,%esi
  mov    %ebx,%edi
  call   <indent@plt>
  mov    %rax,%rsi
  mov    %rbp,%rdx
  lea    D46(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x20(%r13),%rdi
  testb  $0x2,0x4(%rsp)
  jne    L75
  mov    %rdi,%r13
  jmp    L87
L88:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D113
type_infered: string
name: parse_data
arguments: data_tag: D87
type_infered: string
name: parse_data
arguments: data_tag: D110
type_infered: string
name: parse_data
arguments: data_tag: D15
type_infered: string
name: parse_data
arguments: data_tag: D59
type_infered: string
name: parse_data
arguments: data_tag: D111
type_infered: string
name: parse_data
arguments: data_tag: D82
type_infered: string
name: parse_data
arguments: data_tag: D14
type_infered: string
name: parse_data
arguments: data_tag: D22
type_infered: string
name: parse_data
arguments: data_tag: D123
type_infered: string
name: parse_data
arguments: data_tag: D4
type_infered: string
name: parse_data
arguments: data_tag: D3
type_infered: string
name: parse_data
arguments: data_tag: D46
type_infered: string

tool: D113: %s  Name:        Sample Encryption Box


tool: D87: %s  Version:     %u


tool: D110: %s  Flags:       0x%.6x


tool: D15: %s  Num Entries: %u


tool: D59: %s  Entry           IV             Entries


tool: D111: %s  AlgorithmID: 0x%.2x%.2x%.2x


tool: D82: %s  IV Sizes:       %u


tool: D14: %s  Key ID:


tool: D22: %s  Sub-Entries Count: %u


tool: D123: %s  Sub-Entry  BytesOfClear  BytesOfProtectedData


tool: D4: %s  %9d  %12u  %20u


tool: D3: %s Entry: %3u


tool: D46: %s  IV:     %s


assistant: ```c
void mp4tree_box_uuid_sample_encryption(const uint8_t *p, size_t len, int depth) {
  const uint32_t flags = get_u24(p + 1);
  uint32_t num_entries = 0;
  uint32_t i = 0;
  uint8_t iv_size = 8;
  printf("%s  Name:        Sample Encryption Box\n", indent(depth, 0));
  printf("%s  Version:     %u\n", indent(depth, 0), p[0]);
  printf("%s  Flags:       0x%.6x\n", indent(depth, 0), flags);
  p += 4;
  if (flags & 1) {
    printf("%s  AlgorithmID: 0x%.2x%.2x%.2x\n", indent(depth, 0), p[0], p[1], p[2]);
    printf("%s  IV Sizes:       %u\n", indent(depth, 0), p[3]);
    printf("%s  Key ID:\n", indent(depth, 0));
    mp4tree_hexdump(p + 4, 16, depth);
    p += 20;
  }
  num_entries = get_u32(p);
  p += 4;
  printf("%s  Num Entries: %u\n", indent(depth, 0), num_entries);
  printf("%s  Entry           IV             Entries\n", indent(depth, 0));
  for (i = 0; i < num_entries; i++) {
    if (iv_size) {
      printf("%s Entry: %3u\n", indent(depth, 1), i);
      printf("%s  IV:     %s\n", indent(depth + 1, 0), mp4tree_hexstr(p, 8));
      p += iv_size;
    }
    if (flags & 2) {
      uint32_t j;
      uint16_t num_sub_samples;
      num_sub_samples = get_u16(p);
      printf("%s  Sub-Entries Count: %u\n", indent(depth + 1, 1), num_sub_samples);
      p += 2;
      printf("%s  Sub-Entry  BytesOfClear  BytesOfProtectedData\n", indent(depth + 2, 0));
      for (j = 0; j < num_sub_samples; j++) {
        printf("%s  %9d  %12u  %20u\n", indent(depth + 2, 0), j, get_u16(p), get_u32(p + 2));
        p += 6;
      }
    }
  }
}
```