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
  shl    $0x7,%eax
  and    $0xb500,%ax
  mov    %ax,-0xa(%rbp)
  movw   $0x0,-0xc(%rbp)
  jmp    L0
L56:
  movw   $0x0,-0xe(%rbp)
  jmp    L39
L28:
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  movzwl -0xe(%rbp),%esi
  movzwl -0xc(%rbp),%edx
  shr    %dx
  movzwl %dx,%edx
  and    $0x6,%edx
  or     $0x1,%edx
  mov    %edx,%ecx
  shl    %cl,%esi
  mov    %esi,%edx
  cmp    %edx,%eax
  jle    L33
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%edx
  movzwl -0xa(%rbp),%eax
  shr    $0x3,%ax
  movzwl %ax,%eax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  movzwl -0xe(%rbp),%eax
  cltq
  mov    %dx,-0xa(%rbp,%rax,2)
  jmp    L15
L33:
  movzwl -0xc(%rbp),%eax
  cltq
  movzwl -0xa(%rbp,%rax,2),%eax
  movzwl %ax,%edx
  movzwl -0xc(%rbp),%eax
  cltq
  movzwl -0xa(%rbp,%rax,2),%eax
  shr    $0x3,%ax
  movzwl %ax,%eax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  movzwl -0xe(%rbp),%eax
  cltq
  mov    %dx,-0xa(%rbp,%rax,2)
  lea    -0xa(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  mov    %al,-0xf(%rbp)
  lea    -0xa(%rbp),%rdx
  lea    -0xa(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xa(%rbp),%rax
  movzbl -0xf(%rbp),%edx
  mov    %dl,(%rax)
  lea    -0xa(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0xf(%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 -0xf(%rbp),%edx
  mov    %dl,(%rax)
L15:
  addw   $0x2,-0xe(%rbp)
L39:
  mov    -0x18(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rax),%eax
  cmp    %ax,-0xe(%rbp)
  jb     L28
  movzwl -0xc(%rbp),%eax
  add    $0x1,%eax
  mov    %ax,-0xc(%rbp)
L0:
  mov    -0x18(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rax),%eax
  cmp    %ax,-0xc(%rbp)
  jb     L56
  movzwl -0xa(%rbp),%eax
  movzwl %ax,%eax
  shr    $0x7,%rax
  or     $0x4cac,%ax
  mov    %eax,%edx
  mov    -0x20(%rbp),%rax
  mov    %dx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L30
  call   <__stack_chk_fail@plt>
L30:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned short input[1], unsigned short output[1]) {
  unsigned short state[1];
  unsigned short local2;
  unsigned short local1;
  char copy12;
  {
    state[0UL] = (input[0UL] & 914778474UL) << (unsigned short)7;
    local1 = 0UL;
    while (local1 < input[1UL]) {
      local2 = 0UL;
      while (local2 < input[1UL]) {
        if (state[0UL] > local2 << (((local1 >> (unsigned short)1) & (unsigned short)7) | 1UL)) {
          state[local2] = state[0UL] >> (((state[0UL] >> (unsigned short)3) & (unsigned short)7) | 1UL);
        } else {
          state[local2] = state[local1] >> (((state[local1] >> (unsigned short)3) & (unsigned short)7) | 1UL);
          copy12 = *((char *)(&state[0UL]) + 1);
          *((char *)(&state[0UL]) + 1) = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = copy12;
          copy12 = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = *((char *)(&state[0UL]) + 1);
          *((char *)(&state[0UL]) + 1) = copy12;
        }
        local2 += 2UL;
      }
      local1++;
    }
    output[0UL] = (state[0UL] | 1059477100UL) >> (unsigned short)7;
  }
}
```