user: 请从给定的汇编指令推导出C源代码:

```asm
<RandomFunc>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  shl    $0x7,%rax
  mov    %rax,%rdx
  movabs $0x1b4334b500,%rax
  and    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  and    $0x2,%eax
  test   %rax,%rax
  je     L35
  mov    -0x10(%rbp),%rax
  and    $0x2,%eax
  test   %rax,%rax
  je     L60
  mov    -0x10(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  shr    $0x2,%rax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shr    %cl,%rdx
  mov    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  jmp    L27
L60:
  lea    -0x10(%rbp),%rax
  movzwl (%rax),%eax
  mov    %ax,-0x12(%rbp)
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  lea    -0x10(%rbp),%rdx
  movzwl (%rax),%eax
  mov    %ax,(%rdx)
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzwl -0x12(%rbp),%edx
  mov    %dx,(%rax)
  jmp    L27
L35:
  mov    -0x10(%rbp),%rax
  and    $0x10,%eax
  test   %rax,%rax
  je     L20
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rax),%eax
  mov    %ax,-0x14(%rbp)
  lea    -0x10(%rbp),%rdx
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rdx),%edx
  mov    %dx,(%rax)
  lea    -0x10(%rbp),%rax
  movzwl -0x14(%rbp),%edx
  mov    %dx,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x4,%rax
  movzwl (%rax),%eax
  mov    %ax,-0x14(%rbp)
  lea    -0x10(%rbp),%rdx
  add    $0x2,%rdx
  lea    -0x10(%rbp),%rax
  add    $0x4,%rax
  movzwl (%rdx),%edx
  mov    %dx,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzwl -0x14(%rbp),%edx
  mov    %dx,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  mov    %al,-0x17(%rbp)
  lea    -0x10(%rbp),%rdx
  add    $0x5,%rdx
  lea    -0x10(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x5,%rax
  movzbl -0x17(%rbp),%edx
  mov    %dl,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  mov    %al,-0x17(%rbp)
  lea    -0x10(%rbp),%rdx
  add    $0x2,%rdx
  lea    -0x10(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzbl -0x17(%rbp),%edx
  mov    %dl,(%rax)
  jmp    L27
L20:
  lea    -0x10(%rbp),%rax
  movzwl (%rax),%eax
  mov    %ax,-0x16(%rbp)
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  lea    -0x10(%rbp),%rdx
  movzwl (%rax),%eax
  mov    %ax,(%rdx)
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzwl -0x16(%rbp),%edx
  mov    %dx,(%rax)
  mov    -0x10(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  shr    %rax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shr    %cl,%rdx
  mov    %rdx,%rax
  mov    %rax,-0x10(%rbp)
L27:
  mov    -0x10(%rbp),%rax
  and    $0x79c995e,%eax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L24
  call   <__stack_chk_fail@plt>
L24:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned long input[1], unsigned long output[1]) {
  unsigned long state[1];
  unsigned short copy11;
  unsigned short copy13;
  char copy14;
  unsigned short copy15;
  {
    state[0UL] = (input[0UL] & 914778474UL) << 7UL;
    if ((state[0UL] >> 1UL) & 1UL) {
      if ((state[0UL] >> 1UL) & 1UL) {
        state[0UL] >>= ((state[0UL] >> 2UL) & 7UL) | 1UL;
        state[0UL] <<= (state[0UL] & 7UL) | 1UL;
      } else {
        copy11 = *((unsigned short *)(&state[0UL]) + 0);
        *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 1);
        *((unsigned short *)(&state[0UL]) + 1) = copy11;
      }
    } else if ((state[0UL] >> 4UL) & 1UL) {
      copy13 = *((unsigned short *)(&state[0UL]) + 1);
      *((unsigned short *)(&state[0UL]) + 1) = *((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 = *((char *)(&state[0UL]) + 6);
      *((char *)(&state[0UL]) + 6) = *((char *)(&state[0UL]) + 5);
      *((char *)(&state[0UL]) + 5) = copy14;
      copy14 = *((char *)(&state[0UL]) + 3);
      *((char *)(&state[0UL]) + 3) = *((char *)(&state[0UL]) + 2);
      *((char *)(&state[0UL]) + 2) = copy14;
    } else {
      copy15 = *((unsigned short *)(&state[0UL]) + 0);
      *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 1);
      *((unsigned short *)(&state[0UL]) + 1) = copy15;
      state[0UL] >>= ((state[0UL] >> 1UL) & 7UL) | 1UL;
    }
    output[0UL] = state[0UL] & 127703390UL;
  }
}
```