
bfd_elf_version_expr *
lang_new_vers_pattern(bfd_elf_version_expr *orig,char *new_name,char *lang,bfd_boolean literal_p)

{
  bool bVar1;
  bfd_elf_version_expr *pbVar2;
  int iVar3;
  char *pcVar4;
  char cVar5;
  char *pcVar6;
  char *pcVar7;
  bool bVar8;
  bool bVar9;
  
  pbVar2 = (bfd_elf_version_expr *)(*(code *)PTR_xmalloc_001dc03c)(0xc);
  pbVar2->next = orig;
  pbVar2->field_0x8 = pbVar2->field_0x8 & 0x1f | 0x80;
  if (literal_p == 0) {
    iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name);
    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);
    cVar5 = *new_name;
    if (cVar5 != '\0') {
      pcVar6 = new_name;
      pcVar7 = pcVar4;
      bVar1 = false;
      bVar8 = false;
      do {
        while (bVar9 = bVar1, bVar9) {
          pcVar6 = pcVar6 + 1;
          pcVar7[-1] = cVar5;
          cVar5 = *pcVar6;
          bVar1 = false;
          bVar8 = bVar9;
          if (cVar5 == '\0') goto LAB_0002edc8;
        }
        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {
          (*(code *)PTR_free_001dc0ec)(pcVar4);
          goto LAB_0002ede8;
        }
        *pcVar7 = cVar5;
        bVar1 = cVar5 == '\\';
        cVar5 = *pcVar6;
        pcVar7 = pcVar7 + 1;
        bVar9 = bVar8;
      } while (cVar5 != '\0');
LAB_0002edc8:
      if (bVar9) {
        *pcVar7 = '\0';
        pbVar2->pattern = pcVar4;
        goto LAB_0002ec6c;
      }
    }
    (*(code *)PTR_free_001dc0ec)(pcVar4);
    pbVar2->pattern = new_name;
  }
  else {
    pbVar2->pattern = new_name;
    if (new_name == (char *)0x0) {
LAB_0002ede8:
      pbVar2->pattern = new_name;
      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;
    }
  }
LAB_0002ec6c:
  if ((lang != (char *)0x0) &&
     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),
     iVar3 != 0)) {
    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);
    if (iVar3 == 0) {
      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;
      pbVar2 = ldemul_new_vers_pattern(pbVar2);
      return pbVar2;
    }
    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);
    if (iVar3 == 0) {
      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;
      pbVar2 = ldemul_new_vers_pattern(pbVar2);
      return pbVar2;
    }
    pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);
    einfo(pcVar4,lang);
  }
  pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 4;
  pbVar2 = ldemul_new_vers_pattern(pbVar2);
  return pbVar2;
}



void lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)

{
  bool bVar1;
  undefined4 *puVar2;
  int iVar3;
  char *pcVar4;
  undefined4 uVar5;
  char cVar6;
  char *pcVar7;
  char *pcVar8;
  bool bVar9;
  bool bVar10;
  
  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);
  *puVar2 = param_1;
  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;
  if (param_4 == 0) {
    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);
    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);
    cVar6 = *param_2;
    if (cVar6 != '\0') {
      pcVar7 = param_2;
      pcVar8 = pcVar4;
      bVar1 = false;
      bVar9 = false;
      do {
        while (bVar10 = bVar1, bVar10) {
          pcVar7 = pcVar7 + 1;
          pcVar8[-1] = cVar6;
          cVar6 = *pcVar7;
          bVar1 = false;
          bVar9 = bVar10;
          if (cVar6 == '\0') goto LAB_0002edc8;
        }
        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {
          (*(code *)PTR_free_001dc0ec)(pcVar4);
          goto LAB_0002ede8;
        }
        *pcVar8 = cVar6;
        bVar1 = cVar6 == '\\';
        cVar6 = *pcVar7;
        pcVar8 = pcVar8 + 1;
        bVar10 = bVar9;
      } while (cVar6 != '\0');
LAB_0002edc8:
      if (bVar10) {
        *pcVar8 = '\0';
        puVar2[1] = pcVar4;
        goto LAB_0002ec6c;
      }
    }
    (*(code *)PTR_free_001dc0ec)(pcVar4);
    puVar2[1] = param_2;
  }
  else {
    puVar2[1] = param_2;
    if (param_2 == (char *)0x0) {
LAB_0002ede8:
      puVar2[1] = param_2;
      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;
    }
  }
LAB_0002ec6c:
  if ((param_3 != 0) &&
     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {
    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);
    if (iVar3 == 0) {
      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;
      ldemul_new_vers_pattern(puVar2);
      return;
    }
    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);
    if (iVar3 == 0) {
      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;
      ldemul_new_vers_pattern(puVar2);
      return;
    }
    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);
    einfo(uVar5,param_3);
  }
  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;
  ldemul_new_vers_pattern(puVar2);
  return;
}


