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),%rax
  add    $0x136ff696,%rax
  mov    %rax,-0x10(%rbp)
  movq   $0x0,-0x18(%rbp)
  jmp    L28
L84:
  mov    -0x10(%rbp),%rax
  cmp    %rax,-0x18(%rbp)
  jbe    L14
  mov    -0x10(%rbp),%rax
  cmp    %rax,-0x18(%rbp)
  jne    L24
  lea    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  add    $0x7,%rax
  movzbl (%rax),%eax
  mov    %al,-0x1b(%rbp)
  lea    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  add    $0x3,%rax
  lea    -0x10(%rbp),%rcx
  mov    -0x18(%rbp),%rdx
  shl    $0x3,%rdx
  add    %rcx,%rdx
  add    $0x7,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  lea    0x3(%rax),%rdx
  movzbl -0x1b(%rbp),%eax
  mov    %al,(%rdx)
  lea    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  mov    %al,-0x1b(%rbp)
  lea    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  add    $0x5,%rax
  lea    -0x10(%rbp),%rcx
  mov    -0x18(%rbp),%rdx
  shl    $0x3,%rdx
  add    %rcx,%rdx
  add    $0x6,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  lea    0x5(%rax),%rdx
  movzbl -0x1b(%rbp),%eax
  mov    %al,(%rdx)
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  mov    -0x10(%rbp,%rax,8),%rcx
  mov    %rdx,%rax
  sub    %rcx,%rax
  mov    %rax,-0x10(%rbp)
  jmp    L8
L24:
  lea    -0x10(%rbp),%rax
  add    $0x5,%rax
  movzbl (%rax),%eax
  mov    %al,-0x1d(%rbp)
  lea    -0x10(%rbp),%rdx
  add    $0x1,%rdx
  lea    -0x10(%rbp),%rax
  add    $0x5,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x1,%rax
  movzbl -0x1d(%rbp),%edx
  mov    %dl,(%rax)
  lea    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0x1d(%rbp)
  lea    -0x10(%rbp),%rax
  add    $0x5,%rax
  lea    -0x10(%rbp),%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0x10(%rbp),%rax
  add    $0x5,%rax
  movzbl -0x1d(%rbp),%edx
  mov    %dl,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  mov    %al,-0x1c(%rbp)
  lea    -0x10(%rbp),%rdx
  lea    -0x10(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0x10(%rbp),%rax
  movzbl -0x1c(%rbp),%edx
  mov    %dl,(%rax)
  jmp    L8
L14:
  mov    -0x10(%rbp),%rax
  cmp    %rax,-0x18(%rbp)
  jae    L67
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rax),%eax
  mov    %ax,-0x1a(%rbp)
  lea    -0x10(%rbp),%rdx
  add    $0x6,%rdx
  lea    -0x10(%rbp),%rax
  add    $0x2,%rax
  movzwl (%rdx),%edx
  mov    %dx,(%rax)
  lea    -0x10(%rbp),%rax
  add    $0x6,%rax
  movzwl -0x1a(%rbp),%edx
  mov    %dx,(%rax)
  jmp    L8
L67:
  mov    -0x10(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  imul   %rdx,%rax
  mov    %rax,-0x10(%rbp)
L8:
  addq   $0x2,-0x18(%rbp)
L28:
  cmpq   $0x0,-0x18(%rbp)
  je     L84
  mov    -0x10(%rbp),%rax
  lea    0x140a2d2a(%rax),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L76
  call   <__stack_chk_fail@plt>
L76:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned long input[1], unsigned long output[1]) {
  unsigned long state[1];
  unsigned long local1;
  char copy11;
  char copy12;
  char copy13;
  unsigned short copy15;
  {
    state[0UL] = (input[0UL] + 51238316UL) + 274866410UL;
    local1 = 0UL;
    while (local1 < 1UL) {
      if (state[0UL] < local1) {
        if (state[0UL] == local1) {
          copy11 = *((char *)(&state[local1]) + 7);
          *((char *)(&state[local1]) + 7) = *((char *)(&state[local1]) + 3);
          *((char *)(&state[local1]) + 3) = copy11;
          copy11 = *((char *)(&state[local1]) + 6);
          *((char *)(&state[local1]) + 6) = *((char *)(&state[local1]) + 5);
          *((char *)(&state[local1]) + 5) = copy11;
          state[0UL] -= state[local1];
        } else {
          copy12 = *((char *)(&state[0UL]) + 5);
          *((char *)(&state[0UL]) + 5) = *((char *)(&state[0UL]) + 1);
          *((char *)(&state[0UL]) + 1) = copy12;
          copy12 = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = *((char *)(&state[0UL]) + 5);
          *((char *)(&state[0UL]) + 5) = copy12;
          copy13 = *((char *)(&state[0UL]) + 1);
          *((char *)(&state[0UL]) + 1) = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = copy13;
        }
      } else if (state[0UL] > local1) {
        copy15 = *((unsigned short *)(&state[0UL]) + 1);
        *((unsigned short *)(&state[0UL]) + 1) = *((unsigned short *)(&state[0UL]) + 3);
        *((unsigned short *)(&state[0UL]) + 3) = copy15;
      } else {
        state[0UL] *= state[0UL];
      }
      local1 += 2UL;
    }
    output[0UL] = state[0UL] + 336211242UL;
  }
}
```