
bfd_vma parse_number(char **pp,bfd_boolean *poverflow,char *p_end)

{
  char *__nptr;
  int *piVar1;
  bfd_vma bVar2;
  char *err;
  
  if (poverflow != (bfd_boolean *)0x0) {
    *poverflow = 0;
  }
  __nptr = *pp;
  bVar2 = 0;
  if ((__nptr < p_end) && (*__nptr != '\0')) {
    piVar1 = __errno_location();
    *piVar1 = 0;
    bVar2 = strtoul(__nptr,pp,0);
    if ((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {
      if (poverflow == (bfd_boolean *)0x0) {
        err = (char *)dcgettext(0,"numeric overflow",5);
        warn_stab(__nptr,err);
        bVar2 = 0;
      }
      else {
        *poverflow = 1;
        bVar2 = 0;
      }
    }
  }
  return bVar2;
}



ulong FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)

{
  char *__nptr;
  int *piVar1;
  ulong uVar2;
  undefined8 uVar3;
  
  if (param_2 != (undefined4 *)0x0) {
    *param_2 = 0;
  }
  __nptr = *param_1;
  uVar2 = 0;
  if ((__nptr < param_3) && (*__nptr != '\0')) {
    piVar1 = __errno_location();
    *piVar1 = 0;
    uVar2 = strtoul(__nptr,param_1,0);
    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {
      if (param_2 == (undefined4 *)0x0) {
        uVar3 = dcgettext(0,"numeric overflow",5);
        FUN_00110440(__nptr,uVar3);
        uVar2 = 0;
      }
      else {
        *param_2 = 1;
        uVar2 = 0;
      }
    }
  }
  return uVar2;
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
TEST RSI,RSI
JZ 0x00110585
MOV dword ptr [RSI],0x0
MOV RBP,qword ptr [RDI]
XOR EAX,EAX
CMP RBP,RDX
JNC 0x00110595
CMP byte ptr [RBP],0x0
JNZ 0x001105a0
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
MOV R12,RDI
MOV RBX,RSI
CALL 0x001040a0
XOR EDX,EDX
MOV RSI,R12
MOV RDI,RBP
MOV dword ptr [RAX],0x0
MOV R13,RAX
CALL 0x001047d0
CMP RAX,-0x1
JNZ 0x00110595
MOV EDX,dword ptr [R13]
TEST EDX,EDX
JZ 0x00110595
TEST RBX,RBX
JZ 0x001105de
MOV dword ptr [RBX],0x1
XOR EAX,EAX
JMP 0x00110595
MOV EDX,0x5
LEA RSI,[0x122f54]
XOR EDI,EDI
CALL 0x00104240
MOV RDI,RBP
MOV RSI,RAX
CALL 0x00110440
XOR EAX,EAX
JMP 0x00110595
(translation_unit "ulong FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "ulong FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)" identifier (parameter_list "(char **param_1,undefined4 *param_2,char *param_3)" ( (parameter_declaration "char **param_1" primitive_type (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier))) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = 0;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (expression_statement "__nptr = *param_1;" (assignment_expression "__nptr = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }" if (parenthesized_expression "((__nptr < param_3) && (*__nptr != '\0'))" ( (binary_expression "(__nptr < param_3) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < param_3)" ( (binary_expression "__nptr < param_3" identifier < identifier) )) && (parenthesized_expression "(*__nptr != '\0')" ( (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }" { (expression_statement "piVar1 = __errno_location();" (assignment_expression "piVar1 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "uVar2 = strtoul(__nptr,param_1,0);" (assignment_expression "uVar2 = strtoul(__nptr,param_1,0)" identifier = (call_expression "strtoul(__nptr,param_1,0)" identifier (argument_list "(__nptr,param_1,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }" if (parenthesized_expression "((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0))" ( (binary_expression "(uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)" (parenthesized_expression "(uVar2 == 0xffffffffffffffff)" ( (binary_expression "uVar2 == 0xffffffffffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }" { (expression_statement "uVar3 = dcgettext(0,"numeric overflow",5);" (assignment_expression "uVar3 = dcgettext(0,"numeric overflow",5)" identifier = (call_expression "dcgettext(0,"numeric overflow",5)" identifier (argument_list "(0,"numeric overflow",5)" ( number_literal , (string_literal ""numeric overflow"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00110440(__nptr,uVar3);" (call_expression "FUN_00110440(__nptr,uVar3)" identifier (argument_list "(__nptr,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }" else (compound_statement "{\n        *param_2 = 1;\n        uVar2 = 0;\n      }" { (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) })) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "bfd_vma parse_number(char **pp,bfd_boolean *poverflow,char *p_end)\n\n{\n  char *__nptr;\n  int *piVar1;\n  bfd_vma bVar2;\n  char *err;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = *pp;\n  bVar2 = 0;\n  if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    bVar2 = strtoul(__nptr,pp,0);\n    if ((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }\n    }\n  }\n  return bVar2;\n}\n\n" (function_definition "bfd_vma parse_number(char **pp,bfd_boolean *poverflow,char *p_end)\n\n{\n  char *__nptr;\n  int *piVar1;\n  bfd_vma bVar2;\n  char *err;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = *pp;\n  bVar2 = 0;\n  if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    bVar2 = strtoul(__nptr,pp,0);\n    if ((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }\n    }\n  }\n  return bVar2;\n}" type_identifier (function_declarator "parse_number(char **pp,bfd_boolean *poverflow,char *p_end)" identifier (parameter_list "(char **pp,bfd_boolean *poverflow,char *p_end)" ( (parameter_declaration "char **pp" primitive_type (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "bfd_boolean *poverflow" type_identifier (pointer_declarator "*poverflow" * identifier)) , (parameter_declaration "char *p_end" primitive_type (pointer_declarator "*p_end" * identifier)) ))) (compound_statement "{\n  char *__nptr;\n  int *piVar1;\n  bfd_vma bVar2;\n  char *err;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = *pp;\n  bVar2 = 0;\n  if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    bVar2 = strtoul(__nptr,pp,0);\n    if ((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }\n    }\n  }\n  return bVar2;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "bfd_vma bVar2;" type_identifier identifier ;) (declaration "char *err;" primitive_type (pointer_declarator "*err" * identifier) ;) (if_statement "if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }" if (parenthesized_expression "(poverflow != (bfd_boolean *)0x0)" ( (binary_expression "poverflow != (bfd_boolean *)0x0" identifier != (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *poverflow = 0;\n  }" { (expression_statement "*poverflow = 0;" (assignment_expression "*poverflow = 0" (pointer_expression "*poverflow" * identifier) = number_literal) ;) })) (expression_statement "__nptr = *pp;" (assignment_expression "__nptr = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (if_statement "if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    bVar2 = strtoul(__nptr,pp,0);\n    if ((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }\n    }\n  }" if (parenthesized_expression "((__nptr < p_end) && (*__nptr != '\0'))" ( (binary_expression "(__nptr < p_end) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < p_end)" ( (binary_expression "__nptr < p_end" identifier < identifier) )) && (parenthesized_expression "(*__nptr != '\0')" ( (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    bVar2 = strtoul(__nptr,pp,0);\n    if ((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }\n    }\n  }" { (expression_statement "piVar1 = __errno_location();" (assignment_expression "piVar1 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "bVar2 = strtoul(__nptr,pp,0);" (assignment_expression "bVar2 = strtoul(__nptr,pp,0)" identifier = (call_expression "strtoul(__nptr,pp,0)" identifier (argument_list "(__nptr,pp,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }\n    }" if (parenthesized_expression "((bVar2 == 0xffffffffffffffff) && (*piVar1 != 0))" ( (binary_expression "(bVar2 == 0xffffffffffffffff) && (*piVar1 != 0)" (parenthesized_expression "(bVar2 == 0xffffffffffffffff)" ( (binary_expression "bVar2 == 0xffffffffffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }\n    }" { (if_statement "if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }" if (parenthesized_expression "(poverflow == (bfd_boolean *)0x0)" ( (binary_expression "poverflow == (bfd_boolean *)0x0" identifier == (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar2 = 0;\n      }" { (expression_statement "err = (char *)dcgettext(0,"numeric overflow",5);" (assignment_expression "err = (char *)dcgettext(0,"numeric overflow",5)" identifier = (cast_expression "(char *)dcgettext(0,"numeric overflow",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"numeric overflow",5)" identifier (argument_list "(0,"numeric overflow",5)" ( number_literal , (string_literal ""numeric overflow"" " string_content ") , number_literal ))))) ;) (expression_statement "warn_stab(__nptr,err);" (call_expression "warn_stab(__nptr,err)" identifier (argument_list "(__nptr,err)" ( identifier , identifier ))) ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *poverflow = 1;\n        bVar2 = 0;\n      }" else (compound_statement "{\n        *poverflow = 1;\n        bVar2 = 0;\n      }" { (expression_statement "*poverflow = 1;" (assignment_expression "*poverflow = 1" (pointer_expression "*poverflow" * identifier) = number_literal) ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) }))) })) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit "ulong FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "ulong FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)" identifier (parameter_list "(char **param_1,undefined4 *param_2,char *param_3)" ( (parameter_declaration "char **param_1" primitive_type (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier))) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = 0;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (expression_statement "__nptr = *param_1;" (assignment_expression "__nptr = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }" if (parenthesized_expression "((__nptr < param_3) && (*__nptr != '\0'))" ( (binary_expression "(__nptr < param_3) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < param_3)" ( (binary_expression "__nptr < param_3" identifier < identifier) )) && (parenthesized_expression "(*__nptr != '\0')" ( (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }" { (expression_statement "piVar1 = __errno_location();" (assignment_expression "piVar1 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "uVar2 = strtoul(__nptr,param_1,0);" (assignment_expression "uVar2 = strtoul(__nptr,param_1,0)" identifier = (call_expression "strtoul(__nptr,param_1,0)" identifier (argument_list "(__nptr,param_1,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }" if (parenthesized_expression "((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0))" ( (binary_expression "(uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)" (parenthesized_expression "(uVar2 == 0xffffffffffffffff)" ( (binary_expression "uVar2 == 0xffffffffffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }" { (expression_statement "uVar3 = dcgettext(0,"numeric overflow",5);" (assignment_expression "uVar3 = dcgettext(0,"numeric overflow",5)" identifier = (call_expression "dcgettext(0,"numeric overflow",5)" identifier (argument_list "(0,"numeric overflow",5)" ( number_literal , (string_literal ""numeric overflow"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00110440(__nptr,uVar3);" (call_expression "FUN_00110440(__nptr,uVar3)" identifier (argument_list "(__nptr,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }" else (compound_statement "{\n        *param_2 = 1;\n        uVar2 = 0;\n      }" { (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) })) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * IDENT))) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) })) (return_statement return IDENT ;) })))
(function_definition "ulong FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}" (type_identifier "ulong") (function_declarator "FUN_00110570(char **param_1,undefined4 *param_2,char *param_3)" (identifier "FUN_00110570") (parameter_list "(char **param_1,undefined4 *param_2,char *param_3)" (( "(") (parameter_declaration "char **param_1" (primitive_type "char") (pointer_declarator "**param_1" (* "*") (pointer_declarator "*param_1" (* "*") (identifier "param_1")))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  char *__nptr;\n  int *piVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar2 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }\n  return uVar2;\n}" ({ "{") (declaration "char *__nptr;" (primitive_type "char") (pointer_declarator "*__nptr" (* "*") (identifier "__nptr")) (; ";")) (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" (if "if") (parenthesized_expression "(param_2 != (undefined4 *)0x0)" (( "(") (binary_expression "param_2 != (undefined4 *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_2 = 0;\n  }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "__nptr = *param_1;" (assignment_expression "__nptr = *param_1" (identifier "__nptr") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((__nptr < param_3) && (*__nptr != '\0'))" (( "(") (binary_expression "(__nptr < param_3) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < param_3)" (( "(") (binary_expression "__nptr < param_3" (identifier "__nptr") (< "<") (identifier "param_3")) () ")")) (&& "&&") (parenthesized_expression "(*__nptr != '\0')" (( "(") (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" (* "*") (identifier "__nptr")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    piVar1 = __errno_location();\n    *piVar1 = 0;\n    uVar2 = strtoul(__nptr,param_1,0);\n    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }\n  }" ({ "{") (expression_statement "piVar1 = __errno_location();" (assignment_expression "piVar1 = __errno_location()" (identifier "piVar1") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = strtoul(__nptr,param_1,0);" (assignment_expression "uVar2 = strtoul(__nptr,param_1,0)" (identifier "uVar2") (= "=") (call_expression "strtoul(__nptr,param_1,0)" (identifier "strtoul") (argument_list "(__nptr,param_1,0)" (( "(") (identifier "__nptr") (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }" (if "if") (parenthesized_expression "((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0))" (( "(") (binary_expression "(uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)" (parenthesized_expression "(uVar2 == 0xffffffffffffffff)" (( "(") (binary_expression "uVar2 == 0xffffffffffffffff" (identifier "uVar2") (== "==") (number_literal "0xffffffffffffffff")) () ")")) (&& "&&") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }\n    }" ({ "{") (if_statement "if (param_2 == (undefined4 *)0x0) {\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar3 = dcgettext(0,"numeric overflow",5);\n        FUN_00110440(__nptr,uVar3);\n        uVar2 = 0;\n      }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"numeric overflow",5);" (assignment_expression "uVar3 = dcgettext(0,"numeric overflow",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"numeric overflow",5)" (identifier "dcgettext") (argument_list "(0,"numeric overflow",5)" (( "(") (number_literal "0") (, ",") (string_literal ""numeric overflow"" (" """) (string_content "numeric overflow") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00110440(__nptr,uVar3);" (call_expression "FUN_00110440(__nptr,uVar3)" (identifier "FUN_00110440") (argument_list "(__nptr,uVar3)" (( "(") (identifier "__nptr") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        *param_2 = 1;\n        uVar2 = 0;\n      }" (else "else") (compound_statement "{\n        *param_2 = 1;\n        uVar2 = 0;\n      }" ({ "{") (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

type_1 function_1(char **pp,type_2 *var_1,char *var_3)

{
  char *var_2;
  int *piVar1;
  type_1 var_6;
  char *err;
  
  if (var_1 != (type_2 *)0x0) {
    *var_1 = 0;
  }
  var_2 = *pp;
  var_6 = 0;
  if ((var_2 < var_3) && (*var_2 != '\0')) {
    piVar1 = var_4();
    *piVar1 = 0;
    var_6 = var_5(var_2,pp,0);
    if ((var_6 == 0xffffffffffffffff) && (*piVar1 != 0)) {
      if (var_1 == (type_2 *)0x0) {
        err = (char *)var_7(0,"numeric overflow",5);
        var_8(var_2,err);
        var_6 = 0;
      }
      else {
        *var_1 = 1;
        var_6 = 0;
      }
    }
  }
  return var_6;
}


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

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

{
  char *__nptr;
  int *piVar1;
  ulong uVar2;
  undefined8 uVar3;
  
  if (param_2 != (undefined4 *)0x0) {
    *param_2 = 0;
  }
  __nptr = *param_1;
  uVar2 = 0;
  if ((__nptr < param_3) && (*__nptr != '\0')) {
    piVar1 = __errno_location();
    *piVar1 = 0;
    uVar2 = strtoul(__nptr,param_1,0);
    if ((uVar2 == 0xffffffffffffffff) && (*piVar1 != 0)) {
      if (param_2 == (undefined4 *)0x0) {
        uVar3 = dcgettext(0,"numeric overflow",5);
        FUN_00110440(__nptr,uVar3);
        uVar2 = 0;
      }
      else {
        *param_2 = 1;
        uVar2 = 0;
      }
    }
  }
  return uVar2;
}

