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

```asm
<boxfilter1CC>:
  endbr64
  push   %r15
  mov    %rsi,%rax
  mov    %rdx,%r15
  mov    %r9d,%esi
  push   %r14
  push   %r13
  mov    %rcx,%r13
  mov    %r8d,%ecx
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    0x50(%rsp),%r14d
  mov    0x48(%rsp),%r8d
  mov    %rdi,-0x10(%rsp)
  test   %r14d,%r14d
  jle    L195
  mov    %ecx,%edi
  neg    %edi
  mov    %edi,-0x14(%rsp)
  test   %r8d,%r8d
  jle    L395
  mov    %r9d,%edx
  mov    %r13,-0x40(%rsp)
  pxor   %xmm4,%xmm4
  movdqa D4(%rip),%xmm8
  imul   %r8d,%edx
  movl   $0x0,-0x18(%rsp)
  movdqa D1(%rip),%xmm6
  mov    %r13,(%rsp)
  movdqa D8(%rip),%xmm5
  mov    %r8d,0x48(%rsp)
  movslq %edx,%rdx
  mov    %r14d,0x50(%rsp)
  lea    0x0(,%rdx,4),%rbx
  movslq %ecx,%rdx
  mov    %r15,-0x8(%rsp)
  mov    %edi,%r15d
  mov    %rbx,-0x30(%rsp)
  lea    0x0(,%rdx,4),%rbx
  neg    %rdx
  add    %rbx,%rax
  mov    %rbx,-0x78(%rsp)
  lea    0x1(%rcx),%ebx
  mov    %rax,-0x38(%rsp)
  movslq %r9d,%rax
  lea    0x0(,%rax,4),%r12
  lea    0x0(,%rdx,8),%rax
  mov    %ebx,-0x70(%rsp)
  mov    %rax,-0x20(%rsp)
  movslq %edi,%rax
  shl    $0x2,%rax
  mov    %rax,-0x28(%rsp)
  xor    %eax,%eax
  test   %ebx,%ebx
  mov    %eax,%r11d
  cmovle %ebx,%r11d
  mov    $0x1,%ebx
  cmp    %r11d,%edi
  lea    (%r11,%rcx,1),%eax
  mov    %r11d,-0x48(%rsp)
  cmovl  %eax,%ebx
  sub    $0x1,%eax
  cmp    $0x2,%eax
  setbe  %dl
  cmp    %r11d,%edi
  mov    %ebx,-0x58(%rsp)
  setge  %al
  or     %eax,%edx
  mov    %ebx,%eax
  and    $0xfffffffc,%ebx
  shr    $0x2,%eax
  mov    %ebx,-0x54(%rsp)
  sub    %ecx,%ebx
  sub    $0x1,%eax
  mov    %dl,-0x60(%rsp)
  add    $0x1,%rax
  mov    %ebx,-0x44(%rsp)
  shl    $0x4,%rax
  mov    %rax,-0x50(%rsp)
  nopl   0x0(%rax)
L143:
  mov    -0x70(%rsp),%eax
  mov    -0x38(%rsp),%r11
  movd   %r15d,%xmm7
  xor    %r14d,%r14d
  mov    -0x20(%rsp),%r9
  mov    -0x28(%rsp),%r13
  pshufd $0x0,%xmm7,%xmm7
  add    %ecx,%eax
  mov    -0x40(%rsp),%r8
  mov    %eax,-0x68(%rsp)
  add    %r11,%r9
  add    %r11,%r13
  nopl   0x0(%rax)
L93:
  mov    %r11,%rbx
  sub    -0x78(%rsp),%rbx
  cmp    %r15d,%ecx
  jl     L285
  test   %r15d,%r15d
  jns    L48
  cmpb   $0x0,-0x60(%rsp)
  jne    L214
  mov    -0x50(%rsp),%rax
  movdqa %xmm7,%xmm9
  movaps %xmm4,%xmm0
  paddd  %xmm8,%xmm9
  lea    (%rax,%r13,1),%rdx
  mov    %r13,%rax
  xchg   %ax,%ax
L251:
  movups (%rax),%xmm2
  movdqa %xmm9,%xmm3
  add    $0x10,%rax
  paddd  %xmm6,%xmm9
  paddd  %xmm5,%xmm3
  addss  %xmm2,%xmm0
  movaps %xmm2,%xmm1
  shufps $0x55,%xmm2,%xmm1
  addss  %xmm0,%xmm1
  movaps %xmm2,%xmm0
  unpckhps %xmm2,%xmm0
  shufps $0xff,%xmm2,%xmm2
  addss  %xmm1,%xmm0
  addss  %xmm2,%xmm0
  cmp    %rdx,%rax
  jne    L251
  pshufd $0xff,%xmm3,%xmm3
  mov    -0x54(%rsp),%edx
  movd   %xmm3,%eax
  cmp    %edx,-0x58(%rsp)
  je     L277
  mov    -0x44(%rsp),%edx
L173:
  lea    (%rcx,%rdx,1),%eax
  mov    -0x48(%rsp),%edi
  cltq
  addss  (%rbx,%rax,4),%xmm0
  lea    0x1(%rdx),%eax
  cmp    %edi,%eax
  jge    L277
  add    %ecx,%eax
  cltq
  addss  (%rbx,%rax,4),%xmm0
  lea    0x2(%rdx),%eax
  cmp    %edi,%eax
  jge    L277
  add    %ecx,%eax
  cltq
  addss  (%rbx,%rax,4),%xmm0
  lea    0x3(%rdx),%eax
L277:
  cmp    %eax,%ecx
  jl     L18
L140:
  cltq
  nopl   0x0(%rax)
L375:
  addss  (%r11,%rax,4),%xmm0
  movss  %xmm0,(%r8,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%ecx
  jge    L375
L18:
  mov    -0x68(%rsp),%edi
  mov    -0x70(%rsp),%edx
L146:
  cmp    %edi,%esi
  jle    L131
  lea    0x1(%rdx),%eax
  lea    -0x1(%rcx),%ebp
  cltq
  nopl   0x0(%rax,%rax,1)
L45:
  movslq %edi,%rdi
  subss  -0x8(%r9,%rax,4),%xmm0
  mov    %eax,%edx
  addss  (%rbx,%rdi,4),%xmm0
  lea    (%rcx,%rax,1),%edi
  movss  %xmm0,-0x4(%r8,%rax,4)
  add    $0x1,%rax
  lea    0x0(%rbp,%rax,1),%r10d
  cmp    %esi,%r10d
  jl     L45
L131:
  movslq %edx,%rax
  cmp    %edx,%esi
  jle    L412
L473:
  subss  -0x4(%r9,%rax,4),%xmm0
  movss  %xmm0,(%r8,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%esi
  jg     L473
L412:
  add    $0x1,%r14d
  add    %r12,%r9
  add    %r12,%r8
  add    %r12,%r11
  add    %r12,%r13
  cmp    %r14d,0x48(%rsp)
  jne    L93
  mov    -0x30(%rsp),%rdi
  addl   $0x1,-0x18(%rsp)
  add    %rdi,-0x40(%rsp)
  mov    -0x18(%rsp),%eax
  add    %rdi,-0x38(%rsp)
  cmp    %eax,0x50(%rsp)
  jne    L143
  mov    -0x8(%rsp),%r15
  mov    (%rsp),%r13
  mov    0x48(%rsp),%r8d
  mov    0x50(%rsp),%r14d
L395:
  test   %esi,%esi
  jle    L68
  mov    %esi,%eax
  xor    %ebx,%ebx
  xor    %r11d,%r11d
  movl   $0x0,-0x54(%rsp)
  imul   %r8d,%eax
  mov    %r15,-0x70(%rsp)
  pxor   %xmm4,%xmm4
  mov    %r14d,0x50(%rsp)
  mov    -0x14(%rsp),%r14d
  mov    %eax,-0x50(%rsp)
  movslq %esi,%rax
  mov    %rax,-0x60(%rsp)
  lea    0x0(,%rax,4),%rdi
  lea    0x1(%rcx),%eax
  test   %eax,%eax
  mov    %eax,-0x58(%rsp)
  cmovle %eax,%ebx
  nopl   0x0(%rax,%rax,1)
L95:
  movslq %r11d,%r15
  xor    %ebp,%ebp
  lea    0x0(%r13,%r15,4),%rax
  mov    %rax,-0x68(%rsp)
  nopw   0x0(%rax,%rax,1)
L317:
  mov    %ebp,%r10d
  cmp    %r14d,%ecx
  jl     L456
  test   %r14d,%r14d
  jns    L132
  mov    -0x68(%rsp),%rdx
  mov    %r14d,%eax
  movaps %xmm4,%xmm0
L444:
  add    $0x1,%eax
  addss  (%rdx),%xmm0
  add    %rdi,%rdx
  cmp    %ebx,%eax
  jl     L444
  cmp    %eax,%ecx
  jl     L312
L139:
  lea    (%rcx,%rax,1),%edx
  lea    (%r15,%rbp,1),%r9
  imul   %esi,%edx
  movslq %edx,%rdx
  add    %r9,%rdx
  lea    0x0(%r13,%rdx,4),%r12
  mov    %esi,%edx
  imul   %eax,%edx
  movslq %edx,%rdx
  add    %r9,%rdx
  mov    -0x70(%rsp),%r9
  lea    (%r9,%rdx,4),%r9
  xor    %edx,%edx
  nopl   (%rax)
L64:
  addss  (%r12,%rdx,1),%xmm0
  add    $0x1,%eax
  movss  %xmm0,(%r9,%rdx,1)
  add    %rdi,%rdx
  cmp    %eax,%ecx
  jge    L64
L312:
  mov    -0x58(%rsp),%eax
  mov    %eax,%edx
  add    %ecx,%eax
  mov    %eax,-0x78(%rsp)
L249:
  cmp    -0x78(%rsp),%r8d
  jle    L439
  mov    %edx,%r9d
  lea    (%r15,%rbp,1),%r12
  sub    %ecx,%r9d
  mov    %r12,%rax
  sub    $0x1,%r9d
  imul   %esi,%r9d
  movslq %r9d,%r9
  add    %r12,%r9
  mov    %esi,%r12d
  imul   %edx,%r12d
  lea    0x0(%r13,%r9,4),%r9
  movslq %r12d,%r12
  add    %rax,%r12
  mov    -0x70(%rsp),%rax
  lea    (%rax,%r12,4),%r12
  mov    -0x78(%rsp),%eax
  nopl   0x0(%rax,%rax,1)
L85:
  imul   %esi,%eax
  subss  (%r9),%xmm0
  add    $0x1,%edx
  add    %rdi,%r9
  add    %r10d,%eax
  add    %r11d,%eax
  cltq
  addss  0x0(%r13,%rax,4),%xmm0
  lea    (%rdx,%rcx,1),%eax
  movss  %xmm0,(%r12)
  add    %rdi,%r12
  cmp    %eax,%r8d
  jg     L85
L439:
  cmp    %edx,%r8d
  jle    L296
  mov    %edx,%eax
  lea    (%r15,%rbp,1),%r9
  sub    %ecx,%eax
  sub    $0x1,%eax
  imul   %esi,%eax
  cltq
  add    %r9,%rax
  lea    0x0(%r13,%rax,4),%r10
  mov    %esi,%eax
  imul   %edx,%eax
  cltq
  add    %r9,%rax
  mov    -0x70(%rsp),%r9
  lea    (%r9,%rax,4),%r9
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L455:
  subss  (%r10,%rax,1),%xmm0
  add    $0x1,%edx
  movss  %xmm0,(%r9,%rax,1)
  add    %rdi,%rax
  cmp    %edx,%r8d
  jne    L455
L296:
  addq   $0x4,-0x68(%rsp)
  add    $0x1,%rbp
  cmp    %rbp,-0x60(%rsp)
  jne    L317
  addl   $0x1,-0x54(%rsp)
  add    -0x50(%rsp),%r11d
  mov    -0x54(%rsp),%eax
  cmp    %eax,0x50(%rsp)
  jne    L95
  mov    -0x70(%rsp),%r15
  mov    0x50(%rsp),%r14d
L68:
  cmp    $0x1,%r14d
  jle    L195
L354:
  test   %r8d,%r8d
  jle    L136
  mov    %ecx,%r12d
  neg    %r12d
  test   %esi,%esi
  jle    L136
  mov    %r8d,%edi
  lea    0x1(%rcx),%r13d
  xor    %r11d,%r11d
  mov    %esi,-0x78(%rsp)
  imul   %esi,%edi
  mov    %r13d,-0x70(%rsp)
  pxor   %xmm4,%xmm4
  movl   $0x0,-0x60(%rsp)
  movl   $0x0,-0x68(%rsp)
  movslq %edi,%rdi
  shl    $0x2,%rdi
  test   %r13d,%r13d
  cmovle %r13d,%r11d
  mov    -0x10(%rsp),%r13
  nopl   0x0(%rax)
L36:
  mov    -0x60(%rsp),%r10d
  nopl   (%rax)
L107:
  cmp    %r12d,%ecx
  jl     L20
  test   %r12d,%r12d
  jns    L259
  movslq %r10d,%r9
  mov    %r12d,%eax
  movaps %xmm4,%xmm0
  lea    (%r15,%r9,4),%rdx
  nopw   0x0(%rax,%rax,1)
L32:
  add    $0x1,%eax
  addss  (%rdx),%xmm0
  add    %rdi,%rdx
  cmp    %r11d,%eax
  jl     L32
  cmp    %eax,%ecx
  jl     L34
L134:
  lea    (%rcx,%rax,1),%edx
  imul   %esi,%edx
  imul   %r8d,%edx
  movslq %edx,%rdx
  add    %r9,%rdx
  lea    (%r15,%rdx,4),%rbx
  mov    %esi,%edx
  imul   %eax,%edx
  imul   %r8d,%edx
  movslq %edx,%rdx
  add    %r9,%rdx
  lea    0x0(%r13,%rdx,4),%r9
  xor    %edx,%edx
  nopl   (%rax)
L0:
  addss  (%rbx,%rdx,1),%xmm0
  add    $0x1,%eax
  movss  %xmm0,(%r9,%rdx,1)
  add    %rdi,%rdx
  cmp    %eax,%ecx
  jge    L0
L34:
  mov    -0x70(%rsp),%eax
  mov    %eax,%edx
  add    %ecx,%eax
L66:
  cmp    %eax,%r14d
  jle    L399
  mov    %edx,%r9d
  mov    %esi,%ebx
  movslq %r10d,%rbp
  sub    %ecx,%r9d
  imul   %edx,%ebx
  sub    $0x1,%r9d
  imul   %esi,%r9d
  imul   %r8d,%ebx
  imul   %r8d,%r9d
  movslq %ebx,%rbx
  add    %rbp,%rbx
  movslq %r9d,%r9
  lea    0x0(%r13,%rbx,4),%rbx
  add    %rbp,%r9
  lea    (%r15,%r9,4),%r9
  nopl   (%rax)
L165:
  imul   %esi,%eax
  subss  (%r9),%xmm0
  add    $0x1,%edx
  add    %rdi,%r9
  imul   %r8d,%eax
  add    %r10d,%eax
  cltq
  addss  (%r15,%rax,4),%xmm0
  lea    (%rdx,%rcx,1),%eax
  movss  %xmm0,(%rbx)
  add    %rdi,%rbx
  cmp    %eax,%r14d
  jg     L165
L399:
  cmp    %edx,%r14d
  jle    L449
  mov    %edx,%eax
  movslq %r10d,%r9
  sub    %ecx,%eax
  sub    $0x1,%eax
  imul   %esi,%eax
  imul   %r8d,%eax
  cltq
  add    %r9,%rax
  lea    (%r15,%rax,4),%rbx
  mov    %esi,%eax
  imul   %edx,%eax
  imul   %r8d,%eax
  cltq
  add    %r9,%rax
  lea    0x0(%r13,%rax,4),%r9
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L157:
  subss  (%rbx,%rax,1),%xmm0
  add    $0x1,%edx
  movss  %xmm0,(%r9,%rax,1)
  add    %rdi,%rax
  cmp    %edx,%r14d
  jne    L157
L449:
  add    $0x1,%r10d
  cmp    %r10d,-0x78(%rsp)
  jne    L107
  addl   $0x1,-0x68(%rsp)
  mov    -0x68(%rsp),%eax
  add    %esi,-0x78(%rsp)
  add    %esi,-0x60(%rsp)
  cmp    %eax,%r8d
  jne    L36
L136:
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L259:
  mov    %r12d,%eax
  movaps %xmm4,%xmm0
  movslq %r10d,%r9
  jmp    L134
  xchg   %ax,%ax
L132:
  mov    %r14d,%eax
  movaps %xmm4,%xmm0
  jmp    L139
  nopl   0x0(%rax,%rax,1)
L48:
  mov    %r15d,%eax
  movaps %xmm4,%xmm0
  jmp    L140
  nopl   0x0(%rax,%rax,1)
L20:
  mov    %r12d,%edx
  xor    %eax,%eax
  movaps %xmm4,%xmm0
  jmp    L66
  nopl   (%rax)
L456:
  movl   $0x0,-0x78(%rsp)
  mov    %r14d,%edx
  movaps %xmm4,%xmm0
  jmp    L249
  nopl   0x0(%rax,%rax,1)
L285:
  mov    %r15d,%edx
  xor    %edi,%edi
  movaps %xmm4,%xmm0
  jmp    L146
L214:
  mov    %r15d,%edx
  movaps %xmm4,%xmm0
  jmp    L173
L195:
  xor    %ecx,%ecx
  jmp    L354
```

