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

```asm
<size_str>:
  endbr64
  push   %r13
  pxor   %xmm0,%xmm0
  push   %r12
  cvtsi2sd %rdi,%xmm0
  sub    $0x18,%rsp
  comisd D27(%rip),%xmm0
  jb     L5
  mulsd  D113(%rip),%xmm0
  lea    D94(%rip),%r13
L13:
  mov    $0xf,%edi
  movsd  %xmm0,0x8(%rsp)
  call   <malloc@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L61
  movsd  0x8(%rsp),%xmm0
  mov    %r13,%rcx
  mov    $0xf,%esi
  mov    %rax,%rdi
  lea    D105(%rip),%rdx
  call   <snprintf@plt>
L61:
  add    $0x18,%rsp
  mov    %r12,%rax
  pop    %r12
  pop    %r13
  ret
  nop
L5:
  comisd D13(%rip),%xmm0
  jb     L30
  mulsd  D85(%rip),%xmm0
  lea    D43(%rip),%r13
  jmp    L13
  nopl   0x0(%rax,%rax,1)
L30:
  comisd D83(%rip),%xmm0
  jae    L31
  comisd D102(%rip),%xmm0
  lea    D56(%rip),%r13
  jb     L13
  mulsd  D9(%rip),%xmm0
  lea    D76(%rip),%r13
  jmp    L13
  nop
L31:
  mulsd  D74(%rip),%xmm0
  lea    D23(%rip),%r13
  jmp    L13
```

tool_calls: name: retrieve_data
arguments: label: D27
type_guessed: byte[16]
name: retrieve_data
arguments: label: D113
type_guessed: byte[8]
name: retrieve_data
arguments: label: D94
type_guessed: string
name: retrieve_data
arguments: label: D105
type_guessed: string
name: retrieve_data
arguments: label: D13
type_guessed: byte[16]
name: retrieve_data
arguments: label: D85
type_guessed: byte[8]
name: retrieve_data
arguments: label: D43
type_guessed: string
name: retrieve_data
arguments: label: D83
type_guessed: byte[16]
name: retrieve_data
arguments: label: D102
type_guessed: byte[16]
name: retrieve_data
arguments: label: D56
type_guessed: string
name: retrieve_data
arguments: label: D9
type_guessed: byte[8]
name: retrieve_data
arguments: label: D76
type_guessed: string
name: retrieve_data
arguments: label: D74
type_guessed: byte[8]
name: retrieve_data
arguments: label: D23
type_guessed: string

tool: {"D27": [0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x42,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x3d]}

tool: {"D113": [0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x3d]}

tool: D94: TiB

tool: D105: %.2f %s

tool: {"D13": [0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x3e]}

tool: {"D85": [0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x3e]}

tool: D43: GiB

tool: {"D83": [0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0xb0,0x3e]}

tool: {"D102": [0x00,0x00,0x00,0x00,0x00,0x00,0x90,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x3f]}

tool: D56: B

tool: {"D9": [0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x3f]}

tool: D76: KiB

tool: {"D74": [0x00,0x00,0x00,0x00,0x00,0x00,0xb0,0x3e]}

tool: D23: MiB

assistant: ```c
char *size_str(off_t bytes) {
  double number = (double)bytes;
  char *unit = "B";
  if (number >= 1099511627776) {
    unit = "TiB";
    number = (double)bytes / 1099511627776;
  } else if (number >= 1073741824) {
    unit = "GiB";
    number = (double)bytes / 1073741824;
  } else if (number >= 1048576) {
    unit = "MiB";
    number = (double)bytes / 1048576;
  } else if (number >= 1024) {
    unit = "KiB";
    number = (double)bytes / 1024;
  }
  char *buffer = malloc(15);
  if (buffer == NULL)
    return NULL;
  snprintf(buffer, 15, "%.2f %s", number, unit);
  return buffer;
}
```