lui gp,0x1b
addiu gp,gp,0x4cd8
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7894(gp)
sw s4,0x28(sp)
or s4,a0,zero
li a0,0xc
sw gp,0x10(sp)
sw s3,0x24(sp)
or s3,a3,zero
sw s2,0x20(sp)
or s2,a2,zero
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw ra,0x2c(sp)
jalr t9
_or s1,a1,zero
li v1,-0x80
or s0,v0,zero
lbu v0,0x8(v0)
lw gp,0x10(sp)
sw s4,0x0(s0)
andi v0,v0,0x1f
or v0,v0,v1
beq s3,zero,0x0002ed34
_sb v0,0x8(s0)
beq s1,zero,0x0002ede8
_sw s1,0x4(s0)
beq s2,zero,0x0002ec8c
_or a0,s2,zero
lw a1,-0x7fc0(gp)
lw t9,-0x795c(gp)
jalr t9
_addiu a1,a1,0x4dbc
bne v0,zero,0x0002ecc4
_lw gp,0x10(sp)
lbu v0,0x8(s0)
li v1,0x1
lw ra,0x2c(sp)
or a0,s0,zero
lw s4,0x28(sp)
ins v0,v1,0x2,0x3
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw t9,-0x7c4c(gp)
sb v0,0x8(s0)
lw s0,0x18(sp)
b 0x0003a6c4
_addiu sp,sp,0x30
lw a1,-0x7fc0(gp)
or a0,s2,zero
lw t9,-0x795c(gp)
jalr t9
_addiu a1,a1,0x4dc0
beq v0,zero,0x0002edfc
_lw gp,0x10(sp)
lw a1,-0x7fc0(gp)
or a0,s2,zero
lw t9,-0x795c(gp)
jalr t9
_addiu a1,a1,0x4dc4
bne v0,zero,0x0002ee34
_lw gp,0x10(sp)
lbu v0,0x8(s0)
li v1,0x4
lw ra,0x2c(sp)
or a0,s0,zero
lw s4,0x28(sp)
ins v0,v1,0x2,0x3
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw t9,-0x7c4c(gp)
sb v0,0x8(s0)
lw s0,0x18(sp)
b 0x0003a6c4
_addiu sp,sp,0x30
lw t9,-0x7940(gp)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x7894(gp)
jalr t9
_addiu a0,v0,0x1
lb v1,0x0(s1)
beq v1,zero,0x0002ee68
_lw gp,0x10(sp)
or t1,zero,zero
or a3,zero,zero
li t4,0x3f
li t3,0x2a
li t2,0x5b
or a1,s1,zero
b 0x0002ed94
_or a2,v0,zero
addiu a1,a1,0x1
sb v1,-0x1(a2)
or t1,a3,zero
lb v1,0x0(a1)
beq v1,zero,0x0002edc8
_or a3,zero,zero
bne a3,zero,0x0002ed7c
_xori t0,v1,0x5c
beq v1,t4,0x0002eddc
_lw t9,-0x77e4(gp)
beq v1,t3,0x0002eddc
_nop
beq v1,t2,0x0002eddc
_addiu a1,a1,0x1
sb v1,0x0(a2)
sltiu a3,t0,0x1
lb v1,0x0(a1)
bne v1,zero,0x0002ed94
_addiu a2,a2,0x1
beq t1,zero,0x0002ee6c
_lw t9,-0x77e4(gp)
sb zero,0x0(a2)
b 0x0002ec6c
_sw v0,0x4(s0)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lbu v0,0x8(s0)
sw s1,0x4(s0)
ins v0,zero,0x7,0x1
b 0x0002ec6c
_sb v0,0x8(s0)
lbu v0,0x8(s0)
li v1,0x2
lw ra,0x2c(sp)
or a0,s0,zero
lw s4,0x28(sp)
ins v0,v1,0x2,0x3
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw t9,-0x7c4c(gp)
sb v0,0x8(s0)
lw s0,0x18(sp)
b 0x0003a6c4
_addiu sp,sp,0x30
lw a1,-0x7fc0(gp)
li a2,0x5
lw t9,-0x782c(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x4dcc
or a1,s2,zero
lw gp,0x10(sp)
lw t9,-0x7fbc(gp)
bal 0x0003b994
_or a0,v0,zero
b 0x0002ec8c
_lw gp,0x10(sp)
lw t9,-0x77e4(gp)
jalr t9
_or a0,v0,zero
or v0,s1,zero
lw gp,0x10(sp)
b 0x0002ec6c
_sw v0,0x4(s0)
(translation_unit "void lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)\n\n{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}\n\n" (function_definition "void lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)\n\n{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}" primitive_type (function_declarator "lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001dc03c)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" ( (pointer_expression "*(code *)PTR_xmalloc_001dc03c" * (cast_expression "(code *)PTR_xmalloc_001dc03c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0x1f | 0x80" (binary_expression "*(byte *)(puVar2 + 2) & 0x1f" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (if_statement "if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_001dbf90)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_001dbf90)" ( (pointer_expression "*(code *)PTR_strlen_001dbf90" * (cast_expression "(code *)PTR_strlen_001dbf90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" ( (pointer_expression "*(code *)PTR_xmalloc_001dc03c" * (cast_expression "(code *)PTR_xmalloc_001dc03c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "cVar6 = *param_2;" (assignment_expression "cVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" if (parenthesized_expression "(cVar6 != '\0')" ( (binary_expression "cVar6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" { (expression_statement "pcVar7 = param_2;" (assignment_expression "pcVar7 = param_2" identifier = identifier) ;) (expression_statement "pcVar8 = pcVar4;" (assignment_expression "pcVar8 = pcVar4" identifier = identifier) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (do_statement "do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');" do (compound_statement "{\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      }" { (while_statement "while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }" while (parenthesized_expression "(bVar10 = bVar1, bVar10)" ( (comma_expression "bVar10 = bVar1, bVar10" (assignment_expression "bVar10 = bVar1" identifier = identifier) , identifier) )) (compound_statement "{\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar8[-1] = cVar6;" (assignment_expression "pcVar8[-1] = cVar6" (subscript_expression "pcVar8[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "cVar6 = *pcVar7;" (assignment_expression "cVar6 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "bVar9 = bVar10;" (assignment_expression "bVar9 = bVar10" identifier = identifier) ;) (if_statement "if (cVar6 == '\0') goto LAB_0002edc8;" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002edc8;" goto statement_identifier ;)) })) (if_statement "if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" if (parenthesized_expression "(((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '['))" ( (binary_expression "((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')" (parenthesized_expression "((cVar6 == '?') || (cVar6 == '*'))" ( (binary_expression "(cVar6 == '?') || (cVar6 == '*')" (parenthesized_expression "(cVar6 == '?')" ( (binary_expression "cVar6 == '?'" identifier == (char_literal "'?'" ' character ')) )) || (parenthesized_expression "(cVar6 == '*')" ( (binary_expression "cVar6 == '*'" identifier == (char_literal "'*'" ' character ')) ))) )) || (parenthesized_expression "(pcVar7 = pcVar7 + 1, cVar6 == '[')" ( (comma_expression "pcVar7 = pcVar7 + 1, cVar6 == '['" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "cVar6 == '['" identifier == (char_literal "'['" ' character '))) ))) )) (compound_statement "{\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" { (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" ( (pointer_expression "*(code *)PTR_free_001dc0ec" * (cast_expression "(code *)PTR_free_001dc0ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (goto_statement "goto LAB_0002ede8;" goto statement_identifier ;) })) (expression_statement "*pcVar8 = cVar6;" (assignment_expression "*pcVar8 = cVar6" (pointer_expression "*pcVar8" * identifier) = identifier) ;) (expression_statement "bVar1 = cVar6 == '\\';" (assignment_expression "bVar1 = cVar6 == '\\'" identifier = (binary_expression "cVar6 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence '))) ;) (expression_statement "cVar6 = *pcVar7;" (assignment_expression "cVar6 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "bVar10 = bVar9;" (assignment_expression "bVar10 = bVar9" identifier = identifier) ;) }) while (parenthesized_expression "(cVar6 != '\0')" ( (binary_expression "cVar6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (labeled_statement "LAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" statement_identifier : (if_statement "if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" { (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[1] = pcVar4;" (assignment_expression "puVar2[1] = pcVar4" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0002ec6c;" goto statement_identifier ;) }))) })) (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" ( (pointer_expression "*(code *)PTR_free_001dc0ec" * (cast_expression "(code *)PTR_free_001dc0ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" else (compound_statement "{\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" { (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }" { (labeled_statement "LAB_0002ede8:\n      puVar2[1] = param_2;" statement_identifier : (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0x7f" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal)) ;) })) }))) (labeled_statement "LAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" statement_identifier : (if_statement "if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" if (parenthesized_expression "((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0))" ( (binary_expression "(param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dbc)" ( identifier , (binary_expression "PTR_DAT_001db910 + 0x4dbc" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dc0)" ( identifier , (binary_expression "PTR_DAT_001db910 + 0x4dc0" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" { (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 8" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dc4)" ( identifier , (binary_expression "PTR_DAT_001db910 + 0x4dc4" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" { (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 0x10" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_001dc0a4)" ( (pointer_expression "*(code *)PTR_dcgettext_001dc0a4" * (cast_expression "(code *)PTR_dcgettext_001dc0a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_001db910 + 0x4dcc,5)" ( number_literal , (binary_expression "PTR_DAT_001db910 + 0x4dcc" identifier + number_literal) , number_literal )))) ;) (expression_statement "einfo(uVar5,param_3);" (call_expression "einfo(uVar5,param_3)" identifier (argument_list "(uVar5,param_3)" ( identifier , identifier ))) ;) }))) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 4" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "bfd_elf_version_expr *\nlang_new_vers_pattern(bfd_elf_version_expr *orig,char *new_name,char *lang,bfd_boolean literal_p)\n\n{\n  bool bVar1;\n  bfd_elf_version_expr *pbVar2;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char *pcVar6;\n  char *pcVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  pbVar2 = (bfd_elf_version_expr *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  pbVar2->next = orig;\n  pbVar2->field_0x8 = pbVar2->field_0x8 & 0x1f | 0x80;\n  if (literal_p == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar5 = *new_name;\n    if (cVar5 != '\0') {\n      pcVar6 = new_name;\n      pcVar7 = pcVar4;\n      bVar1 = false;\n      bVar8 = false;\n      do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');\nLAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    pbVar2->pattern = new_name;\n  }\n  else {\n    pbVar2->pattern = new_name;\n    if (new_name == (char *)0x0) {\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((lang != (char *)0x0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);\n    einfo(pcVar4,lang);\n  }\n  pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 4;\n  pbVar2 = ldemul_new_vers_pattern(pbVar2);\n  return pbVar2;\n}\n\n" (function_definition "bfd_elf_version_expr *\nlang_new_vers_pattern(bfd_elf_version_expr *orig,char *new_name,char *lang,bfd_boolean literal_p)\n\n{\n  bool bVar1;\n  bfd_elf_version_expr *pbVar2;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char *pcVar6;\n  char *pcVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  pbVar2 = (bfd_elf_version_expr *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  pbVar2->next = orig;\n  pbVar2->field_0x8 = pbVar2->field_0x8 & 0x1f | 0x80;\n  if (literal_p == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar5 = *new_name;\n    if (cVar5 != '\0') {\n      pcVar6 = new_name;\n      pcVar7 = pcVar4;\n      bVar1 = false;\n      bVar8 = false;\n      do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');\nLAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    pbVar2->pattern = new_name;\n  }\n  else {\n    pbVar2->pattern = new_name;\n    if (new_name == (char *)0x0) {\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((lang != (char *)0x0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);\n    einfo(pcVar4,lang);\n  }\n  pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 4;\n  pbVar2 = ldemul_new_vers_pattern(pbVar2);\n  return pbVar2;\n}" type_identifier (pointer_declarator "*\nlang_new_vers_pattern(bfd_elf_version_expr *orig,char *new_name,char *lang,bfd_boolean literal_p)" * (function_declarator "lang_new_vers_pattern(bfd_elf_version_expr *orig,char *new_name,char *lang,bfd_boolean literal_p)" identifier (parameter_list "(bfd_elf_version_expr *orig,char *new_name,char *lang,bfd_boolean literal_p)" ( (parameter_declaration "bfd_elf_version_expr *orig" type_identifier (pointer_declarator "*orig" * identifier)) , (parameter_declaration "char *new_name" primitive_type (pointer_declarator "*new_name" * identifier)) , (parameter_declaration "char *lang" primitive_type (pointer_declarator "*lang" * identifier)) , (parameter_declaration "bfd_boolean literal_p" type_identifier identifier) )))) (compound_statement "{\n  bool bVar1;\n  bfd_elf_version_expr *pbVar2;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char *pcVar6;\n  char *pcVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  pbVar2 = (bfd_elf_version_expr *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  pbVar2->next = orig;\n  pbVar2->field_0x8 = pbVar2->field_0x8 & 0x1f | 0x80;\n  if (literal_p == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar5 = *new_name;\n    if (cVar5 != '\0') {\n      pcVar6 = new_name;\n      pcVar7 = pcVar4;\n      bVar1 = false;\n      bVar8 = false;\n      do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');\nLAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    pbVar2->pattern = new_name;\n  }\n  else {\n    pbVar2->pattern = new_name;\n    if (new_name == (char *)0x0) {\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((lang != (char *)0x0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);\n    einfo(pcVar4,lang);\n  }\n  pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 4;\n  pbVar2 = ldemul_new_vers_pattern(pbVar2);\n  return pbVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bfd_elf_version_expr *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (expression_statement "pbVar2 = (bfd_elf_version_expr *)(*(code *)PTR_xmalloc_001dc03c)(0xc);" (assignment_expression "pbVar2 = (bfd_elf_version_expr *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" identifier = (cast_expression "(bfd_elf_version_expr *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" ( (type_descriptor "bfd_elf_version_expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001dc03c)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" ( (pointer_expression "*(code *)PTR_xmalloc_001dc03c" * (cast_expression "(code *)PTR_xmalloc_001dc03c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "pbVar2->next = orig;" (assignment_expression "pbVar2->next = orig" (field_expression "pbVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar2->field_0x8 = pbVar2->field_0x8 & 0x1f | 0x80;" (assignment_expression "pbVar2->field_0x8 = pbVar2->field_0x8 & 0x1f | 0x80" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) = (binary_expression "pbVar2->field_0x8 & 0x1f | 0x80" (binary_expression "pbVar2->field_0x8 & 0x1f" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) & number_literal) | number_literal)) ;) (if_statement "if (literal_p == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar5 = *new_name;\n    if (cVar5 != '\0') {\n      pcVar6 = new_name;\n      pcVar7 = pcVar4;\n      bVar1 = false;\n      bVar8 = false;\n      do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');\nLAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    pbVar2->pattern = new_name;\n  }\n  else {\n    pbVar2->pattern = new_name;\n    if (new_name == (char *)0x0) {\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }\n  }" if (parenthesized_expression "(literal_p == 0)" ( (binary_expression "literal_p == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar5 = *new_name;\n    if (cVar5 != '\0') {\n      pcVar6 = new_name;\n      pcVar7 = pcVar4;\n      bVar1 = false;\n      bVar8 = false;\n      do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');\nLAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    pbVar2->pattern = new_name;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_001dbf90)(new_name)" identifier = (call_expression "(*(code *)PTR_strlen_001dbf90)(new_name)" (parenthesized_expression "(*(code *)PTR_strlen_001dbf90)" ( (pointer_expression "*(code *)PTR_strlen_001dbf90" * (cast_expression "(code *)PTR_strlen_001dbf90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(new_name)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" ( (pointer_expression "*(code *)PTR_xmalloc_001dc03c" * (cast_expression "(code *)PTR_xmalloc_001dc03c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "cVar5 = *new_name;" (assignment_expression "cVar5 = *new_name" identifier = (pointer_expression "*new_name" * identifier)) ;) (if_statement "if (cVar5 != '\0') {\n      pcVar6 = new_name;\n      pcVar7 = pcVar4;\n      bVar1 = false;\n      bVar8 = false;\n      do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');\nLAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar6 = new_name;\n      pcVar7 = pcVar4;\n      bVar1 = false;\n      bVar8 = false;\n      do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');\nLAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" { (expression_statement "pcVar6 = new_name;" (assignment_expression "pcVar6 = new_name" identifier = identifier) ;) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (do_statement "do {\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      } while (cVar5 != '\0');" do (compound_statement "{\n        while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar7 = cVar5;\n        bVar1 = cVar5 == '\\';\n        cVar5 = *pcVar6;\n        pcVar7 = pcVar7 + 1;\n        bVar9 = bVar8;\n      }" { (while_statement "while (bVar9 = bVar1, bVar9) {\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }" while (parenthesized_expression "(bVar9 = bVar1, bVar9)" ( (comma_expression "bVar9 = bVar1, bVar9" (assignment_expression "bVar9 = bVar1" identifier = identifier) , identifier) )) (compound_statement "{\n          pcVar6 = pcVar6 + 1;\n          pcVar7[-1] = cVar5;\n          cVar5 = *pcVar6;\n          bVar1 = false;\n          bVar8 = bVar9;\n          if (cVar5 == '\0') goto LAB_0002edc8;\n        }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7[-1] = cVar5;" (assignment_expression "pcVar7[-1] = cVar5" (subscript_expression "pcVar7[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "cVar5 = *pcVar6;" (assignment_expression "cVar5 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "bVar8 = bVar9;" (assignment_expression "bVar8 = bVar9" identifier = identifier) ;) (if_statement "if (cVar5 == '\0') goto LAB_0002edc8;" if (parenthesized_expression "(cVar5 == '\0')" ( (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002edc8;" goto statement_identifier ;)) })) (if_statement "if (((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" if (parenthesized_expression "(((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '['))" ( (binary_expression "((cVar5 == '?') || (cVar5 == '*')) || (pcVar6 = pcVar6 + 1, cVar5 == '[')" (parenthesized_expression "((cVar5 == '?') || (cVar5 == '*'))" ( (binary_expression "(cVar5 == '?') || (cVar5 == '*')" (parenthesized_expression "(cVar5 == '?')" ( (binary_expression "cVar5 == '?'" identifier == (char_literal "'?'" ' character ')) )) || (parenthesized_expression "(cVar5 == '*')" ( (binary_expression "cVar5 == '*'" identifier == (char_literal "'*'" ' character ')) ))) )) || (parenthesized_expression "(pcVar6 = pcVar6 + 1, cVar5 == '[')" ( (comma_expression "pcVar6 = pcVar6 + 1, cVar5 == '['" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) , (binary_expression "cVar5 == '['" identifier == (char_literal "'['" ' character '))) ))) )) (compound_statement "{\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" { (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" ( (pointer_expression "*(code *)PTR_free_001dc0ec" * (cast_expression "(code *)PTR_free_001dc0ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (goto_statement "goto LAB_0002ede8;" goto statement_identifier ;) })) (expression_statement "*pcVar7 = cVar5;" (assignment_expression "*pcVar7 = cVar5" (pointer_expression "*pcVar7" * identifier) = identifier) ;) (expression_statement "bVar1 = cVar5 == '\\';" (assignment_expression "bVar1 = cVar5 == '\\'" identifier = (binary_expression "cVar5 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence '))) ;) (expression_statement "cVar5 = *pcVar6;" (assignment_expression "cVar5 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar9 = bVar8;" (assignment_expression "bVar9 = bVar8" identifier = identifier) ;) }) while (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (labeled_statement "LAB_0002edc8:\n      if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }" statement_identifier : (if_statement "if (bVar9) {\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n        *pcVar7 = '\0';\n        pbVar2->pattern = pcVar4;\n        goto LAB_0002ec6c;\n      }" { (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pbVar2->pattern = pcVar4;" (assignment_expression "pbVar2->pattern = pcVar4" (field_expression "pbVar2->pattern" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0002ec6c;" goto statement_identifier ;) }))) })) (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" ( (pointer_expression "*(code *)PTR_free_001dc0ec" * (cast_expression "(code *)PTR_free_001dc0ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "pbVar2->pattern = new_name;" (assignment_expression "pbVar2->pattern = new_name" (field_expression "pbVar2->pattern" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    pbVar2->pattern = new_name;\n    if (new_name == (char *)0x0) {\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }\n  }" else (compound_statement "{\n    pbVar2->pattern = new_name;\n    if (new_name == (char *)0x0) {\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }\n  }" { (expression_statement "pbVar2->pattern = new_name;" (assignment_expression "pbVar2->pattern = new_name" (field_expression "pbVar2->pattern" identifier -> field_identifier) = identifier) ;) (if_statement "if (new_name == (char *)0x0) {\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }" if (parenthesized_expression "(new_name == (char *)0x0)" ( (binary_expression "new_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002ede8:\n      pbVar2->pattern = new_name;\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;\n    }" { (labeled_statement "LAB_0002ede8:\n      pbVar2->pattern = new_name;" statement_identifier : (expression_statement "pbVar2->pattern = new_name;" (assignment_expression "pbVar2->pattern = new_name" (field_expression "pbVar2->pattern" identifier -> field_identifier) = identifier) ;)) (expression_statement "pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;" (assignment_expression "pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) = (binary_expression "pbVar2->field_0x8 & 0x7f" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) & number_literal)) ;) })) }))) (labeled_statement "LAB_0002ec6c:\n  if ((lang != (char *)0x0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);\n    einfo(pcVar4,lang);\n  }" statement_identifier : (if_statement "if ((lang != (char *)0x0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);\n    einfo(pcVar4,lang);\n  }" if (parenthesized_expression "((lang != (char *)0x0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0))" ( (binary_expression "(lang != (char *)0x0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0)" (parenthesized_expression "(lang != (char *)0x0)" ( (binary_expression "lang != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc),\n     iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dbc)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(lang,PTR_yy_accept_1428__001db910 + 0x4dbc)" ( identifier , (binary_expression "PTR_yy_accept_1428__001db910 + 0x4dbc" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);\n    einfo(pcVar4,lang);\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc0)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(lang,PTR_yy_accept_1428__001db910 + 0x4dc0)" ( identifier , (binary_expression "PTR_yy_accept_1428__001db910 + 0x4dc0" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }" { (expression_statement "pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;" (assignment_expression "pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) = (binary_expression "pbVar2->field_0x8 & 0xe3 | 8" (binary_expression "pbVar2->field_0x8 & 0xe3" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) & number_literal) | number_literal)) ;) (expression_statement "pbVar2 = ldemul_new_vers_pattern(pbVar2);" (assignment_expression "pbVar2 = ldemul_new_vers_pattern(pbVar2)" identifier = (call_expression "ldemul_new_vers_pattern(pbVar2)" identifier (argument_list "(pbVar2)" ( identifier )))) ;) (return_statement "return pbVar2;" return identifier ;) })) (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(lang,PTR_yy_accept_1428__001db910 + 0x4dc4)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(lang,PTR_yy_accept_1428__001db910 + 0x4dc4)" ( identifier , (binary_expression "PTR_yy_accept_1428__001db910 + 0x4dc4" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;\n      pbVar2 = ldemul_new_vers_pattern(pbVar2);\n      return pbVar2;\n    }" { (expression_statement "pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;" (assignment_expression "pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) = (binary_expression "pbVar2->field_0x8 & 0xe3 | 0x10" (binary_expression "pbVar2->field_0x8 & 0xe3" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) & number_literal) | number_literal)) ;) (expression_statement "pbVar2 = ldemul_new_vers_pattern(pbVar2);" (assignment_expression "pbVar2 = ldemul_new_vers_pattern(pbVar2)" identifier = (call_expression "ldemul_new_vers_pattern(pbVar2)" identifier (argument_list "(pbVar2)" ( identifier )))) ;) (return_statement "return pbVar2;" return identifier ;) })) (expression_statement "pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_001dc0a4)" ( (pointer_expression "*(code *)PTR_dcgettext_001dc0a4" * (cast_expression "(code *)PTR_dcgettext_001dc0a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_yy_accept_1428__001db910 + 0x4dcc,5)" ( number_literal , (binary_expression "PTR_yy_accept_1428__001db910 + 0x4dcc" identifier + number_literal) , number_literal ))))) ;) (expression_statement "einfo(pcVar4,lang);" (call_expression "einfo(pcVar4,lang)" identifier (argument_list "(pcVar4,lang)" ( identifier , identifier ))) ;) }))) (expression_statement "pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 4;" (assignment_expression "pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 4" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) = (binary_expression "pbVar2->field_0x8 & 0xe3 | 4" (binary_expression "pbVar2->field_0x8 & 0xe3" (field_expression "pbVar2->field_0x8" identifier -> field_identifier) & number_literal) | number_literal)) ;) (expression_statement "pbVar2 = ldemul_new_vers_pattern(pbVar2);" (assignment_expression "pbVar2 = ldemul_new_vers_pattern(pbVar2)" identifier = (call_expression "ldemul_new_vers_pattern(pbVar2)" identifier (argument_list "(pbVar2)" ( identifier )))) ;) (return_statement "return pbVar2;" return identifier ;) })))
(translation_unit "void lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)\n\n{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}\n\n" (function_definition "void lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)\n\n{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}" primitive_type (function_declarator "lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001dc03c)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" ( (pointer_expression "*(code *)PTR_xmalloc_001dc03c" * (cast_expression "(code *)PTR_xmalloc_001dc03c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0x1f | 0x80" (binary_expression "*(byte *)(puVar2 + 2) & 0x1f" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (if_statement "if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_001dbf90)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_001dbf90)" ( (pointer_expression "*(code *)PTR_strlen_001dbf90" * (cast_expression "(code *)PTR_strlen_001dbf90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" ( (pointer_expression "*(code *)PTR_xmalloc_001dc03c" * (cast_expression "(code *)PTR_xmalloc_001dc03c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "cVar6 = *param_2;" (assignment_expression "cVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" if (parenthesized_expression "(cVar6 != '\0')" ( (binary_expression "cVar6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" { (expression_statement "pcVar7 = param_2;" (assignment_expression "pcVar7 = param_2" identifier = identifier) ;) (expression_statement "pcVar8 = pcVar4;" (assignment_expression "pcVar8 = pcVar4" identifier = identifier) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (do_statement "do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');" do (compound_statement "{\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      }" { (while_statement "while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }" while (parenthesized_expression "(bVar10 = bVar1, bVar10)" ( (comma_expression "bVar10 = bVar1, bVar10" (assignment_expression "bVar10 = bVar1" identifier = identifier) , identifier) )) (compound_statement "{\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar8[-1] = cVar6;" (assignment_expression "pcVar8[-1] = cVar6" (subscript_expression "pcVar8[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "cVar6 = *pcVar7;" (assignment_expression "cVar6 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "bVar9 = bVar10;" (assignment_expression "bVar9 = bVar10" identifier = identifier) ;) (if_statement "if (cVar6 == '\0') goto LAB_0002edc8;" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002edc8;" goto statement_identifier ;)) })) (if_statement "if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" if (parenthesized_expression "(((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '['))" ( (binary_expression "((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')" (parenthesized_expression "((cVar6 == '?') || (cVar6 == '*'))" ( (binary_expression "(cVar6 == '?') || (cVar6 == '*')" (parenthesized_expression "(cVar6 == '?')" ( (binary_expression "cVar6 == '?'" identifier == (char_literal "'?'" ' character ')) )) || (parenthesized_expression "(cVar6 == '*')" ( (binary_expression "cVar6 == '*'" identifier == (char_literal "'*'" ' character ')) ))) )) || (parenthesized_expression "(pcVar7 = pcVar7 + 1, cVar6 == '[')" ( (comma_expression "pcVar7 = pcVar7 + 1, cVar6 == '['" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "cVar6 == '['" identifier == (char_literal "'['" ' character '))) ))) )) (compound_statement "{\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" { (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" ( (pointer_expression "*(code *)PTR_free_001dc0ec" * (cast_expression "(code *)PTR_free_001dc0ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (goto_statement "goto LAB_0002ede8;" goto statement_identifier ;) })) (expression_statement "*pcVar8 = cVar6;" (assignment_expression "*pcVar8 = cVar6" (pointer_expression "*pcVar8" * identifier) = identifier) ;) (expression_statement "bVar1 = cVar6 == '\\';" (assignment_expression "bVar1 = cVar6 == '\\'" identifier = (binary_expression "cVar6 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence '))) ;) (expression_statement "cVar6 = *pcVar7;" (assignment_expression "cVar6 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "bVar10 = bVar9;" (assignment_expression "bVar10 = bVar9" identifier = identifier) ;) }) while (parenthesized_expression "(cVar6 != '\0')" ( (binary_expression "cVar6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (labeled_statement "LAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" statement_identifier : (if_statement "if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" { (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[1] = pcVar4;" (assignment_expression "puVar2[1] = pcVar4" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0002ec6c;" goto statement_identifier ;) }))) })) (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" ( (pointer_expression "*(code *)PTR_free_001dc0ec" * (cast_expression "(code *)PTR_free_001dc0ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" else (compound_statement "{\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" { (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }" { (labeled_statement "LAB_0002ede8:\n      puVar2[1] = param_2;" statement_identifier : (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0x7f" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal)) ;) })) }))) (labeled_statement "LAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" statement_identifier : (if_statement "if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" if (parenthesized_expression "((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0))" ( (binary_expression "(param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dbc)" ( identifier , (binary_expression "PTR_DAT_001db910 + 0x4dbc" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dc0)" ( identifier , (binary_expression "PTR_DAT_001db910 + 0x4dc0" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" { (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 8" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4)" identifier = (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" ( (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" * (cast_expression "(code *)PTR_strcasecmp_001dbf74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dc4)" ( identifier , (binary_expression "PTR_DAT_001db910 + 0x4dc4" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" { (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 0x10" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_001dc0a4)" ( (pointer_expression "*(code *)PTR_dcgettext_001dc0a4" * (cast_expression "(code *)PTR_dcgettext_001dc0a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_001db910 + 0x4dcc,5)" ( number_literal , (binary_expression "PTR_DAT_001db910 + 0x4dcc" identifier + number_literal) , number_literal )))) ;) (expression_statement "einfo(uVar5,param_3);" (call_expression "einfo(uVar5,param_3)" identifier (argument_list "(uVar5,param_3)" ( identifier , identifier ))) ;) }))) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) = (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 4" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" * (cast_expression "(byte *)(puVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT == (char_literal ' character '))) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (char_literal ' escape_sequence '))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) }))) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) })) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)\n\n{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}" (primitive_type "void") (function_declarator "lang_new_vers_pattern(undefined4 param_1,char *param_2,int param_3,int param_4)" (identifier "lang_new_vers_pattern") (parameter_list "(undefined4 param_1,char *param_2,int param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  char cVar6;\n  char *pcVar7;\n  char *pcVar8;\n  bool bVar9;\n  bool bVar10;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);\n  *puVar2 = param_1;\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;\n  if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }\nLAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }\n  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;\n  ldemul_new_vers_pattern(puVar2);\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char cVar6;" (primitive_type "char") (identifier "cVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001dc03c)(0xc)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001dc03c" (* "*") (cast_expression "(code *)PTR_xmalloc_001dc03c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001dc03c"))) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "*(byte *)(puVar2 + 2) & 0x1f | 0x80" (binary_expression "*(byte *)(puVar2 + 2) & 0x1f" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (& "&") (number_literal "0x1f")) (| "|") (number_literal "0x80"))) (; ";")) (if_statement "if (param_4 == 0) {\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }\n  else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);\n    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);\n    cVar6 = *param_2;\n    if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }\n    (*(code *)PTR_free_001dc0ec)(pcVar4);\n    puVar2[1] = param_2;\n  }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_001dbf90)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_001dbf90)" (( "(") (pointer_expression "*(code *)PTR_strlen_001dbf90" (* "*") (cast_expression "(code *)PTR_strlen_001dbf90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_001dbf90"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001dc03c)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001dc03c" (* "*") (cast_expression "(code *)PTR_xmalloc_001dc03c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001dc03c"))) () ")")) (argument_list "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "cVar6 = *param_2;" (assignment_expression "cVar6 = *param_2" (identifier "cVar6") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (cVar6 != '\0') {\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" (if "if") (parenthesized_expression "(cVar6 != '\0')" (( "(") (binary_expression "cVar6 != '\0'" (identifier "cVar6") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pcVar7 = param_2;\n      pcVar8 = pcVar4;\n      bVar1 = false;\n      bVar9 = false;\n      do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');\nLAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }\n    }" ({ "{") (expression_statement "pcVar7 = param_2;" (assignment_expression "pcVar7 = param_2" (identifier "pcVar7") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcVar8 = pcVar4;" (assignment_expression "pcVar8 = pcVar4" (identifier "pcVar8") (= "=") (identifier "pcVar4")) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" (identifier "bVar9") (= "=") (false "false")) (; ";")) (do_statement "do {\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      } while (cVar6 != '\0');" (do "do") (compound_statement "{\n        while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }\n        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }\n        *pcVar8 = cVar6;\n        bVar1 = cVar6 == '\\';\n        cVar6 = *pcVar7;\n        pcVar8 = pcVar8 + 1;\n        bVar10 = bVar9;\n      }" ({ "{") (while_statement "while (bVar10 = bVar1, bVar10) {\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }" (while "while") (parenthesized_expression "(bVar10 = bVar1, bVar10)" (( "(") (comma_expression "bVar10 = bVar1, bVar10" (assignment_expression "bVar10 = bVar1" (identifier "bVar10") (= "=") (identifier "bVar1")) (, ",") (identifier "bVar10")) () ")")) (compound_statement "{\n          pcVar7 = pcVar7 + 1;\n          pcVar8[-1] = cVar6;\n          cVar6 = *pcVar7;\n          bVar1 = false;\n          bVar9 = bVar10;\n          if (cVar6 == '\0') goto LAB_0002edc8;\n        }" ({ "{") (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar8[-1] = cVar6;" (assignment_expression "pcVar8[-1] = cVar6" (subscript_expression "pcVar8[-1]" (identifier "pcVar8") ([ "[") (number_literal "-1") (] "]")) (= "=") (identifier "cVar6")) (; ";")) (expression_statement "cVar6 = *pcVar7;" (assignment_expression "cVar6 = *pcVar7" (identifier "cVar6") (= "=") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7"))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "bVar9 = bVar10;" (assignment_expression "bVar9 = bVar10" (identifier "bVar9") (= "=") (identifier "bVar10")) (; ";")) (if_statement "if (cVar6 == '\0') goto LAB_0002edc8;" (if "if") (parenthesized_expression "(cVar6 == '\0')" (( "(") (binary_expression "cVar6 == '\0'" (identifier "cVar6") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0002edc8;" (goto "goto") (statement_identifier "LAB_0002edc8") (; ";"))) (} "}"))) (if_statement "if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" (if "if") (parenthesized_expression "(((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '['))" (( "(") (binary_expression "((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')" (parenthesized_expression "((cVar6 == '?') || (cVar6 == '*'))" (( "(") (binary_expression "(cVar6 == '?') || (cVar6 == '*')" (parenthesized_expression "(cVar6 == '?')" (( "(") (binary_expression "cVar6 == '?'" (identifier "cVar6") (== "==") (char_literal "'?'" (' "'") (character "?") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar6 == '*')" (( "(") (binary_expression "cVar6 == '*'" (identifier "cVar6") (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar7 = pcVar7 + 1, cVar6 == '[')" (( "(") (comma_expression "pcVar7 = pcVar7 + 1, cVar6 == '['" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (, ",") (binary_expression "cVar6 == '['" (identifier "cVar6") (== "==") (char_literal "'['" (' "'") (character "[") (' "'")))) () ")"))) () ")")) (compound_statement "{\n          (*(code *)PTR_free_001dc0ec)(pcVar4);\n          goto LAB_0002ede8;\n        }" ({ "{") (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" (( "(") (pointer_expression "*(code *)PTR_free_001dc0ec" (* "*") (cast_expression "(code *)PTR_free_001dc0ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001dc0ec"))) () ")")) (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (goto_statement "goto LAB_0002ede8;" (goto "goto") (statement_identifier "LAB_0002ede8") (; ";")) (} "}"))) (expression_statement "*pcVar8 = cVar6;" (assignment_expression "*pcVar8 = cVar6" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (= "=") (identifier "cVar6")) (; ";")) (expression_statement "bVar1 = cVar6 == '\\';" (assignment_expression "bVar1 = cVar6 == '\\'" (identifier "bVar1") (= "=") (binary_expression "cVar6 == '\\'" (identifier "cVar6") (== "==") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'")))) (; ";")) (expression_statement "cVar6 = *pcVar7;" (assignment_expression "cVar6 = *pcVar7" (identifier "cVar6") (= "=") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7"))) (; ";")) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" (identifier "pcVar8") (= "=") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar10 = bVar9;" (assignment_expression "bVar10 = bVar9" (identifier "bVar10") (= "=") (identifier "bVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar6 != '\0')" (( "(") (binary_expression "cVar6 != '\0'" (identifier "cVar6") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (labeled_statement "LAB_0002edc8:\n      if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" (statement_identifier "LAB_0002edc8") (: ":") (if_statement "if (bVar10) {\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" (if "if") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (compound_statement "{\n        *pcVar8 = '\0';\n        puVar2[1] = pcVar4;\n        goto LAB_0002ec6c;\n      }" ({ "{") (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "puVar2[1] = pcVar4;" (assignment_expression "puVar2[1] = pcVar4" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar4")) (; ";")) (goto_statement "goto LAB_0002ec6c;" (goto "goto") (statement_identifier "LAB_0002ec6c") (; ";")) (} "}")))) (} "}"))) (expression_statement "(*(code *)PTR_free_001dc0ec)(pcVar4);" (call_expression "(*(code *)PTR_free_001dc0ec)(pcVar4)" (parenthesized_expression "(*(code *)PTR_free_001dc0ec)" (( "(") (pointer_expression "*(code *)PTR_free_001dc0ec" (* "*") (cast_expression "(code *)PTR_free_001dc0ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001dc0ec"))) () ")")) (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else {\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" (else "else") (compound_statement "{\n    puVar2[1] = param_2;\n    if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }\n  }" ({ "{") (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 == (char *)0x0) {\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }" (if "if") (parenthesized_expression "(param_2 == (char *)0x0)" (( "(") (binary_expression "param_2 == (char *)0x0" (identifier "param_2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0002ede8:\n      puVar2[1] = param_2;\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;\n    }" ({ "{") (labeled_statement "LAB_0002ede8:\n      puVar2[1] = param_2;" (statement_identifier "LAB_0002ede8") (: ":") (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";"))) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "*(byte *)(puVar2 + 2) & 0x7f" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (& "&") (number_literal "0x7f"))) (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0002ec6c:\n  if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" (statement_identifier "LAB_0002ec6c") (: ":") (if_statement "if ((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" (if "if") (parenthesized_expression "((param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0))" (( "(") (binary_expression "(param_3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" (( "(") (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" (* "*") (cast_expression "(code *)PTR_strcasecmp_001dbf74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcasecmp_001dbf74"))) () ")")) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dbc)" (( "(") (identifier "param_3") (, ",") (binary_expression "PTR_DAT_001db910 + 0x4dbc" (identifier "PTR_DAT_001db910") (+ "+") (number_literal "0x4dbc")) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);\n    if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }\n    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);\n    einfo(uVar5,param_3);\n  }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" (( "(") (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" (* "*") (cast_expression "(code *)PTR_strcasecmp_001dbf74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcasecmp_001dbf74"))) () ")")) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dc0)" (( "(") (identifier "param_3") (, ",") (binary_expression "PTR_DAT_001db910 + 0x4dc0" (identifier "PTR_DAT_001db910") (+ "+") (number_literal "0x4dc0")) () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" ({ "{") (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 8" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (& "&") (number_literal "0xe3")) (| "|") (number_literal "8"))) (; ";")) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" (identifier "ldemul_new_vers_pattern") (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);" (assignment_expression "iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4)" (parenthesized_expression "(*(code *)PTR_strcasecmp_001dbf74)" (( "(") (pointer_expression "*(code *)PTR_strcasecmp_001dbf74" (* "*") (cast_expression "(code *)PTR_strcasecmp_001dbf74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcasecmp_001dbf74"))) () ")")) (argument_list "(param_3,PTR_DAT_001db910 + 0x4dc4)" (( "(") (identifier "param_3") (, ",") (binary_expression "PTR_DAT_001db910 + 0x4dc4" (identifier "PTR_DAT_001db910") (+ "+") (number_literal "0x4dc4")) () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;\n      ldemul_new_vers_pattern(puVar2);\n      return;\n    }" ({ "{") (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 0x10" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (& "&") (number_literal "0xe3")) (| "|") (number_literal "0x10"))) (; ";")) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" (identifier "ldemul_new_vers_pattern") (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_001dc0a4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_001dc0a4" (* "*") (cast_expression "(code *)PTR_dcgettext_001dc0a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_001dc0a4"))) () ")")) (argument_list "(0,PTR_DAT_001db910 + 0x4dcc,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_001db910 + 0x4dcc" (identifier "PTR_DAT_001db910") (+ "+") (number_literal "0x4dcc")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "einfo(uVar5,param_3);" (call_expression "einfo(uVar5,param_3)" (identifier "einfo") (argument_list "(uVar5,param_3)" (( "(") (identifier "uVar5") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))) (expression_statement "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;" (assignment_expression "*(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "*(byte *)(puVar2 + 2) & 0xe3 | 4" (binary_expression "*(byte *)(puVar2 + 2) & 0xe3" (pointer_expression "*(byte *)(puVar2 + 2)" (* "*") (cast_expression "(byte *)(puVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (& "&") (number_literal "0xe3")) (| "|") (number_literal "4"))) (; ";")) (expression_statement "ldemul_new_vers_pattern(puVar2);" (call_expression "ldemul_new_vers_pattern(puVar2)" (identifier "ldemul_new_vers_pattern") (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 *
function_1(type_1 *orig,char *var_6,char *var_7,type_2 var_1)

{
  bool bVar1;
  type_1 *pbVar2;
  int var_2;
  char *pcVar4;
  char var_3;
  char *var_4;
  char *var_5;
  bool bVar8;
  bool bVar9;
  
  pbVar2 = (type_1 *)(*(type_3 *)PTR_xmalloc_001dc03c)(0xc);
  pbVar2->next = orig;
  pbVar2->field_0x8 = pbVar2->field_0x8 & 0x1f | 0x80;
  if (var_1 == 0) {
    var_2 = (*(type_3 *)PTR_strlen_001dbf90)(var_6);
    pcVar4 = (char *)(*(type_3 *)PTR_xmalloc_001dc03c)(var_2 + 1);
    var_3 = *var_6;
    if (var_3 != '\0') {
      var_4 = var_6;
      var_5 = pcVar4;
      bVar1 = false;
      bVar8 = false;
      do {
        while (bVar9 = bVar1, bVar9) {
          var_4 = var_4 + 1;
          var_5[-1] = var_3;
          var_3 = *var_4;
          bVar1 = false;
          bVar8 = bVar9;
          if (var_3 == '\0') goto LAB_0002edc8;
        }
        if (((var_3 == '?') || (var_3 == '*')) || (var_4 = var_4 + 1, var_3 == '[')) {
          (*(type_3 *)PTR_free_001dc0ec)(pcVar4);
          goto LAB_0002ede8;
        }
        *var_5 = var_3;
        bVar1 = var_3 == '\\';
        var_3 = *var_4;
        var_5 = var_5 + 1;
        bVar9 = bVar8;
      } while (var_3 != '\0');
LAB_0002edc8:
      if (bVar9) {
        *var_5 = '\0';
        pbVar2->pattern = pcVar4;
        goto LAB_0002ec6c;
      }
    }
    (*(type_3 *)PTR_free_001dc0ec)(pcVar4);
    pbVar2->pattern = var_6;
  }
  else {
    pbVar2->pattern = var_6;
    if (var_6 == (char *)0x0) {
LAB_0002ede8:
      pbVar2->pattern = var_6;
      pbVar2->field_0x8 = pbVar2->field_0x8 & 0x7f;
    }
  }
LAB_0002ec6c:
  if ((var_7 != (char *)0x0) &&
     (var_2 = (*(type_3 *)PTR_strcasecmp_001dbf74)(var_7,var_8 + 0x4dbc),
     var_2 != 0)) {
    var_2 = (*(type_3 *)PTR_strcasecmp_001dbf74)(var_7,var_8 + 0x4dc0);
    if (var_2 == 0) {
      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 8;
      pbVar2 = var_9(pbVar2);
      return pbVar2;
    }
    var_2 = (*(type_3 *)PTR_strcasecmp_001dbf74)(var_7,var_8 + 0x4dc4);
    if (var_2 == 0) {
      pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 0x10;
      pbVar2 = var_9(pbVar2);
      return pbVar2;
    }
    pcVar4 = (char *)(*(type_3 *)PTR_dcgettext_001dc0a4)(0,var_8 + 0x4dcc,5);
    var_10(pcVar4,var_7);
  }
  pbVar2->field_0x8 = pbVar2->field_0x8 & 0xe3 | 4;
  pbVar2 = var_9(pbVar2);
  return pbVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (primitive_type) 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: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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: (binary_expression left: (binary_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: (number_literal)) 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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (false))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (char_literal (character))))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (goto_statement label: (statement_identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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 (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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: (binary_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: (number_literal))))))))) (labeled_statement label: (statement_identifier) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (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: (binary_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: (number_literal)) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (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: (binary_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: (number_literal)) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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: (binary_expression left: (binary_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: (number_literal)) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,char *param_2,int param_3,int param_4)

{
  bool bVar1;
  undefined4 *puVar2;
  int iVar3;
  char *pcVar4;
  undefined4 uVar5;
  char cVar6;
  char *pcVar7;
  char *pcVar8;
  bool bVar9;
  bool bVar10;
  
  puVar2 = (undefined4 *)(*(code *)PTR_xmalloc_001dc03c)(0xc);
  *puVar2 = param_1;
  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x1f | 0x80;
  if (param_4 == 0) {
    iVar3 = (*(code *)PTR_strlen_001dbf90)(param_2);
    pcVar4 = (char *)(*(code *)PTR_xmalloc_001dc03c)(iVar3 + 1);
    cVar6 = *param_2;
    if (cVar6 != '\0') {
      pcVar7 = param_2;
      pcVar8 = pcVar4;
      bVar1 = false;
      bVar9 = false;
      do {
        while (bVar10 = bVar1, bVar10) {
          pcVar7 = pcVar7 + 1;
          pcVar8[-1] = cVar6;
          cVar6 = *pcVar7;
          bVar1 = false;
          bVar9 = bVar10;
          if (cVar6 == '\0') goto LAB_0002edc8;
        }
        if (((cVar6 == '?') || (cVar6 == '*')) || (pcVar7 = pcVar7 + 1, cVar6 == '[')) {
          (*(code *)PTR_free_001dc0ec)(pcVar4);
          goto LAB_0002ede8;
        }
        *pcVar8 = cVar6;
        bVar1 = cVar6 == '\\';
        cVar6 = *pcVar7;
        pcVar8 = pcVar8 + 1;
        bVar10 = bVar9;
      } while (cVar6 != '\0');
LAB_0002edc8:
      if (bVar10) {
        *pcVar8 = '\0';
        puVar2[1] = pcVar4;
        goto LAB_0002ec6c;
      }
    }
    (*(code *)PTR_free_001dc0ec)(pcVar4);
    puVar2[1] = param_2;
  }
  else {
    puVar2[1] = param_2;
    if (param_2 == (char *)0x0) {
LAB_0002ede8:
      puVar2[1] = param_2;
      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0x7f;
    }
  }
LAB_0002ec6c:
  if ((param_3 != 0) &&
     (iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dbc), iVar3 != 0)) {
    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc0);
    if (iVar3 == 0) {
      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 8;
      ldemul_new_vers_pattern(puVar2);
      return;
    }
    iVar3 = (*(code *)PTR_strcasecmp_001dbf74)(param_3,PTR_DAT_001db910 + 0x4dc4);
    if (iVar3 == 0) {
      *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 0x10;
      ldemul_new_vers_pattern(puVar2);
      return;
    }
    uVar5 = (*(code *)PTR_dcgettext_001dc0a4)(0,PTR_DAT_001db910 + 0x4dcc,5);
    einfo(uVar5,param_3);
  }
  *(byte *)(puVar2 + 2) = *(byte *)(puVar2 + 2) & 0xe3 | 4;
  ldemul_new_vers_pattern(puVar2);
  return;
}

