user: 下面的汇编指令对应的C源代码是什么:

```asm
<neoscrypt_blkmix>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %rsi,0x10(%rsp)
  mov    %edx,0xc(%rsp)
  mov    %ecx,%r15d
  sar    $0x8,%r15d
  movzbl %cl,%r14d
  cmp    $0x1,%edx
  je     L58
  mov    0xc(%rsp),%eax
  cmp    $0x2,%eax
  je     L6
  lea    (%rax,%rax,1),%edx
  test   %edx,%edx
  jle    L138
  lea    -0x1(%rdx),%eax
  shl    $0x4,%eax
  cltq
  lea    (%rdi,%rax,4),%rax
  mov    %rax,0x18(%rsp)
  mov    0x10(%rsp),%r13
  mov    %edx,%eax
  mov    %rax,(%rsp)
  mov    $0x0,%r12d
  mov    $0x0,%ebp
  jmp    L149
L58:
  test   %r15d,%r15d
  je     L126
  lea    0x40(%rdi),%rbp
  mov    $0x40,%edx
  mov    %rbp,%rsi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <neoscrypt_chacha@plt>
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <neoscrypt_chacha@plt>
  jmp    L91
L126:
  lea    0x40(%rdi),%rbp
  mov    $0x40,%edx
  mov    %rbp,%rsi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <neoscrypt_salsa@plt>
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <neoscrypt_salsa@plt>
  jmp    L91
L6:
  test   %r15d,%r15d
  je     L81
  lea    0xc0(%rdi),%r12
  mov    $0x40,%edx
  mov    %r12,%rsi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <neoscrypt_chacha@plt>
  lea    0x40(%rbx),%rbp
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <neoscrypt_chacha@plt>
  sub    $0xffffffffffffff80,%rbx
  mov    $0x40,%edx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <neoscrypt_chacha@plt>
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %r12,%rdi
  call   <neoscrypt_chacha@plt>
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkswp@plt>
  jmp    L91
L81:
  lea    0xc0(%rdi),%r12
  mov    $0x40,%edx
  mov    %r12,%rsi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <neoscrypt_salsa@plt>
  lea    0x40(%rbx),%rbp
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <neoscrypt_salsa@plt>
  sub    $0xffffffffffffff80,%rbx
  mov    $0x40,%edx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <neoscrypt_salsa@plt>
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <neoscrypt_blkxor@plt>
  mov    %r14d,%esi
  mov    %r12,%rdi
  call   <neoscrypt_salsa@plt>
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkswp@plt>
  jmp    L91
L48:
  mov    $0x40,%edx
  mov    0x18(%rsp),%rsi
  mov    %rbx,%rdi
  call   <neoscrypt_blkxor@plt>
  jmp    L40
L114:
  movslq %r12d,%rax
  lea    (%rbx,%rax,4),%rdi
  mov    %r14d,%esi
  call   <neoscrypt_salsa@plt>
L97:
  mov    %rbp,%rsi
  shl    $0x6,%rsi
  add    %rbx,%rsi
  mov    $0x40,%edx
  mov    %r13,%rdi
  call   <neoscrypt_blkcpy@plt>
  add    $0x1,%rbp
  add    $0x40,%r13
  add    $0x10,%r12d
  cmp    (%rsp),%rbp
  je     L138
L149:
  test   %ebp,%ebp
  je     L48
  lea    -0x10(%r12),%eax
  cltq
  lea    (%rbx,%rax,4),%rsi
  movslq %r12d,%rax
  lea    (%rbx,%rax,4),%rdi
  mov    $0x40,%edx
  call   <neoscrypt_blkxor@plt>
L40:
  test   %r15d,%r15d
  je     L114
  movslq %r12d,%rax
  lea    (%rbx,%rax,4),%rdi
  mov    %r14d,%esi
  call   <neoscrypt_chacha@plt>
  jmp    L97
L138:
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L91
  mov    %rbx,%rbp
  lea    -0x1(%rax),%r14d
  mov    %r14,%rax
  shl    $0x6,%rax
  lea    0x40(%rbx,%rax,1),%r13
  mov    0x10(%rsp),%r12
L160:
  mov    $0x40,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkcpy@plt>
  add    $0x40,%rbp
  sub    $0xffffffffffffff80,%r12
  cmp    %r13,%rbp
  jne    L160
  mov    0xc(%rsp),%eax
  shl    $0x4,%eax
  cltq
  lea    (%rbx,%rax,4),%rbp
  mov    0x10(%rsp),%rax
  lea    0x40(%rax),%rbx
  shl    $0x7,%r14
  lea    0xc0(%rax,%r14,1),%r12
L80:
  mov    $0x40,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <neoscrypt_blkcpy@plt>
  add    $0x40,%rbp
  sub    $0xffffffffffffff80,%rbx
  cmp    %r12,%rbx
  jne    L80
L91:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void neoscrypt_blkmix(uint *X, uint *Y, uint r, uint mixmode) {
  uint i, mixer, rounds;
  mixer = mixmode >> 8;
  rounds = mixmode & 0xFF;
  if (r == 1) {
    if (mixer) {
      neoscrypt_blkxor(&X[0], &X[16], 64);
      neoscrypt_chacha(&X[0], rounds);
      neoscrypt_blkxor(&X[16], &X[0], 64);
      neoscrypt_chacha(&X[16], rounds);
    } else {
      neoscrypt_blkxor(&X[0], &X[16], 64);
      neoscrypt_salsa(&X[0], rounds);
      neoscrypt_blkxor(&X[16], &X[0], 64);
      neoscrypt_salsa(&X[16], rounds);
    }
    return;
  }
  if (r == 2) {
    if (mixer) {
      neoscrypt_blkxor(&X[0], &X[48], 64);
      neoscrypt_chacha(&X[0], rounds);
      neoscrypt_blkxor(&X[16], &X[0], 64);
      neoscrypt_chacha(&X[16], rounds);
      neoscrypt_blkxor(&X[32], &X[16], 64);
      neoscrypt_chacha(&X[32], rounds);
      neoscrypt_blkxor(&X[48], &X[32], 64);
      neoscrypt_chacha(&X[48], rounds);
      neoscrypt_blkswp(&X[16], &X[32], 64);
    } else {
      neoscrypt_blkxor(&X[0], &X[48], 64);
      neoscrypt_salsa(&X[0], rounds);
      neoscrypt_blkxor(&X[16], &X[0], 64);
      neoscrypt_salsa(&X[16], rounds);
      neoscrypt_blkxor(&X[32], &X[16], 64);
      neoscrypt_salsa(&X[32], rounds);
      neoscrypt_blkxor(&X[48], &X[32], 64);
      neoscrypt_salsa(&X[48], rounds);
      neoscrypt_blkswp(&X[16], &X[32], 64);
    }
    return;
  }
  for (i = 0; i < 2 * r; i++) {
    if (i)
      neoscrypt_blkxor(&X[16 * i], &X[16 * (i - 1)], 64);
    else
      neoscrypt_blkxor(&X[0], &X[16 * (2 * r - 1)], 64);
    if (mixer)
      neoscrypt_chacha(&X[16 * i], rounds);
    else
      neoscrypt_salsa(&X[16 * i], rounds);
    neoscrypt_blkcpy(&Y[16 * i], &X[16 * i], 64);
  }
  for (i = 0; i < r; i++)
    neoscrypt_blkcpy(&X[16 * i], &Y[16 * 2 * i], 64);
  for (i = 0; i < r; i++)
    neoscrypt_blkcpy(&X[16 * (i + r)], &Y[16 * (2 * i + 1)], 64);
}
```