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

```asm
<fun>:
  endbr64
  push   %r14
  push   %r13
  movsbl %dl,%r13d
  push   %r12
  movsbl %dil,%r12d
  push   %rbp
  sub    $0x8,%rsp
  cmp    $0x1,%ecx
  je     L6
  movsbl %sil,%ebp
  cmp    $0x2,%ecx
  je     L4
  cmp    $0x3,%ecx
  je     L16
  cmp    $0x4,%ecx
  je     L37
  cmp    $0x5,%ecx
  je     L5
  lea    -0x5(%rcx),%r14d
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  mov    %r14d,%ecx
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <fun>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r14d,%ecx
  mov    %ebp,%edx
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <fun>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  add    $0x8,%rsp
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1120 <fun>
  nopl   0x0(%rax,%rax,1)
L5:
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
L16:
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
L6:
  add    $0x8,%rsp
  mov    %r13d,%esi
  mov    %r12d,%edi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1050 <move@plt>
  nopl   0x0(%rax)
L37:
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <move@plt>
  mov    %r12d,%esi
  mov    %r13d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %ebp,%edi
  call   <move@plt>
L4:
  mov    %ebp,%esi
  mov    %r12d,%edi
  call   <move@plt>
  mov    %r13d,%esi
  mov    %r12d,%edi
  call   <move@plt>
  add    $0x8,%rsp
  mov    %r13d,%esi
  mov    %ebp,%edi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1050 <move@plt>
```

assistant: ```c
void fun(char a, char b, char c, int n) {
  if (n == 1)
    move(a, c);
  else {
    fun(a, c, b, n - 1);
    move(a, c);
    fun(b, a, c, n - 1);
  }
}
```