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

```asm
<fibonacci>:
  endbr64
  test   %edi,%edi
  je     L131
  cmp    $0x1,%edi
  je     L141
  push   %r15
  xor    %r11d,%r11d
  mov    %edi,%r9d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %r11,(%rsp)
L128:
  lea    -0x1(%r9),%eax
  xor    %r11d,%r11d
  mov    %r9d,0x48(%rsp)
  mov    %eax,0x40(%rsp)
  mov    %r11,0x8(%rsp)
L274:
  mov    0x40(%rsp),%eax
  cmp    $0x1,%eax
  je     L78
  sub    $0x1,%eax
  xor    %esi,%esi
  mov    %eax,0x44(%rsp)
  mov    %rsi,0x10(%rsp)
L140:
  mov    0x44(%rsp),%eax
  cmp    $0x1,%eax
  je     L291
  xor    %esi,%esi
  lea    -0x1(%rax),%r9d
  mov    %rsi,0x18(%rsp)
  mov    %r9d,%esi
L187:
  cmp    $0x1,%esi
  je     L32
  xor    %r8d,%r8d
  mov    %esi,0x4c(%rsp)
  lea    -0x1(%rsi),%r10d
  mov    %r8,0x20(%rsp)
  mov    %r10d,%r15d
L28:
  cmp    $0x1,%r15d
  je     L73
  lea    -0x1(%r15),%r12d
  mov    %r15d,%ecx
  xor    %r8d,%r8d
  mov    %r12d,%r15d
L116:
  cmp    $0x1,%r15d
  je     L65
  xor    %r13d,%r13d
  lea    -0x1(%r15),%ebx
  mov    %r15d,%edx
  mov    %r13,%r15
L7:
  cmp    $0x1,%ebx
  je     L84
  mov    %r15,%rax
  lea    -0x1(%rbx),%r13d
  mov    %ebx,%r15d
  xor    %r12d,%r12d
  mov    %ecx,%ebx
  mov    %rax,%rcx
L144:
  cmp    $0x1,%r13d
  je     L3
  mov    %r13d,0x2c(%rsp)
  lea    -0x1(%r13),%ebp
  xor    %r14d,%r14d
  mov    %r8,%r13
  mov    %r12,0x30(%rsp)
  mov    %edx,%r12d
L27:
  cmp    $0x1,%ebp
  je     L223
  lea    -0x1(%rbp),%edi
  mov    %rcx,0x38(%rsp)
  call   <fibonacci>
  mov    0x38(%rsp),%rcx
  add    %rax,%r14
  sub    $0x2,%ebp
  jne    L27
  mov    %r12d,%edx
  mov    %r13,%r8
  mov    0x30(%rsp),%r12
  mov    0x2c(%rsp),%r13d
L236:
  add    %r14,%r12
  sub    $0x2,%r13d
  jne    L144
  mov    %rcx,%rax
  mov    %ebx,%ecx
  mov    %r15d,%ebx
  mov    %rax,%r15
L10:
  add    %r12,%r15
  sub    $0x2,%ebx
  jne    L7
  mov    %r15,%r13
  mov    %edx,%r15d
L295:
  add    %r13,%r8
  sub    $0x2,%r15d
  jne    L116
  mov    %ecx,%r15d
L209:
  add    %r8,0x20(%rsp)
  sub    $0x2,%r15d
  jne    L28
  mov    0x4c(%rsp),%esi
  mov    0x20(%rsp),%r8
L241:
  add    %r8,0x18(%rsp)
  sub    $0x2,%esi
  jne    L187
  mov    0x18(%rsp),%rsi
L261:
  add    %rsi,0x10(%rsp)
  subl   $0x2,0x44(%rsp)
  jne    L140
  mov    0x10(%rsp),%rsi
L33:
  add    %rsi,0x8(%rsp)
  subl   $0x2,0x40(%rsp)
  jne    L274
  mov    0x48(%rsp),%r9d
  mov    0x8(%rsp),%r11
  add    %r11,(%rsp)
  sub    $0x2,%r9d
  jne    L145
L199:
  mov    (%rsp),%r11
  jmp    L158
  nopl   0x0(%rax,%rax,1)
L223:
  mov    %r12d,%edx
  mov    %r13,%r8
  mov    0x30(%rsp),%r12
  mov    0x2c(%rsp),%r13d
  add    $0x1,%r14
  jmp    L236
  nopl   0x0(%rax)
L3:
  mov    %rcx,%rax
  add    $0x1,%r12
  mov    %ebx,%ecx
  mov    %r15d,%ebx
  mov    %rax,%r15
  jmp    L10
L65:
  mov    %ecx,%r15d
  add    $0x1,%r8
  jmp    L209
L84:
  mov    %r15,%r13
  mov    %edx,%r15d
  add    $0x1,%r13
  jmp    L295
L73:
  mov    0x20(%rsp),%r8
  mov    0x4c(%rsp),%esi
  add    $0x1,%r8
  jmp    L241
L32:
  mov    0x18(%rsp),%rsi
  add    $0x1,%rsi
  jmp    L261
L291:
  mov    0x10(%rsp),%rsi
  add    $0x1,%rsi
  jmp    L33
L78:
  mov    0x8(%rsp),%r11
  mov    0x48(%rsp),%r9d
  add    $0x1,%r11
  add    %r11,(%rsp)
  sub    $0x2,%r9d
  je     L199
L145:
  cmp    $0x1,%r9d
  jne    L128
  mov    (%rsp),%r11
  add    $0x1,%r11
L158:
  add    $0x58,%rsp
  mov    %r11,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L131:
  xor    %r11d,%r11d
L219:
  mov    %r11,%rax
  ret
L141:
  mov    $0x1,%r11d
  jmp    L219
```

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