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

```asm
<_test_various_MAX_biggerlong_smallerullong>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    $0x0,%esi
  mov    $0x1,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    $0x0,%esi
  mov    $0x2,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  mov    %esi,%eax
  sub    $0x1,%eax
  add    %edx,%eax
  mov    $0xffffffff,%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%rsi
  mov    %rsi,%rax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0xffffffffffffffff,%rdx
  test   %rax,%rax
  cmovs  %rdx,%rax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    $0x2,%esi
  mov    $0x3,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%rsi
  mov    %rsi,%rax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0xffffffffffffffff,%rdx
  test   %rax,%rax
  cmovs  %rdx,%rax
  sub    $0x1,%eax
  mov    %eax,%edx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%rsi
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%edi
  mov    %eax,%ecx
  shl    %cl,%rdi
  mov    %rdi,%rax
  sub    $0x1,%rax
  add    %rsi,%rax
  mov    $0xffffffffffffffff,%rcx
  test   %rax,%rax
  cmovs  %rcx,%rax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%rsi
  mov    %rsi,%rax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0xffffffffffffffff,%rdx
  test   %rax,%rax
  cmovs  %rdx,%rax
  sub    $0x2,%eax
  mov    %eax,%edx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%rsi
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%eax
  sub    $0x2,%eax
  mov    $0x1,%edi
  mov    %eax,%ecx
  shl    %cl,%rdi
  mov    %rdi,%rax
  sub    $0x1,%rax
  add    %rsi,%rax
  mov    $0xffffffffffffffff,%rcx
  test   %rax,%rax
  cmovs  %rcx,%rax
  sub    $0x1,%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  mov    %esi,%eax
  sub    $0x1,%eax
  add    %edx,%eax
  mov    $0xffffffff,%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  lea    -0x1(%rax),%edx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%edi
  mov    %eax,%ecx
  shl    %cl,%edi
  mov    %edi,%eax
  sub    $0x1,%eax
  add    %esi,%eax
  mov    $0xffffffff,%ecx
  test   %eax,%eax
  cmovs  %ecx,%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  mov    %esi,%eax
  sub    $0x1,%eax
  add    %edx,%eax
  mov    $0xffffffff,%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  lea    -0x2(%rax),%edx
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  mov    D121(%rip),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%eax
  sub    $0x2,%eax
  mov    $0x1,%edi
  mov    %eax,%ecx
  shl    %cl,%edi
  mov    %edi,%eax
  sub    $0x1,%eax
  add    %esi,%eax
  mov    $0xffffffff,%ecx
  test   %eax,%eax
  cmovs  %ecx,%eax
  sub    $0x1,%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_test_MAX_biggerlong_smallerullong@plt>
  mov    $0x0,%eax
  pop    %rbp
  ret
```

assistant: ```c
int _test_various_MAX_biggerlong_smallerullong() {
  _test_MAX_biggerlong_smallerullong(1, 0);
  _test_MAX_biggerlong_smallerullong(2, 0);
  _test_MAX_biggerlong_smallerullong(((((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) > ((int)(~((int)0)))) ? ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) : ((int)(~((int)0)))), 0);
  _test_MAX_biggerlong_smallerullong(((((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) > ((long)(~((long)0)))) ? ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) : ((long)(~((long)0)))), 0);
  _test_MAX_biggerlong_smallerullong(3, 2);
  _test_MAX_biggerlong_smallerullong(((((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) > ((long)(~((long)0)))) ? ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) : ((long)(~((long)0)))), ((((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) > ((long)(~((long)0)))) ? ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) : ((long)(~((long)0)))) - 1);
  _test_MAX_biggerlong_smallerullong(((((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) > ((long)(~((long)0)))) ? ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) : ((long)(~((long)0)))) - 1, ((((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) > ((long)(~((long)0)))) ? ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) + ((long)(((long)(((long)1) << ((sizeof(long) * CHAR_BIT) - 2))) - 1)))) : ((long)(~((long)0)))) - 2);
  _test_MAX_biggerlong_smallerullong(((((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) > ((int)(~((int)0)))) ? ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) : ((int)(~((int)0)))), ((((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) > ((int)(~((int)0)))) ? ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) : ((int)(~((int)0)))) - 1);
  _test_MAX_biggerlong_smallerullong(((((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) > ((int)(~((int)0)))) ? ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) : ((int)(~((int)0)))) - 1, ((((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) > ((int)(~((int)0)))) ? ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) + ((int)(((int)(((int)1) << ((sizeof(int) * CHAR_BIT) - 2))) - 1)))) : ((int)(~((int)0)))) - 2);
  return 0;
}
```