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

long __regparm3 parse_num(char *str,int rpl_option,long min,long max,int fatal)

{
  char *pcVar1;
  long lVar2;
  undefined4 uVar3;
  int in_GS_OFFSET;
  char *eptr;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x13eff;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  lVar2 = strtol(str,&eptr,10);
  pcVar1 = program_name;
  if ((eptr == str) || (*eptr != '\0')) {
    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option);
                    /* WARNING: Subroutine does not return */
    usage(1);
  }
  if (lVar2 < min) {
    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min);
    lVar2 = min;
  }
  else {
    if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;
    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);
    lVar2 = max;
  }
  if (fatal != 0) {
                    /* WARNING: Subroutine does not return */
    usage(1);
  }
LAB_00013f93:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return lVar2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined ** __regparm3
FUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)

{
  undefined4 uVar1;
  undefined **ppuVar2;
  undefined4 uVar3;
  int in_GS_OFFSET;
  char *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x13eff;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  ppuVar2 = (undefined **)strtol(param_1,&local_24,10);
  uVar1 = DAT_00028178;
  if ((local_24 == param_1) || (*local_24 != '\0')) {
    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);
    FUN_00013bb0();
    goto LAB_00014034;
  }
  if ((int)ppuVar2 < (int)param_3) {
    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);
    ppuVar2 = param_3;
joined_r0x00013ff3:
    if (param_5 != 0) {
      FUN_00013bb0();
      if (1 < DAT_00028008) {
        DAT_00028008 = DAT_00028008 + -1;
      }
      return &__DT_PLTGOT;
    }
  }
  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {
    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);
    ppuVar2 = param_4;
    goto joined_r0x00013ff3;
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return ppuVar2;
  }
