user: 请将以下的汇编代码转换成C语言代码：

```asm
<RandomFunc>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  add    $0x136ff696,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  and    $0x10,%eax
  test   %eax,%eax
  je     L20
  mov    -0xc(%rbp),%eax
  and    $0x8,%eax
  test   %eax,%eax
  je     L87
  mov    -0xc(%rbp),%eax
  and    $0x4,%eax
  test   %eax,%eax
  je     L66
  mov    -0xc(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L66
L87:
  mov    -0xc(%rbp),%eax
  and    $0x4,%eax
  test   %eax,%eax
  je     L82
  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    L66
L82:
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  mov    %al,-0xf(%rbp)
  lea    -0xc(%rbp),%rdx
  add    $0x1,%rdx
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  add    $0x1,%rax
  movzbl -0xf(%rbp),%edx
  mov    %dl,(%rax)
  jmp    L66
L20:
  mov    -0xc(%rbp),%eax
  and    $0x4,%eax
  test   %eax,%eax
  je     L74
  mov    -0xc(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L66
L74:
  lea    -0xc(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  mov    %al,-0x10(%rbp)
  lea    -0xc(%rbp),%rdx
  add    $0x3,%rdx
  lea    -0xc(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  movzbl -0x10(%rbp),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  mov    %al,-0x10(%rbp)
  lea    -0xc(%rbp),%rdx
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  movzbl -0x10(%rbp),%edx
  mov    %dl,(%rax)
L66:
  mov    -0xc(%rbp),%eax
  lea    0x2f3c5f04(%rax),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L86
  call   <__stack_chk_fail@plt>
L86:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned int input[1], unsigned int output[1]) {
  unsigned int state[1];
  unsigned short copy12;
  char copy13;
  char copy14;
  {
    state[0UL] = (input[0UL] + 51238316UL) + 274866410U;
    if ((state[0UL] >> 4U) & 1U) {
      if ((state[0UL] >> 3U) & 1U) {
        if ((state[0UL] >> 2U) & 1U) {
          state[0UL] += state[0UL];
        }
      } else if ((state[0UL] >> 2U) & 1U) {
        copy12 = *((unsigned short *)(&state[0UL]) + 1);
        *((unsigned short *)(&state[0UL]) + 1) = *((unsigned short *)(&state[0UL]) + 0);
        *((unsigned short *)(&state[0UL]) + 0) = copy12;
        copy12 = *((unsigned short *)(&state[0UL]) + 0);
        *((unsigned short *)(&state[0UL]) + 0) = *((unsigned short *)(&state[0UL]) + 1);
        *((unsigned short *)(&state[0UL]) + 1) = copy12;
      } else {
        copy13 = *((char *)(&state[0UL]) + 2);
        *((char *)(&state[0UL]) + 2) = *((char *)(&state[0UL]) + 1);
        *((char *)(&state[0UL]) + 1) = copy13;
      }
    } else if ((state[0UL] >> 2U) & 1U) {
      state[0UL] += state[0UL];
    } else {
      copy14 = *((char *)(&state[0UL]) + 1);
      *((char *)(&state[0UL]) + 1) = *((char *)(&state[0UL]) + 3);
      *((char *)(&state[0UL]) + 3) = copy14;
      copy14 = *((char *)(&state[0UL]) + 3);
      *((char *)(&state[0UL]) + 3) = *((char *)(&state[0UL]) + 0);
      *((char *)(&state[0UL]) + 0) = copy14;
    }
    output[0UL] = state[0UL] + 792485636UL;
  }
}
```