user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<RandomFunc>:
  endbr64
  mov    (%rdi),%rax
  push   %rbx
  mov    %rsi,%rcx
  add    $0x136ff696,%rax
  mov    %rax,%rdx
  and    $0x4,%edx
  test   $0x10,%al
  je     L25
  test   $0x8,%al
  je     L86
  test   %rdx,%rdx
  je     L66
  shl    $0x2,%rax
L49:
  imul   $0x26b89ca2,%rax,%rax
  pop    %rbx
  movabs $0xfccace8a5ca761d8,%rdx
  add    %rdx,%rax
  mov    %rax,(%rcx)
  ret
  nopl   (%rax)
L25:
  test   %rdx,%rdx
  jne    L49
  movabs $0xff00ffffffffffff,%rdx
  movzbl %ah,%esi
  and    %rax,%rdx
  shl    $0x30,%rsi
  shl    $0x8,%rax
  or     %rsi,%rdx
  sar    $0x38,%rax
  mov    %al,%dh
  mov    %rdx,%rax
  jmp    L49
  nopl   0x0(%rax,%rax,1)
L86:
  test   %rdx,%rdx
  je     L54
  mov    %rax,%rdx
  movzwl %ax,%esi
  shr    $0x20,%rdx
  shl    $0x10,%edx
  or     %edx,%esi
  mov    %rax,%rdx
  shr    $0x30,%rax
  shl    $0x20,%rdx
  shl    $0x20,%rax
  or     %rsi,%rdx
  movabs $0xffff0000ffffffff,%rsi
  and    %rsi,%rdx
  or     %rdx,%rax
  jmp    L49
  nopw   0x0(%rax,%rax,1)
L66:
  mov    %eax,%edx
  xor    %ebx,%ebx
  mov    %rax,%rsi
  sar    $0x18,%edx
  shr    $0x30,%rsi
  mov    %dl,%bl
  mov    %eax,%edx
  shl    $0x8,%edx
  sar    $0x18,%edx
  mov    %dl,%bh
  mov    %rax,%rdx
  shr    $0x10,%rdx
  movzwl %bx,%ebx
  and    $0xffff0000,%edx
  or     %rsi,%rdx
  movzwl %ax,%esi
  mov    %rdx,%rax
  shl    $0x10,%rax
  or     %rsi,%rax
  shl    $0x10,%rax
  or     %rbx,%rax
  jmp    L49
  cs nopw 0x0(%rax,%rax,1)
L54:
  movabs $0xffff00ffffffffff,%rdx
  mov    %rax,%rsi
  shl    $0x8,%rsi
  and    %rax,%rdx
  shl    $0x10,%rax
  shr    $0x38,%rsi
  shl    $0x28,%rsi
  or     %rsi,%rdx
  mov    %rax,%rsi
  movabs $0xff00ffffffffffff,%rax
  shr    $0x38,%rsi
  and    %rdx,%rax
  shl    $0x30,%rsi
  or     %rsi,%rax
  add    %rax,%rax
  jmp    L49
```

assistant: ```c
void RandomFunc(unsigned long input[1], unsigned long output[1]) {
  unsigned long state[1];
  char copy11;
  unsigned short copy12;
  unsigned int copy13;
  unsigned short copy14;
  char copy15;
  char copy19;
  {
    state[0UL] = (input[0UL] + 51238316UL) + 274866410UL;
    if ((state[0UL] >> 4UL) & 1UL) {
      if ((state[0UL] >> 3UL) & 1UL) {
        if ((state[0UL] >> 2UL) & 1UL) {
          state[0UL] += state[0UL];
          state[0UL] += state[0UL];
        } else {
          copy11 = *((char *)(&state[0UL]) + 3);
          *((char *)(&state[0UL]) + 3) = *((char *)(&state[0UL]) + 2);
          *((char *)(&state[0UL]) + 2) = copy11;
          copy12 = *((unsigned short *)(&state[0UL]) + 3);
          *((unsigned short *)(&state[0UL]) + 3) = *((unsigned short *)(&state[0UL]) + 2);
          *((unsigned short *)(&state[0UL]) + 2) = copy12;
          copy12 = *((unsigned short *)(&state[0UL]) + 0);
          *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 1);
          *((unsigned short *)(&state[0UL]) + 1) = copy12;
        }
      } else if ((state[0UL] >> 2UL) & 1UL) {
        copy13 = *((unsigned int *)(&state[0UL]) + 0);
        *((unsigned int *)(&state[0UL]) + 0) = *((unsigned int *)(&state[0UL]) + 1);
        *((unsigned int *)(&state[0UL]) + 1) = copy13;
        copy14 = *((unsigned short *)(&state[0UL]) + 1);
        *((unsigned short *)(&state[0UL]) + 1) = *((unsigned short *)(&state[0UL]) + 0);
        *((unsigned short *)(&state[0UL]) + 0) = copy14;
        copy14 = *((unsigned short *)(&state[0UL]) + 0);
        *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 2);
        *((unsigned short *)(&state[0UL]) + 2) = copy14;
      } else {
        copy15 = *((char *)(&state[0UL]) + 5);
        *((char *)(&state[0UL]) + 5) = *((char *)(&state[0UL]) + 6);
        *((char *)(&state[0UL]) + 6) = copy15;
        state[0UL] += state[0UL];
      }
    } else if (!((state[0UL] >> 2UL) & 1UL)) {
      copy19 = *((char *)(&state[0UL]) + 6);
      *((char *)(&state[0UL]) + 6) = *((char *)(&state[0UL]) + 1);
      *((char *)(&state[0UL]) + 1) = copy19;
    }
    output[0UL] = state[0UL] * 649632930UL - 231145337200877096UL;
  }
}
```