
void gold::options::parse_uint(char *option_name,char *arg,int *retval)

{
  long lVar1;
  char *endptr;
  
  lVar1 = strtol(arg,&endptr,0);
  *retval = (int)lVar1;
  if ((*endptr == '\0') && (-1 < (int)lVar1)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  parse_uint(option_name,arg,(int *)endptr);
}



void FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)

{
  long lVar1;
  char *local_20;
  
  lVar1 = strtol(param_2,&local_20,0);
  *param_3 = (int)lVar1;
  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001b07a0(param_1,param_2);
}


PUSH R12
MOV R12,RDI
PUSH RBP
MOV RBP,RDX
XOR EDX,EDX
PUSH RBX
MOV RBX,RSI
MOV RDI,RBX
SUB RSP,0x10
LEA RSI,[RSP + 0x8]
CALL 0x0013e650
MOV RDX,qword ptr [RSP + 0x8]
MOV dword ptr [RBP],EAX
CMP byte ptr [RDX],0x0
JNZ 0x001b0cca
TEST EAX,EAX
JS 0x001b0cca
ADD RSP,0x10
POP RBX
POP RBP
POP R12
RET
MOV RSI,RBX
MOV RDI,R12
CALL 0x001b07a0
(translation_unit "void FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)\n\n{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001b07a0(param_1,param_2);\n}\n\n" (function_definition "void FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)\n\n{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001b07a0(param_1,param_2);\n}" primitive_type (function_declarator "FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)" identifier (parameter_list "(undefined8 param_1,char *param_2,int *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001b07a0(param_1,param_2);\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "lVar1 = strtol(param_2,&local_20,0);" (assignment_expression "lVar1 = strtol(param_2,&local_20,0)" identifier = (call_expression "strtol(param_2,&local_20,0)" identifier (argument_list "(param_2,&local_20,0)" ( identifier , (pointer_expression "&local_20" & identifier) , number_literal )))) ;) (expression_statement "*param_3 = (int)lVar1;" (assignment_expression "*param_3 = (int)lVar1" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }" if (parenthesized_expression "((*local_20 == '\0') && (-1 < (int)lVar1))" ( (binary_expression "(*local_20 == '\0') && (-1 < (int)lVar1)" (parenthesized_expression "(*local_20 == '\0')" ( (binary_expression "*local_20 == '\0'" (pointer_expression "*local_20" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(-1 < (int)lVar1)" ( (binary_expression "-1 < (int)lVar1" number_literal < (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_001b07a0(param_1,param_2);" (call_expression "FUN_001b07a0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) })))
(translation_unit "void gold::options::parse_uint(char *option_name,char *arg,int *retval)\n\n{\n  long lVar1;\n  char *endptr;\n  \n  lVar1 = strtol(arg,&endptr,0);\n  *retval = (int)lVar1;\n  if ((*endptr == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  parse_uint(option_name,arg,(int *)endptr);\n}\n\n" (function_definition "void gold::options::parse_uint(char *option_name,char *arg,int *retval)\n\n{\n  long lVar1;\n  char *endptr;\n  \n  lVar1 = strtol(arg,&endptr,0);\n  *retval = (int)lVar1;\n  if ((*endptr == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  parse_uint(option_name,arg,(int *)endptr);\n}" primitive_type (ERROR "gold::options::" identifier : : identifier : :) (function_declarator "parse_uint(char *option_name,char *arg,int *retval)" identifier (parameter_list "(char *option_name,char *arg,int *retval)" ( (parameter_declaration "char *option_name" primitive_type (pointer_declarator "*option_name" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "int *retval" primitive_type (pointer_declarator "*retval" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  char *endptr;\n  \n  lVar1 = strtol(arg,&endptr,0);\n  *retval = (int)lVar1;\n  if ((*endptr == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  parse_uint(option_name,arg,(int *)endptr);\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *endptr;" primitive_type (pointer_declarator "*endptr" * identifier) ;) (expression_statement "lVar1 = strtol(arg,&endptr,0);" (assignment_expression "lVar1 = strtol(arg,&endptr,0)" identifier = (call_expression "strtol(arg,&endptr,0)" identifier (argument_list "(arg,&endptr,0)" ( identifier , (pointer_expression "&endptr" & identifier) , number_literal )))) ;) (expression_statement "*retval = (int)lVar1;" (assignment_expression "*retval = (int)lVar1" (pointer_expression "*retval" * identifier) = (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((*endptr == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }" if (parenthesized_expression "((*endptr == '\0') && (-1 < (int)lVar1))" ( (binary_expression "(*endptr == '\0') && (-1 < (int)lVar1)" (parenthesized_expression "(*endptr == '\0')" ( (binary_expression "*endptr == '\0'" (pointer_expression "*endptr" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(-1 < (int)lVar1)" ( (binary_expression "-1 < (int)lVar1" number_literal < (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "parse_uint(option_name,arg,(int *)endptr);" (call_expression "parse_uint(option_name,arg,(int *)endptr)" identifier (argument_list "(option_name,arg,(int *)endptr)" ( identifier , identifier , (cast_expression "(int *)endptr" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })))
(translation_unit "void FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)\n\n{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    \n  FUN_001b07a0(param_1,param_2);\n}\n\n" (function_definition "void FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)\n\n{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    \n  FUN_001b07a0(param_1,param_2);\n}" primitive_type (function_declarator "FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)" identifier (parameter_list "(undefined8 param_1,char *param_2,int *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    \n  FUN_001b07a0(param_1,param_2);\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "lVar1 = strtol(param_2,&local_20,0);" (assignment_expression "lVar1 = strtol(param_2,&local_20,0)" identifier = (call_expression "strtol(param_2,&local_20,0)" identifier (argument_list "(param_2,&local_20,0)" ( identifier , (pointer_expression "&local_20" & identifier) , number_literal )))) ;) (expression_statement "*param_3 = (int)lVar1;" (assignment_expression "*param_3 = (int)lVar1" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }" if (parenthesized_expression "((*local_20 == '\0') && (-1 < (int)lVar1))" ( (binary_expression "(*local_20 == '\0') && (-1 < (int)lVar1)" (parenthesized_expression "(*local_20 == '\0')" ( (binary_expression "*local_20 == '\0'" (pointer_expression "*local_20" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(-1 < (int)lVar1)" ( (binary_expression "-1 < (int)lVar1" number_literal < (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_001b07a0(param_1,param_2);" (call_expression "FUN_001b07a0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })))
(function_definition "void FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)\n\n{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    \n  FUN_001b07a0(param_1,param_2);\n}" (primitive_type "void") (function_declarator "FUN_001b0c90(undefined8 param_1,char *param_2,int *param_3)" (identifier "FUN_001b0c90") (parameter_list "(undefined8 param_1,char *param_2,int *param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  long lVar1;\n  char *local_20;\n  \n  lVar1 = strtol(param_2,&local_20,0);\n  *param_3 = (int)lVar1;\n  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }\n                    \n  FUN_001b07a0(param_1,param_2);\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "char *local_20;" (primitive_type "char") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (expression_statement "lVar1 = strtol(param_2,&local_20,0);" (assignment_expression "lVar1 = strtol(param_2,&local_20,0)" (identifier "lVar1") (= "=") (call_expression "strtol(param_2,&local_20,0)" (identifier "strtol") (argument_list "(param_2,&local_20,0)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*param_3 = (int)lVar1;" (assignment_expression "*param_3 = (int)lVar1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(int)lVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar1"))) (; ";")) (if_statement "if ((*local_20 == '\0') && (-1 < (int)lVar1)) {\n    return;\n  }" (if "if") (parenthesized_expression "((*local_20 == '\0') && (-1 < (int)lVar1))" (( "(") (binary_expression "(*local_20 == '\0') && (-1 < (int)lVar1)" (parenthesized_expression "(*local_20 == '\0')" (( "(") (binary_expression "*local_20 == '\0'" (pointer_expression "*local_20" (* "*") (identifier "local_20")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(-1 < (int)lVar1)" (( "(") (binary_expression "-1 < (int)lVar1" (number_literal "-1") (< "<") (cast_expression "(int)lVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar1"))) () ")"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001b07a0(param_1,param_2);" (call_expression "FUN_001b07a0(param_1,param_2)" (identifier "FUN_001b07a0") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

void gold::options::function_1(char *option_name,char *arg,int *retval)

{
  long lVar1;
  char *endptr;
  
  lVar1 = var_1(arg,&endptr,0);
  *retval = (int)lVar1;
  if ((*endptr == '\0') && (-1 < (int)lVar1)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  function_1(option_name,arg,(int *)endptr);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))))

void MASKED(undefined8 param_1,char *param_2,int *param_3)

{
  long lVar1;
  char *local_20;
  
  lVar1 = strtol(param_2,&local_20,0);
  *param_3 = (int)lVar1;
  if ((*local_20 == '\0') && (-1 < (int)lVar1)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001b07a0(param_1,param_2);
}

