user: Translate the below assembly code into C programming language:

```asm
<fib_rec>:
  endbr64
  cmp    $0x1,%edi
  jbe    L151
  push   %r15
  lea    -0x1(%rdi),%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %eax,0x8(%rsp)
  mov    0x8(%rsp),%eax
  movl   $0x0,0x14(%rsp)
  cmp    $0x1,%eax
  jbe    L195
L149:
  sub    $0x1,%eax
  movl   $0x0,0x18(%rsp)
  mov    %eax,0x24(%rsp)
  mov    %eax,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0x1,%eax
  je     L8
L12:
  sub    $0x1,%eax
  movl   $0x0,0x1c(%rsp)
  mov    %eax,0x28(%rsp)
  mov    %eax,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    $0x1,%eax
  je     L182
L45:
  sub    $0x1,%eax
  movl   $0x0,0x20(%rsp)
  mov    %eax,0x30(%rsp)
  mov    %eax,%r11d
L81:
  cmp    $0x1,%r11d
  je     L74
  lea    -0x1(%r11),%eax
  xor    %ecx,%ecx
  mov    %eax,0x2c(%rsp)
  mov    %eax,%ebp
L144:
  cmp    $0x1,%ebp
  je     L127
  lea    -0x1(%rbp),%edx
  xor    %r12d,%r12d
  mov    %edx,%r13d
L253:
  cmp    $0x1,%r13d
  je     L91
  lea    -0x2(%r13),%esi
  xor    %r14d,%r14d
  mov    %esi,%r8d
L166:
  lea    0x1(%r8),%eax
  mov    $0x1,%r15d
  cmp    $0x1,%eax
  jbe    L190
  mov    %r13d,%r9d
  mov    %r8d,%ebx
  xor    %r15d,%r15d
  mov    %ebp,%r13d
L63:
  mov    %ebx,%ebp
  mov    $0x1,%eax
  cmp    $0x1,%ebx
  je     L111
  xor    %r10d,%r10d
L197:
  lea    -0x1(%rbp),%edi
  mov    %esi,0x4c(%rsp)
  sub    $0x2,%ebp
  mov    %edx,0x48(%rsp)
  mov    %r8d,0x44(%rsp)
  mov    %r9d,0x40(%rsp)
  mov    %r11d,0x3c(%rsp)
  mov    %r10d,0x38(%rsp)
  mov    %ecx,0x34(%rsp)
  call   <fib_rec>
  mov    0x38(%rsp),%r10d
  mov    0x34(%rsp),%ecx
  mov    0x3c(%rsp),%r11d
  mov    0x40(%rsp),%r9d
  add    %eax,%r10d
  cmp    $0x1,%ebp
  mov    0x44(%rsp),%r8d
  mov    0x48(%rsp),%edx
  mov    0x4c(%rsp),%esi
  ja     L197
  lea    0x1(%r10),%eax
L111:
  add    %eax,%r15d
  lea    -0x2(%rbx),%eax
  sub    $0x1,%ebx
  cmp    $0x1,%ebx
  jbe    L94
  mov    %eax,%ebx
  jmp    L63
L91:
  mov    $0x1,%r14d
  mov    $0xffffffff,%esi
L33:
  sub    $0x1,%r13d
  add    %r14d,%r12d
  cmp    $0x1,%r13d
  jbe    L233
  mov    %esi,%r13d
  jmp    L253
L233:
  add    $0x1,%r12d
L283:
  add    %r12d,%ecx
  sub    $0x2,%ebp
  cmp    $0x1,%edx
  ja     L144
  add    $0x1,%ecx
L150:
  add    %ecx,0x20(%rsp)
  sub    $0x2,%r11d
  cmpl   $0x1,0x2c(%rsp)
  ja     L81
  mov    0x20(%rsp),%eax
  add    $0x1,%eax
L228:
  add    %eax,0x1c(%rsp)
  mov    0x10(%rsp),%eax
  sub    $0x2,%eax
  cmpl   $0x1,0x30(%rsp)
  jbe    L100
  mov    %eax,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    $0x1,%eax
  jne    L45
L182:
  movl   $0x0,0x30(%rsp)
  mov    $0x1,%eax
  jmp    L228
  nopw   0x0(%rax,%rax,1)
L94:
  mov    %r13d,%ebp
  add    $0x1,%r15d
  mov    %r9d,%r13d
L190:
  add    %r15d,%r14d
  lea    -0x2(%r8),%eax
  cmp    $0x1,%r8d
  jbe    L126
  mov    %eax,%r8d
  jmp    L166
  nopw   0x0(%rax,%rax,1)
L126:
  add    $0x1,%r14d
  jmp    L33
L127:
  mov    $0x1,%r12d
  xor    %edx,%edx
  jmp    L283
L74:
  movl   $0x0,0x2c(%rsp)
  mov    $0x1,%ecx
  jmp    L150
L100:
  mov    0x1c(%rsp),%eax
  add    $0x1,%eax
L260:
  add    %eax,0x18(%rsp)
  mov    0xc(%rsp),%eax
  sub    $0x2,%eax
  cmpl   $0x1,0x28(%rsp)
  jbe    L266
  mov    %eax,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    $0x1,%eax
  jne    L12
L8:
  movl   $0x0,0x28(%rsp)
  mov    $0x1,%eax
  jmp    L260
L266:
  mov    0x18(%rsp),%eax
  add    $0x1,%eax
L116:
  add    %eax,0x14(%rsp)
  mov    0x8(%rsp),%eax
  sub    $0x2,%eax
  cmpl   $0x1,0x24(%rsp)
  jbe    L191
  mov    %eax,0x8(%rsp)
  mov    0x8(%rsp),%eax
  cmp    $0x1,%eax
  ja     L149
L195:
  mov    0x8(%rsp),%edi
  mov    $0x1,%eax
  sub    $0x1,%edi
  mov    %edi,0x24(%rsp)
  jmp    L116
L191:
  mov    0x14(%rsp),%eax
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  add    $0x1,%eax
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L151:
  mov    $0x1,%eax
  ret
```

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