user: 请将以下的汇编代码转换成C语言代码：

```asm
<matched_filter_precise>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %rsi,0x60(%rsp)
  mov    %rdx,0x50(%rsp)
  mov    %rcx,0x88(%rsp)
  mov    %r8,0x68(%rsp)
  cmpl   $0x0,0xe0(%rsp)
  jle    L5
  mov    %rdi,%rax
  mov    %rdx,%rdi
  mov    %r9d,%r15d
  mov    0xe8(%rsp),%esi
  imul   0xf0(%rsp),%esi
  mov    %esi,0x80(%rsp)
  movslq %esi,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    %rcx,0x70(%rsp)
  lea    -0x1(%rsi),%edx
  lea    0x4(%rdi,%rdx,4),%r14
  imul   0xd0(%rsp),%esi
  movslq %esi,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    %rcx,0x78(%rsp)
  mov    %rax,0x48(%rsp)
  movslq %r9d,%rax
  shl    $0x2,%rax
  mov    %rax,0x30(%rsp)
  movq   $0x0,0x38(%rsp)
  movl   $0x0,0x44(%rsp)
  movl   $0x0,0x40(%rsp)
  mov    0xd8(%rsp),%eax
  sub    0xd0(%rsp),%eax
  mov    %eax,0x84(%rsp)
L58:
  mov    0x44(%rsp),%eax
  mov    %eax,0xc(%rsp)
  cmpl   $0x0,0x80(%rsp)
  jle    L42
  mov    0x50(%rsp),%rdx
  add    0x38(%rsp),%rdx
  mov    $0x0,%ebp
  mov    $0x0,%edi
L57:
  mov    (%rdx),%eax
  cmp    %eax,%edi
  cmovg  %eax,%edi
  cmp    %eax,%ebp
  cmovl  %eax,%ebp
  add    $0x4,%rdx
  cmp    %r14,%rdx
  jne    L57
L48:
  mov    0x48(%rsp),%rax
  mov    %rax,0x10(%rsp)
  mov    0x50(%rsp),%rsi
  mov    0x38(%rsp),%rax
  add    %rax,%rsi
  mov    %rsi,0x20(%rsp)
  mov    0x68(%rsp),%rsi
  add    %rax,%rsi
  mov    %rsi,0x28(%rsp)
  mov    0x60(%rsp),%rsi
  add    %rax,%rsi
  mov    %rsi,0x18(%rsp)
  call   <abs@plt>
  pxor   %xmm1,%xmm1
  cvtsi2ss %r15d,%xmm1
  divss  %xmm1,%xmm0
  call   <ceilf@plt>
  mov    %eax,%ebx
  imul   %r15d,%ebx
  mov    0x84(%rsp),%r13d
  sub    %ebp,%r13d
  cmp    %ebx,%r13d
  jl     L49
  movslq %ebx,%rax
  mov    0x88(%rsp),%rsi
  lea    (%rsi,%rax,4),%rbp
  mov    %r14,0x58(%rsp)
  mov    0x108(%rsp),%r14d
L29:
  mov    %ebx,%eax
  cltd
  idiv   %r15d
  add    0xc(%rsp),%eax
  cltq
  mov    0x100(%rsp),%rcx
  lea    (%rcx,%rax,4),%r12
  push   %r14
  mov    0xf8(%rsp),%eax
  push   %rax
  mov    0xf8(%rsp),%eax
  push   %rax
  mov    0xf0(%rsp),%eax
  push   %rax
  mov    0xf0(%rsp),%r9d
  mov    0x48(%rsp),%r8
  mov    %rbp,%rcx
  mov    0x40(%rsp),%rdx
  mov    0x38(%rsp),%rsi
  mov    0x30(%rsp),%rdi
  call   <network_corr_precise@plt>
  movss  %xmm0,(%r12)
  add    %r15d,%ebx
  add    0x50(%rsp),%rbp
  add    $0x20,%rsp
  cmp    %ebx,%r13d
  jge    L29
  mov    0x58(%rsp),%r14
L49:
  addl   $0x1,0x40(%rsp)
  mov    0x40(%rsp),%eax
  mov    0x70(%rsp),%rcx
  add    %rcx,%r14
  mov    0xf8(%rsp),%edi
  add    %edi,0x44(%rsp)
  mov    0x78(%rsp),%rbx
  add    %rbx,0x48(%rsp)
  add    %rcx,0x38(%rsp)
  cmp    %eax,0xe0(%rsp)
  jne    L58
L5:
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L42:
  mov    $0x0,%ebp
  mov    $0x0,%edi
  jmp    L48
```

assistant: ```c
void matched_filter_precise(float *templates, float *sum_square_templates, int *moveouts, float *data, float *weights, int step, int n_samples_template, int n_samples_data, int n_templates, int n_stations, int n_components, int n_corr, float *cc_sum, int normalize) {
  int t, ch, i;
  int start_i, stop_i, cc_i;
  int min_moveout, max_moveout;
  int network_offset, station_offset, cc_sum_offset;
  int *moveouts_t = NULL;
  float *templates_t = NULL, *sum_square_templates_t = NULL, *weights_t = NULL;
  for (t = 0; t < n_templates; t++) {
    network_offset = t * n_stations * n_components;
    station_offset = t * n_stations;
    cc_sum_offset = t * n_corr;
    min_moveout = 0;
    max_moveout = 0;
    for (ch = 0; ch < (n_stations * n_components); ch++) {
      if (moveouts[network_offset + ch] < min_moveout)
        min_moveout = moveouts[network_offset + ch];
      if (moveouts[network_offset + ch] > max_moveout)
        max_moveout = moveouts[network_offset + ch];
    }
    templates_t = templates + network_offset * n_samples_template;
    moveouts_t = moveouts + network_offset;
    weights_t = weights + network_offset;
    sum_square_templates_t = sum_square_templates + network_offset;
    start_i = (int)(ceilf(abs(min_moveout) / (float)step)) * step;
    stop_i = 1 + (n_samples_data - n_samples_template - max_moveout);
#pragma omp parallel for private(i, cc_i)
    for (i = start_i; i < stop_i; i += step) {
      cc_i = i / step;
      cc_sum[cc_sum_offset + cc_i] = network_corr_precise(templates_t, sum_square_templates_t, moveouts_t, data + i, weights_t, n_samples_template, n_samples_data, n_stations, n_components, normalize);
    }
  }
}
```