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

```asm
<fac>:
  endbr64
  push   %r15
  mov    %edi,%eax
  lea    -0x1(%rdi),%edx
  push   %r14
  sub    $0x2,%eax
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %eax,(%rsp)
  mov    $0x1,%eax
  movl   $0x0,0x4(%rsp)
  cmp    $0x1,%edx
  jbe    L85
L256:
  mov    (%rsp),%eax
  movl   $0x0,0x8(%rsp)
  mov    %eax,%esi
  cmp    $0x1,%eax
  jbe    L231
L83:
  cmp    $0x2,%esi
  je     L120
  lea    -0x2(%rsi),%r8d
  movl   $0x0,0xc(%rsp)
  xor    %esi,%esi
  mov    %r8d,%r9d
  mov    %r9d,%ecx
  cmp    $0x1,%r9d
  je     L101
L98:
  cmp    $0x2,%ecx
  je     L118
  sub    $0x2,%ecx
  xor    %edx,%edx
  xor    %r12d,%r12d
  mov    %ecx,%ebx
  mov    %ebx,%r15d
  cmp    $0x1,%ebx
  je     L89
  nop
L278:
  lea    -0x3(%r15),%r10d
  xor    %r14d,%r14d
  cmp    $0x2,%r15d
  je     L300
L52:
  lea    0x1(%r10),%eax
  mov    %r10d,%ebp
  xor    %r13d,%r13d
  cmp    $0x1,%eax
  jbe    L127
  mov    %r15d,%r11d
  mov    %ebp,%edi
  mov    %ebx,%r15d
  xor    %ebx,%ebx
  cmp    $0x1,%ebp
  je     L102
  nopl   0x0(%rax,%rax,1)
L282:
  mov    %ecx,0x2c(%rsp)
  mov    %r8d,0x28(%rsp)
  mov    %r10d,0x24(%rsp)
  mov    %r11d,0x20(%rsp)
  mov    %r9d,0x1c(%rsp)
  mov    %edx,0x18(%rsp)
  mov    %esi,0x14(%rsp)
  mov    %edi,0x10(%rsp)
  call   <fac>
  mov    0x10(%rsp),%edi
  mov    0x14(%rsp),%esi
  add    %eax,%ebx
  mov    0x18(%rsp),%edx
  mov    0x1c(%rsp),%r9d
  sub    $0x2,%edi
  mov    0x20(%rsp),%r11d
  mov    0x24(%rsp),%r10d
  cmp    $0x1,%edi
  mov    0x28(%rsp),%r8d
  mov    0x2c(%rsp),%ecx
  ja     L282
  add    $0x1,%ebx
  lea    -0x2(%rbp),%eax
  sub    $0x1,%ebp
  add    %ebx,%r13d
  cmp    $0x1,%ebp
  jbe    L27
L189:
  mov    %eax,%ebp
  xor    %ebx,%ebx
  mov    %ebp,%edi
  cmp    $0x1,%ebp
  jne    L282
L102:
  mov    $0x1,%ebx
  lea    -0x2(%rbp),%eax
  sub    $0x1,%ebp
  add    %ebx,%r13d
  cmp    $0x1,%ebp
  ja     L189
L27:
  add    $0x1,%r13d
  mov    %r15d,%ebx
  lea    -0x2(%r10),%eax
  mov    %r11d,%r15d
  add    %r13d,%r14d
  cmp    $0x1,%r10d
  ja     L90
L104:
  add    $0x1,%r14d
  sub    $0x2,%r15d
  add    %r14d,%r12d
  cmp    $0x1,%r15d
  ja     L278
L84:
  add    $0x1,%r12d
  lea    -0x2(%rbx),%eax
  sub    $0x1,%ebx
  add    %r12d,%edx
  cmp    $0x1,%ebx
  jbe    L198
L94:
  mov    %eax,%ebx
  xor    %r12d,%r12d
  mov    %ebx,%r15d
  cmp    $0x1,%ebx
  jne    L278
L89:
  mov    $0x1,%r12d
  lea    -0x2(%rbx),%eax
  sub    $0x1,%ebx
  add    %r12d,%edx
  cmp    $0x1,%ebx
  ja     L94
L198:
  add    $0x1,%edx
L159:
  add    %edx,%esi
  cmp    $0x1,%ecx
  ja     L98
  add    $0x1,%esi
L2:
  lea    -0x2(%r9),%eax
  sub    $0x1,%r9d
  add    %esi,0xc(%rsp)
  cmp    $0x1,%r9d
  jbe    L284
  mov    %eax,%r9d
  xor    %esi,%esi
  mov    %r9d,%ecx
  cmp    $0x1,%r9d
  jne    L98
L101:
  mov    $0x1,%esi
  jmp    L2
L300:
  mov    $0x1,%r14d
  sub    $0x2,%r15d
  add    %r14d,%r12d
  cmp    $0x1,%r15d
  ja     L278
  jmp    L84
  nopl   (%rax)
L127:
  mov    $0x1,%r13d
  lea    -0x2(%r10),%eax
  add    %r13d,%r14d
  cmp    $0x1,%r10d
  jbe    L104
L90:
  mov    %eax,%r10d
  jmp    L52
L118:
  mov    $0x1,%edx
  xor    %ecx,%ecx
  jmp    L159
L284:
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
L114:
  add    %eax,0x8(%rsp)
  mov    %r8d,%esi
  cmp    $0x1,%r8d
  ja     L83
  mov    0x8(%rsp),%eax
  add    $0x1,%eax
  jmp    L10
L231:
  mov    $0x1,%eax
L10:
  add    %eax,0x4(%rsp)
  mov    (%rsp),%eax
  lea    -0x2(%rax),%edx
  sub    $0x1,%eax
  cmp    $0x1,%eax
  jbe    L36
  mov    %edx,(%rsp)
  jmp    L256
L36:
  mov    0x4(%rsp),%eax
  add    $0x1,%eax
L85:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L120:
  mov    $0x1,%eax
  xor    %r8d,%r8d
  jmp    L114
```

assistant: ```c
int fac(int n) {
  if (n == 1 || n == 2)
    return 1;
  return fac(n - 1) + fac(n - 2);
}
```