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

```asm
<btea>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%r9
  mov    %rdx,%r8
  mov    (%rdi),%rcx
  cmp    $0x1,%rsi
  jg     L24
  mov    $0x1,%eax
  cmp    $0xffffffffffffffff,%rsi
  jl     L71
L41:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L24:
  lea    -0x8(%rdi,%rsi,8),%r10
  mov    (%r10),%rcx
  mov    $0x34,%eax
  cqto
  idiv   %rsi
  mov    $0x9e3779b9,%edx
  imul   %rdx,%rax
  movabs $0x3b54cda56,%rdx
  lea    (%rax,%rdx,1),%r11
  mov    $0x0,%esi
  mov    $0x9e3779b9,%ebx
  sub    $0x1,%r9
L38:
  add    %rbx,%rsi
  mov    %rsi,%r12
  shr    $0x2,%r12
  mov    $0x0,%edx
L8:
  mov    0x8(%rdi,%rdx,8),%rax
  mov    %r12,%rbp
  xor    %rdx,%rbp
  and    $0x3,%ebp
  mov    %rcx,%r14
  xor    (%r8,%rbp,8),%r14
  mov    %r14,%rbp
  mov    %rsi,%r13
  xor    %rax,%r13
  add    %r13,%rbp
  mov    %rcx,%r13
  shr    $0x5,%r13
  lea    0x0(,%rax,4),%r14
  xor    %r14,%r13
  shr    $0x3,%rax
  shl    $0x4,%rcx
  xor    %rcx,%rax
  add    %r13,%rax
  xor    %rbp,%rax
  add    (%rdi,%rdx,8),%rax
  mov    %rax,%rcx
  mov    %rax,(%rdi,%rdx,8)
  add    $0x1,%rdx
  cmp    %rdx,%r9
  jne    L8
  mov    (%rdi),%rax
  xor    %r12,%rdx
  and    $0x3,%edx
  mov    %rcx,%rbp
  xor    (%r8,%rdx,8),%rbp
  mov    %rsi,%rdx
  xor    %rax,%rdx
  add    %rdx,%rbp
  mov    %rcx,%rdx
  shr    $0x5,%rdx
  lea    0x0(,%rax,4),%r12
  xor    %r12,%rdx
  shr    $0x3,%rax
  shl    $0x4,%rcx
  xor    %rcx,%rax
  add    %rdx,%rax
  xor    %rbp,%rax
  add    (%r10),%rax
  mov    %rax,%rcx
  mov    %rax,(%r10)
  cmp    %r11,%rsi
  jne    L38
  mov    $0x0,%eax
  jmp    L41
L71:
  neg    %rsi
  mov    $0x34,%eax
  cqto
  idiv   %rsi
  lea    0x6(%rax),%r10
  mov    $0x9e3779b9,%eax
  imul   %rax,%r10
  mov    %r9,%rax
  not    %rax
  lea    (%rdi,%rax,8),%rbp
  movabs $0xffffffff61c88647,%rbx
L17:
  mov    %r10,%r11
  shr    $0x2,%r11
  mov    %r9,%rax
  not    %rax
L45:
  mov    -0x8(%rdi,%rax,8),%rsi
  mov    %r11,%rdx
  xor    %rax,%rdx
  and    $0x3,%edx
  mov    %rsi,%r14
  xor    (%r8,%rdx,8),%r14
  mov    %rcx,%r13
  xor    %r10,%r13
  lea    (%r14,%r13,1),%r12
  mov    %rsi,%rdx
  shr    $0x5,%rdx
  lea    0x0(,%rcx,4),%r13
  xor    %r13,%rdx
  shr    $0x3,%rcx
  shl    $0x4,%rsi
  xor    %rsi,%rcx
  add    %rdx,%rcx
  mov    %r12,%rdx
  xor    %rcx,%rdx
  mov    (%rdi,%rax,8),%rcx
  sub    %rdx,%rcx
  mov    %rcx,(%rdi,%rax,8)
  sub    $0x1,%rax
  jne    L45
  mov    0x0(%rbp),%rsi
  mov    %rsi,%rdx
  shr    $0x5,%rdx
  lea    0x0(,%rcx,4),%r12
  xor    %r12,%rdx
  mov    %rcx,%r12
  shr    $0x3,%r12
  mov    %rsi,%r13
  shl    $0x4,%r13
  xor    %r13,%r12
  add    %r12,%rdx
  and    $0x3,%r11d
  xor    (%r8,%r11,8),%rsi
  xor    %r10,%rcx
  add    %rcx,%rsi
  xor    %rsi,%rdx
  mov    (%rdi),%rcx
  sub    %rdx,%rcx
  mov    %rcx,(%rdi)
  add    %rbx,%r10
  jne    L17
  jmp    L41
```

assistant: ```c
long btea(long *v, long length, long *key) {
  unsigned long z, y = v[0], sum = 0, e, DELTA = 0x9e3779b9;
  long p, q;
  if (length > 1) {
    z = v[length - 1];
    q = 6 + 52 / length;
    while (q-- > 0) {
      sum += DELTA;
      e = (sum >> 2) & 3;
      for (p = 0; p < length - 1; p++)
        y = v[p + 1], z = v[p] += ((((z >> 5) ^ (y << 2)) + ((y >> 3) ^ (z << 4))) ^ ((sum ^ y) + (key[(p & 3) ^ e] ^ z)));
      y = v[0];
      z = v[length - 1] += ((((z >> 5) ^ (y << 2)) + ((y >> 3) ^ (z << 4))) ^ ((sum ^ y) + (key[(p & 3) ^ e] ^ z)));
    }
    return 0;
  } else if (length < -1) {
    length = -length;
    q = 6 + 52 / length;
    sum = q * DELTA;
    while (sum != 0) {
      e = (sum >> 2) & 3;
      for (p = length - 1; p > 0; p--)
        z = v[p - 1], y = v[p] -= ((((z >> 5) ^ (y << 2)) + ((y >> 3) ^ (z << 4))) ^ ((sum ^ y) + (key[(p & 3) ^ e] ^ z)));
      z = v[length - 1];
      y = v[0] -= ((((z >> 5) ^ (y << 2)) + ((y >> 3) ^ (z << 4))) ^ ((sum ^ y) + (key[(p & 3) ^ e] ^ z)));
      sum -= DELTA;
    }
    return 0;
  }
  return 1;
}
```