user: What is the c source code of the assembly code below?

```asm
<switcharoni>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %esi,0x60(%rsp)
  cmp    %edx,%esi
  je     L193
  jg     L127
  movslq %esi,%rax
  mov    %edx,%r13d
  lea    0x1(%rax),%ecx
  lea    0x2(%rax),%edx
  mov    %r13d,%r15d
  mov    %ecx,0x84(%rsp)
  lea    0x3(%rax),%ecx
  mov    %edx,0x80(%rsp)
  lea    0x4(%rax),%edx
  mov    %ecx,0x64(%rsp)
  lea    0x5(%rax),%ecx
  mov    %edx,0x3c(%rsp)
  lea    0x6(%rax),%edx
  mov    %ecx,0x38(%rsp)
  lea    0x7(%rax),%ecx
  mov    %edx,0x28(%rsp)
  lea    0x8(%rax),%edx
  add    %rdi,%rax
  mov    %rax,0x88(%rsp)
  mov    %rax,0x78(%rsp)
  movslq %edx,%rax
  lea    (%rdi,%rax,1),%r14
  mov    %edx,0x2c(%rsp)
  sub    %r14d,%edx
  mov    %ecx,0x18(%rsp)
  mov    %r14,%rax
  mov    %rdi,%r14
  mov    %edx,0x1c(%rsp)
  mov    %rax,%r13
L113:
  mov    0x78(%rsp),%rsi
  mov    0x88(%rsp),%rdi
  call   <swaparoni@plt>
  cmp    %r15d,0x84(%rsp)
  je     L141
  jg     L179
  movslq 0x84(%rsp),%rax
  add    %r14,%rax
  mov    %rax,0x90(%rsp)
  mov    %rax,0x70(%rsp)
L186:
  mov    0x70(%rsp),%rsi
  mov    0x90(%rsp),%rdi
  call   <swaparoni@plt>
  cmp    0x80(%rsp),%r15d
  je     L123
  jl     L162
  movslq 0x80(%rsp),%rax
  add    %r14,%rax
  mov    %rax,0x98(%rsp)
  mov    %rax,0x68(%rsp)
L217:
  mov    0x68(%rsp),%rsi
  mov    0x98(%rsp),%rdi
  call   <swaparoni@plt>
  cmp    0x64(%rsp),%r15d
  je     L305
  jl     L61
  movslq 0x64(%rsp),%rax
  add    %r14,%rax
  mov    %rax,0x58(%rsp)
  mov    %rax,0x50(%rsp)
  mov    %r15d,%eax
  mov    %r14,%r15
  mov    %eax,%r14d
L137:
  mov    0x50(%rsp),%rsi
  mov    0x58(%rsp),%rdi
  call   <swaparoni@plt>
  cmp    0x3c(%rsp),%r14d
  je     L86
  jl     L212
  movslq 0x3c(%rsp),%rax
  add    %r15,%rax
  mov    %rax,0x30(%rsp)
  mov    %rax,(%rsp)
  mov    %r13,%rax
  mov    %r14d,%r13d
  mov    %r15,%r14
  mov    %rax,%r15
L306:
  mov    (%rsp),%rsi
  mov    0x30(%rsp),%rdi
  call   <swaparoni@plt>
  cmp    0x38(%rsp),%r13d
  je     L1
  jl     L262
  movslq 0x38(%rsp),%rax
  add    %r14,%rax
  mov    %rax,0x48(%rsp)
  mov    %rax,0x40(%rsp)
L94:
  mov    0x40(%rsp),%rsi
  mov    0x48(%rsp),%rdi
  call   <swaparoni@plt>
  cmp    0x28(%rsp),%r13d
  je     L331
  jl     L339
  movslq 0x28(%rsp),%rax
  add    %r14,%rax
  mov    %rax,0x20(%rsp)
  mov    %rax,0x8(%rsp)
L255:
  mov    0x8(%rsp),%rsi
  mov    0x20(%rsp),%rdi
  call   <swaparoni@plt>
  cmp    0x18(%rsp),%r13d
  je     L345
  jl     L38
  movslq 0x18(%rsp),%rbx
  add    %r14,%rbx
  mov    %rbx,%rbp
L288:
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <swaparoni@plt>
  cmp    0x2c(%rsp),%r13d
  je     L202
  jl     L87
  mov    0x60(%rsp),%eax
  mov    %rbp,0x10(%rsp)
  mov    %r15,%r12
  mov    %r15,%rbp
  mov    %rbx,%r15
  add    $0x9,%eax
  mov    %eax,%ebx
L146:
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    %r13d,%edx
  mov    %ebx,%esi
  mov    %r14,%rdi
  call   <switcharoni>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  add    $0x1,%r12
  call   <swaparoni@plt>
  mov    0x1c(%rsp),%eax
  add    %r12d,%eax
  cmp    %eax,%r13d
  jge    L146
  mov    %r15,%rbx
  mov    %rbp,%r15
  mov    0x10(%rsp),%rbp
L87:
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  add    $0x1,%rbp
  call   <swaparoni@plt>
  mov    0x18(%rsp),%eax
  sub    %ebx,%eax
  add    %ebp,%eax
  cmp    %eax,%r13d
  jge    L288
L38:
  mov    0x8(%rsp),%rbx
  mov    0x20(%rsp),%rbp
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    0x28(%rsp),%eax
  mov    %rbx,%rdx
  add    $0x1,%rdx
  sub    %ebp,%eax
  mov    %rdx,0x8(%rsp)
  add    %edx,%eax
  cmp    %eax,%r13d
  jge    L255
L339:
  mov    0x40(%rsp),%rbx
  mov    0x48(%rsp),%rbp
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    0x38(%rsp),%eax
  mov    %rbx,%rcx
  add    $0x1,%rcx
  sub    %ebp,%eax
  mov    %rcx,0x40(%rsp)
  add    %ecx,%eax
  cmp    %eax,%r13d
  jge    L94
L262:
  mov    (%rsp),%rbx
  mov    0x30(%rsp),%rbp
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    0x3c(%rsp),%eax
  mov    %rbx,%rcx
  add    $0x1,%rcx
  sub    %ebp,%eax
  mov    %rcx,(%rsp)
  add    %ecx,%eax
  cmp    %eax,%r13d
  jge    L306
  mov    %r15,%rax
  mov    %r14,%r15
  mov    %r13d,%r14d
  mov    %rax,%r13
L212:
  mov    0x50(%rsp),%rbx
  mov    0x58(%rsp),%rbp
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    0x64(%rsp),%eax
  mov    %rbx,%rdx
  add    $0x1,%rdx
  sub    %ebp,%eax
  mov    %rdx,0x50(%rsp)
  add    %edx,%eax
  cmp    %eax,%r14d
  jge    L137
  mov    %r14d,%eax
  mov    %r15,%r14
  mov    %eax,%r15d
L61:
  mov    0x68(%rsp),%rbx
  mov    0x98(%rsp),%rbp
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    0x80(%rsp),%eax
  mov    %rbx,%rdx
  add    $0x1,%rdx
  sub    %ebp,%eax
  mov    %rdx,0x68(%rsp)
  add    %edx,%eax
  cmp    %eax,%r15d
  jge    L217
L162:
  mov    0x70(%rsp),%rbx
  mov    0x90(%rsp),%rbp
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    0x84(%rsp),%eax
  mov    %rbx,%rcx
  add    $0x1,%rcx
  sub    %ebp,%eax
  mov    %rcx,0x70(%rsp)
  add    %ecx,%eax
  cmp    %eax,%r15d
  jge    L186
L179:
  mov    0x78(%rsp),%rbx
  mov    0x88(%rsp),%rbp
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <swaparoni@plt>
  mov    0x60(%rsp),%eax
  mov    %rbx,%rdx
  add    $0x1,%rdx
  sub    %ebp,%eax
  mov    %rdx,0x78(%rsp)
  add    %edx,%eax
  cmp    %eax,%r15d
  jge    L113
L127:
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L202:
  mov    %r14,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L87
  nopl   0x0(%rax)
L345:
  mov    %r14,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L38
L331:
  mov    %r14,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L339
L1:
  mov    %r14,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L262
L86:
  mov    %r15,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L212
L305:
  mov    %r14,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L61
L123:
  mov    %r14,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L162
L141:
  mov    %r14,%rsi
  lea    D54(%rip),%rdi
  call   <printf@plt>
  jmp    L179
L193:
  add    $0xa8,%rsp
  mov    %rdi,%rsi
  lea    D54(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1070 <printf@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D54
datatype: string

tool: D54: %s


assistant: ```c
void switcharoni(char *c, int x, int y) {
  int i;
  if (x == y)
    printf("%s\n", c);
  else {
    for (i = x; i <= y; i++) {
      swaparoni((c + x), (c + i));
      switcharoni(c, x + 1, y);
      swaparoni((c + x), (c + i));
    }
  }
}
```