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),%eax
  shr    $0x3,%eax
  or     $0x61bab5,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  and    $0x8,%eax
  test   %eax,%eax
  je     L55
  mov    -0xc(%rbp),%eax
  and    $0x10,%eax
  test   %eax,%eax
  je     L89
  mov    -0xc(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L32
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shr    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L59
L32:
  lea    -0xc(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  mov    %al,-0x15(%rbp)
  lea    -0xc(%rbp),%rdx
  lea    -0xc(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  movzbl -0x15(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L59
L89:
  mov    -0xc(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L33
  lea    -0xc(%rbp),%rax
  movzwl (%rax),%eax
  mov    %ax,-0x10(%rbp)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  lea    -0xc(%rbp),%rdx
  movzwl (%rax),%eax
  mov    %ax,(%rdx)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzwl -0x10(%rbp),%edx
  mov    %dx,(%rax)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rax),%eax
  mov    %ax,-0xe(%rbp)
  lea    -0xc(%rbp),%rdx
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rdx),%edx
  mov    %dx,(%rax)
  lea    -0xc(%rbp),%rax
  movzwl -0xe(%rbp),%edx
  mov    %dx,(%rax)
  lea    -0xc(%rbp),%rax
  movzwl (%rax),%eax
  mov    %ax,-0xe(%rbp)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  lea    -0xc(%rbp),%rdx
  movzwl (%rax),%eax
  mov    %ax,(%rdx)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzwl -0xe(%rbp),%edx
  mov    %dx,(%rax)
  jmp    L59
L33:
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  shr    %eax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shr    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L59
L55:
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rax),%eax
  mov    %ax,-0x14(%rbp)
  lea    -0xc(%rbp),%rdx
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rdx),%edx
  mov    %dx,(%rax)
  lea    -0xc(%rbp),%rax
  movzwl -0x14(%rbp),%edx
  mov    %dx,(%rax)
  lea    -0xc(%rbp),%rax
  movzwl (%rax),%eax
  mov    %ax,-0x12(%rbp)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  lea    -0xc(%rbp),%rdx
  movzwl (%rax),%eax
  mov    %ax,(%rdx)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzwl -0x12(%rbp),%edx
  mov    %dx,(%rax)
L59:
  mov    -0xc(%rbp),%eax
  lea    0x0(,%rax,8),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L15
  call   <__stack_chk_fail@plt>
L15:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned int input[1], unsigned int output[1]) {
  unsigned int state[1];
  char copy11;
  unsigned short copy12;
  unsigned short copy13;
  unsigned short copy15;
  unsigned short copy16;
  {
    state[0UL] = (input[0UL] | 51238316UL) >> 3U;
    if ((state[0UL] >> 3U) & 1U) {
      if ((state[0UL] >> 4U) & 1U) {
        if (state[0UL] & 1U) {
          state[0UL] >>= (state[0UL] & 7U) | 1UL;
          state[0UL] <<= (state[0UL] & 7U) | 1UL;
        } else {
          copy11 = *((char *)(&state[0UL]) + 1);
          *((char *)(&state[0UL]) + 1) = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = copy11;
          state[0UL] <<= (state[0UL] & 7U) | 1UL;
        }
      } else if (state[0UL] & 1U) {
        copy12 = *((unsigned short *)(&state[0UL]) + 0);
        *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 1);
        *((unsigned short *)(&state[0UL]) + 1) = copy12;
        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]) + 0);
        *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 1);
        *((unsigned short *)(&state[0UL]) + 1) = copy13;
      } else {
        state[0UL] >>= ((state[0UL] >> 1U) & 7U) | 1UL;
      }
    } else {
      copy15 = *((unsigned short *)(&state[0UL]) + 1);
      *((unsigned short *)(&state[0UL]) + 1) = *((unsigned short *)(&state[0UL]) + 0);
      *((unsigned short *)(&state[0UL]) + 0) = copy15;
      copy16 = *((unsigned short *)(&state[0UL]) + 0);
      *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 1);
      *((unsigned short *)(&state[0UL]) + 1) = copy16;
    }
    output[0UL] = state[0UL] << 3U;
  }
}
```