user: What is the c source code of the assembly code below:

```asm
<RandomFunc>:
  endbr64
  mov    (%rdi),%rax
  add    $0x3686696a,%rax
  xor    $0xffffffffce5d000b,%rax
  mov    %rax,%rdx
  test   $0x1,%al
  je     L49
  test   $0x2,%al
  je     L2
  test   $0x8,%al
  je     L14
  mov    %rax,%rcx
  shl    $0x30,%rcx
  movabs $0xffffffffffff,%rdx
  and    %rax,%rdx
  or     %rcx,%rdx
  shr    $0x30,%rax
  mov    %ax,%dx
  mov    %rdx,%rcx
  shr    $0x4,%rcx
  and    $0x6,%ecx
  or     $0x1,%ecx
  mov    %rdx,%rax
  shl    %cl,%rax
  shl    $0x2,%rax
  and    $0x3c,%eax
  or     %rax,%rdx
  jmp    L18
L14:
  mov    %rax,%rcx
  shr    $0x2,%rcx
  and    $0xe,%ecx
  or     $0x1,%ecx
  ror    %cl,%rdx
  shl    $0x4,%rdx
  and    $0x3f0,%edx
  or     %rdx,%rax
  mov    %rax,%rdx
  shl    $0x4,%rdx
  and    $0x3f0,%edx
  or     %rax,%rdx
  jmp    L18
L2:
  lea    0x0(,%rax,4),%rdx
  and    $0x1c,%edx
  or     %rax,%rdx
  shr    $0x20,%rax
  shl    $0x20,%rax
  mov    %edx,%edx
  or     %rax,%rdx
  jmp    L18
L49:
  mov    %rax,%rcx
  shr    $0x30,%rcx
  mov    %cx,%dx
  mov    %rax,%rcx
  shr    $0x10,%rcx
  and    $0xffff0000,%ecx
  movabs $0xffffffff0000ffff,%rdi
  and    %rdi,%rdx
  or     %rcx,%rdx
  mov    %rax,%rcx
  shr    $0x10,%rcx
  shl    $0x30,%rcx
  movzwl %ax,%eax
  shl    $0x20,%rax
  mov    %edx,%edx
  or     %rcx,%rdx
  or     %rax,%rdx
L18:
  sub    $0x58f3958f,%rdx
  mov    %rdx,(%rsi)
  ret
```

assistant: ```c
void RandomFunc(unsigned long input[1], unsigned long output[1]) {
  unsigned long state[1];
  unsigned short copy11;
  unsigned int copy12;
  unsigned short copy13;
  unsigned short copy14;
  {
    state[0UL] = (input[0UL] + 914778474UL) ^ 0xffffffffce5d000bUL;
    if (state[0UL] & 1UL) {
      if ((state[0UL] >> 1UL) & 1UL) {
        if ((state[0UL] >> 3UL) & 1UL) {
          copy11 = *((unsigned short *)(&state[0UL]) + 3);
          *((unsigned short *)(&state[0UL]) + 3) = *((unsigned short *)(&state[0UL]) + 0);
          *((unsigned short *)(&state[0UL]) + 0) = copy11;
          state[0UL] |= ((state[0UL] << (((state[0UL] >> 4UL) & 7UL) | 1UL)) & 15UL) << 2UL;
        } else {
          state[0UL] |= (((state[0UL] >> (((state[0UL] >> 2UL) & 15UL) | 1UL)) | (state[0UL] << (64 - (((state[0UL] >> 2UL) & 15UL) | 1UL)))) & 63UL) << 4UL;
          state[0UL] |= (state[0UL] & 63UL) << 4UL;
        }
      } else {
        state[0UL] |= (state[0UL] & 7UL) << 2UL;
        copy12 = *((unsigned int *)(&state[0UL]) + 1);
        *((unsigned int *)(&state[0UL]) + 1) = *((unsigned int *)(&state[0UL]) + 0);
        *((unsigned int *)(&state[0UL]) + 0) = copy12;
        copy12 = *((unsigned int *)(&state[0UL]) + 0);
        *((unsigned int *)(&state[0UL]) + 0) = *((unsigned int *)(&state[0UL]) + 1);
        *((unsigned int *)(&state[0UL]) + 1) = copy12;
      }
    } else {
      copy13 = *((unsigned short *)(&state[0UL]) + 3);
      *((unsigned short *)(&state[0UL]) + 3) = *((unsigned short *)(&state[0UL]) + 0);
      *((unsigned short *)(&state[0UL]) + 0) = copy13;
      copy13 = *((unsigned short *)(&state[0UL]) + 2);
      *((unsigned short *)(&state[0UL]) + 2) = *((unsigned short *)(&state[0UL]) + 1);
      *((unsigned short *)(&state[0UL]) + 1) = copy13;
      copy14 = *((unsigned short *)(&state[0UL]) + 3);
      *((unsigned short *)(&state[0UL]) + 3) = *((unsigned short *)(&state[0UL]) + 2);
      *((unsigned short *)(&state[0UL]) + 2) = copy14;
    }
    output[0UL] = (state[0UL] + 438262866UL) - 1930621409UL;
  }
}
```