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

```asm
<fib>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %edi,0xc(%rsp)
  cmp    $0x1,%edi
  jle    L19
  mov    %edi,0x4(%rsp)
  movl   $0x0,0x10(%rsp)
L111:
  mov    0x4(%rsp),%eax
  movl   $0x0,0x14(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x8(%rsp)
  cmp    $0x1,%eax
  je     L167
L33:
  mov    0x8(%rsp),%eax
  movl   $0x0,0x18(%rsp)
  sub    $0x1,%eax
  mov    %eax,%r11d
  cmp    $0x1,%eax
  je     L210
L115:
  lea    -0x1(%r11),%eax
  movl   $0x0,0x1c(%rsp)
  cmp    $0x1,%eax
  je     L135
  mov    %r11d,0x20(%rsp)
  mov    %eax,%r11d
L199:
  lea    -0x1(%r11),%ebp
  xor    %edx,%edx
  cmp    $0x1,%ebp
  je     L147
L22:
  lea    -0x1(%rbp),%ebx
  xor    %r15d,%r15d
  cmp    $0x1,%ebx
  je     L43
L217:
  cmp    $0x2,%ebx
  je     L131
  lea    -0x3(%rbx),%r14d
  lea    -0x6(%rbx),%esi
  xor    %ecx,%ecx
  mov    %r14d,%eax
  lea    -0x4(%rbx),%r8d
  and    $0xfffffffe,%eax
  sub    %eax,%esi
L203:
  lea    0x2(%r8),%r12d
  xor    %r9d,%r9d
  cmp    $0xffffffff,%r8d
  je     L69
L44:
  lea    -0x1(%r12),%r13d
  xor    %r10d,%r10d
  cmp    $0x1,%r13d
  je     L207
L166:
  lea    -0x1(%r13),%edi
  mov    %r8d,0x3c(%rsp)
  sub    $0x2,%r13d
  mov    %esi,0x38(%rsp)
  mov    %r10d,0x34(%rsp)
  mov    %r9d,0x30(%rsp)
  mov    %ecx,0x2c(%rsp)
  mov    %edx,0x28(%rsp)
  mov    %r11d,0x24(%rsp)
  call   <fib>
  mov    0x34(%rsp),%r10d
  mov    0x24(%rsp),%r11d
  mov    0x28(%rsp),%edx
  mov    0x2c(%rsp),%ecx
  add    %eax,%r10d
  cmp    $0x1,%r13d
  mov    0x30(%rsp),%r9d
  mov    0x38(%rsp),%esi
  mov    0x3c(%rsp),%r8d
  jg     L166
  lea    -0x3(%r12),%eax
  and    $0x1,%eax
L193:
  sub    $0x2,%r12d
  cmp    $0x1,%eax
  sete   %al
  movzbl %al,%eax
  add    %r10d,%eax
  add    %eax,%r9d
  cmp    $0x1,%r12d
  jg     L44
  mov    %r8d,%r12d
  and    $0x1,%r12d
L69:
  xor    %eax,%eax
  cmp    $0x1,%r12d
  sete   %al
  sub    $0x2,%r8d
  add    %r9d,%eax
  add    %eax,%ecx
  cmp    %r8d,%esi
  jne    L203
  and    $0x1,%r14d
L93:
  xor    %eax,%eax
  sub    $0x2,%ebx
  cmp    $0x1,%r14d
  sete   %al
  add    %ecx,%eax
  add    %eax,%r15d
  cmp    $0x1,%ebx
  jg     L217
  lea    -0x3(%rbp),%eax
  and    $0x1,%eax
L4:
  sub    $0x2,%ebp
  cmp    $0x1,%eax
  sete   %al
  movzbl %al,%eax
  add    %r15d,%eax
  add    %eax,%edx
  cmp    $0x1,%ebp
  jg     L22
  lea    -0x3(%r11),%eax
  and    $0x1,%eax
L56:
  sub    $0x2,%r11d
  cmp    $0x1,%eax
  sete   %al
  movzbl %al,%eax
  add    %edx,%eax
  add    %eax,0x1c(%rsp)
  cmp    $0x1,%r11d
  jg     L199
  mov    0x20(%rsp),%r11d
  lea    -0x3(%r11),%eax
  and    $0x1,%eax
L135:
  sub    $0x2,%r11d
  cmp    $0x1,%eax
  sete   %al
  movzbl %al,%eax
  add    0x1c(%rsp),%eax
  add    %eax,0x18(%rsp)
  cmp    $0x1,%r11d
  jg     L115
  mov    0x8(%rsp),%eax
  sub    $0x3,%eax
  and    $0x1,%eax
L95:
  subl   $0x2,0x8(%rsp)
  cmp    $0x1,%eax
  mov    0x8(%rsp),%edi
  sete   %al
  movzbl %al,%eax
  add    0x18(%rsp),%eax
  add    %eax,0x14(%rsp)
  cmp    $0x1,%edi
  jg     L33
  mov    0x4(%rsp),%eax
  sub    $0x3,%eax
  and    $0x1,%eax
L167:
  subl   $0x2,0x4(%rsp)
  cmp    $0x1,%eax
  mov    0x4(%rsp),%edi
  sete   %al
  movzbl %al,%eax
  add    0x14(%rsp),%eax
  add    %eax,0x10(%rsp)
  cmp    $0x1,%edi
  jg     L111
  mov    0xc(%rsp),%eax
  and    $0x1,%eax
  add    0x10(%rsp),%eax
  mov    %eax,0xc(%rsp)
L19:
  mov    0xc(%rsp),%eax
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L131:
  xor    %ecx,%ecx
  mov    $0x1,%r14d
  jmp    L93
  nopl   0x0(%rax)
L207:
  mov    $0x1,%eax
  jmp    L193
L43:
  mov    $0x1,%eax
  jmp    L4
L147:
  mov    $0x1,%eax
  jmp    L56
L210:
  mov    $0x1,%eax
  jmp    L95
```

assistant: ```c
int fib(int param1) {
  int local17;
  int o0;
  int o0_1;
  if (param1 <= 1) {
    if (param1 != 1) {
      local17 = param1;
    } else {
      local17 = 1;
    }
  } else {
    o0_1 = fib(param1 - 1);
    o0 = fib(param1 - 2);
    local17 = o0_1 + o0;
  }
  return local17;
}
```