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

```asm
<c2i_ASN1_INTEGER>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdx,%r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x18,%rsp
  test   %rdi,%rdi
  je     L160
  mov    (%rdi),%r12
  test   %r12,%r12
  je     L160
  mov    (%rsi),%rsi
  lea    0x1(%rdx),%rdi
  lea    (%rsi,%rdx,1),%rax
  mov    %rsi,0x8(%rsp)
  mov    %rax,(%rsp)
  call   <malloc@plt>
  mov    0x8(%rsp),%rsi
  test   %rax,%rax
  mov    %rax,%r15
  je     L227
L147:
  test   %r14,%r14
  jne    L169
  mov    D6(%rip),%rax
  xor    %r13d,%r13d
  mov    (%rax),%rax
  mov    %rax,0x10(%r12)
L193:
  mov    (%r12),%rdi
  call   <free@plt>
  mov    %r15,(%r12)
  mov    %r13d,0x8(%r12)
  test   %rbx,%rbx
  je     L57
  mov    %r12,(%rbx)
L57:
  mov    (%rsp),%rax
  mov    %rax,0x0(%rbp)
L290:
  add    $0x18,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L169:
  cmpb   $0x0,(%rsi)
  js     L16
  mov    D6(%rip),%rax
  mov    (%rax),%rax
  mov    %rax,0x10(%r12)
  cmpb   $0x0,(%rsi)
  jne    L146
  mov    $0x1,%r13d
  cmp    $0x1,%r14
  je     L149
  add    $0x1,%rsi
  sub    $0x1,%r14
L146:
  mov    %r14d,%r13d
L149:
  mov    %r14,%rdx
  mov    %r15,%rdi
  call   <memcpy@plt>
  jmp    L193
  nopl   0x0(%rax)
L160:
  xor    %eax,%eax
  call   <ASN1_INTEGER_new@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L154
  mov    0x0(%rbp),%rsi
  lea    0x1(%r14),%rdi
  lea    (%rsi,%r14,1),%rax
  mov    %rsi,0x8(%rsp)
  mov    %rax,(%rsp)
  call   <malloc@plt>
  mov    0x8(%rsp),%rsi
  test   %rax,%rax
  mov    %rax,%r15
  jne    L147
  mov    D34(%rip),%rax
  mov    (%rax),%edi
  call   <ASN1error@plt>
  test   %rbx,%rbx
  je     L40
L272:
  cmp    %r12,(%rbx)
  je     L154
L40:
  mov    %r12,%rdi
  call   <ASN1_INTEGER_free@plt>
  nopw   0x0(%rax,%rax,1)
L154:
  xor    %r12d,%r12d
  jmp    L290
  nopl   0x0(%rax,%rax,1)
L16:
  mov    D33(%rip),%rax
  mov    (%rax),%rax
  mov    %rax,0x10(%r12)
  cmpb   $0xff,(%rsi)
  je     L51
L5:
  movslq %r14d,%rdx
  mov    %r14d,%r13d
  sub    $0x1,%rdx
  lea    (%rsi,%rdx,1),%rax
  add    %r15,%rdx
  movzbl (%rax),%esi
  test   %sil,%sil
  jne    L85
  test   %r14d,%r14d
  je     L184
  mov    %r14d,%ecx
  jmp    L253
  nop
L21:
  test   %ecx,%ecx
  je     L184
L253:
  sub    $0x1,%rax
  movb   $0x0,(%rdx)
  sub    $0x1,%rdx
  sub    $0x1,%ecx
  movzbl (%rax),%esi
  test   %sil,%sil
  je     L21
L242:
  test   %ecx,%ecx
  je     L184
  neg    %esi
  mov    %sil,(%rdx)
  cmp    $0x1,%ecx
  jle    L193
  sub    $0x2,%ecx
  mov    $0xfffffffffffffffe,%rdi
  sub    %rcx,%rdi
  mov    $0xffffffffffffffff,%rcx
L262:
  movzbl (%rax,%rcx,1),%esi
  not    %esi
  mov    %sil,(%rdx,%rcx,1)
  sub    $0x1,%rcx
  cmp    %rdi,%rcx
  jne    L262
  jmp    L193
  nopl   0x0(%rax,%rax,1)
L184:
  movb   $0x1,(%r15)
  lea    0x1(%r14),%r13d
  movb   $0x0,(%r15,%r14,1)
  jmp    L193
  nopw   0x0(%rax,%rax,1)
L51:
  cmp    $0x1,%r14
  je     L158
  add    $0x1,%rsi
  sub    $0x1,%r14
  jmp    L5
  nopl   0x0(%rax,%rax,1)
L158:
  movb   $0x1,(%r15)
  mov    $0x1,%r13d
  jmp    L193
L227:
  mov    D34(%rip),%rax
  mov    (%rax),%edi
  call   <ASN1error@plt>
  jmp    L272
L85:
  mov    %r14d,%ecx
  jmp    L242
```

assistant: ```c
ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp, long len) {
  ASN1_INTEGER *ret = NULL;
  const unsigned char *p, *pend;
  unsigned char *to, *s;
  int i;
  if ((a == NULL) || ((*a) == NULL)) {
    if ((ret = ASN1_INTEGER_new()) == NULL)
      return (NULL);
  } else
    ret = (*a);
  p = *pp;
  pend = p + len;
  s = malloc(len + 1);
  if (s == NULL) {
    i = ERR_R_MALLOC_FAILURE;
    goto err;
  }
  to = s;
  if (!len) {
    ret->type = V_ASN1_INTEGER;
  } else if (*p & 0x80) {
    ret->type = V_ASN1_NEG_INTEGER;
    if ((*p == 0xff) && (len != 1)) {
      p++;
      len--;
    }
    i = len;
    p += i - 1;
    to += i - 1;
    while ((!*p) && i) {
      *(to--) = 0;
      i--;
      p--;
    }
    if (!i) {
      *s = 1;
      s[len] = 0;
      len++;
    } else {
      *(to--) = (*(p--) ^ 0xff) + 1;
      i--;
      for (; i > 0; i--)
        *(to--) = *(p--) ^ 0xff;
    }
  } else {
    ret->type = V_ASN1_INTEGER;
    if ((*p == 0) && (len != 1)) {
      p++;
      len--;
    }
    memcpy(s, p, len);
  }
  free(ret->data);
  ret->data = s;
  ret->length = (int)len;
  if (a != NULL)
    (*a) = ret;
  *pp = pend;
  return (ret);
err:
  ASN1error(i);
  if (a == NULL || *a != ret)
    ASN1_INTEGER_free(ret);
  return (NULL);
}
```