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

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D67(%rip),%rdi
  call   <puts@plt>
  lea    D85(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x8(%rsp),%rsi
  lea    D81(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D10(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D57(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  lea    D51(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D56(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movsd  0x10(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm0
  mov    $0x1,%edi
  call   <balanceCalculator@plt>
  mov    $0x1,%esi
  lea    D16(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    (%rsp),%edi
  mov    0x4(%rsp),%eax
  cltd
  idiv   %edi
  test   %eax,%eax
  jle    L21
  mov    $0x1,%ebx
  lea    D16(%rip),%rbp
  jmp    L32
L38:
  add    $0x1,%ebx
  mov    (%rsp),%edi
  mov    0x4(%rsp),%eax
  cltd
  idiv   %edi
  cmp    %ebx,%eax
  jl     L21
L32:
  imul   %ebx,%edi
  cmp    $0x1,%edi
  je     L38
  movsd  0x10(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm0
  call   <balanceCalculator@plt>
  mov    %ebx,%esi
  imul   (%rsp),%esi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L38
L21:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L18
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  ret
L18:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D67
type: string
name: retrieve_data
arguments: tag: D85
type: string
name: retrieve_data
arguments: tag: D81
type: string
name: retrieve_data
arguments: tag: D10
type: string
name: retrieve_data
arguments: tag: D57
type: string
name: retrieve_data
arguments: tag: D51
type: string
name: retrieve_data
arguments: tag: D56
type: string
name: retrieve_data
arguments: tag: D16
type: string

tool: D67: Interest calculation program.

tool: D85: Starting balance? 

tool: D81: %lf

tool: D10: Annual interest rate percentage? 

tool: D57: Calculate for ? years: 

tool: D51: %d

tool: D56: print every ? years balance: 

tool: D16: Year %-3d  |  balance %10g


assistant: ```c
int main(int argc, const char *argv[]) {
  int N, toNYearLater;
  double start, rate, yearRate;
  printf("Interest calculation program.\n");
  printf("Starting balance? ");
  scanf("%lf", &start);
  printf("Annual interest rate percentage? ");
  scanf("%lf", &rate);
  yearRate = (1 + 0.01 * rate);
  printf("Calculate for ? years: ");
  scanf("%d", &toNYearLater);
  printf("print every ? years balance: ");
  scanf("%d", &N);
  printf("Year %-3d  |  balance %10g\n", 1, balanceCalculator(1, start, rate));
  for (int i = 1; i <= toNYearLater / N; i++) {
    if ((i * N) == 1)
      continue;
    printf("Year %-3d  |  balance %10g\n", i * N, balanceCalculator(i * N, start, rate));
  }
  return 0;
}
```