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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x2c(%rbp)
  movl   $0x0,-0x28(%rbp)
  movl   $0x0,-0x24(%rbp)
  movl   $0x0,-0x20(%rbp)
  movl   $0x0,-0x1c(%rbp)
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0x14(%rbp)
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x30(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L39
L50:
  mov    -0x30(%rbp),%eax
  sub    $0x64,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  addl   $0x1,-0x2c(%rbp)
L39:
  mov    -0x30(%rbp),%eax
  cmp    $0x63,%eax
  jg     L50
  jmp    L66
L71:
  mov    -0x30(%rbp),%eax
  sub    $0x32,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  addl   $0x1,-0x28(%rbp)
L66:
  mov    -0x30(%rbp),%eax
  cmp    $0x31,%eax
  jg     L71
  jmp    L57
L35:
  mov    -0x30(%rbp),%eax
  sub    $0x14,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  addl   $0x1,-0x24(%rbp)
L57:
  mov    -0x30(%rbp),%eax
  cmp    $0x13,%eax
  jg     L35
  jmp    L43
L68:
  mov    -0x30(%rbp),%eax
  sub    $0xa,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  addl   $0x1,-0x20(%rbp)
L43:
  mov    -0x30(%rbp),%eax
  cmp    $0x9,%eax
  jg     L68
  jmp    L128
L94:
  mov    -0x30(%rbp),%eax
  sub    $0x5,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  addl   $0x1,-0x1c(%rbp)
L128:
  mov    -0x30(%rbp),%eax
  cmp    $0x4,%eax
  jg     L94
  jmp    L70
L44:
  mov    -0x30(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  addl   $0x1,-0x18(%rbp)
L70:
  mov    -0x30(%rbp),%eax
  cmp    $0x1,%eax
  jg     L44
  jmp    L12
L115:
  mov    -0x30(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  addl   $0x1,-0x14(%rbp)
L12:
  mov    -0x30(%rbp),%eax
  test   %eax,%eax
  jg     L115
  mov    -0x20(%rbp),%r8d
  mov    -0x24(%rbp),%edi
  mov    -0x28(%rbp),%ecx
  mov    -0x2c(%rbp),%edx
  mov    -0x10(%rbp),%eax
  sub    $0x8,%rsp
  mov    -0x14(%rbp),%esi
  push   %rsi
  mov    -0x18(%rbp),%esi
  push   %rsi
  mov    -0x1c(%rbp),%esi
  push   %rsi
  mov    %r8d,%r9d
  mov    %edi,%r8d
  mov    %eax,%esi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  add    $0x20,%rsp
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L22
  call   <__stack_chk_fail@plt>
L22:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_label: D12
type_guessed: string
name: read_data
arguments: data_label: D14
type_guessed: string

tool: D12: %d

tool: D14: %d
%d nota(s) de R$ 100,00
%d nota(s) de R$ 50,00
%d nota(s) de R$ 20,00
%d nota(s) de R$ 10,00
%d nota(s) de R$ 5,00
%d nota(s) de R$ 2,00
%d nota(s) de R$ 1,00


assistant: ```c
int main() {
  int valor, fixo, acumulador;
  int contador100 = 0;
  int contador50 = 0;
  int contador20 = 0;
  int contador10 = 0;
  int contador5 = 0;
  int contador2 = 0;
  int contador1 = 0;
  scanf("%d", &valor);
  fixo = valor;
  while (valor >= 100) {
    acumulador = valor - 100;
    valor = acumulador;
    contador100 += 1;
  }
  while (valor >= 50) {
    acumulador = valor - 50;
    valor = acumulador;
    contador50 += 1;
  }
  while (valor >= 20) {
    acumulador = valor - 20;
    valor = acumulador;
    contador20 += 1;
  }
  while (valor >= 10) {
    acumulador = valor - 10;
    valor = acumulador;
    contador10 += 1;
  }
  while (valor >= 5) {
    acumulador = valor - 5;
    valor = acumulador;
    contador5 += 1;
  }
  while (valor >= 2) {
    acumulador = valor - 2;
    valor = acumulador;
    contador2 += 1;
  }
  while (valor >= 1) {
    acumulador = valor - 1;
    valor = acumulador;
    contador1 += 1;
  }
  printf("%d\n%d nota(s) de R$ 100,00\n%d nota(s) de R$ 50,00\n%d nota(s) de R$ 20,00\n%d nota(s) de R$ 10,00\n%d nota(s) de R$ 5,00\n%d nota(s) de R$ 2,00\n%d nota(s) de R$ 1,00\n", fixo, contador100, contador50, contador20, contador10, contador5, contador2, contador1);
  return 0;
}
```