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

```asm
<main>:
  endbr64
  sub    $0x38,%rsp
  movsd  D12(%rip),%xmm0
  movl   $0x0,0xc(%rsp)
  movl   $0x1,0x10(%rsp)
  movl   $0x2,0x14(%rsp)
  movl   $0x3,0x18(%rsp)
  movl   $0x4,0x1c(%rsp)
  movsd  %xmm0,0x20(%rsp)
  movsd  D7(%rip),%xmm0
  movsd  %xmm0,0x28(%rsp)
  mov    0x10(%rsp),%eax
  mov    0x14(%rsp),%edi
  mov    0x18(%rsp),%edx
  mov    0x1c(%rsp),%esi
  add    %edi,%eax
  mov    0xc(%rsp),%ecx
  imul   %esi,%edx
  add    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,0xc(%rsp)
  mov    0x14(%rsp),%esi
  mov    0x18(%rsp),%edx
  mov    0xc(%rsp),%edi
  mov    0x10(%rsp),%eax
  imul   %edx,%esi
  add    %eax,%edi
  call   <func1@plt>
  add    $0xa,%eax
  mov    %eax,0x1c(%rsp)
  mov    0x14(%rsp),%esi
  mov    0x18(%rsp),%edx
  mov    0xc(%rsp),%edi
  mov    0x10(%rsp),%eax
  imul   %edx,%esi
  add    %eax,%edi
  call   <func1@plt>
  add    $0xa,%eax
  mov    %eax,0x1c(%rsp)
  movl   $0x0,0xc(%rsp)
  movl   $0x0,0x1c(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xe,%eax
  jg     L60
  nopl   0x0(%rax,%rax,1)
L54:
  mov    0xc(%rsp),%edx
  mov    0x1c(%rsp),%eax
  add    %edx,%eax
  mov    %eax,0x1c(%rsp)
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xe,%eax
  jle    L54
L60:
  movl   $0x0,0xc(%rsp)
  movl   $0x0,0x1c(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xe,%eax
  jg     L9
  nopl   0x0(%rax,%rax,1)
L79:
  mov    0xc(%rsp),%edx
  mov    0x1c(%rsp),%eax
  add    %edx,%eax
  mov    %eax,0x1c(%rsp)
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xe,%eax
  jle    L79
L9:
  movl   $0x1,0x14(%rsp)
  movl   $0x0,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xfffe,%eax
  jg     L45
  nopl   0x0(%rax)
L44:
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  je     L45
  movl   $0x0,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    $0xfffe,%eax
  jle    L74
  jmp    L87
  nopl   0x0(%rax)
L33:
  mov    0xc(%rsp),%edx
  pxor   %xmm0,%xmm0
  movsd  0x28(%rsp),%xmm1
  mov    0x10(%rsp),%eax
  cvtsi2sd %edx,%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x20(%rsp)
  mov    0xc(%rsp),%eax
  pxor   %xmm0,%xmm0
  movsd  0x20(%rsp),%xmm1
  cvtsi2sd %eax,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,0x28(%rsp)
  mov    0x10(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    $0xfffe,%eax
  jg     L87
L74:
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jne    L33
L87:
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xfffe,%eax
  jle    L44
L45:
  mov    0x10(%rsp),%eax
  mov    0x14(%rsp),%edi
  mov    0x18(%rsp),%edx
  mov    0x1c(%rsp),%esi
  add    %edi,%eax
  mov    0xc(%rsp),%ecx
  imul   %esi,%edx
  add    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,0xc(%rsp)
  mov    0x10(%rsp),%eax
  mov    0x14(%rsp),%edi
  mov    0x18(%rsp),%edx
  mov    0x1c(%rsp),%esi
  mov    0xc(%rsp),%ecx
  add    %edi,%eax
  imul   %esi,%edx
  add    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,0xc(%rsp)
  mov    0x10(%rsp),%eax
  mov    0x14(%rsp),%edi
  mov    0x18(%rsp),%edx
  mov    0x1c(%rsp),%esi
  mov    0xc(%rsp),%ecx
  add    %edi,%eax
  imul   %esi,%edx
  add    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,0xc(%rsp)
  xor    %eax,%eax
  add    $0x38,%rsp
  ret
```

tool_calls: name: read_data
arguments: label: D12
type_infered: f64
name: read_data
arguments: label: D7
type_infered: f64

tool: D12: 1

tool: D7: 2

assistant: ```c
int main(void) {
  volatile int a = 0;
  volatile int b = 1;
  volatile int c = 2;
  volatile int d = 3;
  volatile int e = 4;
  volatile double d1 = 1.0;
  volatile double d2 = 2.0;
  do {
    a = b + c + d * e - a;
  } while (0);
  e = 10 + func1(a + b, c * d);
  e = 10 + func1(a + b, c * d);
  do {
    for (a = 0, e = 0; a < 15; a++)
      e += a;
  } while (0);
  do {
    for (a = 0, e = 0; a < 15; a++)
      e += a;
  } while (0);
  do {
    for (c = 1, a = 0; a < 65535 && c; a++)
      for (b = 0; b < 65535 && c; b++) {
        d1 = d2 * a / b;
        d2 = d1 * a;
      }
  } while (0);
  do {
    a = b + c + d * e - a;
  } while (0);
  do {
    a = b + c + d * e - a;
  } while (0);
  do {
    a = b + c + d * e - a;
  } while (0);
  return 0;
}
```