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

```asm
<permuteHelp>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xe8,%rsp
  cmp    %edx,%esi
  je     L182
  jge    L183
  mov    %edx,%r13d
  movslq %esi,%rdx
  lea    0x0(,%rdx,4),%rax
  lea    (%rdi,%rax,1),%rcx
  lea    0x4(%r15,%rax,1),%rax
  mov    %rax,0xb0(%rsp)
  lea    0x2(%rsi),%eax
  lea    0x1(%rsi),%edi
  mov    %eax,0xc0(%rsp)
  cltq
  lea    (%r15,%rax,4),%rax
  mov    %rcx,0xa0(%rsp)
  mov    %rax,0x78(%rsp)
  lea    0x3(%rsi),%eax
  mov    %eax,0xc4(%rsp)
  cltq
  lea    (%r15,%rax,4),%rax
  mov    %edi,0xac(%rsp)
  mov    %rax,0x58(%rsp)
  lea    0x4(%rsi),%eax
  mov    %eax,0xb8(%rsp)
  cltq
  lea    (%r15,%rax,4),%rax
  mov    %rcx,0x98(%rsp)
  mov    %rax,0x28(%rsp)
  lea    0x5(%rsi),%eax
  mov    %eax,0x3c(%rsp)
  cltq
  lea    (%r15,%rax,4),%r12
  lea    0x6(%rsi),%eax
  mov    %eax,0x34(%rsp)
  cltq
  lea    (%r15,%rax,4),%rax
  mov    %rax,0x10(%rsp)
  lea    0x7(%rsi),%eax
  mov    %eax,0x38(%rsp)
  cltq
  lea    (%r15,%rax,4),%rax
  mov    %rax,0x60(%rsp)
  lea    0x8(%rsi),%eax
  mov    %eax,0xbc(%rsp)
  cltq
  lea    (%r15,%rax,4),%rax
  mov    %rax,0x80(%rsp)
  lea    -0x1(%r13),%eax
  sub    %esi,%eax
  add    %rdx,%rax
  lea    0x4(%r15,%rax,4),%rax
  mov    %rax,0xd8(%rsp)
  movslq %edi,%rax
  lea    (%r15,%rax,4),%rax
  mov    %rax,0xc8(%rsp)
  lea    -0x2(%r13),%eax
  sub    %esi,%eax
  add    %rdx,%rax
  lea    0x8(%r15,%rax,4),%rax
  mov    %rax,0xd0(%rsp)
  lea    0x9(%rsi),%eax
  mov    %eax,0x30(%rsp)
  mov    %r13d,%eax
  mov    %r15,%r13
  mov    %r12,%r15
  mov    %eax,%r12d
L227:
  mov    0x98(%rsp),%rsi
  mov    0xa0(%rsp),%rdi
  call   <swap@plt>
  cmp    %r12d,0xac(%rsp)
  je     L164
  mov    0xc8(%rsp),%rax
  mov    %rax,0x90(%rsp)
  jge    L179
L329:
  mov    0x90(%rsp),%rsi
  mov    0xb0(%rsp),%rdi
  call   <swap@plt>
  mov    0xc0(%rsp),%eax
  cmp    %eax,%r12d
  je     L146
  mov    0x78(%rsp),%rcx
  mov    %eax,0xa8(%rsp)
  mov    %rcx,0x88(%rsp)
  jle    L4
L275:
  mov    0x88(%rsp),%rsi
  mov    0x78(%rsp),%rdi
  call   <swap@plt>
  mov    0xc4(%rsp),%eax
  cmp    %eax,%r12d
  je     L215
  mov    0x58(%rsp),%rcx
  mov    %eax,0x40(%rsp)
  mov    %rcx,0x50(%rsp)
  jle    L257
  mov    %r15,%r14
  mov    %r12d,%r15d
  mov    %r13,%r12
L98:
  mov    0x50(%rsp),%rsi
  mov    0x58(%rsp),%rdi
  call   <swap@plt>
  mov    0xb8(%rsp),%eax
  cmp    %eax,%r15d
  je     L208
  mov    0x28(%rsp),%rcx
  mov    %eax,0x1c(%rsp)
  mov    %rcx,0x20(%rsp)
  jle    L289
  mov    %r14,%r13
  mov    %r12,%r14
L332:
  mov    0x20(%rsp),%rsi
  mov    0x28(%rsp),%rdi
  call   <swap@plt>
  mov    0x3c(%rsp),%eax
  cmp    %eax,%r15d
  je     L7
  mov    %eax,0xc(%rsp)
  mov    %r13,%rbx
  jle    L141
L119:
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <swap@plt>
  mov    0x34(%rsp),%eax
  cmp    %eax,%r15d
  je     L308
  mov    %eax,0x18(%rsp)
  mov    0x10(%rsp),%rbp
  jle    L156
  mov    %r13,0x68(%rsp)
  mov    0x80(%rsp),%r12
  mov    %rbx,0x70(%rsp)
L292:
  mov    0x10(%rsp),%rdi
  mov    %rbp,%rsi
  call   <swap@plt>
  mov    0x38(%rsp),%eax
  cmp    %eax,%r15d
  je     L167
  mov    0x60(%rsp),%rcx
  mov    %eax,0x44(%rsp)
  mov    %rcx,0x48(%rsp)
  jle    L52
L349:
  mov    0x48(%rsp),%rsi
  mov    0x60(%rsp),%rdi
  call   <swap@plt>
  mov    0xbc(%rsp),%r13d
  cmp    %r13d,%r15d
  je     L174
  mov    %r12,%rbx
  jle    L321
  mov    %rbp,%r12
  mov    %rbx,%rbp
L310:
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  add    $0x1,%r13d
  call   <swap@plt>
  mov    0x30(%rsp),%esi
  mov    %r15d,%edx
  mov    %r14,%rdi
  call   <permuteHelp>
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <swap@plt>
  cmp    %r13d,%r15d
  jg     L310
  mov    %rbp,%rax
  mov    %r12,%rbp
  mov    %rax,%r12
L321:
  mov    0x48(%rsp),%rbx
  mov    0x60(%rsp),%rdi
  mov    %rbx,%rsi
  add    $0x4,%rbx
  call   <swap@plt>
  addl   $0x1,0x44(%rsp)
  mov    0x44(%rsp),%eax
  mov    %rbx,0x48(%rsp)
  cmp    %eax,%r15d
  jg     L349
L52:
  mov    0x10(%rsp),%rdi
  mov    %rbp,%rsi
  add    $0x4,%rbp
  call   <swap@plt>
  addl   $0x1,0x18(%rsp)
  mov    0x18(%rsp),%eax
  cmp    %eax,%r15d
  jg     L292
  mov    0x68(%rsp),%r13
  mov    0x70(%rsp),%rbx
L156:
  mov    %rbx,%rsi
  mov    %r13,%rdi
  add    $0x4,%rbx
  call   <swap@plt>
  addl   $0x1,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    %eax,%r15d
  jg     L119
L141:
  mov    0x20(%rsp),%rbx
  mov    0x28(%rsp),%rdi
  mov    %rbx,%rsi
  add    $0x4,%rbx
  call   <swap@plt>
  addl   $0x1,0x1c(%rsp)
  mov    0x1c(%rsp),%eax
  mov    %rbx,0x20(%rsp)
  cmp    %eax,%r15d
  jg     L332
  mov    %r14,%r12
  mov    %r13,%r14
L289:
  mov    0x50(%rsp),%rbx
  mov    0x58(%rsp),%rdi
  mov    %rbx,%rsi
  add    $0x4,%rbx
  call   <swap@plt>
  addl   $0x1,0x40(%rsp)
  mov    0x40(%rsp),%eax
  mov    %rbx,0x50(%rsp)
  cmp    %eax,%r15d
  jg     L98
  mov    %r12,%r13
  mov    %r15d,%r12d
  mov    %r14,%r15
L257:
  mov    0x88(%rsp),%rbx
  mov    0x78(%rsp),%rdi
  mov    %rbx,%rsi
  add    $0x4,%rbx
  call   <swap@plt>
  addl   $0x1,0xa8(%rsp)
  mov    0xa8(%rsp),%eax
  mov    %rbx,0x88(%rsp)
  cmp    %eax,%r12d
  jg     L275
L4:
  mov    0x90(%rsp),%rbx
  mov    0xb0(%rsp),%rdi
  mov    %rbx,%rsi
  call   <swap@plt>
  mov    %rbx,%rax
  add    $0x4,%rax
  mov    %rax,0x90(%rsp)
  cmp    0xd0(%rsp),%rax
  jne    L329
L179:
  mov    0x98(%rsp),%rbx
  mov    0xa0(%rsp),%rdi
  mov    %rbx,%rsi
  call   <swap@plt>
  mov    %rbx,%rax
  add    $0x4,%rax
  mov    %rax,0x98(%rsp)
  cmp    0xd8(%rsp),%rax
  jne    L227
L183:
  add    $0xe8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L167:
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <printArray@plt>
  jmp    L52
L308:
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <printArray@plt>
  jmp    L156
  nopl   0x0(%rax)
L174:
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <printArray@plt>
  jmp    L321
L7:
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <printArray@plt>
  jmp    L141
L208:
  mov    %r15d,%esi
  mov    %r12,%rdi
  call   <printArray@plt>
  jmp    L289
L215:
  mov    %r12d,%esi
  mov    %r13,%rdi
  call   <printArray@plt>
  jmp    L257
L146:
  mov    %r12d,%esi
  mov    %r13,%rdi
  call   <printArray@plt>
  jmp    L4
L164:
  mov    0xac(%rsp),%esi
  mov    %r13,%rdi
  call   <printArray@plt>
  jmp    L179
L182:
  add    $0xe8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1070 <printArray@plt>
```

assistant: ```c
void permuteHelp(int *arr, int ind, int num) {
  if (ind == num) {
    printArray(arr, ind);
    return;
  }
  int loc;
  for (loc = ind; loc < num; loc++) {
    swap(&arr[ind], &arr[loc]);
    permuteHelp(arr, ind + 1, num);
    swap(&arr[ind], &arr[loc]);
  }
}
```