
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

void script_parse_option(void *closurev,char *option,size_t length)

{
  Command_line *this;
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  char *format;
  bool past_a_double_dash_option;
  char *mutable_option;
  undefined4 uStack_14;
  
  uStack_14 = 0x16aca9;
  this = *(Command_line **)((int)closurev + 0x1c);
  if (this == (Command_line *)0x0) {
    uVar1 = *(undefined4 *)((int)closurev + 0x30);
    uVar2 = *(undefined4 *)((int)closurev + 0x2c);
                    /* WARNING: Load size is inaccurate */
    uVar3 = *closurev;
    format = (char *)gettext(
                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"
                            );
    gold::gold_warning(format,uVar3,uVar2,uVar1);
    *(undefined1 *)((int)closurev + 0x17) = 0;
    return;
  }
  past_a_double_dash_option = false;
  mutable_option = strndup(option,length);
  if (mutable_option != (char *)0x0) {
    gold::Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);
    *(undefined1 *)((int)closurev + 0x17) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable("../../gold/script.cc",0xb30,"script_parse_option");
}



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

void FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined1 local_21;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x16aca9;
  iVar1 = param_1[7];
  if (iVar1 == 0) {
    uVar2 = param_1[0xc];
    uVar3 = param_1[0xb];
    uVar4 = *param_1;
    uVar5 = gettext(
                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"
                   );
    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);
    *(undefined1 *)((int)param_1 + 0x17) = 0;
    return;
  }
  local_21 = 0;
  local_20[0] = strndup(param_2,param_3);
  if (local_20[0] != (char *)0x0) {
    FUN_000e6c60(iVar1,1,local_20,0,&local_21);
    *(undefined1 *)((int)param_1 + 0x17) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x224357
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x40]
MOV EDI,dword ptr [ESI + 0x1c]
TEST EDI,EDI
JZ 0x0016ad08
MOV byte ptr [ESP + 0x1b],0x0
SUB ESP,0x8
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x50]
CALL 0x000298b0
MOV dword ptr [ESP + 0x2c],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0016ad42
SUB ESP,0xc
LEA EAX,[ESP + 0x27]
PUSH EAX
PUSH 0x0
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH 0x1
PUSH EDI
CALL 0x000e6c60
ADD ESP,0x20
MOV byte ptr [ESI + 0x17],0x0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x30]
SUB ESP,0xc
LEA EAX,[EBX + 0xfff0a20c]
MOV EBP,dword ptr [ESI + 0x2c]
MOV EDI,dword ptr [ESI]
MOV dword ptr [ESP + 0x18],EDX
PUSH EAX
CALL 0x000293b0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
PUSH EDX
PUSH EBP
PUSH EDI
PUSH EAX
CALL 0x000654e0
ADD ESP,0x10
MOV byte ptr [ESI + 0x17],0x0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xfff0a0d0]
PUSH EAX
LEA EAX,[EBX + 0xfff0910c]
PUSH 0xb30
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}\n\n" comment (function_definition "void FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}" primitive_type (function_declarator "FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,size_t param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16aca9;" (assignment_expression "uStack_14 = 0x16aca9" identifier = number_literal) ;) (expression_statement "iVar1 = param_1[7];" (assignment_expression "iVar1 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" { (expression_statement "uVar2 = param_1[0xc];" (assignment_expression "uVar2 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_1[0xb];" (assignment_expression "uVar3 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );" (assignment_expression "uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" identifier = (call_expression "gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" identifier (argument_list "(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" ( (string_literal ""%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"" " string_content ") )))) ;) (expression_statement "FUN_000654e0(uVar5,uVar4,uVar3,uVar2);" (call_expression "FUN_000654e0(uVar5,uVar4,uVar3,uVar2)" identifier (argument_list "(uVar5,uVar4,uVar3,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x17)" * (cast_expression "(undefined1 *)((int)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x17)" ( (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "local_21 = 0;" (assignment_expression "local_21 = 0" identifier = number_literal) ;) (expression_statement "local_20[0] = strndup(param_2,param_3);" (assignment_expression "local_20[0] = strndup(param_2,param_3)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "strndup(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" if (parenthesized_expression "(local_20[0] != (char *)0x0)" ( (binary_expression "local_20[0] != (char *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" { (expression_statement "FUN_000e6c60(iVar1,1,local_20,0,&local_21);" (call_expression "FUN_000e6c60(iVar1,1,local_20,0,&local_21)" identifier (argument_list "(iVar1,1,local_20,0,&local_21)" ( identifier , number_literal , identifier , number_literal , (pointer_expression "&local_21" & identifier) ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x17)" * (cast_expression "(undefined1 *)((int)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x17)" ( (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);" (call_expression "FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0)" identifier (argument_list "("../../gold/script.cc",0xb30,"script_parse_option",0)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""script_parse_option"" " string_content ") , number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "DT": Some values do not have unique names */\n\nvoid script_parse_option(void *closurev,char *option,size_t length)\n\n{\n  Command_line *this;\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char *format;\n  bool past_a_double_dash_option;\n  char *mutable_option;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  this = *(Command_line **)((int)closurev + 0x1c);\n  if (this == (Command_line *)0x0) {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            );\n    gold::gold_warning(format,uVar3,uVar2,uVar1);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }\n  past_a_double_dash_option = false;\n  mutable_option = strndup(option,length);\n  if (mutable_option != (char *)0x0) {\n    gold::Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/script.cc",0xb30,"script_parse_option");\n}\n\n" comment comment comment (function_definition "void script_parse_option(void *closurev,char *option,size_t length)\n\n{\n  Command_line *this;\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char *format;\n  bool past_a_double_dash_option;\n  char *mutable_option;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  this = *(Command_line **)((int)closurev + 0x1c);\n  if (this == (Command_line *)0x0) {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            );\n    gold::gold_warning(format,uVar3,uVar2,uVar1);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }\n  past_a_double_dash_option = false;\n  mutable_option = strndup(option,length);\n  if (mutable_option != (char *)0x0) {\n    gold::Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/script.cc",0xb30,"script_parse_option");\n}" primitive_type (function_declarator "script_parse_option(void *closurev,char *option,size_t length)" identifier (parameter_list "(void *closurev,char *option,size_t length)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *option" primitive_type (pointer_declarator "*option" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  Command_line *this;\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char *format;\n  bool past_a_double_dash_option;\n  char *mutable_option;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  this = *(Command_line **)((int)closurev + 0x1c);\n  if (this == (Command_line *)0x0) {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            );\n    gold::gold_warning(format,uVar3,uVar2,uVar1);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }\n  past_a_double_dash_option = false;\n  mutable_option = strndup(option,length);\n  if (mutable_option != (char *)0x0) {\n    gold::Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/script.cc",0xb30,"script_parse_option");\n}" { (declaration "Command_line *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "bool past_a_double_dash_option;" primitive_type identifier ;) (declaration "char *mutable_option;" primitive_type (pointer_declarator "*mutable_option" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16aca9;" (assignment_expression "uStack_14 = 0x16aca9" identifier = number_literal) ;) (expression_statement "this = *(Command_line **)((int)closurev + 0x1c);" (assignment_expression "this = *(Command_line **)((int)closurev + 0x1c)" identifier = (pointer_expression "*(Command_line **)((int)closurev + 0x1c)" * (cast_expression "(Command_line **)((int)closurev + 0x1c)" ( (type_descriptor "Command_line **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x1c)" ( (binary_expression "(int)closurev + 0x1c" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (this == (Command_line *)0x0) {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            );\n    gold::gold_warning(format,uVar3,uVar2,uVar1);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }" if (parenthesized_expression "(this == (Command_line *)0x0)" ( (binary_expression "this == (Command_line *)0x0" identifier == (cast_expression "(Command_line *)0x0" ( (type_descriptor "Command_line *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            );\n    gold::gold_warning(format,uVar3,uVar2,uVar1);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }" { (expression_statement "uVar1 = *(undefined4 *)((int)closurev + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)((int)closurev + 0x30)" identifier = (pointer_expression "*(undefined4 *)((int)closurev + 0x30)" * (cast_expression "(undefined4 *)((int)closurev + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x30)" ( (binary_expression "(int)closurev + 0x30" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)((int)closurev + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)((int)closurev + 0x2c)" identifier = (pointer_expression "*(undefined4 *)((int)closurev + 0x2c)" * (cast_expression "(undefined4 *)((int)closurev + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x2c)" ( (binary_expression "(int)closurev + 0x2c" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) comment (expression_statement "uVar3 = *closurev;" (assignment_expression "uVar3 = *closurev" identifier = (pointer_expression "*closurev" * identifier)) ;) (expression_statement "format = (char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            );" (assignment_expression "format = (char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            )" identifier = (cast_expression "(char *)gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            )" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            )" identifier (argument_list "(\n                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                            )" ( (string_literal ""%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"" " string_content ") ))))) ;) (labeled_statement "gold::gold_warning(format,uVar3,uVar2,uVar1);" statement_identifier : (ERROR ":" :) (expression_statement "gold_warning(format,uVar3,uVar2,uVar1);" (call_expression "gold_warning(format,uVar3,uVar2,uVar1)" identifier (argument_list "(format,uVar3,uVar2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;)) (expression_statement "*(undefined1 *)((int)closurev + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)closurev + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)closurev + 0x17)" * (cast_expression "(undefined1 *)((int)closurev + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x17)" ( (binary_expression "(int)closurev + 0x17" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "past_a_double_dash_option = false;" (assignment_expression "past_a_double_dash_option = false" identifier = false) ;) (expression_statement "mutable_option = strndup(option,length);" (assignment_expression "mutable_option = strndup(option,length)" identifier = (call_expression "strndup(option,length)" identifier (argument_list "(option,length)" ( identifier , identifier )))) ;) (if_statement "if (mutable_option != (char *)0x0) {\n    gold::Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }" if (parenthesized_expression "(mutable_option != (char *)0x0)" ( (binary_expression "mutable_option != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    gold::Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);\n    *(undefined1 *)((int)closurev + 0x17) = 0;\n    return;\n  }" { (labeled_statement "gold::Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);" statement_identifier : (ERROR ":" :) (labeled_statement "Command_line::process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);" statement_identifier : (ERROR ":" :) (expression_statement "process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option);" (call_expression "process_one_option(this,1,&mutable_option,0,&past_a_double_dash_option)" identifier (argument_list "(this,1,&mutable_option,0,&past_a_double_dash_option)" ( identifier , number_literal , (pointer_expression "&mutable_option" & identifier) , number_literal , (pointer_expression "&past_a_double_dash_option" & identifier) ))) ;))) (expression_statement "*(undefined1 *)((int)closurev + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)closurev + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)closurev + 0x17)" * (cast_expression "(undefined1 *)((int)closurev + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x17)" ( (binary_expression "(int)closurev + 0x17" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) comment (labeled_statement "gold::do_gold_unreachable("../../gold/script.cc",0xb30,"script_parse_option");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/script.cc",0xb30,"script_parse_option");" (call_expression "do_gold_unreachable("../../gold/script.cc",0xb30,"script_parse_option")" identifier (argument_list "("../../gold/script.cc",0xb30,"script_parse_option")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""script_parse_option"" " string_content ") ))) ;)) })))
(translation_unit "void FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}\n\n" (function_definition "void FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}" primitive_type (function_declarator "FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,size_t param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16aca9;" (assignment_expression "uStack_14 = 0x16aca9" identifier = number_literal) ;) (expression_statement "iVar1 = param_1[7];" (assignment_expression "iVar1 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" { (expression_statement "uVar2 = param_1[0xc];" (assignment_expression "uVar2 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_1[0xb];" (assignment_expression "uVar3 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );" (assignment_expression "uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" identifier = (call_expression "gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" identifier (argument_list "(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" ( (string_literal ""%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"" " string_content ") )))) ;) (expression_statement "FUN_000654e0(uVar5,uVar4,uVar3,uVar2);" (call_expression "FUN_000654e0(uVar5,uVar4,uVar3,uVar2)" identifier (argument_list "(uVar5,uVar4,uVar3,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x17)" * (cast_expression "(undefined1 *)((int)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x17)" ( (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "local_21 = 0;" (assignment_expression "local_21 = 0" identifier = number_literal) ;) (expression_statement "local_20[0] = strndup(param_2,param_3);" (assignment_expression "local_20[0] = strndup(param_2,param_3)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "strndup(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" if (parenthesized_expression "(local_20[0] != (char *)0x0)" ( (binary_expression "local_20[0] != (char *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" { (expression_statement "FUN_000e6c60(iVar1,1,local_20,0,&local_21);" (call_expression "FUN_000e6c60(iVar1,1,local_20,0,&local_21)" identifier (argument_list "(iVar1,1,local_20,0,&local_21)" ( identifier , number_literal , identifier , number_literal , (pointer_expression "&local_21" & identifier) ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x17)" * (cast_expression "(undefined1 *)((int)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x17)" ( (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);" (call_expression "FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0)" identifier (argument_list "("../../gold/script.cc",0xb30,"script_parse_option",0)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""script_parse_option"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , LIT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "void FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}" (primitive_type "void") (function_declarator "FUN_0016aca0(undefined4 *param_1,char *param_2,size_t param_3)" (identifier "FUN_0016aca0") (parameter_list "(undefined4 *param_1,char *param_2,size_t param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "size_t param_3" (primitive_type "size_t") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined1 local_21;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16aca9;\n  iVar1 = param_1[7];\n  if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n  local_21 = 0;\n  local_20[0] = strndup(param_2,param_3);\n  if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined1 local_21;" (type_identifier "undefined1") (identifier "local_21") (; ";")) (declaration "char *local_20 [3];" (primitive_type "char") (pointer_declarator "*local_20 [3]" (* "*") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]"))) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x16aca9;" (assignment_expression "uStack_14 = 0x16aca9" (identifier "uStack_14") (= "=") (number_literal "0x16aca9")) (; ";")) (expression_statement "iVar1 = param_1[7];" (assignment_expression "iVar1 = param_1[7]" (identifier "iVar1") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = param_1[0xc];\n    uVar3 = param_1[0xb];\n    uVar4 = *param_1;\n    uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );\n    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" ({ "{") (expression_statement "uVar2 = param_1[0xc];" (assignment_expression "uVar2 = param_1[0xc]" (identifier "uVar2") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "uVar3 = param_1[0xb];" (assignment_expression "uVar3 = param_1[0xb]" (identifier "uVar3") (= "=") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   );" (assignment_expression "uVar5 = gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" (identifier "uVar5") (= "=") (call_expression "gettext(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" (identifier "gettext") (argument_list "(\n                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"\n                   )" (( "(") (string_literal ""%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"" (" """) (string_content "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654e0(uVar5,uVar4,uVar3,uVar2);" (call_expression "FUN_000654e0(uVar5,uVar4,uVar3,uVar2)" (identifier "FUN_000654e0") (argument_list "(uVar5,uVar4,uVar3,uVar2)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar4") (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x17)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x17)" (( "(") (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_21 = 0;" (assignment_expression "local_21 = 0" (identifier "local_21") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20[0] = strndup(param_2,param_3);" (assignment_expression "local_20[0] = strndup(param_2,param_3)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (call_expression "strndup(param_2,param_3)" (identifier "strndup") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (local_20[0] != (char *)0x0) {\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(local_20[0] != (char *)0x0)" (( "(") (binary_expression "local_20[0] != (char *)0x0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_000e6c60(iVar1,1,local_20,0,&local_21);\n    *(undefined1 *)((int)param_1 + 0x17) = 0;\n    return;\n  }" ({ "{") (expression_statement "FUN_000e6c60(iVar1,1,local_20,0,&local_21);" (call_expression "FUN_000e6c60(iVar1,1,local_20,0,&local_21)" (identifier "FUN_000e6c60") (argument_list "(iVar1,1,local_20,0,&local_21)" (( "(") (identifier "iVar1") (, ",") (number_literal "1") (, ",") (identifier "local_20") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_21" (& "&") (identifier "local_21")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x17)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x17)" (( "(") (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);" (call_expression "FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/script.cc",0xb30,"script_parse_option",0)" (( "(") (string_literal ""../../gold/script.cc"" (" """) (string_content "../../gold/script.cc") (" """)) (, ",") (number_literal "0xb30") (, ",") (string_literal ""script_parse_option"" (" """) (string_content "script_parse_option") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

void function_1(void *closurev,char *option,size_t length)

{
  type_1 *var_1;
  type_2 uVar1;
  type_2 uVar2;
  type_2 uVar3;
  char *format;
  bool past_a_double_dash_option;
  char *var_5;
  type_2 uStack_14;
  
  uStack_14 = 0x16aca9;
  var_1 = *(type_1 **)((int)closurev + 0x1c);
  if (var_1 == (type_1 *)0x0) {
    uVar1 = *(type_2 *)((int)closurev + 0x30);
    uVar2 = *(type_2 *)((int)closurev + 0x2c);
                    /* WARNING: Load size is inaccurate */
    uVar3 = *closurev;
    format = (char *)var_2(
                            "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"
                            );
    gold::var_3(format,uVar3,uVar2,uVar1);
    *(type_3 *)((int)closurev + 0x17) = 0;
    return;
  }
  past_a_double_dash_option = false;
  var_5 = var_4(option,length);
  if (var_5 != (char *)0x0) {
    gold::Command_line::var_6(var_1,1,&var_5,0,&past_a_double_dash_option);
    *(type_3 *)((int)closurev + 0x17) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::var_7("../../gold/script.cc",0xb30,"script_parse_option");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (number_literal) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (number_literal)))))))

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

void MASKED(undefined4 *param_1,char *param_2,size_t param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined1 local_21;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x16aca9;
  iVar1 = param_1[7];
  if (iVar1 == 0) {
    uVar2 = param_1[0xc];
    uVar3 = param_1[0xb];
    uVar4 = *param_1;
    uVar5 = gettext(
                   "%s:%d:%d: ignoring command OPTION; OPTION is only valid for scripts specified via -T/--script"
                   );
    FUN_000654e0(uVar5,uVar4,uVar3,uVar2);
    *(undefined1 *)((int)param_1 + 0x17) = 0;
    return;
  }
  local_21 = 0;
  local_20[0] = strndup(param_2,param_3);
  if (local_20[0] != (char *)0x0) {
    FUN_000e6c60(iVar1,1,local_20,0,&local_21);
    *(undefined1 *)((int)param_1 + 0x17) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/script.cc",0xb30,"script_parse_option",0);
}

