user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D67(%rip),%rdi
  lea    D17(%rip),%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D95(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D1(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D2(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x24(%rsp),%rsi
  lea    D0(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D99(%rip),%rdi
  call   <puts@plt>
  movss  0x1c(%rsp),%xmm1
  pxor   %xmm0,%xmm0
  lea    D32(%rip),%rdi
  mulss  0x20(%rsp),%xmm1
  cvtsi2ssl 0x24(%rsp),%xmm0
  mov    $0x1,%eax
  mulss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  divss  D15(%rip),%xmm1
  cvtss2sd %xmm1,%xmm0
  movss  %xmm1,0xc(%rsp)
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D43(%rip),%rdi
  call   <puts@plt>
  movss  0xc(%rsp),%xmm1
  addss  0x1c(%rsp),%xmm1
  lea    D108(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm1,%xmm0
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L2
  add    $0x30,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L2:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D67
datatype: string
name: read_data
arguments: label: D17
datatype: string
name: read_data
arguments: label: D95
datatype: string
name: read_data
arguments: label: D1
datatype: string
name: read_data
arguments: label: D2
datatype: string
name: read_data
arguments: label: D0
datatype: string
name: read_data
arguments: label: D99
datatype: string
name: read_data
arguments: label: D32
datatype: string
name: read_data
arguments: label: D15
datatype: byte[4]
name: read_data
arguments: label: D43
datatype: string
name: read_data
arguments: label: D108
datatype: string

tool: D67: Simple Interest & Amount 

tool: D17: %f

tool: D95: Principal 	: 

tool: D1: Interest Rate 	: 

tool: D2: Time (yrs) 	: 

tool: D0: %d

tool: D99: Simple Interest = (Principal * Rate * Time) / 100 

tool: D32: Simple Interest = %.2f 


tool: {"D15": [0x00,0x00,0xc8,0x42]}

tool: D43: Total Amount = Principal + Simple Interest 

tool: D108: Total Amount = %.2f 


assistant: ```c
int main() {
  printf("Simple Interest & Amount \n");
  printf("\n");
  float principal, rate, simpleInterest, amount;
  int time;
  printf("Principal \t: ");
  scanf("%f", &principal);
  printf("Interest Rate \t: ");
  scanf("%f", &rate);
  printf("Time (yrs) \t: ");
  scanf("%d", &time);
  printf("\n");
  printf("\n");
  printf("Simple Interest = (Principal * Rate * Time) / 100 \n");
  simpleInterest = (principal * rate * time) / 100;
  printf("Simple Interest = %.2f \n", simpleInterest);
  printf("\n");
  printf("Total Amount = Principal + Simple Interest \n");
  amount = principal + simpleInterest;
  printf("Total Amount = %.2f \n", amount);
  printf("\n");
  return 0;
}
```