tool_calls: name: disassemble_data
arguments: label: D4
type_guessed: f32[4]
name: disassemble_data
arguments: label: D1
type_guessed: byte[16]
name: disassemble_data
arguments: label: D8
type_guessed: byte[16]

tool: {"D4": [0.0,1.401298464324817e-45,2.802596928649634e-45,4.203895392974451e-45]}

tool: {"D1": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D8": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

assistant: ```c
void boxfilter1CC(float *output, float *input, float *temp1, float *temp2, int hw, int m, int n, int o) {
  const int RANGE = hw;
  const int sz = m * n * o;
  for (int k = 0; k < o; k++) {
    for (int j = 0; j < n; j++) {
      float sumA = 0;
      const float *inRow = input + j * m + k * m * n;
      float *outRow = temp2 + j * m + k * m * n;
      int x = -RANGE;
      for (; x <= RANGE; x++) {
        sumA += inRow[x + RANGE];
        ;
        if (x >= 0)
          outRow[x] = sumA;
      }
      for (; x + RANGE < m; x++) {
        sumA -= inRow[x - RANGE - 1];
        sumA += inRow[x + RANGE];
        outRow[x] = sumA;
      }
      for (; x < m; x++) {
        sumA -= inRow[x - RANGE - 1];
        outRow[x] = sumA;
      }
    }
  }
  for (int k = 0; k < o; k++) {
    for (int i = 0; i < m; i++) {
      float sumA = 0;
      int x = -RANGE;
      for (; x <= RANGE; x++) {
        sumA += temp2[i + (x + RANGE) * m + k * m * n];
        if (x >= 0)
          temp1[i + x * m + k * m * n] = sumA;
      }
      for (; x + RANGE < n; x++) {
        sumA -= temp2[i + (x - RANGE - 1) * m + k * m * n];
        sumA += temp2[i + (x + RANGE) * m + k * m * n];
        temp1[i + x * m + k * m * n] = sumA;
      }
      for (; x < n; x++) {
        sumA -= temp2[i + (x - RANGE - 1) * m + k * m * n];
        temp1[i + x * m + k * m * n] = sumA;
      }
    }
  }
  const int ORANGE = o > 1 ? RANGE : 0;
  for (int j = 0; j < n; j++) {
    for (int i = 0; i < m; i++) {
      float sumA = 0;
      int x = -ORANGE;
      for (; x <= ORANGE; x++) {
        sumA += temp1[i + j * m + (x + ORANGE) * m * n];
        if (x >= 0)
          output[i + j * m + x * m * n] = sumA;
      }
      for (; x + ORANGE < o; x++) {
        sumA -= temp1[i + j * m + (x - ORANGE - 1) * m * n];
        sumA += temp1[i + j * m + (x + ORANGE) * m * n];
        output[i + j * m + x * m * n] = sumA;
      }
      for (; x < o; x++) {
        sumA -= temp1[i + j * m + (x - ORANGE - 1) * m * n];
        output[i + j * m + x * m * n] = sumA;
      }
    }
  }
}
```