user: Please show me the C implementation that matches the assembly code listed below:

```asm
<ClearBorders_float>:
  endbr64
  push   %r15
  mov    %ecx,%r8d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  mov    %edx,%esi
  mov    %ebp,%r9d
  mov    %ebp,%eax
  push   %rbx
  imul   %ecx,%r9d
  imul   %edx,%eax
  sub    $0x8,%rsp
  lea    (%r9,%r9,2),%r10d
  mov    %r10d,%edx
  lea    (%rax,%rax,2),%r11d
  sub    $0x1,%edx
  js     L64
  movslq %eax,%rcx
  movslq %r9d,%r12
  lea    0x1(%rcx),%rax
  sub    %r12,%rax
  lea    (%rax,%rax,2),%rax
  shl    $0x2,%rax
  cmp    $0x8,%rax
  jbe    L65
  cmp    $0x3,%edx
  jbe    L65
  lea    (%r12,%r12,2),%rax
  lea    -0x1(%r11),%ebx
  pxor   %xmm0,%xmm0
  lea    -0x10(%rdi,%rax,4),%r12
  lea    (%rcx,%rcx,2),%rax
  mov    %r10d,%ecx
  shr    $0x2,%ecx
  lea    -0x10(%rdi,%rax,4),%r11
  xor    %eax,%eax
  neg    %rcx
  shl    $0x4,%rcx
  nopw   0x0(%rax,%rax,1)
L63:
  movups %xmm0,(%r12,%rax,1)
  movups %xmm0,(%r11,%rax,1)
  sub    $0x10,%rax
  cmp    %rcx,%rax
  jne    L63
  mov    %r10d,%ecx
  mov    %edx,%eax
  and    $0xfffffffc,%ecx
  sub    %ecx,%eax
  sub    %ecx,%ebx
  cmp    %ecx,%r10d
  je     L64
  movslq %eax,%rdx
  lea    -0x1(%rax),%ecx
  movl   $0x0,(%rdi,%rdx,4)
  lea    -0x1(%rbx),%edx
  movslq %ebx,%rbx
  movl   $0x0,(%rdi,%rbx,4)
  test   %eax,%eax
  je     L64
  movslq %ecx,%rcx
  movslq %edx,%rdx
  movl   $0x0,(%rdi,%rcx,4)
  lea    0x0(,%rcx,4),%r10
  lea    0x0(,%rdx,4),%rcx
  movl   $0x0,(%rdi,%rdx,4)
  cmp    $0x1,%eax
  je     L64
  movl   $0x0,-0x4(%rdi,%r10,1)
  movl   $0x0,-0x4(%rdi,%rcx,1)
L64:
  lea    (%r8,%r8,1),%edx
  sub    %ebp,%r9d
  sub    %edx,%esi
  lea    -0x1(%r9,%r9,2),%r14d
  add    %edx,%r8d
  lea    0x1(%rsi),%eax
  add    %r8d,%r14d
  imul   %ebp,%eax
  lea    (%rax,%rax,2),%ebx
  add    %r14d,%ebx
  cmp    %ebx,%r14d
  jge    L22
  sub    %edx,%ebp
  lea    (%r8,%r8,1),%r12d
  lea    0x0(,%rbp,4),%eax
  sub    %eax,%ebp
  test   %r12d,%r12d
  jle    L22
  lea    -0x1(%r12),%edx
  movslq %r12d,%r15
  movslq %ebp,%r13
  movslq %ebx,%rax
  movslq %edx,%rdx
  sub    %r15,%r13
  shl    $0x2,%r15
  sub    %rdx,%rax
  shl    $0x2,%r13
  lea    (%rdi,%rax,4),%rcx
  nopl   0x0(%rax,%rax,1)
L108:
  mov    %rcx,%rdi
  mov    %r15,%rdx
  xor    %esi,%esi
  sub    %r12d,%ebx
  call   <memset@plt>
  add    %ebp,%ebx
  mov    %rax,%rcx
  add    %r13,%rcx
  cmp    %ebx,%r14d
  jl     L108
L22:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L65:
  movslq %r10d,%r10
  movslq %r11d,%r11
  movslq %edx,%rax
  sub    %r10,%r11
  lea    (%rdi,%r11,4),%rdx
  nopl   0x0(%rax)
L89:
  movl   $0x0,(%rdi,%rax,4)
  movl   $0x0,(%rdx,%rax,4)
  sub    $0x1,%rax
  test   %eax,%eax
  jns    L89
  jmp    L64
```

assistant: ```c
void ClearBorders_float(float *rgb, int sx, int sy, int w) {
  int i, j;
  i = 3 * sx * w - 1;
  j = 3 * sx * sy - 1;
  while (i >= 0) {
    rgb[i--] = 0;
    rgb[j--] = 0;
  }
  int low = sx * (w - 1) * 3 - 1 + w * 3;
  i = low + sx * (sy - w * 2 + 1) * 3;
  while (i > low) {
    j = 6 * w;
    while (j > 0) {
      rgb[i--] = 0;
      j--;
    }
    i -= (sx - 2 * w) * 3;
  }
}
```