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

```asm
<RandomFunc>:
  endbr64
  mov    (%rdi),%rax
  add    $0x3686696a,%rax
  xor    $0xffffffffce5d000b,%rax
  movq   %rax,%xmm1
  pshuflw $0x4b,%xmm1,%xmm0
  movq   %xmm0,%rdx
  test   $0x1,%al
  je     L28
  test   $0x2,%al
  je     L23
  test   $0x8,%al
  je     L24
  movabs $0xffffffffffff,%rdi
  mov    %rax,%rdx
  shl    $0x30,%rdx
  and    %rax,%rdi
  shr    $0x30,%rax
  or     %rdx,%rdi
  mov    %ax,%di
  mov    %rdi,%rcx
  mov    %rdi,%rdx
  shr    $0x4,%rcx
  and    $0x6,%ecx
  or     $0x1,%ecx
  shl    %cl,%rdx
  shl    $0x2,%rdx
  and    $0x3c,%edx
  or     %rdi,%rdx
L28:
  sub    $0x58f3958f,%rdx
  mov    %rdx,(%rsi)
  ret
  nopl   0x0(%rax)
L23:
  lea    0x0(,%rax,4),%rdx
  and    $0x1c,%edx
  or     %rax,%rdx
  sub    $0x58f3958f,%rdx
  mov    %rdx,(%rsi)
  ret
  nopl   0x0(%rax)
L24:
  mov    %rax,%rcx
  mov    %rax,%rdx
  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
  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;
  }
}
```