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

```asm
<asn1_primitive_new>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  cmpq   $0x0,-0x30(%rbp)
  jne    L142
  mov    $0x0,%eax
  jmp    L105
L142:
  mov    -0x30(%rbp),%rax
  mov    0x10(%rax),%rax
  test   %rax,%rax
  je     L61
  mov    -0x30(%rbp),%rax
  mov    0x10(%rax),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L61
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rcx
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   *%rcx
  jmp    L105
L61:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rdx
  mov    D23(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jne    L16
  movl   $0xffffffff,-0x1c(%rbp)
  jmp    L222
L16:
  mov    -0x30(%rbp),%rax
  mov    0x8(%rax),%eax
  mov    %eax,-0x1c(%rbp)
L222:
  cmpl   $0x83,-0x1c(%rbp)
  je     L35
  cmpl   $0x83,-0x1c(%rbp)
  jg     L93
  cmpl   $0x82,-0x1c(%rbp)
  je     L194
  cmpl   $0x82,-0x1c(%rbp)
  jg     L93
  cmpl   $0x80,-0x1c(%rbp)
  je     L199
  cmpl   $0x81,-0x1c(%rbp)
  je     L141
  jmp    L93
L199:
  mov    D14(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  call   <OBJ_nid2obj@plt>
  mov    %rax,%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,(%rax)
  mov    $0x1,%eax
  jmp    L105
L194:
  mov    -0x30(%rbp),%rax
  mov    0xc(%rax),%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L105
L141:
  mov    -0x28(%rbp),%rax
  movq   $0x1,(%rax)
  mov    $0x1,%eax
  jmp    L105
L35:
  mov    $0x10,%edi
  call   <OPENSSL_malloc@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L184
  mov    $0x0,%eax
  jmp    L105
L184:
  mov    -0x10(%rbp),%rax
  movq   $0x0,0x8(%rax)
  mov    -0x10(%rbp),%rax
  movl   $0xffffffff,(%rax)
  mov    -0x28(%rbp),%rax
  mov    -0x10(%rbp),%rdx
  mov    %rdx,(%rax)
  jmp    L90
L93:
  mov    -0x1c(%rbp),%eax
  mov    %eax,%edi
  call   <ASN1_STRING_type_new@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rdx
  mov    D23(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jne    L98
  cmpq   $0x0,-0x8(%rbp)
  je     L98
  mov    -0x8(%rbp),%rax
  mov    (%rax),%edx
  mov    D24(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,(%rax)
L98:
  mov    -0x28(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  mov    %rdx,(%rax)
  nop
L90:
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L97
  mov    $0x1,%eax
  jmp    L105
L97:
  mov    $0x0,%eax
L105:
  leave
  ret
```

assistant: ```c
int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) {
  ASN1_TYPE *typ;
  ASN1_STRING *str;
  int utype;
  if (!it)
    return 0;
  if (it->funcs) {
    const ASN1_PRIMITIVE_FUNCS *pf = it->funcs;
    if (pf->prim_new)
      return pf->prim_new(pval, it);
  }
  if (it->itype == ASN1_ITYPE_MSTRING)
    utype = -1;
  else
    utype = it->utype;
  switch (utype) {
  case V_ASN1_OBJECT:
    *pval = (ASN1_VALUE *)OBJ_nid2obj(NID_undef);
    return 1;
  case V_ASN1_BOOLEAN:
    *(ASN1_BOOLEAN *)pval = it->size;
    return 1;
  case V_ASN1_NULL:
    *pval = (ASN1_VALUE *)1;
    return 1;
  case V_ASN1_ANY:
    typ = OPENSSL_malloc(sizeof(*typ));
    if (!typ)
      return 0;
    typ->value.ptr = NULL;
    typ->type = -1;
    *pval = (ASN1_VALUE *)typ;
    break;
  default:
    str = ASN1_STRING_type_new(utype);
    if (it->itype == ASN1_ITYPE_MSTRING && str)
      str->flags |= ASN1_STRING_FLAG_MSTRING;
    *pval = (ASN1_VALUE *)str;
    break;
  }
  if (*pval)
    return 1;
  return 0;
}
```