
void os_region_check(lang_output_section_statement_type *os,lang_memory_region_type *region,
                    etree_type *tree,bfd_vma rbase)

{
  ulong uVar1;
  ulong uVar2;
  lang_statement_union *plVar3;
  char *pcVar4;
  lang_statement_union *plVar5;
  undefined8 uVar6;
  char *pcVar7;
  
  uVar1 = region->current;
  uVar2 = region->origin;
  if (((uVar1 < uVar2) || (region->length < uVar1 - uVar2)) &&
     ((uVar2 + region->length != uVar1 || (rbase == 0)))) {
    if (tree != (etree_type *)0x0) {
      plVar3 = (os->header).next;
      pcVar4 = (region->name_list).name;
      plVar5 = (plVar3->header).next;
      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);
      pcVar7 = (char *)dcgettext(0,
                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"
                                 ,5);
      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);
      return;
    }
    if (region->had_full_message == 0) {
      plVar3 = (os->header).next;
      pcVar4 = (region->name_list).name;
      region->had_full_message = 1;
      plVar5 = (plVar3->header).next;
      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);
      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);
      einfo(pcVar7,uVar6,plVar5,pcVar4);
      return;
    }
  }
  return;
}



void FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)

{
  ulong uVar1;
  ulong uVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  undefined8 uVar5;
  undefined8 *puVar6;
  undefined8 uVar7;
  
  uVar1 = param_2[7];
  uVar2 = param_2[4];
  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&
     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {
    if (param_3 != 0) {
      uVar3 = *param_2;
      uVar4 = *(undefined8 *)*param_1;
      uVar5 = ((undefined8 *)*param_1)[0x1e];
      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);
      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);
      return;
    }
    if (*(int *)(param_2 + 10) == 0) {
      puVar6 = (undefined8 *)*param_1;
      uVar3 = *param_2;
      *(undefined4 *)(param_2 + 10) = 1;
      uVar4 = *puVar6;
      uVar5 = puVar6[0x1e];
      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);
      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);
      return;
    }
  }
  return;
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RSI + 0x38]
MOV RAX,qword ptr [RSI + 0x20]
MOV R8,qword ptr [RSI + 0x28]
CMP RBX,RAX
JC 0x001165d6
MOV R9,RBX
SUB R9,RAX
CMP R9,R8
JBE 0x00116637
ADD RAX,R8
CMP RAX,RBX
JNZ 0x001165e3
TEST RCX,RCX
JNZ 0x00116637
TEST RDX,RDX
JZ 0x00116630
MOV RAX,qword ptr [RDI]
MOV R13,qword ptr [RSI]
MOV EDX,0x5
XOR EDI,EDI
LEA RSI,[0x161448]
MOV R12,qword ptr [RAX]
MOV RBP,qword ptr [RAX + 0xf0]
CALL 0x0010c350
ADD RSP,0x8
MOV R8,R13
MOV RSI,RBX
MOV RCX,R12
POP RBX
MOV RDX,RBP
MOV RDI,RAX
POP RBP
XOR EAX,EAX
POP R12
POP R13
JMP 0x001283c0
MOV EAX,dword ptr [RSI + 0x50]
TEST EAX,EAX
JZ 0x00116648
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RAX,qword ptr [RDI]
MOV R12,qword ptr [RSI]
MOV EDX,0x5
XOR EDI,EDI
MOV dword ptr [RSI + 0x50],0x1
LEA RSI,[0x161490]
MOV RBP,qword ptr [RAX]
MOV RBX,qword ptr [RAX + 0xf0]
CALL 0x0010c350
ADD RSP,0x8
MOV RCX,R12
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RAX
POP RBX
XOR EAX,EAX
POP RBP
POP R12
POP R13
JMP 0x001283c0
(translation_unit "void FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)" identifier (parameter_list "(long *param_1,undefined8 *param_2,long param_3,long param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (expression_statement "uVar1 = param_2[7];" (assignment_expression "uVar1 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = param_2[4];" (assignment_expression "uVar2 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (if_statement "if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }" if (parenthesized_expression "(((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0))))" ( (binary_expression "((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))" (parenthesized_expression "((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2))" ( (binary_expression "(uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)" (parenthesized_expression "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )) || (parenthesized_expression "((ulong)param_2[5] < uVar1 - uVar2)" ( (binary_expression "(ulong)param_2[5] < uVar1 - uVar2" (cast_expression "(ulong)param_2[5]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_2[5]" identifier [ number_literal ])) < (binary_expression "uVar1 - uVar2" identifier - identifier)) ))) )) && (parenthesized_expression "((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))" ( (parenthesized_expression "(uVar2 + param_2[5] != uVar1 || (param_4 == 0))" ( (binary_expression "uVar2 + param_2[5] != uVar1 || (param_4 == 0)" (binary_expression "uVar2 + param_2[5] != uVar1" (binary_expression "uVar2 + param_2[5]" identifier + (subscript_expression "param_2[5]" identifier [ number_literal ])) != identifier) || (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }" { (if_statement "if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }" { (expression_statement "uVar3 = *param_2;" (assignment_expression "uVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar4 = *(undefined8 *)*param_1;" (assignment_expression "uVar4 = *(undefined8 *)*param_1" identifier = (pointer_expression "*(undefined8 *)*param_1" * (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "uVar5 = ((undefined8 *)*param_1)[0x1e];" (assignment_expression "uVar5 = ((undefined8 *)*param_1)[0x1e]" identifier = (subscript_expression "((undefined8 *)*param_1)[0x1e]" (parenthesized_expression "((undefined8 *)*param_1)" ( (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) )) [ number_literal ])) ;) (expression_statement "uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);" (assignment_expression "uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" identifier (argument_list "(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" ( number_literal , (string_literal ""%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);" (call_expression "FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3)" identifier (argument_list "(uVar7,uVar1,uVar5,uVar4,uVar3)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 10) == 0)" ( (binary_expression "*(int *)(param_2 + 10) == 0" (pointer_expression "*(int *)(param_2 + 10)" * (cast_expression "(int *)(param_2 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 10)" ( (binary_expression "param_2 + 10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }" { (expression_statement "puVar6 = (undefined8 *)*param_1;" (assignment_expression "puVar6 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar3 = *param_2;" (assignment_expression "uVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 *)(param_2 + 10) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 10) = 1" (pointer_expression "*(undefined4 *)(param_2 + 10)" * (cast_expression "(undefined4 *)(param_2 + 10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 10)" ( (binary_expression "param_2 + 10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar4 = *puVar6;" (assignment_expression "uVar4 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar5 = puVar6[0x1e];" (assignment_expression "uVar5 = puVar6[0x1e]" identifier = (subscript_expression "puVar6[0x1e]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);" (assignment_expression "uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" identifier (argument_list "(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" ( number_literal , (string_literal ""%X%P: %pB section `%s\' will not fit in region `%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001283c0(uVar7,uVar5,uVar4,uVar3);" (call_expression "FUN_001283c0(uVar7,uVar5,uVar4,uVar3)" identifier (argument_list "(uVar7,uVar5,uVar4,uVar3)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void os_region_check(lang_output_section_statement_type *os,lang_memory_region_type *region,\n                    etree_type *tree,bfd_vma rbase)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  lang_statement_union *plVar3;\n  char *pcVar4;\n  lang_statement_union *plVar5;\n  undefined8 uVar6;\n  char *pcVar7;\n  \n  uVar1 = region->current;\n  uVar2 = region->origin;\n  if (((uVar1 < uVar2) || (region->length < uVar1 - uVar2)) &&\n     ((uVar2 + region->length != uVar1 || (rbase == 0)))) {\n    if (tree != (etree_type *)0x0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);\n      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);\n      return;\n    }\n    if (region->had_full_message == 0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      region->had_full_message = 1;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      einfo(pcVar7,uVar6,plVar5,pcVar4);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void os_region_check(lang_output_section_statement_type *os,lang_memory_region_type *region,\n                    etree_type *tree,bfd_vma rbase)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  lang_statement_union *plVar3;\n  char *pcVar4;\n  lang_statement_union *plVar5;\n  undefined8 uVar6;\n  char *pcVar7;\n  \n  uVar1 = region->current;\n  uVar2 = region->origin;\n  if (((uVar1 < uVar2) || (region->length < uVar1 - uVar2)) &&\n     ((uVar2 + region->length != uVar1 || (rbase == 0)))) {\n    if (tree != (etree_type *)0x0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);\n      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);\n      return;\n    }\n    if (region->had_full_message == 0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      region->had_full_message = 1;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      einfo(pcVar7,uVar6,plVar5,pcVar4);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "os_region_check(lang_output_section_statement_type *os,lang_memory_region_type *region,\n                    etree_type *tree,bfd_vma rbase)" identifier (parameter_list "(lang_output_section_statement_type *os,lang_memory_region_type *region,\n                    etree_type *tree,bfd_vma rbase)" ( (parameter_declaration "lang_output_section_statement_type *os" type_identifier (pointer_declarator "*os" * identifier)) , (parameter_declaration "lang_memory_region_type *region" type_identifier (pointer_declarator "*region" * identifier)) , (parameter_declaration "etree_type *tree" type_identifier (pointer_declarator "*tree" * identifier)) , (parameter_declaration "bfd_vma rbase" type_identifier identifier) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  lang_statement_union *plVar3;\n  char *pcVar4;\n  lang_statement_union *plVar5;\n  undefined8 uVar6;\n  char *pcVar7;\n  \n  uVar1 = region->current;\n  uVar2 = region->origin;\n  if (((uVar1 < uVar2) || (region->length < uVar1 - uVar2)) &&\n     ((uVar2 + region->length != uVar1 || (rbase == 0)))) {\n    if (tree != (etree_type *)0x0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);\n      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);\n      return;\n    }\n    if (region->had_full_message == 0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      region->had_full_message = 1;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      einfo(pcVar7,uVar6,plVar5,pcVar4);\n      return;\n    }\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "lang_statement_union *plVar3;" type_identifier (pointer_declarator "*plVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "lang_statement_union *plVar5;" type_identifier (pointer_declarator "*plVar5" * identifier) ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (expression_statement "uVar1 = region->current;" (assignment_expression "uVar1 = region->current" identifier = (field_expression "region->current" identifier -> field_identifier)) ;) (expression_statement "uVar2 = region->origin;" (assignment_expression "uVar2 = region->origin" identifier = (field_expression "region->origin" identifier -> field_identifier)) ;) (if_statement "if (((uVar1 < uVar2) || (region->length < uVar1 - uVar2)) &&\n     ((uVar2 + region->length != uVar1 || (rbase == 0)))) {\n    if (tree != (etree_type *)0x0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);\n      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);\n      return;\n    }\n    if (region->had_full_message == 0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      region->had_full_message = 1;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      einfo(pcVar7,uVar6,plVar5,pcVar4);\n      return;\n    }\n  }" if (parenthesized_expression "(((uVar1 < uVar2) || (region->length < uVar1 - uVar2)) &&\n     ((uVar2 + region->length != uVar1 || (rbase == 0))))" ( (binary_expression "((uVar1 < uVar2) || (region->length < uVar1 - uVar2)) &&\n     ((uVar2 + region->length != uVar1 || (rbase == 0)))" (parenthesized_expression "((uVar1 < uVar2) || (region->length < uVar1 - uVar2))" ( (binary_expression "(uVar1 < uVar2) || (region->length < uVar1 - uVar2)" (parenthesized_expression "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )) || (parenthesized_expression "(region->length < uVar1 - uVar2)" ( (binary_expression "region->length < uVar1 - uVar2" (field_expression "region->length" identifier -> field_identifier) < (binary_expression "uVar1 - uVar2" identifier - identifier)) ))) )) && (parenthesized_expression "((uVar2 + region->length != uVar1 || (rbase == 0)))" ( (parenthesized_expression "(uVar2 + region->length != uVar1 || (rbase == 0))" ( (binary_expression "uVar2 + region->length != uVar1 || (rbase == 0)" (binary_expression "uVar2 + region->length != uVar1" (binary_expression "uVar2 + region->length" identifier + (field_expression "region->length" identifier -> field_identifier)) != identifier) || (parenthesized_expression "(rbase == 0)" ( (binary_expression "rbase == 0" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    if (tree != (etree_type *)0x0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);\n      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);\n      return;\n    }\n    if (region->had_full_message == 0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      region->had_full_message = 1;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      einfo(pcVar7,uVar6,plVar5,pcVar4);\n      return;\n    }\n  }" { (if_statement "if (tree != (etree_type *)0x0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);\n      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);\n      return;\n    }" if (parenthesized_expression "(tree != (etree_type *)0x0)" ( (binary_expression "tree != (etree_type *)0x0" identifier != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);\n      einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);\n      return;\n    }" { (expression_statement "plVar3 = (os->header).next;" (assignment_expression "plVar3 = (os->header).next" identifier = (field_expression "(os->header).next" (parenthesized_expression "(os->header)" ( (field_expression "os->header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar4 = (region->name_list).name;" (assignment_expression "pcVar4 = (region->name_list).name" identifier = (field_expression "(region->name_list).name" (parenthesized_expression "(region->name_list)" ( (field_expression "region->name_list" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "plVar5 = (plVar3->header).next;" (assignment_expression "plVar5 = (plVar3->header).next" identifier = (field_expression "(plVar3->header).next" (parenthesized_expression "(plVar3->header)" ( (field_expression "plVar3->header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);" (assignment_expression "uVar6 = *(undefined8 *)((long)plVar3 + 0xf0)" identifier = (pointer_expression "*(undefined8 *)((long)plVar3 + 0xf0)" * (cast_expression "(undefined8 *)((long)plVar3 + 0xf0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar3 + 0xf0)" ( (binary_expression "(long)plVar3 + 0xf0" (cast_expression "(long)plVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5);" (assignment_expression "pcVar7 = (char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5)" identifier = (cast_expression "(char *)dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5)" identifier (argument_list "(0,\n                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"\n                                 ,5)" ( number_literal , (string_literal ""%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4);" (call_expression "einfo(pcVar7,uVar1,uVar6,plVar5,pcVar4)" identifier (argument_list "(pcVar7,uVar1,uVar6,plVar5,pcVar4)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (region->had_full_message == 0) {\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      region->had_full_message = 1;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      einfo(pcVar7,uVar6,plVar5,pcVar4);\n      return;\n    }" if (parenthesized_expression "(region->had_full_message == 0)" ( (binary_expression "region->had_full_message == 0" (field_expression "region->had_full_message" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      plVar3 = (os->header).next;\n      pcVar4 = (region->name_list).name;\n      region->had_full_message = 1;\n      plVar5 = (plVar3->header).next;\n      uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);\n      pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      einfo(pcVar7,uVar6,plVar5,pcVar4);\n      return;\n    }" { (expression_statement "plVar3 = (os->header).next;" (assignment_expression "plVar3 = (os->header).next" identifier = (field_expression "(os->header).next" (parenthesized_expression "(os->header)" ( (field_expression "os->header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar4 = (region->name_list).name;" (assignment_expression "pcVar4 = (region->name_list).name" identifier = (field_expression "(region->name_list).name" (parenthesized_expression "(region->name_list)" ( (field_expression "region->name_list" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "region->had_full_message = 1;" (assignment_expression "region->had_full_message = 1" (field_expression "region->had_full_message" identifier -> field_identifier) = number_literal) ;) (expression_statement "plVar5 = (plVar3->header).next;" (assignment_expression "plVar5 = (plVar3->header).next" identifier = (field_expression "(plVar3->header).next" (parenthesized_expression "(plVar3->header)" ( (field_expression "plVar3->header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar6 = *(undefined8 *)((long)plVar3 + 0xf0);" (assignment_expression "uVar6 = *(undefined8 *)((long)plVar3 + 0xf0)" identifier = (pointer_expression "*(undefined8 *)((long)plVar3 + 0xf0)" * (cast_expression "(undefined8 *)((long)plVar3 + 0xf0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar3 + 0xf0)" ( (binary_expression "(long)plVar3 + 0xf0" (cast_expression "(long)plVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" identifier (argument_list "(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" ( number_literal , (string_literal ""%X%P: %pB section `%s\' will not fit in region `%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar7,uVar6,plVar5,pcVar4);" (call_expression "einfo(pcVar7,uVar6,plVar5,pcVar4)" identifier (argument_list "(pcVar7,uVar6,plVar5,pcVar4)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)" identifier (parameter_list "(long *param_1,undefined8 *param_2,long param_3,long param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (expression_statement "uVar1 = param_2[7];" (assignment_expression "uVar1 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = param_2[4];" (assignment_expression "uVar2 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (if_statement "if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }" if (parenthesized_expression "(((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0))))" ( (binary_expression "((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))" (parenthesized_expression "((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2))" ( (binary_expression "(uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)" (parenthesized_expression "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )) || (parenthesized_expression "((ulong)param_2[5] < uVar1 - uVar2)" ( (binary_expression "(ulong)param_2[5] < uVar1 - uVar2" (cast_expression "(ulong)param_2[5]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_2[5]" identifier [ number_literal ])) < (binary_expression "uVar1 - uVar2" identifier - identifier)) ))) )) && (parenthesized_expression "((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))" ( (parenthesized_expression "(uVar2 + param_2[5] != uVar1 || (param_4 == 0))" ( (binary_expression "uVar2 + param_2[5] != uVar1 || (param_4 == 0)" (binary_expression "uVar2 + param_2[5] != uVar1" (binary_expression "uVar2 + param_2[5]" identifier + (subscript_expression "param_2[5]" identifier [ number_literal ])) != identifier) || (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }" { (if_statement "if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }" { (expression_statement "uVar3 = *param_2;" (assignment_expression "uVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar4 = *(undefined8 *)*param_1;" (assignment_expression "uVar4 = *(undefined8 *)*param_1" identifier = (pointer_expression "*(undefined8 *)*param_1" * (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "uVar5 = ((undefined8 *)*param_1)[0x1e];" (assignment_expression "uVar5 = ((undefined8 *)*param_1)[0x1e]" identifier = (subscript_expression "((undefined8 *)*param_1)[0x1e]" (parenthesized_expression "((undefined8 *)*param_1)" ( (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) )) [ number_literal ])) ;) (expression_statement "uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);" (assignment_expression "uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" identifier (argument_list "(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" ( number_literal , (string_literal ""%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);" (call_expression "FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3)" identifier (argument_list "(uVar7,uVar1,uVar5,uVar4,uVar3)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 10) == 0)" ( (binary_expression "*(int *)(param_2 + 10) == 0" (pointer_expression "*(int *)(param_2 + 10)" * (cast_expression "(int *)(param_2 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 10)" ( (binary_expression "param_2 + 10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }" { (expression_statement "puVar6 = (undefined8 *)*param_1;" (assignment_expression "puVar6 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar3 = *param_2;" (assignment_expression "uVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 *)(param_2 + 10) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 10) = 1" (pointer_expression "*(undefined4 *)(param_2 + 10)" * (cast_expression "(undefined4 *)(param_2 + 10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 10)" ( (binary_expression "param_2 + 10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar4 = *puVar6;" (assignment_expression "uVar4 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar5 = puVar6[0x1e];" (assignment_expression "uVar5 = puVar6[0x1e]" identifier = (subscript_expression "puVar6[0x1e]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);" (assignment_expression "uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" identifier (argument_list "(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" ( number_literal , (string_literal ""%X%P: %pB section `%s\' will not fit in region `%s\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001283c0(uVar7,uVar5,uVar4,uVar3);" (call_expression "FUN_001283c0(uVar7,uVar5,uVar4,uVar3)" identifier (argument_list "(uVar7,uVar5,uVar4,uVar3)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (binary_expression IDENT - IDENT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) != IDENT) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001165b0(long *param_1,undefined8 *param_2,long param_3,long param_4)" (identifier "FUN_001165b0") (parameter_list "(long *param_1,undefined8 *param_2,long param_3,long param_4)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) () ")"))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  undefined8 *puVar6;\n  undefined8 uVar7;\n  \n  uVar1 = param_2[7];\n  uVar2 = param_2[4];\n  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "undefined8 *puVar6;" (type_identifier "undefined8") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (expression_statement "uVar1 = param_2[7];" (assignment_expression "uVar1 = param_2[7]" (identifier "uVar1") (= "=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "uVar2 = param_2[4];" (assignment_expression "uVar2 = param_2[4]" (identifier "uVar2") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0))))" (( "(") (binary_expression "((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&\n     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))" (parenthesized_expression "((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2))" (( "(") (binary_expression "(uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)" (parenthesized_expression "(uVar1 < uVar2)" (( "(") (binary_expression "uVar1 < uVar2" (identifier "uVar1") (< "<") (identifier "uVar2")) () ")")) (|| "||") (parenthesized_expression "((ulong)param_2[5] < uVar1 - uVar2)" (( "(") (binary_expression "(ulong)param_2[5] < uVar1 - uVar2" (cast_expression "(ulong)param_2[5]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (< "<") (binary_expression "uVar1 - uVar2" (identifier "uVar1") (- "-") (identifier "uVar2"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))" (( "(") (parenthesized_expression "(uVar2 + param_2[5] != uVar1 || (param_4 == 0))" (( "(") (binary_expression "uVar2 + param_2[5] != uVar1 || (param_4 == 0)" (binary_expression "uVar2 + param_2[5] != uVar1" (binary_expression "uVar2 + param_2[5]" (identifier "uVar2") (+ "+") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (!= "!=") (identifier "uVar1")) (|| "||") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }\n    if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }\n  }" ({ "{") (if_statement "if (param_3 != 0) {\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = *param_2;\n      uVar4 = *(undefined8 *)*param_1;\n      uVar5 = ((undefined8 *)*param_1)[0x1e];\n      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);\n      return;\n    }" ({ "{") (expression_statement "uVar3 = *param_2;" (assignment_expression "uVar3 = *param_2" (identifier "uVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar4 = *(undefined8 *)*param_1;" (assignment_expression "uVar4 = *(undefined8 *)*param_1" (identifier "uVar4") (= "=") (pointer_expression "*(undefined8 *)*param_1" (* "*") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))))) (; ";")) (expression_statement "uVar5 = ((undefined8 *)*param_1)[0x1e];" (assignment_expression "uVar5 = ((undefined8 *)*param_1)[0x1e]" (identifier "uVar5") (= "=") (subscript_expression "((undefined8 *)*param_1)[0x1e]" (parenthesized_expression "((undefined8 *)*param_1)" (( "(") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) ([ "[") (number_literal "0x1e") (] "]"))) (; ";")) (expression_statement "uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);" (assignment_expression "uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" (identifier "uVar7") (= "=") (call_expression "dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" (identifier "dcgettext") (argument_list "(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"" (" """) (string_content "%X%P: address 0x%v of %pB section `%s") (escape_sequence "\'") (string_content " is not within region `%s") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);" (call_expression "FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3)" (identifier "FUN_001283c0") (argument_list "(uVar7,uVar1,uVar5,uVar4,uVar3)" (( "(") (identifier "uVar7") (, ",") (identifier "uVar1") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") (, ",") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_2 + 10) == 0) {\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 10) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 10) == 0" (pointer_expression "*(int *)(param_2 + 10)" (* "*") (cast_expression "(int *)(param_2 + 10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 10)" (( "(") (binary_expression "param_2 + 10" (identifier "param_2") (+ "+") (number_literal "10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar6 = (undefined8 *)*param_1;\n      uVar3 = *param_2;\n      *(undefined4 *)(param_2 + 10) = 1;\n      uVar4 = *puVar6;\n      uVar5 = puVar6[0x1e];\n      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);\n      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);\n      return;\n    }" ({ "{") (expression_statement "puVar6 = (undefined8 *)*param_1;" (assignment_expression "puVar6 = (undefined8 *)*param_1" (identifier "puVar6") (= "=") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar3 = *param_2;" (assignment_expression "uVar3 = *param_2" (identifier "uVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 10) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 10) = 1" (pointer_expression "*(undefined4 *)(param_2 + 10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 10)" (( "(") (binary_expression "param_2 + 10" (identifier "param_2") (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar4 = *puVar6;" (assignment_expression "uVar4 = *puVar6" (identifier "uVar4") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "uVar5 = puVar6[0x1e];" (assignment_expression "uVar5 = puVar6[0x1e]" (identifier "uVar5") (= "=") (subscript_expression "puVar6[0x1e]" (identifier "puVar6") ([ "[") (number_literal "0x1e") (] "]"))) (; ";")) (expression_statement "uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);" (assignment_expression "uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" (identifier "uVar7") (= "=") (call_expression "dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" (identifier "dcgettext") (argument_list "(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%X%P: %pB section `%s\' will not fit in region `%s\'\n"" (" """) (string_content "%X%P: %pB section `%s") (escape_sequence "\'") (string_content " will not fit in region `%s") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_001283c0(uVar7,uVar5,uVar4,uVar3);" (call_expression "FUN_001283c0(uVar7,uVar5,uVar4,uVar3)" (identifier "FUN_001283c0") (argument_list "(uVar7,uVar5,uVar4,uVar3)" (( "(") (identifier "uVar7") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") (, ",") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *os,type_2 *region,
                    type_3 *var_4,type_4 var_3)

{
  type_5 var_1;
  type_5 var_2;
  type_6 *plVar3;
  char *pcVar4;
  type_6 *plVar5;
  type_7 uVar6;
  char *pcVar7;
  
  var_1 = region->current;
  var_2 = region->origin;
  if (((var_1 < var_2) || (region->length < var_1 - var_2)) &&
     ((var_2 + region->length != var_1 || (var_3 == 0)))) {
    if (var_4 != (type_3 *)0x0) {
      plVar3 = (os->header).next;
      pcVar4 = (region->name_list).name;
      plVar5 = (plVar3->header).next;
      uVar6 = *(type_7 *)((long)plVar3 + 0xf0);
      pcVar7 = (char *)var_5(0,
                                 "%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n"
                                 ,5);
      var_6(pcVar7,var_1,uVar6,plVar5,pcVar4);
      return;
    }
    if (region->had_full_message == 0) {
      plVar3 = (os->header).next;
      pcVar4 = (region->name_list).name;
      region->had_full_message = 1;
      plVar5 = (plVar3->header).next;
      uVar6 = *(type_7 *)((long)plVar3 + 0xf0);
      pcVar7 = (char *)var_5(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);
      var_6(pcVar7,uVar6,plVar5,pcVar4);
      return;
    }
  }
  return;
}


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

void MASKED(long *param_1,undefined8 *param_2,long param_3,long param_4)

{
  ulong uVar1;
  ulong uVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  undefined8 uVar5;
  undefined8 *puVar6;
  undefined8 uVar7;
  
  uVar1 = param_2[7];
  uVar2 = param_2[4];
  if (((uVar1 < uVar2) || ((ulong)param_2[5] < uVar1 - uVar2)) &&
     ((uVar2 + param_2[5] != uVar1 || (param_4 == 0)))) {
    if (param_3 != 0) {
      uVar3 = *param_2;
      uVar4 = *(undefined8 *)*param_1;
      uVar5 = ((undefined8 *)*param_1)[0x1e];
      uVar7 = dcgettext(0,"%X%P: address 0x%v of %pB section `%s\' is not within region `%s\'\n",5);
      FUN_001283c0(uVar7,uVar1,uVar5,uVar4,uVar3);
      return;
    }
    if (*(int *)(param_2 + 10) == 0) {
      puVar6 = (undefined8 *)*param_1;
      uVar3 = *param_2;
      *(undefined4 *)(param_2 + 10) = 1;
      uVar4 = *puVar6;
      uVar5 = puVar6[0x1e];
      uVar7 = dcgettext(0,"%X%P: %pB section `%s\' will not fit in region `%s\'\n",5);
      FUN_001283c0(uVar7,uVar5,uVar4,uVar3);
      return;
    }
  }
  return;
}

