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

```asm
<Daub97Analysis1D>:
  endbr64
  mov    %rdi,%rax
  mov    %rsi,%rcx
  lea    -0x2(%rdx),%r10d
  cmp    $0x1,%r10d
  jle    L96
  mov    %rdi,%rsi
  lea    -0x4(%rdx),%edi
  shr    %edi
  mov    %edi,%edi
  shl    $0x4,%rdi
  lea    0x10(%rax,%rdi,1),%rdi
  movsd  D66(%rip),%xmm1
L89:
  movsd  (%rsi),%xmm0
  addsd  0x10(%rsi),%xmm0
  mulsd  %xmm1,%xmm0
  addsd  0x8(%rsi),%xmm0
  movsd  %xmm0,0x8(%rsi)
  add    $0x10,%rsi
  cmp    %rdi,%rsi
  jne    L89
L96:
  movslq %edx,%rsi
  shl    $0x3,%rsi
  lea    -0x8(%rax,%rsi,1),%r8
  lea    -0x10(%rax,%rsi,1),%r9
  movsd  D32(%rip),%xmm0
  mulsd  (%r9),%xmm0
  addsd  (%r8),%xmm0
  movsd  %xmm0,(%r8)
  movsd  D60(%rip),%xmm0
  mulsd  0x8(%rax),%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x2,%edx
  jle    L46
  lea    0x8(%rax),%rsi
  lea    -0x3(%rdx),%edi
  shr    %edi
  mov    %edi,%edi
  shl    $0x4,%rdi
  lea    0x18(%rax,%rdi,1),%rdi
  movsd  D94(%rip),%xmm1
L117:
  movsd  0x10(%rsi),%xmm0
  addsd  (%rsi),%xmm0
  mulsd  %xmm1,%xmm0
  addsd  0x8(%rsi),%xmm0
  movsd  %xmm0,0x8(%rsi)
  add    $0x10,%rsi
  cmp    %rdi,%rsi
  jne    L117
L46:
  cmp    $0x1,%r10d
  jle    L95
  mov    %rax,%rsi
  lea    -0x4(%rdx),%edi
  shr    %edi
  mov    %edi,%edi
  shl    $0x4,%rdi
  lea    0x10(%rax,%rdi,1),%rdi
  movsd  D92(%rip),%xmm1
L42:
  movsd  (%rsi),%xmm0
  addsd  0x10(%rsi),%xmm0
  mulsd  %xmm1,%xmm0
  addsd  0x8(%rsi),%xmm0
  movsd  %xmm0,0x8(%rsi)
  add    $0x10,%rsi
  cmp    %rdi,%rsi
  jne    L42
L95:
  movsd  D62(%rip),%xmm0
  mulsd  (%r9),%xmm0
  addsd  (%r8),%xmm0
  movsd  %xmm0,(%r8)
  movsd  D63(%rip),%xmm0
  mulsd  0x8(%rax),%xmm0
  addsd  (%rax),%xmm0
  mulsd  D39(%rip),%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x2,%edx
  jle    L2
  lea    0x8(%rax),%rsi
  lea    -0x3(%rdx),%edi
  shr    %edi
  mov    %edi,%edi
  shl    $0x4,%rdi
  lea    0x18(%rax,%rdi,1),%rdi
  movsd  D104(%rip),%xmm2
  movsd  D39(%rip),%xmm1
L38:
  movsd  0x10(%rsi),%xmm0
  addsd  (%rsi),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  0x8(%rsi),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsi)
  add    $0x10,%rsi
  cmp    %rdi,%rsi
  jne    L38
  mov    $0x1,%esi
  movsd  D105(%rip),%xmm1
L53:
  movsd  (%rax,%rsi,8),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax,%rsi,8)
  add    $0x2,%rsi
  cmp    %esi,%edx
  jg     L53
L92:
  sar    %edx
  movslq %edx,%rsi
  lea    (%rcx,%rsi,8),%rdi
  mov    $0x0,%esi
L32:
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rcx,%rsi,8)
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,(%rdi,%rsi,8)
  add    $0x1,%rsi
  add    $0x10,%rax
  cmp    %esi,%edx
  jg     L32
  ret
L2:
  je     L86
  ret
L86:
  movsd  0x8(%rax),%xmm0
  divsd  D105(%rip),%xmm0
  movsd  %xmm0,0x8(%rax)
  jmp    L92
```

tool_calls: name: extract_symbolic_data
arguments: label: D66
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D32
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D60
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D94
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D92
type_infered: f64
name: extract_symbolic_data
arguments: label: D62
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D63
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D39
type_infered: f64
name: extract_symbolic_data
arguments: label: D104
type_infered: f64
name: extract_symbolic_data
arguments: label: D105
type_infered: byte[8]

tool: {"D66": [0x30,0xc1,0x3b,0x2b,0xe9,0x60,0xf9,0xbf]}

tool: {"D32": [0x30,0xc1,0x3b,0x2b,0xe9,0x60,0x09,0xc0]}

tool: {"D60": [0x5e,0x29,0xa7,0x2c,0x04,0x20,0xbb,0xbf]}

tool: {"D94": [0x5e,0x29,0xa7,0x2c,0x04,0x20,0xab,0xbf]}

tool: D92: 0.88293362717904

tool: {"D62": [0x6a,0xb9,0xa8,0x05,0xfe,0x40,0xfc,0x3f]}

tool: {"D63": [0x80,0x53,0x01,0x0d,0x62,0x62,0xec,0x3f]}

tool: D39: 1.14960430535816

tool: D104: 0.44350482244527

tool: {"D105": [0x5f,0xaa,0xed,0x7b,0xc7,0x64,0xf2,0xbf]}

assistant: ```c
void Daub97Analysis1D(double *signal_in, double *signal_out, int signal_length) {
  double *even, *odd;
  int i, half;
  for (i = 1; i < signal_length - 2; i += 2)
    signal_in[i] += -1.58615986717275 * (signal_in[i - 1] + signal_in[i + 1]);
  signal_in[signal_length - 1] += 2 * -1.58615986717275 * signal_in[signal_length - 2];
  signal_in[0] += 2 * -0.05297864003258 * signal_in[1];
  for (i = 2; i < signal_length; i += 2)
    signal_in[i] += -0.05297864003258 * (signal_in[i + 1] + signal_in[i - 1]);
  for (i = 1; i < signal_length - 2; i += 2)
    signal_in[i] += 0.88293362717904 * (signal_in[i - 1] + signal_in[i + 1]);
  signal_in[signal_length - 1] += 2 * 0.88293362717904 * signal_in[signal_length - 2];
  signal_in[0] = 1.14960430535816 * (signal_in[0] + 2 * 0.44350482244527 * signal_in[1]);
  for (i = 2; i < signal_length; i += 2)
    signal_in[i] = 1.14960430535816 * (signal_in[i] + 0.44350482244527 * (signal_in[i + 1] + signal_in[i - 1]));
  for (i = 1; i < signal_length; i += 2)
    signal_in[i] /= (-1.14960430535816);
  half = signal_length >> 1;
  even = signal_out;
  odd = signal_out + half;
  for (i = 0; i < half; i++) {
    even[i] = signal_in[i << 1];
    odd[i] = signal_in[(i << 1) + 1];
  }
}
```