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

```asm
<main>:
  endbr64
  sub    $0x38,%rsp
  movsd  D11(%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  D0(%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     L40
  nopl   0x0(%rax,%rax,1)
L90:
  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    L90
L40:
  movl   $0x0,0xc(%rsp)
  movl   $0x0,0x1c(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xe,%eax
  jg     L50
  nopl   0x0(%rax,%rax,1)
L99:
  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    L99
L50:
  movl   $0x1,0x14(%rsp)
  movl   $0x0,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xfffe,%eax
  jg     L44
  nopl   0x0(%rax)
L13:
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  je     L44
  movl   $0x0,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    $0xfffe,%eax
  jle    L92
  jmp    L101
  nopl   0x0(%rax)
L39:
  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     L101
L92:
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jne    L39
L101:
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0xfffe,%eax
  jle    L13
L44:
  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: tag: D11
type: f64
name: read_data
arguments: tag: D0
type: f64

tool: D11: 1

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