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

```asm
<main>:
  endbr64
  push   %r15
  lea    D6(%rip),%rdi
  push   %r14
  push   %r13
  lea    D73(%rip),%r13
  push   %r12
  push   %rbp
  lea    D4(%rip),%rbp
  push   %rbx
  mov    $0x5,%ebx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%r12
  call   <puts@plt>
  lea    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  lea    D40(%rip),%rdi
  call   <puts@plt>
  mov    %rbp,%rdi
  lea    0xc(%rsp),%rsi
  mov    %r12,%rbp
  call   <scanf@plt>
  lea    D16(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L40:
  mov    %ebx,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <printf@plt>
  mov    D28(%rip),%rax
  add    $0x8,%rbp
  mov    %rax,-0x8(%rbp)
  cmp    $0xa,%ebx
  jne    L40
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L19
  mov    $0x1,%ebp
  lea    D72(%rip),%r13
  lea    D20(%rip),%rbx
  nopl   0x0(%rax)
L10:
  mov    %ebp,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  mov    %r12,%r15
  call   <printf@plt>
  xor    %r14d,%r14d
L34:
  mov    0x8(%rsp),%edx
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  add    $0x8,%r15
  add    %r14d,%edx
  add    $0x1,%r14d
  movslq %edx,%rax
  sar    $0x1f,%edx
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %edx,%eax
  add    $0x1,%eax
  cvtsi2sd %eax,%xmm0
  mulsd  -0x8(%r15),%xmm0
  mov    $0x1,%eax
  movsd  %xmm0,-0x8(%r15)
  call   <printf@plt>
  cmp    $0x5,%r14d
  jne    L34
  mov    $0xa,%edi
  add    $0x1,%ebp
  call   <putchar@plt>
  cmp    %ebp,0xc(%rsp)
  jge    L10
L19:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D6
datatype: string
name: parse_data
arguments: tag: D73
datatype: string
name: parse_data
arguments: tag: D4
datatype: string
name: parse_data
arguments: tag: D40
datatype: string
name: parse_data
arguments: tag: D16
datatype: string
name: parse_data
arguments: tag: D28
datatype: byte[8]
name: parse_data
arguments: tag: D72
datatype: string
name: parse_data
arguments: tag: D20
datatype: string

tool: D6: enter interest rate:

tool: D73: %6d%

tool: D4: %d

tool: D40: enter number of years:

tool: D16: 
Years

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

tool: D72: %3d	

tool: D20: %7.2f


assistant: ```c
int main(void) {
  int start_rate, num_years;
  double value[5];
  printf("enter interest rate:\n");
  scanf("%d", &start_rate);
  printf("enter number of years:\n");
  scanf("%d", &num_years);
  printf("\nYears");
  for (int i = 0; i < ((int)(sizeof(value) / sizeof(value[0]))); i++) {
    printf("%6d%", ((int)(sizeof(value) / sizeof(value[0]))) + i);
    value[i] = 100;
  }
  printf("\n");
  for (int i = 1; i < num_years + 1; i++) {
    printf("%3d\t", i);
    for (int i = 0; i < ((int)(sizeof(value) / sizeof(value[0]))); i++) {
      value[i] = (1 + (start_rate + i) / 100) * value[i];
      printf("%7.2f\n", value[i]);
    }
    printf("\n");
  }
  return 0;
}
```