user: What is the c source code of the assembly code below:

```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
  movzwl (%rax),%eax
  add    $0x696a,%ax
  xor    $0xb,%eax
  mov    %ax,-0xa(%rbp)
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L29
  movzwl -0xa(%rbp),%eax
  shr    %ax
  movzwl %ax,%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L16
  movzwl -0xa(%rbp),%eax
  mov    %eax,%edi
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  shr    %ax
  movzwl %ax,%eax
  and    $0xe,%eax
  or     $0x1,%eax
  mov    %edx,%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  shr    %ax
  movzwl %ax,%eax
  and    $0xe,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  mov    $0x10,%eax
  sub    %ecx,%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  or     %esi,%eax
  shl    $0x2,%eax
  and    $0x1c,%eax
  or     %edi,%eax
  mov    %ax,-0xa(%rbp)
  jmp    L36
L16:
  movzwl -0xa(%rbp),%eax
  mov    %eax,%ecx
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  imul   %edx,%eax
  shl    $0x3,%eax
  movzbl %al,%eax
  or     %ecx,%eax
  mov    %ax,-0xa(%rbp)
  movzwl -0xa(%rbp),%eax
  mov    %eax,%edx
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  shl    $0x2,%eax
  and    $0x1c,%eax
  or     %edx,%eax
  mov    %ax,-0xa(%rbp)
  jmp    L36
L29:
  movzwl -0xa(%rbp),%eax
  mov    %eax,%edx
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  shl    $0x2,%eax
  and    $0x3c,%eax
  or     %edx,%eax
  mov    %ax,-0xa(%rbp)
  movzwl -0xa(%rbp),%eax
  mov    %eax,%edi
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  shr    $0x4,%ax
  movzwl %ax,%eax
  and    $0xe,%eax
  or     $0x1,%eax
  mov    %edx,%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  shr    $0x4,%ax
  movzwl %ax,%eax
  and    $0xe,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  mov    $0x10,%eax
  sub    %ecx,%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  or     %esi,%eax
  shl    $0x3,%eax
  and    $0x78,%eax
  or     %edi,%eax
  mov    %ax,-0xa(%rbp)
L36:
  movzwl -0xa(%rbp),%eax
  or     $0x4b60,%ax
  mov    %eax,%edx
  mov    -0x20(%rbp),%rax
  mov    %dx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L18
  call   <__stack_chk_fail@plt>
L18:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned short input[1], unsigned short output[1]) {
  unsigned short state[1];
  {
    state[0UL] = (input[0UL] + 914778474UL) ^ (unsigned short)11;
    if (state[0UL] & (unsigned short)1) {
      if ((state[0UL] >> (unsigned short)1) & (unsigned short)1) {
        state[0UL] |= (((state[0UL] << (((state[0UL] >> (unsigned short)1) & (unsigned short)15) | 1UL)) | (state[0UL] >> (16 - (((state[0UL] >> (unsigned short)1) & (unsigned short)15) | 1UL)))) & (unsigned short)7) << 2UL;
      } else {
        state[0UL] |= (state[0UL] * state[0UL] & (unsigned short)31) << 3UL;
        state[0UL] |= (state[0UL] & (unsigned short)7) << 2UL;
      }
    } else {
      state[0UL] |= (state[0UL] & (unsigned short)15) << 2UL;
      state[0UL] |= (((state[0UL] << (((state[0UL] >> (unsigned short)4) & (unsigned short)15) | 1UL)) | (state[0UL] >> (16 - (((state[0UL] >> (unsigned short)4) & (unsigned short)15) | 1UL)))) & (unsigned short)15) << 3UL;
    }
    output[0UL] = state[0UL] | (unsigned short)19296;
  }
}
```