
/* WARNING: Enum "DT": Some values do not have unique names */

void script_data_segment_align(void *closurev)

{
  uint uVar1;
  uint uVar2;
  undefined8 uVar3;
  char *format;
  Parser_closure *closure;
  
  if (*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0') {
    uVar1 = *(uint *)((long)closurev + 0x44);
    uVar2 = *(uint *)((long)closurev + 0x40);
                    /* WARNING: Load size is inaccurate */
    uVar3 = *closurev;
    format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");
    gold::gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);
    return;
  }
  gold::Script_sections::data_segment_align
            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148));
  return;
}



void FUN_0023f1f0(undefined8 *param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  
  if (*(char *)(param_1[5] + 0x148) == '\0') {
    uVar1 = *(undefined4 *)((long)param_1 + 0x44);
    uVar2 = *(undefined4 *)(param_1 + 8);
    uVar3 = *param_1;
    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");
    FUN_00191870(uVar4,uVar3,uVar2,uVar1);
    return;
  }
  FUN_00231880(param_1[5] + 0x148);
  return;
}


MOV RAX,qword ptr [RDI + 0x28]
CMP byte ptr [RAX + 0x148],0x0
JNZ 0x0023f230
PUSH R12
PUSH RBP
PUSH RBX
MOV R12D,dword ptr [RDI + 0x44]
MOV EBP,dword ptr [RDI + 0x40]
MOV RBX,qword ptr [RDI]
LEA RDI,[0x350448]
CALL 0x00144320
MOV ECX,R12D
MOV EDX,EBP
MOV RSI,RBX
MOV RDI,RAX
POP RBX
XOR EAX,EAX
POP RBP
POP R12
JMP 0x00191870
LEA RDI,[RAX + 0x148]
JMP 0x00231880
(translation_unit "void FUN_0023f1f0(undefined8 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}\n\n" (function_definition "void FUN_0023f1f0(undefined8 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}" primitive_type (function_declarator "FUN_0023f1f0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1[5] + 0x148) == '\0')" ( (binary_expression "*(char *)(param_1[5] + 0x148) == '\0'" (pointer_expression "*(char *)(param_1[5] + 0x148)" * (cast_expression "(char *)(param_1[5] + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[5] + 0x148)" ( (binary_expression "param_1[5] + 0x148" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }" { (expression_statement "uVar1 = *(undefined4 *)((long)param_1 + 0x44);" (assignment_expression "uVar1 = *(undefined4 *)((long)param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 *)((long)param_1 + 0x44)" * (cast_expression "(undefined4 *)((long)param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x44)" ( (binary_expression "(long)param_1 + 0x44" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");" (assignment_expression "uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" identifier = (call_expression "gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" identifier (argument_list "("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" ( (string_literal ""%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause"" " string_content ") )))) ;) (expression_statement "FUN_00191870(uVar4,uVar3,uVar2,uVar1);" (call_expression "FUN_00191870(uVar4,uVar3,uVar2,uVar1)" identifier (argument_list "(uVar4,uVar3,uVar2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00231880(param_1[5] + 0x148);" (call_expression "FUN_00231880(param_1[5] + 0x148)" identifier (argument_list "(param_1[5] + 0x148)" ( (binary_expression "param_1[5] + 0x148" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n\nvoid script_data_segment_align(void *closurev)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  char *format;\n  Parser_closure *closure;\n  \n  if (*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0') {\n    uVar1 = *(uint *)((long)closurev + 0x44);\n    uVar2 = *(uint *)((long)closurev + 0x40);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    gold::gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);\n    return;\n  }\n  gold::Script_sections::data_segment_align\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148));\n  return;\n}\n\n" comment (function_definition "void script_data_segment_align(void *closurev)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  char *format;\n  Parser_closure *closure;\n  \n  if (*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0') {\n    uVar1 = *(uint *)((long)closurev + 0x44);\n    uVar2 = *(uint *)((long)closurev + 0x40);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    gold::gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);\n    return;\n  }\n  gold::Script_sections::data_segment_align\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148));\n  return;\n}" primitive_type (function_declarator "script_data_segment_align(void *closurev)" identifier (parameter_list "(void *closurev)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  char *format;\n  Parser_closure *closure;\n  \n  if (*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0') {\n    uVar1 = *(uint *)((long)closurev + 0x44);\n    uVar2 = *(uint *)((long)closurev + 0x40);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    gold::gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);\n    return;\n  }\n  gold::Script_sections::data_segment_align\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148));\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "Parser_closure *closure;" type_identifier (pointer_declarator "*closure" * identifier) ;) (if_statement "if (*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0') {\n    uVar1 = *(uint *)((long)closurev + 0x44);\n    uVar2 = *(uint *)((long)closurev + 0x40);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    gold::gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);\n    return;\n  }" if (parenthesized_expression "(*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0')" ( (binary_expression "*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0'" (pointer_expression "*(char *)(*(long *)((long)closurev + 0x28) + 0x148)" * (cast_expression "(char *)(*(long *)((long)closurev + 0x28) + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)closurev + 0x28) + 0x148)" ( (binary_expression "*(long *)((long)closurev + 0x28) + 0x148" (pointer_expression "*(long *)((long)closurev + 0x28)" * (cast_expression "(long *)((long)closurev + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)closurev + 0x28)" ( (binary_expression "(long)closurev + 0x28" (cast_expression "(long)closurev" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = *(uint *)((long)closurev + 0x44);\n    uVar2 = *(uint *)((long)closurev + 0x40);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    gold::gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);\n    return;\n  }" { (expression_statement "uVar1 = *(uint *)((long)closurev + 0x44);" (assignment_expression "uVar1 = *(uint *)((long)closurev + 0x44)" identifier = (pointer_expression "*(uint *)((long)closurev + 0x44)" * (cast_expression "(uint *)((long)closurev + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)closurev + 0x44)" ( (binary_expression "(long)closurev + 0x44" (cast_expression "(long)closurev" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)((long)closurev + 0x40);" (assignment_expression "uVar2 = *(uint *)((long)closurev + 0x40)" identifier = (pointer_expression "*(uint *)((long)closurev + 0x40)" * (cast_expression "(uint *)((long)closurev + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)closurev + 0x40)" ( (binary_expression "(long)closurev + 0x40" (cast_expression "(long)closurev" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) comment (expression_statement "uVar3 = *closurev;" (assignment_expression "uVar3 = *closurev" identifier = (pointer_expression "*closurev" * identifier)) ;) (expression_statement "format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");" (assignment_expression "format = (char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" identifier = (cast_expression "(char *)gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" identifier (argument_list "("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" ( (string_literal ""%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause"" " string_content ") ))))) ;) (labeled_statement "gold::gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);" statement_identifier : (ERROR ":" :) (expression_statement "gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1);" (call_expression "gold_error(format,uVar3,(ulong)uVar2,(ulong)uVar1)" identifier (argument_list "(format,uVar3,(ulong)uVar2,(ulong)uVar1)" ( identifier , identifier , (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) , (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;)) (return_statement "return;" return ;) })) (labeled_statement "gold::Script_sections::data_segment_align\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148));" statement_identifier : (ERROR ":" :) (labeled_statement "Script_sections::data_segment_align\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148));" statement_identifier : (ERROR ":" :) (expression_statement "data_segment_align\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148));" (call_expression "data_segment_align\n            ((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148))" identifier (argument_list "((Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148))" ( (cast_expression "(Script_sections *)(*(long *)((long)closurev + 0x28) + 0x148)" ( (type_descriptor "Script_sections *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)closurev + 0x28) + 0x148)" ( (binary_expression "*(long *)((long)closurev + 0x28) + 0x148" (pointer_expression "*(long *)((long)closurev + 0x28)" * (cast_expression "(long *)((long)closurev + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)closurev + 0x28)" ( (binary_expression "(long)closurev + 0x28" (cast_expression "(long)closurev" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) ))) ))) ;))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0023f1f0(undefined8 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}\n\n" (function_definition "void FUN_0023f1f0(undefined8 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}" primitive_type (function_declarator "FUN_0023f1f0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1[5] + 0x148) == '\0')" ( (binary_expression "*(char *)(param_1[5] + 0x148) == '\0'" (pointer_expression "*(char *)(param_1[5] + 0x148)" * (cast_expression "(char *)(param_1[5] + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[5] + 0x148)" ( (binary_expression "param_1[5] + 0x148" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }" { (expression_statement "uVar1 = *(undefined4 *)((long)param_1 + 0x44);" (assignment_expression "uVar1 = *(undefined4 *)((long)param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 *)((long)param_1 + 0x44)" * (cast_expression "(undefined4 *)((long)param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x44)" ( (binary_expression "(long)param_1 + 0x44" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");" (assignment_expression "uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" identifier = (call_expression "gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" identifier (argument_list "("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" ( (string_literal ""%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause"" " string_content ") )))) ;) (expression_statement "FUN_00191870(uVar4,uVar3,uVar2,uVar1);" (call_expression "FUN_00191870(uVar4,uVar3,uVar2,uVar1)" identifier (argument_list "(uVar4,uVar3,uVar2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00231880(param_1[5] + 0x148);" (call_expression "FUN_00231880(param_1[5] + 0x148)" identifier (argument_list "(param_1[5] + 0x148)" ( (binary_expression "param_1[5] + 0x148" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0023f1f0(undefined8 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0023f1f0(undefined8 *param_1)" (identifier "FUN_0023f1f0") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  \n  if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }\n  FUN_00231880(param_1[5] + 0x148);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (if_statement "if (*(char *)(param_1[5] + 0x148) == '\0') {\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1[5] + 0x148) == '\0')" (( "(") (binary_expression "*(char *)(param_1[5] + 0x148) == '\0'" (pointer_expression "*(char *)(param_1[5] + 0x148)" (* "*") (cast_expression "(char *)(param_1[5] + 0x148)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[5] + 0x148)" (( "(") (binary_expression "param_1[5] + 0x148" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "0x148")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar1 = *(undefined4 *)((long)param_1 + 0x44);\n    uVar2 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");\n    FUN_00191870(uVar4,uVar3,uVar2,uVar1);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)((long)param_1 + 0x44);" (assignment_expression "uVar1 = *(undefined4 *)((long)param_1 + 0x44)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)((long)param_1 + 0x44)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x44)" (( "(") (binary_expression "(long)param_1 + 0x44" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");" (assignment_expression "uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" (identifier "uVar4") (= "=") (call_expression "gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" (identifier "gettext") (argument_list "("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause")" (( "(") (string_literal ""%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause"" (" """) (string_content "%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00191870(uVar4,uVar3,uVar2,uVar1);" (call_expression "FUN_00191870(uVar4,uVar3,uVar2,uVar1)" (identifier "FUN_00191870") (argument_list "(uVar4,uVar3,uVar2,uVar1)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00231880(param_1[5] + 0x148);" (call_expression "FUN_00231880(param_1[5] + 0x148)" (identifier "FUN_00231880") (argument_list "(param_1[5] + 0x148)" (( "(") (binary_expression "param_1[5] + 0x148" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "0x148")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */

void function_1(void *closurev)

{
  type_1 uVar1;
  type_1 uVar2;
  type_2 uVar3;
  char *format;
  type_3 *closure;
  
  if (*(char *)(*(long *)((long)closurev + 0x28) + 0x148) == '\0') {
    uVar1 = *(type_1 *)((long)closurev + 0x44);
    uVar2 = *(type_1 *)((long)closurev + 0x40);
                    /* WARNING: Load size is inaccurate */
    uVar3 = *closurev;
    format = (char *)var_1("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");
    gold::var_2(format,uVar3,(type_4)uVar2,(type_4)uVar1);
    return;
  }
  gold::Script_sections::var_3
            ((type_5 *)(*(long *)((long)closurev + 0x28) + 0x148));
  return;
}


(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))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (return_statement))))

void MASKED(undefined8 *param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  
  if (*(char *)(param_1[5] + 0x148) == '\0') {
    uVar1 = *(undefined4 *)((long)param_1 + 0x44);
    uVar2 = *(undefined4 *)(param_1 + 8);
    uVar3 = *param_1;
    uVar4 = gettext("%s:%d:%d: DATA_SEGMENT_ALIGN not in SECTIONS clause");
    FUN_00191870(uVar4,uVar3,uVar2,uVar1);
    return;
  }
  FUN_00231880(param_1[5] + 0x148);
  return;
}

