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

```asm
<ASN1_primitive_new>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  mov    0x10(%rax),%rax
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  je     L129
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L129
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rcx
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   *%rcx
  jmp    L190
L129:
  cmpq   $0x0,-0x30(%rbp)
  je     L151
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rdx
  mov    D17(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jne    L7
L151:
  movl   $0xffffffff,-0x14(%rbp)
  jmp    L114
L7:
  mov    -0x30(%rbp),%rax
  mov    0x8(%rax),%eax
  mov    %eax,-0x14(%rbp)
L114:
  cmpl   $0x83,-0x14(%rbp)
  je     L155
  cmpl   $0x83,-0x14(%rbp)
  jg     L50
  cmpl   $0x82,-0x14(%rbp)
  je     L96
  cmpl   $0x82,-0x14(%rbp)
  jg     L50
  cmpl   $0x80,-0x14(%rbp)
  je     L18
  cmpl   $0x81,-0x14(%rbp)
  je     L133
  jmp    L50
L18:
  mov    D6(%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    L190
L96:
  cmpq   $0x0,-0x30(%rbp)
  je     L228
  mov    -0x30(%rbp),%rax
  mov    0xc(%rax),%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L202
L228:
  mov    -0x28(%rbp),%rax
  movl   $0xffffffff,(%rax)
L202:
  mov    $0x1,%eax
  jmp    L190
L133:
  mov    -0x28(%rbp),%rax
  movq   $0x1,(%rax)
  mov    $0x1,%eax
  jmp    L190
L155:
  mov    $0x10,%edi
  call   <OPENSSL_malloc@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jne    L62
  mov    $0x0,%eax
  jmp    L190
L62:
  mov    -0x8(%rbp),%rax
  movq   $0x0,0x8(%rax)
  mov    -0x8(%rbp),%rax
  movl   $0xffffffff,(%rax)
  mov    -0x28(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  mov    %rdx,(%rax)
  jmp    L48
L50:
  mov    -0x14(%rbp),%eax
  mov    %eax,%edi
  call   <ASN1_STRING_type_new@plt>
  mov    %rax,%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,(%rax)
  nop
L48:
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  je     L2
  mov    $0x1,%eax
  jmp    L190
L2:
  mov    $0x0,%eax
L190:
  leave
  ret
```

assistant: ```c
int ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) {
  ASN1_TYPE *typ;
  int utype;
  const ASN1_PRIMITIVE_FUNCS *pf;
  pf = it->funcs;
  if (pf && pf->prim_new)
    return pf->prim_new(pval, it);
  if (!it || (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:
    if (it)
      *(ASN1_BOOLEAN *)pval = it->size;
    else
      *(ASN1_BOOLEAN *)pval = -1;
    return 1;
  case V_ASN1_NULL:
    *pval = (ASN1_VALUE *)1;
    return 1;
  case V_ASN1_ANY:
    typ = OPENSSL_malloc(sizeof(ASN1_TYPE));
    if (!typ)
      return 0;
    typ->value.ptr = NULL;
    typ->type = -1;
    *pval = (ASN1_VALUE *)typ;
    break;
  default:
    *pval = (ASN1_VALUE *)ASN1_STRING_type_new(utype);
    break;
  }
  if (*pval)
    return 1;
  return 0;
}
```