
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int uniq_main(int argc,char **argv)

{
  uint skip_fields;
  uint skip_chars;
  uint max_chars;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00099007(undefined4 param_1,int param_2)

{
  undefined4 *puVar1;
  uint uVar2;
  char *__ptr;
  char *pcVar3;
  uint uVar4;
  int iVar5;
  char *pcVar6;
  char *__s;
  int in_GS_OFFSET;
  char *local_4c;
  int local_48;
  int local_2c;
  int local_28;
  size_t local_24;
  undefined4 local_20;
  
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_28 = 0;
  local_2c = 0;
  local_24 = 0x7fffffff;
  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);
  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);
  pcVar6 = (char *)*puVar1;
  if (pcVar6 != (char *)0x0) {
    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {
      close(0);
      FUN_0001a413();
    }
    pcVar6 = (char *)puVar1[1];
    if (pcVar6 != (char *)0x0) {
      if (puVar1[2] != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0001803e();
      }
      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {
        FUN_0001a413();
        FUN_0001a544();
      }
    }
  }
  local_4c = (char *)0x0;
  __ptr = (char *)0x0;
  pcVar6 = local_4c;
LAB_000990b1:
  do {
    local_4c = pcVar6;
    __s = __ptr;
    local_48 = 0;
    pcVar6 = local_4c;
    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {
      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {
        FUN_00019041();
        pcVar3 = (char *)FUN_00019054();
      }
      if ((*pcVar6 != '\0') && (local_28 != 0)) {
        pcVar3 = pcVar6 + local_28;
        do {
          pcVar6 = pcVar6 + 1;
          if (*pcVar6 == '\0') break;
        } while (pcVar3 != pcVar6);
      }
      if (__s == (char *)0x0) goto LAB_000990b1;
      if ((uVar2 & 0x40) == 0) {
        iVar5 = strncmp(local_4c,pcVar6,local_24);
      }
      else {
        iVar5 = strncasecmp(local_4c,pcVar6,local_24);
      }
      if (iVar5 != 0) goto LAB_0009910f;
      free(__ptr);
      local_48 = local_48 + 1;
    }
    if (__s == (char *)0x0) break;
LAB_0009910f:
    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;
    if ((uVar2 & uVar4) == 0) {
      if ((uVar2 & 1) != 0) {
        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);
      }
      puts(__s);
    }
    free(__s);
  } while (__ptr != (char *)0x0);
  FUN_0001a6be();
                    /* WARNING: Subroutine does not return */
  FUN_000b124b();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x48
