user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<fibonacci>:
  endbr64
  push   %r15
  lea    -0x1(%rdi),%rax
  mov    %rdi,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %rax,0x8(%rsp)
  movq   $0x0,0x20(%rsp)
  cmp    $0x1,%rdi
  jbe    L3
  mov    0x8(%rsp),%rax
  mov    %rdi,0x60(%rsp)
  cmp    $0x1,%rax
  jbe    L281
L56:
  movq   $0x0,0x28(%rsp)
  mov    0x8(%rsp),%rax
  sub    $0x1,%rax
  mov    %rax,0x40(%rsp)
  mov    %rax,0x10(%rsp)
  mov    0x10(%rsp),%rax
  cmp    $0x1,%rax
  je     L100
L182:
  movq   $0x0,0x30(%rsp)
  mov    0x10(%rsp),%rax
  sub    $0x1,%rax
  mov    %rax,0x48(%rsp)
  mov    %rax,0x18(%rsp)
  mov    0x18(%rsp),%rax
  cmp    $0x1,%rax
  je     L103
L91:
  movq   $0x0,0x38(%rsp)
  mov    0x18(%rsp),%rax
  sub    $0x1,%rax
  mov    %rax,%r11
  mov    %rax,0x58(%rsp)
  mov    %r11,%rax
  cmp    $0x1,%r11
  je     L129
L81:
  lea    -0x1(%r11),%rax
  xor    %r15d,%r15d
  mov    %rax,%rbx
  mov    %rax,0x50(%rsp)
  mov    %rbx,%rax
  cmp    $0x1,%rbx
  je     L174
L157:
  lea    -0x1(%rbx),%r13
  xor    %r14d,%r14d
  mov    %r13,%r12
L248:
  mov    %r12,%rax
  lea    -0x3(%r12),%rdx
  xor    %ecx,%ecx
  cmp    $0x1,%r12
  je     L151
L50:
  lea    0x2(%rdx),%rax
  lea    0x1(%rdx),%rsi
  cmp    $0xffffffffffffffff,%rdx
  je     L209
  mov    %rsi,%rbp
  mov    %r13,%r9
  xor    %r8d,%r8d
  mov    %r12,%r13
  xor    %r10d,%r10d
  mov    %rbx,%r12
  mov    %rbp,%rbx
  cmp    $0x1,%rbp
  je     L194
L25:
  lea    -0x1(%rbx),%rdi
  mov    %r9,0x98(%rsp)
  sub    $0x2,%rbx
  mov    %rsi,0x90(%rsp)
  mov    %rdx,0x88(%rsp)
  mov    %r11,0x80(%rsp)
  mov    %r10,0x78(%rsp)
  mov    %r8,0x70(%rsp)
  mov    %rcx,0x68(%rsp)
  call   <fibonacci>
  mov    0x78(%rsp),%r10
  mov    0x68(%rsp),%rcx
  mov    0x70(%rsp),%r8
  mov    0x80(%rsp),%r11
  add    %rax,%r10
  cmp    $0x1,%rbx
  mov    0x88(%rsp),%rdx
  mov    0x90(%rsp),%rsi
  mov    0x98(%rsp),%r9
  ja     L25
  mov    %rbp,%rbx
  lea    -0x2(%rbp),%rax
  sub    $0x1,%rbp
  and    $0x1,%ebx
  add    %r10,%rbx
  add    %rbx,%r8
  cmp    $0x1,%rbp
  jbe    L84
L247:
  mov    %rax,%rbp
  xor    %r10d,%r10d
  mov    %rbp,%rbx
  cmp    $0x1,%rbp
  jne    L25
L194:
  sub    $0x1,%rbp
  mov    $0xffffffffffffffff,%rax
  add    %rbx,%r8
  cmp    $0x1,%rbp
  ja     L247
L84:
  mov    %rdx,%rax
  mov    %r12,%rbx
  mov    %r13,%r12
  mov    %r9,%r13
  and    $0x1,%eax
  add    %r8,%rax
