user: 请将以下的汇编代码转换成C语言代码：

```asm
<fib>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %edi,0x8(%rsp)
  cmp    $0x1,%edi
  jle    L152
  mov    %edi,0x4(%rsp)
  movl   $0x0,0xc(%rsp)
L21:
  mov    0x4(%rsp),%edi
  mov    $0x1,%eax
  lea    -0x1(%rdi),%r11d
  cmp    $0x2,%edi
  je     L175
  movl   $0x0,0x10(%rsp)
L88:
  lea    -0x1(%r11),%r10d
  mov    $0x1,%eax
  cmp    $0x2,%r11d
  je     L50
  movl   $0x0,0x14(%rsp)
  mov    %r11d,0x1c(%rsp)
L65:
  lea    -0x1(%r10),%r11d
  mov    $0x1,%eax
  cmp    $0x2,%r10d
  je     L64
  movl   $0x0,0x18(%rsp)
  mov    %r10d,0x20(%rsp)
L164:
  lea    -0x1(%r11),%ebp
  mov    $0x1,%eax
  cmp    $0x2,%r11d
  je     L89
  xor    %r15d,%r15d
L42:
  lea    -0x1(%rbp),%r13d
  mov    $0x1,%eax
  cmp    $0x2,%ebp
  je     L59
  xor    %edx,%edx
L47:
  mov    $0x1,%eax
  cmp    $0x2,%r13d
  je     L67
  lea    -0x3(%r13),%r12d
  lea    -0x6(%r13),%ecx
  xor    %r8d,%r8d
  mov    %r12d,%eax
  lea    -0x4(%r13),%esi
  and    $0xfffffffe,%eax
  sub    %eax,%ecx
L20:
  lea    0x2(%rsi),%ebx
  cmp    $0xffffffff,%esi
  je     L121
  mov    %r12d,%r9d
  xor    %r14d,%r14d
  mov    %ebp,%r12d
L122:
  lea    -0x1(%rbx),%ebp
  mov    $0x1,%eax
  cmp    $0x2,%ebx
  je     L29
  xor    %r10d,%r10d
L123:
  lea    -0x1(%rbp),%edi
  mov    %esi,0x3c(%rsp)
  sub    $0x2,%ebp
  mov    %r9d,0x38(%rsp)
  mov    %ecx,0x34(%rsp)
  mov    %r10d,0x30(%rsp)
  mov    %r8d,0x2c(%rsp)
  mov    %edx,0x28(%rsp)
  mov    %r11d,0x24(%rsp)
  call   <fib>
  mov    0x30(%rsp),%r10d
  mov    0x24(%rsp),%r11d
  mov    0x28(%rsp),%edx
  mov    0x2c(%rsp),%r8d
  add    %eax,%r10d
  cmp    $0x1,%ebp
  mov    0x34(%rsp),%ecx
  mov    0x38(%rsp),%r9d
  mov    0x3c(%rsp),%esi
  jg     L123
  lea    -0x3(%rbx),%eax
  and    $0x1,%eax
  add    %r10d,%eax
L29:
  sub    $0x2,%ebx
  add    %eax,%r14d
  cmp    $0x1,%ebx
  jg     L122
  mov    %esi,%ebx
  mov    %r12d,%ebp
  mov    %r9d,%r12d
  and    $0x1,%ebx
  add    %r14d,%ebx
L121:
  sub    $0x2,%esi
  add    %ebx,%r8d
  cmp    %esi,%ecx
  jne    L20
  and    $0x1,%r12d
  lea    (%r12,%r8,1),%eax
L67:
  sub    $0x2,%r13d
  add    %eax,%edx
  cmp    $0x1,%r13d
  jg     L47
  lea    -0x3(%rbp),%eax
  and    $0x1,%eax
  add    %edx,%eax
L59:
  sub    $0x2,%ebp
  add    %eax,%r15d
  cmp    $0x1,%ebp
  jg     L42
  lea    -0x3(%r11),%eax
  and    $0x1,%eax
  add    %r15d,%eax
L89:
  sub    $0x2,%r11d
  add    %eax,0x18(%rsp)
  cmp    $0x1,%r11d
  jg     L164
  mov    0x20(%rsp),%r10d
  lea    -0x3(%r10),%eax
  and    $0x1,%eax
  add    0x18(%rsp),%eax
L64:
  sub    $0x2,%r10d
  add    %eax,0x14(%rsp)
  cmp    $0x1,%r10d
  jg     L65
  mov    0x1c(%rsp),%r11d
  lea    -0x3(%r11),%eax
  and    $0x1,%eax
  add    0x14(%rsp),%eax
L50:
  sub    $0x2,%r11d
  add    %eax,0x10(%rsp)
  cmp    $0x1,%r11d
  jg     L88
  mov    0x4(%rsp),%eax
  sub    $0x3,%eax
  and    $0x1,%eax
  add    0x10(%rsp),%eax
L175:
  subl   $0x2,0x4(%rsp)
  mov    0x4(%rsp),%edi
  add    %eax,0xc(%rsp)
  cmp    $0x1,%edi
  jg     L21
  mov    0x8(%rsp),%eax
  and    $0x1,%eax
  add    0xc(%rsp),%eax
  mov    %eax,0x8(%rsp)
L152:
  mov    0x8(%rsp),%eax
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int fib(int param1) {
  int i0;
  int o0;
  int o0_1;
  i0 = param1;
  if (param1 > 1) {
    o0_1 = fib(param1 - 1);
    o0 = fib(param1 - 2);
    i0 = o0_1 + o0;
  }
  return i0;
}
```