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

```asm
<boxBlurH_4>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %rdi,0x30(%rsp)
  mov    %rsi,0x60(%rsp)
  mov    %edx,0x3c(%rsp)
  mov    %ecx,0x90(%rsp)
  mov    %r8d,0x70(%rsp)
  lea    0x1(%r8,%r8,1),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D5(%rip),%xmm1
  divsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  test   %ecx,%ecx
  jle    L107
  mov    %edx,%ecx
  movslq %edx,%rax
  mov    %rax,0x78(%rsp)
  lea    0x0(,%rax,4),%rdx
  mov    %rdx,0x80(%rsp)
  movslq %r8d,%rax
  lea    (%rdi,%rax,4),%rax
  mov    %rax,0x48(%rsp)
  mov    %rsi,0x50(%rsp)
  lea    0x4(%rdi),%rsi
  mov    %rsi,0x68(%rsp)
  lea    -0x1(%r8),%eax
  lea    (%rsi,%rax,4),%rax
  mov    %rax,0x58(%rsp)
  add    %rdx,%rdi
  mov    %rdi,0x88(%rsp)
  lea    (%r8,%r8,1),%eax
  mov    %ecx,%edi
  sub    %eax,%edi
  mov    %edi,0x94(%rsp)
  mov    %r8d,0x38(%rsp)
  movq   $0x0,0x28(%rsp)
  mov    $0x0,%r13d
  movl   $0x0,0x24(%rsp)
  lea    0x1(%r8),%eax
  mov    %eax,0x40(%rsp)
  sub    %r8d,%ecx
  mov    %ecx,0x44(%rsp)
  sub    %r8d,%ecx
  mov    %ecx,0x98(%rsp)
  lea    -0x2(%rcx),%eax
  mov    %eax,0x9c(%rsp)
L37:
  mov    %r13d,%r15d
  mov    0x38(%rsp),%ebp
  mov    0x30(%rsp),%rcx
  mov    0x28(%rsp),%rax
  pxor   %xmm7,%xmm7
  cvtsi2sdl (%rcx,%rax,4),%xmm7
  movsd  %xmm7,0x10(%rsp)
  mov    0x88(%rsp),%rdi
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x4(%rdi,%rax,4),%xmm1
  movsd  %xmm1,0x18(%rsp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x40(%rsp),%xmm0
  mulsd  %xmm7,%xmm0
  movsd  %xmm0,(%rsp)
  cmpl   $0x0,0x70(%rsp)
  jle    L9
  lea    (%rcx,%rax,4),%rax
  mov    0x58(%rsp),%rdx
L73:
  pxor   %xmm0,%xmm0
  cvtsi2sdl (%rax),%xmm0
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L73
L55:
  mov    $0x0,%ebx
  mov    0x38(%rsp),%eax
  lea    0x1(%rax),%r14d
  mov    %r15d,0x74(%rsp)
  mov    0x48(%rsp),%r15
  mov    0x50(%rsp),%rbp
  mov    %r14d,0x20(%rsp)
  mov    0x70(%rsp),%r14d
L14:
  mov    0x20(%rsp),%eax
  lea    (%rax,%rbx,1),%r12d
  pxor   %xmm0,%xmm0
  cvtsi2sdl (%r15,%rbx,4),%xmm0
  subsd  0x10(%rsp),%xmm0
  addsd  (%rsp),%xmm0
  movapd %xmm0,%xmm2
  movsd  %xmm0,(%rsp)
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm2,%xmm0
  call   <round@plt>
  lea    0x1(%r13,%rbx,1),%edx
  mov    %eax,0x0(%rbp,%rbx,4)
  add    $0x1,%rbx
  cmp    %ebx,%r14d
  jge    L14
  mov    0x74(%rsp),%r15d
  mov    %r12d,%ebp
  mov    %edx,%r12d
L5:
  mov    0x44(%rsp),%edi
  cmp    %edi,0x40(%rsp)
  jge    L44
  movslq %ebp,%rax
  mov    0x30(%rsp),%rsi
  lea    (%rsi,%rax,4),%rbp
  movslq %r12d,%rcx
  mov    0x60(%rsp),%rdx
  lea    (%rdx,%rcx,4),%rbx
  mov    0x9c(%rsp),%edx
  add    %rdx,%rax
  mov    0x68(%rsp),%rsi
  lea    (%rsi,%rax,4),%r15
  mov    0x28(%rsp),%r14
  sub    %rcx,%r14
L43:
  mov    0x0(%rbp),%eax
  sub    (%rbx,%r14,4),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  (%rsp),%xmm0
  movapd %xmm0,%xmm3
  movsd  %xmm0,(%rsp)
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm3,%xmm0
  call   <round@plt>
  mov    %eax,(%rbx)
  add    $0x4,%rbp
  add    $0x4,%rbx
  cmp    %r15,%rbp
  jne    L43
  mov    0x94(%rsp),%eax
  lea    -0x1(%r13,%rax,1),%r15d
  mov    0x98(%rsp),%eax
  lea    -0x1(%r12,%rax,1),%r12d
L44:
  mov    0x3c(%rsp),%eax
  mov    0x44(%rsp),%esi
  cmp    %esi,%eax
  jle    L85
  movslq %r15d,%r15
  mov    0x30(%rsp),%rcx
  lea    (%rcx,%r15,4),%rbx
  movslq %r12d,%r12
  mov    0x60(%rsp),%rcx
  lea    (%rcx,%r12,4),%rbp
  sub    $0x1,%eax
  sub    %esi,%eax
  add    %r15,%rax
  mov    0x68(%rsp),%rdx
  lea    (%rdx,%rax,4),%r12
L71:
  pxor   %xmm1,%xmm1
  cvtsi2sdl (%rbx),%xmm1
  movsd  0x18(%rsp),%xmm0
  subsd  %xmm1,%xmm0
  addsd  (%rsp),%xmm0
  movapd %xmm0,%xmm4
  movsd  %xmm0,(%rsp)
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm4,%xmm0
  call   <round@plt>
  mov    %eax,0x0(%rbp)
  add    $0x4,%rbx
  add    $0x4,%rbp
  cmp    %r12,%rbx
  jne    L71
L85:
  addl   $0x1,0x24(%rsp)
  mov    0x24(%rsp),%eax
  mov    0x3c(%rsp),%ecx
  add    %ecx,%r13d
  add    %ecx,0x38(%rsp)
  mov    0x80(%rsp),%rsi
  add    %rsi,0x48(%rsp)
  add    %rsi,0x50(%rsp)
  add    %rsi,0x58(%rsp)
  mov    0x78(%rsp),%rcx
  add    %rcx,0x28(%rsp)
  cmp    %eax,0x90(%rsp)
  jne    L37
L107:
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  cmpl   $0x0,0x70(%rsp)
  je     L55
  mov    %r13d,%r12d
  jmp    L5
```

tool_calls: name: disassemble_data
arguments: tag: D5
datatype: f64

tool: D5: 1

assistant: ```c
void boxBlurH_4(int *source, int *dest, int w, int h, int r) {
  int i, j;
  double iar = (double)1 / (r + r + 1);
  for (i = 0; i < h; i++) {
    int ti = i * w;
    int li = ti;
    int ri = ti + r;
    double fv = source[ti];
    double lv = source[ti + w - 1];
    double val = (r + 1) * fv;
    for (j = 0; j < r; j++)
      val += source[ti + j];
    for (j = 0; j <= r; j++) {
      val += source[ri++] - fv;
      dest[ti++] = (int)round(val * iar);
    }
    for (j = r + 1; j < w - r; j++) {
      val += source[ri++] - dest[li++];
      dest[ti++] = (int)round(val * iar);
    }
    for (j = w - r; j < w; j++) {
      val += lv - source[li++];
      dest[ti++] = (int)round(val * iar);
    }
  }
}
```