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

```asm
<cbguard2l>:
  endbr64
  lea    (%rsi,%rsi,2),%r11d
  push   %r13
  mov    %rdi,%rax
  mov    %edx,%r10d
  push   %r12
  mov    %ecx,%r9d
  lea    0x1(%r11),%edi
  lea    0x2(%r11),%r8d
  push   %rbp
  push   %rbx
  test   %edx,%edx
  jle    L214
  cmp    $0x1,%ecx
  jne    L107
  movslq %esi,%rbx
  lea    0x30(%rax),%r12
  lea    (%rbx,%rbx,2),%rbp
  shl    $0x2,%rbp
  lea    (%rax,%rbp,1),%rcx
  lea    0x30(%rbp),%r13
  cmp    %r12,%rcx
  setae  %dl
  test   %r13,%r13
  setle  %r13b
  or     %r13b,%dl
  je     L219
  cmp    $0x1,%r10d
  je     L219
  lea    -0x1(%r10),%edx
  mov    %r10d,%r11d
  cmp    $0x2,%edx
  jbe    L0
  shr    $0x2,%r11d
  mov    %rax,%rdx
  sub    $0x1,%r11d
  lea    (%r11,%r11,2),%r11
  shl    $0x4,%r11
  add    %r12,%r11
  nopl   (%rax)
L56:
  movups 0x10(%rdx),%xmm1
  movups 0x20(%rdx),%xmm0
  add    $0x30,%rdx
  add    $0x30,%rcx
  movups -0x30(%rdx),%xmm3
  movups %xmm1,-0x20(%rcx)
  movups %xmm3,-0x30(%rcx)
  movups %xmm0,-0x10(%rcx)
  cmp    %r11,%rdx
  jne    L56
  mov    %r10d,%edx
  and    $0xfffffffc,%edx
  mov    %edx,%ecx
  cmp    %edx,%r10d
  je     L214
  mov    %r10d,%r11d
  sub    %edx,%r11d
  cmp    $0x1,%r11d
  je     L84
L163:
  lea    (%rdx,%rdx,2),%rbp
  add    %rdx,%rbx
  lea    (%rax,%rbp,4),%rbp
  lea    (%rbx,%rbx,2),%rdx
  movq   0x0(%rbp),%xmm0
  mov    0x8(%rbp),%r12
  lea    (%rax,%rdx,4),%rdx
  mov    0x10(%rbp),%rbx
  mov    %r12,0x8(%rdx)
  mov    %rbx,0x10(%rdx)
  movlps %xmm0,(%rdx)
  mov    %r11d,%edx
  and    $0xfffffffe,%edx
  add    %edx,%ecx
  cmp    %edx,%r11d
  je     L214
L84:
  lea    (%rcx,%rcx,2),%edx
  add    %esi,%ecx
  movslq %edx,%r11
  lea    (%rcx,%rcx,2),%ecx
  movss  (%rax,%r11,4),%xmm0
  movslq %ecx,%rcx
  lea    (%rdi,%rdx,1),%r11d
  movslq %r11d,%r11
  movss  %xmm0,(%rax,%rcx,4)
  lea    0x1(%rdx),%ecx
  add    %r8d,%edx
  movslq %ecx,%rcx
  movslq %edx,%rdx
  movss  (%rax,%rcx,4),%xmm0
  movss  %xmm0,(%rax,%r11,4)
  movss  0x4(%rax,%rcx,4),%xmm0
  movss  %xmm0,(%rax,%rdx,4)
L214:
  imul   %r10d,%r9d
  lea    (%r9,%r9,2),%r10d
  test   %esi,%esi
  jle    L206
  movslq %r9d,%rbx
  lea    0x30(%rax),%r12
  lea    (%rbx,%rbx,2),%r11
  shl    $0x2,%r11
  lea    0x30(%r11),%rdx
  lea    (%rax,%r11,1),%rcx
  test   %rdx,%rdx
  setle  %dl
  cmp    %r12,%rcx
  setae  %bpl
  or     %bpl,%dl
  je     L67
  cmp    $0x1,%esi
  je     L67
  lea    -0x1(%rsi),%edx
  mov    %esi,%ebp
  cmp    $0x2,%edx
  jbe    L211
  mov    %esi,%r11d
  mov    %rax,%rdx
  shr    $0x2,%r11d
  sub    $0x1,%r11d
  lea    (%r11,%r11,2),%r11
  shl    $0x4,%r11
  add    %r12,%r11
  nopl   0x0(%rax)
L241:
  movups 0x10(%rdx),%xmm1
  movups 0x20(%rdx),%xmm0
  add    $0x30,%rdx
  add    $0x30,%rcx
  movups -0x30(%rdx),%xmm2
  movups %xmm1,-0x20(%rcx)
  movups %xmm2,-0x30(%rcx)
  movups %xmm0,-0x10(%rcx)
  cmp    %rdx,%r11
  jne    L241
  mov    %esi,%ecx
  and    $0xfffffffc,%ecx
  mov    %ecx,%edx
  cmp    %ecx,%esi
  je     L206
  mov    %esi,%ebp
  sub    %ecx,%ebp
  cmp    $0x1,%ebp
  je     L193
L119:
  lea    (%rcx,%rcx,2),%r11
  add    %rcx,%rbx
  lea    (%rax,%r11,4),%r11
  lea    (%rbx,%rbx,2),%rcx
  mov    (%r11),%r12
  mov    0x8(%r11),%rbx
  lea    (%rax,%rcx,4),%rcx
  mov    0x10(%r11),%r11
  mov    %r12,(%rcx)
  mov    %rbx,0x8(%rcx)
  mov    %r11,0x10(%rcx)
  mov    %ebp,%ecx
  and    $0xfffffffe,%ecx
  add    %ecx,%edx
  cmp    %ecx,%ebp
  je     L206
L193:
  lea    (%rdx,%rdx,2),%ecx
  add    %r9d,%edx
  movslq %ecx,%r11
  lea    (%rdx,%rdx,2),%edx
  movss  (%rax,%r11,4),%xmm0
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  lea    0x1(%rcx),%edx
  movslq %edx,%r11
  add    %r10d,%edx
  movss  (%rax,%r11,4),%xmm0
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  lea    0x2(%r10,%rcx,1),%edx
  movss  0x4(%rax,%r11,4),%xmm0
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
L206:
  add    %esi,%r9d
  movss  (%rax),%xmm0
  add    %r10d,%edi
  add    %r8d,%r10d
  lea    (%r9,%r9,2),%edx
  movslq %edi,%rdi
  movslq %r10d,%r10
  pop    %rbx
  movslq %edx,%rdx
  pop    %rbp
  pop    %r12
  movss  %xmm0,(%rax,%rdx,4)
  movss  0x4(%rax),%xmm0
  pop    %r13
  movss  %xmm0,(%rax,%rdi,4)
  movss  0x8(%rax),%xmm0
  movss  %xmm0,(%rax,%r10,4)
  ret
  nopl   0x0(%rax)
L67:
  lea    -0x1(%rsi),%ecx
  mov    %rax,%rdx
  lea    (%rcx,%rcx,2),%rcx
  lea    0xc(%rax,%rcx,4),%rbx
  movslq %r10d,%rcx
  nopw   0x0(%rax,%rax,1)
L71:
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rdx,%r11,1)
  movss  0x4(%rdx),%xmm0
  movss  %xmm0,0x4(%rdx,%rcx,4)
  movss  0x8(%rdx),%xmm0
  movss  %xmm0,0x8(%rdx,%rcx,4)
  add    $0xc,%rdx
  cmp    %rbx,%rdx
  jne    L71
  jmp    L206
  xchg   %ax,%ax
L107:
  lea    (%rcx,%rcx,2),%ebp
  movslq %esi,%rcx
  mov    %rax,%rdx
  xor    %ebx,%ebx
  lea    (%rcx,%rcx,2),%r12
  movslq %ebp,%rbp
  movslq %r11d,%rcx
  shl    $0x2,%rbp
  shl    $0x2,%r12
  nopl   (%rax)
L178:
  movss  (%rdx),%xmm0
  add    $0x1,%ebx
  movss  %xmm0,(%rdx,%r12,1)
  movss  0x4(%rdx),%xmm0
  movss  %xmm0,0x4(%rdx,%rcx,4)
  movss  0x8(%rdx),%xmm0
  movss  %xmm0,0x8(%rdx,%rcx,4)
  add    %rbp,%rdx
  cmp    %ebx,%r10d
  jne    L178
  jmp    L214
L219:
  lea    -0x1(%r10),%ecx
  mov    %rax,%rdx
  lea    (%rcx,%rcx,2),%rcx
  lea    0xc(%rax,%rcx,4),%rbx
  movslq %r11d,%rcx
  nopl   0x0(%rax,%rax,1)
L146:
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rdx,%rbp,1)
  movss  0x4(%rdx),%xmm0
  movss  %xmm0,0x4(%rdx,%rcx,4)
  movss  0x8(%rdx),%xmm0
  movss  %xmm0,0x8(%rdx,%rcx,4)
  add    $0xc,%rdx
  cmp    %rdx,%rbx
  jne    L146
  jmp    L214
L211:
  xor    %ecx,%ecx
  xor    %edx,%edx
  jmp    L119
L0:
  xor    %edx,%edx
  xor    %ecx,%ecx
  jmp    L163
```

assistant: ```c
void cbguard2l(float bxy[], int nx, int ny, int nxe, int nye) {
  int j, k;
  for (k = 0; k < ny; k++) {
    bxy[3 * nx + 3 * nxe * k] = bxy[3 * nxe * k];
    bxy[1 + 3 * nx + 3 * nxe * k] = bxy[1 + 3 * nxe * k];
    bxy[2 + 3 * nx + 3 * nxe * k] = bxy[2 + 3 * nxe * k];
  }
  for (j = 0; j < nx; j++) {
    bxy[3 * j + 3 * nxe * ny] = bxy[3 * j];
    bxy[1 + 3 * j + 3 * nxe * ny] = bxy[1 + 3 * j];
    bxy[2 + 3 * j + 3 * nxe * ny] = bxy[2 + 3 * j];
  }
  bxy[3 * nx + 3 * nxe * ny] = bxy[0];
  bxy[1 + 3 * nx + 3 * nxe * ny] = bxy[1];
  bxy[2 + 3 * nx + 3 * nxe * ny] = bxy[2];
  return;
}
```