user: Please show me the C implementation that matches the assembly code listed below:

```asm
<fancy_numbers>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  comiss D108(%rip),%xmm0
  jae    L28
  comiss D36(%rip),%xmm0
  cvttss2si %xmm0,%edx
  jae    L64
  comiss D3(%rip),%xmm0
  jb     L26
  movslq %edx,%rbx
  mov    %edx,%eax
  mov    %rsp,%r12
  divss  D3(%rip),%xmm0
  imul   $0x431bde83,%rbx,%rbx
  sar    $0x1f,%eax
  lea    D58(%rip),%r13
  mov    %r12,%rdi
  mov    %r13,%rsi
  sar    $0x32,%rbx
  sub    %eax,%ebx
  imul   $0xf4240,%ebx,%eax
  mov    %edx,%ebx
  cvttss2si %xmm0,%edx
  sub    %eax,%ebx
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  cmp    $0x270f,%ebx
  jg     L99
L31:
  lea    D23(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
L39:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L69
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L64:
  movslq %edx,%rbx
  mov    %edx,%eax
  mov    %rsp,%r12
  divss  D3(%rip),%xmm0
  imul   $0x431bde83,%rbx,%rbx
  sar    $0x1f,%eax
  lea    D58(%rip),%r13
  mov    %r12,%rdi
  mov    %r13,%rsi
  sar    $0x32,%rbx
  sub    %eax,%ebx
  imul   $0xf4240,%ebx,%eax
  mov    %edx,%ebx
  cvttss2si %xmm0,%edx
  sub    %eax,%ebx
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  cmp    $0x1869f,%ebx
  jle    L31
  lea    D56(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  movslq %ebx,%rdx
  imul   $0x14f8b589,%rdx,%rdx
  sar    $0x2d,%rdx
  jmp    L60
  nopl   0x0(%rax)
L28:
  divss  D3(%rip),%xmm0
  cvttss2si %xmm0,%edx
  mov    %rsp,%r12
  lea    D58(%rip),%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  lea    D23(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  jmp    L39
  nopl   (%rax)
L26:
  mov    %rsp,%r12
  lea    D58(%rip),%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  jmp    L39
  nopw   0x0(%rax,%rax,1)
L99:
  lea    D56(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  movslq %ebx,%rdx
  imul   $0x68db8bad,%rdx,%rdx
  sar    $0x2c,%rdx
L60:
  sar    $0x1f,%ebx
  mov    %r13,%rsi
  mov    %r12,%rdi
  sub    %ebx,%edx
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  jmp    L31
L69:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D108
type_guessed: byte[4]
name: read_data
arguments: label: D36
type_guessed: byte[4]
name: read_data
arguments: label: D3
type_guessed: byte[4]
name: read_data
arguments: label: D58
type_guessed: string
name: read_data
arguments: label: D23
type_guessed: string
name: read_data
arguments: label: D56
type_guessed: string

tool: {"D108": [0x20,0xbc,0xbe,0x4c]}

tool: {"D36": [0x80,0x96,0x18,0x4b]}

tool: {"D3": [0x00,0x24,0x74,0x49]}

tool: D58: %d

tool: D23:  Million

tool: D56: .

assistant: ```c
void fancy_numbers(float num, char *fancy) {
  char number[18];
  if (num >= 100000000) {
    int num1 = (num / 1000000);
    sprintf(number, "%d", num1);
    strcpy(fancy, number);
    strcat(fancy, " Million");
  } else if (num >= 10000000) {
    int num1 = (num / 1000000);
    int num2 = (((int)num % 1000000) / 100000);
    sprintf(number, "%d", num1);
    strcpy(fancy, number);
    if (num2 > 0) {
      strcat(fancy, ".");
      sprintf(number, "%d", num2);
      strcat(fancy, number);
    }
    strcat(fancy, " Million");
  } else if (num >= 1000000) {
    int num1 = (num / 1000000);
    int num2 = (((int)num % 1000000) / 10000);
    sprintf(number, "%d", num1);
    strcpy(fancy, number);
    if (num2 > 0) {
      strcat(fancy, ".");
      sprintf(number, "%d", num2);
      strcat(fancy, number);
    }
    strcat(fancy, " Million");
  } else {
    sprintf(number, "%d", (int)num);
    strcpy(fancy, number);
  }
}
```