user: 请从给定的汇编指令推导出C源代码:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D145(%rip),%rdi
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rsi
  call   <scanf@plt>
  movsd  D3(%rip),%xmm0
  mulsd  (%rsp),%xmm0
  call   <rint@plt>
  lea    D98(%rip),%rdi
  movslq %eax,%rbp
  call   <puts@plt>
  mov    %rbp,%rbx
  imul   $0x68db8bad,%rbp,%rbp
  lea    D127(%rip),%rdi
  mov    %ebx,%eax
  sar    $0x1f,%eax
  sar    $0x2c,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x2710,%ebp,%ebp
  call   <printf@plt>
  lea    D155(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x68db8bad,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x2b,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x1388,%ebp,%ebp
  call   <printf@plt>
  lea    D144(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x10624dd3,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x27,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x7d0,%ebp,%ebp
  call   <printf@plt>
  lea    D13(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x10624dd3,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x26,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x3e8,%ebp,%ebp
  call   <printf@plt>
  lea    D23(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x10624dd3,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x25,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x1f4,%ebp,%ebp
  call   <printf@plt>
  lea    D133(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x51eb851f,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x26,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0xc8,%ebp,%ebp
  call   <printf@plt>
  lea    D136(%rip),%rdi
  call   <puts@plt>
  lea    D92(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x51eb851f,%rbp,%rbp
  sar    $0x1f,%eax
  sar    $0x25,%rbp
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x64,%ebp,%ebp
  call   <printf@plt>
  lea    D33(%rip),%rdi
  sub    %ebp,%ebx
  movslq %ebx,%rbp
  mov    %ebx,%eax
  imul   $0x51eb851f,%rbp,%rbp
  sar    $0x24,%rbp
  sar    $0x1f,%eax
  sub    %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  imul   $0x32,%ebp,%ebp
  call   <printf@plt>
  lea    D74(%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    D134(%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    D56(%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    D22(%rip),%rdi
  sub    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  ret
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D145
type_infered: string
name: disassemble_data
arguments: data_label: D3
type_infered: byte[8]
name: disassemble_data
arguments: data_label: D98
type_infered: string
name: disassemble_data
arguments: data_label: D127
type_infered: string
name: disassemble_data
arguments: data_label: D155
type_infered: string
name: disassemble_data
arguments: data_label: D144
type_infered: string
name: disassemble_data
arguments: data_label: D13
type_infered: string
name: disassemble_data
arguments: data_label: D23
type_infered: string
name: disassemble_data
arguments: data_label: D133
type_infered: string
name: disassemble_data
arguments: data_label: D136
type_infered: string
name: disassemble_data
arguments: data_label: D92
type_infered: string
name: disassemble_data
arguments: data_label: D33
type_infered: string
name: disassemble_data
arguments: data_label: D74
type_infered: string
name: disassemble_data
arguments: data_label: D134
type_infered: string
name: disassemble_data
arguments: data_label: D56
type_infered: string
name: disassemble_data
arguments: data_label: D22
type_infered: string

tool: D145: %lf

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

tool: D98: NOTAS:

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


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


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


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


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


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


tool: D136: MOEDAS:

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


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


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


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


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


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


assistant: ```c
int main() {
  double x;
  int a;
  scanf("%lf", &x);
  a = rint(x * 100);
  printf("NOTAS:\n");
  printf("%d nota(s) de R$ 100.00\n", a / 10000);
  a %= 10000;
  printf("%d nota(s) de R$ 50.00\n", a / 5000);
  a %= 5000;
  printf("%d nota(s) de R$ 20.00\n", a / 2000);
  a %= 2000;
  printf("%d nota(s) de R$ 10.00\n", a / 1000);
  a %= 1000;
  printf("%d nota(s) de R$ 5.00\n", a / 500);
  a %= 500;
  printf("%d nota(s) de R$ 2.00\n", a / 200);
  a %= 200;
  printf("MOEDAS:\n");
  printf("%d moeda(s) de R$ 1.00\n", a / 100);
  a %= 100;
  printf("%d moeda(s) de R$ 0.50\n", a / 50);
  a %= 50;
  printf("%d moeda(s) de R$ 0.25\n", a / 25);
  a %= 25;
  printf("%d moeda(s) de R$ 0.10\n", a / 10);
  a %= 10;
  printf("%d moeda(s) de R$ 0.05\n", a / 5);
  a %= 5;
  printf("%d moeda(s) de R$ 0.01\n", a / 1);
  return 0;
}
```