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 D63(%rip),%xmm0
  jae    L10
  comiss D119(%rip),%xmm0
  cvttss2si %xmm0,%edx
  jae    L21
  comiss D129(%rip),%xmm0
  jb     L61
  movslq %edx,%rbx
  mov    %edx,%eax
  mov    %rsp,%r12
  divss  D129(%rip),%xmm0
  imul   $0x431bde83,%rbx,%rbx
  sar    $0x1f,%eax
  lea    D50(%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     L44
L92:
  lea    D40(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
L28:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L71
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L21:
  movslq %edx,%rbx
  mov    %edx,%eax
  mov    %rsp,%r12
  divss  D129(%rip),%xmm0
  imul   $0x431bde83,%rbx,%rbx
  sar    $0x1f,%eax
  lea    D50(%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    L92
  lea    D18(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  movslq %ebx,%rdx
  imul   $0x14f8b589,%rdx,%rdx
  sar    $0x2d,%rdx
  jmp    L58
  nopl   0x0(%rax)
L10:
  divss  D129(%rip),%xmm0
  cvttss2si %xmm0,%edx
  mov    %rsp,%r12
  lea    D50(%rip),%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  lea    D40(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  jmp    L28
  nopl   (%rax)
L61:
  mov    %rsp,%r12
  lea    D50(%rip),%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  jmp    L28
  nopw   0x0(%rax,%rax,1)
L44:
  lea    D18(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  movslq %ebx,%rdx
  imul   $0x68db8bad,%rdx,%rdx
  sar    $0x2c,%rdx
L58:
  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    L92
L71:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D63
datatype: byte[4]
name: read_data
arguments: label: D119
datatype: byte[4]
name: read_data
arguments: label: D129
datatype: byte[4]
name: read_data
arguments: label: D50
datatype: string
name: read_data
arguments: label: D40
datatype: string
name: read_data
arguments: label: D18
datatype: string

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

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

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

tool: D50: %d

tool: D40:  Million

tool: D18: .

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);
  }
}
```