user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<main>:
  endbr64
  push   %r12
  lea    D23(%rip),%rdi
  push   %rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rsi
  call   <scanf@plt>
  movsd  (%rsp),%xmm0
  cvttsd2si %xmm0,%ebx
  mulsd  D55(%rip),%xmm0
  movslq %ebx,%r12
  call   <round@plt>
  imul   $0x51eb851f,%r12,%r12
  lea    D5(%rip),%rdi
  mov    %eax,%ebp
  call   <puts@plt>
  mov    %ebx,%eax
  lea    D58(%rip),%rdi
  sar    $0x1f,%eax
  sar    $0x25,%r12
  sub    %eax,%r12d
  xor    %eax,%eax
  mov    %r12d,%esi
  imul   $0x64,%r12d,%r12d
  call   <printf@plt>
  lea    D95(%rip),%rdi
  sub    %r12d,%ebx
  movslq %ebx,%r12
  mov    %ebx,%eax
  imul   $0x51eb851f,%r12,%r12
  sar    $0x1f,%eax
  sar    $0x24,%r12
  sub    %eax,%r12d
  xor    %eax,%eax
  mov    %r12d,%esi
  imul   $0x32,%r12d,%r12d
  call   <printf@plt>
  lea    D136(%rip),%rdi
  sub    %r12d,%ebx
  movslq %ebx,%r12
  mov    %ebx,%eax
  imul   $0x66666667,%r12,%r12
  sar    $0x1f,%eax
  sar    $0x23,%r12
  sub    %eax,%r12d
  xor    %eax,%eax
  mov    %r12d,%esi
  call   <printf@plt>
  lea    (%r12,%r12,4),%eax
  lea    D152(%rip),%rdi
  shl    $0x2,%eax
  sub    %eax,%ebx
  movslq %ebx,%r12
  mov    %ebx,%eax
  imul   $0x66666667,%r12,%r12
  sar    $0x1f,%eax
  sar    $0x22,%r12
  sub    %eax,%r12d
  xor    %eax,%eax
  mov    %r12d,%esi
  call   <printf@plt>
  lea    (%r12,%r12,4),%eax
  lea    D102(%rip),%rdi
  add    %eax,%eax
  sub    %eax,%ebx
  movslq %ebx,%r12
  mov    %ebx,%eax
  imul   $0x66666667,%r12,%r12
  sar    $0x1f,%eax
  sar    $0x21,%r12
  sub    %eax,%r12d
  xor    %eax,%eax
  mov    %r12d,%esi
  call   <printf@plt>
  lea    (%r12,%r12,4),%eax
  lea    D105(%rip),%rdi
  sub    %eax,%ebx
  xor    %eax,%eax
  mov    %ebx,%esi
  shr    $0x1f,%esi
  add    %ebx,%esi
  sar    %esi
  call   <printf@plt>
  lea    D47(%rip),%rdi
  call   <puts@plt>
  mov    %ebx,%eax
  lea    D116(%rip),%rdi
  shr    $0x1f,%eax
  lea    (%rbx,%rax,1),%esi
  movslq %ebp,%rbx
  imul   $0x51eb851f,%rbx,%rbx
  and    $0x1,%esi
  sub    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebp,%eax
  lea    D25(%rip),%rdi
  sar    $0x1f,%eax
  sar    $0x25,%rbx
  sub    %eax,%ebx
  imul   $0x64,%ebx,%eax
  mov    %ebp,%ebx
  sub    %eax,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x51eb851f,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x24,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x32,%ebp,%ebp
  call   <printf@plt>
  lea    D8(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x51eb851f,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x23,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  call   <printf@plt>
  lea    0x0(%rbp,%rbp,4),%eax
  lea    D135(%rip),%rdi
  lea    (%rax,%rax,4),%eax
  sub    %eax,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x66666667,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x22,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  call   <printf@plt>
  lea    0x0(%rbp,%rbp,4),%eax
  lea    D143(%rip),%rdi
  add    %eax,%eax
  sub    %eax,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x66666667,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x21,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  call   <printf@plt>
  lea    0x0(%rbp,%rbp,4),%eax
  mov    %ebx,%esi
  lea    D39(%rip),%rdi
  sub    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D23
type_guessed: string
name: disassemble_data
arguments: data_label: D55
type_guessed: byte[8]
name: disassemble_data
arguments: data_label: D5
type_guessed: string
name: disassemble_data
arguments: data_label: D58
type_guessed: string
name: disassemble_data
arguments: data_label: D95
type_guessed: string
name: disassemble_data
arguments: data_label: D136
type_guessed: string
name: disassemble_data
arguments: data_label: D152
type_guessed: string
name: disassemble_data
arguments: data_label: D102
type_guessed: string
name: disassemble_data
arguments: data_label: D105
type_guessed: string
name: disassemble_data
arguments: data_label: D47
type_guessed: string
name: disassemble_data
arguments: data_label: D116
type_guessed: string
name: disassemble_data
arguments: data_label: D25
type_guessed: string
name: disassemble_data
arguments: data_label: D8
type_guessed: string
name: disassemble_data
arguments: data_label: D135
type_guessed: string
name: disassemble_data
arguments: data_label: D143
type_guessed: string
name: disassemble_data
arguments: data_label: D39
type_guessed: string

tool: D23: %lf

tool: {"D55": [0x00,0x00,0x00,0x00,0x00,0x00,0x59,0x40]}

tool: D5: NOTAS:

tool: D58: %d nota(s) de R$ 100.00


tool: D95: %d nota(s) de R$ 50.00


tool: D136: %d nota(s) de R$ 20.00


tool: D152: %d nota(s) de R$ 10.00


tool: D102: %d nota(s) de R$ 5.00


tool: D105: %d nota(s) de R$ 2.00


tool: D47: MOEDAS:

tool: D116: %d moeda(s) de R$ 1.00


tool: D25: %d moeda(s) de R$ 0.50


tool: D8: %d moeda(s) de R$ 0.25


tool: D135: %d moeda(s) de R$ 0.10


tool: D143: %d moeda(s) de R$ 0.05


tool: D39: %d moeda(s) de R$ 0.01


assistant: ```c
int main(void) {
  double n;
  scanf("%lf", &n);
  int N = n;
  int f = round(n * 100);
  printf("NOTAS:\n");
  printf("%d nota(s) de R$ 100.00\n", N / 100);
  printf("%d nota(s) de R$ 50.00\n", N % 100 / 50);
  printf("%d nota(s) de R$ 20.00\n", N % 100 % 50 / 20);
  printf("%d nota(s) de R$ 10.00\n", N % 100 % 50 % 20 / 10);
  printf("%d nota(s) de R$ 5.00\n", N % 100 % 50 % 20 % 10 / 5);
  printf("%d nota(s) de R$ 2.00\n", N % 100 % 50 % 20 % 10 % 5 / 2);
  printf("MOEDAS:\n");
  printf("%d moeda(s) de R$ 1.00\n", N % 100 % 50 % 20 % 10 % 5 - N % 100 % 50 % 20 % 10 % 5 / 2 * 2);
  printf("%d moeda(s) de R$ 0.50\n", f % 100 / 50);
  printf("%d moeda(s) de R$ 0.25\n", f % 100 % 50 / 25);
  printf("%d moeda(s) de R$ 0.10\n", f % 100 % 50 % 25 / 10);
  printf("%d moeda(s) de R$ 0.05\n", f % 100 % 50 % 25 % 10 / 5);
  printf("%d moeda(s) de R$ 0.01\n", f % 100 % 50 % 25 % 10 - f % 100 % 50 % 25 % 10 / 5 * 5);
  return 0;
}
```