user: Converte this assembly snippet into its equivalent C code:

```asm
<fabonacci>:
  endbr64
  push   %r15
  mov    %edi,%eax
  lea    -0x1(%rdi),%edx
  push   %r14
  sub    $0x2,%eax
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %eax,(%rsp)
  mov    $0x1,%eax
  movl   $0x0,0x4(%rsp)
  cmp    $0x1,%edx
  jbe    L166
L203:
  mov    (%rsp),%eax
  movl   $0x0,0x8(%rsp)
  mov    %eax,%esi
  cmp    $0x1,%eax
  jbe    L255
L184:
  cmp    $0x2,%esi
  je     L181
  lea    -0x2(%rsi),%r8d
  movl   $0x0,0xc(%rsp)
  xor    %esi,%esi
  mov    %r8d,%r9d
  mov    %r9d,%ecx
  cmp    $0x1,%r9d
  je     L12
L130:
  cmp    $0x2,%ecx
  je     L79
  sub    $0x2,%ecx
  xor    %edx,%edx
  xor    %r12d,%r12d
  mov    %ecx,%ebx
  mov    %ebx,%r15d
  cmp    $0x1,%ebx
  je     L7
  nop
L113:
  lea    -0x3(%r15),%r10d
  xor    %r14d,%r14d
  cmp    $0x2,%r15d
  je     L280
L21:
  lea    0x1(%r10),%eax
  mov    %r10d,%ebp
  xor    %r13d,%r13d
  cmp    $0x1,%eax
  jbe    L86
  mov    %r15d,%r11d
  mov    %ebp,%edi
  mov    %ebx,%r15d
  xor    %ebx,%ebx
  cmp    $0x1,%ebp
  je     L147
  nopl   0x0(%rax,%rax,1)
L95:
  mov    %ecx,0x2c(%rsp)
  mov    %r8d,0x28(%rsp)
  mov    %r10d,0x24(%rsp)
  mov    %r11d,0x20(%rsp)
  mov    %r9d,0x1c(%rsp)
  mov    %edx,0x18(%rsp)
  mov    %esi,0x14(%rsp)
  mov    %edi,0x10(%rsp)
  call   <fabonacci>
  mov    0x10(%rsp),%edi
  mov    0x14(%rsp),%esi
  add    %eax,%ebx
  mov    0x18(%rsp),%edx
  mov    0x1c(%rsp),%r9d
  sub    $0x2,%edi
  mov    0x20(%rsp),%r11d
  mov    0x24(%rsp),%r10d
  cmp    $0x1,%edi
  mov    0x28(%rsp),%r8d
  mov    0x2c(%rsp),%ecx
  ja     L95
  add    $0x1,%ebx
  lea    -0x2(%rbp),%eax
  sub    $0x1,%ebp
  add    %ebx,%r13d
  cmp    $0x1,%ebp
  jbe    L205
L164:
  mov    %eax,%ebp
  xor    %ebx,%ebx
  mov    %ebp,%edi
  cmp    $0x1,%ebp
  jne    L95
L147:
  mov    $0x1,%ebx
  lea    -0x2(%rbp),%eax
  sub    $0x1,%ebp
  add    %ebx,%r13d
  cmp    $0x1,%ebp
  ja     L164
L205:
  add    $0x1,%r13d
  mov    %r15d,%ebx
  lea    -0x2(%r10),%eax
  mov    %r11d,%r15d
  add    %r13d,%r14d
  cmp    $0x1,%r10d
  ja     L172
L92:
  add    $0x1,%r14d
  sub    $0x2,%r15d
  add    %r14d,%r12d
  cmp    $0x1,%r15d
  ja     L113
L123:
  add    $0x1,%r12d
  lea    -0x2(%rbx),%eax
  sub    $0x1,%ebx
  add    %r12d,%edx
  cmp    $0x1,%ebx
  jbe    L160
L90:
  mov    %eax,%ebx
  xor    %r12d,%r12d
  mov    %ebx,%r15d
  cmp    $0x1,%ebx
  jne    L113
L7:
  mov    $0x1,%r12d
  lea    -0x2(%rbx),%eax
  sub    $0x1,%ebx
  add    %r12d,%edx
  cmp    $0x1,%ebx
  ja     L90
L160:
  add    $0x1,%edx
L299:
  add    %edx,%esi
  cmp    $0x1,%ecx
  ja     L130
  add    $0x1,%esi
L259:
  lea    -0x2(%r9),%eax
  sub    $0x1,%r9d
  add    %esi,0xc(%rsp)
  cmp    $0x1,%r9d
  jbe    L213
  mov    %eax,%r9d
  xor    %esi,%esi
  mov    %r9d,%ecx
  cmp    $0x1,%r9d
  jne    L130
L12:
  mov    $0x1,%esi
  jmp    L259
L280:
  mov    $0x1,%r14d
  sub    $0x2,%r15d
  add    %r14d,%r12d
  cmp    $0x1,%r15d
  ja     L113
  jmp    L123
  nopl   (%rax)
L86:
  mov    $0x1,%r13d
  lea    -0x2(%r10),%eax
  add    %r13d,%r14d
  cmp    $0x1,%r10d
  jbe    L92
L172:
  mov    %eax,%r10d
  jmp    L21
L79:
  mov    $0x1,%edx
  xor    %ecx,%ecx
  jmp    L299
L213:
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
L314:
  add    %eax,0x8(%rsp)
  mov    %r8d,%esi
  cmp    $0x1,%r8d
  ja     L184
  mov    0x8(%rsp),%eax
  add    $0x1,%eax
  jmp    L11
L255:
  mov    $0x1,%eax
L11:
  add    %eax,0x4(%rsp)
  mov    (%rsp),%eax
  lea    -0x2(%rax),%edx
  sub    $0x1,%eax
  cmp    $0x1,%eax
  jbe    L293
  mov    %edx,(%rsp)
  jmp    L203
L293:
  mov    0x4(%rsp),%eax
  add    $0x1,%eax
L166:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L181:
  mov    $0x1,%eax
  xor    %r8d,%r8d
  jmp    L314
```

assistant: ```c
int fabonacci(int n) {
  if (n == 1 || n == 2) {
    return 1;
  } else
    return fabonacci(n - 1) + fabonacci(n - 2);
}
```