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

```asm
<Encrypt>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  lea    0x7(%rdx),%eax
  cmovns %edx,%eax
  sar    $0x3,%eax
  mov    %eax,0x4(%rsp)
  cmp    $0x7,%edx
  jle    L2
  lea    0x1c(%rsp),%rax
  mov    %rdi,%rbx
  mov    %rsi,%r14
  xor    %r13d,%r13d
  mov    %rax,0x8(%rsp)
  lea    0x24(%rsp),%r12
  lea    0x20(%rsp),%rbp
  nopw   0x0(%rax,%rax,1)
L0:
  mov    0x4(%rbx),%eax
  mov    (%rbx),%edx
  mov    $0x3e,%ecx
  mov    %eax,%esi
  lea    0x0(,%rdx,4),%edi
  shl    $0x1d,%edx
  sar    %cl,%esi
  mov    $0x23,%ecx
  xor    %esi,%edi
  sar    %cl,%eax
  mov    $0x3b,%ecx
  xor    %edx,%edi
  mov    0x8(%rbx),%edx
  xor    %eax,%edi
  mov    0xc(%rbx),%eax
  mov    %edx,%esi
  shl    $0x14,%edx
  mov    %eax,%r15d
  shl    $0x5,%esi
  sar    %cl,%r15d
  mov    $0x2c,%ecx
  xor    %r15d,%esi
  sar    %cl,%eax
  mov    $0x3e,%ecx
  xor    %edx,%esi
  mov    0x10(%rbx),%edx
  xor    %eax,%esi
  mov    0x14(%rbx),%eax
  lea    0x0(,%rdx,4),%r9d
  mov    %eax,%edx
  sar    $0x11,%eax
  sar    %cl,%edx
  mov    %r9d,%ecx
  xor    %edx,%ecx
  xor    %eax,%ecx
  mov    %edi,%eax
  xor    %esi,%eax
  mov    %ecx,(%rsp)
  xor    %ecx,%eax
  xor    %eax,(%r14,%r13,4)
  mov    (%rbx),%r8d
  mov    $0x25,%ecx
  mov    0x4(%rbx),%r9d
  mov    0x8(%rbx),%eax
  mov    %r8d,%r11d
  mov    0xc(%rbx),%r10d
  mov    %r9d,%edx
  shl    $0x1b,%r11d
  mov    %r9d,%r15d
  sar    %cl,%edx
  mov    $0x24,%ecx
  xor    %edx,%r11d
  mov    %r8d,%edx
  sar    %cl,%r15d
  mov    $0x32,%ecx
  shl    $0x1c,%edx
  xor    %r15d,%edx
  mov    %r10d,%r15d
  and    %r11d,%edx
  mov    %eax,%r11d
  sar    %cl,%r15d
  mov    $0x2e,%ecx
  shl    $0xe,%r11d
  xor    %r15d,%r11d
  xor    %r11d,%edx
  mov    %eax,%r11d
  xor    %edi,%edx
  mov    %r10d,%edi
  shl    $0x12,%r11d
  add    $0x1,%r13
  sar    %cl,%edi
  mov    $0x2d,%ecx
  shl    $0x13,%eax
  mov    %edx,0x1c(%rsp)
  sar    %cl,%r10d
  mov    0x14(%rbx),%edx
  xor    %r11d,%edi
  mov    $0x29,%ecx
  xor    %r10d,%eax
  shl    $0x5,%r8d
  and    %edi,%eax
  mov    0x10(%rbx),%edi
  mov    %edx,%r10d
  sar    %cl,%r10d
  mov    $0x3b,%ecx
  shl    $0x17,%edi
  sar    %cl,%r9d
  mov    %r12,%rcx
  xor    %r10d,%edi
  xor    %r9d,%r8d
  xor    %edi,%eax
  mov    %rbx,%rdi
  xor    %esi,%eax
  mov    0x8(%rsp),%rsi
  mov    %eax,0x20(%rsp)
  mov    %edx,%eax
  sar    $0x12,%edx
  sar    $0x13,%eax
  and    %eax,%edx
  xor    %edx,%r8d
  mov    %rbp,%rdx
  xor    (%rsp),%r8d
  mov    %r8d,0x24(%rsp)
  call   <Rotate@plt>
  cmp    %r13d,0x4(%rsp)
  jg     L0
L2:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L3
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L3:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void Encrypt(uint8_t *state, uint8_t *stream, uint16_t length) {
  uint16_t i;
  uint64_t t1, t2, t3;
  uint64_t x1, x2, x3, x4, x5;
  uint64_t *State = (uint64_t *)state;
  uint64_t *Stream = (uint64_t *)stream;
  for (i = 0; i < length / 8; i++) {
    x1 = (State[0] << 2) ^ (State[1] >> 62);
    x4 = (State[0] << 29) ^ (State[1] >> 35);
    t1 = x1 ^ x4;
    x1 = (State[2] << 5) ^ (State[3] >> 59);
    x4 = (State[2] << 20) ^ (State[3] >> 44);
    t2 = x1 ^ x4;
    x1 = (State[4] << 2) ^ (State[5] >> 62);
    x4 = (State[4] << 47) ^ (State[5] >> 17);
    t3 = x1 ^ x4;
    Stream[i] ^= t1 ^ t2 ^ t3;
    x2 = (State[0] << 27) ^ (State[1] >> 37);
    x3 = (State[0] << 28) ^ (State[1] >> 36);
    x5 = (State[2] << 14) ^ (State[3] >> 50);
    t1 = t1 ^ (x2 & x3) ^ x5;
    x2 = (State[2] << 18) ^ (State[3] >> 46);
    x3 = (State[2] << 19) ^ (State[3] >> 45);
    x5 = (State[4] << 23) ^ (State[5] >> 41);
    t2 = t2 ^ (x2 & x3) ^ x5;
    x2 = (State[4] << 45) ^ (State[5] >> 19);
    x3 = (State[4] << 46) ^ (State[5] >> 18);
    x5 = (State[0] << 5) ^ (State[1] >> 59);
    t3 = t3 ^ (x2 & x3) ^ x5;
    Rotate(State, &t1, &t2, &t3);
  }
}
```