user: Demonstrate the C code that generates the assembly output below:

```asm
<Encrypt>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdx,0x8(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  test   %rdx,%rdx
  je     L26
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  lea    0x24(%rsp),%r14
  xor    %r15d,%r15d
  lea    0x20(%rsp),%r13
  lea    0x1c(%rsp),%r12
  nopl   0x0(%rax,%rax,1)
L24:
  mov    0x1c(%rbx),%eax
  mov    0x4c(%rbx),%edx
  mov    0x7c(%rbx),%esi
  lea    0x0(,%rax,4),%ecx
  mov    0x20(%rbx),%eax
  shl    $0x5,%edx
  sar    $0x6,%esi
  sar    $0x6,%eax
  xor    %eax,%ecx
  mov    0x28(%rbx),%eax
  shl    $0x5,%eax
  xor    %eax,%ecx
  mov    0x2c(%rbx),%eax
  sar    $0x3,%eax
  xor    %eax,%ecx
  mov    0x50(%rbx),%eax
  sar    $0x3,%eax
  xor    %eax,%edx
  mov    0x54(%rbx),%eax
  shl    $0x4,%eax
  xor    %eax,%edx
  mov    0x58(%rbx),%eax
  sar    $0x4,%eax
  xor    %eax,%edx
  mov    0x78(%rbx),%eax
  shl    $0x2,%eax
  xor    %esi,%eax
  mov    0x8c(%rbx),%esi
  shl    $0x7,%esi
  xor    %esi,%eax
  mov    0x90(%rbx),%esi
  sar    %esi
  xor    %esi,%eax
  mov    %ecx,%esi
  xor    %edx,%esi
  xor    %eax,%esi
  xor    %esi,0x0(%rbp,%r15,4)
  mov    0x2c(%rbx),%r10d
  mov    0x28(%rbx),%r9d
  mov    0x54(%rbx),%esi
  mov    %r10d,%r11d
  sar    $0x4,%r10d
  sar    $0x5,%r11d
  lea    0x0(,%r9,8),%edi
  shl    $0x4,%r9d
  xor    %r10d,%r9d
  xor    %r11d,%edi
  mov    %esi,%r10d
  and    %r9d,%edi
  mov    0x50(%rbx),%r9d
  sar    $0x2,%r10d
  shl    $0x6,%r9d
  xor    %r10d,%r9d
  xor    %r9d,%edi
  add    $0x1,%r15
  xor    %edi,%ecx
  mov    0x58(%rbx),%edi
  mov    %ecx,0x1c(%rsp)
  lea    0x0(,%rsi,4),%ecx
  shl    $0x3,%esi
  mov    %edi,%r9d
  sar    $0x5,%edi
  sar    $0x6,%r9d
  xor    %edi,%esi
  mov    0x84(%rbx),%edi
  xor    %r9d,%ecx
  and    %esi,%ecx
  mov    0x80(%rbx),%esi
  sar    %edi
  shl    $0x7,%esi
  xor    %edi,%esi
  xor    %esi,%ecx
  mov    0x90(%rbx),%esi
  xor    %ecx,%edx
  mov    0x8c(%rbx),%ecx
  mov    %edx,0x20(%rsp)
  mov    %esi,%edi
  sar    $0x2,%esi
  mov    %ecx,%edx
  sar    $0x3,%edi
  shl    $0x5,%edx
  shl    $0x6,%ecx
  xor    %esi,%ecx
  xor    %edi,%edx
  mov    0x20(%rbx),%esi
  mov    %rbx,%rdi
  and    %ecx,%edx
  mov    0x1c(%rbx),%ecx
  sar    $0x3,%esi
  shl    $0x5,%ecx
  xor    %esi,%ecx
  mov    %r12,%rsi
  xor    %ecx,%edx
  mov    %r14,%rcx
  xor    %edx,%eax
  mov    %r13,%rdx
  mov    %eax,0x24(%rsp)
  call   <Rotate@plt>
  cmp    %r15,0x8(%rsp)
  jne    L24
L26:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L9
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void Encrypt(uint8_t *state, uint8_t *stream, uint16_t length) {
  uint16_t i;
  uint8_t t1, t2, t3;
  uint8_t x1, x2, x3, x4, x5;
  for (i = 0; i < length; i++) {
    x1 = (state[7] << 2) ^ (state[8] >> 6);
    x4 = (state[10] << 5) ^ (state[11] >> 3);
    t1 = x1 ^ x4;
    x1 = (state[19] << 5) ^ (state[20] >> 3);
    x4 = (state[21] << 4) ^ (state[22] >> 4);
    t2 = x1 ^ x4;
    x1 = (state[30] << 2) ^ (state[31] >> 6);
    x4 = (state[35] << 7) ^ (state[36] >> 1);
    t3 = x1 ^ x4;
    stream[i] ^= t1 ^ t2 ^ t3;
    x2 = (state[10] << 3) ^ (state[11] >> 5);
    x3 = (state[10] << 4) ^ (state[11] >> 4);
    x5 = (state[20] << 6) ^ (state[21] >> 2);
    t1 = t1 ^ (x2 & x3) ^ x5;
    x2 = (state[21] << 2) ^ (state[22] >> 6);
    x3 = (state[21] << 3) ^ (state[22] >> 5);
    x5 = (state[32] << 7) ^ (state[33] >> 1);
    t2 = t2 ^ (x2 & x3) ^ x5;
    x2 = (state[35] << 5) ^ (state[36] >> 3);
    x3 = (state[35] << 6) ^ (state[36] >> 2);
    x5 = (state[7] << 5) ^ (state[8] >> 3);
    t3 = t3 ^ (x2 & x3) ^ x5;
    Rotate(state, &t1, &t2, &t3);
  }
}
```