user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<dt_masks_blur_9x9>:
  endbr64
  push   %r15
  mov    %ecx,%r15d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  sub    $0xa8,%rsp
  mov    %rdi,0x40(%rsp)
  lea    0x60(%rsp),%rdi
  mov    %rsi,0x38(%rsp)
  mov    %edx,0x2c(%rsp)
  mov    %ecx,0x5c(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  call   <dt_masks_blur_9x9_coeff@plt>
  lea    (%rbx,%rbx,1),%eax
  lea    -0x4(%r15),%edi
  mov    %edi,0x58(%rsp)
  lea    (%rax,%rbx,1),%esi
  cmp    $0x4,%edi
  jle    L34
  lea    0x0(,%rbx,4),%edx
  movslq %esi,%r14
  cltq
  movl   $0x4,0x30(%rsp)
  movslq %edx,%r10
  mov    %edx,0x34(%rsp)
  mov    $0x4,%edx
  mov    %r14,%r8
  sub    %rax,%rdx
  neg    %r8
  mov    %r10,%r9
  mov    %rax,0x48(%rsp)
  mov    %rdx,0x50(%rsp)
  lea    0x0(,%r8,4),%r15
  neg    %r9
  mov    %r15,%r8
  lea    0x0(,%r9,4),%r13
  mov    %r14,%r15
  mov    %r10,%r14
  nopw   0x0(%rax,%rax,1)
L47:
  cmpl   $0x8,0x2c(%rsp)
  jle    L30
  movslq 0x34(%rsp),%rax
  mov    0x50(%rsp),%rdx
  mov    $0x4,%r11d
  mov    0x40(%rsp),%rsi
  movslq 0x2c(%rsp),%rdi
  add    %rax,%rdx
  lea    -0x10(%rsi,%rdx,4),%rcx
  mov    %rdi,%r9
  sub    %rdi,%r11
  mov    0x48(%rsp),%rdx
  lea    0x4(%rdi,%rax,1),%rdi
  add    %rax,%r11
  lea    -0x10(%rsi,%rdi,4),%rbp
  lea    -0x9(%r9),%edi
  lea    -0x10(%rsi,%r11,4),%r12
  lea    0x4(%rax,%rdx,1),%rdx
  lea    0x0(,%rax,4),%r11
  add    %rdi,%rax
  lea    -0x10(%rsi,%rdx,4),%rdx
  lea    0x4(%rsi,%rax,4),%rax
  lea    (%rsi,%r11,1),%rbx
  mov    %r13,%rsi
  add    0x38(%rsp),%r11
  mov    %rax,0x20(%rsp)
  mov    %r12,%rax
  mov    %r15,%r13
  mov    %rbp,%r12
  mov    %rdx,%r15
  mov    %rcx,%rbp
  mov    %r14,%rcx
  mov    %rax,%r14
  cs nopw 0x0(%rax,%rax,1)
L15:
  movss  0x8(%rbx,%rsi,1),%xmm0
  movss  0xc(%rbx,%rsi,1),%xmm1
  mov    %r11,0x18(%rsp)
  add    $0x4,%rbp
  addss  0x18(%rbx,%rsi,1),%xmm0
  addss  0x14(%rbx,%rsi,1),%xmm1
  mov    %rsi,0x10(%rsp)
  add    $0x4,%r15
  addss  (%r14),%xmm1
  addss  -0x4(%rbp),%xmm0
  add    $0x4,%r14
  add    $0x4,%r12
  addss  0x1c(%rbp),%xmm0
  addss  0x1c(%r14),%xmm1
  mov    %rcx,0x8(%rsp)
  addss  -0x4(%r15),%xmm0
  addss  -0x4(%r12),%xmm1
  addss  0x1c(%r15),%xmm0
  addss  0x1c(%r12),%xmm1
  addss  0x8(%rbx,%rcx,4),%xmm0
  addss  0xc(%rbx,%rcx,4),%xmm1
  addss  0x18(%rbx,%rcx,4),%xmm0
  addss  0x14(%rbx,%rcx,4),%xmm1
  mulss  0x90(%rsp),%xmm0
  mulss  0x8c(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x10(%rbx,%rsi,1),%xmm1
  addss  (%rbx),%xmm1
  addss  0x20(%rbx),%xmm1
  addss  0x10(%rbx,%rcx,4),%xmm1
  mulss  0x88(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x4(%rbx,%r8,1),%xmm1
  addss  0x1c(%rbx,%r8,1),%xmm1
  addss  0x4(%rbx,%r13,4),%xmm1
  addss  0x1c(%rbx,%r13,4),%xmm1
  mulss  0x84(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x8(%rbx,%r8,1),%xmm1
  addss  0x18(%rbx,%r8,1),%xmm1
  mov    %r8,(%rsp)
  addss  0x0(%rbp),%xmm1
  addss  0x18(%rbp),%xmm1
  addss  (%r15),%xmm1
  addss  0x18(%r15),%xmm1
  addss  0x8(%rbx,%r13,4),%xmm1
  addss  0x18(%rbx,%r13,4),%xmm1
  mulss  0x80(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0xc(%rbx,%r8,1),%xmm1
  addss  0x14(%rbx,%r8,1),%xmm1
  addss  (%r14),%xmm1
  addss  0x18(%r14),%xmm1
  addss  (%r12),%xmm1
  addss  0x18(%r12),%xmm1
  addss  0xc(%rbx,%r13,4),%xmm1
  addss  0x14(%rbx,%r13,4),%xmm1
  mulss  0x7c(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x10(%rbx,%r8,1),%xmm1
  addss  0x4(%rbx),%xmm1
  addss  0x1c(%rbx),%xmm1
  addss  0x10(%rbx,%r13,4),%xmm1
  add    $0x4,%rbx
  mulss  0x78(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x4(%rbp),%xmm1
  addss  0x14(%rbp),%xmm1
  addss  0x4(%r15),%xmm1
  addss  0x14(%r15),%xmm1
  mulss  0x74(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x8(%rbp),%xmm1
  addss  0x10(%rbp),%xmm1
  addss  0x4(%r14),%xmm1
  addss  0x14(%r14),%xmm1
  addss  0x4(%r12),%xmm1
  addss  0x14(%r12),%xmm1
  addss  0x8(%r15),%xmm1
  addss  0x10(%r15),%xmm1
  mulss  0x70(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0xc(%rbp),%xmm1
  addss  0x4(%rbx),%xmm1
  addss  0x14(%rbx),%xmm1
  addss  0xc(%r15),%xmm1
  mulss  0x6c(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x8(%r14),%xmm1
  addss  0x10(%r14),%xmm1
  addss  0x8(%r12),%xmm1
  addss  0x10(%r12),%xmm1
  mulss  0x68(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0xc(%r14),%xmm1
  addss  0x8(%rbx),%xmm1
  addss  0x10(%rbx),%xmm1
  addss  0xc(%r12),%xmm1
  mulss  0x64(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x60(%rsp),%xmm1
  mulss  0xc(%rbx),%xmm1
  addss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  call   <fmaxf@plt>
  movss  D5(%rip),%xmm0
  mov    %eax,%edi
  call   <fminf@plt>
  mov    0x18(%rsp),%r11
  mov    (%rsp),%r8
  mov    0x8(%rsp),%rcx
  mov    0x10(%rsp),%rsi
  movss  %xmm0,0x10(%r11)
  add    $0x4,%r11
  cmp    %rbx,0x20(%rsp)
  jne    L15
  mov    %r13,%r15
  mov    %rcx,%r14
  mov    %rsi,%r13
L30:
  addl   $0x1,0x30(%rsp)
  mov    0x2c(%rsp),%edi
  mov    0x30(%rsp),%eax
  add    %edi,0x34(%rsp)
  cmp    0x58(%rsp),%eax
  jne    L47
L34:
  mov    0x5c(%rsp),%edx
  mov    0x2c(%rsp),%esi
  mov    $0x4,%ecx
  mov    0x38(%rsp),%rdi
  call   <dt_masks_extend_border@plt>
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D5
datatype: byte[4]

tool: {"D5": [0x00,0x00,0x80,0x3f]}

assistant: ```c
void dt_masks_blur_9x9(float *const restrict src, float *const restrict out, const int width, const int height, const float sigma) {
  float blurmat[13];
  dt_masks_blur_9x9_coeff(blurmat, sigma);
  const int w1 = width;
  const int w2 = 2 * width;
  const int w3 = 3 * width;
  const int w4 = 4 * width;
  for (int row = 4; row < height - 4; row++) {
    for (int col = 4; col < width - 4; col++) {
      const int i = row * width + col;
      out[i] = fminf(1.0f, fmaxf(0.0f, (blurmat[12] * (src[i - w4 - 2] + src[i - w4 + 2] + src[i - w2 - 4] + src[i - w2 + 4] + src[i + w2 - 4] + src[i + w2 + 4] + src[i + w4 - 2] + src[i + w4 + 2]) + blurmat[11] * (src[i - w4 - 1] + src[i - w4 + 1] + src[i - w1 - 4] + src[i - w1 + 4] + src[i + w1 - 4] + src[i + w1 + 4] + src[i + w4 - 1] + src[i + w4 + 1]) + blurmat[10] * (src[i - w4] + src[i - 4] + src[i + 4] + src[i + w4]) + blurmat[9] * (src[i - w3 - 3] + src[i - w3 + 3] + src[i + w3 - 3] + src[i + w3 + 3]) + blurmat[8] * (src[i - w3 - 2] + src[i - w3 + 2] + src[i - w2 - 3] + src[i - w2 + 3] + src[i + w2 - 3] + src[i + w2 + 3] + src[i + w3 - 2] + src[i + w3 + 2]) + blurmat[7] * (src[i - w3 - 1] + src[i - w3 + 1] + src[i - w1 - 3] + src[i - w1 + 3] + src[i + w1 - 3] + src[i + w1 + 3] + src[i + w3 - 1] + src[i + w3 + 1]) + blurmat[6] * (src[i - w3] + src[i - 3] + src[i + 3] + src[i + w3]) + blurmat[5] * (src[i - w2 - 2] + src[i - w2 + 2] + src[i + w2 - 2] + src[i + w2 + 2]) + blurmat[4] * (src[i - w2 - 1] + src[i - w2 + 1] + src[i - w1 - 2] + src[i - w1 + 2] + src[i + w1 - 2] + src[i + w1 + 2] + src[i + w2 - 1] + src[i + w2 + 1]) + blurmat[3] * (src[i - w2] + src[i - 2] + src[i + 2] + src[i + w2]) + blurmat[2] * (src[i - w1 - 1] + src[i - w1 + 1] + src[i + w1 - 1] + src[i + w1 + 1]) + blurmat[1] * (src[i - w1] + src[i - 1] + src[i + 1] + src[i + w1]) + blurmat[0] * src[i])));
    }
  }
  dt_masks_extend_border(out, width, height, 4);
}
```