user: 请从给定的汇编指令推导出C源代码:

```asm
<fibo>:
  endbr64
  mov    %edi,%eax
  test   %edi,%edi
  je     L375
  cmp    $0x1,%edi
  je     L375
  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     L436
L471:
  sub    $0x1,%eax
  mov    %eax,0x10(%rsp)
  cmp    $0x1,%edi
  je     L456
  xor    %r10d,%r10d
  mov    %r10d,(%rsp)
L358:
  mov    0xc(%rsp),%eax
  lea    -0x2(%rax),%edi
  mov    %edi,0x8(%rsp)
  cmp    $0x2,%eax
  je     L92
  sub    $0x1,%eax
  mov    %eax,0xc(%rsp)
  cmp    $0x1,%edi
  je     L535
  xor    %esi,%esi
L523:
  mov    0x8(%rsp),%eax
  lea    -0x2(%rax),%r10d
  cmp    $0x2,%eax
  je     L424
  sub    $0x1,%eax
  mov    %eax,0x8(%rsp)
  cmp    $0x1,%r10d
  je     L159
  mov    %esi,0x14(%rsp)
  xor    %r8d,%r8d
  mov    %r8d,%r15d
L107:
  lea    -0x2(%r10),%r11d
  cmp    $0x2,%r10d
  je     L223
  sub    $0x1,%r10d
  cmp    $0x1,%r11d
  je     L408
  mov    %r10d,0x1c(%rsp)
  xor    %r9d,%r9d
  mov    %r15d,0x18(%rsp)
  mov    %r9d,%r14d
  mov    %r11d,%r15d
L213:
  lea    -0x2(%r15),%edx
  cmp    $0x2,%r15d
  je     L301
  sub    $0x1,%r15d
  cmp    $0x1,%edx
  je     L176
  xor    %r13d,%r13d
  mov    %r14d,%esi
  mov    %r15d,%r8d
  mov    %r13d,%ecx
L527:
  lea    -0x2(%rdx),%r12d
  cmp    $0x2,%edx
  je     L140
  sub    $0x1,%edx
  cmp    $0x1,%r12d
  je     L77
  xor    %ebx,%ebx
L214:
  lea    -0x2(%r12),%r13d
  cmp    $0x2,%r12d
  je     L380
L400:
  sub    $0x1,%r12d
  cmp    $0x1,%r13d
  je     L79
  xor    %ebp,%ebp
L422:
  lea    -0x2(%r13),%r15d
  cmp    $0x2,%r13d
  je     L320
L13:
  sub    $0x1,%r13d
  cmp    $0x1,%r15d
  je     L312
  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
L449:
  lea    -0x2(%r15),%edi
  mov    %edx,0x2c(%rsp)
  call   <fibo>
  mov    0x2c(%rsp),%edx
  add    %eax,%r14d
  sub    $0x1,%r15d
  je     L34
  cmp    $0x1,%r15d
  jne    L449
  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
L466:
  add    %r14d,%ebp
  test   %r13d,%r13d
  jne    L1
L26:
  add    %ebp,%ebx
  test   %r12d,%r12d
  jne    L306
  add    %ebx,%ecx
  test   %edx,%edx
  jne    L130
L14:
  mov    %esi,%r14d
  mov    %ecx,%r13d
  mov    %r8d,%r15d
L315:
  add    %r13d,%r14d
  test   %r15d,%r15d
  jne    L388
  mov    0x18(%rsp),%r15d
  mov    0x1c(%rsp),%r10d
  mov    %r14d,%r9d
  add    %r9d,%r15d
  test   %r10d,%r10d
  je     L156
L190:
  cmp    $0x1,%r10d
  jne    L107
L223:
  mov    0x14(%rsp),%esi
  mov    %r15d,%r8d
  mov    0x8(%rsp),%edi
  add    $0x1,%r8d
  add    %r8d,%esi
  test   %edi,%edi
  jne    L473
L183:
  mov    0xc(%rsp),%ecx
  add    %esi,(%rsp)
  test   %ecx,%ecx
  je     L497
L239:
  cmpl   $0x1,0xc(%rsp)
  jne    L358
L92:
  mov    (%rsp),%r10d
  mov    0x4(%rsp),%eax
  mov    0x10(%rsp),%edx
  add    $0x1,%r10d
  add    %r10d,%eax
  test   %edx,%edx
  jne    L6
L311:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L79:
  add    $0x1,%ebx
  lea    -0x2(%r12),%r13d
  cmp    $0x2,%r12d
  jne    L400
L380:
  add    $0x1,%ebx
L169:
  add    %ebx,%ecx
  test   %edx,%edx
  je     L14
L130:
  cmp    $0x1,%edx
  jne    L527
L140:
  mov    %ecx,%r13d
  mov    %esi,%r14d
  mov    %r8d,%r15d
  add    $0x1,%r13d
  jmp    L315
L77:
  add    $0x1,%ecx
  jmp    L527
  nopw   0x0(%rax,%rax,1)
L34:
  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    L466
L388:
  cmp    $0x1,%r15d
  jne    L213
L301:
  mov    0x18(%rsp),%r15d
  mov    %r14d,%r9d
  mov    0x1c(%rsp),%r10d
  add    $0x1,%r9d
  add    %r9d,%r15d
  test   %r10d,%r10d
  jne    L190
L156:
  mov    0x14(%rsp),%esi
  mov    0x8(%rsp),%edi
  mov    %r15d,%r8d
  add    %r8d,%esi
  test   %edi,%edi
  je     L183
L473:
  cmpl   $0x1,0x8(%rsp)
  jne    L523
L424:
  mov    0xc(%rsp),%ecx
  add    $0x1,%esi
  add    %esi,(%rsp)
  test   %ecx,%ecx
  jne    L239
L497:
  mov    (%rsp),%r10d
  mov    0x4(%rsp),%eax
  mov    0x10(%rsp),%edx
  add    %r10d,%eax
  test   %edx,%edx
  je     L311
L6:
  cmpl   $0x1,0x10(%rsp)
  je     L325
L378:
  mov    %eax,0x4(%rsp)
  mov    0x10(%rsp),%eax
  lea    -0x2(%rax),%edi
  mov    %edi,0xc(%rsp)
  cmp    $0x2,%eax
  jne    L471
L436:
  mov    0x4(%rsp),%eax
L325:
  add    $0x38,%rsp
  add    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L312:
  add    $0x1,%ebp
  lea    -0x2(%r13),%r15d
  cmp    $0x2,%r13d
  jne    L13
  nopl   0x0(%rax)
L320:
  add    $0x1,%ebp
  jmp    L26
L176:
  add    $0x1,%r14d
  jmp    L213
L408:
  add    $0x1,%r15d
  jmp    L107
L306:
  cmp    $0x1,%r12d
  jne    L214
  add    $0x1,%ebx
  jmp    L169
L1:
  cmp    $0x1,%r13d
  jne    L422
  add    $0x1,%ebp
  jmp    L26
L159:
  add    $0x1,%esi
  jmp    L523
L535:
  addl   $0x1,(%rsp)
  jmp    L358
L456:
  mov    0x4(%rsp),%eax
  add    $0x1,%eax
  jmp    L378
L375:
  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));
  }
}
```