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

```asm
<LZ_CompressFast>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x448,%rsp
  mov    %rsi,0x10(%rsp)
  mov    %edx,0x20(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x438(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  je     L285
  lea    0x40000(%rcx),%r10
  mov    %edx,%ebx
  mov    %rdi,%r14
  mov    $0x40000,%edx
  mov    %rcx,%rdi
  mov    $0xff,%esi
  mov    %r10,(%rsp)
  call   <memset@plt>
  sub    $0x1,%ebx
  mov    (%rsp),%r10
  mov    %ebx,0x24(%rsp)
  mov    %rax,%rcx
  je     L124
  mov    %ebx,%edx
  xor    %esi,%esi
  nopl   0x0(%rax,%rax,1)
L225:
  movzbl (%r14,%rsi,1),%eax
  movzbl 0x1(%r14,%rsi,1),%edi
  shl    $0x8,%eax
  or     %edi,%eax
  lea    (%rcx,%rax,4),%rax
  mov    (%rax),%edi
  mov    %esi,(%rax)
  mov    %edi,0x40000(%rcx,%rsi,4)
  add    $0x1,%rsi
  cmp    %rsi,%rdx
  jne    L225
  lea    (%r10,%rdx,4),%rax
L26:
  lea    0x30(%rsp),%rsi
  movl   $0xffffffff,(%rax)
  mov    $0x80,%ecx
  xor    %eax,%eax
  mov    %rsi,%rdi
  rep stos %rax,%es:(%rdi)
  lea    0x1(%r14),%rdi
  mov    %r14,%rax
  mov    %rdi,0x28(%rsp)
  add    %rdi,%rdx
  nopl   0x0(%rax,%rax,1)
L174:
  movzbl (%rax),%ecx
  add    $0x1,%rax
  addl   $0x1,0x30(%rsp,%rcx,4)
  cmp    %rax,%rdx
  jne    L174
  mov    $0x1,%eax
  xor    %ebp,%ebp
  nopl   0x0(%rax,%rax,1)
L196:
  movzbl %bpl,%edx
  mov    0x30(%rsp,%rdx,4),%ecx
  cmp    %ecx,(%rsi,%rax,4)
  cmovb  %eax,%ebp
  add    $0x1,%rax
  cmp    $0x100,%rax
  jne    L196
  mov    0x10(%rsp),%rax
  mov    0x20(%rsp),%r11d
  xor    %r15d,%r15d
  mov    %r10,%r13
  mov    %bpl,0x1f(%rsp)
  mov    $0x1,%r9d
  mov    %bpl,(%rax)
  mov    %r9d,0x18(%rsp)
  mov    %r14,%r9
  mov    %r11d,%r14d
  nopl   0x0(%rax,%rax,1)
L254:
  mov    %r15d,%eax
  mov    0x0(%r13,%rax,4),%ebx
  lea    (%r9,%rax,1),%rdi
  cmp    $0xffffffff,%ebx
  je     L308
  mov    %r15d,%ebp
  sub    %ebx,%ebp
  cmp    $0x1869f,%ebp
  ja     L308
  mov    %r14d,%r8d
  mov    $0x3,%r12d
  mov    %r9,%r14
  movl   $0x0,0xc(%rsp)
  jmp    L111
  nopl   0x0(%rax)
L71:
  mov    0x0(%r13,%rbx,4),%ebx
  cmp    $0xffffffff,%ebx
  je     L226
L19:
  mov    %r15d,%ebp
  sub    %ebx,%ebp
  cmp    $0x1869f,%ebp
  ja     L226
L111:
  mov    %r12d,%eax
  lea    (%r14,%rbx,1),%rsi
  movzbl (%rdi,%rax,1),%edx
  cmp    %dl,(%rsi,%rax,1)
  jne    L71
  cmp    %ebp,%r8d
  mov    %ebp,%ecx
  mov    $0x2,%edx
  mov    %r8d,0x8(%rsp)
  cmovbe %r8d,%ecx
  mov    %rdi,(%rsp)
  call   <_LZ_StringCompare@plt>
  mov    (%rsp),%rdi
  mov    0x8(%rsp),%r8d
  cmp    %eax,%r12d
  jae    L71
  mov    0x0(%r13,%rbx,4),%ebx
  mov    %ebp,0xc(%rsp)
  mov    %eax,%r12d
  cmp    $0xffffffff,%ebx
  jne    L19
  nopw   0x0(%rax,%rax,1)
L226:
  mov    %r14,%r9
  mov    %r8d,%r14d
  cmp    $0x7,%r12d
  ja     L29
  cmp    $0x4,%r12d
  jne    L247
  cmpl   $0x7f,0xc(%rsp)
  ja     L247
  mov    $0x4,%r12d
L29:
  mov    0x10(%rsp),%rbp
  mov    0x18(%rsp),%eax
  mov    %r9,(%rsp)
  add    %r12d,%r15d
  movzbl 0x1f(%rsp),%edi
  sub    %r12d,%r14d
  lea    0x1(%rax),%esi
  mov    %dil,0x0(%rbp,%rax,1)
  mov    %rsi,%rbx
  mov    %r12d,%edi
  add    %rbp,%rsi
  call   <_LZ_WriteVarSize@plt>
  mov    0xc(%rsp),%edi
  lea    (%rbx,%rax,1),%esi
  mov    %rsi,%rbx
  add    %rbp,%rsi
  call   <_LZ_WriteVarSize@plt>
  mov    (%rsp),%r9
  add    %ebx,%eax
  mov    %eax,0x18(%rsp)
L64:
  cmp    $0x3,%r14d
  ja     L254
  mov    %r9,%r14
  movzbl 0x1f(%rsp),%ebp
  mov    0x18(%rsp),%r9d
  cmp    0x20(%rsp),%r15d
  jae    L307
  mov    0x24(%rsp),%esi
  mov    %r15d,%eax
  mov    0x10(%rsp),%rdi
  add    %rax,%r14
  add    0x28(%rsp),%rax
  sub    %r15d,%esi
  add    %rax,%rsi
  jmp    L136
  nopl   0x0(%rax,%rax,1)
L17:
  add    $0x1,%r14
  mov    %cl,(%rax)
  mov    %edx,%r9d
  cmp    %r14,%rsi
  je     L307
L136:
  movzbl (%r14),%ecx
  mov    %r9d,%eax
  lea    0x1(%r9),%edx
  add    %rdi,%rax
  cmp    %bpl,%cl
  jne    L17
  add    $0x1,%r14
  mov    %bpl,(%rax)
  add    $0x2,%r9d
  movb   $0x0,(%rdi,%rdx,1)
  cmp    %r14,%rsi
  jne    L136
L307:
  mov    %r9d,%eax
L285:
  mov    0x438(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L288
  add    $0x448,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L247:
  cmp    $0x5,%r12d
  jne    L166
  cmpl   $0x3fff,0xc(%rsp)
  ja     L166
  mov    $0x5,%r12d
  jmp    L29
L166:
  cmp    $0x6,%r12d
  je     L29
  cmp    $0x7,%r12d
  je     L29
L308:
  mov    0x18(%rsp),%ecx
  movzbl (%rdi),%edx
  add    $0x1,%r15d
  mov    0x10(%rsp),%rdi
  lea    0x1(%rcx),%eax
  mov    %dl,(%rdi,%rcx,1)
  cmp    0x1f(%rsp),%dl
  je     L39
L145:
  mov    %eax,0x18(%rsp)
  sub    $0x1,%r14d
  jmp    L64
L39:
  movb   $0x0,(%rdi,%rax,1)
  mov    0x18(%rsp),%eax
  add    $0x2,%eax
  jmp    L145
L124:
  mov    %r10,%rax
  xor    %edx,%edx
  jmp    L26
L288:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int LZ_CompressFast(unsigned char *in, unsigned char *out, unsigned int insize, unsigned int *work) {
  unsigned char marker, symbol;
  unsigned int inpos, outpos, bytesleft, i, index, symbols;
  unsigned int offset, bestoffset;
  unsigned int maxlength, length, bestlength;
  unsigned int histogram[256], *lastindex, *jumptable;
  unsigned char *ptr1, *ptr2;
  if (insize < 1) {
    return 0;
  }
  lastindex = work;
  jumptable = &work[65536];
  for (i = 0; i < 65536; ++i) {
    lastindex[i] = 0xffffffff;
  }
  for (i = 0; i < insize - 1; ++i) {
    symbols = (((unsigned int)in[i]) << 8) | ((unsigned int)in[i + 1]);
    index = lastindex[symbols];
    lastindex[symbols] = i;
    jumptable[i] = index;
  }
  jumptable[insize - 1] = 0xffffffff;
  for (i = 0; i < 256; ++i) {
    histogram[i] = 0;
  }
  for (i = 0; i < insize; ++i) {
    ++histogram[in[i]];
  }
  marker = 0;
  for (i = 1; i < 256; ++i) {
    if (histogram[i] < histogram[marker]) {
      marker = i;
    }
  }
  out[0] = marker;
  inpos = 0;
  outpos = 1;
  bytesleft = insize;
  do {
    ptr1 = &in[inpos];
    bestlength = 3;
    bestoffset = 0;
    index = jumptable[inpos];
    while ((index != 0xffffffff) && ((inpos - index) < 100000)) {
      ptr2 = &in[index];
      if (ptr2[bestlength] == ptr1[bestlength]) {
        offset = inpos - index;
        maxlength = (bytesleft < offset ? bytesleft : offset);
        length = _LZ_StringCompare(ptr1, ptr2, 2, maxlength);
        if (length > bestlength) {
          bestlength = length;
          bestoffset = offset;
        }
      }
      index = jumptable[index];
    }
    if ((bestlength >= 8) || ((bestlength == 4) && (bestoffset <= 0x0000007f)) || ((bestlength == 5) && (bestoffset <= 0x00003fff)) || ((bestlength == 6) && (bestoffset <= 0x001fffff)) || ((bestlength == 7) && (bestoffset <= 0x0fffffff))) {
      out[outpos++] = (unsigned char)marker;
      outpos += _LZ_WriteVarSize(bestlength, &out[outpos]);
      outpos += _LZ_WriteVarSize(bestoffset, &out[outpos]);
      inpos += bestlength;
      bytesleft -= bestlength;
    } else {
      symbol = in[inpos++];
      out[outpos++] = symbol;
      if (symbol == marker) {
        out[outpos++] = 0;
      }
      --bytesleft;
    }
  } while (bytesleft > 3);
  while (inpos < insize) {
    if (in[inpos] == marker) {
      out[outpos++] = marker;
      out[outpos++] = 0;
    } else {
      out[outpos++] = in[inpos];
    }
    ++inpos;
  }
  return outpos;
}
```