user: 下面的汇编指令对应的C源代码是什么：

```asm
<swap>:
  endbr64
  mov    %edx,%r11d
  cmp    %edx,%esi
  jg     L56
  mov    %ecx,%edx
  movslq %esi,%rcx
  push   %r12
  movslq %edx,%r10
  push   %rbp
  lea    0x10(%rcx),%rax
  mov    %r11d,%ebp
  lea    0x10(%r10),%r8
  sub    %esi,%ebp
  cmp    %rax,%r10
  push   %rbx
  setge  %al
  cmp    %rcx,%r8
  setle  %r8b
  or     %r8b,%al
  je     L116
  cmp    $0x6,%ebp
  jbe    L116
  lea    0x1(%rbp),%r12d
  cmp    $0xe,%ebp
  jbe    L142
  mov    %r12d,%ebx
  lea    (%rdi,%rcx,1),%r9
  lea    (%rdi,%r10,1),%r8
  xor    %eax,%eax
  shr    $0x4,%ebx
  shl    $0x4,%rbx
  nopl   0x0(%rax,%rax,1)
L45:
  movdqu (%r9,%rax,1),%xmm0
  movdqu (%r8,%rax,1),%xmm1
  movups %xmm1,(%r9,%rax,1)
  movups %xmm0,(%r8,%rax,1)
  add    $0x10,%rax
  cmp    %rbx,%rax
  jne    L45
  mov    %r12d,%eax
  and    $0xfffffff0,%eax
  add    %eax,%esi
  add    %eax,%edx
  cmp    %eax,%r12d
  je     L132
  sub    %eax,%ebp
  lea    0x1(%rbp),%r8d
  cmp    $0x6,%ebp
  jbe    L40
L117:
  add    %rax,%rcx
  add    %r10,%rax
  add    %rdi,%rax
  add    %rdi,%rcx
  mov    (%rax),%r10
  mov    (%rcx),%r9
  mov    %r10,(%rcx)
  mov    %r9,(%rax)
  mov    %r8d,%eax
  and    $0xfffffff8,%eax
  add    %eax,%esi
  add    %eax,%edx
  cmp    %eax,%r8d
  je     L132
L40:
  movslq %esi,%rcx
  movslq %edx,%rax
  add    %rdi,%rcx
  add    %rdi,%rax
  movzbl (%rcx),%r8d
  movzbl (%rax),%r9d
  mov    %r9b,(%rcx)
  lea    0x1(%rdx),%ecx
  mov    %r8b,(%rax)
  lea    0x1(%rsi),%eax
  cmp    %eax,%r11d
  jl     L132
  movslq %ecx,%rcx
  cltq
  add    %rdi,%rcx
  add    %rdi,%rax
  movzbl (%rcx),%r9d
  movzbl (%rax),%r8d
  mov    %r9b,(%rax)
  lea    0x2(%rsi),%eax
  mov    %r8b,(%rcx)
  lea    0x2(%rdx),%ecx
  cmp    %eax,%r11d
  jl     L132
  movslq %ecx,%rcx
  cltq
  add    %rdi,%rcx
  add    %rdi,%rax
  movzbl (%rcx),%r9d
  movzbl (%rax),%r8d
  mov    %r9b,(%rax)
  lea    0x3(%rsi),%eax
  mov    %r8b,(%rcx)
  lea    0x3(%rdx),%ecx
  cmp    %eax,%r11d
  jl     L132
  movslq %ecx,%rcx
  cltq
  add    %rdi,%rcx
  add    %rdi,%rax
  movzbl (%rcx),%r9d
  movzbl (%rax),%r8d
  mov    %r9b,(%rax)
  lea    0x4(%rsi),%eax
  mov    %r8b,(%rcx)
  lea    0x4(%rdx),%ecx
  cmp    %eax,%r11d
  jl     L132
  movslq %ecx,%rcx
  cltq
  add    %rdi,%rcx
  add    %rdi,%rax
  movzbl (%rcx),%r9d
  movzbl (%rax),%r8d
  mov    %r9b,(%rax)
  lea    0x5(%rsi),%eax
  mov    %r8b,(%rcx)
  lea    0x5(%rdx),%ecx
  cmp    %eax,%r11d
  jl     L132
  cltq
  movslq %ecx,%rcx
  add    $0x6,%esi
  add    $0x6,%edx
  add    %rdi,%rax
  add    %rdi,%rcx
  movzbl (%rax),%r8d
  movzbl (%rcx),%r9d
  mov    %r9b,(%rax)
  mov    %r8b,(%rcx)
  cmp    %esi,%r11d
  jl     L132
  movslq %edx,%rdx
  movslq %esi,%rsi
  add    %rdi,%rsi
  lea    (%rdi,%rdx,1),%rax
  movzbl (%rsi),%ecx
  movzbl (%rax),%edx
  mov    %dl,(%rsi)
  mov    %cl,(%rax)
L132:
  pop    %rbx
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax,%rax,1)
L116:
  lea    0x1(%rdi,%rcx,1),%r8
  lea    (%rdi,%rcx,1),%rax
  add    %rbp,%r8
  nopl   0x0(%rax)
L75:
  mov    %rax,%rdx
  movzbl (%rax),%esi
  add    $0x1,%rax
  sub    %rcx,%rdx
  movzbl (%rdx,%r10,1),%edi
  mov    %dil,-0x1(%rax)
  mov    %sil,(%rdx,%r10,1)
  cmp    %r8,%rax
  jne    L75
  pop    %rbx
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  ret
  cs nopw 0x0(%rax,%rax,1)
L56:
  xor    %eax,%eax
  ret
L142:
  mov    %r12d,%r8d
  xor    %eax,%eax
  jmp    L117
```

assistant: ```c
swap(char *s, int l1, int r1, int l2, int r2) {
  while (l1 <= r1) {
    r2 = s[l1];
    s[l1] = s[l2];
    s[l2] = (char)r2;
    l1++;
    l2++;
  }
}
```