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

```asm
<fibo>:
  endbr64
  mov    %edi,%eax
  test   %edi,%edi
  je     L171
  cmp    $0x1,%edi
  je     L171
  push   %r15
  lea    -0x2(%rax),%edi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  movl   $0x0,0x4(%rsp)
  mov    %edi,0xc(%rsp)
  cmp    $0x2,%eax
  je     L309
L207:
  sub    $0x1,%eax
  mov    %eax,0x10(%rsp)
  cmp    $0x1,%edi
  je     L31
  xor    %r10d,%r10d
  mov    %r10d,(%rsp)
L381:
  mov    0xc(%rsp),%eax
  lea    -0x2(%rax),%edi
  mov    %edi,0x8(%rsp)
  cmp    $0x2,%eax
  je     L230
  sub    $0x1,%eax
  mov    %eax,0xc(%rsp)
  cmp    $0x1,%edi
  je     L442
  xor    %esi,%esi
L547:
  mov    0x8(%rsp),%eax
  lea    -0x2(%rax),%r10d
  cmp    $0x2,%eax
  je     L107
  sub    $0x1,%eax
  mov    %eax,0x8(%rsp)
  cmp    $0x1,%r10d
  je     L280
  mov    %esi,0x14(%rsp)
  xor    %r8d,%r8d
  mov    %r8d,%r15d
L68:
  lea    -0x2(%r10),%r11d
  cmp    $0x2,%r10d
  je     L245
  sub    $0x1,%r10d
  cmp    $0x1,%r11d
  je     L264
  mov    %r10d,0x1c(%rsp)
  xor    %r9d,%r9d
  mov    %r15d,0x18(%rsp)
  mov    %r9d,%r14d
  mov    %r11d,%r15d
L151:
  lea    -0x2(%r15),%edx
  cmp    $0x2,%r15d
  je     L88
  sub    $0x1,%r15d
  cmp    $0x1,%edx
  je     L9
  xor    %r13d,%r13d
  mov    %r14d,%esi
  mov    %r15d,%r8d
  mov    %r13d,%ecx
L125:
  lea    -0x2(%rdx),%r12d
  cmp    $0x2,%edx
  je     L51
  sub    $0x1,%edx
  cmp    $0x1,%r12d
  je     L137
  xor    %ebx,%ebx
L402:
  lea    -0x2(%r12),%r13d
  cmp    $0x2,%r12d
  je     L52
L247:
  sub    $0x1,%r12d
  cmp    $0x1,%r13d
  je     L499
  xor    %ebp,%ebp
L314:
  lea    -0x2(%r13),%r15d
  cmp    $0x2,%r13d
  je     L176
L206:
  sub    $0x1,%r13d
  cmp    $0x1,%r15d
  je     L91
  mov    %r12d,0x20(%rsp)
  xor    %r14d,%r14d
  mov    %ebp,%r12d
  mov    %ecx,%ebp
  mov    %ebx,0x24(%rsp)
  mov    %esi,%ebx
  mov    %r13d,0x28(%rsp)
  mov    %r8d,%r13d
L382:
  lea    -0x2(%r15),%edi
  mov    %edx,0x2c(%rsp)
  call   <fibo>
  mov    0x2c(%rsp),%edx
  add    %eax,%r14d
  sub    $0x1,%r15d
  je     L396
  cmp    $0x1,%r15d
  jne    L382
  mov    %ebx,%esi
  mov    %ebp,%ecx
  mov    %r13d,%r8d
  mov    %r12d,%ebp
  mov    0x24(%rsp),%ebx
  mov    0x20(%rsp),%r12d
  add    $0x1,%r14d
  mov    0x28(%rsp),%r13d
L80:
  add    %r14d,%ebp
  test   %r13d,%r13d
  jne    L538
L136:
  add    %ebp,%ebx
  test   %r12d,%r12d
  jne    L152
  add    %ebx,%ecx
  test   %edx,%edx
  jne    L423
L329:
  mov    %esi,%r14d
  mov    %ecx,%r13d
  mov    %r8d,%r15d
L486:
  add    %r13d,%r14d
  test   %r15d,%r15d
  jne    L544
  mov    0x18(%rsp),%r15d
  mov    0x1c(%rsp),%r10d
  mov    %r14d,%r9d
  add    %r9d,%r15d
  test   %r10d,%r10d
  je     L321
L299:
  cmp    $0x1,%r10d
  jne    L68
L245:
  mov    0x14(%rsp),%esi
  mov    %r15d,%r8d
  mov    0x8(%rsp),%edi
  add    $0x1,%r8d
  add    %r8d,%esi
  test   %edi,%edi
  jne    L497
L392:
  mov    0xc(%rsp),%ecx
  add    %esi,(%rsp)
  test   %ecx,%ecx
  je     L140
L311:
  cmpl   $0x1,0xc(%rsp)
  jne    L381
L230:
  mov    (%rsp),%r10d
  mov    0x4(%rsp),%eax
  mov    0x10(%rsp),%edx
  add    $0x1,%r10d
  add    %r10d,%eax
  test   %edx,%edx
  jne    L14
L341:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L499:
  add    $0x1,%ebx
  lea    -0x2(%r12),%r13d
  cmp    $0x2,%r12d
  jne    L247
L52:
  add    $0x1,%ebx
L432:
  add    %ebx,%ecx
  test   %edx,%edx
  je     L329
L423:
  cmp    $0x1,%edx
  jne    L125
L51:
  mov    %ecx,%r13d
  mov    %esi,%r14d
  mov    %r8d,%r15d
  add    $0x1,%r13d
  jmp    L486
L137:
  add    $0x1,%ecx
  jmp    L125
  nopw   0x0(%rax,%rax,1)
L396:
  mov    %ebx,%esi
  mov    %ebp,%ecx
  mov    %r13d,%r8d
  mov    %r12d,%ebp
  mov    0x24(%rsp),%ebx
  mov    0x20(%rsp),%r12d
  mov    0x28(%rsp),%r13d
  jmp    L80
L544:
  cmp    $0x1,%r15d
  jne    L151
L88:
  mov    0x18(%rsp),%r15d
  mov    %r14d,%r9d
  mov    0x1c(%rsp),%r10d
  add    $0x1,%r9d
  add    %r9d,%r15d
  test   %r10d,%r10d
  jne    L299
L321:
  mov    0x14(%rsp),%esi
  mov    0x8(%rsp),%edi
  mov    %r15d,%r8d
  add    %r8d,%esi
  test   %edi,%edi
  je     L392
L497:
  cmpl   $0x1,0x8(%rsp)
  jne    L547
L107:
  mov    0xc(%rsp),%ecx
  add    $0x1,%esi
  add    %esi,(%rsp)
  test   %ecx,%ecx
  jne    L311
L140:
  mov    (%rsp),%r10d
  mov    0x4(%rsp),%eax
  mov    0x10(%rsp),%edx
  add    %r10d,%eax
  test   %edx,%edx
  je     L341
L14:
  cmpl   $0x1,0x10(%rsp)
  je     L403
L413:
  mov    %eax,0x4(%rsp)
  mov    0x10(%rsp),%eax
  lea    -0x2(%rax),%edi
  mov    %edi,0xc(%rsp)
  cmp    $0x2,%eax
  jne    L207
L309:
  mov    0x4(%rsp),%eax
L403:
  add    $0x38,%rsp
  add    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L91:
  add    $0x1,%ebp
  lea    -0x2(%r13),%r15d
  cmp    $0x2,%r13d
  jne    L206
  nopl   0x0(%rax)
L176:
  add    $0x1,%ebp
  jmp    L136
L9:
  add    $0x1,%r14d
  jmp    L151
L264:
  add    $0x1,%r15d
  jmp    L68
L152:
  cmp    $0x1,%r12d
  jne    L402
  add    $0x1,%ebx
  jmp    L432
L538:
  cmp    $0x1,%r13d
  jne    L314
  add    $0x1,%ebp
  jmp    L136
L280:
  add    $0x1,%esi
  jmp    L547
L442:
  addl   $0x1,(%rsp)
  jmp    L381
L31:
  mov    0x4(%rsp),%eax
  add    $0x1,%eax
  jmp    L413
L171:
  ret
```

assistant: ```c
int fibo(int n) {
  if (n == 0) {
    return 0;
  } else if (n == 1) {
    return 1;
  } else {
    return (fibo(n - 2) + fibo(n - 1));
  }
}
```