LAB_00014034:
                    /* WARNING: Subroutine does not return */
  FUN_0001ea00();
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,ECX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00013670
ADD EBX,0x13f65
SUB ESP,0x30
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x20],EAX
XOR EAX,EAX
PUSH 0xa
LEA EAX,[ESP + 0x20]
PUSH EAX
PUSH ESI
CALL 0x000124f0
MOV EDX,dword ptr [ESP + 0x28]
ADD ESP,0x10
CMP EDX,ESI
JZ 0x00013ff9
CMP byte ptr [EDX],0x0
JNZ 0x00013ff9
CMP EAX,EDI
JL 0x00013fb0
MOV EDX,dword ptr [ESP + 0x40]
TEST EDX,EDX
JS 0x00013f93
CMP EAX,dword ptr [ESP + 0x40]
JLE 0x00013f93
LEA EAX,[EBX + 0x314]
SUB ESP,0x4
MOV EDI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff7dd8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012160
ADD ESP,0xc
PUSH dword ptr [ESP + 0x44]
PUSH EBP
PUSH ESI
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x15c]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00012480
ADD ESP,0x20
MOV EAX,dword ptr [ESP + 0x44]
TEST EAX,EAX
JNZ 0x00014039
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [ESP + 0x1c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x00014034
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0x314]
SUB ESP,0x4
MOV EDX,dword ptr [EAX]
LEA EAX,[EBX + 0xffff7da8]
MOV dword ptr [ESP + 0x10],EDX
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012160
ADD ESP,0xc
PUSH EDI
PUSH EBP
PUSH ESI
MOV EDX,dword ptr [ESP + 0x1c]
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [EBX + 0x15c]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00012480
ADD ESP,0x20
MOV ECX,dword ptr [ESP + 0x44]
TEST ECX,ECX
JNZ 0x00014039
MOV EAX,EDI
JMP 0x00013f93
LEA EAX,[EBX + 0x314]
MOV EDI,dword ptr [EAX]
PUSH EAX
LEA EAX,[EBX + 0xffff7d80]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012160
POP EDX
POP ECX
PUSH EBP
PUSH ESI
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x15c]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00012480
ADD ESP,0x20
MOV EAX,0x1
CALL 0x00013bb0
CALL 0x0001ea00
MOV EAX,0x1
CALL 0x00013bb0
LEA ESI,[ESI]
LEA ESI,[ESI]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)\n\n{\n  undefined4 uVar1;\n  undefined **ppuVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  ppuVar2 = (undefined **)strtol(param_1,&local_24,10);\n  uVar1 = DAT_00028178;\n  if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }\n  if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }\nLAB_00014034:\n                    /* WARNING: Subroutine does not return */\n  FUN_0001ea00();\n}\n\n" comment comment (ERROR "undefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" (binary_expression "undefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" identifier * (ERROR "* __regparm3" (pointer_expression "* __regparm3" * identifier)) (call_expression "FUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" identifier (argument_list "(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" ( (binary_expression "char *param_1" identifier * identifier) , identifier (ERROR "param_2" identifier) , (binary_expression "undefined **param_3" identifier * (pointer_expression "*param_3" * identifier)) , (binary_expression "undefined **param_4" identifier * (pointer_expression "*param_4" * identifier)) , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  undefined4 uVar1;\n  undefined **ppuVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  ppuVar2 = (undefined **)strtol(param_1,&local_24,10);\n  uVar1 = DAT_00028178;\n  if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }\n  if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }\nLAB_00014034:\n                    /* WARNING: Subroutine does not return */\n  FUN_0001ea00();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x13eff;" (assignment_expression "uStack_14 = 0x13eff" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "ppuVar2 = (undefined **)strtol(param_1,&local_24,10);" (assignment_expression "ppuVar2 = (undefined **)strtol(param_1,&local_24,10)" identifier = (cast_expression "(undefined **)strtol(param_1,&local_24,10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "strtol(param_1,&local_24,10)" identifier (argument_list "(param_1,&local_24,10)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal ))))) ;) (expression_statement "uVar1 = DAT_00028178;" (assignment_expression "uVar1 = DAT_00028178" identifier = identifier) ;) (if_statement "if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }" if (parenthesized_expression "((local_24 == param_1) || (*local_24 != '\0'))" ( (binary_expression "(local_24 == param_1) || (*local_24 != '\0')" (parenthesized_expression "(local_24 == param_1)" ( (binary_expression "local_24 == param_1" identifier == identifier) )) || (parenthesized_expression "(*local_24 != '\0')" ( (binary_expression "*local_24 != '\0'" (pointer_expression "*local_24" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);" (assignment_expression "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" identifier = (call_expression "dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" identifier (argument_list "(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" ( number_literal , (string_literal ""%s: invalid number \"%s\" for -%c option\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_00028178" & identifier) )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (expression_statement "FUN_00013bb0();" (call_expression "FUN_00013bb0()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_00014034;" goto statement_identifier ;) })) (if_statement "if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" if (parenthesized_expression "((int)ppuVar2 < (int)param_3)" ( (binary_expression "(int)ppuVar2 < (int)param_3" (cast_expression "(int)ppuVar2" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" identifier = (call_expression "dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" identifier (argument_list "(0,"%s: value %s for -%c option should be >= %ld\n",5)" ( number_literal , (string_literal ""%s: value %s for -%c option should be >= %ld\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "ppuVar2 = param_3;" (assignment_expression "ppuVar2 = param_3" identifier = identifier) ;) (labeled_statement "joined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" statement_identifier : (if_statement "if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" { (expression_statement "FUN_00013bb0();" (call_expression "FUN_00013bb0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }" if (parenthesized_expression "(1 < DAT_00028008)" ( (binary_expression "1 < DAT_00028008" number_literal < identifier) )) (compound_statement "{\n        DAT_00028008 = DAT_00028008 + -1;\n      }" { (expression_statement "DAT_00028008 = DAT_00028008 + -1;" (assignment_expression "DAT_00028008 = DAT_00028008 + -1" identifier = (binary_expression "DAT_00028008 + -1" identifier + number_literal)) ;) })) (return_statement "return &__DT_PLTGOT;" return (pointer_expression "&__DT_PLTGOT" & identifier) ;) }))) }) (else_clause "else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" else (if_statement "if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" if (parenthesized_expression "((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2))" ( (binary_expression "(-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)" (parenthesized_expression "(-1 < (int)param_4)" ( (binary_expression "-1 < (int)param_4" number_literal < (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((int)param_4 < (int)ppuVar2)" ( (binary_expression "(int)param_4 < (int)ppuVar2" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)ppuVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" identifier = (call_expression "dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" identifier (argument_list "(0,"%s: value %s for -%c option should be <= %ld\n",5)" ( number_literal , (string_literal ""%s: value %s for -%c option should be <= %ld\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "ppuVar2 = param_4;" (assignment_expression "ppuVar2 = param_4" identifier = identifier) ;) (goto_statement "goto joined_r0x00013ff3;" goto statement_identifier ;) })))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return ppuVar2;\n  }" { (return_statement "return ppuVar2;" return identifier ;) })) (labeled_statement "LAB_00014034:\n                    /* WARNING: Subroutine does not return */\n  FUN_0001ea00();" statement_identifier : comment (expression_statement "FUN_0001ea00();" (call_expression "FUN_0001ea00()" identifier (argument_list "()" ( ))) ;)) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nlong __regparm3 parse_num(char *str,int rpl_option,long min,long max,int fatal)\n\n{\n  char *pcVar1;\n  long lVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *eptr;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar2 = strtol(str,&eptr,10);\n  pcVar1 = program_name;\n  if ((eptr == str) || (*eptr != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option);\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }\n  if (lVar2 < min) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min);\n    lVar2 = min;\n  }\n  else {\n    if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);\n    lVar2 = max;\n  }\n  if (fatal != 0) {\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }\nLAB_00013f93:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "long __regparm3 parse_num(char *str,int rpl_option,long min,long max,int fatal)\n\n{\n  char *pcVar1;\n  long lVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *eptr;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar2 = strtol(str,&eptr,10);\n  pcVar1 = program_name;\n  if ((eptr == str) || (*eptr != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option);\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }\n  if (lVar2 < min) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min);\n    lVar2 = min;\n  }\n  else {\n    if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);\n    lVar2 = max;\n  }\n  if (fatal != 0) {\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }\nLAB_00013f93:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" (sized_type_specifier "long __regparm3" long type_identifier) (function_declarator "parse_num(char *str,int rpl_option,long min,long max,int fatal)" identifier (parameter_list "(char *str,int rpl_option,long min,long max,int fatal)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "int rpl_option" primitive_type identifier) , (parameter_declaration "long min" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long max" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int fatal" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *eptr;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar2 = strtol(str,&eptr,10);\n  pcVar1 = program_name;\n  if ((eptr == str) || (*eptr != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option);\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }\n  if (lVar2 < min) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min);\n    lVar2 = min;\n  }\n  else {\n    if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);\n    lVar2 = max;\n  }\n  if (fatal != 0) {\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }\nLAB_00013f93:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *eptr;" primitive_type (pointer_declarator "*eptr" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x13eff;" (assignment_expression "uStack_14 = 0x13eff" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "lVar2 = strtol(str,&eptr,10);" (assignment_expression "lVar2 = strtol(str,&eptr,10)" identifier = (call_expression "strtol(str,&eptr,10)" identifier (argument_list "(str,&eptr,10)" ( identifier , (pointer_expression "&eptr" & identifier) , number_literal )))) ;) (expression_statement "pcVar1 = program_name;" (assignment_expression "pcVar1 = program_name" identifier = identifier) ;) (if_statement "if ((eptr == str) || (*eptr != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option);\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }" if (parenthesized_expression "((eptr == str) || (*eptr != '\0'))" ( (binary_expression "(eptr == str) || (*eptr != '\0')" (parenthesized_expression "(eptr == str)" ( (binary_expression "eptr == str" identifier == identifier) )) || (parenthesized_expression "(*eptr != '\0')" ( (binary_expression "*eptr != '\0'" (pointer_expression "*eptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option);\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);" (assignment_expression "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name)" identifier = (call_expression "dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name)" identifier (argument_list "(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name)" ( number_literal , (string_literal ""%s: invalid number \"%s\" for -%c option\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&program_name" & identifier) )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) comment (expression_statement "usage(1);" (call_expression "usage(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (if_statement "if (lVar2 < min) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min);\n    lVar2 = min;\n  }\n  else {\n    if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);\n    lVar2 = max;\n  }" if (parenthesized_expression "(lVar2 < min)" ( (binary_expression "lVar2 < min" identifier < identifier) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min);\n    lVar2 = min;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" identifier = (call_expression "dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" identifier (argument_list "(0,"%s: value %s for -%c option should be >= %ld\n",5)" ( number_literal , (string_literal ""%s: value %s for -%c option should be >= %ld\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,min)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "lVar2 = min;" (assignment_expression "lVar2 = min" identifier = identifier) ;) }) (else_clause "else {\n    if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);\n    lVar2 = max;\n  }" else (compound_statement "{\n    if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);\n    lVar2 = max;\n  }" { (if_statement "if ((max < 0) || (lVar2 <= max)) goto LAB_00013f93;" if (parenthesized_expression "((max < 0) || (lVar2 <= max))" ( (binary_expression "(max < 0) || (lVar2 <= max)" (parenthesized_expression "(max < 0)" ( (binary_expression "max < 0" identifier < number_literal) )) || (parenthesized_expression "(lVar2 <= max)" ( (binary_expression "lVar2 <= max" identifier <= identifier) ))) )) (goto_statement "goto LAB_00013f93;" goto statement_identifier ;)) (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" identifier = (call_expression "dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" identifier (argument_list "(0,"%s: value %s for -%c option should be <= %ld\n",5)" ( number_literal , (string_literal ""%s: value %s for -%c option should be <= %ld\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,str,rpl_option,max)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "lVar2 = max;" (assignment_expression "lVar2 = max" identifier = identifier) ;) }))) (if_statement "if (fatal != 0) {\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }" if (parenthesized_expression "(fatal != 0)" ( (binary_expression "fatal != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    usage(1);\n  }" { comment (expression_statement "usage(1);" (call_expression "usage(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (labeled_statement "LAB_00013f93:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar2;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar2;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return lVar2;\n  }" { (return_statement "return lVar2;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)\n\n{\n  undefined4 uVar1;\n  undefined **ppuVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  ppuVar2 = (undefined **)strtol(param_1,&local_24,10);\n  uVar1 = DAT_00028178;\n  if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }\n  if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }\nLAB_00014034:\n                    \n  FUN_0001ea00();\n}\n\n" (ERROR "undefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" (binary_expression "undefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" identifier * (ERROR "* __regparm3" (pointer_expression "* __regparm3" * identifier)) (call_expression "FUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" identifier (argument_list "(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" ( (binary_expression "char *param_1" identifier * identifier) , identifier (ERROR "param_2" identifier) , (binary_expression "undefined **param_3" identifier * (pointer_expression "*param_3" * identifier)) , (binary_expression "undefined **param_4" identifier * (pointer_expression "*param_4" * identifier)) , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  undefined4 uVar1;\n  undefined **ppuVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  ppuVar2 = (undefined **)strtol(param_1,&local_24,10);\n  uVar1 = DAT_00028178;\n  if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }\n  if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }\nLAB_00014034:\n                    \n  FUN_0001ea00();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x13eff;" (assignment_expression "uStack_14 = 0x13eff" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "ppuVar2 = (undefined **)strtol(param_1,&local_24,10);" (assignment_expression "ppuVar2 = (undefined **)strtol(param_1,&local_24,10)" identifier = (cast_expression "(undefined **)strtol(param_1,&local_24,10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "strtol(param_1,&local_24,10)" identifier (argument_list "(param_1,&local_24,10)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal ))))) ;) (expression_statement "uVar1 = DAT_00028178;" (assignment_expression "uVar1 = DAT_00028178" identifier = identifier) ;) (if_statement "if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }" if (parenthesized_expression "((local_24 == param_1) || (*local_24 != '\0'))" ( (binary_expression "(local_24 == param_1) || (*local_24 != '\0')" (parenthesized_expression "(local_24 == param_1)" ( (binary_expression "local_24 == param_1" identifier == identifier) )) || (parenthesized_expression "(*local_24 != '\0')" ( (binary_expression "*local_24 != '\0'" (pointer_expression "*local_24" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);" (assignment_expression "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" identifier = (call_expression "dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" identifier (argument_list "(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" ( number_literal , (string_literal ""%s: invalid number \"%s\" for -%c option\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_00028178" & identifier) )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (expression_statement "FUN_00013bb0();" (call_expression "FUN_00013bb0()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_00014034;" goto statement_identifier ;) })) (if_statement "if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" if (parenthesized_expression "((int)ppuVar2 < (int)param_3)" ( (binary_expression "(int)ppuVar2 < (int)param_3" (cast_expression "(int)ppuVar2" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" identifier = (call_expression "dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" identifier (argument_list "(0,"%s: value %s for -%c option should be >= %ld\n",5)" ( number_literal , (string_literal ""%s: value %s for -%c option should be >= %ld\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "ppuVar2 = param_3;" (assignment_expression "ppuVar2 = param_3" identifier = identifier) ;) (labeled_statement "joined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" statement_identifier : (if_statement "if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" { (expression_statement "FUN_00013bb0();" (call_expression "FUN_00013bb0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }" if (parenthesized_expression "(1 < DAT_00028008)" ( (binary_expression "1 < DAT_00028008" number_literal < identifier) )) (compound_statement "{\n        DAT_00028008 = DAT_00028008 + -1;\n      }" { (expression_statement "DAT_00028008 = DAT_00028008 + -1;" (assignment_expression "DAT_00028008 = DAT_00028008 + -1" identifier = (binary_expression "DAT_00028008 + -1" identifier + number_literal)) ;) })) (return_statement "return &__DT_PLTGOT;" return (pointer_expression "&__DT_PLTGOT" & identifier) ;) }))) }) (else_clause "else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" else (if_statement "if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" if (parenthesized_expression "((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2))" ( (binary_expression "(-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)" (parenthesized_expression "(-1 < (int)param_4)" ( (binary_expression "-1 < (int)param_4" number_literal < (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((int)param_4 < (int)ppuVar2)" ( (binary_expression "(int)param_4 < (int)ppuVar2" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)ppuVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" identifier = (call_expression "dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" identifier (argument_list "(0,"%s: value %s for -%c option should be <= %ld\n",5)" ( number_literal , (string_literal ""%s: value %s for -%c option should be <= %ld\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" * (cast_expression "(undefined4 *)PTR_stderr_00027fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "ppuVar2 = param_4;" (assignment_expression "ppuVar2 = param_4" identifier = identifier) ;) (goto_statement "goto joined_r0x00013ff3;" goto statement_identifier ;) })))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return ppuVar2;\n  }" { (return_statement "return ppuVar2;" return identifier ;) })) (labeled_statement "LAB_00014034:\n                    \n  FUN_0001ea00();" statement_identifier : (expression_statement "FUN_0001ea00();" (call_expression "FUN_0001ea00()" identifier (argument_list "()" ( ))) ;)) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR (pointer_expression * IDENT)) (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , IDENT (ERROR IDENT) , (binary_expression IDENT * (pointer_expression * IDENT)) , (binary_expression IDENT * (pointer_expression * IDENT)) , (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , LIT , (pointer_expression & IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return (pointer_expression & IDENT) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) }))
(ERROR "undefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" (binary_expression "undefined ** __regparm3\nFUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" (identifier "undefined") (* "*") (ERROR "* __regparm3" (pointer_expression "* __regparm3" (* "*") (identifier "__regparm3"))) (call_expression "FUN_00013ef0(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" (identifier "FUN_00013ef0") (argument_list "(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)" (( "(") (binary_expression "char *param_1" (identifier "char") (* "*") (identifier "param_1")) (, ",") (identifier "undefined4") (ERROR "param_2" (identifier "param_2")) (, ",") (binary_expression "undefined **param_3" (identifier "undefined") (* "*") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (, ",") (binary_expression "undefined **param_4" (identifier "undefined") (* "*") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (, ",") (ERROR "int" (identifier "int")) (identifier "param_5") () ")"))))) (compound_statement "{\n  undefined4 uVar1;\n  undefined **ppuVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x13eff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  ppuVar2 = (undefined **)strtol(param_1,&local_24,10);\n  uVar1 = DAT_00028178;\n  if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }\n  if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }\nLAB_00014034:\n                    \n  FUN_0001ea00();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined **ppuVar2;" (type_identifier "undefined") (pointer_declarator "**ppuVar2" (* "*") (pointer_declarator "*ppuVar2" (* "*") (identifier "ppuVar2"))) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "char *local_24;" (primitive_type "char") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x13eff;" (assignment_expression "uStack_14 = 0x13eff" (identifier "uStack_14") (= "=") (number_literal "0x13eff")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "ppuVar2 = (undefined **)strtol(param_1,&local_24,10);" (assignment_expression "ppuVar2 = (undefined **)strtol(param_1,&local_24,10)" (identifier "ppuVar2") (= "=") (cast_expression "(undefined **)strtol(param_1,&local_24,10)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (call_expression "strtol(param_1,&local_24,10)" (identifier "strtol") (argument_list "(param_1,&local_24,10)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "10") () ")"))))) (; ";")) (expression_statement "uVar1 = DAT_00028178;" (assignment_expression "uVar1 = DAT_00028178" (identifier "uVar1") (= "=") (identifier "DAT_00028178")) (; ";")) (if_statement "if ((local_24 == param_1) || (*local_24 != '\0')) {\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }" (if "if") (parenthesized_expression "((local_24 == param_1) || (*local_24 != '\0'))" (( "(") (binary_expression "(local_24 == param_1) || (*local_24 != '\0')" (parenthesized_expression "(local_24 == param_1)" (( "(") (binary_expression "local_24 == param_1" (identifier "local_24") (== "==") (identifier "param_1")) () ")")) (|| "||") (parenthesized_expression "(*local_24 != '\0')" (( "(") (binary_expression "*local_24 != '\0'" (pointer_expression "*local_24" (* "*") (identifier "local_24")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);\n    FUN_00013bb0();\n    goto LAB_00014034;\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);" (assignment_expression "uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" (identifier "dcgettext") (argument_list "(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: invalid number \"%s\" for -%c option\n"" (" """) (string_content "%s: invalid number ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (string_content " for -%c option") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (pointer_expression "&DAT_00028178" (& "&") (identifier "DAT_00028178")) () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00027fc0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00027fc0"))) (, ",") (number_literal "1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_00013bb0();" (call_expression "FUN_00013bb0()" (identifier "FUN_00013bb0") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_00014034;" (goto "goto") (statement_identifier "LAB_00014034") (; ";")) (} "}"))) (if_statement "if ((int)ppuVar2 < (int)param_3) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }\n  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" (if "if") (parenthesized_expression "((int)ppuVar2 < (int)param_3)" (( "(") (binary_expression "(int)ppuVar2 < (int)param_3" (cast_expression "(int)ppuVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar2")) (< "<") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) () ")")) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);\n    ppuVar2 = param_3;\njoined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: value %s for -%c option should be >= %ld\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: value %s for -%c option should be >= %ld\n"" (" """) (string_content "%s: value %s for -%c option should be >= %ld") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00027fc0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00027fc0"))) (, ",") (number_literal "1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "ppuVar2 = param_3;" (assignment_expression "ppuVar2 = param_3" (identifier "ppuVar2") (= "=") (identifier "param_3")) (; ";")) (labeled_statement "joined_r0x00013ff3:\n    if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" (statement_identifier "joined_r0x00013ff3") (: ":") (if_statement "if (param_5 != 0) {\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" (if "if") (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00013bb0();\n      if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }\n      return &__DT_PLTGOT;\n    }" ({ "{") (expression_statement "FUN_00013bb0();" (call_expression "FUN_00013bb0()" (identifier "FUN_00013bb0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (1 < DAT_00028008) {\n        DAT_00028008 = DAT_00028008 + -1;\n      }" (if "if") (parenthesized_expression "(1 < DAT_00028008)" (( "(") (binary_expression "1 < DAT_00028008" (number_literal "1") (< "<") (identifier "DAT_00028008")) () ")")) (compound_statement "{\n        DAT_00028008 = DAT_00028008 + -1;\n      }" ({ "{") (expression_statement "DAT_00028008 = DAT_00028008 + -1;" (assignment_expression "DAT_00028008 = DAT_00028008 + -1" (identifier "DAT_00028008") (= "=") (binary_expression "DAT_00028008 + -1" (identifier "DAT_00028008") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (return_statement "return &__DT_PLTGOT;" (return "return") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT")) (; ";")) (} "}")))) (} "}")) (else_clause "else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" (else "else") (if_statement "if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" (if "if") (parenthesized_expression "((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2))" (( "(") (binary_expression "(-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)" (parenthesized_expression "(-1 < (int)param_4)" (( "(") (binary_expression "-1 < (int)param_4" (number_literal "-1") (< "<") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4"))) () ")")) (&& "&&") (parenthesized_expression "((int)param_4 < (int)ppuVar2)" (( "(") (binary_expression "(int)param_4 < (int)ppuVar2" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (< "<") (cast_expression "(int)ppuVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar2"))) () ")"))) () ")")) (compound_statement "{\n    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);\n    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);\n    ppuVar2 = param_4;\n    goto joined_r0x00013ff3;\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: value %s for -%c option should be <= %ld\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: value %s for -%c option should be <= %ld\n"" (" """) (string_content "%s: value %s for -%c option should be <= %ld") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00027fc0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00027fc0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00027fc0"))) (, ",") (number_literal "1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "ppuVar2 = param_4;" (assignment_expression "ppuVar2 = param_4" (identifier "ppuVar2") (= "=") (identifier "param_4")) (; ";")) (goto_statement "goto joined_r0x00013ff3;" (goto "goto") (statement_identifier "joined_r0x00013ff3") (; ";")) (} "}"))))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return ppuVar2;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return ppuVar2;\n  }" ({ "{") (return_statement "return ppuVar2;" (return "return") (identifier "ppuVar2") (; ";")) (} "}"))) (labeled_statement "LAB_00014034:\n                    \n  FUN_0001ea00();" (statement_identifier "LAB_00014034") (: ":") (expression_statement "FUN_0001ea00();" (call_expression "FUN_0001ea00()" (identifier "FUN_0001ea00") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))

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

long type_1 function_1(char *var_4,int rpl_option,long var_9,long var_10,int var_11)

{
  char *pcVar1;
  long var_8;
  type_2 uVar3;
  int var_1;
  char *var_3;
  int var_12;
  type_2 uStack_14;
  
  uStack_14 = 0x13eff;
  var_12 = *(int *)(var_1 + 0x14);
  var_8 = var_2(var_4,&var_3,10);
  pcVar1 = program_name;
  if ((var_3 == var_4) || (*var_3 != '\0')) {
    uVar3 = var_5(0,"%s: invalid number \"%s\" for -%c option\n",5,&program_name);
    var_6(*(type_2 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,var_4,rpl_option);
                    /* WARNING: Subroutine does not return */
    var_7(1);
  }
  if (var_8 < var_9) {
    uVar3 = var_5(0,"%s: value %s for -%c option should be >= %ld\n",5);
    var_6(*(type_2 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,var_4,rpl_option,var_9);
    var_8 = var_9;
  }
  else {
    if ((var_10 < 0) || (var_8 <= var_10)) goto LAB_00013f93;
    uVar3 = var_5(0,"%s: value %s for -%c option should be <= %ld\n",5);
    var_6(*(type_2 *)PTR_stderr_00027fc0,1,uVar3,pcVar1,var_4,rpl_option,var_10);
    var_8 = var_10;
  }
  if (var_11 != 0) {
                    /* WARNING: Subroutine does not return */
    var_7(1);
  }
LAB_00013f93:
  if (var_12 == *(int *)(var_1 + 0x14)) {
    return var_8;
  }
                    /* WARNING: Subroutine does not return */
  var_13();
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (pointer_expression argument: (identifier))) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (ERROR (identifier)) (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))) (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))) (ERROR (identifier)) (identifier))))) (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence)) (number_literal) (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (pointer_expression argument: (identifier))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

undefined ** __regparm3
MASKED(char *param_1,undefined4 param_2,undefined **param_3,undefined **param_4,int param_5)

{
  undefined4 uVar1;
  undefined **ppuVar2;
  undefined4 uVar3;
  int in_GS_OFFSET;
  char *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x13eff;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  ppuVar2 = (undefined **)strtol(param_1,&local_24,10);
  uVar1 = DAT_00028178;
  if ((local_24 == param_1) || (*local_24 != '\0')) {
    uVar3 = dcgettext(0,"%s: invalid number \"%s\" for -%c option\n",5,&DAT_00028178);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2);
    FUN_00013bb0();
    goto LAB_00014034;
  }
  if ((int)ppuVar2 < (int)param_3) {
    uVar3 = dcgettext(0,"%s: value %s for -%c option should be >= %ld\n",5);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_3);
    ppuVar2 = param_3;
joined_r0x00013ff3:
    if (param_5 != 0) {
      FUN_00013bb0();
      if (1 < DAT_00028008) {
        DAT_00028008 = DAT_00028008 + -1;
      }
      return &__DT_PLTGOT;
    }
  }
  else if ((-1 < (int)param_4) && ((int)param_4 < (int)ppuVar2)) {
    uVar3 = dcgettext(0,"%s: value %s for -%c option should be <= %ld\n",5);
    __fprintf_chk(*(undefined4 *)PTR_stderr_00027fc0,1,uVar3,uVar1,param_1,param_2,param_4);
    ppuVar2 = param_4;
    goto joined_r0x00013ff3;
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return ppuVar2;
  }
LAB_00014034:
                    /* WARNING: Subroutine does not return */
  FUN_0001ea00();
}

