
int der_decode_sequence_flexi(uchar *in,ulong *inlen,ltc_asn1_list **out)

{
  byte bVar1;
  ushort uVar2;
  uint3 uVar3;
  undefined *puVar4;
  ltc_asn1_list_ *plVar5;
  wchar_t wVar6;
  ltc_asn1_list *plVar7;
  void *pvVar8;
  ltc_generalizedtime *out_00;
  ltc_utctime *out_01;
  uchar *puVar9;
  wchar_t *out_02;
  ulong *words;
  int *out_03;
  ltc_asn1_list_ *plVar10;
  ulong uVar11;
  size_t __size;
  ulong uVar12;
  ulong uVar13;
  ltc_asn1_list *plVar14;
  long in_FS_OFFSET;
  long local_70;
  ulong local_68;
  ulong len;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (in == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);
  }
  if (inlen == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);
  }
  if (out == (ltc_asn1_list **)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);
  }
  local_68 = 0;
  uVar13 = *inlen;
  plVar14 = (ltc_asn1_list *)0x0;
  if (uVar13 == 0) {
    plVar7 = (ltc_asn1_list *)calloc(1,0x40);
    if (plVar7 == (ltc_asn1_list *)0x0) {
LAB_00180a7e:
      wVar6 = L'\r';
      plVar7 = plVar14;
LAB_00180a83:
      der_sequence_free(plVar7);
      goto LAB_00180a91;
    }
  }
  else {
    do {
      bVar1 = *in;
      uVar11 = (ulong)bVar1;
      plVar7 = plVar14;
      if (uVar13 < 2) {
        len = 0xffffffff;
LAB_0018109a:
        wVar6 = L'\a';
        goto LAB_00180a83;
      }
      __size = (size_t)in[1];
      if (__size < 0x80) {
        local_70 = 2;
        uVar12 = __size + 2;
      }
      else {
        uVar12 = (ulong)(in[1] & 0x7f);
        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {
          __size = 0xfffffffd;
          uVar12 = 0xffffffff;
          local_70 = 2;
        }
        else {
          local_70 = uVar12 + 2;
          __size = (size_t)in[2];
          if (uVar12 != 1) {
            uVar2 = CONCAT11(in[2],in[3]);
            __size = (size_t)uVar2;
            if (uVar12 != 2) {
              uVar3 = CONCAT21(uVar2,in[4]);
              __size = (size_t)uVar3;
              if (uVar12 != 3) {
                __size = (size_t)CONCAT31(uVar3,in[5]);
              }
            }
          }
          uVar12 = local_70 + __size;
        }
      }
      len = uVar12;
      if (uVar13 < uVar12) goto LAB_0018109a;
      if (plVar14 == (ltc_asn1_list *)0x0) {
        plVar7 = (ltc_asn1_list *)calloc(1,0x40);
        plVar14 = plVar7;
        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;
      }
      else {
        plVar7 = (ltc_asn1_list *)calloc(1,0x40);
        plVar14->next = plVar7;
        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;
        plVar7->prev = plVar14;
      }
      puVar4 = PTR_ltc_mp_001ecec8;
      plVar14 = plVar7;
      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {
        if ((bVar1 & 0xc0) == 0x80) {
          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;
          plVar7->used = (uint)bVar1;
          pvVar8 = calloc(1,__size);
          plVar7->data = pvVar8;
          if (pvVar8 != (void *)0x0) {
            memcpy(pvVar8,in + local_70,__size);
            plVar7->size = __size;
            goto LAB_001809f8;
          }
          goto LAB_00180a7e;
        }
        switch(uVar11) {
        default:
          plVar14 = plVar7->prev;
          if (plVar14 != (ltc_asn1_list *)0x0) {
            free(plVar14->next);
            plVar14->next = (ltc_asn1_list_ *)0x0;
            plVar7 = plVar14;
          }
          goto joined_r0x00181084;
        case 1:
          plVar7->type = LTC_ASN1_BOOLEAN;
          plVar7->size = 1;
          out_03 = (int *)calloc(1,4);
          plVar7->data = out_03;
          wVar6 = der_decode_boolean(in,uVar13,out_03);
          if (wVar6 != L'\0') goto LAB_00180a83;
          wVar6 = der_length_boolean(&len);
          break;
        case 2:
          plVar7->type = LTC_ASN1_INTEGER;
          plVar7->size = 1;
          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);
          if (((wVar6 == L'\0') &&
              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&
             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {
            uVar13 = *inlen;
            uVar12 = len;
            goto LAB_001809f8;
          }
          goto LAB_00180a83;
        case 3:
          plVar7->type = LTC_ASN1_BIT_STRING;
          plVar7->size = uVar12 * 8;
          puVar9 = (uchar *)calloc(1,uVar12 * 8);
          plVar7->data = puVar9;
          if (puVar9 != (uchar *)0x0) {
            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);
            if (wVar6 == L'\0') {
              wVar6 = der_length_bit_string(plVar7->size,&len);
              goto joined_r0x00180eef;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 4:
          plVar7->type = LTC_ASN1_OCTET_STRING;
          plVar7->size = uVar12;
          puVar9 = (uchar *)calloc(1,uVar12);
          plVar7->data = puVar9;
          if (puVar9 != (uchar *)0x0) {
            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);
            if (wVar6 == L'\0') {
              wVar6 = der_length_octet_string(plVar7->size,&len);
joined_r0x00180eef:
              if (wVar6 == L'\0') goto LAB_00180b87;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 5:
          if (in[1] != 0) goto LAB_0018109a;
          plVar7->type = LTC_ASN1_NULL;
          plVar7->data = (void *)0x0;
          plVar7->size = 0;
          len = 2;
          uVar12 = 2;
          goto LAB_001809f8;
        case 6:
          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;
          plVar7->size = uVar12;
          words = (ulong *)calloc(uVar12,8);
          plVar7->data = words;
          if (words != (ulong *)0x0) {
            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);
            if ((wVar6 == L'\0') &&
               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),
               wVar6 == L'\0')) {
              pvVar8 = realloc(plVar7->data,plVar7->size * 8);
              if (pvVar8 == (void *)0x0) goto LAB_00180b87;
              plVar7->data = pvVar8;
              uVar13 = *inlen;
              uVar12 = len;
              goto LAB_001809f8;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 0xc:
          plVar7->type = LTC_ASN1_UTF8_STRING;
          plVar7->size = uVar12;
          out_02 = (wchar_t *)calloc(4,uVar12);
          plVar7->data = out_02;
          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;
          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);
          if (wVar6 != L'\0') goto LAB_00180a83;
          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);
          break;
        case 0x13:
          plVar7->type = LTC_ASN1_PRINTABLE_STRING;
          plVar7->size = uVar12;
          puVar9 = (uchar *)calloc(1,uVar12);
          plVar7->data = puVar9;
          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;
          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);
          if (wVar6 != L'\0') goto LAB_00180a83;
          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);
          break;
        case 0x14:
          plVar7->type = LTC_ASN1_TELETEX_STRING;
          plVar7->size = uVar12;
          puVar9 = (uchar *)calloc(1,uVar12);
          plVar7->data = puVar9;
          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;
          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);
          if (wVar6 != L'\0') goto LAB_00180a83;
          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);
          break;
        case 0x16:
          plVar7->type = LTC_ASN1_IA5_STRING;
          plVar7->size = uVar12;
          puVar9 = (uchar *)calloc(1,uVar12);
          plVar7->data = puVar9;
          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;
          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);
          if (wVar6 != L'\0') goto LAB_00180a83;
          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);
          break;
        case 0x17:
          plVar7->type = LTC_ASN1_UTCTIME;
          plVar7->size = 1;
          out_01 = (ltc_utctime *)calloc(1,0x24);
          plVar7->data = out_01;
          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;
          len = uVar13;
          wVar6 = der_decode_utctime(in,&len,out_01);
          if (wVar6 != L'\0') goto LAB_00180a83;
          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);
          break;
        case 0x18:
          plVar7->size = uVar12;
          plVar7->type = LTC_ASN1_GENERALIZEDTIME;
          out_00 = (ltc_generalizedtime *)calloc(1,0x28);
          plVar7->data = out_00;
          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;
          wVar6 = der_decode_generalizedtime(in,&len,out_00);
          if (wVar6 != L'\0') goto LAB_00180a83;
          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);
          break;
        case 0x20:
        case 0x30:
        case 0x31:
          if (uVar11 == 0x20) goto LAB_00180af8;
          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;
          goto LAB_00180aff;
        }
        if (wVar6 != L'\0') goto LAB_00180a83;
      }
      else {
        plVar7->used = (uint)bVar1;
LAB_00180af8:
        plVar7->type = LTC_ASN1_CONSTRUCTED;
LAB_00180aff:
        pvVar8 = malloc(uVar12);
        plVar7->data = pvVar8;
        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
        memcpy(pvVar8,in,uVar12);
        plVar7->size = uVar12;
        in = in + local_70;
        *inlen = uVar13 - local_70;
        len = __size;
        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);
        if (wVar6 != L'\0') goto LAB_00180a83;
        plVar10 = plVar7->child;
        local_68 = local_68 + local_70;
        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;
        plVar10->parent = plVar7;
        uVar13 = 0;
        do {
          plVar10 = plVar10->child;
          uVar13 = uVar13 + 1;
        } while (plVar10 != (ltc_asn1_list_ *)0x0);
        if (0x1e < uVar13) {
          wVar6 = L'\x01';
          goto LAB_00180a83;
        }
      }
LAB_00180b87:
      uVar13 = *inlen;
      uVar12 = len;
LAB_001809f8:
      local_68 = local_68 + uVar12;
      in = in + uVar12;
      uVar13 = uVar13 - uVar12;
      *inlen = uVar13;
    } while (uVar13 != 0);
joined_r0x00181084:
    if (local_68 != 0) {
      do {
        plVar10 = plVar7->parent;
        plVar5 = plVar7->prev;
        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;
        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {
          while( true ) {
            plVar7 = plVar10;
            plVar10 = plVar7->parent;
            plVar5 = plVar7->prev;
            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;
LAB_00180a45:
            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;
          }
        }
      } while( true );
    }
  }
LAB_00180a4a:
  *out = plVar7;
  *inlen = local_68;
  wVar6 = L'\0';
LAB_00180a91:
  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return wVar6;
}



int der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)

{
  byte bVar1;
  ushort uVar2;
  uint3 uVar3;
  undefined *puVar4;
  int *piVar5;
  int iVar6;
  int *piVar7;
  void *pvVar8;
  long lVar9;
  int *piVar10;
  ulong uVar11;
  size_t __size;
  ulong uVar12;
  ulong uVar13;
  long in_FS_OFFSET;
  long local_70;
  ulong local_68;
  size_t local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);
  }
  if (param_2 == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);
  }
  if (param_3 == (undefined8 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);
  }
  local_68 = 0;
  uVar13 = *param_2;
  piVar10 = (int *)0x0;
  if (uVar13 == 0) {
    piVar7 = (int *)calloc(1,0x40);
    if (piVar7 == (int *)0x0) {
LAB_00180a7e:
      iVar6 = 0xd;
      piVar7 = piVar10;
LAB_00180a83:
      der_sequence_free(piVar7);
      goto LAB_00180a91;
    }
  }
  else {
    do {
      bVar1 = *param_1;
      uVar11 = (ulong)bVar1;
      piVar7 = piVar10;
      if (uVar13 < 2) {
        local_48 = 0xffffffff;
LAB_0018109a:
        iVar6 = 7;
        goto LAB_00180a83;
      }
      __size = (size_t)param_1[1];
      if (__size < 0x80) {
        local_70 = 2;
        uVar12 = __size + 2;
      }
      else {
        uVar12 = (ulong)(param_1[1] & 0x7f);
        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {
          __size = 0xfffffffd;
          uVar12 = 0xffffffff;
          local_70 = 2;
        }
        else {
          local_70 = uVar12 + 2;
          __size = (size_t)param_1[2];
          if (uVar12 != 1) {
            uVar2 = CONCAT11(param_1[2],param_1[3]);
            __size = (size_t)uVar2;
            if (uVar12 != 2) {
              uVar3 = CONCAT21(uVar2,param_1[4]);
              __size = (size_t)uVar3;
              if (uVar12 != 3) {
                __size = (size_t)CONCAT31(uVar3,param_1[5]);
              }
            }
          }
          uVar12 = local_70 + __size;
        }
      }
      local_48 = uVar12;
      if (uVar13 < uVar12) goto LAB_0018109a;
      if (piVar10 == (int *)0x0) {
        piVar7 = (int *)calloc(1,0x40);
        piVar10 = piVar7;
        if (piVar7 == (int *)0x0) goto LAB_00180a7e;
      }
      else {
        piVar7 = (int *)calloc(1,0x40);
        *(int **)(piVar10 + 10) = piVar7;
        if (piVar7 == (int *)0x0) goto LAB_00180a7e;
        *(int **)(piVar7 + 8) = piVar10;
      }
      puVar4 = PTR_ltc_mp_001ecec8;
      piVar10 = piVar7;
      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {
        if ((bVar1 & 0xc0) == 0x80) {
          *piVar7 = 0x13;
          piVar7[6] = (uint)bVar1;
          pvVar8 = calloc(1,__size);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            memcpy(pvVar8,param_1 + local_70,__size);
            *(size_t *)(piVar7 + 4) = __size;
            goto LAB_001809f8;
          }
          goto LAB_00180a7e;
        }
        switch(uVar11) {
        default:
          piVar10 = *(int **)(piVar7 + 8);
          if (piVar10 != (int *)0x0) {
            free(*(void **)(piVar10 + 10));
            piVar10[10] = 0;
            piVar10[0xb] = 0;
            piVar7 = piVar10;
          }
          goto joined_r0x00181084;
        case 1:
          *piVar7 = 1;
          piVar7[4] = 1;
          piVar7[5] = 0;
          pvVar8 = calloc(1,4);
          *(void **)(piVar7 + 2) = pvVar8;
          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_boolean(&local_48);
          break;
        case 2:
          *piVar7 = 2;
          piVar7[4] = 1;
          piVar7[5] = 0;
          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);
          if (((iVar6 == 0) &&
              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)
              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))
          {
            uVar13 = *param_2;
            uVar12 = local_48;
            goto LAB_001809f8;
          }
          goto LAB_00180a83;
        case 3:
          *piVar7 = 4;
          *(ulong *)(piVar7 + 4) = uVar12 * 8;
          pvVar8 = calloc(1,uVar12 * 8);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);
            if (iVar6 == 0) {
              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);
              goto joined_r0x00180eef;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 4:
          *piVar7 = 5;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);
            if (iVar6 == 0) {
              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);
joined_r0x00180eef:
              if (iVar6 == 0) goto LAB_00180b87;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 5:
          if (param_1[1] != 0) goto LAB_0018109a;
          *piVar7 = 6;
          piVar7[2] = 0;
          piVar7[3] = 0;
          piVar7[4] = 0;
          piVar7[5] = 0;
          local_48 = 2;
          uVar12 = 2;
          goto LAB_001809f8;
        case 6:
          *piVar7 = 7;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(uVar12,8);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);
            if ((iVar6 == 0) &&
               (iVar6 = der_length_object_identifier
                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48
                                  ), iVar6 == 0)) {
              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);
              if (pvVar8 == (void *)0x0) goto LAB_00180b87;
              *(void **)(piVar7 + 2) = pvVar8;
              uVar13 = *param_2;
              uVar12 = local_48;
              goto LAB_001809f8;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 0xc:
          *piVar7 = 10;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(4,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_utf8_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x13:
          *piVar7 = 9;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_printable_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x14:
          *piVar7 = 0x11;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_teletex_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x16:
          *piVar7 = 8;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_ia5_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x17:
          *piVar7 = 0xb;
          piVar7[4] = 1;
          piVar7[5] = 0;
          pvVar8 = calloc(1,0x24);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          local_48 = uVar13;
          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);
          break;
        case 0x18:
          *(ulong *)(piVar7 + 4) = uVar12;
          *piVar7 = 0x14;
          pvVar8 = calloc(1,0x28);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);
          break;
        case 0x20:
        case 0x30:
        case 0x31:
          if (uVar11 == 0x20) goto LAB_00180af8;
          *piVar7 = (uVar11 != 0x30) + 0xd;
          goto LAB_00180aff;
        }
        if (iVar6 != 0) goto LAB_00180a83;
      }
      else {
        piVar7[6] = (uint)bVar1;
LAB_00180af8:
        *piVar7 = 0x12;
LAB_00180aff:
        pvVar8 = malloc(uVar12);
        *(void **)(piVar7 + 2) = pvVar8;
        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
        memcpy(pvVar8,param_1,uVar12);
        *(ulong *)(piVar7 + 4) = uVar12;
        param_1 = param_1 + local_70;
        *param_2 = uVar13 - local_70;
        local_48 = __size;
        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);
        if (iVar6 != 0) goto LAB_00180a83;
        lVar9 = *(long *)(piVar7 + 0xc);
        local_68 = local_68 + local_70;
        if (lVar9 == 0) goto LAB_00180b87;
        *(int **)(lVar9 + 0x38) = piVar7;
        uVar13 = 0;
        do {
          lVar9 = *(long *)(lVar9 + 0x30);
          uVar13 = uVar13 + 1;
        } while (lVar9 != 0);
        if (0x1e < uVar13) {
          iVar6 = 1;
          goto LAB_00180a83;
        }
      }
LAB_00180b87:
      uVar13 = *param_2;
      uVar12 = local_48;
LAB_001809f8:
      local_68 = local_68 + uVar12;
      param_1 = param_1 + uVar12;
      uVar13 = uVar13 - uVar12;
      *param_2 = uVar13;
    } while (uVar13 != 0);
joined_r0x00181084:
    if (local_68 != 0) {
      do {
        piVar10 = *(int **)(piVar7 + 0xe);
        piVar5 = *(int **)(piVar7 + 8);
        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;
        while (piVar7 = piVar5, piVar10 != (int *)0x0) {
          while( true ) {
            piVar7 = piVar10;
            piVar10 = *(int **)(piVar7 + 0xe);
            piVar5 = *(int **)(piVar7 + 8);
            if (*(int **)(piVar7 + 8) != (int *)0x0) break;
LAB_00180a45:
            if (piVar10 == (int *)0x0) goto LAB_00180a4a;
          }
        }
      } while( true );
    }
  }
LAB_00180a4a:
  *param_3 = piVar7;
  *param_2 = local_68;
  iVar6 = 0;
LAB_00180a91:
  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return iVar6;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RSP],RSI