CALL 0x00017650
ADD EBX,0x42a0d
MOV ESI,dword ptr [ESP + 0x60]
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x38],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0x2c],0x0
MOV dword ptr [ESP + 0x34],0x7fffffff
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[EBX + 0xffffb892]
PUSH EAX
PUSH ESI
CALL 0x000b23d7
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [EBX + 0x574]
MOV EAX,dword ptr [EAX]
LEA ESI,[ESI + EAX*0x4]
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x2c],EAX
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000991c2
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,EAX
AND ECX,0x40
MOV dword ptr [ESP + 0x14],ECX
AND EAX,0x1
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP],0x0
XOR EDI,EDI
MOV EAX,dword ptr [EBX + 0x58c]
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[EBX + 0xffffb8a0]
MOV dword ptr [ESP + 0x1c],EAX
MOV ESI,dword ptr [ESP]
MOV dword ptr [ESP + 0x4],0x0
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
CALL 0x000b19ee
MOV EBP,EAX
TEST EAX,EAX
JZ 0x0009910b
MOV EDX,dword ptr [ESP + 0x20]
MOV ESI,EBP
TEST EDX,EDX
JZ 0x000990e7
MOV EAX,EBP
MOV ESI,EDX
CALL 0x00019041
CALL 0x00019054
DEC ESI
JNZ 0x000990d8
MOV ESI,EAX
CMP byte ptr [ESI],0x0
JZ 0x00099100
MOV EAX,dword ptr [ESP + 0x24]
TEST EAX,EAX
JZ 0x00099100
ADD EAX,ESI
INC ESI
CMP byte ptr [ESI],0x0
JZ 0x00099100
CMP EAX,ESI
JNZ 0x000990f6
TEST EDI,EDI
JNZ 0x00099171
MOV dword ptr [ESP],ESI
MOV EDI,EBP
JMP 0x000990b1
TEST EDI,EDI
JZ 0x0009915b
MOV ECX,dword ptr [ESP + 0x4]
CMP ECX,0x1
SBB EAX,EAX
AND EAX,0xfffffffe
ADD EAX,0x4
TEST dword ptr [ESP + 0x8],EAX
JNZ 0x0009914b
MOV EDX,dword ptr [ESP + 0x18]
TEST EDX,EDX
JZ 0x0009913f
PUSH EAX
MOV EAX,ECX
INC EAX
PUSH EAX
PUSH dword ptr [ESP + 0x24]
PUSH 0x1
CALL 0x00016f40
ADD ESP,0x10
SUB ESP,0xc
PUSH EDI
CALL 0x00016920
ADD ESP,0x10
SUB ESP,0xc
PUSH EDI
CALL 0x000175a0
ADD ESP,0x10
TEST EBP,EBP
JNZ 0x00099104
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
CALL 0x0001a6be
XOR EAX,EAX
CALL 0x000b124b
MOV EAX,dword ptr [ESP + 0x28]
MOV ECX,dword ptr [ESP + 0x14]
TEST ECX,ECX
JZ 0x000991a9
PUSH EDX
PUSH EAX
PUSH ESI
PUSH dword ptr [ESP + 0xc]
CALL 0x00016ea0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0009910f
SUB ESP,0xc
PUSH EBP
CALL 0x000175a0
INC dword ptr [ESP + 0x14]
ADD ESP,0x10
JMP 0x000990b9
PUSH ECX
PUSH EAX
PUSH ESI
PUSH dword ptr [ESP + 0xc]
CALL 0x000173b0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0009910f
JMP 0x00099194
CMP byte ptr [EAX],0x2d
JZ 0x000991f6
SUB ESP,0xc
PUSH 0x0
CALL 0x000174d0
XOR EDX,EDX
MOV EAX,dword ptr [ESP + 0x1c]
CALL 0x0001a413
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JZ 0x0009907d
MOV ESI,dword ptr [ESI + 0x8]
TEST ESI,ESI
JZ 0x000991fe
CALL 0x0001803e
CMP byte ptr [EAX + 0x1],0x0
JZ 0x000991df
JMP 0x000991c7
CMP byte ptr [EAX],0x2d
JZ 0x0009921c
MOV EDX,0x241
CALL 0x0001a413
MOV EDX,0x1
CALL 0x0001a544
JMP 0x0009907d
CMP byte ptr [EAX + 0x1],0x0
JZ 0x0009907d
JMP 0x00099203
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00099007(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    /* WARNING: Subroutine does not return */\n  FUN_000b124b();\n}\n\n" comment (function_definition "void FUN_00099007(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    /* WARNING: Subroutine does not return */\n  FUN_000b124b();\n}" primitive_type (function_declarator "FUN_00099007(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    /* WARNING: Subroutine does not return */\n  FUN_000b124b();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_4c;" primitive_type (pointer_declarator "*local_4c" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "size_t local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0x7fffffff;" (assignment_expression "local_24 = 0x7fffffff" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);" (assignment_expression "uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" identifier = (call_expression "FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" identifier (argument_list "(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" ( identifier , (string_literal ""cduf:+s:+w:+i"" " string_content ") , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);" (assignment_expression "puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4)" identifier = (cast_expression "(undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + *(int *)PTR_optind_000dbf94 * 4)" ( (binary_expression "param_2 + *(int *)PTR_optind_000dbf94 * 4" identifier + (binary_expression "*(int *)PTR_optind_000dbf94 * 4" (pointer_expression "*(int *)PTR_optind_000dbf94" * (cast_expression "(int *)PTR_optind_000dbf94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal)) )))) ;) (expression_statement "pcVar6 = (char *)*puVar1;" (assignment_expression "pcVar6 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }" if (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }" { (if_statement "if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }" if (parenthesized_expression "((*pcVar6 != '-') || (pcVar6[1] != '\0'))" ( (binary_expression "(*pcVar6 != '-') || (pcVar6[1] != '\0')" (parenthesized_expression "(*pcVar6 != '-')" ( (binary_expression "*pcVar6 != '-'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != '\0')" ( (binary_expression "pcVar6[1] != '\0'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      close(0);\n      FUN_0001a413();\n    }" { (expression_statement "close(0);" (call_expression "close(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar6 = (char *)puVar1[1];" (assignment_expression "pcVar6 = (char *)puVar1[1]" identifier = (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }" if (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }" { (if_statement "if (puVar1[2] != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }" if (parenthesized_expression "(puVar1[2] != 0)" ( (binary_expression "puVar1[2] != 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0001803e();\n      }" { comment (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }" if (parenthesized_expression "((*pcVar6 != '-') || (pcVar6[1] != '\0'))" ( (binary_expression "(*pcVar6 != '-') || (pcVar6[1] != '\0')" (parenthesized_expression "(*pcVar6 != '-')" ( (binary_expression "*pcVar6 != '-'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != '\0')" ( (binary_expression "pcVar6[1] != '\0'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_0001a413();\n        FUN_0001a544();\n      }" { (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001a544();" (call_expression "FUN_0001a544()" identifier (argument_list "()" ( ))) ;) })) })) })) (expression_statement "local_4c = (char *)0x0;" (assignment_expression "local_4c = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = (char *)0x0;" (assignment_expression "__ptr = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar6 = local_4c;" (assignment_expression "pcVar6 = local_4c" identifier = identifier) ;) (labeled_statement "LAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);" statement_identifier : (do_statement "do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);" do (compound_statement "{\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  }" { (expression_statement "local_4c = pcVar6;" (assignment_expression "local_4c = pcVar6" identifier = identifier) ;) (expression_statement "__s = __ptr;" (assignment_expression "__s = __ptr" identifier = identifier) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = local_4c;" (assignment_expression "pcVar6 = local_4c" identifier = identifier) ;) (while_statement "while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }" while (parenthesized_expression "(__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0)" ( (comma_expression "__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "__ptr = (char *)FUN_000b19ee()" identifier = (cast_expression "(char *)FUN_000b19ee()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b19ee()" identifier (argument_list "()" ( ))))) , (comma_expression "pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "pcVar3 = __ptr" identifier = identifier) , (comma_expression "iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "iVar5 = local_2c" identifier = identifier) , (binary_expression "__ptr != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))))) )) (compound_statement "{\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }" { (for_statement "for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }" for ( ; (comma_expression "pcVar6 = pcVar3, iVar5 != 0" (assignment_expression "pcVar6 = pcVar3" identifier = identifier) , (binary_expression "iVar5 != 0" identifier != number_literal)) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }" { (expression_statement "FUN_00019041();" (call_expression "FUN_00019041()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar3 = (char *)FUN_00019054();" (assignment_expression "pcVar3 = (char *)FUN_00019054()" identifier = (cast_expression "(char *)FUN_00019054()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019054()" identifier (argument_list "()" ( ))))) ;) })) (if_statement "if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }" if (parenthesized_expression "((*pcVar6 != '\0') && (local_28 != 0))" ( (binary_expression "(*pcVar6 != '\0') && (local_28 != 0)" (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }" { (expression_statement "pcVar3 = pcVar6 + local_28;" (assignment_expression "pcVar3 = pcVar6 + local_28" identifier = (binary_expression "pcVar6 + local_28" identifier + identifier)) ;) (do_statement "do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);" do (compound_statement "{\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (*pcVar6 == '\0') break;" if (parenthesized_expression "(*pcVar6 == '\0')" ( (binary_expression "*pcVar6 == '\0'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(pcVar3 != pcVar6)" ( (binary_expression "pcVar3 != pcVar6" identifier != identifier) )) ;) })) (if_statement "if (__s == (char *)0x0) goto LAB_000990b1;" if (parenthesized_expression "(__s == (char *)0x0)" ( (binary_expression "__s == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000990b1;" goto statement_identifier ;)) (if_statement "if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" if (parenthesized_expression "((uVar2 & 0x40) == 0)" ( (binary_expression "(uVar2 & 0x40) == 0" (parenthesized_expression "(uVar2 & 0x40)" ( (binary_expression "uVar2 & 0x40" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }" { (expression_statement "iVar5 = strncmp(local_4c,pcVar6,local_24);" (assignment_expression "iVar5 = strncmp(local_4c,pcVar6,local_24)" identifier = (call_expression "strncmp(local_4c,pcVar6,local_24)" identifier (argument_list "(local_4c,pcVar6,local_24)" ( identifier , identifier , identifier )))) ;) }) (else_clause "else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" else (compound_statement "{\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" { (expression_statement "iVar5 = strncasecmp(local_4c,pcVar6,local_24);" (assignment_expression "iVar5 = strncasecmp(local_4c,pcVar6,local_24)" identifier = (call_expression "strncasecmp(local_4c,pcVar6,local_24)" identifier (argument_list "(local_4c,pcVar6,local_24)" ( identifier , identifier , identifier )))) ;) }))) (if_statement "if (iVar5 != 0) goto LAB_0009910f;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0009910f;" goto statement_identifier ;)) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "local_48 = local_48 + 1;" (assignment_expression "local_48 = local_48 + 1" identifier = (binary_expression "local_48 + 1" identifier + number_literal)) ;) })) (if_statement "if (__s == (char *)0x0) break;" if (parenthesized_expression "(__s == (char *)0x0)" ( (binary_expression "__s == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;" statement_identifier : (expression_statement "uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;" (assignment_expression "uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4" identifier = (binary_expression "(-(uint)(local_48 == 0) & 0xfffffffe) + 4" (parenthesized_expression "(-(uint)(local_48 == 0) & 0xfffffffe)" ( (binary_expression "-(uint)(local_48 == 0) & 0xfffffffe" (unary_expression "-(uint)(local_48 == 0)" - (call_expression "(uint)(local_48 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_48 == 0)" ( (binary_expression "local_48 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) ;)) (if_statement "if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }" if (parenthesized_expression "((uVar2 & uVar4) == 0)" ( (binary_expression "(uVar2 & uVar4) == 0" (parenthesized_expression "(uVar2 & uVar4)" ( (binary_expression "uVar2 & uVar4" identifier & identifier) )) == number_literal) )) (compound_statement "{\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }" { (if_statement "if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }" if (parenthesized_expression "((uVar2 & 1) != 0)" ( (binary_expression "(uVar2 & 1) != 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }" { (expression_statement "__printf_chk(1,"%7lu ",local_48 + 1,uVar4);" (call_expression "__printf_chk(1,"%7lu ",local_48 + 1,uVar4)" identifier (argument_list "(1,"%7lu ",local_48 + 1,uVar4)" ( number_literal , (string_literal ""%7lu "" " string_content ") , (binary_expression "local_48 + 1" identifier + number_literal) , identifier ))) ;) })) (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) }) while (parenthesized_expression "(__ptr != (char *)0x0)" ( (binary_expression "__ptr != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;)) (expression_statement "FUN_0001a6be();" (call_expression "FUN_0001a6be()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "FUN_000b124b();" (call_expression "FUN_000b124b()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint uniq_main(int argc,char **argv)\n\n{\n  uint skip_fields;\n  uint skip_chars;\n  uint max_chars;\n  \n}\n\n" comment (function_definition "int uniq_main(int argc,char **argv)\n\n{\n  uint skip_fields;\n  uint skip_chars;\n  uint max_chars;\n  \n}" primitive_type (function_declarator "uniq_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  uint skip_fields;\n  uint skip_chars;\n  uint max_chars;\n  \n}" { (declaration "uint skip_fields;" type_identifier identifier ;) (declaration "uint skip_chars;" type_identifier identifier ;) (declaration "uint max_chars;" type_identifier identifier ;) })))
(translation_unit "void FUN_00099007(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    \n  FUN_000b124b();\n}\n\n" (function_definition "void FUN_00099007(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    \n  FUN_000b124b();\n}" primitive_type (function_declarator "FUN_00099007(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    \n  FUN_000b124b();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_4c;" primitive_type (pointer_declarator "*local_4c" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "size_t local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0x7fffffff;" (assignment_expression "local_24 = 0x7fffffff" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);" (assignment_expression "uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" identifier = (call_expression "FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" identifier (argument_list "(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" ( identifier , (string_literal ""cduf:+s:+w:+i"" " string_content ") , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);" (assignment_expression "puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4)" identifier = (cast_expression "(undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + *(int *)PTR_optind_000dbf94 * 4)" ( (binary_expression "param_2 + *(int *)PTR_optind_000dbf94 * 4" identifier + (binary_expression "*(int *)PTR_optind_000dbf94 * 4" (pointer_expression "*(int *)PTR_optind_000dbf94" * (cast_expression "(int *)PTR_optind_000dbf94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal)) )))) ;) (expression_statement "pcVar6 = (char *)*puVar1;" (assignment_expression "pcVar6 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }" if (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }" { (if_statement "if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }" if (parenthesized_expression "((*pcVar6 != '-') || (pcVar6[1] != '\0'))" ( (binary_expression "(*pcVar6 != '-') || (pcVar6[1] != '\0')" (parenthesized_expression "(*pcVar6 != '-')" ( (binary_expression "*pcVar6 != '-'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != '\0')" ( (binary_expression "pcVar6[1] != '\0'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      close(0);\n      FUN_0001a413();\n    }" { (expression_statement "close(0);" (call_expression "close(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar6 = (char *)puVar1[1];" (assignment_expression "pcVar6 = (char *)puVar1[1]" identifier = (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }" if (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }" { (if_statement "if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }" if (parenthesized_expression "(puVar1[2] != 0)" ( (binary_expression "puVar1[2] != 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n        FUN_0001803e();\n      }" { (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }" if (parenthesized_expression "((*pcVar6 != '-') || (pcVar6[1] != '\0'))" ( (binary_expression "(*pcVar6 != '-') || (pcVar6[1] != '\0')" (parenthesized_expression "(*pcVar6 != '-')" ( (binary_expression "*pcVar6 != '-'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != '\0')" ( (binary_expression "pcVar6[1] != '\0'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_0001a413();\n        FUN_0001a544();\n      }" { (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001a544();" (call_expression "FUN_0001a544()" identifier (argument_list "()" ( ))) ;) })) })) })) (expression_statement "local_4c = (char *)0x0;" (assignment_expression "local_4c = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = (char *)0x0;" (assignment_expression "__ptr = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar6 = local_4c;" (assignment_expression "pcVar6 = local_4c" identifier = identifier) ;) (labeled_statement "LAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);" statement_identifier : (do_statement "do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);" do (compound_statement "{\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  }" { (expression_statement "local_4c = pcVar6;" (assignment_expression "local_4c = pcVar6" identifier = identifier) ;) (expression_statement "__s = __ptr;" (assignment_expression "__s = __ptr" identifier = identifier) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = local_4c;" (assignment_expression "pcVar6 = local_4c" identifier = identifier) ;) (while_statement "while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }" while (parenthesized_expression "(__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0)" ( (comma_expression "__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "__ptr = (char *)FUN_000b19ee()" identifier = (cast_expression "(char *)FUN_000b19ee()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b19ee()" identifier (argument_list "()" ( ))))) , (comma_expression "pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "pcVar3 = __ptr" identifier = identifier) , (comma_expression "iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "iVar5 = local_2c" identifier = identifier) , (binary_expression "__ptr != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))))) )) (compound_statement "{\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }" { (for_statement "for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }" for ( ; (comma_expression "pcVar6 = pcVar3, iVar5 != 0" (assignment_expression "pcVar6 = pcVar3" identifier = identifier) , (binary_expression "iVar5 != 0" identifier != number_literal)) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }" { (expression_statement "FUN_00019041();" (call_expression "FUN_00019041()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar3 = (char *)FUN_00019054();" (assignment_expression "pcVar3 = (char *)FUN_00019054()" identifier = (cast_expression "(char *)FUN_00019054()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019054()" identifier (argument_list "()" ( ))))) ;) })) (if_statement "if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }" if (parenthesized_expression "((*pcVar6 != '\0') && (local_28 != 0))" ( (binary_expression "(*pcVar6 != '\0') && (local_28 != 0)" (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }" { (expression_statement "pcVar3 = pcVar6 + local_28;" (assignment_expression "pcVar3 = pcVar6 + local_28" identifier = (binary_expression "pcVar6 + local_28" identifier + identifier)) ;) (do_statement "do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);" do (compound_statement "{\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (*pcVar6 == '\0') break;" if (parenthesized_expression "(*pcVar6 == '\0')" ( (binary_expression "*pcVar6 == '\0'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(pcVar3 != pcVar6)" ( (binary_expression "pcVar3 != pcVar6" identifier != identifier) )) ;) })) (if_statement "if (__s == (char *)0x0) goto LAB_000990b1;" if (parenthesized_expression "(__s == (char *)0x0)" ( (binary_expression "__s == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000990b1;" goto statement_identifier ;)) (if_statement "if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" if (parenthesized_expression "((uVar2 & 0x40) == 0)" ( (binary_expression "(uVar2 & 0x40) == 0" (parenthesized_expression "(uVar2 & 0x40)" ( (binary_expression "uVar2 & 0x40" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }" { (expression_statement "iVar5 = strncmp(local_4c,pcVar6,local_24);" (assignment_expression "iVar5 = strncmp(local_4c,pcVar6,local_24)" identifier = (call_expression "strncmp(local_4c,pcVar6,local_24)" identifier (argument_list "(local_4c,pcVar6,local_24)" ( identifier , identifier , identifier )))) ;) }) (else_clause "else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" else (compound_statement "{\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" { (expression_statement "iVar5 = strncasecmp(local_4c,pcVar6,local_24);" (assignment_expression "iVar5 = strncasecmp(local_4c,pcVar6,local_24)" identifier = (call_expression "strncasecmp(local_4c,pcVar6,local_24)" identifier (argument_list "(local_4c,pcVar6,local_24)" ( identifier , identifier , identifier )))) ;) }))) (if_statement "if (iVar5 != 0) goto LAB_0009910f;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0009910f;" goto statement_identifier ;)) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "local_48 = local_48 + 1;" (assignment_expression "local_48 = local_48 + 1" identifier = (binary_expression "local_48 + 1" identifier + number_literal)) ;) })) (if_statement "if (__s == (char *)0x0) break;" if (parenthesized_expression "(__s == (char *)0x0)" ( (binary_expression "__s == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;" statement_identifier : (expression_statement "uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;" (assignment_expression "uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4" identifier = (binary_expression "(-(uint)(local_48 == 0) & 0xfffffffe) + 4" (parenthesized_expression "(-(uint)(local_48 == 0) & 0xfffffffe)" ( (binary_expression "-(uint)(local_48 == 0) & 0xfffffffe" (unary_expression "-(uint)(local_48 == 0)" - (call_expression "(uint)(local_48 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_48 == 0)" ( (binary_expression "local_48 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) ;)) (if_statement "if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }" if (parenthesized_expression "((uVar2 & uVar4) == 0)" ( (binary_expression "(uVar2 & uVar4) == 0" (parenthesized_expression "(uVar2 & uVar4)" ( (binary_expression "uVar2 & uVar4" identifier & identifier) )) == number_literal) )) (compound_statement "{\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }" { (if_statement "if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }" if (parenthesized_expression "((uVar2 & 1) != 0)" ( (binary_expression "(uVar2 & 1) != 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }" { (expression_statement "__printf_chk(1,"%7lu ",local_48 + 1,uVar4);" (call_expression "__printf_chk(1,"%7lu ",local_48 + 1,uVar4)" identifier (argument_list "(1,"%7lu ",local_48 + 1,uVar4)" ( number_literal , (string_literal ""%7lu "" " string_content ") , (binary_expression "local_48 + 1" identifier + number_literal) , identifier ))) ;) })) (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) }) while (parenthesized_expression "(__ptr != (char *)0x0)" ( (binary_expression "__ptr != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;)) (expression_statement "FUN_0001a6be();" (call_expression "FUN_0001a6be()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000b124b();" (call_expression "FUN_000b124b()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))))) )) (compound_statement { (for_statement for ( ; (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) & LIT) )) + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;)) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00099007(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    \n  FUN_000b124b();\n}" (primitive_type "void") (function_declarator "FUN_00099007(undefined4 param_1,int param_2)" (identifier "FUN_00099007") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  char *__ptr;\n  char *pcVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char *__s;\n  int in_GS_OFFSET;\n  char *local_4c;\n  int local_48;\n  int local_2c;\n  int local_28;\n  size_t local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = 0;\n  local_2c = 0;\n  local_24 = 0x7fffffff;\n  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);\n  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);\n  pcVar6 = (char *)*puVar1;\n  if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }\n  local_4c = (char *)0x0;\n  __ptr = (char *)0x0;\n  pcVar6 = local_4c;\nLAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);\n  FUN_0001a6be();\n                    \n  FUN_000b124b();\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "char *__ptr;" (primitive_type "char") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "char *local_4c;" (primitive_type "char") (pointer_declarator "*local_4c" (* "*") (identifier "local_4c")) (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "size_t local_24;" (primitive_type "size_t") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0x7fffffff;" (assignment_expression "local_24 = 0x7fffffff" (identifier "local_24") (= "=") (number_literal "0x7fffffff")) (; ";")) (expression_statement "uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);" (assignment_expression "uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" (identifier "uVar2") (= "=") (call_expression "FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" (identifier "FUN_000b23d7") (argument_list "(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24)" (( "(") (identifier "param_2") (, ",") (string_literal ""cduf:+s:+w:+i"" (" """) (string_content "cduf:+s:+w:+i") (" """)) (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);" (assignment_expression "puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + *(int *)PTR_optind_000dbf94 * 4)" (( "(") (binary_expression "param_2 + *(int *)PTR_optind_000dbf94 * 4" (identifier "param_2") (+ "+") (binary_expression "*(int *)PTR_optind_000dbf94 * 4" (pointer_expression "*(int *)PTR_optind_000dbf94" (* "*") (cast_expression "(int *)PTR_optind_000dbf94" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_optind_000dbf94"))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "pcVar6 = (char *)*puVar1;" (assignment_expression "pcVar6 = (char *)*puVar1" (identifier "pcVar6") (= "=") (cast_expression "(char *)*puVar1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (if_statement "if (pcVar6 != (char *)0x0) {\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }" (if "if") (parenthesized_expression "(pcVar6 != (char *)0x0)" (( "(") (binary_expression "pcVar6 != (char *)0x0" (identifier "pcVar6") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }\n    pcVar6 = (char *)puVar1[1];\n    if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }\n  }" ({ "{") (if_statement "if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n      close(0);\n      FUN_0001a413();\n    }" (if "if") (parenthesized_expression "((*pcVar6 != '-') || (pcVar6[1] != '\0'))" (( "(") (binary_expression "(*pcVar6 != '-') || (pcVar6[1] != '\0')" (parenthesized_expression "(*pcVar6 != '-')" (( "(") (binary_expression "*pcVar6 != '-'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (!= "!=") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6[1] != '\0')" (( "(") (binary_expression "pcVar6[1] != '\0'" (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      close(0);\n      FUN_0001a413();\n    }" ({ "{") (expression_statement "close(0);" (call_expression "close(0)" (identifier "close") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" (identifier "FUN_0001a413") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar6 = (char *)puVar1[1];" (assignment_expression "pcVar6 = (char *)puVar1[1]" (identifier "pcVar6") (= "=") (cast_expression "(char *)puVar1[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (pcVar6 != (char *)0x0) {\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }" (if "if") (parenthesized_expression "(pcVar6 != (char *)0x0)" (( "(") (binary_expression "pcVar6 != (char *)0x0" (identifier "pcVar6") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }\n      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }\n    }" ({ "{") (if_statement "if (puVar1[2] != 0) {\n                    \n        FUN_0001803e();\n      }" (if "if") (parenthesized_expression "(puVar1[2] != 0)" (( "(") (binary_expression "puVar1[2] != 0" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0001803e();\n      }" ({ "{") (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" (identifier "FUN_0001803e") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {\n        FUN_0001a413();\n        FUN_0001a544();\n      }" (if "if") (parenthesized_expression "((*pcVar6 != '-') || (pcVar6[1] != '\0'))" (( "(") (binary_expression "(*pcVar6 != '-') || (pcVar6[1] != '\0')" (parenthesized_expression "(*pcVar6 != '-')" (( "(") (binary_expression "*pcVar6 != '-'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (!= "!=") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6[1] != '\0')" (( "(") (binary_expression "pcVar6[1] != '\0'" (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        FUN_0001a413();\n        FUN_0001a544();\n      }" ({ "{") (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" (identifier "FUN_0001a413") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001a544();" (call_expression "FUN_0001a544()" (identifier "FUN_0001a544") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "local_4c = (char *)0x0;" (assignment_expression "local_4c = (char *)0x0" (identifier "local_4c") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "__ptr = (char *)0x0;" (assignment_expression "__ptr = (char *)0x0" (identifier "__ptr") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar6 = local_4c;" (assignment_expression "pcVar6 = local_4c" (identifier "pcVar6") (= "=") (identifier "local_4c")) (; ";")) (labeled_statement "LAB_000990b1:\n  do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);" (statement_identifier "LAB_000990b1") (: ":") (do_statement "do {\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  } while (__ptr != (char *)0x0);" (do "do") (compound_statement "{\n    local_4c = pcVar6;\n    __s = __ptr;\n    local_48 = 0;\n    pcVar6 = local_4c;\n    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }\n    if (__s == (char *)0x0) break;\nLAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;\n    if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }\n    free(__s);\n  }" ({ "{") (expression_statement "local_4c = pcVar6;" (assignment_expression "local_4c = pcVar6" (identifier "local_4c") (= "=") (identifier "pcVar6")) (; ";")) (expression_statement "__s = __ptr;" (assignment_expression "__s = __ptr" (identifier "__s") (= "=") (identifier "__ptr")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar6 = local_4c;" (assignment_expression "pcVar6 = local_4c" (identifier "pcVar6") (= "=") (identifier "local_4c")) (; ";")) (while_statement "while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }" (while "while") (parenthesized_expression "(__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0)" (( "(") (comma_expression "__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "__ptr = (char *)FUN_000b19ee()" (identifier "__ptr") (= "=") (cast_expression "(char *)FUN_000b19ee()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000b19ee()" (identifier "FUN_000b19ee") (argument_list "()" (( "(") () ")"))))) (, ",") (comma_expression "pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "pcVar3 = __ptr" (identifier "pcVar3") (= "=") (identifier "__ptr")) (, ",") (comma_expression "iVar5 = local_2c, __ptr != (char *)0x0" (assignment_expression "iVar5 = local_2c" (identifier "iVar5") (= "=") (identifier "local_2c")) (, ",") (binary_expression "__ptr != (char *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))))) () ")")) (compound_statement "{\n      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }\n      if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }\n      if (__s == (char *)0x0) goto LAB_000990b1;\n      if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }\n      if (iVar5 != 0) goto LAB_0009910f;\n      free(__ptr);\n      local_48 = local_48 + 1;\n    }" ({ "{") (for_statement "for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }" (for "for") (( "(") (; ";") (comma_expression "pcVar6 = pcVar3, iVar5 != 0" (assignment_expression "pcVar6 = pcVar3" (identifier "pcVar6") (= "=") (identifier "pcVar3")) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) (; ";") (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n        FUN_00019041();\n        pcVar3 = (char *)FUN_00019054();\n      }" ({ "{") (expression_statement "FUN_00019041();" (call_expression "FUN_00019041()" (identifier "FUN_00019041") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar3 = (char *)FUN_00019054();" (assignment_expression "pcVar3 = (char *)FUN_00019054()" (identifier "pcVar3") (= "=") (cast_expression "(char *)FUN_00019054()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019054()" (identifier "FUN_00019054") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}"))) (if_statement "if ((*pcVar6 != '\0') && (local_28 != 0)) {\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }" (if "if") (parenthesized_expression "((*pcVar6 != '\0') && (local_28 != 0))" (( "(") (binary_expression "(*pcVar6 != '\0') && (local_28 != 0)" (parenthesized_expression "(*pcVar6 != '\0')" (( "(") (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        pcVar3 = pcVar6 + local_28;\n        do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);\n      }" ({ "{") (expression_statement "pcVar3 = pcVar6 + local_28;" (assignment_expression "pcVar3 = pcVar6 + local_28" (identifier "pcVar3") (= "=") (binary_expression "pcVar6 + local_28" (identifier "pcVar6") (+ "+") (identifier "local_28"))) (; ";")) (do_statement "do {\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        } while (pcVar3 != pcVar6);" (do "do") (compound_statement "{\n          pcVar6 = pcVar6 + 1;\n          if (*pcVar6 == '\0') break;\n        }" ({ "{") (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*pcVar6 == '\0') break;" (if "if") (parenthesized_expression "(*pcVar6 == '\0')" (( "(") (binary_expression "*pcVar6 == '\0'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(pcVar3 != pcVar6)" (( "(") (binary_expression "pcVar3 != pcVar6" (identifier "pcVar3") (!= "!=") (identifier "pcVar6")) () ")")) (; ";")) (} "}"))) (if_statement "if (__s == (char *)0x0) goto LAB_000990b1;" (if "if") (parenthesized_expression "(__s == (char *)0x0)" (( "(") (binary_expression "__s == (char *)0x0" (identifier "__s") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000990b1;" (goto "goto") (statement_identifier "LAB_000990b1") (; ";"))) (if_statement "if ((uVar2 & 0x40) == 0) {\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }\n      else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" (if "if") (parenthesized_expression "((uVar2 & 0x40) == 0)" (( "(") (binary_expression "(uVar2 & 0x40) == 0" (parenthesized_expression "(uVar2 & 0x40)" (( "(") (binary_expression "uVar2 & 0x40" (identifier "uVar2") (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = strncmp(local_4c,pcVar6,local_24);\n      }" ({ "{") (expression_statement "iVar5 = strncmp(local_4c,pcVar6,local_24);" (assignment_expression "iVar5 = strncmp(local_4c,pcVar6,local_24)" (identifier "iVar5") (= "=") (call_expression "strncmp(local_4c,pcVar6,local_24)" (identifier "strncmp") (argument_list "(local_4c,pcVar6,local_24)" (( "(") (identifier "local_4c") (, ",") (identifier "pcVar6") (, ",") (identifier "local_24") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" (else "else") (compound_statement "{\n        iVar5 = strncasecmp(local_4c,pcVar6,local_24);\n      }" ({ "{") (expression_statement "iVar5 = strncasecmp(local_4c,pcVar6,local_24);" (assignment_expression "iVar5 = strncasecmp(local_4c,pcVar6,local_24)" (identifier "iVar5") (= "=") (call_expression "strncasecmp(local_4c,pcVar6,local_24)" (identifier "strncasecmp") (argument_list "(local_4c,pcVar6,local_24)" (( "(") (identifier "local_4c") (, ",") (identifier "pcVar6") (, ",") (identifier "local_24") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar5 != 0) goto LAB_0009910f;" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0009910f;" (goto "goto") (statement_identifier "LAB_0009910f") (; ";"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "local_48 = local_48 + 1;" (assignment_expression "local_48 = local_48 + 1" (identifier "local_48") (= "=") (binary_expression "local_48 + 1" (identifier "local_48") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (__s == (char *)0x0) break;" (if "if") (parenthesized_expression "(__s == (char *)0x0)" (( "(") (binary_expression "__s == (char *)0x0" (identifier "__s") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0009910f:\n    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;" (statement_identifier "LAB_0009910f") (: ":") (expression_statement "uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;" (assignment_expression "uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4" (identifier "uVar4") (= "=") (binary_expression "(-(uint)(local_48 == 0) & 0xfffffffe) + 4" (parenthesized_expression "(-(uint)(local_48 == 0) & 0xfffffffe)" (( "(") (binary_expression "-(uint)(local_48 == 0) & 0xfffffffe" (unary_expression "-(uint)(local_48 == 0)" (- "-") (call_expression "(uint)(local_48 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_48 == 0)" (( "(") (binary_expression "local_48 == 0" (identifier "local_48") (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "0xfffffffe")) () ")")) (+ "+") (number_literal "4"))) (; ";"))) (if_statement "if ((uVar2 & uVar4) == 0) {\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }" (if "if") (parenthesized_expression "((uVar2 & uVar4) == 0)" (( "(") (binary_expression "(uVar2 & uVar4) == 0" (parenthesized_expression "(uVar2 & uVar4)" (( "(") (binary_expression "uVar2 & uVar4" (identifier "uVar2") (& "&") (identifier "uVar4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }\n      puts(__s);\n    }" ({ "{") (if_statement "if ((uVar2 & 1) != 0) {\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }" (if "if") (parenthesized_expression "((uVar2 & 1) != 0)" (( "(") (binary_expression "(uVar2 & 1) != 0" (parenthesized_expression "(uVar2 & 1)" (( "(") (binary_expression "uVar2 & 1" (identifier "uVar2") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);\n      }" ({ "{") (expression_statement "__printf_chk(1,"%7lu ",local_48 + 1,uVar4);" (call_expression "__printf_chk(1,"%7lu ",local_48 + 1,uVar4)" (identifier "__printf_chk") (argument_list "(1,"%7lu ",local_48 + 1,uVar4)" (( "(") (number_literal "1") (, ",") (string_literal ""%7lu "" (" """) (string_content "%7lu ") (" """)) (, ",") (binary_expression "local_48 + 1" (identifier "local_48") (+ "+") (number_literal "1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "puts(__s);" (call_expression "puts(__s)" (identifier "puts") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (} "}"))) (expression_statement "free(__s);" (call_expression "free(__s)" (identifier "free") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__ptr != (char *)0x0)" (( "(") (binary_expression "__ptr != (char *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";"))) (expression_statement "FUN_0001a6be();" (call_expression "FUN_0001a6be()" (identifier "FUN_0001a6be") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_000b124b();" (call_expression "FUN_000b124b()" (identifier "FUN_000b124b") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int function_1(int argc,char **argv)

{
  type_1 skip_fields;
  type_1 skip_chars;
  type_1 max_chars;
  
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 param_1,int param_2)

{
  undefined4 *puVar1;
  uint uVar2;
  char *__ptr;
  char *pcVar3;
  uint uVar4;
  int iVar5;
  char *pcVar6;
  char *__s;
  int in_GS_OFFSET;
  char *local_4c;
  int local_48;
  int local_2c;
  int local_28;
  size_t local_24;
  undefined4 local_20;
  
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_28 = 0;
  local_2c = 0;
  local_24 = 0x7fffffff;
  uVar2 = FUN_000b23d7(param_2,"cduf:+s:+w:+i",&local_2c,&local_28,&local_24);
  puVar1 = (undefined4 *)(param_2 + *(int *)PTR_optind_000dbf94 * 4);
  pcVar6 = (char *)*puVar1;
  if (pcVar6 != (char *)0x0) {
    if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {
      close(0);
      FUN_0001a413();
    }
    pcVar6 = (char *)puVar1[1];
    if (pcVar6 != (char *)0x0) {
      if (puVar1[2] != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0001803e();
      }
      if ((*pcVar6 != '-') || (pcVar6[1] != '\0')) {
        FUN_0001a413();
        FUN_0001a544();
      }
    }
  }
  local_4c = (char *)0x0;
  __ptr = (char *)0x0;
  pcVar6 = local_4c;
LAB_000990b1:
  do {
    local_4c = pcVar6;
    __s = __ptr;
    local_48 = 0;
    pcVar6 = local_4c;
    while (__ptr = (char *)FUN_000b19ee(), pcVar3 = __ptr, iVar5 = local_2c, __ptr != (char *)0x0) {
      for (; pcVar6 = pcVar3, iVar5 != 0; iVar5 = iVar5 + -1) {
        FUN_00019041();
        pcVar3 = (char *)FUN_00019054();
      }
      if ((*pcVar6 != '\0') && (local_28 != 0)) {
        pcVar3 = pcVar6 + local_28;
        do {
          pcVar6 = pcVar6 + 1;
          if (*pcVar6 == '\0') break;
        } while (pcVar3 != pcVar6);
      }
      if (__s == (char *)0x0) goto LAB_000990b1;
      if ((uVar2 & 0x40) == 0) {
        iVar5 = strncmp(local_4c,pcVar6,local_24);
      }
      else {
        iVar5 = strncasecmp(local_4c,pcVar6,local_24);
      }
      if (iVar5 != 0) goto LAB_0009910f;
      free(__ptr);
      local_48 = local_48 + 1;
    }
    if (__s == (char *)0x0) break;
LAB_0009910f:
    uVar4 = (-(uint)(local_48 == 0) & 0xfffffffe) + 4;
    if ((uVar2 & uVar4) == 0) {
      if ((uVar2 & 1) != 0) {
        __printf_chk(1,"%7lu ",local_48 + 1,uVar4);
      }
      puts(__s);
    }
    free(__s);
  } while (__ptr != (char *)0x0);
  FUN_0001a6be();
                    /* WARNING: Subroutine does not return */
  FUN_000b124b();
}

