user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<ft_fibonacci>:
  endbr64
  test   %edi,%edi
  js     L252
  mov    %edi,%r11d
  je     L171
  cmp    $0x2,%edi
  jle    L176
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  movl   $0x0,0x4(%rsp)
L199:
  lea    -0x1(%r11),%eax
  mov    %eax,(%rsp)
  cmp    $0x3,%r11d
  je     L14
  movl   $0x0,0x8(%rsp)
  mov    %r11d,0x10(%rsp)
L191:
  mov    (%rsp),%eax
  lea    -0x1(%rax),%edx
  cmp    $0x3,%eax
  je     L125
  movl   $0x0,0xc(%rsp)
L77:
  lea    -0x1(%rdx),%ecx
  cmp    $0x3,%edx
  je     L242
  xor    %eax,%eax
  mov    %ecx,%ebp
  mov    %eax,%ecx
L229:
  lea    -0x1(%rbp),%esi
  cmp    $0x3,%ebp
  je     L76
  mov    %esi,%eax
  xor    %r12d,%r12d
  mov    %ebp,%esi
  mov    %eax,%ebp
L56:
  lea    -0x1(%rbp),%r8d
  cmp    $0x3,%ebp
  je     L26
  mov    %r8d,%eax
  xor    %r13d,%r13d
  mov    %r12d,%r8d
  mov    %edx,%r12d
  mov    %ebp,%edx
  mov    %eax,%ebp
  nopl   (%rax)
L198:
  lea    -0x1(%rbp),%r9d
  cmp    $0x3,%ebp
  je     L0
  xor    %eax,%eax
  mov    %r9d,%ebx
  mov    %r13d,%r9d
  mov    %ebp,%r13d
  mov    %eax,%ebp
  nopw   0x0(%rax,%rax,1)
L287:
  lea    -0x1(%rbx),%r10d
  cmp    $0x3,%ebx
  je     L122
  mov    %r13d,%edi
  mov    %r10d,%eax
  mov    %ecx,%r13d
  mov    %ebp,%r10d
  xor    %r14d,%r14d
  mov    %esi,%ebp
  mov    %edi,%ecx
  mov    %ebx,%esi
  mov    %eax,%ebx
  nopl   0x0(%rax)
L192:
  lea    -0x1(%rbx),%r11d
  cmp    $0x3,%ebx
  je     L205
  mov    %ebx,0x14(%rsp)
  xor    %r15d,%r15d
  mov    %r11d,%ebx
  mov    %r14d,0x18(%rsp)
  mov    %edx,%r14d
  nopw   0x0(%rax,%rax,1)
L78:
  lea    -0x1(%rbx),%edi
  mov    %r10d,0x2c(%rsp)
  sub    $0x2,%ebx
  mov    %esi,0x28(%rsp)
  mov    %r9d,0x24(%rsp)
  mov    %ecx,0x20(%rsp)
  mov    %r8d,0x1c(%rsp)
  call   <ft_fibonacci>
  mov    0x1c(%rsp),%r8d
  mov    0x20(%rsp),%ecx
  add    %eax,%r15d
  cmp    $0x2,%ebx
  mov    0x24(%rsp),%r9d
  mov    0x28(%rsp),%esi
  mov    0x2c(%rsp),%r10d
  jg     L78
  mov    %r14d,%edx
  mov    0x14(%rsp),%ebx
  mov    0x18(%rsp),%r14d
  add    $0x1,%r15d
L111:
  sub    $0x2,%ebx
  add    %r15d,%r14d
  cmp    $0x2,%ebx
  jg     L192
  mov    %ecx,%eax
  mov    %esi,%ebx
  mov    %r13d,%ecx
  mov    %ebp,%esi
  mov    %eax,%r13d
  mov    %r10d,%ebp
  add    $0x1,%r14d
L164:
  sub    $0x2,%ebx
  add    %r14d,%ebp
  cmp    $0x2,%ebx
  jg     L287
  mov    %ebp,%ebx
  mov    %r13d,%ebp
  mov    %r9d,%r13d
  add    $0x1,%ebx
L251:
  sub    $0x2,%ebp
  add    %ebx,%r13d
  cmp    $0x2,%ebp
  jg     L198
  mov    %edx,%ebp
  add    $0x1,%r13d
  mov    %r12d,%edx
  mov    %r8d,%r12d
L246:
  sub    $0x2,%ebp
  add    %r13d,%r12d
  cmp    $0x2,%ebp
  jg     L56
  mov    %esi,%ebp
  add    $0x1,%r12d
L146:
  sub    $0x2,%ebp
  add    %r12d,%ecx
  cmp    $0x2,%ebp
  jg     L229
  mov    %ecx,%ebp
  add    $0x1,%ebp
L85:
  sub    $0x2,%edx
  add    %ebp,0xc(%rsp)
  cmp    $0x2,%edx
  jg     L77
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
L54:
  subl   $0x2,(%rsp)
  mov    (%rsp),%edi
  add    %eax,0x8(%rsp)
  cmp    $0x2,%edi
  jg     L191
  mov    0x8(%rsp),%eax
  mov    0x10(%rsp),%r11d
  add    $0x1,%eax
L240:
  sub    $0x2,%r11d
  add    %eax,0x4(%rsp)
  cmp    $0x2,%r11d
  jg     L199
  mov    0x4(%rsp),%r11d
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  add    $0x1,%r11d
  pop    %r12
  pop    %r13
  mov    %r11d,%eax
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L122:
  mov    $0x1,%r14d
  jmp    L164
L0:
  mov    $0x1,%ebx
  jmp    L251
  nopl   (%rax)
L205:
  mov    $0x1,%r15d
  jmp    L111
L26:
  mov    $0x1,%r13d
  jmp    L246
L76:
  mov    $0x1,%r12d
  jmp    L146
L242:
  mov    $0x1,%ebp
  jmp    L85
L125:
  mov    $0x1,%eax
  jmp    L54
L14:
  mov    $0x1,%eax
  jmp    L240
L252:
  mov    $0xffffffff,%r11d
L171:
  mov    %r11d,%eax
  ret
L176:
  mov    $0x1,%r11d
  jmp    L171
```

assistant: ```c
int ft_fibonacci(int index) {
  if (index < 0)
    return (-1);
  if (index < 1)
    return (0);
  if (index < 3)
    return (1);
  return (ft_fibonacci(index - 1) + ft_fibonacci(index - 2));
}
```