user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  sub    $0x18,%rsp
  lea    D14(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%rsi
  call   <scanf@plt>
  movslq 0x4(%rsp),%rsi
  lea    D60(%rip),%rdi
  mov    %rsi,%rax
  imul   $0x51eb851f,%rsi,%rsi
  sar    $0x1f,%eax
  sar    $0x25,%rsi
  sub    %eax,%esi
  call   <printf@plt>
  movslq 0x4(%rsp),%rax
  lea    D42(%rip),%rdi
  mov    %rax,%rdx
  imul   $0x51eb851f,%rax,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sar    $0x25,%rax
  sub    %ecx,%eax
  imul   $0x64,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  movslq %eax,%rsi
  mov    %eax,0x4(%rsp)
  sar    $0x1f,%eax
  imul   $0x51eb851f,%rsi,%rsi
  sar    $0x24,%rsi
  sub    %eax,%esi
  call   <printf@plt>
  movslq 0x4(%rsp),%rax
  lea    D32(%rip),%rdi
  mov    %rax,%rdx
  imul   $0x51eb851f,%rax,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sar    $0x24,%rax
  sub    %ecx,%eax
  imul   $0x32,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  movslq %eax,%rsi
  mov    %eax,0x4(%rsp)
  sar    $0x1f,%eax
  imul   $0x66666667,%rsi,%rsi
  sar    $0x22,%rsi
  sub    %eax,%esi
  call   <printf@plt>
  movslq 0x4(%rsp),%rax
  lea    D38(%rip),%rdi
  mov    %rax,%rcx
  imul   $0x66666667,%rax,%rax
  mov    %ecx,%edx
  sar    $0x22,%rax
  sar    $0x1f,%edx
  sub    %edx,%eax
  lea    (%rax,%rax,4),%edx
  mov    %ecx,%eax
  add    %edx,%edx
  sub    %edx,%eax
  movslq %eax,%rsi
  mov    %eax,0x4(%rsp)
  sar    $0x1f,%eax
  imul   $0x66666667,%rsi,%rsi
  sar    $0x21,%rsi
  sub    %eax,%esi
  call   <printf@plt>
  movslq 0x4(%rsp),%rax
  lea    D29(%rip),%rdi
  mov    %rax,%rdx
  imul   $0x66666667,%rax,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sar    $0x21,%rax
  sub    %ecx,%eax
  lea    (%rax,%rax,4),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%esi
  mov    %eax,0x4(%rsp)
  shr    $0x1f,%esi
  add    %eax,%esi
  sar    %esi
  call   <printf@plt>
  mov    0x4(%rsp),%esi
  lea    D52(%rip),%rdi
  mov    %esi,%eax
  shr    $0x1f,%eax
  add    %eax,%esi
  and    $0x1,%esi
  sub    %eax,%esi
  mov    %esi,0x4(%rsp)
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  xor    %eax,%eax
  add    $0x18,%rsp
  ret
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D14
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D60
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D42
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D32
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D38
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D29
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D52
type_guessed: string

tool: D14: %d

tool: D60: %d notas de 100.


tool: D42: %d notas de 50.


tool: D32: %d notas de 10.


tool: D38: %d notas de 5.


tool: D29: %d notas de 2.


tool: D52: %d moeda de 1.


assistant: ```c
int main() {
  int valor;
  scanf("%d", &valor);
  printf("%d notas de 100.\n", valor / 100);
  valor = valor % 100;
  printf("%d notas de 50.\n", valor / 50);
  valor = valor % 50;
  printf("%d notas de 10.\n", valor / 10);
  valor = valor % 10;
  printf("%d notas de 5.\n", valor / 5);
  valor = valor % 5;
  printf("%d notas de 2.\n", valor / 2);
  valor = valor % 2;
  printf("%d moeda de 1.\n", valor);
  return 0;
}
```