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
  movzwl (%rax),%eax
  add    $0x7296,%ax
  mov    %ax,-0xa(%rbp)
  movzwl -0xa(%rbp),%eax
  shr    $0x3,%ax
  movzwl %ax,%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L37
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L2
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L65
  lea    -0xa(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  mov    %al,-0xb(%rbp)
  lea    -0xa(%rbp),%rdx
  lea    -0xa(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xa(%rbp),%rax
  movzbl -0xb(%rbp),%edx
  mov    %dl,(%rax)
  lea    -0xa(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0xb(%rbp)
  lea    -0xa(%rbp),%rax
  add    $0x1,%rax
  lea    -0xa(%rbp),%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0xa(%rbp),%rax
  add    $0x1,%rax
  movzbl -0xb(%rbp),%edx
  mov    %dl,(%rax)
  jmp    L50
L65:
  movzwl -0xa(%rbp),%eax
  mov    %eax,%edx
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  add    %eax,%eax
  shl    $0x4,%eax
  and    $0x3e0,%ax
  or     %edx,%eax
  mov    %ax,-0xa(%rbp)
  jmp    L50
L2:
  movzwl -0xa(%rbp),%eax
  mov    %eax,%edi
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  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
  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
  movzbl %al,%eax
  or     %edi,%eax
  mov    %ax,-0xa(%rbp)
  jmp    L50
L37:
  movzwl -0xa(%rbp),%eax
  mov    %eax,%edi
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  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
  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    $0x4,%eax
  and    $0x1f0,%ax
  or     %edi,%eax
  mov    %ax,-0xa(%rbp)
L50:
  movzwl -0xa(%rbp),%eax
  imul   $0xe429,%ax,%ax
  shl    $0x9,%eax
  mov    %eax,%edx
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  imul   $0x12c8e429,%rax,%rax
  shr    $0x7,%rax
  or     %eax,%edx
  mov    -0x20(%rbp),%rax
  mov    %dx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L34
  call   <__stack_chk_fail@plt>
L34:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned short input[1], unsigned short output[1]) {
  unsigned short state[1];
  char copy11;
  {
    state[0UL] = (input[0UL] - 51238316UL) - (unsigned short)47038;
    if ((state[0UL] >> (unsigned short)3) & (unsigned short)1) {
      if (state[0UL] & (unsigned short)1) {
        if (state[0UL] & (unsigned short)1) {
          copy11 = *((char *)(&state[0UL]) + 1);
          *((char *)(&state[0UL]) + 1) = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = copy11;
          copy11 = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = *((char *)(&state[0UL]) + 1);
          *((char *)(&state[0UL]) + 1) = copy11;
        } else {
          state[0UL] |= ((state[0UL] + state[0UL]) & (unsigned short)63) << 4UL;
        }
      } else {
        state[0UL] |= (((state[0UL] << ((state[0UL] & (unsigned short)15) | 1UL)) | (state[0UL] >> (16 - ((state[0UL] & (unsigned short)15) | 1UL)))) & (unsigned short)31) << 3UL;
      }
    } else {
      state[0UL] |= (((state[0UL] << ((state[0UL] & (unsigned short)15) | 1UL)) | (state[0UL] >> (16 - ((state[0UL] & (unsigned short)15) | 1UL)))) & (unsigned short)31) << 4UL;
    }
    output[0UL] = (state[0UL] * 315155497UL << (unsigned short)9) | (state[0UL] * 315155497UL >> (unsigned short)7);
  }
}
```