user: What is the c source code of the assembly code below:

```asm
<dollars>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  movl   $0x0,-0x14(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x0,-0x8(%rbp)
  movl   $0x0,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L12
L115:
  addl   $0x1,-0x14(%rbp)
L12:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L115
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  movslq %eax,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x1f,%eax
  mov    %edx,%esi
  sub    %eax,%esi
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  movslq %edx,%rax
  imul   $0x55555556,%rax,%rax
  shr    $0x20,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  add    %ecx,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  setne  %al
  movzbl %al,%eax
  add    %esi,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x8(%rbp)
  cmpl   $0x2,-0x14(%rbp)
  jle    L62
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L44
L36:
  mov    -0x8(%rbp),%eax
  sub    $0x3,%eax
  cmp    %eax,-0x10(%rbp)
  jne    L157
  mov    -0x28(%rbp),%rax
  add    $0x3,%rax
  movb   $0x2e,(%rax)
  jmp    L136
L157:
  cmpl   $0x3,-0xc(%rbp)
  jne    L83
  mov    -0x8(%rbp),%eax
  sub    $0x3,%eax
  cmp    %eax,-0x10(%rbp)
  jge    L83
  cmpl   $0x1,-0x10(%rbp)
  jle    L83
  mov    -0x8(%rbp),%eax
  sub    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0x2c,(%rax)
  movl   $0x0,-0xc(%rbp)
  jmp    L136
L83:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x8(%rbp),%eax
  sub    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
  mov    -0x8(%rbp),%eax
  sub    $0x3,%eax
  cmp    %eax,-0x10(%rbp)
  jge    L111
  addl   $0x1,-0xc(%rbp)
L111:
  subl   $0x1,-0x14(%rbp)
L136:
  subl   $0x1,-0x10(%rbp)
L44:
  cmpl   $0x0,-0x10(%rbp)
  jg     L36
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0x24,(%rax)
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L156
L145:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  subl   $0x1,-0x10(%rbp)
L156:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L145
  jmp    L161
L62:
  mov    -0x28(%rbp),%rax
  add    $0x5,%rax
  movb   $0x24,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0x4,%rax
  movb   $0x30,(%rax)
  mov    -0x28(%rbp),%rax
  add    $0x3,%rax
  movb   $0x2e,(%rax)
  mov    -0x28(%rbp),%rax
  lea    0x2(%rax),%rdx
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  mov    -0x30(%rbp),%rax
  add    $0x1,%rax
  mov    -0x28(%rbp),%rdx
  add    $0x1,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  mov    -0x28(%rbp),%rax
  movb   $0x0,(%rax)
  movl   $0x5,-0x10(%rbp)
  jmp    L64
L22:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  subl   $0x1,-0x10(%rbp)
L64:
  cmpl   $0x0,-0x10(%rbp)
  jns    L22
L161:
  nop
  leave
  ret
```

assistant: ```c
void dollars(char *dest, char const *src) {
  int counter = 0;
  int temp = 0;
  int num = 0;
  int label = 0;
  int time = 0;
  for (counter = 0; src[counter] != '\0'; counter++) {
  }
  label = ((counter + 1) / 3) + ((counter + 1) % 3 != 0);
  num = label + counter;
  if (counter > 2) {
    for (temp = num; temp > 0; temp--) {
      if (temp == num - 3) {
        dest[3] = '.';
        continue;
      }
      if ((time == 3) && (temp < num - 3) && temp > 1) {
        dest[num - temp] = ',';
        time = 0;
        continue;
      }
      dest[num - temp] = src[counter];
      if (temp < num - 3) {
        time++;
      }
      counter--;
    }
    dest[num] = '$';
    for (temp = num; dest[temp] != '\0'; temp--) {
      putchar(dest[temp]);
    }
  } else {
    dest[5] = '$';
    dest[4] = '0';
    dest[3] = '.';
    dest[2] = src[0];
    dest[1] = src[1];
    dest[0] = '\0';
    for (temp = 5; temp >= 0; temp--) {
      putchar(dest[temp]);
    }
  }
}
```