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

```asm
<asn1_primitive_new>:
  endbr64
  test   %rsi,%rsi
  je     L26
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    0x10(%rsi),%rax
  test   %rax,%rax
  je     L138
  test   %edx,%edx
  je     L167
  mov    0x8(%rax),%rax
  test   %rax,%rax
  je     L265
  call   *%rax
  pop    %rbx
  mov    $0x1,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   (%rax)
L167:
  mov    (%rax),%rax
  test   %rax,%rax
  je     L231
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    *%rax
  nopw   0x0(%rax,%rax,1)
L138:
  mov    D23(%rip),%rbx
  mov    (%rbx),%rax
  cmp    %rax,(%rsi)
  je     L253
  mov    0x8(%rsi),%r12d
  cmp    $0x82,%r12d
  je     L27
  jg     L377
  cmp    $0x80,%r12d
  je     L211
  cmp    $0x81,%r12d
  jne    L341
L92:
  movq   $0x1,0x0(%r13)
  mov    $0x1,%eax
L154:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopw   0x0(%rax,%rax,1)
L231:
  mov    D23(%rip),%rbx
  mov    (%rbx),%rax
  cmp    %rax,(%rsi)
  je     L291
  mov    0x8(%rsi),%r12d
  cmp    $0x82,%r12d
  je     L27
  jg     L127
  cmp    $0x80,%r12d
  je     L211
  cmp    $0x81,%r12d
  je     L92
L29:
  mov    %r12d,%edi
  call   <ASN1_STRING_type_new@plt>
  mov    (%rbx),%rcx
  test   %rax,%rax
  mov    %rax,0x0(%r13)
  mov    %rax,%r14
  setne  %al
  cmp    %rcx,0x0(%rbp)
  sete   %dl
  and    %al,%dl
  je     L3
  mov    0x4(%r14),%ecx
  mov    %edx,%eax
L294:
  mov    D68(%rip),%rdx
  or     (%rdx),%ecx
  mov    %ecx,0x4(%r14)
  jmp    L3
  nop
L265:
  mov    D23(%rip),%rbx
  mov    (%rbx),%rax
  cmp    %rax,(%rsi)
  je     L364
  mov    0x8(%rsi),%r12d
  cmp    $0x82,%r12d
  je     L27
  jg     L114
  cmp    $0x80,%r12d
  je     L211
  cmp    $0x81,%r12d
  je     L92
  jmp    L233
  cs nopw 0x0(%rax,%rax,1)
L253:
  mov    $0xffffffff,%r12d
L341:
  test   %edx,%edx
  je     L29
L233:
  mov    0x0(%r13),%r14
  mov    $0x8,%edx
  xor    %esi,%esi
  mov    %r14,%rdi
  call   <memset@plt>
  mov    D66(%rip),%rax
  movd   %r12d,%xmm0
  mov    (%rax),%ecx
  mov    (%rbx),%rax
  movd   %ecx,%xmm1
  punpckldq %xmm1,%xmm0
  movq   %xmm0,(%r14)
  cmp    %rax,0x0(%rbp)
  je     L255
  cmpq   $0x0,0x0(%r13)
  setne  %al
L3:
  pop    %rbx
  movzbl %al,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   (%rax)
L26:
  xor    %eax,%eax
  ret
  nopl   0x0(%rax,%rax,1)
L377:
  cmp    $0x83,%r12d
  jne    L341
L205:
  mov    $0x10,%edi
  call   <OPENSSL_malloc@plt>
  test   %rax,%rax
  je     L69
  movq   $0x0,0x8(%rax)
  movl   $0xffffffff,(%rax)
  mov    %rax,0x0(%r13)
  mov    $0x1,%eax
  jmp    L3
  nopl   (%rax)
L127:
  cmp    $0x83,%r12d
  je     L205
  jmp    L29
  xchg   %ax,%ax
L114:
  cmp    $0x83,%r12d
  je     L205
  jmp    L233
  xchg   %ax,%ax
L27:
  mov    0xc(%rbp),%eax
  mov    %eax,0x0(%r13)
  mov    $0x1,%eax
  jmp    L154
  nopl   0x0(%rax)
L211:
  mov    D61(%rip),%rax
  mov    (%rax),%edi
  call   <OBJ_nid2obj@plt>
  mov    %rax,0x0(%r13)
  mov    $0x1,%eax
  jmp    L154
  nopl   0x0(%rax)
L364:
  mov    $0xffffffff,%r12d
  jmp    L233
  nopl   0x0(%rax,%rax,1)
L291:
  mov    $0xffffffff,%r12d
  jmp    L29
  nopl   0x0(%rax,%rax,1)
L255:
  cmpq   $0x0,0x0(%r13)
  setne  %al
  jmp    L294
L69:
  mov    D64(%rip),%rax
  mov    (%rax),%esi
  mov    D31(%rip),%rax
  mov    (%rax),%edi
  call   <ERR_raise@plt>
  xor    %eax,%eax
  jmp    L154
```

assistant: ```c
int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) {
  ASN1_TYPE *typ;
  ASN1_STRING *str;
  int utype;
  if (!it)
    return 0;
  if (it->funcs) {
    const ASN1_PRIMITIVE_FUNCS *pf = it->funcs;
    if (embed) {
      if (pf->prim_clear) {
        pf->prim_clear(pval, it);
        return 1;
      }
    } else 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:
    if ((typ = OPENSSL_malloc(sizeof(*typ))) == NULL) {
      ERR_raise(ERR_LIB_ASN1, ERR_R_MALLOC_FAILURE);
      return 0;
    }
    typ->value.ptr = NULL;
    typ->type = -1;
    *pval = (ASN1_VALUE *)typ;
    break;
  default:
    if (embed) {
      str = *(ASN1_STRING **)pval;
      memset(str, 0, sizeof(*str));
      str->type = utype;
      str->flags = ASN1_STRING_FLAG_EMBED;
    } else {
      str = ASN1_STRING_type_new(utype);
      *pval = (ASN1_VALUE *)str;
    }
    if (it->itype == ASN1_ITYPE_MSTRING && str)
      str->flags |= ASN1_STRING_FLAG_MSTRING;
    break;
  }
  if (*pval)
    return 1;
  return 0;
}
```