L209:
  add    %rax,%rcx
  sub    $0x2,%rdx
  cmp    $0x1,%rsi
  ja     L50
  mov    %r12,%rax
  lea    -0x2(%r12),%rdx
  sub    $0x1,%r12
  and    $0x1,%eax
  add    %rcx,%rax
  add    %rax,%r14
  cmp    $0x1,%r12
  ja     L132
L110:
  mov    %rbx,%rax
  lea    -0x2(%rbx),%rdx
  and    $0x1,%eax
  add    %r14,%rax
  add    %rax,%r15
  cmp    $0x1,%r13
  jbe    L207
L229:
  mov    %rdx,%rbx
  mov    %rbx,%rax
  cmp    $0x1,%rbx
  jne    L157
L174:
  xor    %r13d,%r13d
  mov    $0xffffffffffffffff,%rdx
  add    %rax,%r15
  cmp    $0x1,%r13
  ja     L229
L207:
  mov    %r11,%rax
  lea    -0x2(%r11),%rdx
  and    $0x1,%eax
  add    %r15,%rax
  add    %rax,0x38(%rsp)
  cmpq   $0x1,0x50(%rsp)
  jbe    L104
L88:
  mov    %rdx,%r11
  mov    %r11,%rax
  cmp    $0x1,%r11
  jne    L81
L129:
  add    %rax,0x38(%rsp)
  mov    $0xffffffffffffffff,%rdx
  movq   $0x0,0x50(%rsp)
  cmpq   $0x1,0x50(%rsp)
  ja     L88
L104:
  mov    0x18(%rsp),%rax
  lea    -0x2(%rax),%rdx
  and    $0x1,%eax
  add    0x38(%rsp),%rax
  add    %rax,0x30(%rsp)
  cmpq   $0x1,0x58(%rsp)
  jbe    L284
L215:
  mov    %rdx,0x18(%rsp)
  mov    0x18(%rsp),%rax
  cmp    $0x1,%rax
  jne    L91
L103:
  add    %rax,0x30(%rsp)
  mov    $0xffffffffffffffff,%rdx
  movq   $0x0,0x58(%rsp)
  cmpq   $0x1,0x58(%rsp)
  ja     L215
L284:
  mov    0x10(%rsp),%rax
  lea    -0x2(%rax),%rdx
  and    $0x1,%eax
  add    0x30(%rsp),%rax
  add    %rax,0x28(%rsp)
  cmpq   $0x1,0x48(%rsp)
  jbe    L1
L112:
  mov    %rdx,0x10(%rsp)
  mov    0x10(%rsp),%rax
  cmp    $0x1,%rax
  jne    L182
L100:
  add    %rax,0x28(%rsp)
  mov    $0xffffffffffffffff,%rdx
  movq   $0x0,0x48(%rsp)
  cmpq   $0x1,0x48(%rsp)
  ja     L112
L1:
  mov    0x8(%rsp),%rax
  lea    -0x2(%rax),%rdx
  and    $0x1,%eax
  add    0x28(%rsp),%rax
  add    %rax,0x20(%rsp)
  cmpq   $0x1,0x40(%rsp)
  jbe    L54
L95:
  mov    %rdx,0x8(%rsp)
  mov    0x8(%rsp),%rax
  cmp    $0x1,%rax
  ja     L56
L281:
  lea    -0x1(%rax),%rdi
  add    %rax,0x20(%rsp)
  lea    -0x2(%rax),%rdx
  mov    %rdi,0x40(%rsp)
  cmpq   $0x1,0x40(%rsp)
  ja     L95
L54:
  mov    0x60(%rsp),%rax
  mov    0x20(%rsp),%r15
  and    $0x1,%eax
  add    %rax,%r15
L3:
  add    $0xa8,%rsp
  mov    %r15,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L151:
  sub    $0x1,%r12
  mov    $0xffffffffffffffff,%rdx
  add    %rax,%r14
  cmp    $0x1,%r12
  jbe    L110
L132:
  mov    %rdx,%r12
  jmp    L248
```

assistant: ```c
long fibonacci(long n) {
  if (n == 0 || n == 1)
    return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
}
```