user: What would the C source look like for the assembly code provided here?

```asm
<matched_filter_precise>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rcx,0x38(%rsp)
  mov    0xc0(%rsp),%ecx
  mov    %rdx,0x68(%rsp)
  test   %ecx,%ecx
  jle    L67
  mov    0xb8(%rsp),%eax
  mov    %rdi,%r14
  mov    %rdx,%rbp
  movslq %r9d,%rdx
  sub    0xb0(%rsp),%eax
  mov    0xc8(%rsp),%edi
  pxor   %xmm5,%xmm5
  mov    %r9d,%ebx
  imul   0xd0(%rsp),%edi
  mov    %eax,0x50(%rsp)
  mov    0xb0(%rsp),%eax
  cvtsi2ss %r9d,%xmm5
  mov    %rsi,0x10(%rsp)
  mov    %r8,0x18(%rsp)
  imul   %edi,%eax
  mov    %edi,0x2c(%rsp)
  movl   $0x0,0x34(%rsp)
  movl   $0x0,0xc(%rsp)
  cltq
  movl   $0x0,0x30(%rsp)
  shl    $0x2,%rax
  movss  %xmm5,0x54(%rsp)
  mov    %rax,0x40(%rsp)
  movslq %edi,%rax
  shl    $0x2,%rax
  mov    %rax,0x48(%rsp)
  lea    -0x1(%rdi),%eax
  mov    %eax,0x58(%rsp)
  mov    %edi,%eax
  and    $0xfffffffc,%edi
  shr    $0x2,%eax
  mov    %edi,0x5c(%rsp)
  lea    0x0(,%rdx,4),%rdi
  sub    $0x1,%eax
  mov    %rdi,0x20(%rsp)
  add    $0x1,%rax
  shl    $0x4,%rax
  mov    %rax,0x60(%rsp)
  xchg   %ax,%ax
L5:
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  jle    L23
  cmpl   $0x2,0x58(%rsp)
  jbe    L30
  mov    0x60(%rsp),%rax
  pxor   %xmm3,%xmm3
  movdqa %xmm3,%xmm1
  lea    (%rax,%rbp,1),%rdx
  mov    %rbp,%rax
  nopl   0x0(%rax,%rax,1)
L69:
  movdqu (%rax),%xmm0
  add    $0x10,%rax
  movdqa %xmm0,%xmm2
  pcmpgtd %xmm1,%xmm2
  pand   %xmm2,%xmm1
  pandn  %xmm0,%xmm2
  por    %xmm2,%xmm1
  movdqa %xmm0,%xmm2
  pcmpgtd %xmm3,%xmm2
  pand   %xmm2,%xmm0
  pandn  %xmm3,%xmm2
  movdqa %xmm2,%xmm3
  por    %xmm0,%xmm3
  cmp    %rdx,%rax
  jne    L69
  movdqa %xmm3,%xmm2
  mov    0x2c(%rsp),%edx
  mov    0x5c(%rsp),%eax
  psrldq $0x8,%xmm2
  movdqa %xmm2,%xmm0
  mov    %edx,%r10d
  pcmpgtd %xmm3,%xmm0
  pand   %xmm0,%xmm2
  pandn  %xmm3,%xmm0
  por    %xmm2,%xmm0
  movdqa %xmm0,%xmm3
  psrldq $0x4,%xmm3
  movdqa %xmm3,%xmm2
  pcmpgtd %xmm0,%xmm2
  pand   %xmm2,%xmm3
  pandn  %xmm0,%xmm2
  por    %xmm3,%xmm2
  movd   %xmm2,%r12d
  movdqa %xmm1,%xmm2
  psrldq $0x8,%xmm2
  movdqa %xmm2,%xmm0
  pcmpgtd %xmm1,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm2,%xmm0
  por    %xmm1,%xmm0
  movdqa %xmm0,%xmm2
  psrldq $0x4,%xmm2
  movdqa %xmm2,%xmm1
  pcmpgtd %xmm0,%xmm1
  pand   %xmm1,%xmm0
  pandn  %xmm2,%xmm1
  por    %xmm0,%xmm1
  movd   %xmm1,%edi
  cmp    %edx,%eax
  je     L101
L68:
  mov    0x34(%rsp),%edx
  mov    0x68(%rsp),%rsi
  lea    (%rdx,%rax,1),%ecx
  movslq %ecx,%rcx
  mov    (%rsi,%rcx,4),%ecx
  cmp    %ecx,%edi
  cmovg  %ecx,%edi
  cmp    %ecx,%r12d
  cmovl  %ecx,%r12d
  lea    0x1(%rax),%ecx
  cmp    %r10d,%ecx
  jge    L101
  add    %edx,%ecx
  movslq %ecx,%rcx
  mov    (%rsi,%rcx,4),%ecx
  cmp    %ecx,%edi
  cmovg  %ecx,%edi
  cmp    %ecx,%r12d
  cmovl  %ecx,%r12d
  add    $0x2,%eax
  cmp    %eax,%r10d
  jle    L101
  add    %edx,%eax
  cltq
  mov    (%rsi,%rax,4),%eax
  cmp    %eax,%edi
  cmovg  %eax,%edi
  cmp    %eax,%r12d
  cmovl  %eax,%r12d
L101:
  call   <abs@plt>
  divss  0x54(%rsp),%xmm0
  call   <ceilf@plt>
  mov    0x50(%rsp),%edi
  mov    0x38(%rsp),%rcx
  mov    %eax,%r15d
  imul   %ebx,%r15d
  sub    %r12d,%edi
  mov    %edi,0x28(%rsp)
  movslq %r15d,%rax
  lea    (%rcx,%rax,4),%r12
  cmp    %r15d,%edi
  jl     L7
  mov    %ebx,%eax
  mov    %r15d,%r13d
  mov    %r12,%rbx
  mov    %eax,%r12d
  nopl   0x0(%rax)
L45:
  mov    %r13d,%eax
  mov    %rbx,%rcx
  mov    %r14,%rdi
  add    %r12d,%r13d
  cltd
  mov    0xe0(%rsp),%rsi
  idiv   %r12d
  mov    %rbp,%rdx
  add    0xc(%rsp),%eax
  cltq
  lea    (%rsi,%rax,4),%r15
  mov    0xe8(%rsp),%eax
  push   %rax
  mov    0xd8(%rsp),%eax
  push   %rax
  mov    0xd8(%rsp),%eax
  push   %rax
  mov    0xd0(%rsp),%eax
  push   %rax
  mov    0xd0(%rsp),%r9d
  mov    0x38(%rsp),%r8
  mov    0x30(%rsp),%rsi
  call   <network_corr_precise@plt>
  add    0x40(%rsp),%rbx
  add    $0x20,%rsp
  movss  %xmm0,(%r15)
  cmp    %r13d,0x28(%rsp)
  jge    L45
  mov    %r12d,%ebx
L7:
  mov    0x48(%rsp),%rcx
  addl   $0x1,0x30(%rsp)
  add    %rcx,0x10(%rsp)
  mov    0xd8(%rsp),%edx
  add    %rcx,0x18(%rsp)
  add    %rcx,%rbp
  mov    0x30(%rsp),%eax
  mov    0x2c(%rsp),%ecx
  add    %edx,0xc(%rsp)
  add    %ecx,0x34(%rsp)
  add    0x40(%rsp),%r14
  cmp    %eax,0xc0(%rsp)
  jne    L5
L67:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L23:
  xor    %r12d,%r12d
  xor    %edi,%edi
  jmp    L101
L30:
  mov    0x2c(%rsp),%r10d
  xor    %r12d,%r12d
  xor    %edi,%edi
  xor    %eax,%eax
  jmp    L68
```

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);
    }
  }
}
```