MOV qword ptr [RSP + 0x28],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x38],RAX
XOR EAX,EAX
TEST RDI,RDI
JZ 0x001810ec
CMP qword ptr [RSP],0x0
JZ 0x00181104
CMP qword ptr [RSP + 0x28],0x0
JZ 0x001810d4
MOV qword ptr [RSP + 0x10],0x0
MOV R14,qword ptr [RSI]
XOR R15D,R15D
TEST R14,R14
JZ 0x001810a8
LEA RDX,[RSP + 0x30]
MOV RBX,RDI
MOV qword ptr [RSP + 0x20],RDX
NOP dword ptr [RAX]
MOVZX R10D,byte ptr [RBX]
MOV R13,R10
CMP R14,0x1
JBE 0x00181090
MOVZX EBP,byte ptr [RBX + 0x1]
MOV R8,RBP
CMP RBP,0x7f
JBE 0x00180ab8
AND R8D,0x7f
LEA RSI,[R14 + -0x2]
LEA RCX,[R8 + -0x1]
CMP R8,RSI
JA 0x00180ad0
CMP RCX,0x3
JA 0x00180ad0
LEA RDI,[R8 + 0x2]
MOVZX EBP,byte ptr [RBX + 0x2]
MOV qword ptr [RSP + 0x8],RDI
TEST RCX,RCX
JZ 0x0018092c
MOVZX R11D,byte ptr [RBX + 0x3]
SHL RBP,0x8
OR R11,RBP
MOV RBP,R11
CMP R8,0x2
JZ 0x0018092c
MOVZX R9D,byte ptr [RBX + 0x4]
SHL RBP,0x8
OR R9,RBP
MOV RBP,R9
CMP R8,0x3
JZ 0x0018092c
MOVZX R12D,byte ptr [RBX + 0x5]
SHL RBP,0x8
OR R12,RBP
MOV RBP,R12
MOV RAX,qword ptr [RSP + 0x8]
LEA R12,[RAX + RBP*0x1]
MOV qword ptr [RSP + 0x30],R12
CMP R14,R12
JC 0x0018109a
MOV qword ptr [RSP + 0x18],R10
MOV ESI,0x40
MOV EDI,0x1
TEST R15,R15
JZ 0x00180a68
CALL 0x00113d60
MOV qword ptr [R15 + 0x28],RAX
TEST RAX,RAX
JZ 0x00180a7e
MOV RDX,qword ptr [RSP + 0x18]
MOV qword ptr [RAX + 0x20],R15
MOV R15,RAX
TEST R13B,0x20
JZ 0x0018098d
LEA R10,[RDX + -0x30]
CMP R10,0x1
JA 0x00180af0
MOV R8D,R13D
AND R8D,0xffffffc0
CMP R8B,0x80
JZ 0x001809b8
CMP R13B,0x31
JA 0x00181058
LEA R13,[0x1d2ef0]
MOVSXD RCX,dword ptr [R13 + RDX*0x4]
ADD RCX,R13
JMP RCX
MOVZX R9D,R13B
MOV dword ptr [R15],0x13
MOV RSI,RBP
MOV EDI,0x1
MOV dword ptr [R15 + 0x18],R9D
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
MOV RSI,qword ptr [RSP + 0x8]
MOV RDX,RBP
MOV RDI,RAX
ADD RSI,RBX
CALL 0x00113f70
MOV qword ptr [R15 + 0x10],RBP
MOV RBP,qword ptr [RSP]
ADD qword ptr [RSP + 0x10],R12
ADD RBX,R12
SUB R14,R12
MOV qword ptr [RBP],R14
JNZ 0x001808a0
CMP qword ptr [RSP + 0x10],0x0
MOV RAX,R15
JZ 0x00180a4a
NOP dword ptr [RAX]
MOV RAX,R15
MOV R15,qword ptr [RAX + 0x20]
MOV RBX,qword ptr [RAX + 0x38]
TEST R15,R15
JZ 0x00180a45
TEST RBX,RBX
JZ 0x00180a20
MOV RAX,RBX
MOV R15,qword ptr [RAX + 0x20]
MOV RBX,qword ptr [RAX + 0x38]
TEST R15,R15
JNZ 0x00180a30
TEST RBX,RBX
JNZ 0x00180a35
MOV R11,qword ptr [RSP + 0x28]
MOV R12,qword ptr [RSP + 0x10]
MOV qword ptr [R11],RAX
MOV RAX,qword ptr [RSP]
MOV qword ptr [RAX],R12
XOR EAX,EAX
JMP 0x00180a91
CALL 0x00113d60
MOV RDX,qword ptr [RSP + 0x18]
TEST RAX,RAX
MOV R15,RAX
JNZ 0x00180979
MOV EAX,0xd
MOV RDI,R15
MOV dword ptr [RSP],EAX
CALL 0x00113980
MOV EAX,dword ptr [RSP]
MOV RDI,qword ptr [RSP + 0x38]
XOR RDI,qword ptr FS:[0x28]
JNZ 0x001810cf
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV qword ptr [RSP + 0x8],0x2
LEA R12,[RBP + 0x2]
JMP 0x00180935
MOV EBP,0xfffffffd
MOV R12D,0xffffffff
MOV qword ptr [RSP + 0x8],0x2
JMP 0x00180935
MOVZX EDX,R13B
MOV dword ptr [R15 + 0x18],EDX
MOV dword ptr [R15],0x12
MOV RDI,R12
CALL 0x001141b0
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
MOV RSI,RBX
MOV RDX,R12
MOV RDI,RAX
CALL 0x00113f70
MOV R13,qword ptr [RSP + 0x8]
MOV R10,qword ptr [RSP]
MOV qword ptr [R15 + 0x10],R12
MOV RSI,qword ptr [RSP + 0x20]
LEA RDX,[R15 + 0x30]
MOV qword ptr [RSP + 0x30],RBP
SUB R14,R13
ADD RBX,R13
MOV qword ptr [R10],R14
MOV RDI,RBX
CALL 0x00180830
TEST EAX,EAX
JNZ 0x00180a83
MOV RCX,qword ptr [R15 + 0x30]
ADD qword ptr [RSP + 0x10],R13
TEST RCX,RCX
JZ 0x00180b87
MOV qword ptr [RCX + 0x38],R15
XOR R8D,R8D
NOP dword ptr [RAX + RAX*0x1]
MOV RCX,qword ptr [RCX + 0x30]
ADD R8,0x1
TEST RCX,RCX
JNZ 0x00180b70
CMP R8,0x1e
JA 0x001810c5
MOV RSI,qword ptr [RSP]
MOV R12,qword ptr [RSP + 0x30]
MOV R14,qword ptr [RSI]
JMP 0x001809f8
CMP RDX,0x20
JZ 0x00180af8
XOR ESI,ESI
CMP RDX,0x30
SETNZ SIL
ADD ESI,0xd
MOV dword ptr [R15],ESI
JMP 0x00180aff
MOV qword ptr [R15 + 0x10],R12
MOV ESI,0x28
MOV EDI,0x1
MOV dword ptr [R15],0x14
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
MOV R14,qword ptr [RSP + 0x20]
MOV RDX,RAX
MOV RDI,RBX
MOV RSI,R14
CALL 0x00114ab0
TEST EAX,EAX
JNZ 0x00180a83
MOV RDI,qword ptr [R15 + 0x8]
MOV RSI,R14
CALL 0x00114cf0
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
MOV dword ptr [R15],0xb
MOV ESI,0x24
MOV EDI,0x1
MOV qword ptr [R15 + 0x10],0x1
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
MOV RBP,qword ptr [RSP + 0x20]
MOV RDX,RAX
MOV RDI,RBX
MOV qword ptr [RSP + 0x30],R14
MOV RSI,RBP
CALL 0x00113af0
TEST EAX,EAX
JNZ 0x00180a83
MOV RDI,qword ptr [R15 + 0x8]
MOV RSI,RBP
CALL 0x001130d0
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
MOV dword ptr [R15],0x8
MOV RSI,R12
MOV EDI,0x1
MOV qword ptr [R15 + 0x10],R12
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
LEA RCX,[R15 + 0x10]
MOV RDX,RAX
MOV RSI,R14
MOV RDI,RBX
CALL 0x00114a40
TEST EAX,EAX
JNZ 0x00180a83
MOV RSI,qword ptr [R15 + 0x10]
MOV RDI,qword ptr [R15 + 0x8]
MOV RDX,qword ptr [RSP + 0x20]
CALL 0x00114170
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
MOV dword ptr [R15],0x11
MOV RSI,R12
MOV EDI,0x1
MOV qword ptr [R15 + 0x10],R12
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
LEA RCX,[R15 + 0x10]
MOV RDX,RAX
MOV RSI,R14
MOV RDI,RBX
CALL 0x00113c60
TEST EAX,EAX
JNZ 0x00180a83
MOV RSI,qword ptr [R15 + 0x10]
MOV RDI,qword ptr [R15 + 0x8]
MOV RDX,qword ptr [RSP + 0x20]
CALL 0x00114e70
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
MOV dword ptr [R15],0x9
MOV RSI,R12
MOV EDI,0x1
MOV qword ptr [R15 + 0x10],R12
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
LEA RCX,[R15 + 0x10]
MOV RDX,RAX
MOV RSI,R14
MOV RDI,RBX
CALL 0x00113600
TEST EAX,EAX
JNZ 0x00180a83
MOV RSI,qword ptr [R15 + 0x10]
MOV RDI,qword ptr [R15 + 0x8]
MOV RDX,qword ptr [RSP + 0x20]
CALL 0x00114550
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
MOV dword ptr [R15],0xa
MOV RSI,R12
MOV EDI,0x4
MOV qword ptr [R15 + 0x10],R12
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
LEA RCX,[R15 + 0x10]
MOV RDX,RAX
MOV RSI,R14
MOV RDI,RBX
CALL 0x001133b0
TEST EAX,EAX
JNZ 0x00180a83
MOV RSI,qword ptr [R15 + 0x10]
MOV RDI,qword ptr [R15 + 0x8]
MOV RDX,qword ptr [RSP + 0x20]
CALL 0x001131f0
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
MOV dword ptr [R15],0x7
MOV ESI,0x8
MOV RDI,R12
MOV qword ptr [R15 + 0x10],R12
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
LEA RCX,[R15 + 0x10]
MOV RDX,RAX
MOV RSI,R14
MOV RDI,RBX
CALL 0x001142f0
TEST EAX,EAX
JNZ 0x00180a83
MOV RSI,qword ptr [R15 + 0x10]
MOV RDI,qword ptr [R15 + 0x8]
MOV RDX,qword ptr [RSP + 0x20]
CALL 0x00113a50
TEST EAX,EAX
JNZ 0x00180a83
MOV RDI,qword ptr [R15 + 0x10]
LEA RSI,[RDI*0x8]
MOV RDI,qword ptr [R15 + 0x8]
CALL 0x00114560
TEST RAX,RAX
JZ 0x00180b87
MOV R11,qword ptr [RSP]
MOV R12,qword ptr [RSP + 0x30]
MOV qword ptr [R15 + 0x8],RAX
MOV R14,qword ptr [R11]
JMP 0x001809f8
MOV dword ptr [R15],0x5
MOV RSI,R12
MOV EDI,0x1
MOV qword ptr [R15 + 0x10],R12
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
LEA RCX,[R15 + 0x10]
MOV RDX,RAX
MOV RSI,R14
MOV RDI,RBX
CALL 0x001148a0
TEST EAX,EAX
JNZ 0x00180a83
MOV RDI,qword ptr [R15 + 0x10]
MOV RSI,qword ptr [RSP + 0x20]
CALL 0x00113390
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
LEA RSI,[R12*0x8]
MOV dword ptr [R15],0x4
MOV EDI,0x1
MOV qword ptr [R15 + 0x10],RSI
CALL 0x00113d60
MOV qword ptr [R15 + 0x8],RAX
TEST RAX,RAX
JZ 0x00180a7e
LEA RCX,[R15 + 0x10]
MOV RDX,RAX
MOV RSI,R14
MOV RDI,RBX
CALL 0x00113610
TEST EAX,EAX
JNZ 0x00180a83
MOV RDI,qword ptr [R15 + 0x10]
MOV RSI,qword ptr [RSP + 0x20]
CALL 0x00114e80
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
MOV RAX,qword ptr [0x001ecec8]
MOV dword ptr [R15],0x2
LEA RDI,[R15 + 0x8]
MOV qword ptr [R15 + 0x10],0x1
CALL qword ptr [RAX + 0x10]
TEST EAX,EAX
JNZ 0x00180a83
MOV R13,qword ptr [RSP]
MOV RDX,qword ptr [R15 + 0x8]
MOV RDI,RBX
MOV RSI,qword ptr [R13]
CALL 0x00113d30
TEST EAX,EAX
JNZ 0x00180a83
MOV RDI,qword ptr [R15 + 0x8]
MOV RSI,qword ptr [RSP + 0x20]
CALL 0x00113ab0
TEST EAX,EAX
JNZ 0x00180a83
MOV R12,qword ptr [RSP + 0x30]
MOV R14,qword ptr [R13]
JMP 0x001809f8
MOV dword ptr [R15],0x1
MOV ESI,0x4
MOV EDI,0x1
MOV qword ptr [R15 + 0x10],0x1
CALL 0x00113d60
MOV RSI,R14
MOV RDI,RBX
MOV qword ptr [R15 + 0x8],RAX
MOV RDX,RAX
CALL 0x00114d20
TEST EAX,EAX
JNZ 0x00180a83
MOV RDI,qword ptr [RSP + 0x20]
CALL 0x001146b0
TEST EAX,EAX
JZ 0x00180b87
JMP 0x00180a83
CMP byte ptr [RBX + 0x1],0x0
JNZ 0x0018109a
MOV dword ptr [R15],0x6
MOV R12D,0x2
MOV qword ptr [R15 + 0x8],0x0
MOV qword ptr [R15 + 0x10],0x0
MOV qword ptr [RSP + 0x30],0x2
JMP 0x001809f8
MOV R12,qword ptr [R15 + 0x20]
TEST R12,R12
JZ 0x00180a11
MOV RDI,qword ptr [R12 + 0x28]
MOV R15,R12
CALL 0x00113130
CMP qword ptr [RSP + 0x10],0x0
MOV RAX,R15
MOV qword ptr [R12 + 0x28],0x0
JNZ 0x00180a20
JMP 0x00180a4a
MOV EDI,0xffffffff
MOV qword ptr [RSP + 0x30],RDI
MOV EAX,0x7
JMP 0x00180a83
MOV ESI,0x40
MOV EDI,0x1
CALL 0x00113d60
TEST RAX,RAX
JNZ 0x00180a4a
JMP 0x00180a7e
MOV EAX,0x1
JMP 0x00180a83
CALL 0x00113880
MOV EDX,0x58
LEA RSI,[0x1d2eb8]
LEA RDI,[0x1b77e1]
CALL 0x00114270
MOV EDX,0x56
LEA RSI,[0x1d2eb8]
LEA RDI,[0x1b77d0]
CALL 0x00114270
MOV EDX,0x57
LEA RSI,[0x1d2eb8]
LEA RDI,[0x1d23b3]
CALL 0x00114270
(translation_unit "int der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar6;\n}\n\n" (function_definition "int der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar6;\n}" primitive_type (function_declarator "der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)" identifier (parameter_list "(byte *param_1,ulong *param_2,undefined8 *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar6;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint3 uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "void *pvVar8;" primitive_type (pointer_declarator "*pvVar8" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "ulong uVar12;" type_identifier identifier ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_70;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong local_68;" type_identifier identifier ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" identifier (argument_list "("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" if (parenthesized_expression "(param_2 == (ulong *)0x0)" ( (binary_expression "param_2 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" { comment (expression_statement "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);" (call_expression "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" identifier (argument_list "("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" ( (string_literal ""inlen != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" if (parenthesized_expression "(param_3 == (undefined8 *)0x0)" ( (binary_expression "param_3 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);" (call_expression "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" identifier (argument_list "("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }" { (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" identifier = (cast_expression "(int *)calloc(1,0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (if_statement "if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }" { (labeled_statement "LAB_00180a7e:\n      iVar6 = 0xd;" statement_identifier : (expression_statement "iVar6 = 0xd;" (assignment_expression "iVar6 = 0xd" identifier = number_literal) ;)) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) (labeled_statement "LAB_00180a83:\n      der_sequence_free(piVar7);" statement_identifier : (expression_statement "der_sequence_free(piVar7);" (call_expression "der_sequence_free(piVar7)" identifier (argument_list "(piVar7)" ( identifier ))) ;)) (goto_statement "goto LAB_00180a91;" goto statement_identifier ;) })) }) (else_clause "else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" else (compound_statement "{\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" { (do_statement "do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);" do (compound_statement "{\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar11 = (ulong)bVar1;" (assignment_expression "uVar11 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) (if_statement "if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }" if (parenthesized_expression "(uVar13 < 2)" ( (binary_expression "uVar13 < 2" identifier < number_literal) )) (compound_statement "{\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }" { (expression_statement "local_48 = 0xffffffff;" (assignment_expression "local_48 = 0xffffffff" identifier = number_literal) ;) (labeled_statement "LAB_0018109a:\n        iVar6 = 7;" statement_identifier : (expression_statement "iVar6 = 7;" (assignment_expression "iVar6 = 7" identifier = number_literal) ;)) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (expression_statement "__size = (size_t)param_1[1];" (assignment_expression "__size = (size_t)param_1[1]" identifier = (cast_expression "(size_t)param_1[1]" ( (type_descriptor "size_t" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" if (parenthesized_expression "(__size < 0x80)" ( (binary_expression "__size < 0x80" identifier < number_literal) )) (compound_statement "{\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }" { (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" identifier = number_literal) ;) (expression_statement "uVar12 = __size + 2;" (assignment_expression "uVar12 = __size + 2" identifier = (binary_expression "__size + 2" identifier + number_literal)) ;) }) (else_clause "else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" else (compound_statement "{\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" { (expression_statement "uVar12 = (ulong)(param_1[1] & 0x7f);" (assignment_expression "uVar12 = (ulong)(param_1[1] & 0x7f)" identifier = (call_expression "(ulong)(param_1[1] & 0x7f)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1[1] & 0x7f)" ( (binary_expression "param_1[1] & 0x7f" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal) )))) ;) (if_statement "if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" if (parenthesized_expression "((uVar13 - 2 < uVar12) || (3 < uVar12 - 1))" ( (binary_expression "(uVar13 - 2 < uVar12) || (3 < uVar12 - 1)" (parenthesized_expression "(uVar13 - 2 < uVar12)" ( (binary_expression "uVar13 - 2 < uVar12" (binary_expression "uVar13 - 2" identifier - number_literal) < identifier) )) || (parenthesized_expression "(3 < uVar12 - 1)" ( (binary_expression "3 < uVar12 - 1" number_literal < (binary_expression "uVar12 - 1" identifier - number_literal)) ))) )) (compound_statement "{\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }" { (expression_statement "__size = 0xfffffffd;" (assignment_expression "__size = 0xfffffffd" identifier = number_literal) ;) (expression_statement "uVar12 = 0xffffffff;" (assignment_expression "uVar12 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" identifier = number_literal) ;) }) (else_clause "else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" else (compound_statement "{\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" { (expression_statement "local_70 = uVar12 + 2;" (assignment_expression "local_70 = uVar12 + 2" identifier = (binary_expression "uVar12 + 2" identifier + number_literal)) ;) (expression_statement "__size = (size_t)param_1[2];" (assignment_expression "__size = (size_t)param_1[2]" identifier = (cast_expression "(size_t)param_1[2]" ( (type_descriptor "size_t" primitive_type) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }" if (parenthesized_expression "(uVar12 != 1)" ( (binary_expression "uVar12 != 1" identifier != number_literal) )) (compound_statement "{\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }" { (expression_statement "uVar2 = CONCAT11(param_1[2],param_1[3]);" (assignment_expression "uVar2 = CONCAT11(param_1[2],param_1[3])" identifier = (call_expression "CONCAT11(param_1[2],param_1[3])" identifier (argument_list "(param_1[2],param_1[3])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[3]" identifier [ number_literal ]) )))) ;) (expression_statement "__size = (size_t)uVar2;" (assignment_expression "__size = (size_t)uVar2" identifier = (cast_expression "(size_t)uVar2" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }" if (parenthesized_expression "(uVar12 != 2)" ( (binary_expression "uVar12 != 2" identifier != number_literal) )) (compound_statement "{\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }" { (expression_statement "uVar3 = CONCAT21(uVar2,param_1[4]);" (assignment_expression "uVar3 = CONCAT21(uVar2,param_1[4])" identifier = (call_expression "CONCAT21(uVar2,param_1[4])" identifier (argument_list "(uVar2,param_1[4])" ( identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) )))) ;) (expression_statement "__size = (size_t)uVar3;" (assignment_expression "__size = (size_t)uVar3" identifier = (cast_expression "(size_t)uVar3" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }" if (parenthesized_expression "(uVar12 != 3)" ( (binary_expression "uVar12 != 3" identifier != number_literal) )) (compound_statement "{\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }" { (expression_statement "__size = (size_t)CONCAT31(uVar3,param_1[5]);" (assignment_expression "__size = (size_t)CONCAT31(uVar3,param_1[5])" identifier = (cast_expression "(size_t)CONCAT31(uVar3,param_1[5])" ( (type_descriptor "size_t" primitive_type) ) (call_expression "CONCAT31(uVar3,param_1[5])" identifier (argument_list "(uVar3,param_1[5])" ( identifier , (subscript_expression "param_1[5]" identifier [ number_literal ]) ))))) ;) })) })) })) (expression_statement "uVar12 = local_70 + __size;" (assignment_expression "uVar12 = local_70 + __size" identifier = (binary_expression "local_70 + __size" identifier + identifier)) ;) }))) }))) (expression_statement "local_48 = uVar12;" (assignment_expression "local_48 = uVar12" identifier = identifier) ;) (if_statement "if (uVar13 < uVar12) goto LAB_0018109a;" if (parenthesized_expression "(uVar13 < uVar12)" ( (binary_expression "uVar13 < uVar12" identifier < identifier) )) (goto_statement "goto LAB_0018109a;" goto statement_identifier ;)) (if_statement "if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" if (parenthesized_expression "(piVar10 == (int *)0x0)" ( (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }" { (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" identifier = (cast_expression "(int *)calloc(1,0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar10 = piVar7;" (assignment_expression "piVar10 = piVar7" identifier = identifier) ;) (if_statement "if (piVar7 == (int *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) }) (else_clause "else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" else (compound_statement "{\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" { (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" identifier = (cast_expression "(int *)calloc(1,0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (expression_statement "*(int **)(piVar10 + 10) = piVar7;" (assignment_expression "*(int **)(piVar10 + 10) = piVar7" (pointer_expression "*(int **)(piVar10 + 10)" * (cast_expression "(int **)(piVar10 + 10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar10 + 10)" ( (binary_expression "piVar10 + 10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar7 == (int *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "*(int **)(piVar7 + 8) = piVar10;" (assignment_expression "*(int **)(piVar7 + 8) = piVar10" (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "puVar4 = PTR_ltc_mp_001ecec8;" (assignment_expression "puVar4 = PTR_ltc_mp_001ecec8" identifier = identifier) ;) (expression_statement "piVar10 = piVar7;" (assignment_expression "piVar10 = piVar7" identifier = identifier) ;) (if_statement "if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" if (parenthesized_expression "(((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2))" ( (binary_expression "((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)" (parenthesized_expression "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(uVar11 - 0x30 < 2)" ( (binary_expression "uVar11 - 0x30 < 2" (binary_expression "uVar11 - 0x30" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }" { (if_statement "if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" if (parenthesized_expression "((bVar1 & 0xc0) == 0x80)" ( (binary_expression "(bVar1 & 0xc0) == 0x80" (parenthesized_expression "(bVar1 & 0xc0)" ( (binary_expression "bVar1 & 0xc0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" { (expression_statement "*piVar7 = 0x13;" (assignment_expression "*piVar7 = 0x13" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[6] = (uint)bVar1;" (assignment_expression "piVar7[6] = (uint)bVar1" (subscript_expression "piVar7[6]" identifier [ number_literal ]) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pvVar8 = calloc(1,__size);" (assignment_expression "pvVar8 = calloc(1,__size)" identifier = (call_expression "calloc(1,__size)" identifier (argument_list "(1,__size)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }" { (expression_statement "memcpy(pvVar8,param_1 + local_70,__size);" (call_expression "memcpy(pvVar8,param_1 + local_70,__size)" identifier (argument_list "(pvVar8,param_1 + local_70,__size)" ( identifier , (binary_expression "param_1 + local_70" identifier + identifier) , identifier ))) ;) (expression_statement "*(size_t *)(piVar7 + 4) = __size;" (assignment_expression "*(size_t *)(piVar7 + 4) = __size" (pointer_expression "*(size_t *)(piVar7 + 4)" * (cast_expression "(size_t *)(piVar7 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;) })) (switch_statement "switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }" switch (parenthesized_expression "(uVar11)" ( identifier )) (compound_statement "{\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }" { (case_statement "default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;" default : (expression_statement "piVar10 = *(int **)(piVar7 + 8);" (assignment_expression "piVar10 = *(int **)(piVar7 + 8)" identifier = (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }" { (expression_statement "free(*(void **)(piVar10 + 10));" (call_expression "free(*(void **)(piVar10 + 10))" identifier (argument_list "(*(void **)(piVar10 + 10))" ( (pointer_expression "*(void **)(piVar10 + 10)" * (cast_expression "(void **)(piVar10 + 10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar10 + 10)" ( (binary_expression "piVar10 + 10" identifier + number_literal) )))) ))) ;) (expression_statement "piVar10[10] = 0;" (assignment_expression "piVar10[10] = 0" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[0xb] = 0;" (assignment_expression "piVar10[0xb] = 0" (subscript_expression "piVar10[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) })) (goto_statement "goto joined_r0x00181084;" goto statement_identifier ;)) (case_statement "case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 1;" (assignment_expression "*piVar7 = 1" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pvVar8 = calloc(1,4);" (assignment_expression "pvVar8 = calloc(1,4)" identifier = (call_expression "calloc(1,4)" identifier (argument_list "(1,4)" ( number_literal , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);" (assignment_expression "iVar6 = der_decode_boolean(param_1,uVar13,pvVar8)" identifier = (call_expression "der_decode_boolean(param_1,uVar13,pvVar8)" identifier (argument_list "(param_1,uVar13,pvVar8)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_boolean(&local_48);" (assignment_expression "iVar6 = der_length_boolean(&local_48)" identifier = (call_expression "der_length_boolean(&local_48)" identifier (argument_list "(&local_48)" ( (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;" case number_literal : (expression_statement "*piVar7 = 2;" (assignment_expression "*piVar7 = 2" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);" (assignment_expression "iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2)" identifier = (call_expression "(**(code **)(puVar4 + 0x10))(piVar7 + 2)" (parenthesized_expression "(**(code **)(puVar4 + 0x10))" ( (pointer_expression "**(code **)(puVar4 + 0x10)" * (pointer_expression "*(code **)(puVar4 + 0x10)" * (cast_expression "(code **)(puVar4 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x10)" ( (binary_expression "puVar4 + 0x10" identifier + number_literal) ))))) )) (argument_list "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) ;) (if_statement "if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }" if (parenthesized_expression "(((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))" ( (binary_expression "((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0)" (parenthesized_expression "((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              )" ( (binary_expression "(iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)" ( (comma_expression "iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0" (assignment_expression "iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" identifier = (call_expression "der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" identifier (argument_list "(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" ( identifier , (pointer_expression "*param_2" * identifier) , (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0)" ( (comma_expression "iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0" (assignment_expression "iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48)" identifier = (call_expression "der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }" { (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" identifier = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (case_statement "case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "*piVar7 = 4;" (assignment_expression "*piVar7 = 4" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12 * 8;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12 * 8" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = (binary_expression "uVar12 * 8" identifier * number_literal)) ;) (expression_statement "pvVar8 = calloc(1,uVar12 * 8);" (assignment_expression "pvVar8 = calloc(1,uVar12 * 8)" identifier = (call_expression "calloc(1,uVar12 * 8)" identifier (argument_list "(1,uVar12 * 8)" ( number_literal , (binary_expression "uVar12 * 8" identifier * number_literal) )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }" { (expression_statement "iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (goto_statement "goto joined_r0x00180eef;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "*piVar7 = 5;" (assignment_expression "*piVar7 = 5" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }" { (expression_statement "iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (labeled_statement "joined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;" statement_identifier : (if_statement "if (iVar6 == 0) goto LAB_00180b87;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;))) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;" case number_literal : (if_statement "if (param_1[1] != 0) goto LAB_0018109a;" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_0018109a;" goto statement_identifier ;)) (expression_statement "*piVar7 = 6;" (assignment_expression "*piVar7 = 6" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[2] = 0;" (assignment_expression "piVar7[2] = 0" (subscript_expression "piVar7[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[3] = 0;" (assignment_expression "piVar7[3] = 0" (subscript_expression "piVar7[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[4] = 0;" (assignment_expression "piVar7[4] = 0" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48 = 2;" (assignment_expression "local_48 = 2" identifier = number_literal) ;) (expression_statement "uVar12 = 2;" (assignment_expression "uVar12 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;)) (case_statement "case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "*piVar7 = 7;" (assignment_expression "*piVar7 = 7" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(uVar12,8);" (assignment_expression "pvVar8 = calloc(uVar12,8)" identifier = (call_expression "calloc(uVar12,8)" identifier (argument_list "(uVar12,8)" ( identifier , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }" if (parenthesized_expression "((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0))" ( (binary_expression "(iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)" ( (comma_expression "iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0" (assignment_expression "iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" identifier = (call_expression "der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }" { (expression_statement "pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);" (assignment_expression "pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" identifier = (call_expression "realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" identifier (argument_list "(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" ( (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (binary_expression "*(long *)(piVar7 + 4) * 8" (pointer_expression "*(long *)(piVar7 + 4)" * (cast_expression "(long *)(piVar7 + 4)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) * number_literal) )))) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180b87;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;)) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" identifier = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 10;" (assignment_expression "*piVar7 = 10" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(4,uVar12);" (assignment_expression "pvVar8 = calloc(4,uVar12)" identifier = (call_expression "calloc(4,uVar12)" identifier (argument_list "(4,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 9;" (assignment_expression "*piVar7 = 9" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 0x11;" (assignment_expression "*piVar7 = 0x11" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 8;" (assignment_expression "*piVar7 = 8" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 0xb;" (assignment_expression "*piVar7 = 0xb" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pvVar8 = calloc(1,0x24);" (assignment_expression "pvVar8 = calloc(1,0x24)" identifier = (call_expression "calloc(1,0x24)" identifier (argument_list "(1,0x24)" ( number_literal , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "local_48 = uVar13;" (assignment_expression "local_48 = uVar13" identifier = identifier) ;) (expression_statement "iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);" (assignment_expression "iVar6 = der_decode_utctime(param_1,&local_48,pvVar8)" identifier = (call_expression "der_decode_utctime(param_1,&local_48,pvVar8)" identifier (argument_list "(param_1,&local_48,pvVar8)" ( identifier , (pointer_expression "&local_48" & identifier) , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);" (assignment_expression "iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier = (call_expression "der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;" case number_literal : (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*piVar7 = 0x14;" (assignment_expression "*piVar7 = 0x14" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "pvVar8 = calloc(1,0x28);" (assignment_expression "pvVar8 = calloc(1,0x28)" identifier = (call_expression "calloc(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);" (assignment_expression "iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8)" identifier = (call_expression "der_decode_generalizedtime(param_1,&local_48,pvVar8)" identifier (argument_list "(param_1,&local_48,pvVar8)" ( identifier , (pointer_expression "&local_48" & identifier) , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);" (assignment_expression "iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier = (call_expression "der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x30:" case number_literal :) (case_statement "case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;" case number_literal : (if_statement "if (uVar11 == 0x20) goto LAB_00180af8;" if (parenthesized_expression "(uVar11 == 0x20)" ( (binary_expression "uVar11 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_00180af8;" goto statement_identifier ;)) (expression_statement "*piVar7 = (uVar11 != 0x30) + 0xd;" (assignment_expression "*piVar7 = (uVar11 != 0x30) + 0xd" (pointer_expression "*piVar7" * identifier) = (binary_expression "(uVar11 != 0x30) + 0xd" (parenthesized_expression "(uVar11 != 0x30)" ( (binary_expression "uVar11 != 0x30" identifier != number_literal) )) + number_literal)) ;) (goto_statement "goto LAB_00180aff;" goto statement_identifier ;)) })) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) }) (else_clause "else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" else (compound_statement "{\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" { (expression_statement "piVar7[6] = (uint)bVar1;" (assignment_expression "piVar7[6] = (uint)bVar1" (subscript_expression "piVar7[6]" identifier [ number_literal ]) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (labeled_statement "LAB_00180af8:\n        *piVar7 = 0x12;" statement_identifier : (expression_statement "*piVar7 = 0x12;" (assignment_expression "*piVar7 = 0x12" (pointer_expression "*piVar7" * identifier) = number_literal) ;)) (labeled_statement "LAB_00180aff:\n        pvVar8 = malloc(uVar12);" statement_identifier : (expression_statement "pvVar8 = malloc(uVar12);" (assignment_expression "pvVar8 = malloc(uVar12)" identifier = (call_expression "malloc(uVar12)" identifier (argument_list "(uVar12)" ( identifier )))) ;)) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "memcpy(pvVar8,param_1,uVar12);" (call_expression "memcpy(pvVar8,param_1,uVar12)" identifier (argument_list "(pvVar8,param_1,uVar12)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1 = param_1 + local_70;" (assignment_expression "param_1 = param_1 + local_70" identifier = (binary_expression "param_1 + local_70" identifier + identifier)) ;) (expression_statement "*param_2 = uVar13 - local_70;" (assignment_expression "*param_2 = uVar13 - local_70" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar13 - local_70" identifier - identifier)) ;) (expression_statement "local_48 = __size;" (assignment_expression "local_48 = __size" identifier = identifier) ;) (expression_statement "iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);" (assignment_expression "iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc)" identifier = (call_expression "der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc)" identifier (argument_list "(param_1,&local_48,piVar7 + 0xc)" ( identifier , (pointer_expression "&local_48" & identifier) , (binary_expression "piVar7 + 0xc" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "lVar9 = *(long *)(piVar7 + 0xc);" (assignment_expression "lVar9 = *(long *)(piVar7 + 0xc)" identifier = (pointer_expression "*(long *)(piVar7 + 0xc)" * (cast_expression "(long *)(piVar7 + 0xc)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0xc)" ( (binary_expression "piVar7 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_68 = local_68 + local_70;" (assignment_expression "local_68 = local_68 + local_70" identifier = (binary_expression "local_68 + local_70" identifier + identifier)) ;) (if_statement "if (lVar9 == 0) goto LAB_00180b87;" if (parenthesized_expression "(lVar9 == 0)" ( (binary_expression "lVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;)) (expression_statement "*(int **)(lVar9 + 0x38) = piVar7;" (assignment_expression "*(int **)(lVar9 + 0x38) = piVar7" (pointer_expression "*(int **)(lVar9 + 0x38)" * (cast_expression "(int **)(lVar9 + 0x38)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar9 + 0x38)" ( (binary_expression "lVar9 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);" do (compound_statement "{\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        }" { (expression_statement "lVar9 = *(long *)(lVar9 + 0x30);" (assignment_expression "lVar9 = *(long *)(lVar9 + 0x30)" identifier = (pointer_expression "*(long *)(lVar9 + 0x30)" * (cast_expression "(long *)(lVar9 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x30)" ( (binary_expression "lVar9 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) ;) (if_statement "if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }" if (parenthesized_expression "(0x1e < uVar13)" ( (binary_expression "0x1e < uVar13" number_literal < identifier) )) (compound_statement "{\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00180b87:\n      uVar13 = *param_2;" statement_identifier : (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;)) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" identifier = identifier) ;) (labeled_statement "LAB_001809f8:\n      local_68 = local_68 + uVar12;" statement_identifier : (expression_statement "local_68 = local_68 + uVar12;" (assignment_expression "local_68 = local_68 + uVar12" identifier = (binary_expression "local_68 + uVar12" identifier + identifier)) ;)) (expression_statement "param_1 = param_1 + uVar12;" (assignment_expression "param_1 = param_1 + uVar12" identifier = (binary_expression "param_1 + uVar12" identifier + identifier)) ;) (expression_statement "uVar13 = uVar13 - uVar12;" (assignment_expression "uVar13 = uVar13 - uVar12" identifier = (binary_expression "uVar13 - uVar12" identifier - identifier)) ;) (expression_statement "*param_2 = uVar13;" (assignment_expression "*param_2 = uVar13" (pointer_expression "*param_2" * identifier) = identifier) ;) }) while (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) ;) (labeled_statement "joined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" statement_identifier : (if_statement "if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" if (parenthesized_expression "(local_68 != 0)" ( (binary_expression "local_68 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" { (do_statement "do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );" do (compound_statement "{\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      }" { (expression_statement "piVar10 = *(int **)(piVar7 + 0xe);" (assignment_expression "piVar10 = *(int **)(piVar7 + 0xe)" identifier = (pointer_expression "*(int **)(piVar7 + 0xe)" * (cast_expression "(int **)(piVar7 + 0xe)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 0xe)" ( (binary_expression "piVar7 + 0xe" identifier + number_literal) ))))) ;) (expression_statement "piVar5 = *(int **)(piVar7 + 8);" (assignment_expression "piVar5 = *(int **)(piVar7 + 8)" identifier = (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;" if (parenthesized_expression "(*(int **)(piVar7 + 8) == (int *)0x0)" ( (binary_expression "*(int **)(piVar7 + 8) == (int *)0x0" (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) )))) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a45;" goto statement_identifier ;)) (while_statement "while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }" while (parenthesized_expression "(piVar7 = piVar5, piVar10 != (int *)0x0)" ( (comma_expression "piVar7 = piVar5, piVar10 != (int *)0x0" (assignment_expression "piVar7 = piVar5" identifier = identifier) , (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }" { (while_statement "while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }" { (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) (expression_statement "piVar10 = *(int **)(piVar7 + 0xe);" (assignment_expression "piVar10 = *(int **)(piVar7 + 0xe)" identifier = (pointer_expression "*(int **)(piVar7 + 0xe)" * (cast_expression "(int **)(piVar7 + 0xe)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 0xe)" ( (binary_expression "piVar7 + 0xe" identifier + number_literal) ))))) ;) (expression_statement "piVar5 = *(int **)(piVar7 + 8);" (assignment_expression "piVar5 = *(int **)(piVar7 + 8)" identifier = (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int **)(piVar7 + 8) != (int *)0x0) break;" if (parenthesized_expression "(*(int **)(piVar7 + 8) != (int *)0x0)" ( (binary_expression "*(int **)(piVar7 + 8) != (int *)0x0" (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;" statement_identifier : (if_statement "if (piVar10 == (int *)0x0) goto LAB_00180a4a;" if (parenthesized_expression "(piVar10 == (int *)0x0)" ( (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a4a;" goto statement_identifier ;))) })) })) }) while (parenthesized_expression "( true )" ( true )) ;) }))) }))) (labeled_statement "LAB_00180a4a:\n  *param_3 = piVar7;" statement_identifier : (expression_statement "*param_3 = piVar7;" (assignment_expression "*param_3 = piVar7" (pointer_expression "*param_3" * identifier) = identifier) ;)) (expression_statement "*param_2 = local_68;" (assignment_expression "*param_2 = local_68" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" statement_identifier : (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit "int der_decode_sequence_flexi(uchar *in,ulong *inlen,ltc_asn1_list **out)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  ltc_asn1_list_ *plVar5;\n  wchar_t wVar6;\n  ltc_asn1_list *plVar7;\n  void *pvVar8;\n  ltc_generalizedtime *out_00;\n  ltc_utctime *out_01;\n  uchar *puVar9;\n  wchar_t *out_02;\n  ulong *words;\n  int *out_03;\n  ltc_asn1_list_ *plVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  ltc_asn1_list *plVar14;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  ulong len;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (inlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (out == (ltc_asn1_list **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *inlen;\n  plVar14 = (ltc_asn1_list *)0x0;\n  if (uVar13 == 0) {\n    plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n    if (plVar7 == (ltc_asn1_list *)0x0) {\nLAB_00180a7e:\n      wVar6 = L'\r';\n      plVar7 = plVar14;\nLAB_00180a83:\n      der_sequence_free(plVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *out = plVar7;\n  *inlen = local_68;\n  wVar6 = L'\0';\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return wVar6;\n}\n\n" (function_definition "int der_decode_sequence_flexi(uchar *in,ulong *inlen,ltc_asn1_list **out)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  ltc_asn1_list_ *plVar5;\n  wchar_t wVar6;\n  ltc_asn1_list *plVar7;\n  void *pvVar8;\n  ltc_generalizedtime *out_00;\n  ltc_utctime *out_01;\n  uchar *puVar9;\n  wchar_t *out_02;\n  ulong *words;\n  int *out_03;\n  ltc_asn1_list_ *plVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  ltc_asn1_list *plVar14;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  ulong len;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (inlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (out == (ltc_asn1_list **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *inlen;\n  plVar14 = (ltc_asn1_list *)0x0;\n  if (uVar13 == 0) {\n    plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n    if (plVar7 == (ltc_asn1_list *)0x0) {\nLAB_00180a7e:\n      wVar6 = L'\r';\n      plVar7 = plVar14;\nLAB_00180a83:\n      der_sequence_free(plVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *out = plVar7;\n  *inlen = local_68;\n  wVar6 = L'\0';\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return wVar6;\n}" primitive_type (function_declarator "der_decode_sequence_flexi(uchar *in,ulong *inlen,ltc_asn1_list **out)" identifier (parameter_list "(uchar *in,ulong *inlen,ltc_asn1_list **out)" ( (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong *inlen" type_identifier (pointer_declarator "*inlen" * identifier)) , (parameter_declaration "ltc_asn1_list **out" type_identifier (pointer_declarator "**out" * (pointer_declarator "*out" * identifier))) ))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  ltc_asn1_list_ *plVar5;\n  wchar_t wVar6;\n  ltc_asn1_list *plVar7;\n  void *pvVar8;\n  ltc_generalizedtime *out_00;\n  ltc_utctime *out_01;\n  uchar *puVar9;\n  wchar_t *out_02;\n  ulong *words;\n  int *out_03;\n  ltc_asn1_list_ *plVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  ltc_asn1_list *plVar14;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  ulong len;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (inlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (out == (ltc_asn1_list **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *inlen;\n  plVar14 = (ltc_asn1_list *)0x0;\n  if (uVar13 == 0) {\n    plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n    if (plVar7 == (ltc_asn1_list *)0x0) {\nLAB_00180a7e:\n      wVar6 = L'\r';\n      plVar7 = plVar14;\nLAB_00180a83:\n      der_sequence_free(plVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *out = plVar7;\n  *inlen = local_68;\n  wVar6 = L'\0';\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return wVar6;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint3 uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "ltc_asn1_list_ *plVar5;" type_identifier (pointer_declarator "*plVar5" * identifier) ;) (declaration "wchar_t wVar6;" type_identifier identifier ;) (declaration "ltc_asn1_list *plVar7;" type_identifier (pointer_declarator "*plVar7" * identifier) ;) (declaration "void *pvVar8;" primitive_type (pointer_declarator "*pvVar8" * identifier) ;) (declaration "ltc_generalizedtime *out_00;" type_identifier (pointer_declarator "*out_00" * identifier) ;) (declaration "ltc_utctime *out_01;" type_identifier (pointer_declarator "*out_01" * identifier) ;) (declaration "uchar *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "wchar_t *out_02;" type_identifier (pointer_declarator "*out_02" * identifier) ;) (declaration "ulong *words;" type_identifier (pointer_declarator "*words" * identifier) ;) (declaration "int *out_03;" primitive_type (pointer_declarator "*out_03" * identifier) ;) (declaration "ltc_asn1_list_ *plVar10;" type_identifier (pointer_declarator "*plVar10" * identifier) ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "ulong uVar12;" type_identifier identifier ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "ltc_asn1_list *plVar14;" type_identifier (pointer_declarator "*plVar14" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_70;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong local_68;" type_identifier identifier ;) (declaration "ulong len;" type_identifier identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" if (parenthesized_expression "(in == (uchar *)0x0)" ( (binary_expression "in == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" identifier (argument_list "("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (inlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" if (parenthesized_expression "(inlen == (ulong *)0x0)" ( (binary_expression "inlen == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" { comment (expression_statement "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);" (call_expression "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" identifier (argument_list "("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" ( (string_literal ""inlen != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (out == (ltc_asn1_list **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" if (parenthesized_expression "(out == (ltc_asn1_list **)0x0)" ( (binary_expression "out == (ltc_asn1_list **)0x0" identifier == (cast_expression "(ltc_asn1_list **)0x0" ( (type_descriptor "ltc_asn1_list **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);" (call_expression "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" identifier (argument_list "("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "uVar13 = *inlen;" (assignment_expression "uVar13 = *inlen" identifier = (pointer_expression "*inlen" * identifier)) ;) (expression_statement "plVar14 = (ltc_asn1_list *)0x0;" (assignment_expression "plVar14 = (ltc_asn1_list *)0x0" identifier = (cast_expression "(ltc_asn1_list *)0x0" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar13 == 0) {\n    plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n    if (plVar7 == (ltc_asn1_list *)0x0) {\nLAB_00180a7e:\n      wVar6 = L'\r';\n      plVar7 = plVar14;\nLAB_00180a83:\n      der_sequence_free(plVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n    if (plVar7 == (ltc_asn1_list *)0x0) {\nLAB_00180a7e:\n      wVar6 = L'\r';\n      plVar7 = plVar14;\nLAB_00180a83:\n      der_sequence_free(plVar7);\n      goto LAB_00180a91;\n    }\n  }" { (expression_statement "plVar7 = (ltc_asn1_list *)calloc(1,0x40);" (assignment_expression "plVar7 = (ltc_asn1_list *)calloc(1,0x40)" identifier = (cast_expression "(ltc_asn1_list *)calloc(1,0x40)" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (if_statement "if (plVar7 == (ltc_asn1_list *)0x0) {\nLAB_00180a7e:\n      wVar6 = L'\r';\n      plVar7 = plVar14;\nLAB_00180a83:\n      der_sequence_free(plVar7);\n      goto LAB_00180a91;\n    }" if (parenthesized_expression "(plVar7 == (ltc_asn1_list *)0x0)" ( (binary_expression "plVar7 == (ltc_asn1_list *)0x0" identifier == (cast_expression "(ltc_asn1_list *)0x0" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00180a7e:\n      wVar6 = L'\r';\n      plVar7 = plVar14;\nLAB_00180a83:\n      der_sequence_free(plVar7);\n      goto LAB_00180a91;\n    }" { (labeled_statement "LAB_00180a7e:\n      wVar6 = L'\r';" statement_identifier : (expression_statement "wVar6 = L'\r';" (assignment_expression "wVar6 = L'\r'" identifier = (char_literal "L'\r'" L' escape_sequence ')) ;)) (expression_statement "plVar7 = plVar14;" (assignment_expression "plVar7 = plVar14" identifier = identifier) ;) (labeled_statement "LAB_00180a83:\n      der_sequence_free(plVar7);" statement_identifier : (expression_statement "der_sequence_free(plVar7);" (call_expression "der_sequence_free(plVar7)" identifier (argument_list "(plVar7)" ( identifier ))) ;)) (goto_statement "goto LAB_00180a91;" goto statement_identifier ;) })) }) (else_clause "else {\n    do {\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" else (compound_statement "{\n    do {\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" { (do_statement "do {\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    } while (uVar13 != 0);" do (compound_statement "{\n      bVar1 = *in;\n      uVar11 = (ulong)bVar1;\n      plVar7 = plVar14;\n      if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }\n      __size = (size_t)in[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      len = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      plVar14 = plVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *inlen;\n      uVar12 = len;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      in = in + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *inlen = uVar13;\n    }" { (expression_statement "bVar1 = *in;" (assignment_expression "bVar1 = *in" identifier = (pointer_expression "*in" * identifier)) ;) (expression_statement "uVar11 = (ulong)bVar1;" (assignment_expression "uVar11 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "plVar7 = plVar14;" (assignment_expression "plVar7 = plVar14" identifier = identifier) ;) (if_statement "if (uVar13 < 2) {\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }" if (parenthesized_expression "(uVar13 < 2)" ( (binary_expression "uVar13 < 2" identifier < number_literal) )) (compound_statement "{\n        len = 0xffffffff;\nLAB_0018109a:\n        wVar6 = L'\a';\n        goto LAB_00180a83;\n      }" { (expression_statement "len = 0xffffffff;" (assignment_expression "len = 0xffffffff" identifier = number_literal) ;) (labeled_statement "LAB_0018109a:\n        wVar6 = L'\a';" statement_identifier : (expression_statement "wVar6 = L'\a';" (assignment_expression "wVar6 = L'\a'" identifier = (char_literal "L'\a'" L' escape_sequence ')) ;)) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (expression_statement "__size = (size_t)in[1];" (assignment_expression "__size = (size_t)in[1]" identifier = (cast_expression "(size_t)in[1]" ( (type_descriptor "size_t" primitive_type) ) (subscript_expression "in[1]" identifier [ number_literal ]))) ;) (if_statement "if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" if (parenthesized_expression "(__size < 0x80)" ( (binary_expression "__size < 0x80" identifier < number_literal) )) (compound_statement "{\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }" { (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" identifier = number_literal) ;) (expression_statement "uVar12 = __size + 2;" (assignment_expression "uVar12 = __size + 2" identifier = (binary_expression "__size + 2" identifier + number_literal)) ;) }) (else_clause "else {\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" else (compound_statement "{\n        uVar12 = (ulong)(in[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" { (expression_statement "uVar12 = (ulong)(in[1] & 0x7f);" (assignment_expression "uVar12 = (ulong)(in[1] & 0x7f)" identifier = (call_expression "(ulong)(in[1] & 0x7f)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(in[1] & 0x7f)" ( (binary_expression "in[1] & 0x7f" (subscript_expression "in[1]" identifier [ number_literal ]) & number_literal) )))) ;) (if_statement "if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" if (parenthesized_expression "((uVar13 - 2 < uVar12) || (3 < uVar12 - 1))" ( (binary_expression "(uVar13 - 2 < uVar12) || (3 < uVar12 - 1)" (parenthesized_expression "(uVar13 - 2 < uVar12)" ( (binary_expression "uVar13 - 2 < uVar12" (binary_expression "uVar13 - 2" identifier - number_literal) < identifier) )) || (parenthesized_expression "(3 < uVar12 - 1)" ( (binary_expression "3 < uVar12 - 1" number_literal < (binary_expression "uVar12 - 1" identifier - number_literal)) ))) )) (compound_statement "{\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }" { (expression_statement "__size = 0xfffffffd;" (assignment_expression "__size = 0xfffffffd" identifier = number_literal) ;) (expression_statement "uVar12 = 0xffffffff;" (assignment_expression "uVar12 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" identifier = number_literal) ;) }) (else_clause "else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" else (compound_statement "{\n          local_70 = uVar12 + 2;\n          __size = (size_t)in[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" { (expression_statement "local_70 = uVar12 + 2;" (assignment_expression "local_70 = uVar12 + 2" identifier = (binary_expression "uVar12 + 2" identifier + number_literal)) ;) (expression_statement "__size = (size_t)in[2];" (assignment_expression "__size = (size_t)in[2]" identifier = (cast_expression "(size_t)in[2]" ( (type_descriptor "size_t" primitive_type) ) (subscript_expression "in[2]" identifier [ number_literal ]))) ;) (if_statement "if (uVar12 != 1) {\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }" if (parenthesized_expression "(uVar12 != 1)" ( (binary_expression "uVar12 != 1" identifier != number_literal) )) (compound_statement "{\n            uVar2 = CONCAT11(in[2],in[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }\n          }" { (expression_statement "uVar2 = CONCAT11(in[2],in[3]);" (assignment_expression "uVar2 = CONCAT11(in[2],in[3])" identifier = (call_expression "CONCAT11(in[2],in[3])" identifier (argument_list "(in[2],in[3])" ( (subscript_expression "in[2]" identifier [ number_literal ]) , (subscript_expression "in[3]" identifier [ number_literal ]) )))) ;) (expression_statement "__size = (size_t)uVar2;" (assignment_expression "__size = (size_t)uVar2" identifier = (cast_expression "(size_t)uVar2" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }" if (parenthesized_expression "(uVar12 != 2)" ( (binary_expression "uVar12 != 2" identifier != number_literal) )) (compound_statement "{\n              uVar3 = CONCAT21(uVar2,in[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }\n            }" { (expression_statement "uVar3 = CONCAT21(uVar2,in[4]);" (assignment_expression "uVar3 = CONCAT21(uVar2,in[4])" identifier = (call_expression "CONCAT21(uVar2,in[4])" identifier (argument_list "(uVar2,in[4])" ( identifier , (subscript_expression "in[4]" identifier [ number_literal ]) )))) ;) (expression_statement "__size = (size_t)uVar3;" (assignment_expression "__size = (size_t)uVar3" identifier = (cast_expression "(size_t)uVar3" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }" if (parenthesized_expression "(uVar12 != 3)" ( (binary_expression "uVar12 != 3" identifier != number_literal) )) (compound_statement "{\n                __size = (size_t)CONCAT31(uVar3,in[5]);\n              }" { (expression_statement "__size = (size_t)CONCAT31(uVar3,in[5]);" (assignment_expression "__size = (size_t)CONCAT31(uVar3,in[5])" identifier = (cast_expression "(size_t)CONCAT31(uVar3,in[5])" ( (type_descriptor "size_t" primitive_type) ) (call_expression "CONCAT31(uVar3,in[5])" identifier (argument_list "(uVar3,in[5])" ( identifier , (subscript_expression "in[5]" identifier [ number_literal ]) ))))) ;) })) })) })) (expression_statement "uVar12 = local_70 + __size;" (assignment_expression "uVar12 = local_70 + __size" identifier = (binary_expression "local_70 + __size" identifier + identifier)) ;) }))) }))) (expression_statement "len = uVar12;" (assignment_expression "len = uVar12" identifier = identifier) ;) (if_statement "if (uVar13 < uVar12) goto LAB_0018109a;" if (parenthesized_expression "(uVar13 < uVar12)" ( (binary_expression "uVar13 < uVar12" identifier < identifier) )) (goto_statement "goto LAB_0018109a;" goto statement_identifier ;)) (if_statement "if (plVar14 == (ltc_asn1_list *)0x0) {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }" if (parenthesized_expression "(plVar14 == (ltc_asn1_list *)0x0)" ( (binary_expression "plVar14 == (ltc_asn1_list *)0x0" identifier == (cast_expression "(ltc_asn1_list *)0x0" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14 = plVar7;\n        if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;\n      }" { (expression_statement "plVar7 = (ltc_asn1_list *)calloc(1,0x40);" (assignment_expression "plVar7 = (ltc_asn1_list *)calloc(1,0x40)" identifier = (cast_expression "(ltc_asn1_list *)calloc(1,0x40)" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (expression_statement "plVar14 = plVar7;" (assignment_expression "plVar14 = plVar7" identifier = identifier) ;) (if_statement "if (plVar7 == (ltc_asn1_list *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(plVar7 == (ltc_asn1_list *)0x0)" ( (binary_expression "plVar7 == (ltc_asn1_list *)0x0" identifier == (cast_expression "(ltc_asn1_list *)0x0" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) }) (else_clause "else {\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }" else (compound_statement "{\n        plVar7 = (ltc_asn1_list *)calloc(1,0x40);\n        plVar14->next = plVar7;\n        if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;\n        plVar7->prev = plVar14;\n      }" { (expression_statement "plVar7 = (ltc_asn1_list *)calloc(1,0x40);" (assignment_expression "plVar7 = (ltc_asn1_list *)calloc(1,0x40)" identifier = (cast_expression "(ltc_asn1_list *)calloc(1,0x40)" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (expression_statement "plVar14->next = plVar7;" (assignment_expression "plVar14->next = plVar7" (field_expression "plVar14->next" identifier -> field_identifier) = identifier) ;) (if_statement "if (plVar7 == (ltc_asn1_list_ *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(plVar7 == (ltc_asn1_list_ *)0x0)" ( (binary_expression "plVar7 == (ltc_asn1_list_ *)0x0" identifier == (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "plVar7->prev = plVar14;" (assignment_expression "plVar7->prev = plVar14" (field_expression "plVar7->prev" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "puVar4 = PTR_ltc_mp_001ecec8;" (assignment_expression "puVar4 = PTR_ltc_mp_001ecec8" identifier = identifier) ;) (expression_statement "plVar14 = plVar7;" (assignment_expression "plVar14 = plVar7" identifier = identifier) ;) (if_statement "if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }\n      else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }" if (parenthesized_expression "(((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2))" ( (binary_expression "((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)" (parenthesized_expression "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(uVar11 - 0x30 < 2)" ( (binary_expression "uVar11 - 0x30 < 2" (binary_expression "uVar11 - 0x30" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\n        if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }\n        if (wVar6 != L'\0') goto LAB_00180a83;\n      }" { (if_statement "if ((bVar1 & 0xc0) == 0x80) {\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" if (parenthesized_expression "((bVar1 & 0xc0) == 0x80)" ( (binary_expression "(bVar1 & 0xc0) == 0x80" (parenthesized_expression "(bVar1 & 0xc0)" ( (binary_expression "bVar1 & 0xc0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;\n          plVar7->used = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          plVar7->data = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" { (expression_statement "plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC;" (assignment_expression "plVar7->type = LTC_ASN1_CONTEXT_SPECIFIC" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->used = (uint)bVar1;" (assignment_expression "plVar7->used = (uint)bVar1" (field_expression "plVar7->used" identifier -> field_identifier) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pvVar8 = calloc(1,__size);" (assignment_expression "pvVar8 = calloc(1,__size)" identifier = (call_expression "calloc(1,__size)" identifier (argument_list "(1,__size)" ( number_literal , identifier )))) ;) (expression_statement "plVar7->data = pvVar8;" (assignment_expression "plVar7->data = pvVar8" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            memcpy(pvVar8,in + local_70,__size);\n            plVar7->size = __size;\n            goto LAB_001809f8;\n          }" { (expression_statement "memcpy(pvVar8,in + local_70,__size);" (call_expression "memcpy(pvVar8,in + local_70,__size)" identifier (argument_list "(pvVar8,in + local_70,__size)" ( identifier , (binary_expression "in + local_70" identifier + identifier) , identifier ))) ;) (expression_statement "plVar7->size = __size;" (assignment_expression "plVar7->size = __size" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;) })) (switch_statement "switch(uVar11) {\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }" switch (parenthesized_expression "(uVar11)" ( identifier )) (compound_statement "{\n        default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;\n        case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;\n        case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;\n        case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;\n        }" { (case_statement "default:\n          plVar14 = plVar7->prev;\n          if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }\n          goto joined_r0x00181084;" default : (expression_statement "plVar14 = plVar7->prev;" (assignment_expression "plVar14 = plVar7->prev" identifier = (field_expression "plVar7->prev" identifier -> field_identifier)) ;) (if_statement "if (plVar14 != (ltc_asn1_list *)0x0) {\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }" if (parenthesized_expression "(plVar14 != (ltc_asn1_list *)0x0)" ( (binary_expression "plVar14 != (ltc_asn1_list *)0x0" identifier != (cast_expression "(ltc_asn1_list *)0x0" ( (type_descriptor "ltc_asn1_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(plVar14->next);\n            plVar14->next = (ltc_asn1_list_ *)0x0;\n            plVar7 = plVar14;\n          }" { (expression_statement "free(plVar14->next);" (call_expression "free(plVar14->next)" identifier (argument_list "(plVar14->next)" ( (field_expression "plVar14->next" identifier -> field_identifier) ))) ;) (expression_statement "plVar14->next = (ltc_asn1_list_ *)0x0;" (assignment_expression "plVar14->next = (ltc_asn1_list_ *)0x0" (field_expression "plVar14->next" identifier -> field_identifier) = (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "plVar7 = plVar14;" (assignment_expression "plVar7 = plVar14" identifier = identifier) ;) })) (goto_statement "goto joined_r0x00181084;" goto statement_identifier ;)) (case_statement "case 1:\n          plVar7->type = LTC_ASN1_BOOLEAN;\n          plVar7->size = 1;\n          out_03 = (int *)calloc(1,4);\n          plVar7->data = out_03;\n          wVar6 = der_decode_boolean(in,uVar13,out_03);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_boolean(&len);\n          break;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_BOOLEAN;" (assignment_expression "plVar7->type = LTC_ASN1_BOOLEAN" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = 1;" (assignment_expression "plVar7->size = 1" (field_expression "plVar7->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "out_03 = (int *)calloc(1,4);" (assignment_expression "out_03 = (int *)calloc(1,4)" identifier = (cast_expression "(int *)calloc(1,4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,4)" identifier (argument_list "(1,4)" ( number_literal , number_literal ))))) ;) (expression_statement "plVar7->data = out_03;" (assignment_expression "plVar7->data = out_03" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (expression_statement "wVar6 = der_decode_boolean(in,uVar13,out_03);" (assignment_expression "wVar6 = der_decode_boolean(in,uVar13,out_03)" identifier = (call_expression "der_decode_boolean(in,uVar13,out_03)" identifier (argument_list "(in,uVar13,out_03)" ( identifier , identifier , identifier )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "wVar6 = der_length_boolean(&len);" (assignment_expression "wVar6 = der_length_boolean(&len)" identifier = (call_expression "der_length_boolean(&len)" identifier (argument_list "(&len)" ( (pointer_expression "&len" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n          plVar7->type = LTC_ASN1_INTEGER;\n          plVar7->size = 1;\n          wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);\n          if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_INTEGER;" (assignment_expression "plVar7->type = LTC_ASN1_INTEGER" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = 1;" (assignment_expression "plVar7->size = 1" (field_expression "plVar7->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data);" (assignment_expression "wVar6 = (**(code **)(puVar4 + 0x10))(&plVar7->data)" identifier = (call_expression "(**(code **)(puVar4 + 0x10))(&plVar7->data)" (parenthesized_expression "(**(code **)(puVar4 + 0x10))" ( (pointer_expression "**(code **)(puVar4 + 0x10)" * (pointer_expression "*(code **)(puVar4 + 0x10)" * (cast_expression "(code **)(puVar4 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x10)" ( (binary_expression "puVar4 + 0x10" identifier + number_literal) ))))) )) (argument_list "(&plVar7->data)" ( (pointer_expression "&plVar7->data" & (field_expression "plVar7->data" identifier -> field_identifier)) )))) ;) (if_statement "if (((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')) {\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }" if (parenthesized_expression "(((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0'))" ( (binary_expression "((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')) &&\n             (wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')" (parenthesized_expression "((wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0'))" ( (binary_expression "(wVar6 == L'\0') &&\n              (wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')" (parenthesized_expression "(wVar6 == L'\0')" ( (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence ')) )) && (parenthesized_expression "(wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0')" ( (comma_expression "wVar6 = der_decode_integer(in,*inlen,plVar7->data), wVar6 == L'\0'" (assignment_expression "wVar6 = der_decode_integer(in,*inlen,plVar7->data)" identifier = (call_expression "der_decode_integer(in,*inlen,plVar7->data)" identifier (argument_list "(in,*inlen,plVar7->data)" ( identifier , (pointer_expression "*inlen" * identifier) , (field_expression "plVar7->data" identifier -> field_identifier) )))) , (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence '))) ))) )) && (parenthesized_expression "(wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0')" ( (comma_expression "wVar6 = der_length_integer(plVar7->data,&len), wVar6 == L'\0'" (assignment_expression "wVar6 = der_length_integer(plVar7->data,&len)" identifier = (call_expression "der_length_integer(plVar7->data,&len)" identifier (argument_list "(plVar7->data,&len)" ( (field_expression "plVar7->data" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) , (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence '))) ))) )) (compound_statement "{\n            uVar13 = *inlen;\n            uVar12 = len;\n            goto LAB_001809f8;\n          }" { (expression_statement "uVar13 = *inlen;" (assignment_expression "uVar13 = *inlen" identifier = (pointer_expression "*inlen" * identifier)) ;) (expression_statement "uVar12 = len;" (assignment_expression "uVar12 = len" identifier = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (case_statement "case 3:\n          plVar7->type = LTC_ASN1_BIT_STRING;\n          plVar7->size = uVar12 * 8;\n          puVar9 = (uchar *)calloc(1,uVar12 * 8);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_BIT_STRING;" (assignment_expression "plVar7->type = LTC_ASN1_BIT_STRING" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = uVar12 * 8;" (assignment_expression "plVar7->size = uVar12 * 8" (field_expression "plVar7->size" identifier -> field_identifier) = (binary_expression "uVar12 * 8" identifier * number_literal)) ;) (expression_statement "puVar9 = (uchar *)calloc(1,uVar12 * 8);" (assignment_expression "puVar9 = (uchar *)calloc(1,uVar12 * 8)" identifier = (cast_expression "(uchar *)calloc(1,uVar12 * 8)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,uVar12 * 8)" identifier (argument_list "(1,uVar12 * 8)" ( number_literal , (binary_expression "uVar12 * 8" identifier * number_literal) ))))) ;) (expression_statement "plVar7->data = puVar9;" (assignment_expression "plVar7->data = puVar9" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(puVar9 != (uchar *)0x0)" ( (binary_expression "puVar9 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size);" (assignment_expression "wVar6 = der_decode_bit_string(in,uVar13,puVar9,&plVar7->size)" identifier = (call_expression "der_decode_bit_string(in,uVar13,puVar9,&plVar7->size)" identifier (argument_list "(in,uVar13,puVar9,&plVar7->size)" ( identifier , identifier , identifier , (pointer_expression "&plVar7->size" & (field_expression "plVar7->size" identifier -> field_identifier)) )))) ;) (if_statement "if (wVar6 == L'\0') {\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }" if (parenthesized_expression "(wVar6 == L'\0')" ( (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence ')) )) (compound_statement "{\n              wVar6 = der_length_bit_string(plVar7->size,&len);\n              goto joined_r0x00180eef;\n            }" { (expression_statement "wVar6 = der_length_bit_string(plVar7->size,&len);" (assignment_expression "wVar6 = der_length_bit_string(plVar7->size,&len)" identifier = (call_expression "der_length_bit_string(plVar7->size,&len)" identifier (argument_list "(plVar7->size,&len)" ( (field_expression "plVar7->size" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) ;) (goto_statement "goto joined_r0x00180eef;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 4:\n          plVar7->type = LTC_ASN1_OCTET_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_OCTET_STRING;" (assignment_expression "plVar7->type = LTC_ASN1_OCTET_STRING" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar9 = (uchar *)calloc(1,uVar12);" (assignment_expression "puVar9 = (uchar *)calloc(1,uVar12)" identifier = (cast_expression "(uchar *)calloc(1,uVar12)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier ))))) ;) (expression_statement "plVar7->data = puVar9;" (assignment_expression "plVar7->data = puVar9" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (puVar9 != (uchar *)0x0) {\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(puVar9 != (uchar *)0x0)" ( (binary_expression "puVar9 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);\n            if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size);" (assignment_expression "wVar6 = der_decode_octet_string(in,uVar13,puVar9,&plVar7->size)" identifier = (call_expression "der_decode_octet_string(in,uVar13,puVar9,&plVar7->size)" identifier (argument_list "(in,uVar13,puVar9,&plVar7->size)" ( identifier , identifier , identifier , (pointer_expression "&plVar7->size" & (field_expression "plVar7->size" identifier -> field_identifier)) )))) ;) (if_statement "if (wVar6 == L'\0') {\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }" if (parenthesized_expression "(wVar6 == L'\0')" ( (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence ')) )) (compound_statement "{\n              wVar6 = der_length_octet_string(plVar7->size,&len);\njoined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;\n            }" { (expression_statement "wVar6 = der_length_octet_string(plVar7->size,&len);" (assignment_expression "wVar6 = der_length_octet_string(plVar7->size,&len)" identifier = (call_expression "der_length_octet_string(plVar7->size,&len)" identifier (argument_list "(plVar7->size,&len)" ( (field_expression "plVar7->size" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) ;) (labeled_statement "joined_r0x00180eef:\n              if (wVar6 == L'\0') goto LAB_00180b87;" statement_identifier : (if_statement "if (wVar6 == L'\0') goto LAB_00180b87;" if (parenthesized_expression "(wVar6 == L'\0')" ( (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;))) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 5:\n          if (in[1] != 0) goto LAB_0018109a;\n          plVar7->type = LTC_ASN1_NULL;\n          plVar7->data = (void *)0x0;\n          plVar7->size = 0;\n          len = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;" case number_literal : (if_statement "if (in[1] != 0) goto LAB_0018109a;" if (parenthesized_expression "(in[1] != 0)" ( (binary_expression "in[1] != 0" (subscript_expression "in[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_0018109a;" goto statement_identifier ;)) (expression_statement "plVar7->type = LTC_ASN1_NULL;" (assignment_expression "plVar7->type = LTC_ASN1_NULL" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->data = (void *)0x0;" (assignment_expression "plVar7->data = (void *)0x0" (field_expression "plVar7->data" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "plVar7->size = 0;" (assignment_expression "plVar7->size = 0" (field_expression "plVar7->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "len = 2;" (assignment_expression "len = 2" identifier = number_literal) ;) (expression_statement "uVar12 = 2;" (assignment_expression "uVar12 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;)) (case_statement "case 6:\n          plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;\n          plVar7->size = uVar12;\n          words = (ulong *)calloc(uVar12,8);\n          plVar7->data = words;\n          if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER;" (assignment_expression "plVar7->type = LTC_ASN1_OBJECT_IDENTIFIER" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "words = (ulong *)calloc(uVar12,8);" (assignment_expression "words = (ulong *)calloc(uVar12,8)" identifier = (cast_expression "(ulong *)calloc(uVar12,8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(uVar12,8)" identifier (argument_list "(uVar12,8)" ( identifier , number_literal ))))) ;) (expression_statement "plVar7->data = words;" (assignment_expression "plVar7->data = words" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (words != (ulong *)0x0) {\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(words != (ulong *)0x0)" ( (binary_expression "words != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);\n            if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size);" (assignment_expression "wVar6 = der_decode_object_identifier(in,uVar13,words,&plVar7->size)" identifier = (call_expression "der_decode_object_identifier(in,uVar13,words,&plVar7->size)" identifier (argument_list "(in,uVar13,words,&plVar7->size)" ( identifier , identifier , identifier , (pointer_expression "&plVar7->size" & (field_expression "plVar7->size" identifier -> field_identifier)) )))) ;) (if_statement "if ((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')) {\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }" if (parenthesized_expression "((wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0'))" ( (binary_expression "(wVar6 == L'\0') &&\n               (wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')" (parenthesized_expression "(wVar6 == L'\0')" ( (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence ')) )) && (parenthesized_expression "(wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0')" ( (comma_expression "wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len),\n               wVar6 == L'\0'" (assignment_expression "wVar6 = der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len)" identifier = (call_expression "der_length_object_identifier((ulong *)plVar7->data,plVar7->size,&len)" identifier (argument_list "((ulong *)plVar7->data,plVar7->size,&len)" ( (cast_expression "(ulong *)plVar7->data" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar7->data" identifier -> field_identifier)) , (field_expression "plVar7->size" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) , (binary_expression "wVar6 == L'\0'" identifier == (char_literal "L'\0'" L' escape_sequence '))) ))) )) (compound_statement "{\n              pvVar8 = realloc(plVar7->data,plVar7->size * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              plVar7->data = pvVar8;\n              uVar13 = *inlen;\n              uVar12 = len;\n              goto LAB_001809f8;\n            }" { (expression_statement "pvVar8 = realloc(plVar7->data,plVar7->size * 8);" (assignment_expression "pvVar8 = realloc(plVar7->data,plVar7->size * 8)" identifier = (call_expression "realloc(plVar7->data,plVar7->size * 8)" identifier (argument_list "(plVar7->data,plVar7->size * 8)" ( (field_expression "plVar7->data" identifier -> field_identifier) , (binary_expression "plVar7->size * 8" (field_expression "plVar7->size" identifier -> field_identifier) * number_literal) )))) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180b87;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;)) (expression_statement "plVar7->data = pvVar8;" (assignment_expression "plVar7->data = pvVar8" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar13 = *inlen;" (assignment_expression "uVar13 = *inlen" identifier = (pointer_expression "*inlen" * identifier)) ;) (expression_statement "uVar12 = len;" (assignment_expression "uVar12 = len" identifier = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 0xc:\n          plVar7->type = LTC_ASN1_UTF8_STRING;\n          plVar7->size = uVar12;\n          out_02 = (wchar_t *)calloc(4,uVar12);\n          plVar7->data = out_02;\n          if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);\n          break;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_UTF8_STRING;" (assignment_expression "plVar7->type = LTC_ASN1_UTF8_STRING" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "out_02 = (wchar_t *)calloc(4,uVar12);" (assignment_expression "out_02 = (wchar_t *)calloc(4,uVar12)" identifier = (cast_expression "(wchar_t *)calloc(4,uVar12)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(4,uVar12)" identifier (argument_list "(4,uVar12)" ( number_literal , identifier ))))) ;) (expression_statement "plVar7->data = out_02;" (assignment_expression "plVar7->data = out_02" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (out_02 == (wchar_t *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(out_02 == (wchar_t *)0x0)" ( (binary_expression "out_02 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size);" (assignment_expression "wVar6 = der_decode_utf8_string(in,uVar13,out_02,&plVar7->size)" identifier = (call_expression "der_decode_utf8_string(in,uVar13,out_02,&plVar7->size)" identifier (argument_list "(in,uVar13,out_02,&plVar7->size)" ( identifier , identifier , identifier , (pointer_expression "&plVar7->size" & (field_expression "plVar7->size" identifier -> field_identifier)) )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len);" (assignment_expression "wVar6 = der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len)" identifier = (call_expression "der_length_utf8_string((wchar_t *)plVar7->data,plVar7->size,&len)" identifier (argument_list "((wchar_t *)plVar7->data,plVar7->size,&len)" ( (cast_expression "(wchar_t *)plVar7->data" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar7->data" identifier -> field_identifier)) , (field_expression "plVar7->size" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x13:\n          plVar7->type = LTC_ASN1_PRINTABLE_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_PRINTABLE_STRING;" (assignment_expression "plVar7->type = LTC_ASN1_PRINTABLE_STRING" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar9 = (uchar *)calloc(1,uVar12);" (assignment_expression "puVar9 = (uchar *)calloc(1,uVar12)" identifier = (cast_expression "(uchar *)calloc(1,uVar12)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier ))))) ;) (expression_statement "plVar7->data = puVar9;" (assignment_expression "plVar7->data = puVar9" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(puVar9 == (uchar *)0x0)" ( (binary_expression "puVar9 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size);" (assignment_expression "wVar6 = der_decode_printable_string(in,uVar13,puVar9,&plVar7->size)" identifier = (call_expression "der_decode_printable_string(in,uVar13,puVar9,&plVar7->size)" identifier (argument_list "(in,uVar13,puVar9,&plVar7->size)" ( identifier , identifier , identifier , (pointer_expression "&plVar7->size" & (field_expression "plVar7->size" identifier -> field_identifier)) )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len);" (assignment_expression "wVar6 = der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len)" identifier = (call_expression "der_length_printable_string((uchar *)plVar7->data,plVar7->size,&len)" identifier (argument_list "((uchar *)plVar7->data,plVar7->size,&len)" ( (cast_expression "(uchar *)plVar7->data" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar7->data" identifier -> field_identifier)) , (field_expression "plVar7->size" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x14:\n          plVar7->type = LTC_ASN1_TELETEX_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_TELETEX_STRING;" (assignment_expression "plVar7->type = LTC_ASN1_TELETEX_STRING" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar9 = (uchar *)calloc(1,uVar12);" (assignment_expression "puVar9 = (uchar *)calloc(1,uVar12)" identifier = (cast_expression "(uchar *)calloc(1,uVar12)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier ))))) ;) (expression_statement "plVar7->data = puVar9;" (assignment_expression "plVar7->data = puVar9" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(puVar9 == (uchar *)0x0)" ( (binary_expression "puVar9 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size);" (assignment_expression "wVar6 = der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size)" identifier = (call_expression "der_decode_teletex_string(in,uVar13,puVar9,&plVar7->size)" identifier (argument_list "(in,uVar13,puVar9,&plVar7->size)" ( identifier , identifier , identifier , (pointer_expression "&plVar7->size" & (field_expression "plVar7->size" identifier -> field_identifier)) )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len);" (assignment_expression "wVar6 = der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len)" identifier = (call_expression "der_length_teletex_string((uchar *)plVar7->data,plVar7->size,&len)" identifier (argument_list "((uchar *)plVar7->data,plVar7->size,&len)" ( (cast_expression "(uchar *)plVar7->data" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar7->data" identifier -> field_identifier)) , (field_expression "plVar7->size" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x16:\n          plVar7->type = LTC_ASN1_IA5_STRING;\n          plVar7->size = uVar12;\n          puVar9 = (uchar *)calloc(1,uVar12);\n          plVar7->data = puVar9;\n          if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);\n          break;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_IA5_STRING;" (assignment_expression "plVar7->type = LTC_ASN1_IA5_STRING" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar9 = (uchar *)calloc(1,uVar12);" (assignment_expression "puVar9 = (uchar *)calloc(1,uVar12)" identifier = (cast_expression "(uchar *)calloc(1,uVar12)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier ))))) ;) (expression_statement "plVar7->data = puVar9;" (assignment_expression "plVar7->data = puVar9" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (puVar9 == (uchar *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(puVar9 == (uchar *)0x0)" ( (binary_expression "puVar9 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size);" (assignment_expression "wVar6 = der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size)" identifier = (call_expression "der_decode_ia5_string(in,uVar13,puVar9,&plVar7->size)" identifier (argument_list "(in,uVar13,puVar9,&plVar7->size)" ( identifier , identifier , identifier , (pointer_expression "&plVar7->size" & (field_expression "plVar7->size" identifier -> field_identifier)) )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len);" (assignment_expression "wVar6 = der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len)" identifier = (call_expression "der_length_ia5_string((uchar *)plVar7->data,plVar7->size,&len)" identifier (argument_list "((uchar *)plVar7->data,plVar7->size,&len)" ( (cast_expression "(uchar *)plVar7->data" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar7->data" identifier -> field_identifier)) , (field_expression "plVar7->size" identifier -> field_identifier) , (pointer_expression "&len" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x17:\n          plVar7->type = LTC_ASN1_UTCTIME;\n          plVar7->size = 1;\n          out_01 = (ltc_utctime *)calloc(1,0x24);\n          plVar7->data = out_01;\n          if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;\n          len = uVar13;\n          wVar6 = der_decode_utctime(in,&len,out_01);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);\n          break;" case number_literal : (expression_statement "plVar7->type = LTC_ASN1_UTCTIME;" (assignment_expression "plVar7->type = LTC_ASN1_UTCTIME" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->size = 1;" (assignment_expression "plVar7->size = 1" (field_expression "plVar7->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "out_01 = (ltc_utctime *)calloc(1,0x24);" (assignment_expression "out_01 = (ltc_utctime *)calloc(1,0x24)" identifier = (cast_expression "(ltc_utctime *)calloc(1,0x24)" ( (type_descriptor "ltc_utctime *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x24)" identifier (argument_list "(1,0x24)" ( number_literal , number_literal ))))) ;) (expression_statement "plVar7->data = out_01;" (assignment_expression "plVar7->data = out_01" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (out_01 == (ltc_utctime *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(out_01 == (ltc_utctime *)0x0)" ( (binary_expression "out_01 == (ltc_utctime *)0x0" identifier == (cast_expression "(ltc_utctime *)0x0" ( (type_descriptor "ltc_utctime *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "len = uVar13;" (assignment_expression "len = uVar13" identifier = identifier) ;) (expression_statement "wVar6 = der_decode_utctime(in,&len,out_01);" (assignment_expression "wVar6 = der_decode_utctime(in,&len,out_01)" identifier = (call_expression "der_decode_utctime(in,&len,out_01)" identifier (argument_list "(in,&len,out_01)" ( identifier , (pointer_expression "&len" & identifier) , identifier )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len);" (assignment_expression "wVar6 = der_length_utctime((ltc_utctime *)plVar7->data,&len)" identifier = (call_expression "der_length_utctime((ltc_utctime *)plVar7->data,&len)" identifier (argument_list "((ltc_utctime *)plVar7->data,&len)" ( (cast_expression "(ltc_utctime *)plVar7->data" ( (type_descriptor "ltc_utctime *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar7->data" identifier -> field_identifier)) , (pointer_expression "&len" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x18:\n          plVar7->size = uVar12;\n          plVar7->type = LTC_ASN1_GENERALIZEDTIME;\n          out_00 = (ltc_generalizedtime *)calloc(1,0x28);\n          plVar7->data = out_00;\n          if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;\n          wVar6 = der_decode_generalizedtime(in,&len,out_00);\n          if (wVar6 != L'\0') goto LAB_00180a83;\n          wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);\n          break;" case number_literal : (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar7->type = LTC_ASN1_GENERALIZEDTIME;" (assignment_expression "plVar7->type = LTC_ASN1_GENERALIZEDTIME" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "out_00 = (ltc_generalizedtime *)calloc(1,0x28);" (assignment_expression "out_00 = (ltc_generalizedtime *)calloc(1,0x28)" identifier = (cast_expression "(ltc_generalizedtime *)calloc(1,0x28)" ( (type_descriptor "ltc_generalizedtime *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal ))))) ;) (expression_statement "plVar7->data = out_00;" (assignment_expression "plVar7->data = out_00" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (out_00 == (ltc_generalizedtime *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(out_00 == (ltc_generalizedtime *)0x0)" ( (binary_expression "out_00 == (ltc_generalizedtime *)0x0" identifier == (cast_expression "(ltc_generalizedtime *)0x0" ( (type_descriptor "ltc_generalizedtime *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "wVar6 = der_decode_generalizedtime(in,&len,out_00);" (assignment_expression "wVar6 = der_decode_generalizedtime(in,&len,out_00)" identifier = (call_expression "der_decode_generalizedtime(in,&len,out_00)" identifier (argument_list "(in,&len,out_00)" ( identifier , (pointer_expression "&len" & identifier) , identifier )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len);" (assignment_expression "wVar6 = der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len)" identifier = (call_expression "der_length_generalizedtime((ltc_generalizedtime *)plVar7->data,&len)" identifier (argument_list "((ltc_generalizedtime *)plVar7->data,&len)" ( (cast_expression "(ltc_generalizedtime *)plVar7->data" ( (type_descriptor "ltc_generalizedtime *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar7->data" identifier -> field_identifier)) , (pointer_expression "&len" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x30:" case number_literal :) (case_statement "case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;\n          goto LAB_00180aff;" case number_literal : (if_statement "if (uVar11 == 0x20) goto LAB_00180af8;" if (parenthesized_expression "(uVar11 == 0x20)" ( (binary_expression "uVar11 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_00180af8;" goto statement_identifier ;)) (expression_statement "plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE;" (assignment_expression "plVar7->type = (uVar11 != 0x30) + LTC_ASN1_SEQUENCE" (field_expression "plVar7->type" identifier -> field_identifier) = (binary_expression "(uVar11 != 0x30) + LTC_ASN1_SEQUENCE" (parenthesized_expression "(uVar11 != 0x30)" ( (binary_expression "uVar11 != 0x30" identifier != number_literal) )) + identifier)) ;) (goto_statement "goto LAB_00180aff;" goto statement_identifier ;)) })) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) }) (else_clause "else {\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }" else (compound_statement "{\n        plVar7->used = (uint)bVar1;\nLAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        plVar7->data = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,in,uVar12);\n        plVar7->size = uVar12;\n        in = in + local_70;\n        *inlen = uVar13 - local_70;\n        len = __size;\n        wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);\n        if (wVar6 != L'\0') goto LAB_00180a83;\n        plVar10 = plVar7->child;\n        local_68 = local_68 + local_70;\n        if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;\n        plVar10->parent = plVar7;\n        uVar13 = 0;\n        do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);\n        if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }\n      }" { (expression_statement "plVar7->used = (uint)bVar1;" (assignment_expression "plVar7->used = (uint)bVar1" (field_expression "plVar7->used" identifier -> field_identifier) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (labeled_statement "LAB_00180af8:\n        plVar7->type = LTC_ASN1_CONSTRUCTED;" statement_identifier : (expression_statement "plVar7->type = LTC_ASN1_CONSTRUCTED;" (assignment_expression "plVar7->type = LTC_ASN1_CONSTRUCTED" (field_expression "plVar7->type" identifier -> field_identifier) = identifier) ;)) (labeled_statement "LAB_00180aff:\n        pvVar8 = malloc(uVar12);" statement_identifier : (expression_statement "pvVar8 = malloc(uVar12);" (assignment_expression "pvVar8 = malloc(uVar12)" identifier = (call_expression "malloc(uVar12)" identifier (argument_list "(uVar12)" ( identifier )))) ;)) (expression_statement "plVar7->data = pvVar8;" (assignment_expression "plVar7->data = pvVar8" (field_expression "plVar7->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "memcpy(pvVar8,in,uVar12);" (call_expression "memcpy(pvVar8,in,uVar12)" identifier (argument_list "(pvVar8,in,uVar12)" ( identifier , identifier , identifier ))) ;) (expression_statement "plVar7->size = uVar12;" (assignment_expression "plVar7->size = uVar12" (field_expression "plVar7->size" identifier -> field_identifier) = identifier) ;) (expression_statement "in = in + local_70;" (assignment_expression "in = in + local_70" identifier = (binary_expression "in + local_70" identifier + identifier)) ;) (expression_statement "*inlen = uVar13 - local_70;" (assignment_expression "*inlen = uVar13 - local_70" (pointer_expression "*inlen" * identifier) = (binary_expression "uVar13 - local_70" identifier - identifier)) ;) (expression_statement "len = __size;" (assignment_expression "len = __size" identifier = identifier) ;) (expression_statement "wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child);" (assignment_expression "wVar6 = der_decode_sequence_flexi(in,&len,&plVar7->child)" identifier = (call_expression "der_decode_sequence_flexi(in,&len,&plVar7->child)" identifier (argument_list "(in,&len,&plVar7->child)" ( identifier , (pointer_expression "&len" & identifier) , (pointer_expression "&plVar7->child" & (field_expression "plVar7->child" identifier -> field_identifier)) )))) ;) (if_statement "if (wVar6 != L'\0') goto LAB_00180a83;" if (parenthesized_expression "(wVar6 != L'\0')" ( (binary_expression "wVar6 != L'\0'" identifier != (char_literal "L'\0'" L' escape_sequence ')) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "plVar10 = plVar7->child;" (assignment_expression "plVar10 = plVar7->child" identifier = (field_expression "plVar7->child" identifier -> field_identifier)) ;) (expression_statement "local_68 = local_68 + local_70;" (assignment_expression "local_68 = local_68 + local_70" identifier = (binary_expression "local_68 + local_70" identifier + identifier)) ;) (if_statement "if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180b87;" if (parenthesized_expression "(plVar10 == (ltc_asn1_list_ *)0x0)" ( (binary_expression "plVar10 == (ltc_asn1_list_ *)0x0" identifier == (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;)) (expression_statement "plVar10->parent = plVar7;" (assignment_expression "plVar10->parent = plVar7" (field_expression "plVar10->parent" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        } while (plVar10 != (ltc_asn1_list_ *)0x0);" do (compound_statement "{\n          plVar10 = plVar10->child;\n          uVar13 = uVar13 + 1;\n        }" { (expression_statement "plVar10 = plVar10->child;" (assignment_expression "plVar10 = plVar10->child" identifier = (field_expression "plVar10->child" identifier -> field_identifier)) ;) (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(plVar10 != (ltc_asn1_list_ *)0x0)" ( (binary_expression "plVar10 != (ltc_asn1_list_ *)0x0" identifier != (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (0x1e < uVar13) {\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }" if (parenthesized_expression "(0x1e < uVar13)" ( (binary_expression "0x1e < uVar13" number_literal < identifier) )) (compound_statement "{\n          wVar6 = L'\x01';\n          goto LAB_00180a83;\n        }" { (expression_statement "wVar6 = L'\x01';" (assignment_expression "wVar6 = L'\x01'" identifier = (char_literal "L'\x01'" L' escape_sequence ')) ;) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00180b87:\n      uVar13 = *inlen;" statement_identifier : (expression_statement "uVar13 = *inlen;" (assignment_expression "uVar13 = *inlen" identifier = (pointer_expression "*inlen" * identifier)) ;)) (expression_statement "uVar12 = len;" (assignment_expression "uVar12 = len" identifier = identifier) ;) (labeled_statement "LAB_001809f8:\n      local_68 = local_68 + uVar12;" statement_identifier : (expression_statement "local_68 = local_68 + uVar12;" (assignment_expression "local_68 = local_68 + uVar12" identifier = (binary_expression "local_68 + uVar12" identifier + identifier)) ;)) (expression_statement "in = in + uVar12;" (assignment_expression "in = in + uVar12" identifier = (binary_expression "in + uVar12" identifier + identifier)) ;) (expression_statement "uVar13 = uVar13 - uVar12;" (assignment_expression "uVar13 = uVar13 - uVar12" identifier = (binary_expression "uVar13 - uVar12" identifier - identifier)) ;) (expression_statement "*inlen = uVar13;" (assignment_expression "*inlen = uVar13" (pointer_expression "*inlen" * identifier) = identifier) ;) }) while (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) ;) (labeled_statement "joined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" statement_identifier : (if_statement "if (local_68 != 0) {\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" if (parenthesized_expression "(local_68 != 0)" ( (binary_expression "local_68 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" { (do_statement "do {\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );" do (compound_statement "{\n        plVar10 = plVar7->parent;\n        plVar5 = plVar7->prev;\n        if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;\n        while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }\n      }" { (expression_statement "plVar10 = plVar7->parent;" (assignment_expression "plVar10 = plVar7->parent" identifier = (field_expression "plVar7->parent" identifier -> field_identifier)) ;) (expression_statement "plVar5 = plVar7->prev;" (assignment_expression "plVar5 = plVar7->prev" identifier = (field_expression "plVar7->prev" identifier -> field_identifier)) ;) (if_statement "if (plVar7->prev == (ltc_asn1_list_ *)0x0) goto LAB_00180a45;" if (parenthesized_expression "(plVar7->prev == (ltc_asn1_list_ *)0x0)" ( (binary_expression "plVar7->prev == (ltc_asn1_list_ *)0x0" (field_expression "plVar7->prev" identifier -> field_identifier) == (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a45;" goto statement_identifier ;)) (while_statement "while (plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0) {\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }" while (parenthesized_expression "(plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0)" ( (comma_expression "plVar7 = plVar5, plVar10 != (ltc_asn1_list_ *)0x0" (assignment_expression "plVar7 = plVar5" identifier = identifier) , (binary_expression "plVar10 != (ltc_asn1_list_ *)0x0" identifier != (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n          while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }\n        }" { (while_statement "while( true ) {\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            plVar7 = plVar10;\n            plVar10 = plVar7->parent;\n            plVar5 = plVar7->prev;\n            if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;\nLAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;\n          }" { (expression_statement "plVar7 = plVar10;" (assignment_expression "plVar7 = plVar10" identifier = identifier) ;) (expression_statement "plVar10 = plVar7->parent;" (assignment_expression "plVar10 = plVar7->parent" identifier = (field_expression "plVar7->parent" identifier -> field_identifier)) ;) (expression_statement "plVar5 = plVar7->prev;" (assignment_expression "plVar5 = plVar7->prev" identifier = (field_expression "plVar7->prev" identifier -> field_identifier)) ;) (if_statement "if (plVar7->prev != (ltc_asn1_list_ *)0x0) break;" if (parenthesized_expression "(plVar7->prev != (ltc_asn1_list_ *)0x0)" ( (binary_expression "plVar7->prev != (ltc_asn1_list_ *)0x0" (field_expression "plVar7->prev" identifier -> field_identifier) != (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00180a45:\n            if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;" statement_identifier : (if_statement "if (plVar10 == (ltc_asn1_list_ *)0x0) goto LAB_00180a4a;" if (parenthesized_expression "(plVar10 == (ltc_asn1_list_ *)0x0)" ( (binary_expression "plVar10 == (ltc_asn1_list_ *)0x0" identifier == (cast_expression "(ltc_asn1_list_ *)0x0" ( (type_descriptor "ltc_asn1_list_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a4a;" goto statement_identifier ;))) })) })) }) while (parenthesized_expression "( true )" ( true )) ;) }))) }))) (labeled_statement "LAB_00180a4a:\n  *out = plVar7;" statement_identifier : (expression_statement "*out = plVar7;" (assignment_expression "*out = plVar7" (pointer_expression "*out" * identifier) = identifier) ;)) (expression_statement "*inlen = local_68;" (assignment_expression "*inlen = local_68" (pointer_expression "*inlen" * identifier) = identifier) ;) (expression_statement "wVar6 = L'\0';" (assignment_expression "wVar6 = L'\0'" identifier = (char_literal "L'\0'" L' escape_sequence ')) ;) (labeled_statement "LAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" statement_identifier : (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return wVar6;" return identifier ;) })))
(translation_unit "int der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar6;\n}\n\n" (function_definition "int der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar6;\n}" primitive_type (function_declarator "der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)" identifier (parameter_list "(byte *param_1,ulong *param_2,undefined8 *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar6;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint3 uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "void *pvVar8;" primitive_type (pointer_declarator "*pvVar8" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "ulong uVar12;" type_identifier identifier ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_70;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong local_68;" type_identifier identifier ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" { (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" identifier (argument_list "("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 == (ulong *)0x0) {\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" if (parenthesized_expression "(param_2 == (ulong *)0x0)" ( (binary_expression "param_2 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" { (expression_statement "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);" (call_expression "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" identifier (argument_list "("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" ( (string_literal ""inlen != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" if (parenthesized_expression "(param_3 == (undefined8 *)0x0)" ( (binary_expression "param_3 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" { (expression_statement "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);" (call_expression "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" identifier (argument_list "("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }" { (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" identifier = (cast_expression "(int *)calloc(1,0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (if_statement "if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }" { (labeled_statement "LAB_00180a7e:\n      iVar6 = 0xd;" statement_identifier : (expression_statement "iVar6 = 0xd;" (assignment_expression "iVar6 = 0xd" identifier = number_literal) ;)) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) (labeled_statement "LAB_00180a83:\n      der_sequence_free(piVar7);" statement_identifier : (expression_statement "der_sequence_free(piVar7);" (call_expression "der_sequence_free(piVar7)" identifier (argument_list "(piVar7)" ( identifier ))) ;)) (goto_statement "goto LAB_00180a91;" goto statement_identifier ;) })) }) (else_clause "else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" else (compound_statement "{\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" { (do_statement "do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);" do (compound_statement "{\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar11 = (ulong)bVar1;" (assignment_expression "uVar11 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) (if_statement "if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }" if (parenthesized_expression "(uVar13 < 2)" ( (binary_expression "uVar13 < 2" identifier < number_literal) )) (compound_statement "{\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }" { (expression_statement "local_48 = 0xffffffff;" (assignment_expression "local_48 = 0xffffffff" identifier = number_literal) ;) (labeled_statement "LAB_0018109a:\n        iVar6 = 7;" statement_identifier : (expression_statement "iVar6 = 7;" (assignment_expression "iVar6 = 7" identifier = number_literal) ;)) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (expression_statement "__size = (size_t)param_1[1];" (assignment_expression "__size = (size_t)param_1[1]" identifier = (cast_expression "(size_t)param_1[1]" ( (type_descriptor "size_t" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" if (parenthesized_expression "(__size < 0x80)" ( (binary_expression "__size < 0x80" identifier < number_literal) )) (compound_statement "{\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }" { (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" identifier = number_literal) ;) (expression_statement "uVar12 = __size + 2;" (assignment_expression "uVar12 = __size + 2" identifier = (binary_expression "__size + 2" identifier + number_literal)) ;) }) (else_clause "else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" else (compound_statement "{\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" { (expression_statement "uVar12 = (ulong)(param_1[1] & 0x7f);" (assignment_expression "uVar12 = (ulong)(param_1[1] & 0x7f)" identifier = (call_expression "(ulong)(param_1[1] & 0x7f)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1[1] & 0x7f)" ( (binary_expression "param_1[1] & 0x7f" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal) )))) ;) (if_statement "if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" if (parenthesized_expression "((uVar13 - 2 < uVar12) || (3 < uVar12 - 1))" ( (binary_expression "(uVar13 - 2 < uVar12) || (3 < uVar12 - 1)" (parenthesized_expression "(uVar13 - 2 < uVar12)" ( (binary_expression "uVar13 - 2 < uVar12" (binary_expression "uVar13 - 2" identifier - number_literal) < identifier) )) || (parenthesized_expression "(3 < uVar12 - 1)" ( (binary_expression "3 < uVar12 - 1" number_literal < (binary_expression "uVar12 - 1" identifier - number_literal)) ))) )) (compound_statement "{\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }" { (expression_statement "__size = 0xfffffffd;" (assignment_expression "__size = 0xfffffffd" identifier = number_literal) ;) (expression_statement "uVar12 = 0xffffffff;" (assignment_expression "uVar12 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" identifier = number_literal) ;) }) (else_clause "else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" else (compound_statement "{\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" { (expression_statement "local_70 = uVar12 + 2;" (assignment_expression "local_70 = uVar12 + 2" identifier = (binary_expression "uVar12 + 2" identifier + number_literal)) ;) (expression_statement "__size = (size_t)param_1[2];" (assignment_expression "__size = (size_t)param_1[2]" identifier = (cast_expression "(size_t)param_1[2]" ( (type_descriptor "size_t" primitive_type) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }" if (parenthesized_expression "(uVar12 != 1)" ( (binary_expression "uVar12 != 1" identifier != number_literal) )) (compound_statement "{\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }" { (expression_statement "uVar2 = CONCAT11(param_1[2],param_1[3]);" (assignment_expression "uVar2 = CONCAT11(param_1[2],param_1[3])" identifier = (call_expression "CONCAT11(param_1[2],param_1[3])" identifier (argument_list "(param_1[2],param_1[3])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[3]" identifier [ number_literal ]) )))) ;) (expression_statement "__size = (size_t)uVar2;" (assignment_expression "__size = (size_t)uVar2" identifier = (cast_expression "(size_t)uVar2" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }" if (parenthesized_expression "(uVar12 != 2)" ( (binary_expression "uVar12 != 2" identifier != number_literal) )) (compound_statement "{\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }" { (expression_statement "uVar3 = CONCAT21(uVar2,param_1[4]);" (assignment_expression "uVar3 = CONCAT21(uVar2,param_1[4])" identifier = (call_expression "CONCAT21(uVar2,param_1[4])" identifier (argument_list "(uVar2,param_1[4])" ( identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) )))) ;) (expression_statement "__size = (size_t)uVar3;" (assignment_expression "__size = (size_t)uVar3" identifier = (cast_expression "(size_t)uVar3" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }" if (parenthesized_expression "(uVar12 != 3)" ( (binary_expression "uVar12 != 3" identifier != number_literal) )) (compound_statement "{\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }" { (expression_statement "__size = (size_t)CONCAT31(uVar3,param_1[5]);" (assignment_expression "__size = (size_t)CONCAT31(uVar3,param_1[5])" identifier = (cast_expression "(size_t)CONCAT31(uVar3,param_1[5])" ( (type_descriptor "size_t" primitive_type) ) (call_expression "CONCAT31(uVar3,param_1[5])" identifier (argument_list "(uVar3,param_1[5])" ( identifier , (subscript_expression "param_1[5]" identifier [ number_literal ]) ))))) ;) })) })) })) (expression_statement "uVar12 = local_70 + __size;" (assignment_expression "uVar12 = local_70 + __size" identifier = (binary_expression "local_70 + __size" identifier + identifier)) ;) }))) }))) (expression_statement "local_48 = uVar12;" (assignment_expression "local_48 = uVar12" identifier = identifier) ;) (if_statement "if (uVar13 < uVar12) goto LAB_0018109a;" if (parenthesized_expression "(uVar13 < uVar12)" ( (binary_expression "uVar13 < uVar12" identifier < identifier) )) (goto_statement "goto LAB_0018109a;" goto statement_identifier ;)) (if_statement "if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" if (parenthesized_expression "(piVar10 == (int *)0x0)" ( (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }" { (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" identifier = (cast_expression "(int *)calloc(1,0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar10 = piVar7;" (assignment_expression "piVar10 = piVar7" identifier = identifier) ;) (if_statement "if (piVar7 == (int *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) }) (else_clause "else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" else (compound_statement "{\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" { (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" identifier = (cast_expression "(int *)calloc(1,0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(1,0x40)" identifier (argument_list "(1,0x40)" ( number_literal , number_literal ))))) ;) (expression_statement "*(int **)(piVar10 + 10) = piVar7;" (assignment_expression "*(int **)(piVar10 + 10) = piVar7" (pointer_expression "*(int **)(piVar10 + 10)" * (cast_expression "(int **)(piVar10 + 10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar10 + 10)" ( (binary_expression "piVar10 + 10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar7 == (int *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "*(int **)(piVar7 + 8) = piVar10;" (assignment_expression "*(int **)(piVar7 + 8) = piVar10" (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "puVar4 = PTR_ltc_mp_001ecec8;" (assignment_expression "puVar4 = PTR_ltc_mp_001ecec8" identifier = identifier) ;) (expression_statement "piVar10 = piVar7;" (assignment_expression "piVar10 = piVar7" identifier = identifier) ;) (if_statement "if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" if (parenthesized_expression "(((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2))" ( (binary_expression "((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)" (parenthesized_expression "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(uVar11 - 0x30 < 2)" ( (binary_expression "uVar11 - 0x30 < 2" (binary_expression "uVar11 - 0x30" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }" { (if_statement "if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" if (parenthesized_expression "((bVar1 & 0xc0) == 0x80)" ( (binary_expression "(bVar1 & 0xc0) == 0x80" (parenthesized_expression "(bVar1 & 0xc0)" ( (binary_expression "bVar1 & 0xc0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" { (expression_statement "*piVar7 = 0x13;" (assignment_expression "*piVar7 = 0x13" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[6] = (uint)bVar1;" (assignment_expression "piVar7[6] = (uint)bVar1" (subscript_expression "piVar7[6]" identifier [ number_literal ]) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pvVar8 = calloc(1,__size);" (assignment_expression "pvVar8 = calloc(1,__size)" identifier = (call_expression "calloc(1,__size)" identifier (argument_list "(1,__size)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }" { (expression_statement "memcpy(pvVar8,param_1 + local_70,__size);" (call_expression "memcpy(pvVar8,param_1 + local_70,__size)" identifier (argument_list "(pvVar8,param_1 + local_70,__size)" ( identifier , (binary_expression "param_1 + local_70" identifier + identifier) , identifier ))) ;) (expression_statement "*(size_t *)(piVar7 + 4) = __size;" (assignment_expression "*(size_t *)(piVar7 + 4) = __size" (pointer_expression "*(size_t *)(piVar7 + 4)" * (cast_expression "(size_t *)(piVar7 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;) })) (switch_statement "switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }" switch (parenthesized_expression "(uVar11)" ( identifier )) (compound_statement "{\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }" { (case_statement "default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;" default : (expression_statement "piVar10 = *(int **)(piVar7 + 8);" (assignment_expression "piVar10 = *(int **)(piVar7 + 8)" identifier = (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }" { (expression_statement "free(*(void **)(piVar10 + 10));" (call_expression "free(*(void **)(piVar10 + 10))" identifier (argument_list "(*(void **)(piVar10 + 10))" ( (pointer_expression "*(void **)(piVar10 + 10)" * (cast_expression "(void **)(piVar10 + 10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar10 + 10)" ( (binary_expression "piVar10 + 10" identifier + number_literal) )))) ))) ;) (expression_statement "piVar10[10] = 0;" (assignment_expression "piVar10[10] = 0" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[0xb] = 0;" (assignment_expression "piVar10[0xb] = 0" (subscript_expression "piVar10[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) })) (goto_statement "goto joined_r0x00181084;" goto statement_identifier ;)) (case_statement "case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 1;" (assignment_expression "*piVar7 = 1" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pvVar8 = calloc(1,4);" (assignment_expression "pvVar8 = calloc(1,4)" identifier = (call_expression "calloc(1,4)" identifier (argument_list "(1,4)" ( number_literal , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);" (assignment_expression "iVar6 = der_decode_boolean(param_1,uVar13,pvVar8)" identifier = (call_expression "der_decode_boolean(param_1,uVar13,pvVar8)" identifier (argument_list "(param_1,uVar13,pvVar8)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_boolean(&local_48);" (assignment_expression "iVar6 = der_length_boolean(&local_48)" identifier = (call_expression "der_length_boolean(&local_48)" identifier (argument_list "(&local_48)" ( (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;" case number_literal : (expression_statement "*piVar7 = 2;" (assignment_expression "*piVar7 = 2" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);" (assignment_expression "iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2)" identifier = (call_expression "(**(code **)(puVar4 + 0x10))(piVar7 + 2)" (parenthesized_expression "(**(code **)(puVar4 + 0x10))" ( (pointer_expression "**(code **)(puVar4 + 0x10)" * (pointer_expression "*(code **)(puVar4 + 0x10)" * (cast_expression "(code **)(puVar4 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x10)" ( (binary_expression "puVar4 + 0x10" identifier + number_literal) ))))) )) (argument_list "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) ;) (if_statement "if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }" if (parenthesized_expression "(((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))" ( (binary_expression "((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0)" (parenthesized_expression "((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              )" ( (binary_expression "(iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)" ( (comma_expression "iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0" (assignment_expression "iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" identifier = (call_expression "der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" identifier (argument_list "(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" ( identifier , (pointer_expression "*param_2" * identifier) , (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0)" ( (comma_expression "iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0" (assignment_expression "iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48)" identifier = (call_expression "der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }" { (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" identifier = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (case_statement "case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "*piVar7 = 4;" (assignment_expression "*piVar7 = 4" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12 * 8;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12 * 8" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = (binary_expression "uVar12 * 8" identifier * number_literal)) ;) (expression_statement "pvVar8 = calloc(1,uVar12 * 8);" (assignment_expression "pvVar8 = calloc(1,uVar12 * 8)" identifier = (call_expression "calloc(1,uVar12 * 8)" identifier (argument_list "(1,uVar12 * 8)" ( number_literal , (binary_expression "uVar12 * 8" identifier * number_literal) )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }" { (expression_statement "iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (goto_statement "goto joined_r0x00180eef;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "*piVar7 = 5;" (assignment_expression "*piVar7 = 5" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }" { (expression_statement "iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (labeled_statement "joined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;" statement_identifier : (if_statement "if (iVar6 == 0) goto LAB_00180b87;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;))) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;" case number_literal : (if_statement "if (param_1[1] != 0) goto LAB_0018109a;" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_0018109a;" goto statement_identifier ;)) (expression_statement "*piVar7 = 6;" (assignment_expression "*piVar7 = 6" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[2] = 0;" (assignment_expression "piVar7[2] = 0" (subscript_expression "piVar7[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[3] = 0;" (assignment_expression "piVar7[3] = 0" (subscript_expression "piVar7[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[4] = 0;" (assignment_expression "piVar7[4] = 0" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48 = 2;" (assignment_expression "local_48 = 2" identifier = number_literal) ;) (expression_statement "uVar12 = 2;" (assignment_expression "uVar12 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;)) (case_statement "case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" case number_literal : (expression_statement "*piVar7 = 7;" (assignment_expression "*piVar7 = 7" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(uVar12,8);" (assignment_expression "pvVar8 = calloc(uVar12,8)" identifier = (call_expression "calloc(uVar12,8)" identifier (argument_list "(uVar12,8)" ( identifier , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" if (parenthesized_expression "(pvVar8 != (void *)0x0)" ( (binary_expression "pvVar8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" { (expression_statement "iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }" if (parenthesized_expression "((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0))" ( (binary_expression "(iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)" ( (comma_expression "iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0" (assignment_expression "iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" identifier = (call_expression "der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }" { (expression_statement "pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);" (assignment_expression "pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" identifier = (call_expression "realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" identifier (argument_list "(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" ( (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (binary_expression "*(long *)(piVar7 + 4) * 8" (pointer_expression "*(long *)(piVar7 + 4)" * (cast_expression "(long *)(piVar7 + 4)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) * number_literal) )))) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180b87;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;)) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" identifier = identifier) ;) (goto_statement "goto LAB_001809f8;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (case_statement "case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 10;" (assignment_expression "*piVar7 = 10" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(4,uVar12);" (assignment_expression "pvVar8 = calloc(4,uVar12)" identifier = (call_expression "calloc(4,uVar12)" identifier (argument_list "(4,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 9;" (assignment_expression "*piVar7 = 9" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 0x11;" (assignment_expression "*piVar7 = 0x11" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 8;" (assignment_expression "*piVar7 = 8" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" identifier = (call_expression "calloc(1,uVar12)" identifier (argument_list "(1,uVar12)" ( number_literal , identifier )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier = (call_expression "der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4)" identifier (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" ( identifier , identifier , identifier , (binary_expression "piVar7 + 4" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier = (call_expression "der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(piVar7 + 4)" * (cast_expression "(undefined8 *)(piVar7 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;" case number_literal : (expression_statement "*piVar7 = 0xb;" (assignment_expression "*piVar7 = 0xb" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pvVar8 = calloc(1,0x24);" (assignment_expression "pvVar8 = calloc(1,0x24)" identifier = (call_expression "calloc(1,0x24)" identifier (argument_list "(1,0x24)" ( number_literal , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "local_48 = uVar13;" (assignment_expression "local_48 = uVar13" identifier = identifier) ;) (expression_statement "iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);" (assignment_expression "iVar6 = der_decode_utctime(param_1,&local_48,pvVar8)" identifier = (call_expression "der_decode_utctime(param_1,&local_48,pvVar8)" identifier (argument_list "(param_1,&local_48,pvVar8)" ( identifier , (pointer_expression "&local_48" & identifier) , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);" (assignment_expression "iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier = (call_expression "der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;" case number_literal : (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*piVar7 = 0x14;" (assignment_expression "*piVar7 = 0x14" (pointer_expression "*piVar7" * identifier) = number_literal) ;) (expression_statement "pvVar8 = calloc(1,0x28);" (assignment_expression "pvVar8 = calloc(1,0x28)" identifier = (call_expression "calloc(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal )))) ;) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);" (assignment_expression "iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8)" identifier = (call_expression "der_decode_generalizedtime(param_1,&local_48,pvVar8)" identifier (argument_list "(param_1,&local_48,pvVar8)" ( identifier , (pointer_expression "&local_48" & identifier) , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);" (assignment_expression "iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier = (call_expression "der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48)" identifier (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" ( (pointer_expression "*(undefined8 *)(piVar7 + 2)" * (cast_expression "(undefined8 *)(piVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x30:" case number_literal :) (case_statement "case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;" case number_literal : (if_statement "if (uVar11 == 0x20) goto LAB_00180af8;" if (parenthesized_expression "(uVar11 == 0x20)" ( (binary_expression "uVar11 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_00180af8;" goto statement_identifier ;)) (expression_statement "*piVar7 = (uVar11 != 0x30) + 0xd;" (assignment_expression "*piVar7 = (uVar11 != 0x30) + 0xd" (pointer_expression "*piVar7" * identifier) = (binary_expression "(uVar11 != 0x30) + 0xd" (parenthesized_expression "(uVar11 != 0x30)" ( (binary_expression "uVar11 != 0x30" identifier != number_literal) )) + number_literal)) ;) (goto_statement "goto LAB_00180aff;" goto statement_identifier ;)) })) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) }) (else_clause "else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" else (compound_statement "{\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" { (expression_statement "piVar7[6] = (uint)bVar1;" (assignment_expression "piVar7[6] = (uint)bVar1" (subscript_expression "piVar7[6]" identifier [ number_literal ]) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (labeled_statement "LAB_00180af8:\n        *piVar7 = 0x12;" statement_identifier : (expression_statement "*piVar7 = 0x12;" (assignment_expression "*piVar7 = 0x12" (pointer_expression "*piVar7" * identifier) = number_literal) ;)) (labeled_statement "LAB_00180aff:\n        pvVar8 = malloc(uVar12);" statement_identifier : (expression_statement "pvVar8 = malloc(uVar12);" (assignment_expression "pvVar8 = malloc(uVar12)" identifier = (call_expression "malloc(uVar12)" identifier (argument_list "(uVar12)" ( identifier )))) ;)) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" * (cast_expression "(void **)(piVar7 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a7e;" goto statement_identifier ;)) (expression_statement "memcpy(pvVar8,param_1,uVar12);" (call_expression "memcpy(pvVar8,param_1,uVar12)" identifier (argument_list "(pvVar8,param_1,uVar12)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" * (cast_expression "(ulong *)(piVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 4)" ( (binary_expression "piVar7 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1 = param_1 + local_70;" (assignment_expression "param_1 = param_1 + local_70" identifier = (binary_expression "param_1 + local_70" identifier + identifier)) ;) (expression_statement "*param_2 = uVar13 - local_70;" (assignment_expression "*param_2 = uVar13 - local_70" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar13 - local_70" identifier - identifier)) ;) (expression_statement "local_48 = __size;" (assignment_expression "local_48 = __size" identifier = identifier) ;) (expression_statement "iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);" (assignment_expression "iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc)" identifier = (call_expression "der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc)" identifier (argument_list "(param_1,&local_48,piVar7 + 0xc)" ( identifier , (pointer_expression "&local_48" & identifier) , (binary_expression "piVar7 + 0xc" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;)) (expression_statement "lVar9 = *(long *)(piVar7 + 0xc);" (assignment_expression "lVar9 = *(long *)(piVar7 + 0xc)" identifier = (pointer_expression "*(long *)(piVar7 + 0xc)" * (cast_expression "(long *)(piVar7 + 0xc)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0xc)" ( (binary_expression "piVar7 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_68 = local_68 + local_70;" (assignment_expression "local_68 = local_68 + local_70" identifier = (binary_expression "local_68 + local_70" identifier + identifier)) ;) (if_statement "if (lVar9 == 0) goto LAB_00180b87;" if (parenthesized_expression "(lVar9 == 0)" ( (binary_expression "lVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00180b87;" goto statement_identifier ;)) (expression_statement "*(int **)(lVar9 + 0x38) = piVar7;" (assignment_expression "*(int **)(lVar9 + 0x38) = piVar7" (pointer_expression "*(int **)(lVar9 + 0x38)" * (cast_expression "(int **)(lVar9 + 0x38)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar9 + 0x38)" ( (binary_expression "lVar9 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);" do (compound_statement "{\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        }" { (expression_statement "lVar9 = *(long *)(lVar9 + 0x30);" (assignment_expression "lVar9 = *(long *)(lVar9 + 0x30)" identifier = (pointer_expression "*(long *)(lVar9 + 0x30)" * (cast_expression "(long *)(lVar9 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x30)" ( (binary_expression "lVar9 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) ;) (if_statement "if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }" if (parenthesized_expression "(0x1e < uVar13)" ( (binary_expression "0x1e < uVar13" number_literal < identifier) )) (compound_statement "{\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00180a83;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00180b87:\n      uVar13 = *param_2;" statement_identifier : (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;)) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" identifier = identifier) ;) (labeled_statement "LAB_001809f8:\n      local_68 = local_68 + uVar12;" statement_identifier : (expression_statement "local_68 = local_68 + uVar12;" (assignment_expression "local_68 = local_68 + uVar12" identifier = (binary_expression "local_68 + uVar12" identifier + identifier)) ;)) (expression_statement "param_1 = param_1 + uVar12;" (assignment_expression "param_1 = param_1 + uVar12" identifier = (binary_expression "param_1 + uVar12" identifier + identifier)) ;) (expression_statement "uVar13 = uVar13 - uVar12;" (assignment_expression "uVar13 = uVar13 - uVar12" identifier = (binary_expression "uVar13 - uVar12" identifier - identifier)) ;) (expression_statement "*param_2 = uVar13;" (assignment_expression "*param_2 = uVar13" (pointer_expression "*param_2" * identifier) = identifier) ;) }) while (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) ;) (labeled_statement "joined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" statement_identifier : (if_statement "if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" if (parenthesized_expression "(local_68 != 0)" ( (binary_expression "local_68 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" { (do_statement "do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );" do (compound_statement "{\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      }" { (expression_statement "piVar10 = *(int **)(piVar7 + 0xe);" (assignment_expression "piVar10 = *(int **)(piVar7 + 0xe)" identifier = (pointer_expression "*(int **)(piVar7 + 0xe)" * (cast_expression "(int **)(piVar7 + 0xe)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 0xe)" ( (binary_expression "piVar7 + 0xe" identifier + number_literal) ))))) ;) (expression_statement "piVar5 = *(int **)(piVar7 + 8);" (assignment_expression "piVar5 = *(int **)(piVar7 + 8)" identifier = (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;" if (parenthesized_expression "(*(int **)(piVar7 + 8) == (int *)0x0)" ( (binary_expression "*(int **)(piVar7 + 8) == (int *)0x0" (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) )))) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a45;" goto statement_identifier ;)) (while_statement "while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }" while (parenthesized_expression "(piVar7 = piVar5, piVar10 != (int *)0x0)" ( (comma_expression "piVar7 = piVar5, piVar10 != (int *)0x0" (assignment_expression "piVar7 = piVar5" identifier = identifier) , (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }" { (while_statement "while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }" { (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" identifier = identifier) ;) (expression_statement "piVar10 = *(int **)(piVar7 + 0xe);" (assignment_expression "piVar10 = *(int **)(piVar7 + 0xe)" identifier = (pointer_expression "*(int **)(piVar7 + 0xe)" * (cast_expression "(int **)(piVar7 + 0xe)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 0xe)" ( (binary_expression "piVar7 + 0xe" identifier + number_literal) ))))) ;) (expression_statement "piVar5 = *(int **)(piVar7 + 8);" (assignment_expression "piVar5 = *(int **)(piVar7 + 8)" identifier = (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int **)(piVar7 + 8) != (int *)0x0) break;" if (parenthesized_expression "(*(int **)(piVar7 + 8) != (int *)0x0)" ( (binary_expression "*(int **)(piVar7 + 8) != (int *)0x0" (pointer_expression "*(int **)(piVar7 + 8)" * (cast_expression "(int **)(piVar7 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar7 + 8)" ( (binary_expression "piVar7 + 8" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;" statement_identifier : (if_statement "if (piVar10 == (int *)0x0) goto LAB_00180a4a;" if (parenthesized_expression "(piVar10 == (int *)0x0)" ( (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00180a4a;" goto statement_identifier ;))) })) })) }) while (parenthesized_expression "( true )" ( true )) ;) }))) }))) (labeled_statement "LAB_00180a4a:\n  *param_3 = piVar7;" statement_identifier : (expression_statement "*param_3 = piVar7;" (assignment_expression "*param_3 = piVar7" (pointer_expression "*param_3" * identifier) = identifier) ;)) (expression_statement "*param_2 = local_68;" (assignment_expression "*param_2 = local_68" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" statement_identifier : (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" { (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))))) ;) })) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement default : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT * LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) })) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (break_statement break ;)) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) + LIT)) ;) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;))) })) })) }) while (parenthesized_expression ( BOOL )) ;) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar6;\n}" (primitive_type "int") (function_declarator "der_decode_sequence_flexi(byte *param_1,ulong *param_2,undefined8 *param_3)" (identifier "der_decode_sequence_flexi") (parameter_list "(byte *param_1,ulong *param_2,undefined8 *param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong *param_2" (type_identifier "ulong") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 *param_3" (type_identifier "undefined8") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  uint3 uVar3;\n  undefined *puVar4;\n  int *piVar5;\n  int iVar6;\n  int *piVar7;\n  void *pvVar8;\n  long lVar9;\n  int *piVar10;\n  ulong uVar11;\n  size_t __size;\n  ulong uVar12;\n  ulong uVar13;\n  long in_FS_OFFSET;\n  long local_70;\n  ulong local_68;\n  size_t local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }\n  if (param_2 == (ulong *)0x0) {\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }\n  if (param_3 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }\n  local_68 = 0;\n  uVar13 = *param_2;\n  piVar10 = (int *)0x0;\n  if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }\nLAB_00180a4a:\n  *param_3 = piVar7;\n  *param_2 = local_68;\n  iVar6 = 0;\nLAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar6;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "ushort uVar2;" (type_identifier "ushort") (identifier "uVar2") (; ";")) (declaration "uint3 uVar3;" (type_identifier "uint3") (identifier "uVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "void *pvVar8;" (primitive_type "void") (pointer_declarator "*pvVar8" (* "*") (identifier "pvVar8")) (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "ulong uVar11;" (type_identifier "ulong") (identifier "uVar11") (; ";")) (declaration "size_t __size;" (primitive_type "size_t") (identifier "__size") (; ";")) (declaration "ulong uVar12;" (type_identifier "ulong") (identifier "uVar12") (; ";")) (declaration "ulong uVar13;" (type_identifier "ulong") (identifier "uVar13") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "long local_70;" (sized_type_specifier "long" (long "long")) (identifier "local_70") (; ";")) (declaration "ulong local_68;" (type_identifier "ulong") (identifier "local_68") (; ";")) (declaration "size_t local_48;" (primitive_type "size_t") (identifier "local_48") (; ";")) (declaration "long local_40;" (sized_type_specifier "long" (long "long")) (identifier "local_40") (; ";")) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" (if "if") (parenthesized_expression "(param_1 == (byte *)0x0)" (( "(") (binary_expression "param_1 == (byte *)0x0" (identifier "param_1") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);\n  }" ({ "{") (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" (" """) (string_content "src/pk/asn1/der/sequence/der_decode_sequence_flexi.c") (" """)) (, ",") (number_literal "0x56") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == (ulong *)0x0) {\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" (if "if") (parenthesized_expression "(param_2 == (ulong *)0x0)" (( "(") (binary_expression "param_2 == (ulong *)0x0" (identifier "param_2") (== "==") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);\n  }" ({ "{") (expression_statement "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);" (call_expression "crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" (identifier "crypt_argchk") (argument_list "("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57)" (( "(") (string_literal ""inlen != NULL"" (" """) (string_content "inlen != NULL") (" """)) (, ",") (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" (" """) (string_content "src/pk/asn1/der/sequence/der_decode_sequence_flexi.c") (" """)) (, ",") (number_literal "0x57") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" (if "if") (parenthesized_expression "(param_3 == (undefined8 *)0x0)" (( "(") (binary_expression "param_3 == (undefined8 *)0x0" (identifier "param_3") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);\n  }" ({ "{") (expression_statement "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);" (call_expression "crypt_argchk("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" (identifier "crypt_argchk") (argument_list "("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58)" (( "(") (string_literal ""out != NULL"" (" """) (string_content "out != NULL") (" """)) (, ",") (string_literal ""src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"" (" """) (string_content "src/pk/asn1/der/sequence/der_decode_sequence_flexi.c") (" """)) (, ",") (number_literal "0x58") () ")"))) (; ";")) (} "}"))) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" (identifier "local_68") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" (identifier "uVar13") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" (identifier "piVar10") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (uVar13 == 0) {\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }\n  else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" (if "if") (parenthesized_expression "(uVar13 == 0)" (( "(") (binary_expression "uVar13 == 0" (identifier "uVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar7 = (int *)calloc(1,0x40);\n    if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }\n  }" ({ "{") (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" (identifier "piVar7") (= "=") (cast_expression "(int *)calloc(1,0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "calloc(1,0x40)" (identifier "calloc") (argument_list "(1,0x40)" (( "(") (number_literal "1") (, ",") (number_literal "0x40") () ")"))))) (; ";")) (if_statement "if (piVar7 == (int *)0x0) {\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00180a7e:\n      iVar6 = 0xd;\n      piVar7 = piVar10;\nLAB_00180a83:\n      der_sequence_free(piVar7);\n      goto LAB_00180a91;\n    }" ({ "{") (labeled_statement "LAB_00180a7e:\n      iVar6 = 0xd;" (statement_identifier "LAB_00180a7e") (: ":") (expression_statement "iVar6 = 0xd;" (assignment_expression "iVar6 = 0xd" (identifier "iVar6") (= "=") (number_literal "0xd")) (; ";"))) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" (identifier "piVar7") (= "=") (identifier "piVar10")) (; ";")) (labeled_statement "LAB_00180a83:\n      der_sequence_free(piVar7);" (statement_identifier "LAB_00180a83") (: ":") (expression_statement "der_sequence_free(piVar7);" (call_expression "der_sequence_free(piVar7)" (identifier "der_sequence_free") (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";"))) (goto_statement "goto LAB_00180a91;" (goto "goto") (statement_identifier "LAB_00180a91") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" (else "else") (compound_statement "{\n    do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);\njoined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }\n  }" ({ "{") (do_statement "do {\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    } while (uVar13 != 0);" (do "do") (compound_statement "{\n      bVar1 = *param_1;\n      uVar11 = (ulong)bVar1;\n      piVar7 = piVar10;\n      if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }\n      __size = (size_t)param_1[1];\n      if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }\n      local_48 = uVar12;\n      if (uVar13 < uVar12) goto LAB_0018109a;\n      if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }\n      puVar4 = PTR_ltc_mp_001ecec8;\n      piVar10 = piVar7;\n      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }\nLAB_00180b87:\n      uVar13 = *param_2;\n      uVar12 = local_48;\nLAB_001809f8:\n      local_68 = local_68 + uVar12;\n      param_1 = param_1 + uVar12;\n      uVar13 = uVar13 - uVar12;\n      *param_2 = uVar13;\n    }" ({ "{") (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar11 = (ulong)bVar1;" (assignment_expression "uVar11 = (ulong)bVar1" (identifier "uVar11") (= "=") (cast_expression "(ulong)bVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar1"))) (; ";")) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" (identifier "piVar7") (= "=") (identifier "piVar10")) (; ";")) (if_statement "if (uVar13 < 2) {\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }" (if "if") (parenthesized_expression "(uVar13 < 2)" (( "(") (binary_expression "uVar13 < 2" (identifier "uVar13") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        local_48 = 0xffffffff;\nLAB_0018109a:\n        iVar6 = 7;\n        goto LAB_00180a83;\n      }" ({ "{") (expression_statement "local_48 = 0xffffffff;" (assignment_expression "local_48 = 0xffffffff" (identifier "local_48") (= "=") (number_literal "0xffffffff")) (; ";")) (labeled_statement "LAB_0018109a:\n        iVar6 = 7;" (statement_identifier "LAB_0018109a") (: ":") (expression_statement "iVar6 = 7;" (assignment_expression "iVar6 = 7" (identifier "iVar6") (= "=") (number_literal "7")) (; ";"))) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";")) (} "}"))) (expression_statement "__size = (size_t)param_1[1];" (assignment_expression "__size = (size_t)param_1[1]" (identifier "__size") (= "=") (cast_expression "(size_t)param_1[1]" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (__size < 0x80) {\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }\n      else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" (if "if") (parenthesized_expression "(__size < 0x80)" (( "(") (binary_expression "__size < 0x80" (identifier "__size") (< "<") (number_literal "0x80")) () ")")) (compound_statement "{\n        local_70 = 2;\n        uVar12 = __size + 2;\n      }" ({ "{") (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" (identifier "local_70") (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar12 = __size + 2;" (assignment_expression "uVar12 = __size + 2" (identifier "uVar12") (= "=") (binary_expression "__size + 2" (identifier "__size") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" (else "else") (compound_statement "{\n        uVar12 = (ulong)(param_1[1] & 0x7f);\n        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }\n      }" ({ "{") (expression_statement "uVar12 = (ulong)(param_1[1] & 0x7f);" (assignment_expression "uVar12 = (ulong)(param_1[1] & 0x7f)" (identifier "uVar12") (= "=") (call_expression "(ulong)(param_1[1] & 0x7f)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(param_1[1] & 0x7f)" (( "(") (binary_expression "param_1[1] & 0x7f" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x7f")) () ")")))) (; ";")) (if_statement "if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }\n        else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" (if "if") (parenthesized_expression "((uVar13 - 2 < uVar12) || (3 < uVar12 - 1))" (( "(") (binary_expression "(uVar13 - 2 < uVar12) || (3 < uVar12 - 1)" (parenthesized_expression "(uVar13 - 2 < uVar12)" (( "(") (binary_expression "uVar13 - 2 < uVar12" (binary_expression "uVar13 - 2" (identifier "uVar13") (- "-") (number_literal "2")) (< "<") (identifier "uVar12")) () ")")) (|| "||") (parenthesized_expression "(3 < uVar12 - 1)" (( "(") (binary_expression "3 < uVar12 - 1" (number_literal "3") (< "<") (binary_expression "uVar12 - 1" (identifier "uVar12") (- "-") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n          __size = 0xfffffffd;\n          uVar12 = 0xffffffff;\n          local_70 = 2;\n        }" ({ "{") (expression_statement "__size = 0xfffffffd;" (assignment_expression "__size = 0xfffffffd" (identifier "__size") (= "=") (number_literal "0xfffffffd")) (; ";")) (expression_statement "uVar12 = 0xffffffff;" (assignment_expression "uVar12 = 0xffffffff" (identifier "uVar12") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_70 = 2;" (assignment_expression "local_70 = 2" (identifier "local_70") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" (else "else") (compound_statement "{\n          local_70 = uVar12 + 2;\n          __size = (size_t)param_1[2];\n          if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }\n          uVar12 = local_70 + __size;\n        }" ({ "{") (expression_statement "local_70 = uVar12 + 2;" (assignment_expression "local_70 = uVar12 + 2" (identifier "local_70") (= "=") (binary_expression "uVar12 + 2" (identifier "uVar12") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "__size = (size_t)param_1[2];" (assignment_expression "__size = (size_t)param_1[2]" (identifier "__size") (= "=") (cast_expression "(size_t)param_1[2]" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (uVar12 != 1) {\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }" (if "if") (parenthesized_expression "(uVar12 != 1)" (( "(") (binary_expression "uVar12 != 1" (identifier "uVar12") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n            uVar2 = CONCAT11(param_1[2],param_1[3]);\n            __size = (size_t)uVar2;\n            if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }\n          }" ({ "{") (expression_statement "uVar2 = CONCAT11(param_1[2],param_1[3]);" (assignment_expression "uVar2 = CONCAT11(param_1[2],param_1[3])" (identifier "uVar2") (= "=") (call_expression "CONCAT11(param_1[2],param_1[3])" (identifier "CONCAT11") (argument_list "(param_1[2],param_1[3])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) () ")")))) (; ";")) (expression_statement "__size = (size_t)uVar2;" (assignment_expression "__size = (size_t)uVar2" (identifier "__size") (= "=") (cast_expression "(size_t)uVar2" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (identifier "uVar2"))) (; ";")) (if_statement "if (uVar12 != 2) {\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }" (if "if") (parenthesized_expression "(uVar12 != 2)" (( "(") (binary_expression "uVar12 != 2" (identifier "uVar12") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n              uVar3 = CONCAT21(uVar2,param_1[4]);\n              __size = (size_t)uVar3;\n              if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }\n            }" ({ "{") (expression_statement "uVar3 = CONCAT21(uVar2,param_1[4]);" (assignment_expression "uVar3 = CONCAT21(uVar2,param_1[4])" (identifier "uVar3") (= "=") (call_expression "CONCAT21(uVar2,param_1[4])" (identifier "CONCAT21") (argument_list "(uVar2,param_1[4])" (( "(") (identifier "uVar2") (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) () ")")))) (; ";")) (expression_statement "__size = (size_t)uVar3;" (assignment_expression "__size = (size_t)uVar3" (identifier "__size") (= "=") (cast_expression "(size_t)uVar3" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (identifier "uVar3"))) (; ";")) (if_statement "if (uVar12 != 3) {\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }" (if "if") (parenthesized_expression "(uVar12 != 3)" (( "(") (binary_expression "uVar12 != 3" (identifier "uVar12") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n                __size = (size_t)CONCAT31(uVar3,param_1[5]);\n              }" ({ "{") (expression_statement "__size = (size_t)CONCAT31(uVar3,param_1[5]);" (assignment_expression "__size = (size_t)CONCAT31(uVar3,param_1[5])" (identifier "__size") (= "=") (cast_expression "(size_t)CONCAT31(uVar3,param_1[5])" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (call_expression "CONCAT31(uVar3,param_1[5])" (identifier "CONCAT31") (argument_list "(uVar3,param_1[5])" (( "(") (identifier "uVar3") (, ",") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "uVar12 = local_70 + __size;" (assignment_expression "uVar12 = local_70 + __size" (identifier "uVar12") (= "=") (binary_expression "local_70 + __size" (identifier "local_70") (+ "+") (identifier "__size"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_48 = uVar12;" (assignment_expression "local_48 = uVar12" (identifier "local_48") (= "=") (identifier "uVar12")) (; ";")) (if_statement "if (uVar13 < uVar12) goto LAB_0018109a;" (if "if") (parenthesized_expression "(uVar13 < uVar12)" (( "(") (binary_expression "uVar13 < uVar12" (identifier "uVar13") (< "<") (identifier "uVar12")) () ")")) (goto_statement "goto LAB_0018109a;" (goto "goto") (statement_identifier "LAB_0018109a") (; ";"))) (if_statement "if (piVar10 == (int *)0x0) {\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }\n      else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" (if "if") (parenthesized_expression "(piVar10 == (int *)0x0)" (( "(") (binary_expression "piVar10 == (int *)0x0" (identifier "piVar10") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        piVar7 = (int *)calloc(1,0x40);\n        piVar10 = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n      }" ({ "{") (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" (identifier "piVar7") (= "=") (cast_expression "(int *)calloc(1,0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "calloc(1,0x40)" (identifier "calloc") (argument_list "(1,0x40)" (( "(") (number_literal "1") (, ",") (number_literal "0x40") () ")"))))) (; ";")) (expression_statement "piVar10 = piVar7;" (assignment_expression "piVar10 = piVar7" (identifier "piVar10") (= "=") (identifier "piVar7")) (; ";")) (if_statement "if (piVar7 == (int *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (} "}")) (else_clause "else {\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" (else "else") (compound_statement "{\n        piVar7 = (int *)calloc(1,0x40);\n        *(int **)(piVar10 + 10) = piVar7;\n        if (piVar7 == (int *)0x0) goto LAB_00180a7e;\n        *(int **)(piVar7 + 8) = piVar10;\n      }" ({ "{") (expression_statement "piVar7 = (int *)calloc(1,0x40);" (assignment_expression "piVar7 = (int *)calloc(1,0x40)" (identifier "piVar7") (= "=") (cast_expression "(int *)calloc(1,0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "calloc(1,0x40)" (identifier "calloc") (argument_list "(1,0x40)" (( "(") (number_literal "1") (, ",") (number_literal "0x40") () ")"))))) (; ";")) (expression_statement "*(int **)(piVar10 + 10) = piVar7;" (assignment_expression "*(int **)(piVar10 + 10) = piVar7" (pointer_expression "*(int **)(piVar10 + 10)" (* "*") (cast_expression "(int **)(piVar10 + 10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar10 + 10)" (( "(") (binary_expression "piVar10 + 10" (identifier "piVar10") (+ "+") (number_literal "10")) () ")")))) (= "=") (identifier "piVar7")) (; ";")) (if_statement "if (piVar7 == (int *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "*(int **)(piVar7 + 8) = piVar10;" (assignment_expression "*(int **)(piVar7 + 8) = piVar10" (pointer_expression "*(int **)(piVar7 + 8)" (* "*") (cast_expression "(int **)(piVar7 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 8)" (( "(") (binary_expression "piVar7 + 8" (identifier "piVar7") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "piVar10")) (; ";")) (} "}")))) (expression_statement "puVar4 = PTR_ltc_mp_001ecec8;" (assignment_expression "puVar4 = PTR_ltc_mp_001ecec8" (identifier "puVar4") (= "=") (identifier "PTR_ltc_mp_001ecec8")) (; ";")) (expression_statement "piVar10 = piVar7;" (assignment_expression "piVar10 = piVar7" (identifier "piVar10") (= "=") (identifier "piVar7")) (; ";")) (if_statement "if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }\n      else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" (if "if") (parenthesized_expression "(((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2))" (( "(") (binary_expression "((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)" (parenthesized_expression "((bVar1 & 0x20) == 0)" (( "(") (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" (( "(") (binary_expression "bVar1 & 0x20" (identifier "bVar1") (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar11 - 0x30 < 2)" (( "(") (binary_expression "uVar11 - 0x30 < 2" (binary_expression "uVar11 - 0x30" (identifier "uVar11") (- "-") (number_literal "0x30")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n        if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }\n        switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }\n        if (iVar6 != 0) goto LAB_00180a83;\n      }" ({ "{") (if_statement "if ((bVar1 & 0xc0) == 0x80) {\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" (if "if") (parenthesized_expression "((bVar1 & 0xc0) == 0x80)" (( "(") (binary_expression "(bVar1 & 0xc0) == 0x80" (parenthesized_expression "(bVar1 & 0xc0)" (( "(") (binary_expression "bVar1 & 0xc0" (identifier "bVar1") (& "&") (number_literal "0xc0")) () ")")) (== "==") (number_literal "0x80")) () ")")) (compound_statement "{\n          *piVar7 = 0x13;\n          piVar7[6] = (uint)bVar1;\n          pvVar8 = calloc(1,__size);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a7e;\n        }" ({ "{") (expression_statement "*piVar7 = 0x13;" (assignment_expression "*piVar7 = 0x13" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0x13")) (; ";")) (expression_statement "piVar7[6] = (uint)bVar1;" (assignment_expression "piVar7[6] = (uint)bVar1" (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (expression_statement "pvVar8 = calloc(1,__size);" (assignment_expression "pvVar8 = calloc(1,__size)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,__size)" (identifier "calloc") (argument_list "(1,__size)" (( "(") (number_literal "1") (, ",") (identifier "__size") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 != (void *)0x0) {\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }" (if "if") (parenthesized_expression "(pvVar8 != (void *)0x0)" (( "(") (binary_expression "pvVar8 != (void *)0x0" (identifier "pvVar8") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            memcpy(pvVar8,param_1 + local_70,__size);\n            *(size_t *)(piVar7 + 4) = __size;\n            goto LAB_001809f8;\n          }" ({ "{") (expression_statement "memcpy(pvVar8,param_1 + local_70,__size);" (call_expression "memcpy(pvVar8,param_1 + local_70,__size)" (identifier "memcpy") (argument_list "(pvVar8,param_1 + local_70,__size)" (( "(") (identifier "pvVar8") (, ",") (binary_expression "param_1 + local_70" (identifier "param_1") (+ "+") (identifier "local_70")) (, ",") (identifier "__size") () ")"))) (; ";")) (expression_statement "*(size_t *)(piVar7 + 4) = __size;" (assignment_expression "*(size_t *)(piVar7 + 4) = __size" (pointer_expression "*(size_t *)(piVar7 + 4)" (* "*") (cast_expression "(size_t *)(piVar7 + 4)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "__size")) (; ";")) (goto_statement "goto LAB_001809f8;" (goto "goto") (statement_identifier "LAB_001809f8") (; ";")) (} "}"))) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";")) (} "}"))) (switch_statement "switch(uVar11) {\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }" (switch "switch") (parenthesized_expression "(uVar11)" (( "(") (identifier "uVar11") () ")")) (compound_statement "{\n        default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;\n        case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;\n        case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;\n        case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;\n        case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;\n        case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;\n        case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;\n        case 0x20:\n        case 0x30:\n        case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;\n        }" ({ "{") (case_statement "default:\n          piVar10 = *(int **)(piVar7 + 8);\n          if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }\n          goto joined_r0x00181084;" (default "default") (: ":") (expression_statement "piVar10 = *(int **)(piVar7 + 8);" (assignment_expression "piVar10 = *(int **)(piVar7 + 8)" (identifier "piVar10") (= "=") (pointer_expression "*(int **)(piVar7 + 8)" (* "*") (cast_expression "(int **)(piVar7 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 8)" (( "(") (binary_expression "piVar7 + 8" (identifier "piVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (piVar10 != (int *)0x0) {\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }" (if "if") (parenthesized_expression "(piVar10 != (int *)0x0)" (( "(") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            free(*(void **)(piVar10 + 10));\n            piVar10[10] = 0;\n            piVar10[0xb] = 0;\n            piVar7 = piVar10;\n          }" ({ "{") (expression_statement "free(*(void **)(piVar10 + 10));" (call_expression "free(*(void **)(piVar10 + 10))" (identifier "free") (argument_list "(*(void **)(piVar10 + 10))" (( "(") (pointer_expression "*(void **)(piVar10 + 10)" (* "*") (cast_expression "(void **)(piVar10 + 10)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar10 + 10)" (( "(") (binary_expression "piVar10 + 10" (identifier "piVar10") (+ "+") (number_literal "10")) () ")")))) () ")"))) (; ";")) (expression_statement "piVar10[10] = 0;" (assignment_expression "piVar10[10] = 0" (subscript_expression "piVar10[10]" (identifier "piVar10") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar10[0xb] = 0;" (assignment_expression "piVar10[0xb] = 0" (subscript_expression "piVar10[0xb]" (identifier "piVar10") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" (identifier "piVar7") (= "=") (identifier "piVar10")) (; ";")) (} "}"))) (goto_statement "goto joined_r0x00181084;" (goto "goto") (statement_identifier "joined_r0x00181084") (; ";"))) (case_statement "case 1:\n          *piVar7 = 1;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,4);\n          *(void **)(piVar7 + 2) = pvVar8;\n          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_boolean(&local_48);\n          break;" (case "case") (number_literal "1") (: ":") (expression_statement "*piVar7 = 1;" (assignment_expression "*piVar7 = 1" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" (identifier "piVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" (identifier "piVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pvVar8 = calloc(1,4);" (assignment_expression "pvVar8 = calloc(1,4)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,4)" (identifier "calloc") (argument_list "(1,4)" (( "(") (number_literal "1") (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (expression_statement "iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);" (assignment_expression "iVar6 = der_decode_boolean(param_1,uVar13,pvVar8)" (identifier "iVar6") (= "=") (call_expression "der_decode_boolean(param_1,uVar13,pvVar8)" (identifier "der_decode_boolean") (argument_list "(param_1,uVar13,pvVar8)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "iVar6 = der_length_boolean(&local_48);" (assignment_expression "iVar6 = der_length_boolean(&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_boolean(&local_48)" (identifier "der_length_boolean") (argument_list "(&local_48)" (( "(") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n          *piVar7 = 2;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);\n          if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }\n          goto LAB_00180a83;" (case "case") (number_literal "2") (: ":") (expression_statement "*piVar7 = 2;" (assignment_expression "*piVar7 = 2" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "2")) (; ";")) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" (identifier "piVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" (identifier "piVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);" (assignment_expression "iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar4 + 0x10))(piVar7 + 2)" (parenthesized_expression "(**(code **)(puVar4 + 0x10))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x10)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x10)" (* "*") (cast_expression "(code **)(puVar4 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x10)" (( "(") (binary_expression "puVar4 + 0x10" (identifier "puVar4") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))\n          {\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }" (if "if") (parenthesized_expression "(((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))" (( "(") (binary_expression "((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0)" (parenthesized_expression "((iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)\n              )" (( "(") (binary_expression "(iVar6 == 0) &&\n              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)" (( "(") (comma_expression "iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0" (assignment_expression "iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" (identifier "iVar6") (= "=") (call_expression "der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" (identifier "der_decode_integer") (argument_list "(param_1,*param_2,*(undefined8 *)(piVar7 + 2))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0)" (( "(") (comma_expression "iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0" (assignment_expression "iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48)" (identifier "der_length_integer") (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n            uVar13 = *param_2;\n            uVar12 = local_48;\n            goto LAB_001809f8;\n          }" ({ "{") (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" (identifier "uVar13") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" (identifier "uVar12") (= "=") (identifier "local_48")) (; ";")) (goto_statement "goto LAB_001809f8;" (goto "goto") (statement_identifier "LAB_001809f8") (; ";")) (} "}"))) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (case_statement "case 3:\n          *piVar7 = 4;\n          *(ulong *)(piVar7 + 4) = uVar12 * 8;\n          pvVar8 = calloc(1,uVar12 * 8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" (case "case") (number_literal "3") (: ":") (expression_statement "*piVar7 = 4;" (assignment_expression "*piVar7 = 4" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "4")) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12 * 8;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12 * 8" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "uVar12 * 8" (identifier "uVar12") (* "*") (number_literal "8"))) (; ";")) (expression_statement "pvVar8 = calloc(1,uVar12 * 8);" (assignment_expression "pvVar8 = calloc(1,uVar12 * 8)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,uVar12 * 8)" (identifier "calloc") (argument_list "(1,uVar12 * 8)" (( "(") (number_literal "1") (, ",") (binary_expression "uVar12 * 8" (identifier "uVar12") (* "*") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" (if "if") (parenthesized_expression "(pvVar8 != (void *)0x0)" (( "(") (binary_expression "pvVar8 != (void *)0x0" (identifier "pvVar8") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }\n            goto LAB_00180a83;\n          }" ({ "{") (expression_statement "iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "iVar6") (= "=") (call_expression "der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "der_decode_bit_string") (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") (, ",") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);\n              goto joined_r0x00180eef;\n            }" ({ "{") (expression_statement "iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "der_length_bit_string") (argument_list "(*(undefined8 *)(piVar7 + 4),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 4)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (goto_statement "goto joined_r0x00180eef;" (goto "goto") (statement_identifier "joined_r0x00180eef") (; ";")) (} "}"))) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";")) (} "}"))) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (case_statement "case 4:\n          *piVar7 = 5;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" (case "case") (number_literal "4") (: ":") (expression_statement "*piVar7 = 5;" (assignment_expression "*piVar7 = 5" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "5")) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,uVar12)" (identifier "calloc") (argument_list "(1,uVar12)" (( "(") (number_literal "1") (, ",") (identifier "uVar12") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" (if "if") (parenthesized_expression "(pvVar8 != (void *)0x0)" (( "(") (binary_expression "pvVar8 != (void *)0x0" (identifier "pvVar8") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);\n            if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }\n            goto LAB_00180a83;\n          }" ({ "{") (expression_statement "iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "iVar6") (= "=") (call_expression "der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "der_decode_octet_string") (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") (, ",") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);\njoined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;\n            }" ({ "{") (expression_statement "iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "der_length_octet_string") (argument_list "(*(undefined8 *)(piVar7 + 4),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 4)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (labeled_statement "joined_r0x00180eef:\n              if (iVar6 == 0) goto LAB_00180b87;" (statement_identifier "joined_r0x00180eef") (: ":") (if_statement "if (iVar6 == 0) goto LAB_00180b87;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180b87;" (goto "goto") (statement_identifier "LAB_00180b87") (; ";")))) (} "}"))) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";")) (} "}"))) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (case_statement "case 5:\n          if (param_1[1] != 0) goto LAB_0018109a;\n          *piVar7 = 6;\n          piVar7[2] = 0;\n          piVar7[3] = 0;\n          piVar7[4] = 0;\n          piVar7[5] = 0;\n          local_48 = 2;\n          uVar12 = 2;\n          goto LAB_001809f8;" (case "case") (number_literal "5") (: ":") (if_statement "if (param_1[1] != 0) goto LAB_0018109a;" (if "if") (parenthesized_expression "(param_1[1] != 0)" (( "(") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0018109a;" (goto "goto") (statement_identifier "LAB_0018109a") (; ";"))) (expression_statement "*piVar7 = 6;" (assignment_expression "*piVar7 = 6" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "6")) (; ";")) (expression_statement "piVar7[2] = 0;" (assignment_expression "piVar7[2] = 0" (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar7[3] = 0;" (assignment_expression "piVar7[3] = 0" (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar7[4] = 0;" (assignment_expression "piVar7[4] = 0" (subscript_expression "piVar7[4]" (identifier "piVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" (identifier "piVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = 2;" (assignment_expression "local_48 = 2" (identifier "local_48") (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar12 = 2;" (assignment_expression "uVar12 = 2" (identifier "uVar12") (= "=") (number_literal "2")) (; ";")) (goto_statement "goto LAB_001809f8;" (goto "goto") (statement_identifier "LAB_001809f8") (; ";"))) (case_statement "case 6:\n          *piVar7 = 7;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(uVar12,8);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }\n          goto LAB_00180a7e;" (case "case") (number_literal "6") (: ":") (expression_statement "*piVar7 = 7;" (assignment_expression "*piVar7 = 7" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "7")) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "pvVar8 = calloc(uVar12,8);" (assignment_expression "pvVar8 = calloc(uVar12,8)" (identifier "pvVar8") (= "=") (call_expression "calloc(uVar12,8)" (identifier "calloc") (argument_list "(uVar12,8)" (( "(") (identifier "uVar12") (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 != (void *)0x0) {\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" (if "if") (parenthesized_expression "(pvVar8 != (void *)0x0)" (( "(") (binary_expression "pvVar8 != (void *)0x0" (identifier "pvVar8") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);\n            if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }\n            goto LAB_00180a83;\n          }" ({ "{") (expression_statement "iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "iVar6") (= "=") (call_expression "der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "der_decode_object_identifier") (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") (, ",") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if ((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)) {\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }" (if "if") (parenthesized_expression "((iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0))" (( "(") (binary_expression "(iVar6 == 0) &&\n               (iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0)" (( "(") (comma_expression "iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  ), iVar6 == 0" (assignment_expression "iVar6 = der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" (identifier "iVar6") (= "=") (call_expression "der_length_object_identifier\n                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" (identifier "der_length_object_identifier") (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48\n                                  )" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(piVar7 + 4)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);\n              if (pvVar8 == (void *)0x0) goto LAB_00180b87;\n              *(void **)(piVar7 + 2) = pvVar8;\n              uVar13 = *param_2;\n              uVar12 = local_48;\n              goto LAB_001809f8;\n            }" ({ "{") (expression_statement "pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);" (assignment_expression "pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" (identifier "pvVar8") (= "=") (call_expression "realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" (identifier "realloc") (argument_list "(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8)" (( "(") (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (binary_expression "*(long *)(piVar7 + 4) * 8" (pointer_expression "*(long *)(piVar7 + 4)" (* "*") (cast_expression "(long *)(piVar7 + 4)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (* "*") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180b87;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180b87;" (goto "goto") (statement_identifier "LAB_00180b87") (; ";"))) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" (identifier "uVar13") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" (identifier "uVar12") (= "=") (identifier "local_48")) (; ";")) (goto_statement "goto LAB_001809f8;" (goto "goto") (statement_identifier "LAB_001809f8") (; ";")) (} "}"))) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";")) (} "}"))) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (case_statement "case 0xc:\n          *piVar7 = 10;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(4,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" (case "case") (number_literal "0xc") (: ":") (expression_statement "*piVar7 = 10;" (assignment_expression "*piVar7 = 10" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "10")) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "pvVar8 = calloc(4,uVar12);" (assignment_expression "pvVar8 = calloc(4,uVar12)" (identifier "pvVar8") (= "=") (call_expression "calloc(4,uVar12)" (identifier "calloc") (argument_list "(4,uVar12)" (( "(") (number_literal "4") (, ",") (identifier "uVar12") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "iVar6") (= "=") (call_expression "der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "der_decode_utf8_string") (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") (, ",") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_utf8_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "der_length_utf8_string") (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(piVar7 + 4)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x13:\n          *piVar7 = 9;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" (case "case") (number_literal "0x13") (: ":") (expression_statement "*piVar7 = 9;" (assignment_expression "*piVar7 = 9" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "9")) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,uVar12)" (identifier "calloc") (argument_list "(1,uVar12)" (( "(") (number_literal "1") (, ",") (identifier "uVar12") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "iVar6") (= "=") (call_expression "der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "der_decode_printable_string") (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") (, ",") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_printable_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "der_length_printable_string") (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(piVar7 + 4)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x14:\n          *piVar7 = 0x11;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" (case "case") (number_literal "0x14") (: ":") (expression_statement "*piVar7 = 0x11;" (assignment_expression "*piVar7 = 0x11" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0x11")) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,uVar12)" (identifier "calloc") (argument_list "(1,uVar12)" (( "(") (number_literal "1") (, ",") (identifier "uVar12") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "iVar6") (= "=") (call_expression "der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "der_decode_teletex_string") (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") (, ",") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_teletex_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "der_length_teletex_string") (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(piVar7 + 4)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x16:\n          *piVar7 = 8;\n          *(ulong *)(piVar7 + 4) = uVar12;\n          pvVar8 = calloc(1,uVar12);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);\n          break;" (case "case") (number_literal "0x16") (: ":") (expression_statement "*piVar7 = 8;" (assignment_expression "*piVar7 = 8" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "8")) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "pvVar8 = calloc(1,uVar12);" (assignment_expression "pvVar8 = calloc(1,uVar12)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,uVar12)" (identifier "calloc") (argument_list "(1,uVar12)" (( "(") (number_literal "1") (, ",") (identifier "uVar12") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);" (assignment_expression "iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "iVar6") (= "=") (call_expression "der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4)" (identifier "der_decode_ia5_string") (argument_list "(param_1,uVar13,pvVar8,piVar7 + 4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar13") (, ",") (identifier "pvVar8") (, ",") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);" (assignment_expression "iVar6 = der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_ia5_string\n                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (identifier "der_length_ia5_string") (argument_list "(*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(piVar7 + 4)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x17:\n          *piVar7 = 0xb;\n          piVar7[4] = 1;\n          piVar7[5] = 0;\n          pvVar8 = calloc(1,0x24);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          local_48 = uVar13;\n          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;" (case "case") (number_literal "0x17") (: ":") (expression_statement "*piVar7 = 0xb;" (assignment_expression "*piVar7 = 0xb" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0xb")) (; ";")) (expression_statement "piVar7[4] = 1;" (assignment_expression "piVar7[4] = 1" (subscript_expression "piVar7[4]" (identifier "piVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar7[5] = 0;" (assignment_expression "piVar7[5] = 0" (subscript_expression "piVar7[5]" (identifier "piVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pvVar8 = calloc(1,0x24);" (assignment_expression "pvVar8 = calloc(1,0x24)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,0x24)" (identifier "calloc") (argument_list "(1,0x24)" (( "(") (number_literal "1") (, ",") (number_literal "0x24") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "local_48 = uVar13;" (assignment_expression "local_48 = uVar13" (identifier "local_48") (= "=") (identifier "uVar13")) (; ";")) (expression_statement "iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);" (assignment_expression "iVar6 = der_decode_utctime(param_1,&local_48,pvVar8)" (identifier "iVar6") (= "=") (call_expression "der_decode_utctime(param_1,&local_48,pvVar8)" (identifier "der_decode_utctime") (argument_list "(param_1,&local_48,pvVar8)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) (, ",") (identifier "pvVar8") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);" (assignment_expression "iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48)" (identifier "der_length_utctime") (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x18:\n          *(ulong *)(piVar7 + 4) = uVar12;\n          *piVar7 = 0x14;\n          pvVar8 = calloc(1,0x28);\n          *(void **)(piVar7 + 2) = pvVar8;\n          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);\n          if (iVar6 != 0) goto LAB_00180a83;\n          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);\n          break;" (case "case") (number_literal "0x18") (: ":") (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "*piVar7 = 0x14;" (assignment_expression "*piVar7 = 0x14" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0x14")) (; ";")) (expression_statement "pvVar8 = calloc(1,0x28);" (assignment_expression "pvVar8 = calloc(1,0x28)" (identifier "pvVar8") (= "=") (call_expression "calloc(1,0x28)" (identifier "calloc") (argument_list "(1,0x28)" (( "(") (number_literal "1") (, ",") (number_literal "0x28") () ")")))) (; ";")) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);" (assignment_expression "iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8)" (identifier "iVar6") (= "=") (call_expression "der_decode_generalizedtime(param_1,&local_48,pvVar8)" (identifier "der_decode_generalizedtime") (argument_list "(param_1,&local_48,pvVar8)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) (, ",") (identifier "pvVar8") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);" (assignment_expression "iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48)" (identifier "iVar6") (= "=") (call_expression "der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48)" (identifier "der_length_generalizedtime") (argument_list "(*(undefined8 *)(piVar7 + 2),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x20:" (case "case") (number_literal "0x20") (: ":")) (case_statement "case 0x30:" (case "case") (number_literal "0x30") (: ":")) (case_statement "case 0x31:\n          if (uVar11 == 0x20) goto LAB_00180af8;\n          *piVar7 = (uVar11 != 0x30) + 0xd;\n          goto LAB_00180aff;" (case "case") (number_literal "0x31") (: ":") (if_statement "if (uVar11 == 0x20) goto LAB_00180af8;" (if "if") (parenthesized_expression "(uVar11 == 0x20)" (( "(") (binary_expression "uVar11 == 0x20" (identifier "uVar11") (== "==") (number_literal "0x20")) () ")")) (goto_statement "goto LAB_00180af8;" (goto "goto") (statement_identifier "LAB_00180af8") (; ";"))) (expression_statement "*piVar7 = (uVar11 != 0x30) + 0xd;" (assignment_expression "*piVar7 = (uVar11 != 0x30) + 0xd" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (binary_expression "(uVar11 != 0x30) + 0xd" (parenthesized_expression "(uVar11 != 0x30)" (( "(") (binary_expression "uVar11 != 0x30" (identifier "uVar11") (!= "!=") (number_literal "0x30")) () ")")) (+ "+") (number_literal "0xd"))) (; ";")) (goto_statement "goto LAB_00180aff;" (goto "goto") (statement_identifier "LAB_00180aff") (; ";"))) (} "}"))) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (} "}")) (else_clause "else {\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" (else "else") (compound_statement "{\n        piVar7[6] = (uint)bVar1;\nLAB_00180af8:\n        *piVar7 = 0x12;\nLAB_00180aff:\n        pvVar8 = malloc(uVar12);\n        *(void **)(piVar7 + 2) = pvVar8;\n        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;\n        memcpy(pvVar8,param_1,uVar12);\n        *(ulong *)(piVar7 + 4) = uVar12;\n        param_1 = param_1 + local_70;\n        *param_2 = uVar13 - local_70;\n        local_48 = __size;\n        iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);\n        if (iVar6 != 0) goto LAB_00180a83;\n        lVar9 = *(long *)(piVar7 + 0xc);\n        local_68 = local_68 + local_70;\n        if (lVar9 == 0) goto LAB_00180b87;\n        *(int **)(lVar9 + 0x38) = piVar7;\n        uVar13 = 0;\n        do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);\n        if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }\n      }" ({ "{") (expression_statement "piVar7[6] = (uint)bVar1;" (assignment_expression "piVar7[6] = (uint)bVar1" (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (labeled_statement "LAB_00180af8:\n        *piVar7 = 0x12;" (statement_identifier "LAB_00180af8") (: ":") (expression_statement "*piVar7 = 0x12;" (assignment_expression "*piVar7 = 0x12" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0x12")) (; ";"))) (labeled_statement "LAB_00180aff:\n        pvVar8 = malloc(uVar12);" (statement_identifier "LAB_00180aff") (: ":") (expression_statement "pvVar8 = malloc(uVar12);" (assignment_expression "pvVar8 = malloc(uVar12)" (identifier "pvVar8") (= "=") (call_expression "malloc(uVar12)" (identifier "malloc") (argument_list "(uVar12)" (( "(") (identifier "uVar12") () ")")))) (; ";"))) (expression_statement "*(void **)(piVar7 + 2) = pvVar8;" (assignment_expression "*(void **)(piVar7 + 2) = pvVar8" (pointer_expression "*(void **)(piVar7 + 2)" (* "*") (cast_expression "(void **)(piVar7 + 2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "pvVar8")) (; ";")) (if_statement "if (pvVar8 == (void *)0x0) goto LAB_00180a7e;" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a7e;" (goto "goto") (statement_identifier "LAB_00180a7e") (; ";"))) (expression_statement "memcpy(pvVar8,param_1,uVar12);" (call_expression "memcpy(pvVar8,param_1,uVar12)" (identifier "memcpy") (argument_list "(pvVar8,param_1,uVar12)" (( "(") (identifier "pvVar8") (, ",") (identifier "param_1") (, ",") (identifier "uVar12") () ")"))) (; ";")) (expression_statement "*(ulong *)(piVar7 + 4) = uVar12;" (assignment_expression "*(ulong *)(piVar7 + 4) = uVar12" (pointer_expression "*(ulong *)(piVar7 + 4)" (* "*") (cast_expression "(ulong *)(piVar7 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 4)" (( "(") (binary_expression "piVar7 + 4" (identifier "piVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "param_1 = param_1 + local_70;" (assignment_expression "param_1 = param_1 + local_70" (identifier "param_1") (= "=") (binary_expression "param_1 + local_70" (identifier "param_1") (+ "+") (identifier "local_70"))) (; ";")) (expression_statement "*param_2 = uVar13 - local_70;" (assignment_expression "*param_2 = uVar13 - local_70" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "uVar13 - local_70" (identifier "uVar13") (- "-") (identifier "local_70"))) (; ";")) (expression_statement "local_48 = __size;" (assignment_expression "local_48 = __size" (identifier "local_48") (= "=") (identifier "__size")) (; ";")) (expression_statement "iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc);" (assignment_expression "iVar6 = der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc)" (identifier "iVar6") (= "=") (call_expression "der_decode_sequence_flexi(param_1,&local_48,piVar7 + 0xc)" (identifier "der_decode_sequence_flexi") (argument_list "(param_1,&local_48,piVar7 + 0xc)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) (, ",") (binary_expression "piVar7 + 0xc" (identifier "piVar7") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_00180a83;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";"))) (expression_statement "lVar9 = *(long *)(piVar7 + 0xc);" (assignment_expression "lVar9 = *(long *)(piVar7 + 0xc)" (identifier "lVar9") (= "=") (pointer_expression "*(long *)(piVar7 + 0xc)" (* "*") (cast_expression "(long *)(piVar7 + 0xc)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 0xc)" (( "(") (binary_expression "piVar7 + 0xc" (identifier "piVar7") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "local_68 = local_68 + local_70;" (assignment_expression "local_68 = local_68 + local_70" (identifier "local_68") (= "=") (binary_expression "local_68 + local_70" (identifier "local_68") (+ "+") (identifier "local_70"))) (; ";")) (if_statement "if (lVar9 == 0) goto LAB_00180b87;" (if "if") (parenthesized_expression "(lVar9 == 0)" (( "(") (binary_expression "lVar9 == 0" (identifier "lVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00180b87;" (goto "goto") (statement_identifier "LAB_00180b87") (; ";"))) (expression_statement "*(int **)(lVar9 + 0x38) = piVar7;" (assignment_expression "*(int **)(lVar9 + 0x38) = piVar7" (pointer_expression "*(int **)(lVar9 + 0x38)" (* "*") (cast_expression "(int **)(lVar9 + 0x38)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar9 + 0x38)" (( "(") (binary_expression "lVar9 + 0x38" (identifier "lVar9") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "piVar7")) (; ";")) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" (identifier "uVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        } while (lVar9 != 0);" (do "do") (compound_statement "{\n          lVar9 = *(long *)(lVar9 + 0x30);\n          uVar13 = uVar13 + 1;\n        }" ({ "{") (expression_statement "lVar9 = *(long *)(lVar9 + 0x30);" (assignment_expression "lVar9 = *(long *)(lVar9 + 0x30)" (identifier "lVar9") (= "=") (pointer_expression "*(long *)(lVar9 + 0x30)" (* "*") (cast_expression "(long *)(lVar9 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar9 + 0x30)" (( "(") (binary_expression "lVar9 + 0x30" (identifier "lVar9") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" (identifier "uVar13") (= "=") (binary_expression "uVar13 + 1" (identifier "uVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar9 != 0)" (( "(") (binary_expression "lVar9 != 0" (identifier "lVar9") (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if (0x1e < uVar13) {\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }" (if "if") (parenthesized_expression "(0x1e < uVar13)" (( "(") (binary_expression "0x1e < uVar13" (number_literal "0x1e") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n          iVar6 = 1;\n          goto LAB_00180a83;\n        }" ({ "{") (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00180a83;" (goto "goto") (statement_identifier "LAB_00180a83") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_00180b87:\n      uVar13 = *param_2;" (statement_identifier "LAB_00180b87") (: ":") (expression_statement "uVar13 = *param_2;" (assignment_expression "uVar13 = *param_2" (identifier "uVar13") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";"))) (expression_statement "uVar12 = local_48;" (assignment_expression "uVar12 = local_48" (identifier "uVar12") (= "=") (identifier "local_48")) (; ";")) (labeled_statement "LAB_001809f8:\n      local_68 = local_68 + uVar12;" (statement_identifier "LAB_001809f8") (: ":") (expression_statement "local_68 = local_68 + uVar12;" (assignment_expression "local_68 = local_68 + uVar12" (identifier "local_68") (= "=") (binary_expression "local_68 + uVar12" (identifier "local_68") (+ "+") (identifier "uVar12"))) (; ";"))) (expression_statement "param_1 = param_1 + uVar12;" (assignment_expression "param_1 = param_1 + uVar12" (identifier "param_1") (= "=") (binary_expression "param_1 + uVar12" (identifier "param_1") (+ "+") (identifier "uVar12"))) (; ";")) (expression_statement "uVar13 = uVar13 - uVar12;" (assignment_expression "uVar13 = uVar13 - uVar12" (identifier "uVar13") (= "=") (binary_expression "uVar13 - uVar12" (identifier "uVar13") (- "-") (identifier "uVar12"))) (; ";")) (expression_statement "*param_2 = uVar13;" (assignment_expression "*param_2 = uVar13" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar13")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar13 != 0)" (( "(") (binary_expression "uVar13 != 0" (identifier "uVar13") (!= "!=") (number_literal "0")) () ")")) (; ";")) (labeled_statement "joined_r0x00181084:\n    if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" (statement_identifier "joined_r0x00181084") (: ":") (if_statement "if (local_68 != 0) {\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" (if "if") (parenthesized_expression "(local_68 != 0)" (( "(") (binary_expression "local_68 != 0" (identifier "local_68") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );\n    }" ({ "{") (do_statement "do {\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      } while( true );" (do "do") (compound_statement "{\n        piVar10 = *(int **)(piVar7 + 0xe);\n        piVar5 = *(int **)(piVar7 + 8);\n        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;\n        while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }\n      }" ({ "{") (expression_statement "piVar10 = *(int **)(piVar7 + 0xe);" (assignment_expression "piVar10 = *(int **)(piVar7 + 0xe)" (identifier "piVar10") (= "=") (pointer_expression "*(int **)(piVar7 + 0xe)" (* "*") (cast_expression "(int **)(piVar7 + 0xe)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 0xe)" (( "(") (binary_expression "piVar7 + 0xe" (identifier "piVar7") (+ "+") (number_literal "0xe")) () ")"))))) (; ";")) (expression_statement "piVar5 = *(int **)(piVar7 + 8);" (assignment_expression "piVar5 = *(int **)(piVar7 + 8)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(piVar7 + 8)" (* "*") (cast_expression "(int **)(piVar7 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 8)" (( "(") (binary_expression "piVar7 + 8" (identifier "piVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;" (if "if") (parenthesized_expression "(*(int **)(piVar7 + 8) == (int *)0x0)" (( "(") (binary_expression "*(int **)(piVar7 + 8) == (int *)0x0" (pointer_expression "*(int **)(piVar7 + 8)" (* "*") (cast_expression "(int **)(piVar7 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 8)" (( "(") (binary_expression "piVar7 + 8" (identifier "piVar7") (+ "+") (number_literal "8")) () ")")))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a45;" (goto "goto") (statement_identifier "LAB_00180a45") (; ";"))) (while_statement "while (piVar7 = piVar5, piVar10 != (int *)0x0) {\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }" (while "while") (parenthesized_expression "(piVar7 = piVar5, piVar10 != (int *)0x0)" (( "(") (comma_expression "piVar7 = piVar5, piVar10 != (int *)0x0" (assignment_expression "piVar7 = piVar5" (identifier "piVar7") (= "=") (identifier "piVar5")) (, ",") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n          while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }\n        }" ({ "{") (while_statement "while( true ) {\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            piVar7 = piVar10;\n            piVar10 = *(int **)(piVar7 + 0xe);\n            piVar5 = *(int **)(piVar7 + 8);\n            if (*(int **)(piVar7 + 8) != (int *)0x0) break;\nLAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;\n          }" ({ "{") (expression_statement "piVar7 = piVar10;" (assignment_expression "piVar7 = piVar10" (identifier "piVar7") (= "=") (identifier "piVar10")) (; ";")) (expression_statement "piVar10 = *(int **)(piVar7 + 0xe);" (assignment_expression "piVar10 = *(int **)(piVar7 + 0xe)" (identifier "piVar10") (= "=") (pointer_expression "*(int **)(piVar7 + 0xe)" (* "*") (cast_expression "(int **)(piVar7 + 0xe)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 0xe)" (( "(") (binary_expression "piVar7 + 0xe" (identifier "piVar7") (+ "+") (number_literal "0xe")) () ")"))))) (; ";")) (expression_statement "piVar5 = *(int **)(piVar7 + 8);" (assignment_expression "piVar5 = *(int **)(piVar7 + 8)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(piVar7 + 8)" (* "*") (cast_expression "(int **)(piVar7 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 8)" (( "(") (binary_expression "piVar7 + 8" (identifier "piVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(int **)(piVar7 + 8) != (int *)0x0) break;" (if "if") (parenthesized_expression "(*(int **)(piVar7 + 8) != (int *)0x0)" (( "(") (binary_expression "*(int **)(piVar7 + 8) != (int *)0x0" (pointer_expression "*(int **)(piVar7 + 8)" (* "*") (cast_expression "(int **)(piVar7 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar7 + 8)" (( "(") (binary_expression "piVar7 + 8" (identifier "piVar7") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00180a45:\n            if (piVar10 == (int *)0x0) goto LAB_00180a4a;" (statement_identifier "LAB_00180a45") (: ":") (if_statement "if (piVar10 == (int *)0x0) goto LAB_00180a4a;" (if "if") (parenthesized_expression "(piVar10 == (int *)0x0)" (( "(") (binary_expression "piVar10 == (int *)0x0" (identifier "piVar10") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00180a4a;" (goto "goto") (statement_identifier "LAB_00180a4a") (; ";")))) (} "}"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_00180a4a:\n  *param_3 = piVar7;" (statement_identifier "LAB_00180a4a") (: ":") (expression_statement "*param_3 = piVar7;" (assignment_expression "*param_3 = piVar7" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "piVar7")) (; ";"))) (expression_statement "*param_2 = local_68;" (assignment_expression "*param_2 = local_68" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "local_68")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00180a91:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (statement_identifier "LAB_00180a91") (: ":") (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (!= "!=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" ({ "{") (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}")))

int function_1(type_1 *var_2,type_2 *var_4,type_3 **var_5)

{
  type_4 var_17;
  type_5 uVar2;
  type_6 uVar3;
  type_7 *var_25;
  type_8 *plVar5;
  type_9 var_23;
  type_3 *var_8;
  void *var_19;
  type_10 *var_49;
  type_11 *var_46;
  type_1 *var_28;
  type_9 *var_37;
  type_2 *var_33;
  int *out_03;
  type_8 *var_55;
  type_2 var_18;
  size_t var_10;
  type_2 var_11;
  type_2 var_6;
  type_3 *var_16;
  long var_1;
  long var_15;
  type_2 var_54;
  type_2 len;
  long var_56;
  
  var_56 = *(long *)(var_1 + 0x28);
  if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("in != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x56);
  }
  if (var_4 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("inlen != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x57);
  }
  if (var_5 == (type_3 **)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("out != NULL","src/pk/asn1/der/sequence/der_decode_sequence_flexi.c",0x58);
  }
  var_54 = 0;
  var_6 = *var_4;
  var_16 = (type_3 *)0x0;
  if (var_6 == 0) {
    var_8 = (type_3 *)var_7(1,0x40);
    if (var_8 == (type_3 *)0x0) {
LAB_00180a7e:
      var_23 = L'\r';
      var_8 = var_16;
LAB_00180a83:
      var_9(var_8);
      goto LAB_00180a91;
    }
  }
  else {
    do {
      var_17 = *var_2;
      var_18 = (type_2)var_17;
      var_8 = var_16;
      if (var_6 < 2) {
        len = 0xffffffff;
LAB_0018109a:
        var_23 = L'\a';
        goto LAB_00180a83;
      }
      var_10 = (size_t)var_2[1];
      if (var_10 < 0x80) {
        var_15 = 2;
        var_11 = var_10 + 2;
      }
      else {
        var_11 = (type_2)(var_2[1] & 0x7f);
        if ((var_6 - 2 < var_11) || (3 < var_11 - 1)) {
          var_10 = 0xfffffffd;
          var_11 = 0xffffffff;
          var_15 = 2;
        }
        else {
          var_15 = var_11 + 2;
          var_10 = (size_t)var_2[2];
          if (var_11 != 1) {
            uVar2 = var_12(var_2[2],var_2[3]);
            var_10 = (size_t)uVar2;
            if (var_11 != 2) {
              uVar3 = var_13(uVar2,var_2[4]);
              var_10 = (size_t)uVar3;
              if (var_11 != 3) {
                var_10 = (size_t)var_14(uVar3,var_2[5]);
              }
            }
          }
          var_11 = var_15 + var_10;
        }
      }
      len = var_11;
      if (var_6 < var_11) goto LAB_0018109a;
      if (var_16 == (type_3 *)0x0) {
        var_8 = (type_3 *)var_7(1,0x40);
        var_16 = var_8;
        if (var_8 == (type_3 *)0x0) goto LAB_00180a7e;
      }
      else {
        var_8 = (type_3 *)var_7(1,0x40);
        var_16->next = var_8;
        if (var_8 == (type_8 *)0x0) goto LAB_00180a7e;
        var_8->prev = var_16;
      }
      var_25 = PTR_ltc_mp_001ecec8;
      var_16 = var_8;
      if (((var_17 & 0x20) == 0) || (var_18 - 0x30 < 2)) {
        if ((var_17 & 0xc0) == 0x80) {
          var_8->type = LTC_ASN1_CONTEXT_SPECIFIC;
          var_8->used = (type_12)var_17;
          var_19 = var_7(1,var_10);
          var_8->data = var_19;
          if (var_19 != (void *)0x0) {
            var_20(var_19,var_2 + var_15,var_10);
            var_8->size = var_10;
            goto LAB_001809f8;
          }
          goto LAB_00180a7e;
        }
        switch(var_18) {
        default:
          var_16 = var_8->prev;
          if (var_16 != (type_3 *)0x0) {
            var_21(var_16->next);
            var_16->next = (type_8 *)0x0;
            var_8 = var_16;
          }
          goto joined_r0x00181084;
        case 1:
          var_8->type = LTC_ASN1_BOOLEAN;
          var_8->size = 1;
          out_03 = (int *)var_7(1,4);
          var_8->data = out_03;
          var_23 = var_22(var_2,var_6,out_03);
          if (var_23 != L'\0') goto LAB_00180a83;
          var_23 = var_24(&len);
          break;
        case 2:
          var_8->type = LTC_ASN1_INTEGER;
          var_8->size = 1;
          var_23 = (**(type_13 **)(var_25 + 0x10))(&var_8->data);
          if (((var_23 == L'\0') &&
              (var_23 = var_26(var_2,*var_4,var_8->data), var_23 == L'\0')) &&
             (var_23 = var_27(var_8->data,&len), var_23 == L'\0')) {
            var_6 = *var_4;
            var_11 = len;
            goto LAB_001809f8;
          }
          goto LAB_00180a83;
        case 3:
          var_8->type = LTC_ASN1_BIT_STRING;
          var_8->size = var_11 * 8;
          var_28 = (type_1 *)var_7(1,var_11 * 8);
          var_8->data = var_28;
          if (var_28 != (type_1 *)0x0) {
            var_23 = var_29(var_2,var_6,var_28,&var_8->size);
            if (var_23 == L'\0') {
              var_23 = var_30(var_8->size,&len);
              goto joined_r0x00180eef;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 4:
          var_8->type = LTC_ASN1_OCTET_STRING;
          var_8->size = var_11;
          var_28 = (type_1 *)var_7(1,var_11);
          var_8->data = var_28;
          if (var_28 != (type_1 *)0x0) {
            var_23 = var_31(var_2,var_6,var_28,&var_8->size);
            if (var_23 == L'\0') {
              var_23 = var_32(var_8->size,&len);
joined_r0x00180eef:
              if (var_23 == L'\0') goto LAB_00180b87;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 5:
          if (var_2[1] != 0) goto LAB_0018109a;
          var_8->type = LTC_ASN1_NULL;
          var_8->data = (void *)0x0;
          var_8->size = 0;
          len = 2;
          var_11 = 2;
          goto LAB_001809f8;
        case 6:
          var_8->type = LTC_ASN1_OBJECT_IDENTIFIER;
          var_8->size = var_11;
          var_33 = (type_2 *)var_7(var_11,8);
          var_8->data = var_33;
          if (var_33 != (type_2 *)0x0) {
            var_23 = var_34(var_2,var_6,var_33,&var_8->size);
            if ((var_23 == L'\0') &&
               (var_23 = var_35((type_2 *)var_8->data,var_8->size,&len),
               var_23 == L'\0')) {
              var_19 = var_36(var_8->data,var_8->size * 8);
              if (var_19 == (void *)0x0) goto LAB_00180b87;
              var_8->data = var_19;
              var_6 = *var_4;
              var_11 = len;
              goto LAB_001809f8;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 0xc:
          var_8->type = LTC_ASN1_UTF8_STRING;
          var_8->size = var_11;
          var_37 = (type_9 *)var_7(4,var_11);
          var_8->data = var_37;
          if (var_37 == (type_9 *)0x0) goto LAB_00180a7e;
          var_23 = var_38(var_2,var_6,var_37,&var_8->size);
          if (var_23 != L'\0') goto LAB_00180a83;
          var_23 = var_39((type_9 *)var_8->data,var_8->size,&len);
          break;
        case 0x13:
          var_8->type = LTC_ASN1_PRINTABLE_STRING;
          var_8->size = var_11;
          var_28 = (type_1 *)var_7(1,var_11);
          var_8->data = var_28;
          if (var_28 == (type_1 *)0x0) goto LAB_00180a7e;
          var_23 = var_40(var_2,var_6,var_28,&var_8->size);
          if (var_23 != L'\0') goto LAB_00180a83;
          var_23 = var_41((type_1 *)var_8->data,var_8->size,&len);
          break;
        case 0x14:
          var_8->type = LTC_ASN1_TELETEX_STRING;
          var_8->size = var_11;
          var_28 = (type_1 *)var_7(1,var_11);
          var_8->data = var_28;
          if (var_28 == (type_1 *)0x0) goto LAB_00180a7e;
          var_23 = var_42(var_2,var_6,var_28,&var_8->size);
          if (var_23 != L'\0') goto LAB_00180a83;
          var_23 = var_43((type_1 *)var_8->data,var_8->size,&len);
          break;
        case 0x16:
          var_8->type = LTC_ASN1_IA5_STRING;
          var_8->size = var_11;
          var_28 = (type_1 *)var_7(1,var_11);
          var_8->data = var_28;
          if (var_28 == (type_1 *)0x0) goto LAB_00180a7e;
          var_23 = var_44(var_2,var_6,var_28,&var_8->size);
          if (var_23 != L'\0') goto LAB_00180a83;
          var_23 = var_45((type_1 *)var_8->data,var_8->size,&len);
          break;
        case 0x17:
          var_8->type = LTC_ASN1_UTCTIME;
          var_8->size = 1;
          var_46 = (type_11 *)var_7(1,0x24);
          var_8->data = var_46;
          if (var_46 == (type_11 *)0x0) goto LAB_00180a7e;
          len = var_6;
          var_23 = var_47(var_2,&len,var_46);
          if (var_23 != L'\0') goto LAB_00180a83;
          var_23 = var_48((type_11 *)var_8->data,&len);
          break;
        case 0x18:
          var_8->size = var_11;
          var_8->type = LTC_ASN1_GENERALIZEDTIME;
          var_49 = (type_10 *)var_7(1,0x28);
          var_8->data = var_49;
          if (var_49 == (type_10 *)0x0) goto LAB_00180a7e;
          var_23 = var_50(var_2,&len,var_49);
          if (var_23 != L'\0') goto LAB_00180a83;
          var_23 = var_51((type_10 *)var_8->data,&len);
          break;
        case 0x20:
        case 0x30:
        case 0x31:
          if (var_18 == 0x20) goto LAB_00180af8;
          var_8->type = (var_18 != 0x30) + var_52;
          goto LAB_00180aff;
        }
        if (var_23 != L'\0') goto LAB_00180a83;
      }
      else {
        var_8->used = (type_12)var_17;
LAB_00180af8:
        var_8->type = LTC_ASN1_CONSTRUCTED;
LAB_00180aff:
        var_19 = var_53(var_11);
        var_8->data = var_19;
        if (var_19 == (void *)0x0) goto LAB_00180a7e;
        var_20(var_19,var_2,var_11);
        var_8->size = var_11;
        var_2 = var_2 + var_15;
        *var_4 = var_6 - var_15;
        len = var_10;
        var_23 = function_1(var_2,&len,&var_8->child);
        if (var_23 != L'\0') goto LAB_00180a83;
        var_55 = var_8->child;
        var_54 = var_54 + var_15;
        if (var_55 == (type_8 *)0x0) goto LAB_00180b87;
        var_55->parent = var_8;
        var_6 = 0;
        do {
          var_55 = var_55->child;
          var_6 = var_6 + 1;
        } while (var_55 != (type_8 *)0x0);
        if (0x1e < var_6) {
          var_23 = L'\x01';
          goto LAB_00180a83;
        }
      }
LAB_00180b87:
      var_6 = *var_4;
      var_11 = len;
LAB_001809f8:
      var_54 = var_54 + var_11;
      var_2 = var_2 + var_11;
      var_6 = var_6 - var_11;
      *var_4 = var_6;
    } while (var_6 != 0);
joined_r0x00181084:
    if (var_54 != 0) {
      do {
        var_55 = var_8->parent;
        plVar5 = var_8->prev;
        if (var_8->prev == (type_8 *)0x0) goto LAB_00180a45;
        while (var_8 = plVar5, var_55 != (type_8 *)0x0) {
          while( true ) {
            var_8 = var_55;
            var_55 = var_8->parent;
            plVar5 = var_8->prev;
            if (var_8->prev != (type_8 *)0x0) break;
LAB_00180a45:
            if (var_55 == (type_8 *)0x0) goto LAB_00180a4a;
          }
        }
      } while( true );
    }
  }
LAB_00180a4a:
  *var_5 = var_8;
  *var_4 = var_54;
  var_23 = L'\0';
LAB_00180a91:
  if (var_56 != *(long *)(var_1 + 0x28)) {
                    /* WARNING: Subroutine does not return */
    var_57();
  }
  return var_23;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier)))) (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (break_statement)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (break_statement)) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))))))) condition: (parenthesized_expression (true))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

int MASKED(byte *param_1,ulong *param_2,undefined8 *param_3)

{
  byte bVar1;
  ushort uVar2;
  uint3 uVar3;
  undefined *puVar4;
  int *piVar5;
  int iVar6;
  int *piVar7;
  void *pvVar8;
  long lVar9;
  int *piVar10;
  ulong uVar11;
  size_t __size;
  ulong uVar12;
  ulong uVar13;
  long in_FS_OFFSET;
  long local_70;
  ulong local_68;
  size_t local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/pk/asn1/der/sequence/MASKED.c",0x56);
  }
  if (param_2 == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("inlen != NULL","src/pk/asn1/der/sequence/MASKED.c",0x57);
  }
  if (param_3 == (undefined8 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/pk/asn1/der/sequence/MASKED.c",0x58);
  }
  local_68 = 0;
  uVar13 = *param_2;
  piVar10 = (int *)0x0;
  if (uVar13 == 0) {
    piVar7 = (int *)calloc(1,0x40);
    if (piVar7 == (int *)0x0) {
LAB_00180a7e:
      iVar6 = 0xd;
      piVar7 = piVar10;
LAB_00180a83:
      der_sequence_free(piVar7);
      goto LAB_00180a91;
    }
  }
  else {
    do {
      bVar1 = *param_1;
      uVar11 = (ulong)bVar1;
      piVar7 = piVar10;
      if (uVar13 < 2) {
        local_48 = 0xffffffff;
LAB_0018109a:
        iVar6 = 7;
        goto LAB_00180a83;
      }
      __size = (size_t)param_1[1];
      if (__size < 0x80) {
        local_70 = 2;
        uVar12 = __size + 2;
      }
      else {
        uVar12 = (ulong)(param_1[1] & 0x7f);
        if ((uVar13 - 2 < uVar12) || (3 < uVar12 - 1)) {
          __size = 0xfffffffd;
          uVar12 = 0xffffffff;
          local_70 = 2;
        }
        else {
          local_70 = uVar12 + 2;
          __size = (size_t)param_1[2];
          if (uVar12 != 1) {
            uVar2 = CONCAT11(param_1[2],param_1[3]);
            __size = (size_t)uVar2;
            if (uVar12 != 2) {
              uVar3 = CONCAT21(uVar2,param_1[4]);
              __size = (size_t)uVar3;
              if (uVar12 != 3) {
                __size = (size_t)CONCAT31(uVar3,param_1[5]);
              }
            }
          }
          uVar12 = local_70 + __size;
        }
      }
      local_48 = uVar12;
      if (uVar13 < uVar12) goto LAB_0018109a;
      if (piVar10 == (int *)0x0) {
        piVar7 = (int *)calloc(1,0x40);
        piVar10 = piVar7;
        if (piVar7 == (int *)0x0) goto LAB_00180a7e;
      }
      else {
        piVar7 = (int *)calloc(1,0x40);
        *(int **)(piVar10 + 10) = piVar7;
        if (piVar7 == (int *)0x0) goto LAB_00180a7e;
        *(int **)(piVar7 + 8) = piVar10;
      }
      puVar4 = PTR_ltc_mp_001ecec8;
      piVar10 = piVar7;
      if (((bVar1 & 0x20) == 0) || (uVar11 - 0x30 < 2)) {
        if ((bVar1 & 0xc0) == 0x80) {
          *piVar7 = 0x13;
          piVar7[6] = (uint)bVar1;
          pvVar8 = calloc(1,__size);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            memcpy(pvVar8,param_1 + local_70,__size);
            *(size_t *)(piVar7 + 4) = __size;
            goto LAB_001809f8;
          }
          goto LAB_00180a7e;
        }
        switch(uVar11) {
        default:
          piVar10 = *(int **)(piVar7 + 8);
          if (piVar10 != (int *)0x0) {
            free(*(void **)(piVar10 + 10));
            piVar10[10] = 0;
            piVar10[0xb] = 0;
            piVar7 = piVar10;
          }
          goto joined_r0x00181084;
        case 1:
          *piVar7 = 1;
          piVar7[4] = 1;
          piVar7[5] = 0;
          pvVar8 = calloc(1,4);
          *(void **)(piVar7 + 2) = pvVar8;
          iVar6 = der_decode_boolean(param_1,uVar13,pvVar8);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_boolean(&local_48);
          break;
        case 2:
          *piVar7 = 2;
          piVar7[4] = 1;
          piVar7[5] = 0;
          iVar6 = (**(code **)(puVar4 + 0x10))(piVar7 + 2);
          if (((iVar6 == 0) &&
              (iVar6 = der_decode_integer(param_1,*param_2,*(undefined8 *)(piVar7 + 2)), iVar6 == 0)
              ) && (iVar6 = der_length_integer(*(undefined8 *)(piVar7 + 2),&local_48), iVar6 == 0))
          {
            uVar13 = *param_2;
            uVar12 = local_48;
            goto LAB_001809f8;
          }
          goto LAB_00180a83;
        case 3:
          *piVar7 = 4;
          *(ulong *)(piVar7 + 4) = uVar12 * 8;
          pvVar8 = calloc(1,uVar12 * 8);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            iVar6 = der_decode_bit_string(param_1,uVar13,pvVar8,piVar7 + 4);
            if (iVar6 == 0) {
              iVar6 = der_length_bit_string(*(undefined8 *)(piVar7 + 4),&local_48);
              goto joined_r0x00180eef;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 4:
          *piVar7 = 5;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            iVar6 = der_decode_octet_string(param_1,uVar13,pvVar8,piVar7 + 4);
            if (iVar6 == 0) {
              iVar6 = der_length_octet_string(*(undefined8 *)(piVar7 + 4),&local_48);
joined_r0x00180eef:
              if (iVar6 == 0) goto LAB_00180b87;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 5:
          if (param_1[1] != 0) goto LAB_0018109a;
          *piVar7 = 6;
          piVar7[2] = 0;
          piVar7[3] = 0;
          piVar7[4] = 0;
          piVar7[5] = 0;
          local_48 = 2;
          uVar12 = 2;
          goto LAB_001809f8;
        case 6:
          *piVar7 = 7;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(uVar12,8);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 != (void *)0x0) {
            iVar6 = der_decode_object_identifier(param_1,uVar13,pvVar8,piVar7 + 4);
            if ((iVar6 == 0) &&
               (iVar6 = der_length_object_identifier
                                  (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48
                                  ), iVar6 == 0)) {
              pvVar8 = realloc(*(void **)(piVar7 + 2),*(long *)(piVar7 + 4) * 8);
              if (pvVar8 == (void *)0x0) goto LAB_00180b87;
              *(void **)(piVar7 + 2) = pvVar8;
              uVar13 = *param_2;
              uVar12 = local_48;
              goto LAB_001809f8;
            }
            goto LAB_00180a83;
          }
          goto LAB_00180a7e;
        case 0xc:
          *piVar7 = 10;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(4,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_utf8_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_utf8_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x13:
          *piVar7 = 9;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_printable_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_printable_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x14:
          *piVar7 = 0x11;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_teletex_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_teletex_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x16:
          *piVar7 = 8;
          *(ulong *)(piVar7 + 4) = uVar12;
          pvVar8 = calloc(1,uVar12);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_ia5_string(param_1,uVar13,pvVar8,piVar7 + 4);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_ia5_string
                            (*(undefined8 *)(piVar7 + 2),*(undefined8 *)(piVar7 + 4),&local_48);
          break;
        case 0x17:
          *piVar7 = 0xb;
          piVar7[4] = 1;
          piVar7[5] = 0;
          pvVar8 = calloc(1,0x24);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          local_48 = uVar13;
          iVar6 = der_decode_utctime(param_1,&local_48,pvVar8);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_utctime(*(undefined8 *)(piVar7 + 2),&local_48);
          break;
        case 0x18:
          *(ulong *)(piVar7 + 4) = uVar12;
          *piVar7 = 0x14;
          pvVar8 = calloc(1,0x28);
          *(void **)(piVar7 + 2) = pvVar8;
          if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
          iVar6 = der_decode_generalizedtime(param_1,&local_48,pvVar8);
          if (iVar6 != 0) goto LAB_00180a83;
          iVar6 = der_length_generalizedtime(*(undefined8 *)(piVar7 + 2),&local_48);
          break;
        case 0x20:
        case 0x30:
        case 0x31:
          if (uVar11 == 0x20) goto LAB_00180af8;
          *piVar7 = (uVar11 != 0x30) + 0xd;
          goto LAB_00180aff;
        }
        if (iVar6 != 0) goto LAB_00180a83;
      }
      else {
        piVar7[6] = (uint)bVar1;
LAB_00180af8:
        *piVar7 = 0x12;
LAB_00180aff:
        pvVar8 = malloc(uVar12);
        *(void **)(piVar7 + 2) = pvVar8;
        if (pvVar8 == (void *)0x0) goto LAB_00180a7e;
        memcpy(pvVar8,param_1,uVar12);
        *(ulong *)(piVar7 + 4) = uVar12;
        param_1 = param_1 + local_70;
        *param_2 = uVar13 - local_70;
        local_48 = __size;
        iVar6 = MASKED(param_1,&local_48,piVar7 + 0xc);
        if (iVar6 != 0) goto LAB_00180a83;
        lVar9 = *(long *)(piVar7 + 0xc);
        local_68 = local_68 + local_70;
        if (lVar9 == 0) goto LAB_00180b87;
        *(int **)(lVar9 + 0x38) = piVar7;
        uVar13 = 0;
        do {
          lVar9 = *(long *)(lVar9 + 0x30);
          uVar13 = uVar13 + 1;
        } while (lVar9 != 0);
        if (0x1e < uVar13) {
          iVar6 = 1;
          goto LAB_00180a83;
        }
      }
LAB_00180b87:
      uVar13 = *param_2;
      uVar12 = local_48;
LAB_001809f8:
      local_68 = local_68 + uVar12;
      param_1 = param_1 + uVar12;
      uVar13 = uVar13 - uVar12;
      *param_2 = uVar13;
    } while (uVar13 != 0);
joined_r0x00181084:
    if (local_68 != 0) {
      do {
        piVar10 = *(int **)(piVar7 + 0xe);
        piVar5 = *(int **)(piVar7 + 8);
        if (*(int **)(piVar7 + 8) == (int *)0x0) goto LAB_00180a45;
        while (piVar7 = piVar5, piVar10 != (int *)0x0) {
          while( true ) {
            piVar7 = piVar10;
            piVar10 = *(int **)(piVar7 + 0xe);
            piVar5 = *(int **)(piVar7 + 8);
            if (*(int **)(piVar7 + 8) != (int *)0x0) break;
LAB_00180a45:
            if (piVar10 == (int *)0x0) goto LAB_00180a4a;
          }
        }
      } while( true );
    }
  }
LAB_00180a4a:
  *param_3 = piVar7;
  *param_2 = local_68;
  iVar6 = 0;
LAB_00180a91:
  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return iVar6;
}

