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

```asm
<recursive_truc>:
  endbr64
  push   %r15
  mov    %edi,%eax
  mov    %rdx,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x138,%rsp
  cmp    %esi,%edi
  je     L347
  jge    L106
  movslq %edi,%r8
  lea    0x2(%rdi),%ebx
  lea    0x3(%rdi),%r9d
  mov    %esi,%r14d
  lea    0x4(%rdi),%r10d
  lea    0x5(%rdi),%r11d
  mov    %ebx,0xf4(%rsp)
  lea    0x0(,%r8,4),%rcx
  lea    0x6(%rdi),%ebp
  mov    %r9d,0xd4(%rsp)
  lea    (%rdx,%rcx,1),%rsi
  lea    0x4(%r15,%rcx,1),%rcx
  mov    %r10d,0xd0(%rsp)
  mov    %rcx,0xc8(%rsp)
  movslq %ebx,%rcx
  lea    0x7(%rdi),%r13d
  lea    0x1(%rdi),%edx
  mov    %rcx,0x108(%rsp)
  lea    (%r15,%rcx,4),%rcx
  mov    %rcx,0xa0(%rsp)
  movslq %r9d,%rcx
  mov    %rcx,0xd8(%rsp)
  lea    (%r15,%rcx,4),%rcx
  mov    %rcx,0x80(%rsp)
  movslq %r10d,%rcx
  mov    %rcx,0xb0(%rsp)
  lea    (%r15,%rcx,4),%rcx
  mov    %rcx,0x48(%rsp)
  movslq %r11d,%rcx
  mov    %rcx,0x90(%rsp)
  lea    (%r15,%rcx,4),%rcx
  mov    %rcx,0x10(%rsp)
  movslq %ebp,%rcx
  lea    (%r15,%rcx,4),%r12
  mov    %rcx,0x60(%rsp)
  movslq %r13d,%rcx
  mov    %rcx,0x28(%rsp)
  lea    (%r15,%rcx,4),%rcx
  mov    %rcx,0x30(%rsp)
  lea    0x8(%rdi),%ecx
  lea    -0x1(%r14),%edi
  mov    %rsi,0xe8(%rsp)
  mov    %ecx,0x78(%rsp)
  movslq %ecx,%rcx
  mov    %rsi,0xc0(%rsp)
  mov    %edi,%esi
  mov    %rcx,0x38(%rsp)
  sub    %eax,%esi
  lea    (%r15,%rcx,4),%rcx
  mov    %rcx,0x70(%rsp)
  add    %r8,%rsi
  lea    0x4(%r15),%rcx
  lea    (%rcx,%rsi,4),%rsi
  mov    %edx,0xf0(%rsp)
  mov    %rsi,0x128(%rsp)
  movslq %edx,%rsi
  lea    (%r15,%rsi,4),%rsi
  mov    %r11d,0x7c(%rsp)
  mov    %rsi,0x120(%rsp)
  lea    -0x2(%r14),%esi
  sub    %eax,%esi
  mov    %ebp,0x50(%rsp)
  add    $0x9,%eax
  add    %r8,%rsi
  mov    %r13d,0xc(%rsp)
  lea    0x8(%r15,%rsi,4),%rsi
  mov    %rsi,0x100(%rsp)
  mov    %r13d,%esi
  lea    (%rcx,%rsi,4),%rsi
  mov    %rsi,0x68(%rsp)
  mov    %ebp,%esi
  lea    (%rcx,%rsi,4),%rsi
  mov    %rsi,0x20(%rsp)
  mov    %r11d,%esi
  lea    (%rcx,%rsi,4),%rsi
  mov    %rsi,0x88(%rsp)
  mov    %r10d,%esi
  lea    (%rcx,%rsi,4),%rsi
  mov    %rsi,0xb8(%rsp)
  mov    %r9d,%esi
  lea    (%rcx,%rsi,4),%rsi
  mov    %rsi,0xe0(%rsp)
  mov    %ebx,%esi
  lea    (%rcx,%rsi,4),%rsi
  mov    %rsi,0x110(%rsp)
  mov    %edx,%esi
  lea    (%rcx,%rsi,4),%rdx
  lea    (%rcx,%rdi,4),%rcx
  mov    %eax,0x54(%rsp)
  mov    %r14d,%eax
  mov    %rdx,0x118(%rsp)
  mov    %r12,%r14
  mov    %eax,%r12d
  mov    %rcx,0xf8(%rsp)
L5:
  mov    0xe8(%rsp),%rdi
  mov    0xc0(%rsp),%rdx
  mov    (%rdi),%eax
  mov    (%rdx),%ecx
  mov    %ecx,(%rdi)
  mov    %eax,(%rdx)
  cmp    %r12d,0xf0(%rsp)
  je     L406
  mov    0x120(%rsp),%rcx
  mov    %r14,%r13
  mov    %rcx,0xa8(%rsp)
  jge    L11
L279:
  mov    0xc8(%rsp),%rdi
  mov    0xa8(%rsp),%rdx
  mov    (%rdi),%eax
  mov    (%rdx),%ecx
  mov    %ecx,(%rdi)
  mov    %eax,(%rdx)
  cmp    0xf4(%rsp),%r12d
  je     L59
  mov    0x108(%rsp),%rcx
  mov    %r15,%r14
  mov    %rcx,0x98(%rsp)
  jle    L314
L236:
  mov    0xa0(%rsp),%rdi
  mov    0x98(%rsp),%rdx
  mov    (%rdi),%eax
  mov    (%r14,%rdx,4),%ecx
  mov    %ecx,(%rdi)
  mov    %eax,(%r14,%rdx,4)
  cmp    0xd4(%rsp),%r12d
  je     L50
  mov    0xd8(%rsp),%rcx
  mov    %r14,%rbp
  mov    %rcx,0x58(%rsp)
  jle    L354
L12:
  mov    0x80(%rsp),%rdi
  mov    0x58(%rsp),%rdx
  mov    (%rdi),%eax
  mov    0x0(%rbp,%rdx,4),%ecx
  mov    %ecx,(%rdi)
  mov    %eax,0x0(%rbp,%rdx,4)
  cmp    0xd0(%rsp),%r12d
  je     L124
  mov    0xb0(%rsp),%rcx
  mov    %rbp,%r14
  mov    %rcx,0x18(%rsp)
  jle    L353
L116:
  mov    0x48(%rsp),%rdi
  mov    0x18(%rsp),%rdx
  mov    (%rdi),%eax
  mov    (%r14,%rdx,4),%ecx
  mov    %ecx,(%rdi)
  mov    %eax,(%r14,%rdx,4)
  cmp    0x7c(%rsp),%r12d
  je     L248
  mov    0x90(%rsp),%rbx
  jle    L370
L339:
  mov    0x10(%rsp),%rdi
  mov    (%r14,%rbx,4),%ecx
  mov    (%rdi),%eax
  mov    %ecx,(%rdi)
  mov    %eax,(%r14,%rbx,4)
  cmp    0x50(%rsp),%r12d
  je     L255
  mov    0x60(%rsp),%rbp
  jle    L204
  mov    0x70(%rsp),%r15
  mov    %rbx,0x40(%rsp)
  mov    %rbp,%rbx
L139:
  mov    0x0(%r13),%eax
  mov    (%r14,%rbx,4),%esi
  mov    %esi,0x0(%r13)
  mov    %eax,(%r14,%rbx,4)
  cmp    0xc(%rsp),%r12d
  je     L182
  mov    0x28(%rsp),%rbp
  jle    L199
  mov    %rbx,(%rsp)
  mov    %r12d,%ebx
  mov    %rbp,%r12
L83:
  mov    0x30(%rsp),%rcx
  mov    (%r14,%r12,4),%edx
  mov    (%rcx),%eax
  mov    %edx,(%rcx)
  mov    %eax,(%r14,%r12,4)
  cmp    0x78(%rsp),%ebx
  je     L414
  mov    0x38(%rsp),%rbp
  jle    L245
L510:
  mov    (%r14,%rbp,4),%ecx
  mov    (%r15),%edx
  mov    %ebx,%esi
  mov    0x54(%rsp),%edi
  mov    %ecx,(%r15)
  mov    %edx,(%r14,%rbp,4)
  mov    %r14,%rdx
  call   <recursive_truc>
  mov    (%r14,%rbp,4),%ecx
  mov    (%r15),%edx
  mov    %ecx,(%r15)
  mov    %edx,(%r14,%rbp,4)
  add    $0x1,%rbp
  cmp    %ebp,%ebx
  jg     L510
  mov    (%r14,%r12,4),%eax
L245:
  mov    0x30(%rsp),%rsi
  mov    (%rsi),%edx
  mov    %eax,(%rsi)
  mov    %edx,(%r14,%r12,4)
  add    $0x1,%r12
  cmp    %r12d,%ebx
  jg     L83
  mov    %ebx,%r12d
  mov    (%rsp),%rbx
  mov    (%r14,%rbx,4),%eax
L199:
  mov    0x0(%r13),%esi
  mov    %eax,0x0(%r13)
  mov    %esi,(%r14,%rbx,4)
  add    $0x1,%rbx
  cmp    %ebx,%r12d
  jg     L139
  mov    0x40(%rsp),%rbx
  mov    (%r14,%rbx,4),%eax
L204:
  mov    0x10(%rsp),%rdx
  mov    (%rdx),%ecx
  mov    %eax,(%rdx)
  mov    %ecx,(%r14,%rbx,4)
  add    $0x1,%rbx
  cmp    %ebx,%r12d
  jg     L339
  mov    0x18(%rsp),%rax
  mov    (%r14,%rax,4),%eax
L370:
  mov    0x48(%rsp),%rsi
  mov    (%rsi),%ecx
  mov    %eax,(%rsi)
  mov    0x18(%rsp),%rax
  mov    %ecx,(%r14,%rax,4)
  add    $0x1,%rax
  mov    %rax,0x18(%rsp)
  cmp    %eax,%r12d
  jg     L116
  mov    0x58(%rsp),%rax
  mov    %r14,%rbp
  mov    (%r14,%rax,4),%eax
L353:
  mov    0x80(%rsp),%rdi
  mov    (%rdi),%ecx
  mov    %eax,(%rdi)
  mov    0x58(%rsp),%rax
  mov    %ecx,0x0(%rbp,%rax,4)
  add    $0x1,%rax
  mov    %rax,0x58(%rsp)
  cmp    %eax,%r12d
  jg     L12
  mov    0x98(%rsp),%rax
  mov    %rbp,%r14
  mov    0x0(%rbp,%rax,4),%eax
L354:
  mov    0xa0(%rsp),%rsi
  mov    (%rsi),%ecx
  mov    %eax,(%rsi)
  mov    0x98(%rsp),%rax
  mov    %ecx,(%r14,%rax,4)
  add    $0x1,%rax
  mov    %rax,0x98(%rsp)
  cmp    %eax,%r12d
  jg     L236
  mov    0xa8(%rsp),%rax
  mov    %r14,%r15
  mov    (%rax),%eax
L314:
  mov    0xc8(%rsp),%rdi
  mov    (%rdi),%ecx
  mov    %eax,(%rdi)
  mov    0xa8(%rsp),%rax
  mov    %ecx,(%rax)
  add    $0x4,%rax
  mov    %rax,0xa8(%rsp)
  cmp    0x100(%rsp),%rax
  jne    L279
  mov    0xc0(%rsp),%rax
  mov    %r13,%r14
  mov    (%rax),%eax
L11:
  mov    0xe8(%rsp),%rsi
  mov    (%rsi),%ecx
  mov    %eax,(%rsi)
  mov    0xc0(%rsp),%rax
  mov    %ecx,(%rax)
  add    $0x4,%rax
  mov    %rax,0xc0(%rsp)
  cmp    0x128(%rsp),%rax
  jne    L5
L106:
  add    $0x138,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L414:
  mov    %r14,%rbp
  test   %ebx,%ebx
  jle    L523
  nopw   0x0(%rax,%rax,1)
L497:
  mov    0x0(%rbp),%esi
  lea    D91(%rip),%rdi
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    0x68(%rsp),%rbp
  jne    L497
L523:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    (%r14,%r12,4),%eax
  jmp    L245
  nop
L182:
  mov    %r14,%rbp
  test   %r12d,%r12d
  jle    L262
  nopl   0x0(%rax,%rax,1)
L115:
  mov    0x0(%rbp),%esi
  lea    D91(%rip),%rdi
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    %rbp,0x20(%rsp)
  jne    L115
L262:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    (%r14,%rbx,4),%eax
  jmp    L199
  nop
L255:
  mov    %r14,%r15
  test   %r12d,%r12d
  jle    L177
  nopl   0x0(%rax,%rax,1)
L280:
  mov    (%r15),%esi
  lea    D91(%rip),%rdi
  add    $0x4,%r15
  call   <printf@plt>
  cmp    %r15,0x88(%rsp)
  jne    L280
L177:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    (%r14,%rbx,4),%eax
  jmp    L204
L248:
  mov    0xb8(%rsp),%r15
  mov    %r14,%rbp
  lea    D91(%rip),%rbx
  test   %r12d,%r12d
  jle    L490
  nopl   0x0(%rax)
L291:
  mov    0x0(%rbp),%esi
  mov    %rbx,%rdi
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    %rbp,%r15
  jne    L291
L490:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%rax
  mov    (%r14,%rax,4),%eax
  jmp    L370
L124:
  mov    0xe0(%rsp),%r15
  mov    %rbp,%r14
  lea    D91(%rip),%rbx
  test   %r12d,%r12d
  jle    L500
  nopl   (%rax)
L403:
  mov    (%r14),%esi
  mov    %rbx,%rdi
  add    $0x4,%r14
  call   <printf@plt>
  cmp    %r14,%r15
  jne    L403
L500:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    0x58(%rsp),%rax
  mov    0x0(%rbp,%rax,4),%eax
  jmp    L353
L50:
  mov    0x110(%rsp),%r15
  mov    %r14,%rbp
  lea    D91(%rip),%rbx
  test   %r12d,%r12d
  jle    L242
  nopl   (%rax)
L278:
  mov    0x0(%rbp),%esi
  mov    %rbx,%rdi
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    %rbp,%r15
  jne    L278
L242:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    0x98(%rsp),%rax
  mov    (%r14,%rax,4),%eax
  jmp    L354
L59:
  mov    0x118(%rsp),%r14
  mov    %r15,%rbp
  lea    D91(%rip),%rbx
  test   %r12d,%r12d
  jle    L120
L85:
  mov    0x0(%rbp),%esi
  mov    %rbx,%rdi
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    %rbp,%r14
  jne    L85
L120:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    0xa8(%rsp),%rax
  mov    (%rax),%eax
  jmp    L314
L406:
  mov    0xf0(%rsp),%eax
  mov    %r15,%rbx
  lea    D91(%rip),%rbp
  test   %eax,%eax
  jle    L198
L237:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %rbx,0xf8(%rsp)
  jne    L237
L198:
  lea    D178(%rip),%rdi
  call   <puts@plt>
  mov    0xc0(%rsp),%rax
  mov    (%rax),%eax
  jmp    L11
L347:
  test   %edi,%edi
  jle    L303
  sub    $0x1,%eax
  lea    D91(%rip),%rbp
  lea    0x4(%rdx,%rax,4),%r12
L472:
  mov    (%r15),%esi
  mov    %rbp,%rdi
  add    $0x4,%r15
  call   <printf@plt>
  cmp    %r12,%r15
  jne    L472
L303:
  add    $0x138,%rsp
  lea    D178(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <puts@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D91
type: string
name: disassemble_data
arguments: data_label: D178
type: string

tool: D91: %d

tool: 

assistant: ```c
void recursive_truc(int i, int n, int *T) {
  int j, temp;
  if (i == n) {
    for (j = 0; j < n; j++) {
      printf("%d", T[j]);
    }
    puts("");
  } else {
    for (j = i; j < n; j++) {
      temp = T[i];
      T[i] = T[j];
      T[j] = temp;
      recursive_truc(i + 1, n, T);
      temp = T[i];
      T[i] = T[j];
      T[j] = temp;
    }
  }
}
```