user: What would the C source look like for the assembly code provided here?

```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),%eax
  shr    $0x3,%eax
  or     $0x61bab5,%eax
  mov    %eax,-0xc(%rbp)
  movl   $0x0,-0x10(%rbp)
  jmp    L65
L38:
  mov    -0xc(%rbp),%eax
  cmp    %eax,-0x10(%rbp)
  jae    L40
  mov    -0xc(%rbp),%eax
  cmp    %eax,-0x10(%rbp)
  jae    L48
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  mov    %al,-0x12(%rbp)
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    $0x2,%rax
  lea    -0xc(%rbp),%rcx
  mov    -0x10(%rbp),%edx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  add    $0x1,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x2(%rax),%rdx
  movzbl -0x12(%rbp),%eax
  mov    %al,(%rdx)
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  mov    %al,-0x12(%rbp)
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    -0xc(%rbp),%rcx
  mov    -0x10(%rbp),%edx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  add    $0x2,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rax,%rdx
  movzbl -0x12(%rbp),%eax
  mov    %al,(%rdx)
  lea    -0xc(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0x11(%rbp)
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  lea    -0xc(%rbp),%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  movzbl -0x11(%rbp),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  mov    %al,-0x11(%rbp)
  lea    -0xc(%rbp),%rdx
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  movzbl -0x11(%rbp),%edx
  mov    %dl,(%rax)
  jmp    L12
L48:
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x14(%rbp)
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    $0x1,%rax
  lea    -0xc(%rbp),%rcx
  mov    -0x10(%rbp),%edx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  lea    -0xc(%rbp),%rdx
  mov    -0x10(%rbp),%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x1(%rax),%rdx
  movzbl -0x14(%rbp),%eax
  mov    %al,(%rdx)
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  mov    %al,-0x13(%rbp)
  lea    -0xc(%rbp),%rdx
  add    $0x3,%rdx
  lea    -0xc(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  lea    -0xc(%rbp),%rax
  add    $0x3,%rax
  movzbl -0x13(%rbp),%edx
  mov    %dl,(%rax)
  jmp    L12
L40:
  mov    -0x10(%rbp),%eax
  mov    -0xc(%rbp,%rax,4),%edx
  mov    -0xc(%rbp),%eax
  shr    $0x3,%eax
  and    $0x6,%eax
  or     $0x1,%eax
  mov    %eax,%ecx
  shr    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0xc(%rbp)
L12:
  addl   $0x2,-0x10(%rbp)
L65:
  cmpl   $0x0,-0x10(%rbp)
  je     L38
  mov    -0xc(%rbp),%eax
  and    $0x1060000,%eax
  or     $0x4106000,%eax
  mov    %eax,%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L27
  call   <__stack_chk_fail@plt>
L27:
  leave
  ret
```

assistant: ```c
void RandomFunc(unsigned int input[1], unsigned int output[1]) {
  unsigned int state[1];
  unsigned int local1;
  char copy11;
  char copy12;
  char copy13;
  char copy14;
  {
    state[0UL] = (input[0UL] | 51238316UL) >> 3U;
    local1 = 0UL;
    while (local1 < 1UL) {
      if (state[0UL] > local1) {
        if (state[0UL] > local1) {
          copy11 = *((char *)(&state[local1]) + 1);
          *((char *)(&state[local1]) + 1) = *((char *)(&state[local1]) + 2);
          *((char *)(&state[local1]) + 2) = copy11;
          copy11 = *((char *)(&state[local1]) + 2);
          *((char *)(&state[local1]) + 2) = *((char *)(&state[local1]) + 0);
          *((char *)(&state[local1]) + 0) = copy11;
          copy12 = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = *((char *)(&state[0UL]) + 3);
          *((char *)(&state[0UL]) + 3) = copy12;
          copy12 = *((char *)(&state[0UL]) + 3);
          *((char *)(&state[0UL]) + 3) = *((char *)(&state[0UL]) + 0);
          *((char *)(&state[0UL]) + 0) = copy12;
        } else {
          copy13 = *((char *)(&state[local1]) + 0);
          *((char *)(&state[local1]) + 0) = *((char *)(&state[local1]) + 1);
          *((char *)(&state[local1]) + 1) = copy13;
          copy14 = *((char *)(&state[0UL]) + 2);
          *((char *)(&state[0UL]) + 2) = *((char *)(&state[0UL]) + 3);
          *((char *)(&state[0UL]) + 3) = copy14;
        }
      } else {
        state[0UL] = state[local1] >> (((state[0UL] >> 3U) & 7U) | 1UL);
      }
      local1 += 2UL;
    }
    output[0UL] = (state[0UL] | 638614615UL) & 85352448U;
  }
}
```