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

```asm
<fibonacci>:
  endbr64
  test   %edi,%edi
  js     L93
  mov    %edi,%r8d
  je     L235
  cmp    $0x1,%edi
  je     L235
  push   %r15
  xor    %r8d,%r8d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,0xc(%rsp)
  mov    %r8d,(%rsp)
L196:
  mov    0xc(%rsp),%eax
  lea    -0x1(%rax),%edi
  mov    %edi,0x10(%rsp)
  cmp    $0x2,%eax
  je     L313
  xor    %r11d,%r11d
  mov    %r11d,0x4(%rsp)
L228:
  mov    0x10(%rsp),%eax
  lea    -0x1(%rax),%r11d
  cmp    $0x2,%eax
  je     L104
  xor    %ebx,%ebx
  mov    %ebx,0x8(%rsp)
L169:
  lea    -0x1(%r11),%r10d
  cmp    $0x2,%r11d
  je     L215
  xor    %r9d,%r9d
L203:
  lea    -0x1(%r10),%edx
  cmp    $0x2,%r10d
  je     L306
  xor    %r8d,%r8d
L80:
  lea    -0x1(%rdx),%ebx
  cmp    $0x2,%edx
  je     L29
  xor    %esi,%esi
L141:
  lea    -0x1(%rbx),%r13d
  cmp    $0x2,%ebx
  je     L165
  xor    %r12d,%r12d
  mov    %ebx,%ecx
  nopl   0x0(%rax)
L193:
  lea    -0x1(%r13),%r14d
  cmp    $0x2,%r13d
  je     L83
  xor    %ebp,%ebp
L15:
  lea    -0x1(%r14),%r15d
  cmp    $0x2,%r14d
  je     L351
  mov    %r13d,0x14(%rsp)
  xor    %ebx,%ebx
  mov    %r10d,%r13d
  mov    %r12d,0x18(%rsp)
  mov    %r11d,%r12d
  mov    %r14d,0x1c(%rsp)
  mov    %esi,%r14d
  jmp    L223
  nopw   0x0(%rax,%rax,1)
L176:
  cmp    $0x1,%r15d
  je     L232
L223:
  lea    -0x1(%r15),%edi
  mov    %ecx,0x2c(%rsp)
  mov    %edx,0x28(%rsp)
  mov    %r8d,0x24(%rsp)
  mov    %r9d,0x20(%rsp)
  call   <fibonacci>
  mov    0x20(%rsp),%r9d
  mov    0x24(%rsp),%r8d
  add    %eax,%ebx
  sub    $0x2,%r15d
  mov    0x28(%rsp),%edx
  mov    0x2c(%rsp),%ecx
  jne    L176
  mov    %r12d,%r11d
  mov    %r13d,%r10d
  mov    %r14d,%esi
  mov    0x14(%rsp),%r13d
  mov    0x18(%rsp),%r12d
  mov    0x1c(%rsp),%r14d
L105:
  add    %ebx,%ebp
  sub    $0x2,%r14d
  je     L56
  cmp    $0x1,%r14d
  jne    L15
L351:
  add    $0x1,%ebp
L56:
  add    %ebp,%r12d
  sub    $0x2,%r13d
  je     L39
  cmp    $0x1,%r13d
  jne    L193
L83:
  add    $0x1,%r12d
  mov    %ecx,%ebx
  add    %r12d,%esi
  sub    $0x2,%ebx
  je     L349
L166:
  cmp    $0x1,%ebx
  jne    L141
L165:
  mov    %esi,%ebp
  add    $0x1,%ebp
  add    %ebp,%r8d
  sub    $0x2,%edx
  je     L199
L323:
  cmp    $0x1,%edx
  jne    L80
L29:
  mov    %r8d,%ebx
  add    $0x1,%ebx
  add    %ebx,%r9d
  sub    $0x2,%r10d
  je     L68
L106:
  cmp    $0x1,%r10d
  jne    L203
L306:
  mov    %r9d,%ebp
  add    $0x1,%ebp
  add    %ebp,0x8(%rsp)
  sub    $0x2,%r11d
  je     L154
L49:
  cmp    $0x1,%r11d
  jne    L169
L215:
  mov    0x8(%rsp),%ebx
  add    $0x1,%ebx
L264:
  add    %ebx,0x4(%rsp)
  subl   $0x2,0x10(%rsp)
  je     L32
  cmpl   $0x1,0x10(%rsp)
  jne    L228
L104:
  mov    0x4(%rsp),%r11d
  add    $0x1,%r11d
L126:
  add    %r11d,(%rsp)
  subl   $0x2,0xc(%rsp)
  je     L305
  cmpl   $0x1,0xc(%rsp)
  jne    L196
L313:
  mov    (%rsp),%r8d
  add    $0x1,%r8d
L222:
  add    $0x38,%rsp
  mov    %r8d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L39:
  mov    %ecx,%ebx
  add    %r12d,%esi
  sub    $0x2,%ebx
  jne    L166
L349:
  mov    %esi,%ebp
  add    %ebp,%r8d
  sub    $0x2,%edx
  jne    L323
L199:
  mov    %r8d,%ebx
  add    %ebx,%r9d
  sub    $0x2,%r10d
  jne    L106
L68:
  mov    %r9d,%ebp
  add    %ebp,0x8(%rsp)
  sub    $0x2,%r11d
  jne    L49
L154:
  mov    0x8(%rsp),%ebx
  jmp    L264
  nopw   0x0(%rax,%rax,1)
L232:
  mov    %r12d,%r11d
  mov    %r13d,%r10d
  mov    %r14d,%esi
  mov    0x14(%rsp),%r13d
  mov    0x18(%rsp),%r12d
  mov    0x1c(%rsp),%r14d
  add    $0x1,%ebx
  jmp    L105
L93:
  mov    $0xffffffff,%r8d
L235:
  mov    %r8d,%eax
  ret
L32:
  mov    0x4(%rsp),%r11d
  jmp    L126
L305:
  mov    (%rsp),%r8d
  jmp    L222
```

assistant: ```c
int fibonacci(int N) {
  if (N < 0) {
    return -1;
  } else {
    if (N == 0) {
      return 0;
    } else {
      if (N == 1) {
        return 1;
      } else {
        return fibonacci(N - 1) + fibonacci(N - 2);
      }
    }
  }
}
```