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

```asm
<ack>:
  endbr64
  test   %edi,%edi
  je     L321
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
L194:
  lea    -0x1(%rdi),%eax
  mov    %eax,0xc(%rsp)
  test   %esi,%esi
  jne    L235
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  je     L216
L211:
  mov    0xc(%rsp),%eax
L174:
  lea    -0x1(%rax),%ecx
  mov    %ecx,0x8(%rsp)
  test   %esi,%esi
  jne    L155
  mov    0x8(%rsp),%eax
  test   %eax,%eax
  je     L3
L88:
  mov    0x8(%rsp),%eax
L322:
  lea    -0x1(%rax),%r14d
  test   %esi,%esi
  jne    L122
  test   %r14d,%r14d
  je     L410
L167:
  mov    %r14d,%eax
L314:
  lea    -0x1(%rax),%r13d
  test   %esi,%esi
  jne    L348
  test   %r13d,%r13d
  je     L131
L134:
  mov    %r13d,%eax
L40:
  lea    -0x1(%rax),%edx
  test   %esi,%esi
  jne    L356
  test   %edx,%edx
  je     L236
L414:
  mov    %edx,%eax
L46:
  lea    -0x1(%rax),%r15d
  test   %esi,%esi
  jne    L87
  test   %r15d,%r15d
  je     L412
L231:
  mov    %r15d,%eax
L228:
  lea    -0x1(%rax),%r12d
  test   %esi,%esi
  jne    L123
  test   %r12d,%r12d
  je     L389
L64:
  mov    %r12d,%eax
L10:
  lea    -0x1(%rax),%ebp
  test   %esi,%esi
  jne    L429
  test   %ebp,%ebp
  je     L38
L402:
  mov    %ebp,%eax
L334:
  lea    -0x1(%rax),%ebx
  test   %esi,%esi
  jne    L267
  test   %ebx,%ebx
  je     L397
L400:
  mov    %ebx,%edi
  mov    %edx,0x4(%rsp)
  call   <ack>
  mov    0x4(%rsp),%edx
  mov    %eax,%esi
  mov    %ebx,%eax
  sub    $0x1,%eax
  jne    L334
  add    $0x1,%esi
L306:
  mov    %ebp,%eax
  sub    $0x1,%eax
  jne    L10
  add    $0x1,%esi
L71:
  mov    %r12d,%eax
  sub    $0x1,%eax
  jne    L228
  add    $0x1,%esi
L255:
  mov    %r15d,%eax
  sub    $0x1,%eax
  jne    L46
  add    $0x1,%esi
L335:
  mov    %edx,%eax
  sub    $0x1,%eax
  jne    L40
  add    $0x1,%esi
L133:
  mov    %r13d,%eax
  sub    $0x1,%eax
  jne    L314
  add    $0x1,%esi
L224:
  mov    %r14d,%eax
  sub    $0x1,%eax
  jne    L322
  add    $0x1,%esi
L170:
  mov    0x8(%rsp),%eax
  sub    $0x1,%eax
  jne    L174
  add    $0x1,%esi
L423:
  mov    0xc(%rsp),%edi
  sub    $0x1,%edi
  jne    L194
  add    $0x18,%rsp
  lea    0x1(%rsi),%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L38:
  mov    $0x2,%esi
  jmp    L71
  nopw   0x0(%rax,%rax,1)
L236:
  mov    $0x2,%esi
  jmp    L133
  nopw   0x0(%rax,%rax,1)
L397:
  mov    $0x2,%esi
  jmp    L306
  nopw   0x0(%rax,%rax,1)
L389:
  mov    $0x2,%esi
  jmp    L255
  nopw   0x0(%rax,%rax,1)
L412:
  mov    $0x2,%esi
  jmp    L335
  nopw   0x0(%rax,%rax,1)
L131:
  mov    $0x2,%esi
  jmp    L224
  nopw   0x0(%rax,%rax,1)
L410:
  mov    $0x2,%esi
  jmp    L170
  nopw   0x0(%rax,%rax,1)
L267:
  sub    $0x1,%esi
  mov    %eax,%ebx
  jmp    L400
  nopw   0x0(%rax,%rax,1)
L3:
  mov    $0x2,%esi
  jmp    L423
  nopw   0x0(%rax,%rax,1)
L429:
  sub    $0x1,%esi
  mov    %eax,%ebp
  jmp    L402
  nopw   0x0(%rax,%rax,1)
L216:
  add    $0x18,%rsp
  mov    $0x2,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L123:
  sub    $0x1,%esi
  mov    %eax,%r12d
  jmp    L64
  nopl   0x0(%rax,%rax,1)
L87:
  sub    $0x1,%esi
  mov    %eax,%r15d
  jmp    L231
  nopl   0x0(%rax,%rax,1)
L356:
  sub    $0x1,%esi
  mov    %eax,%edx
  jmp    L414
  nopw   0x0(%rax,%rax,1)
L348:
  sub    $0x1,%esi
  mov    %eax,%r13d
  jmp    L134
  nopl   0x0(%rax,%rax,1)
L122:
  sub    $0x1,%esi
  mov    %eax,%r14d
  jmp    L167
  nopl   0x0(%rax,%rax,1)
L321:
  lea    0x1(%rsi),%eax
  ret
  nopl   0x0(%rax)
L155:
  mov    %eax,0x8(%rsp)
  sub    $0x1,%esi
  jmp    L88
  nopl   0x0(%rax)
L235:
  mov    %edi,0xc(%rsp)
  sub    $0x1,%esi
  jmp    L211
```

assistant: ```c
int ack(int m, int n) {
  if (m == 0)
    return n + 1;
  else if (n == 0)
    return ack(m - 1, 1);
  else
    return ack(m - 1, ack(m, n - 1));
}
```