user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %r15
  xor    %esi,%esi
  pxor   %xmm1,%xmm1
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1f8,%rsp
  movsd  D74(%rip),%xmm2
  mov    %fs:0x28,%rax
  mov    %rax,0x1e8(%rsp)
  xor    %eax,%eax
  mov    D93(%rip),%rax
  lea    0x60(%rsp),%r12
  movq   $0x0,0x58(%rsp)
  movq   $0x0,0x60(%rsp)
  lea    0x18(%rsp),%r8
  mov    %rax,0x18(%rsp)
  mov    D138(%rip),%rax
  movq   $0x0,0x68(%rsp)
  mov    %rax,0x20(%rsp)
  mov    D181(%rip),%rax
  movq   $0x0,0x70(%rsp)
  mov    %rax,0x28(%rsp)
  mov    D101(%rip),%rax
  movq   $0x0,0x78(%rsp)
  mov    %rax,0x30(%rsp)
  mov    D90(%rip),%rax
  movsd  %xmm2,0x10(%rsp)
  mov    %rax,0x38(%rsp)
  mov    D72(%rip),%rax
  mov    %rax,0x40(%rsp)
  mov    D177(%rip),%rax
  mov    %rax,0x48(%rsp)
  mov    D28(%rip),%rax
  mov    %rax,0x50(%rsp)
  lea    0x100(%rsp),%rax
  movq   $0x0,0x80(%rsp)
  movsd  D48(%rip),%xmm0
  mov    %rax,%rdi
  mov    %rax,%rbp
  movq   $0x0,0xd8(%rsp)
  movsd  %xmm0,0x88(%rsp)
  movsd  %xmm0,0x90(%rsp)
  movsd  %xmm0,0x98(%rsp)
  movsd  %xmm0,0xa0(%rsp)
  movsd  %xmm0,0xa8(%rsp)
  movsd  D10(%rip),%xmm0
  movq   $0x0,0xe0(%rsp)
  movq   $0x0,0xe8(%rsp)
  movq   $0x0,0xf0(%rsp)
  movq   $0x0,0xf8(%rsp)
  mov    %rax,0x8(%rsp)
  movsd  %xmm0,0xb0(%rsp)
  movsd  %xmm0,0xb8(%rsp)
  movsd  %xmm0,0xc0(%rsp)
  movsd  %xmm0,0xc8(%rsp)
  movsd  %xmm0,0xd0(%rsp)
  nopl   0x0(%rax,%rax,1)
L57:
  mov    %r8,%rdx
  mov    %rdi,%rax
  movapd %xmm2,%xmm0
  jmp    L51
  nopl   0x0(%rax)
L1:
  movsd  (%rdx),%xmm0
  add    $0x8,%rdx
L51:
  mulsd  %xmm1,%xmm0
  add    $0x8,%rax
  addsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %r12,%rdx
  jne    L1
  add    $0x1,%rsi
  add    $0x8,%rdi
  cmp    $0x14,%rsi
  je     L3
  movsd  (%r12,%rsi,8),%xmm1
  jmp    L57
L3:
  lea    D32(%rip),%rsi
  lea    D108(%rip),%rdi
  call   <fopen@plt>
  lea    D96(%rip),%rdi
  lea    D13(%rip),%r14
  mov    %rax,%r13
  xor    %eax,%eax
  lea    D185(%rip),%rbx
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  lea    0xe8(%rax),%r15
  nopl   0x0(%rax,%rax,1)
L18:
  movsd  0x0(%rbp),%xmm0
  mov    %r14,%rdi
  mov    $0x1,%eax
  add    $0x8,%rbp
  call   <printf@plt>
  movsd  -0x8(%rbp),%xmm0
  mov    %rbx,%rsi
  mov    %r13,%rdi
  mov    $0x1,%eax
  call   <fprintf@plt>
  cmp    %r15,%rbp
  jne    L18
  mov    %r13,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    %r13,%rdi
  call   <fclose@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D180(%rip),%rdx
  mov    $0x14,%esi
  mov    %r12,%rdi
  call   <gplot@plt>
  lea    0x10(%rsp),%rdi
  mov    $0xa,%esi
  lea    D11(%rip),%rdx
  call   <gplot@plt>
  mov    0x8(%rsp),%rdi
  mov    $0x1d,%esi
  lea    D131(%rip),%rdx
  call   <gplot@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x1e8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L47
  add    $0x1f8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L47:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D74
type_infered: f32[2]
name: parse_data
arguments: data_label: D93
type_infered: f64
name: parse_data
arguments: data_label: D138
type_infered: f64
name: parse_data
arguments: data_label: D181
type_infered: f64
name: parse_data
arguments: data_label: D101
type_infered: f64
name: parse_data
arguments: data_label: D90
type_infered: f64
name: parse_data
arguments: data_label: D72
type_infered: f64
name: parse_data
arguments: data_label: D177
type_infered: f64
name: parse_data
arguments: data_label: D28
type_infered: f64
name: parse_data
arguments: data_label: D48
type_infered: f32[2]
name: parse_data
arguments: data_label: D10
type_infered: f32[2]
name: parse_data
arguments: data_label: D32
type_infered: string
name: parse_data
arguments: data_label: D108
type_infered: string
name: parse_data
arguments: data_label: D96
type_infered: string
name: parse_data
arguments: data_label: D13
type_infered: string
name: parse_data
arguments: data_label: D185
type_infered: string
name: parse_data
arguments: data_label: D180
type_infered: string
name: parse_data
arguments: data_label: D11
type_infered: string
name: parse_data
arguments: data_label: D131
type_infered: string

tool: {"D74": [0.0,2.3125]}

tool: D93: 4.441

tool: D138: 3.824

tool: D181: 3.235

tool: D101: 2.647

tool: D90: 2.059

tool: D72: 1.471

tool: D177: 0.882

tool: D28: 0.294

tool: {"D48": [0.0,2.6875]}

tool: {"D10": [0.0,-2.6875]}

tool: D32: w+

tool: D108: response.txt

tool: D96: x[t]*h[t] = 

tool: D13: %3.2f 

tool: D185: %5.3f; 

tool: D180: Input signal

tool: D11: Impulse response

tool: D131: Convolution result

assistant: ```c
int main(void) {
  double h[10] = {5, 4.441, 3.824, 3.235, 2.647, 2.059, 1.471, 0.882, 0.294, 0};
  double x[20] = {0, 0, 0, 0, 0, 14, 14, 14, 14, 14, -14, -14, -14, -14, -14, 0, 0, 0, 0, 0};
  double dh[10] = {0.0};
  int length = 10 + 20 - 1;
  double y[length];
  for (int n = 0; n < 20; n++) {
    for (int i = 0; i < 10; i++) {
      dh[i] = h[i] * x[n];
      y[n + i] += dh[i];
    }
  }
  FILE *fp;
  fp = fopen("response.txt", "w+");
  printf("x[t]*h[t] = ");
  for (int i = 0; i < length; i++) {
    printf("%3.2f ", y[i]);
    fprintf(fp, "%5.3f; ", y[i]);
  }
  fprintf(fp, "\n");
  fclose(fp);
  putchar('\n');
  gplot(x, 20, "Input signal");
  gplot(h, 10, "Impulse response");
  gplot(y, length, "Convolution result");
  putchar('\n');
  return 0;
}
```