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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D93(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1c(%rbp),%rax
  mov    %rax,%rsi
  lea    D55(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D74(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D55(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D64(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x14(%rbp),%rax
  mov    %rax,%rsi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movss  -0x1c(%rbp),%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x14(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  %xmm1,%xmm0
  movss  D82(%rip),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  pxor   %xmm2,%xmm2
  cvtss2sd -0x10(%rbp),%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  lea    D103(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movss  -0x1c(%rbp),%xmm0
  movss  -0x10(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm3,%xmm3
  cvtss2sd -0xc(%rbp),%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  lea    D60(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L8
  call   <__stack_chk_fail@plt>
L8:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D38
data_type: string
name: extract_symbolic_data
arguments: data_label: D93
data_type: string
name: extract_symbolic_data
arguments: data_label: D55
data_type: string
name: extract_symbolic_data
arguments: data_label: D74
data_type: string
name: extract_symbolic_data
arguments: data_label: D64
data_type: string
name: extract_symbolic_data
arguments: data_label: D110
data_type: string
name: extract_symbolic_data
arguments: data_label: D44
data_type: string
name: extract_symbolic_data
arguments: data_label: D82
data_type: byte[4]
name: extract_symbolic_data
arguments: data_label: D103
data_type: string
name: extract_symbolic_data
arguments: data_label: D14
data_type: string
name: extract_symbolic_data
arguments: data_label: D60
data_type: string

tool: D38: Simple Interest & Amount 

tool: D93: Principal 	: 

tool: D55: %f

tool: D74: Interest Rate 	: 

tool: D64: Time (yrs) 	: 

tool: D110: %d

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

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

tool: D103: Simple Interest = %.2f 


tool: D14: Total Amount = Principal + Simple Interest 

tool: D60: 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;
}
```