
int skipname(char *pat,char *dname,int flags)

{
  uchar uVar1;
  uchar uVar2;
  int iVar3;
  uchar *puVar4;
  uchar uVar5;
  int unaff_s2;
  uchar *end;
  uchar *string;
  
  while( true ) {
    iVar3 = extglob_pattern_p(pat);
    if (iVar3 == 0) {
      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {
        if (*pat != '.') {
          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {
            return 0;
          }
          if (*dname == '.') {
            if (dname[1] == '\0') {
              return 1;
            }
            if (dname[1] != '.') {
              return 0;
            }
            if (dname[2] != '\0') {
              return 0;
            }
            return 1;
          }
        }
      }
      else {
        if (*dname != '.') {
          return 0;
        }
        if (*pat == '.') {
          return 0;
        }
        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {
          return 1;
        }
      }
      return 0;
    }
    uVar1 = *pat;
    string = (uchar *)pat + 2;
    iVar3 = (*(code *)PTR_strlen_00146390)(string);
    end = string + iVar3 + -1;
    pat = (char *)glob_patscan(string,end,0);
    if ((uchar *)pat == (uchar *)0x0) {
      return 0;
    }
    if (end == (uchar *)pat) {
      iVar3 = FUN_000cef28();
      return iVar3;
    }
    while (puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0) {
      uVar2 = puVar4[-1];
      iVar3 = extglob_pattern_p((char *)string);
      uVar5 = '\0';
      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {
        uVar5 = '\0';
      }
      puVar4[-1] = uVar5;
      unaff_s2 = mbskipname((char *)string,dname,flags);
      puVar4[-1] = uVar2;
      string = puVar4;
      if (unaff_s2 == 0) {
        return 0;
      }
    }
    if (end == string) {
      return unaff_s2;
    }
    if (uVar1 != '*' && uVar1 != '?') break;
    if (*pat == '\0') {
      return 1;
    }
  }
  return 1;
}



int FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)

{
  char cVar1;
  char cVar2;
  int iVar3;
  char cVar5;
  char *pcVar4;
  int unaff_s2;
  char *pcVar6;
  char *pcVar7;
  
  while( true ) {
    while( true ) {
      iVar3 = extglob_pattern_p(param_1);
      if (iVar3 == 0) {
        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {
          if (*param_1 != '.') {
            if ((*param_1 == '\\') && (param_1[1] == '.')) {
              return 0;
            }
            if (*param_2 == '.') {
              if (param_2[1] == '\0') {
                return 1;
              }
              if (param_2[1] != '.') {
                return 0;
              }
              if (param_2[2] != '\0') {
                return 0;
              }
              return 1;
            }
          }
        }
        else {
          if (*param_2 != '.') {
            return 0;
          }
          if (*param_1 == '.') {
            return 0;
          }
          if ((*param_1 != '\\') || (param_1[1] != '.')) {
            return 1;
          }
        }
        return 0;
      }
      cVar1 = *param_1;
      pcVar7 = param_1 + 2;
      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);
      pcVar6 = pcVar7 + iVar3 + -1;
      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);
      if (param_1 == (char *)0x0) {
        return 0;
      }
      if (((pcVar6 != param_1) || (*param_1 != ')')) ||
         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;
      *param_1 = '\0';
      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);
      *param_1 = ')';
      if (cVar1 != '*' && cVar1 != '?') {
        return unaff_s2;
      }
      if (param_1[1] == '\0') {
        return unaff_s2;
      }
      param_1 = param_1 + 1;
    }
    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {
      cVar2 = pcVar4[-1];
      iVar3 = extglob_pattern_p(pcVar7);
      cVar5 = '\0';
      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {
        cVar5 = '\0';
      }
      pcVar4[-1] = cVar5;
      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);
      pcVar4[-1] = cVar2;
      pcVar7 = pcVar4;
      if (unaff_s2 == 0) {
        return 0;
      }
    }
    if (pcVar6 == pcVar7) {
      return unaff_s2;
    }
    if (cVar1 != '*' && cVar1 != '?') break;
    if (*param_1 == '\0') {
      return 1;
    }
  }
  return 1;
}


lui gp,0x8
addiu gp,gp,-0x2770
addu gp,gp,t9
addiu sp,sp,-0x48
sw s1,0x24(sp)
sw s6,0x38(sp)
li s6,0x29
sw s5,0x34(sp)
or s5,a2,zero
sw s4,0x30(sp)
or s4,a1,zero
sw s0,0x20(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x44(sp)
sw s8,0x40(sp)
sw s7,0x3c(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
lw s1,-0x6a14(gp)
addiu s1,s1,-0x1064
lw t9,-0x69f4(gp)
bal 0x000d5300
_or a0,s0,zero
bne v0,zero,0x000ceddc
_lw gp,0x10(sp)
lw v0,-0x7170(gp)
lw v0,0x0(v0)
bne v0,zero,0x000ced84
_li v1,0x2e
lb v0,0x0(s0)
beq v0,v1,0x000ced4c
_li a0,0x5c
beq v0,a0,0x000ceee0
_nop
lb v0,0x0(s4)
li v1,0x2e
beq v0,v1,0x000ceef4
_nop
or s2,zero,zero
lw ra,0x44(sp)
or v0,s2,zero
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
lb v0,0x0(s4)
bne v0,v1,0x000ced50
_or s2,zero,zero
lb v1,0x0(s0)
beq v1,v0,0x000ced50
_li a0,0x5c
beq v1,a0,0x000cef88
_nop
li s2,0x1
lw ra,0x44(sp)
or v0,s2,zero
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
lb s7,0x0(s0)
li v0,0x2a
beq s7,v0,0x000cef1c
_xori s7,s7,0x3f
sltiu v0,s7,0x1
sw v0,0x1c(sp)
addiu s7,s0,0x2
lw t9,-0x61b0(gp)
jalr t9
_or a0,s7,zero
or a2,zero,zero
lw gp,0x10(sp)
addiu v0,v0,-0x1
or a0,s7,zero
addu s3,s7,v0
lw t9,-0x69f0(gp)
or a1,s3,zero
bal 0x000d4878
_sw s3,0x18(sp)
lw gp,0x10(sp)
beq v0,zero,0x000ced4c
_or s0,v0,zero
bne s3,v0,0x000cee94
_lw t9,-0x69f0(gp)
b 0x000cef28
_lb v0,0x0(v0)
bal 0x000d5300
_lb s3,-0x1(s8)
beq v0,zero,0x000cee64
_or a1,zero,zero
xori a1,s3,0x29
or v0,s6,zero
movn v0,zero,a1
or a1,v0,zero
or a0,s7,zero
sb a1,-0x1(s8)
or a2,s5,zero
or t9,s1,zero
bal 0x000cef9c
_or a1,s4,zero
or s7,s8,zero
lw gp,0x10(sp)
or s2,v0,zero
beq v0,zero,0x000ced4c
_sb s3,-0x1(s8)
lw t9,-0x69f0(gp)
li a2,0x7c
or a0,s7,zero
bal 0x000d4878
_or a1,s0,zero
or a0,s7,zero
lw gp,0x10(sp)
or s8,v0,zero
bne v0,zero,0x000cee44
_lw t9,-0x69f4(gp)
lw v0,0x18(sp)
beq v0,s7,0x000ced50
_lw v0,0x1c(sp)
beq v0,zero,0x000ceda4
_nop
lb v0,0x0(s0)
bne v0,zero,0x000ced08
_nop
b 0x000ceda8
_li s2,0x1
lb v0,0x1(s0)
bne v0,v1,0x000ced3c
_nop
b 0x000ced50
_or s2,zero,zero
lb v1,0x1(s4)
beq v1,zero,0x000ceda8
_li s2,0x1
bne v1,v0,0x000ced50
_or s2,zero,zero
lb v0,0x2(s4)
bne v0,zero,0x000ced54
_lw ra,0x44(sp)
b 0x000cedac
_li s2,0x1
li v0,0x1
b 0x000cedf4
_sw v0,0x1c(sp)
bne v0,s6,0x000cee94
_lw t9,-0x69f0(gp)
lw t9,-0x61a8(gp)
li a1,0x7c
jalr t9
_or a0,s7,zero
bne v0,zero,0x000cee90
_lw gp,0x10(sp)
sb zero,0x0(s0)
or a2,s5,zero
or a1,s4,zero
or t9,s1,zero
bal 0x000cef9c
_or a0,s7,zero
or s2,v0,zero
lw v0,0x1c(sp)
lw gp,0x10(sp)
beq v0,zero,0x000ced50
_sb s6,0x0(s0)
lb v0,0x1(s0)
beq v0,zero,0x000ced54
_lw ra,0x44(sp)
b 0x000ced04
_addiu s0,s0,0x1
lb v1,0x1(s0)
beq v1,v0,0x000ced4c
_li s2,0x1
b 0x000cedac
_lw ra,0x44(sp)
(translation_unit "int FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,char *param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int unaff_s2;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (while_statement "while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }" { (while_statement "while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }" { (expression_statement "iVar3 = extglob_pattern_p(param_1);" (assignment_expression "iVar3 = extglob_pattern_p(param_1)" identifier = (call_expression "extglob_pattern_p(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }" { (if_statement "if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" if (parenthesized_expression "(*(int *)PTR_noglob_dot_filenames_001453d0 == 0)" ( (binary_expression "*(int *)PTR_noglob_dot_filenames_001453d0 == 0" (pointer_expression "*(int *)PTR_noglob_dot_filenames_001453d0" * (cast_expression "(int *)PTR_noglob_dot_filenames_001453d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }" { (if_statement "if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }" if (parenthesized_expression "(*param_1 != '.')" ( (binary_expression "*param_1 != '.'" (pointer_expression "*param_1" * identifier) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }" { (if_statement "if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }" if (parenthesized_expression "((*param_1 == '\\') && (param_1[1] == '.'))" ( (binary_expression "(*param_1 == '\\') && (param_1[1] == '.')" (parenthesized_expression "(*param_1 == '\\')" ( (binary_expression "*param_1 == '\\'" (pointer_expression "*param_1" * identifier) == (char_literal "'\\'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1[1] == '.')" ( (binary_expression "param_1[1] == '.'" (subscript_expression "param_1[1]" identifier [ number_literal ]) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }" if (parenthesized_expression "(*param_2 == '.')" ( (binary_expression "*param_2 == '.'" (pointer_expression "*param_2" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }" { (if_statement "if (param_2[1] == '\0') {\n                return 1;\n              }" if (parenthesized_expression "(param_2[1] == '\0')" ( (binary_expression "param_2[1] == '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                return 1;\n              }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_2[1] != '.') {\n                return 0;\n              }" if (parenthesized_expression "(param_2[1] != '.')" ( (binary_expression "param_2[1] != '.'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2[2] != '\0') {\n                return 0;\n              }" if (parenthesized_expression "(param_2[2] != '\0')" ( (binary_expression "param_2[2] != '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })) })) }) (else_clause "else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" else (compound_statement "{\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" { (if_statement "if (*param_2 != '.') {\n            return 0;\n          }" if (parenthesized_expression "(*param_2 != '.')" ( (binary_expression "*param_2 != '.'" (pointer_expression "*param_2" * identifier) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*param_1 == '.') {\n            return 0;\n          }" if (parenthesized_expression "(*param_1 == '.')" ( (binary_expression "*param_1 == '.'" (pointer_expression "*param_1" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }" if (parenthesized_expression "((*param_1 != '\\') || (param_1[1] != '.'))" ( (binary_expression "(*param_1 != '\\') || (param_1[1] != '.')" (parenthesized_expression "(*param_1 != '\\')" ( (binary_expression "*param_1 != '\\'" (pointer_expression "*param_1" * identifier) != (char_literal "'\\'" ' escape_sequence ')) )) || (parenthesized_expression "(param_1[1] != '.')" ( (binary_expression "param_1[1] != '.'" (subscript_expression "param_1[1]" identifier [ number_literal ]) != (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) }))) (return_statement "return 0;" return number_literal ;) })) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pcVar7 = param_1 + 2;" (assignment_expression "pcVar7 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar6 = pcVar7 + iVar3 + -1;" (assignment_expression "pcVar6 = pcVar7 + iVar3 + -1" identifier = (binary_expression "pcVar7 + iVar3 + -1" (binary_expression "pcVar7 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);" (assignment_expression "param_1 = (char *)glob_patscan(pcVar7,pcVar6,0)" identifier = (cast_expression "(char *)glob_patscan(pcVar7,pcVar6,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "glob_patscan(pcVar7,pcVar6,0)" identifier (argument_list "(pcVar7,pcVar6,0)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (param_1 == (char *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;" if (parenthesized_expression "(((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0))" ( (binary_expression "((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)" (parenthesized_expression "((pcVar6 != param_1) || (*param_1 != ')'))" ( (binary_expression "(pcVar6 != param_1) || (*param_1 != ')')" (parenthesized_expression "(pcVar6 != param_1)" ( (binary_expression "pcVar6 != param_1" identifier != identifier) )) || (parenthesized_expression "(*param_1 != ')')" ( (binary_expression "*param_1 != ')'" (pointer_expression "*param_1" * identifier) != (char_literal "')'" ' character ')) ))) )) || (parenthesized_expression "(iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c)" identifier = (call_expression "(*(code *)PTR_strchr_00146398)(pcVar7,0x7c)" (parenthesized_expression "(*(code *)PTR_strchr_00146398)" ( (pointer_expression "*(code *)PTR_strchr_00146398" * (cast_expression "(code *)PTR_strchr_00146398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7,0x7c)" ( identifier , number_literal )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "*param_1 = '\0';" (assignment_expression "*param_1 = '\0'" (pointer_expression "*param_1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);" (assignment_expression "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3)" identifier = (call_expression "FUN_000cef9c(pcVar7,param_2,param_3)" identifier (argument_list "(pcVar7,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "*param_1 = ')';" (assignment_expression "*param_1 = ')'" (pointer_expression "*param_1" * identifier) = (char_literal "')'" ' character ')) ;) (if_statement "if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }" if (parenthesized_expression "(cVar1 != '*' && cVar1 != '?')" ( (binary_expression "cVar1 != '*' && cVar1 != '?'" (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) && (binary_expression "cVar1 != '?'" identifier != (char_literal "'?'" ' character '))) )) (compound_statement "{\n        return unaff_s2;\n      }" { (return_statement "return unaff_s2;" return identifier ;) })) (if_statement "if (param_1[1] == '\0') {\n        return unaff_s2;\n      }" if (parenthesized_expression "(param_1[1] == '\0')" ( (binary_expression "param_1[1] == '\0'" (subscript_expression "param_1[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return unaff_s2;\n      }" { (return_statement "return unaff_s2;" return identifier ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (while_statement "while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" while (parenthesized_expression "(pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0)" ( (comma_expression "pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0" (assignment_expression "pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c)" identifier = (cast_expression "(char *)glob_patscan(pcVar7,param_1,0x7c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "glob_patscan(pcVar7,param_1,0x7c)" identifier (argument_list "(pcVar7,param_1,0x7c)" ( identifier , identifier , number_literal ))))) , (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" { (expression_statement "cVar2 = pcVar4[-1];" (assignment_expression "cVar2 = pcVar4[-1]" identifier = (subscript_expression "pcVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = extglob_pattern_p(pcVar7);" (assignment_expression "iVar3 = extglob_pattern_p(pcVar7)" identifier = (call_expression "extglob_pattern_p(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "cVar5 = '\0';" (assignment_expression "cVar5 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }" if (parenthesized_expression "((iVar3 != 0) && (cVar5 = ')', cVar2 != ')'))" ( (binary_expression "(iVar3 != 0) && (cVar5 = ')', cVar2 != ')')" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar5 = ')', cVar2 != ')')" ( (comma_expression "cVar5 = ')', cVar2 != ')'" (assignment_expression "cVar5 = ')'" identifier = (char_literal "')'" ' character ')) , (binary_expression "cVar2 != ')'" identifier != (char_literal "')'" ' character '))) ))) )) (compound_statement "{\n        cVar5 = '\0';\n      }" { (expression_statement "cVar5 = '\0';" (assignment_expression "cVar5 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "pcVar4[-1] = cVar5;" (assignment_expression "pcVar4[-1] = cVar5" (subscript_expression "pcVar4[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);" (assignment_expression "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3)" identifier = (call_expression "FUN_000cef9c(pcVar7,param_2,param_3)" identifier (argument_list "(pcVar7,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "pcVar4[-1] = cVar2;" (assignment_expression "pcVar4[-1] = cVar2" (subscript_expression "pcVar4[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (if_statement "if (unaff_s2 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(unaff_s2 == 0)" ( (binary_expression "unaff_s2 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) (if_statement "if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }" if (parenthesized_expression "(pcVar6 == pcVar7)" ( (binary_expression "pcVar6 == pcVar7" identifier == identifier) )) (compound_statement "{\n      return unaff_s2;\n    }" { (return_statement "return unaff_s2;" return identifier ;) })) (if_statement "if (cVar1 != '*' && cVar1 != '?') break;" if (parenthesized_expression "(cVar1 != '*' && cVar1 != '?')" ( (binary_expression "cVar1 != '*' && cVar1 != '?'" (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) && (binary_expression "cVar1 != '?'" identifier != (char_literal "'?'" ' character '))) )) (break_statement "break;" break ;)) (if_statement "if (*param_1 == '\0') {\n      return 1;\n    }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int skipname(char *pat,char *dname,int flags)\n\n{\n  uchar uVar1;\n  uchar uVar2;\n  int iVar3;\n  uchar *puVar4;\n  uchar uVar5;\n  int unaff_s2;\n  uchar *end;\n  uchar *string;\n  \n  while( true ) {\n    iVar3 = extglob_pattern_p(pat);\n    if (iVar3 == 0) {\n      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }\n      return 0;\n    }\n    uVar1 = *pat;\n    string = (uchar *)pat + 2;\n    iVar3 = (*(code *)PTR_strlen_00146390)(string);\n    end = string + iVar3 + -1;\n    pat = (char *)glob_patscan(string,end,0);\n    if ((uchar *)pat == (uchar *)0x0) {\n      return 0;\n    }\n    if (end == (uchar *)pat) {\n      iVar3 = FUN_000cef28();\n      return iVar3;\n    }\n    while (puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0) {\n      uVar2 = puVar4[-1];\n      iVar3 = extglob_pattern_p((char *)string);\n      uVar5 = '\0';\n      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }\n      puVar4[-1] = uVar5;\n      unaff_s2 = mbskipname((char *)string,dname,flags);\n      puVar4[-1] = uVar2;\n      string = puVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (end == string) {\n      return unaff_s2;\n    }\n    if (uVar1 != '*' && uVar1 != '?') break;\n    if (*pat == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "int skipname(char *pat,char *dname,int flags)\n\n{\n  uchar uVar1;\n  uchar uVar2;\n  int iVar3;\n  uchar *puVar4;\n  uchar uVar5;\n  int unaff_s2;\n  uchar *end;\n  uchar *string;\n  \n  while( true ) {\n    iVar3 = extglob_pattern_p(pat);\n    if (iVar3 == 0) {\n      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }\n      return 0;\n    }\n    uVar1 = *pat;\n    string = (uchar *)pat + 2;\n    iVar3 = (*(code *)PTR_strlen_00146390)(string);\n    end = string + iVar3 + -1;\n    pat = (char *)glob_patscan(string,end,0);\n    if ((uchar *)pat == (uchar *)0x0) {\n      return 0;\n    }\n    if (end == (uchar *)pat) {\n      iVar3 = FUN_000cef28();\n      return iVar3;\n    }\n    while (puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0) {\n      uVar2 = puVar4[-1];\n      iVar3 = extglob_pattern_p((char *)string);\n      uVar5 = '\0';\n      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }\n      puVar4[-1] = uVar5;\n      unaff_s2 = mbskipname((char *)string,dname,flags);\n      puVar4[-1] = uVar2;\n      string = puVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (end == string) {\n      return unaff_s2;\n    }\n    if (uVar1 != '*' && uVar1 != '?') break;\n    if (*pat == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "skipname(char *pat,char *dname,int flags)" identifier (parameter_list "(char *pat,char *dname,int flags)" ( (parameter_declaration "char *pat" primitive_type (pointer_declarator "*pat" * identifier)) , (parameter_declaration "char *dname" primitive_type (pointer_declarator "*dname" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) ))) (compound_statement "{\n  uchar uVar1;\n  uchar uVar2;\n  int iVar3;\n  uchar *puVar4;\n  uchar uVar5;\n  int unaff_s2;\n  uchar *end;\n  uchar *string;\n  \n  while( true ) {\n    iVar3 = extglob_pattern_p(pat);\n    if (iVar3 == 0) {\n      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }\n      return 0;\n    }\n    uVar1 = *pat;\n    string = (uchar *)pat + 2;\n    iVar3 = (*(code *)PTR_strlen_00146390)(string);\n    end = string + iVar3 + -1;\n    pat = (char *)glob_patscan(string,end,0);\n    if ((uchar *)pat == (uchar *)0x0) {\n      return 0;\n    }\n    if (end == (uchar *)pat) {\n      iVar3 = FUN_000cef28();\n      return iVar3;\n    }\n    while (puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0) {\n      uVar2 = puVar4[-1];\n      iVar3 = extglob_pattern_p((char *)string);\n      uVar5 = '\0';\n      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }\n      puVar4[-1] = uVar5;\n      unaff_s2 = mbskipname((char *)string,dname,flags);\n      puVar4[-1] = uVar2;\n      string = puVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (end == string) {\n      return unaff_s2;\n    }\n    if (uVar1 != '*' && uVar1 != '?') break;\n    if (*pat == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" { (declaration "uchar uVar1;" type_identifier identifier ;) (declaration "uchar uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uchar uVar5;" type_identifier identifier ;) (declaration "int unaff_s2;" primitive_type identifier ;) (declaration "uchar *end;" type_identifier (pointer_declarator "*end" * identifier) ;) (declaration "uchar *string;" type_identifier (pointer_declarator "*string" * identifier) ;) (while_statement "while( true ) {\n    iVar3 = extglob_pattern_p(pat);\n    if (iVar3 == 0) {\n      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }\n      return 0;\n    }\n    uVar1 = *pat;\n    string = (uchar *)pat + 2;\n    iVar3 = (*(code *)PTR_strlen_00146390)(string);\n    end = string + iVar3 + -1;\n    pat = (char *)glob_patscan(string,end,0);\n    if ((uchar *)pat == (uchar *)0x0) {\n      return 0;\n    }\n    if (end == (uchar *)pat) {\n      iVar3 = FUN_000cef28();\n      return iVar3;\n    }\n    while (puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0) {\n      uVar2 = puVar4[-1];\n      iVar3 = extglob_pattern_p((char *)string);\n      uVar5 = '\0';\n      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }\n      puVar4[-1] = uVar5;\n      unaff_s2 = mbskipname((char *)string,dname,flags);\n      puVar4[-1] = uVar2;\n      string = puVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (end == string) {\n      return unaff_s2;\n    }\n    if (uVar1 != '*' && uVar1 != '?') break;\n    if (*pat == '\0') {\n      return 1;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar3 = extglob_pattern_p(pat);\n    if (iVar3 == 0) {\n      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }\n      return 0;\n    }\n    uVar1 = *pat;\n    string = (uchar *)pat + 2;\n    iVar3 = (*(code *)PTR_strlen_00146390)(string);\n    end = string + iVar3 + -1;\n    pat = (char *)glob_patscan(string,end,0);\n    if ((uchar *)pat == (uchar *)0x0) {\n      return 0;\n    }\n    if (end == (uchar *)pat) {\n      iVar3 = FUN_000cef28();\n      return iVar3;\n    }\n    while (puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0) {\n      uVar2 = puVar4[-1];\n      iVar3 = extglob_pattern_p((char *)string);\n      uVar5 = '\0';\n      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }\n      puVar4[-1] = uVar5;\n      unaff_s2 = mbskipname((char *)string,dname,flags);\n      puVar4[-1] = uVar2;\n      string = puVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (end == string) {\n      return unaff_s2;\n    }\n    if (uVar1 != '*' && uVar1 != '?') break;\n    if (*pat == '\0') {\n      return 1;\n    }\n  }" { (expression_statement "iVar3 = extglob_pattern_p(pat);" (assignment_expression "iVar3 = extglob_pattern_p(pat)" identifier = (call_expression "extglob_pattern_p(pat)" identifier (argument_list "(pat)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }\n      return 0;\n    }" { (if_statement "if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }\n      else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }" if (parenthesized_expression "(*(int *)PTR_noglob_dot_filenames_001453d0 == 0)" ( (binary_expression "*(int *)PTR_noglob_dot_filenames_001453d0 == 0" (pointer_expression "*(int *)PTR_noglob_dot_filenames_001453d0" * (cast_expression "(int *)PTR_noglob_dot_filenames_001453d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n        if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }\n      }" { (if_statement "if (*pat != '.') {\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }" if (parenthesized_expression "(*pat != '.')" ( (binary_expression "*pat != '.'" (pointer_expression "*pat" * identifier) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n          if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }\n          if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }\n        }" { (if_statement "if ((*pat == '\\') && (((uchar *)pat)[1] == '.')) {\n            return 0;\n          }" if (parenthesized_expression "((*pat == '\\') && (((uchar *)pat)[1] == '.'))" ( (binary_expression "(*pat == '\\') && (((uchar *)pat)[1] == '.')" (parenthesized_expression "(*pat == '\\')" ( (binary_expression "*pat == '\\'" (pointer_expression "*pat" * identifier) == (char_literal "'\\'" ' escape_sequence ')) )) && (parenthesized_expression "(((uchar *)pat)[1] == '.')" ( (binary_expression "((uchar *)pat)[1] == '.'" (subscript_expression "((uchar *)pat)[1]" (parenthesized_expression "((uchar *)pat)" ( (cast_expression "(uchar *)pat" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ]) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*dname == '.') {\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }" if (parenthesized_expression "(*dname == '.')" ( (binary_expression "*dname == '.'" (pointer_expression "*dname" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n            if (dname[1] == '\0') {\n              return 1;\n            }\n            if (dname[1] != '.') {\n              return 0;\n            }\n            if (dname[2] != '\0') {\n              return 0;\n            }\n            return 1;\n          }" { (if_statement "if (dname[1] == '\0') {\n              return 1;\n            }" if (parenthesized_expression "(dname[1] == '\0')" ( (binary_expression "dname[1] == '\0'" (subscript_expression "dname[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              return 1;\n            }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (dname[1] != '.') {\n              return 0;\n            }" if (parenthesized_expression "(dname[1] != '.')" ( (binary_expression "dname[1] != '.'" (subscript_expression "dname[1]" identifier [ number_literal ]) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (dname[2] != '\0') {\n              return 0;\n            }" if (parenthesized_expression "(dname[2] != '\0')" ( (binary_expression "dname[2] != '\0'" (subscript_expression "dname[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })) })) }) (else_clause "else {\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }" else (compound_statement "{\n        if (*dname != '.') {\n          return 0;\n        }\n        if (*pat == '.') {\n          return 0;\n        }\n        if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }\n      }" { (if_statement "if (*dname != '.') {\n          return 0;\n        }" if (parenthesized_expression "(*dname != '.')" ( (binary_expression "*dname != '.'" (pointer_expression "*dname" * identifier) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*pat == '.') {\n          return 0;\n        }" if (parenthesized_expression "(*pat == '.')" ( (binary_expression "*pat == '.'" (pointer_expression "*pat" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*pat != '\\') || (((uchar *)pat)[1] != '.')) {\n          return 1;\n        }" if (parenthesized_expression "((*pat != '\\') || (((uchar *)pat)[1] != '.'))" ( (binary_expression "(*pat != '\\') || (((uchar *)pat)[1] != '.')" (parenthesized_expression "(*pat != '\\')" ( (binary_expression "*pat != '\\'" (pointer_expression "*pat" * identifier) != (char_literal "'\\'" ' escape_sequence ')) )) || (parenthesized_expression "(((uchar *)pat)[1] != '.')" ( (binary_expression "((uchar *)pat)[1] != '.'" (subscript_expression "((uchar *)pat)[1]" (parenthesized_expression "((uchar *)pat)" ( (cast_expression "(uchar *)pat" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ]) != (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }))) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = *pat;" (assignment_expression "uVar1 = *pat" identifier = (pointer_expression "*pat" * identifier)) ;) (expression_statement "string = (uchar *)pat + 2;" (assignment_expression "string = (uchar *)pat + 2" identifier = (binary_expression "(uchar *)pat + 2" (cast_expression "(uchar *)pat" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal)) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(string);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(string)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(string)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string)" ( identifier )))) ;) (expression_statement "end = string + iVar3 + -1;" (assignment_expression "end = string + iVar3 + -1" identifier = (binary_expression "string + iVar3 + -1" (binary_expression "string + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "pat = (char *)glob_patscan(string,end,0);" (assignment_expression "pat = (char *)glob_patscan(string,end,0)" identifier = (cast_expression "(char *)glob_patscan(string,end,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "glob_patscan(string,end,0)" identifier (argument_list "(string,end,0)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if ((uchar *)pat == (uchar *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "((uchar *)pat == (uchar *)0x0)" ( (binary_expression "(uchar *)pat == (uchar *)0x0" (cast_expression "(uchar *)pat" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (end == (uchar *)pat) {\n      iVar3 = FUN_000cef28();\n      return iVar3;\n    }" if (parenthesized_expression "(end == (uchar *)pat)" ( (binary_expression "end == (uchar *)pat" identifier == (cast_expression "(uchar *)pat" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      iVar3 = FUN_000cef28();\n      return iVar3;\n    }" { (expression_statement "iVar3 = FUN_000cef28();" (assignment_expression "iVar3 = FUN_000cef28()" identifier = (call_expression "FUN_000cef28()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (while_statement "while (puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0) {\n      uVar2 = puVar4[-1];\n      iVar3 = extglob_pattern_p((char *)string);\n      uVar5 = '\0';\n      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }\n      puVar4[-1] = uVar5;\n      unaff_s2 = mbskipname((char *)string,dname,flags);\n      puVar4[-1] = uVar2;\n      string = puVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" while (parenthesized_expression "(puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0)" ( (comma_expression "puVar4 = glob_patscan(string,(uchar *)pat,0x7c), puVar4 != (uchar *)0x0" (assignment_expression "puVar4 = glob_patscan(string,(uchar *)pat,0x7c)" identifier = (call_expression "glob_patscan(string,(uchar *)pat,0x7c)" identifier (argument_list "(string,(uchar *)pat,0x7c)" ( identifier , (cast_expression "(uchar *)pat" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "puVar4 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      uVar2 = puVar4[-1];\n      iVar3 = extglob_pattern_p((char *)string);\n      uVar5 = '\0';\n      if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }\n      puVar4[-1] = uVar5;\n      unaff_s2 = mbskipname((char *)string,dname,flags);\n      puVar4[-1] = uVar2;\n      string = puVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" { (expression_statement "uVar2 = puVar4[-1];" (assignment_expression "uVar2 = puVar4[-1]" identifier = (subscript_expression "puVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = extglob_pattern_p((char *)string);" (assignment_expression "iVar3 = extglob_pattern_p((char *)string)" identifier = (call_expression "extglob_pattern_p((char *)string)" identifier (argument_list "((char *)string)" ( (cast_expression "(char *)string" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "uVar5 = '\0';" (assignment_expression "uVar5 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((iVar3 != 0) && (uVar5 = ')', uVar2 != ')')) {\n        uVar5 = '\0';\n      }" if (parenthesized_expression "((iVar3 != 0) && (uVar5 = ')', uVar2 != ')'))" ( (binary_expression "(iVar3 != 0) && (uVar5 = ')', uVar2 != ')')" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar5 = ')', uVar2 != ')')" ( (comma_expression "uVar5 = ')', uVar2 != ')'" (assignment_expression "uVar5 = ')'" identifier = (char_literal "')'" ' character ')) , (binary_expression "uVar2 != ')'" identifier != (char_literal "')'" ' character '))) ))) )) (compound_statement "{\n        uVar5 = '\0';\n      }" { (expression_statement "uVar5 = '\0';" (assignment_expression "uVar5 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "puVar4[-1] = uVar5;" (assignment_expression "puVar4[-1] = uVar5" (subscript_expression "puVar4[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "unaff_s2 = mbskipname((char *)string,dname,flags);" (assignment_expression "unaff_s2 = mbskipname((char *)string,dname,flags)" identifier = (call_expression "mbskipname((char *)string,dname,flags)" identifier (argument_list "((char *)string,dname,flags)" ( (cast_expression "(char *)string" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) (expression_statement "puVar4[-1] = uVar2;" (assignment_expression "puVar4[-1] = uVar2" (subscript_expression "puVar4[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "string = puVar4;" (assignment_expression "string = puVar4" identifier = identifier) ;) (if_statement "if (unaff_s2 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(unaff_s2 == 0)" ( (binary_expression "unaff_s2 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) (if_statement "if (end == string) {\n      return unaff_s2;\n    }" if (parenthesized_expression "(end == string)" ( (binary_expression "end == string" identifier == identifier) )) (compound_statement "{\n      return unaff_s2;\n    }" { (return_statement "return unaff_s2;" return identifier ;) })) (if_statement "if (uVar1 != '*' && uVar1 != '?') break;" if (parenthesized_expression "(uVar1 != '*' && uVar1 != '?')" ( (binary_expression "uVar1 != '*' && uVar1 != '?'" (binary_expression "uVar1 != '*'" identifier != (char_literal "'*'" ' character ')) && (binary_expression "uVar1 != '?'" identifier != (char_literal "'?'" ' character '))) )) (break_statement "break;" break ;)) (if_statement "if (*pat == '\0') {\n      return 1;\n    }" if (parenthesized_expression "(*pat == '\0')" ( (binary_expression "*pat == '\0'" (pointer_expression "*pat" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,char *param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int unaff_s2;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (while_statement "while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }" { (while_statement "while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }" { (expression_statement "iVar3 = extglob_pattern_p(param_1);" (assignment_expression "iVar3 = extglob_pattern_p(param_1)" identifier = (call_expression "extglob_pattern_p(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }" { (if_statement "if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" if (parenthesized_expression "(*(int *)PTR_noglob_dot_filenames_001453d0 == 0)" ( (binary_expression "*(int *)PTR_noglob_dot_filenames_001453d0 == 0" (pointer_expression "*(int *)PTR_noglob_dot_filenames_001453d0" * (cast_expression "(int *)PTR_noglob_dot_filenames_001453d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }" { (if_statement "if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }" if (parenthesized_expression "(*param_1 != '.')" ( (binary_expression "*param_1 != '.'" (pointer_expression "*param_1" * identifier) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }" { (if_statement "if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }" if (parenthesized_expression "((*param_1 == '\\') && (param_1[1] == '.'))" ( (binary_expression "(*param_1 == '\\') && (param_1[1] == '.')" (parenthesized_expression "(*param_1 == '\\')" ( (binary_expression "*param_1 == '\\'" (pointer_expression "*param_1" * identifier) == (char_literal "'\\'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1[1] == '.')" ( (binary_expression "param_1[1] == '.'" (subscript_expression "param_1[1]" identifier [ number_literal ]) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }" if (parenthesized_expression "(*param_2 == '.')" ( (binary_expression "*param_2 == '.'" (pointer_expression "*param_2" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }" { (if_statement "if (param_2[1] == '\0') {\n                return 1;\n              }" if (parenthesized_expression "(param_2[1] == '\0')" ( (binary_expression "param_2[1] == '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                return 1;\n              }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_2[1] != '.') {\n                return 0;\n              }" if (parenthesized_expression "(param_2[1] != '.')" ( (binary_expression "param_2[1] != '.'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2[2] != '\0') {\n                return 0;\n              }" if (parenthesized_expression "(param_2[2] != '\0')" ( (binary_expression "param_2[2] != '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })) })) }) (else_clause "else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" else (compound_statement "{\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" { (if_statement "if (*param_2 != '.') {\n            return 0;\n          }" if (parenthesized_expression "(*param_2 != '.')" ( (binary_expression "*param_2 != '.'" (pointer_expression "*param_2" * identifier) != (char_literal "'.'" ' character ')) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*param_1 == '.') {\n            return 0;\n          }" if (parenthesized_expression "(*param_1 == '.')" ( (binary_expression "*param_1 == '.'" (pointer_expression "*param_1" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }" if (parenthesized_expression "((*param_1 != '\\') || (param_1[1] != '.'))" ( (binary_expression "(*param_1 != '\\') || (param_1[1] != '.')" (parenthesized_expression "(*param_1 != '\\')" ( (binary_expression "*param_1 != '\\'" (pointer_expression "*param_1" * identifier) != (char_literal "'\\'" ' escape_sequence ')) )) || (parenthesized_expression "(param_1[1] != '.')" ( (binary_expression "param_1[1] != '.'" (subscript_expression "param_1[1]" identifier [ number_literal ]) != (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) }))) (return_statement "return 0;" return number_literal ;) })) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pcVar7 = param_1 + 2;" (assignment_expression "pcVar7 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar6 = pcVar7 + iVar3 + -1;" (assignment_expression "pcVar6 = pcVar7 + iVar3 + -1" identifier = (binary_expression "pcVar7 + iVar3 + -1" (binary_expression "pcVar7 + iVar3" identifier + identifier) + number_literal)) ;) (expression_statement "param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);" (assignment_expression "param_1 = (char *)glob_patscan(pcVar7,pcVar6,0)" identifier = (cast_expression "(char *)glob_patscan(pcVar7,pcVar6,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "glob_patscan(pcVar7,pcVar6,0)" identifier (argument_list "(pcVar7,pcVar6,0)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (param_1 == (char *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;" if (parenthesized_expression "(((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0))" ( (binary_expression "((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)" (parenthesized_expression "((pcVar6 != param_1) || (*param_1 != ')'))" ( (binary_expression "(pcVar6 != param_1) || (*param_1 != ')')" (parenthesized_expression "(pcVar6 != param_1)" ( (binary_expression "pcVar6 != param_1" identifier != identifier) )) || (parenthesized_expression "(*param_1 != ')')" ( (binary_expression "*param_1 != ')'" (pointer_expression "*param_1" * identifier) != (char_literal "')'" ' character ')) ))) )) || (parenthesized_expression "(iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c)" identifier = (call_expression "(*(code *)PTR_strchr_00146398)(pcVar7,0x7c)" (parenthesized_expression "(*(code *)PTR_strchr_00146398)" ( (pointer_expression "*(code *)PTR_strchr_00146398" * (cast_expression "(code *)PTR_strchr_00146398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7,0x7c)" ( identifier , number_literal )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "*param_1 = '\0';" (assignment_expression "*param_1 = '\0'" (pointer_expression "*param_1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);" (assignment_expression "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3)" identifier = (call_expression "FUN_000cef9c(pcVar7,param_2,param_3)" identifier (argument_list "(pcVar7,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "*param_1 = ')';" (assignment_expression "*param_1 = ')'" (pointer_expression "*param_1" * identifier) = (char_literal "')'" ' character ')) ;) (if_statement "if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }" if (parenthesized_expression "(cVar1 != '*' && cVar1 != '?')" ( (binary_expression "cVar1 != '*' && cVar1 != '?'" (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) && (binary_expression "cVar1 != '?'" identifier != (char_literal "'?'" ' character '))) )) (compound_statement "{\n        return unaff_s2;\n      }" { (return_statement "return unaff_s2;" return identifier ;) })) (if_statement "if (param_1[1] == '\0') {\n        return unaff_s2;\n      }" if (parenthesized_expression "(param_1[1] == '\0')" ( (binary_expression "param_1[1] == '\0'" (subscript_expression "param_1[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return unaff_s2;\n      }" { (return_statement "return unaff_s2;" return identifier ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (while_statement "while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" while (parenthesized_expression "(pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0)" ( (comma_expression "pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0" (assignment_expression "pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c)" identifier = (cast_expression "(char *)glob_patscan(pcVar7,param_1,0x7c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "glob_patscan(pcVar7,param_1,0x7c)" identifier (argument_list "(pcVar7,param_1,0x7c)" ( identifier , identifier , number_literal ))))) , (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" { (expression_statement "cVar2 = pcVar4[-1];" (assignment_expression "cVar2 = pcVar4[-1]" identifier = (subscript_expression "pcVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = extglob_pattern_p(pcVar7);" (assignment_expression "iVar3 = extglob_pattern_p(pcVar7)" identifier = (call_expression "extglob_pattern_p(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "cVar5 = '\0';" (assignment_expression "cVar5 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }" if (parenthesized_expression "((iVar3 != 0) && (cVar5 = ')', cVar2 != ')'))" ( (binary_expression "(iVar3 != 0) && (cVar5 = ')', cVar2 != ')')" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar5 = ')', cVar2 != ')')" ( (comma_expression "cVar5 = ')', cVar2 != ')'" (assignment_expression "cVar5 = ')'" identifier = (char_literal "')'" ' character ')) , (binary_expression "cVar2 != ')'" identifier != (char_literal "')'" ' character '))) ))) )) (compound_statement "{\n        cVar5 = '\0';\n      }" { (expression_statement "cVar5 = '\0';" (assignment_expression "cVar5 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "pcVar4[-1] = cVar5;" (assignment_expression "pcVar4[-1] = cVar5" (subscript_expression "pcVar4[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);" (assignment_expression "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3)" identifier = (call_expression "FUN_000cef9c(pcVar7,param_2,param_3)" identifier (argument_list "(pcVar7,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "pcVar4[-1] = cVar2;" (assignment_expression "pcVar4[-1] = cVar2" (subscript_expression "pcVar4[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (if_statement "if (unaff_s2 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(unaff_s2 == 0)" ( (binary_expression "unaff_s2 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) (if_statement "if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }" if (parenthesized_expression "(pcVar6 == pcVar7)" ( (binary_expression "pcVar6 == pcVar7" identifier == identifier) )) (compound_statement "{\n      return unaff_s2;\n    }" { (return_statement "return unaff_s2;" return identifier ;) })) (if_statement "if (cVar1 != '*' && cVar1 != '?') break;" if (parenthesized_expression "(cVar1 != '*' && cVar1 != '?')" ( (binary_expression "cVar1 != '*' && cVar1 != '?'" (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) && (binary_expression "cVar1 != '?'" identifier != (char_literal "'?'" ' character '))) )) (break_statement "break;" break ;)) (if_statement "if (*param_1 == '\0') {\n      return 1;\n    }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return LIT ;) })) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) ))) )) (compound_statement { (return_statement return LIT ;) })) }))) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) ))) )) || (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 , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != (char_literal ' character ')) && (binary_expression IDENT != (char_literal ' character '))) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (char_literal ' character ')) , (binary_expression IDENT != (char_literal ' character '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != (char_literal ' character ')) && (binary_expression IDENT != (char_literal ' character '))) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "int FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)\n\n{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" (primitive_type "int") (function_declarator "FUN_000cecb0(char *param_1,char *param_2,undefined4 param_3)" (identifier "FUN_000cecb0") (parameter_list "(char *param_1,char *param_2,undefined4 param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  char cVar1;\n  char cVar2;\n  int iVar3;\n  char cVar5;\n  char *pcVar4;\n  int unaff_s2;\n  char *pcVar6;\n  char *pcVar7;\n  \n  while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char cVar5;" (primitive_type "char") (identifier "cVar5") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "int unaff_s2;" (primitive_type "int") (identifier "unaff_s2") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (while_statement "while( true ) {\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }\n    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }\n    if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }\n    if (cVar1 != '*' && cVar1 != '?') break;\n    if (*param_1 == '\0') {\n      return 1;\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar3 = extglob_pattern_p(param_1);\n      if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }\n      cVar1 = *param_1;\n      pcVar7 = param_1 + 2;\n      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);\n      pcVar6 = pcVar7 + iVar3 + -1;\n      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);\n      if (param_1 == (char *)0x0) {\n        return 0;\n      }\n      if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;\n      *param_1 = '\0';\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      *param_1 = ')';\n      if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }\n      if (param_1[1] == '\0') {\n        return unaff_s2;\n      }\n      param_1 = param_1 + 1;\n    }" ({ "{") (expression_statement "iVar3 = extglob_pattern_p(param_1);" (assignment_expression "iVar3 = extglob_pattern_p(param_1)" (identifier "iVar3") (= "=") (call_expression "extglob_pattern_p(param_1)" (identifier "extglob_pattern_p") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }\n        return 0;\n      }" ({ "{") (if_statement "if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }\n        else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" (if "if") (parenthesized_expression "(*(int *)PTR_noglob_dot_filenames_001453d0 == 0)" (( "(") (binary_expression "*(int *)PTR_noglob_dot_filenames_001453d0 == 0" (pointer_expression "*(int *)PTR_noglob_dot_filenames_001453d0" (* "*") (cast_expression "(int *)PTR_noglob_dot_filenames_001453d0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_noglob_dot_filenames_001453d0"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }\n        }" ({ "{") (if_statement "if (*param_1 != '.') {\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }" (if "if") (parenthesized_expression "(*param_1 != '.')" (( "(") (binary_expression "*param_1 != '.'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n            if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }\n            if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }\n          }" ({ "{") (if_statement "if ((*param_1 == '\\') && (param_1[1] == '.')) {\n              return 0;\n            }" (if "if") (parenthesized_expression "((*param_1 == '\\') && (param_1[1] == '.'))" (( "(") (binary_expression "(*param_1 == '\\') && (param_1[1] == '.')" (parenthesized_expression "(*param_1 == '\\')" (( "(") (binary_expression "*param_1 == '\\'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(param_1[1] == '.')" (( "(") (binary_expression "param_1[1] == '.'" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")"))) () ")")) (compound_statement "{\n              return 0;\n            }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*param_2 == '.') {\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }" (if "if") (parenthesized_expression "(*param_2 == '.')" (( "(") (binary_expression "*param_2 == '.'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n              if (param_2[1] == '\0') {\n                return 1;\n              }\n              if (param_2[1] != '.') {\n                return 0;\n              }\n              if (param_2[2] != '\0') {\n                return 0;\n              }\n              return 1;\n            }" ({ "{") (if_statement "if (param_2[1] == '\0') {\n                return 1;\n              }" (if "if") (parenthesized_expression "(param_2[1] == '\0')" (( "(") (binary_expression "param_2[1] == '\0'" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                return 1;\n              }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (param_2[1] != '.') {\n                return 0;\n              }" (if "if") (parenthesized_expression "(param_2[1] != '.')" (( "(") (binary_expression "param_2[1] != '.'" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n                return 0;\n              }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_2[2] != '\0') {\n                return 0;\n              }" (if "if") (parenthesized_expression "(param_2[2] != '\0')" (( "(") (binary_expression "param_2[2] != '\0'" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                return 0;\n              }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" (else "else") (compound_statement "{\n          if (*param_2 != '.') {\n            return 0;\n          }\n          if (*param_1 == '.') {\n            return 0;\n          }\n          if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }\n        }" ({ "{") (if_statement "if (*param_2 != '.') {\n            return 0;\n          }" (if "if") (parenthesized_expression "(*param_2 != '.')" (( "(") (binary_expression "*param_2 != '.'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*param_1 == '.') {\n            return 0;\n          }" (if "if") (parenthesized_expression "(*param_1 == '.')" (( "(") (binary_expression "*param_1 == '.'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*param_1 != '\\') || (param_1[1] != '.')) {\n            return 1;\n          }" (if "if") (parenthesized_expression "((*param_1 != '\\') || (param_1[1] != '.'))" (( "(") (binary_expression "(*param_1 != '\\') || (param_1[1] != '.')" (parenthesized_expression "(*param_1 != '\\')" (( "(") (binary_expression "*param_1 != '\\'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(param_1[1] != '.')" (( "(") (binary_expression "param_1[1] != '.'" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")"))) () ")")) (compound_statement "{\n            return 1;\n          }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pcVar7 = param_1 + 2;" (assignment_expression "pcVar7 = param_1 + 2" (identifier "pcVar7") (= "=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "pcVar6 = pcVar7 + iVar3 + -1;" (assignment_expression "pcVar6 = pcVar7 + iVar3 + -1" (identifier "pcVar6") (= "=") (binary_expression "pcVar7 + iVar3 + -1" (binary_expression "pcVar7 + iVar3" (identifier "pcVar7") (+ "+") (identifier "iVar3")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);" (assignment_expression "param_1 = (char *)glob_patscan(pcVar7,pcVar6,0)" (identifier "param_1") (= "=") (cast_expression "(char *)glob_patscan(pcVar7,pcVar6,0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "glob_patscan(pcVar7,pcVar6,0)" (identifier "glob_patscan") (argument_list "(pcVar7,pcVar6,0)" (( "(") (identifier "pcVar7") (, ",") (identifier "pcVar6") (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (param_1 == (char *)0x0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;" (if "if") (parenthesized_expression "(((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0))" (( "(") (binary_expression "((pcVar6 != param_1) || (*param_1 != ')')) ||\n         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)" (parenthesized_expression "((pcVar6 != param_1) || (*param_1 != ')'))" (( "(") (binary_expression "(pcVar6 != param_1) || (*param_1 != ')')" (parenthesized_expression "(pcVar6 != param_1)" (( "(") (binary_expression "pcVar6 != param_1" (identifier "pcVar6") (!= "!=") (identifier "param_1")) () ")")) (|| "||") (parenthesized_expression "(*param_1 != ')')" (( "(") (binary_expression "*param_1 != ')'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "')'" (' "'") (character ")") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strchr_00146398)(pcVar7,0x7c)" (parenthesized_expression "(*(code *)PTR_strchr_00146398)" (( "(") (pointer_expression "*(code *)PTR_strchr_00146398" (* "*") (cast_expression "(code *)PTR_strchr_00146398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_00146398"))) () ")")) (argument_list "(pcVar7,0x7c)" (( "(") (identifier "pcVar7") (, ",") (number_literal "0x7c") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*param_1 = '\0';" (assignment_expression "*param_1 = '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);" (assignment_expression "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3)" (identifier "unaff_s2") (= "=") (call_expression "FUN_000cef9c(pcVar7,param_2,param_3)" (identifier "FUN_000cef9c") (argument_list "(pcVar7,param_2,param_3)" (( "(") (identifier "pcVar7") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "*param_1 = ')';" (assignment_expression "*param_1 = ')'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (char_literal "')'" (' "'") (character ")") (' "'"))) (; ";")) (if_statement "if (cVar1 != '*' && cVar1 != '?') {\n        return unaff_s2;\n      }" (if "if") (parenthesized_expression "(cVar1 != '*' && cVar1 != '?')" (( "(") (binary_expression "cVar1 != '*' && cVar1 != '?'" (binary_expression "cVar1 != '*'" (identifier "cVar1") (!= "!=") (char_literal "'*'" (' "'") (character "*") (' "'"))) (&& "&&") (binary_expression "cVar1 != '?'" (identifier "cVar1") (!= "!=") (char_literal "'?'" (' "'") (character "?") (' "'")))) () ")")) (compound_statement "{\n        return unaff_s2;\n      }" ({ "{") (return_statement "return unaff_s2;" (return "return") (identifier "unaff_s2") (; ";")) (} "}"))) (if_statement "if (param_1[1] == '\0') {\n        return unaff_s2;\n      }" (if "if") (parenthesized_expression "(param_1[1] == '\0')" (( "(") (binary_expression "param_1[1] == '\0'" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        return unaff_s2;\n      }" ({ "{") (return_statement "return unaff_s2;" (return "return") (identifier "unaff_s2") (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (while_statement "while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" (while "while") (parenthesized_expression "(pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0)" (( "(") (comma_expression "pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0" (assignment_expression "pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c)" (identifier "pcVar4") (= "=") (cast_expression "(char *)glob_patscan(pcVar7,param_1,0x7c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "glob_patscan(pcVar7,param_1,0x7c)" (identifier "glob_patscan") (argument_list "(pcVar7,param_1,0x7c)" (( "(") (identifier "pcVar7") (, ",") (identifier "param_1") (, ",") (number_literal "0x7c") () ")"))))) (, ",") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      cVar2 = pcVar4[-1];\n      iVar3 = extglob_pattern_p(pcVar7);\n      cVar5 = '\0';\n      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }\n      pcVar4[-1] = cVar5;\n      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);\n      pcVar4[-1] = cVar2;\n      pcVar7 = pcVar4;\n      if (unaff_s2 == 0) {\n        return 0;\n      }\n    }" ({ "{") (expression_statement "cVar2 = pcVar4[-1];" (assignment_expression "cVar2 = pcVar4[-1]" (identifier "cVar2") (= "=") (subscript_expression "pcVar4[-1]" (identifier "pcVar4") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "iVar3 = extglob_pattern_p(pcVar7);" (assignment_expression "iVar3 = extglob_pattern_p(pcVar7)" (identifier "iVar3") (= "=") (call_expression "extglob_pattern_p(pcVar7)" (identifier "extglob_pattern_p") (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "cVar5 = '\0';" (assignment_expression "cVar5 = '\0'" (identifier "cVar5") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {\n        cVar5 = '\0';\n      }" (if "if") (parenthesized_expression "((iVar3 != 0) && (cVar5 = ')', cVar2 != ')'))" (( "(") (binary_expression "(iVar3 != 0) && (cVar5 = ')', cVar2 != ')')" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(cVar5 = ')', cVar2 != ')')" (( "(") (comma_expression "cVar5 = ')', cVar2 != ')'" (assignment_expression "cVar5 = ')'" (identifier "cVar5") (= "=") (char_literal "')'" (' "'") (character ")") (' "'"))) (, ",") (binary_expression "cVar2 != ')'" (identifier "cVar2") (!= "!=") (char_literal "')'" (' "'") (character ")") (' "'")))) () ")"))) () ")")) (compound_statement "{\n        cVar5 = '\0';\n      }" ({ "{") (expression_statement "cVar5 = '\0';" (assignment_expression "cVar5 = '\0'" (identifier "cVar5") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "pcVar4[-1] = cVar5;" (assignment_expression "pcVar4[-1] = cVar5" (subscript_expression "pcVar4[-1]" (identifier "pcVar4") ([ "[") (number_literal "-1") (] "]")) (= "=") (identifier "cVar5")) (; ";")) (expression_statement "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);" (assignment_expression "unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3)" (identifier "unaff_s2") (= "=") (call_expression "FUN_000cef9c(pcVar7,param_2,param_3)" (identifier "FUN_000cef9c") (argument_list "(pcVar7,param_2,param_3)" (( "(") (identifier "pcVar7") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "pcVar4[-1] = cVar2;" (assignment_expression "pcVar4[-1] = cVar2" (subscript_expression "pcVar4[-1]" (identifier "pcVar4") ([ "[") (number_literal "-1") (] "]")) (= "=") (identifier "cVar2")) (; ";")) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" (identifier "pcVar7") (= "=") (identifier "pcVar4")) (; ";")) (if_statement "if (unaff_s2 == 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(unaff_s2 == 0)" (( "(") (binary_expression "unaff_s2 == 0" (identifier "unaff_s2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (if_statement "if (pcVar6 == pcVar7) {\n      return unaff_s2;\n    }" (if "if") (parenthesized_expression "(pcVar6 == pcVar7)" (( "(") (binary_expression "pcVar6 == pcVar7" (identifier "pcVar6") (== "==") (identifier "pcVar7")) () ")")) (compound_statement "{\n      return unaff_s2;\n    }" ({ "{") (return_statement "return unaff_s2;" (return "return") (identifier "unaff_s2") (; ";")) (} "}"))) (if_statement "if (cVar1 != '*' && cVar1 != '?') break;" (if "if") (parenthesized_expression "(cVar1 != '*' && cVar1 != '?')" (( "(") (binary_expression "cVar1 != '*' && cVar1 != '?'" (binary_expression "cVar1 != '*'" (identifier "cVar1") (!= "!=") (char_literal "'*'" (' "'") (character "*") (' "'"))) (&& "&&") (binary_expression "cVar1 != '?'" (identifier "cVar1") (!= "!=") (char_literal "'?'" (' "'") (character "?") (' "'")))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (*param_1 == '\0') {\n      return 1;\n    }" (if "if") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(char *pat,char *dname,int flags)

{
  type_1 var_11;
  type_1 var_8;
  int var_2;
  type_1 *var_7;
  type_1 uVar5;
  int var_10;
  type_1 *var_5;
  type_1 *var_3;
  
  while( true ) {
    var_2 = var_1(pat);
    if (var_2 == 0) {
      if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {
        if (*pat != '.') {
          if ((*pat == '\\') && (((type_1 *)pat)[1] == '.')) {
            return 0;
          }
          if (*dname == '.') {
            if (dname[1] == '\0') {
              return 1;
            }
            if (dname[1] != '.') {
              return 0;
            }
            if (dname[2] != '\0') {
              return 0;
            }
            return 1;
          }
        }
      }
      else {
        if (*dname != '.') {
          return 0;
        }
        if (*pat == '.') {
          return 0;
        }
        if ((*pat != '\\') || (((type_1 *)pat)[1] != '.')) {
          return 1;
        }
      }
      return 0;
    }
    var_11 = *pat;
    var_3 = (type_1 *)pat + 2;
    var_2 = (*(type_2 *)PTR_strlen_00146390)(var_3);
    var_5 = var_3 + var_2 + -1;
    pat = (char *)var_4(var_3,var_5,0);
    if ((type_1 *)pat == (type_1 *)0x0) {
      return 0;
    }
    if (var_5 == (type_1 *)pat) {
      var_2 = var_6();
      return var_2;
    }
    while (var_7 = var_4(var_3,(type_1 *)pat,0x7c), var_7 != (type_1 *)0x0) {
      var_8 = var_7[-1];
      var_2 = var_1((char *)var_3);
      uVar5 = '\0';
      if ((var_2 != 0) && (uVar5 = ')', var_8 != ')')) {
        uVar5 = '\0';
      }
      var_7[-1] = uVar5;
      var_10 = var_9((char *)var_3,dname,flags);
      var_7[-1] = var_8;
      var_3 = var_7;
      if (var_10 == 0) {
        return 0;
      }
    }
    if (var_5 == var_3) {
      return var_10;
    }
    if (var_11 != '*' && var_11 != '?') break;
    if (*pat == '\0') {
      return 1;
    }
  }
  return 1;
}


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

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

{
  char cVar1;
  char cVar2;
  int iVar3;
  char cVar5;
  char *pcVar4;
  int unaff_s2;
  char *pcVar6;
  char *pcVar7;
  
  while( true ) {
    while( true ) {
      iVar3 = extglob_pattern_p(param_1);
      if (iVar3 == 0) {
        if (*(int *)PTR_noglob_dot_filenames_001453d0 == 0) {
          if (*param_1 != '.') {
            if ((*param_1 == '\\') && (param_1[1] == '.')) {
              return 0;
            }
            if (*param_2 == '.') {
              if (param_2[1] == '\0') {
                return 1;
              }
              if (param_2[1] != '.') {
                return 0;
              }
              if (param_2[2] != '\0') {
                return 0;
              }
              return 1;
            }
          }
        }
        else {
          if (*param_2 != '.') {
            return 0;
          }
          if (*param_1 == '.') {
            return 0;
          }
          if ((*param_1 != '\\') || (param_1[1] != '.')) {
            return 1;
          }
        }
        return 0;
      }
      cVar1 = *param_1;
      pcVar7 = param_1 + 2;
      iVar3 = (*(code *)PTR_strlen_00146390)(pcVar7);
      pcVar6 = pcVar7 + iVar3 + -1;
      param_1 = (char *)glob_patscan(pcVar7,pcVar6,0);
      if (param_1 == (char *)0x0) {
        return 0;
      }
      if (((pcVar6 != param_1) || (*param_1 != ')')) ||
         (iVar3 = (*(code *)PTR_strchr_00146398)(pcVar7,0x7c), iVar3 != 0)) break;
      *param_1 = '\0';
      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);
      *param_1 = ')';
      if (cVar1 != '*' && cVar1 != '?') {
        return unaff_s2;
      }
      if (param_1[1] == '\0') {
        return unaff_s2;
      }
      param_1 = param_1 + 1;
    }
    while (pcVar4 = (char *)glob_patscan(pcVar7,param_1,0x7c), pcVar4 != (char *)0x0) {
      cVar2 = pcVar4[-1];
      iVar3 = extglob_pattern_p(pcVar7);
      cVar5 = '\0';
      if ((iVar3 != 0) && (cVar5 = ')', cVar2 != ')')) {
        cVar5 = '\0';
      }
      pcVar4[-1] = cVar5;
      unaff_s2 = FUN_000cef9c(pcVar7,param_2,param_3);
      pcVar4[-1] = cVar2;
      pcVar7 = pcVar4;
      if (unaff_s2 == 0) {
        return 0;
      }
    }
    if (pcVar6 == pcVar7) {
      return unaff_s2;
    }
    if (cVar1 != '*' && cVar1 != '?') break;
    if (*param_1 == '\0') {
      return 1;
    }
  }
  return 1;
}

