
bfd_vma exp_get_abs_int(etree_type *tree,int def,char *name)

{
  char *fmt;
  
  if (tree != (etree_type *)0x0) {
    expld.rel_from_abs = 0;
    expld.section = (asection *)(_bfd_std_section + 0x230);
    expld.dot = 0;
    expld.dotp = (bfd_vma *)0x0;
    exp_fold_tree_1(tree);
    if (expld.result.valid_p != 0) {
      if (expld.result.section == (asection *)0x0) {
        return expld.result.value;
      }
      expld.result.value = expld.result.value + (expld.result.section)->vma;
      return expld.result.value;
    }
    if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {
      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);
      einfo(fmt,tree,name);
    }
  }
  return (long)def;
}



long FUN_00127b90(long param_1,int param_2,long param_3)

{
  undefined8 uVar1;
  
  if (param_1 != 0) {
    DAT_002b6188 = 0;
    DAT_002b61d0 = 0x2b46b0;
    DAT_002b61c0 = 0;
    DAT_002b61c8 = 0;
    FUN_00125710();
    if (DAT_002b61b8 != 0) {
      if (DAT_002b61b0 == 0) {
        return DAT_002b61a0;
      }
      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);
      return DAT_002b61a0;
    }
    if ((param_3 != 0) && (DAT_002b6180 != 1)) {
      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);
      FUN_00129380(uVar1,param_1,param_3);
    }
  }
  return (long)param_2;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV EBX,ESI
TEST RDI,RDI
JZ 0x00127bf0
LEA RAX,[0x2b46b0]
MOV RBP,RDI
MOV R12,RDX
MOV dword ptr [0x002b6188],0x0
MOV qword ptr [0x002b61d0],RAX
MOV qword ptr [0x002b61c0],0x0
MOV qword ptr [0x002b61c8],0x0
CALL 0x00125710
MOV EAX,dword ptr [0x002b61b8]
TEST EAX,EAX
JNZ 0x00127c00
TEST R12,R12
JZ 0x00127bf0
CMP dword ptr [0x002b6180],0x1
JNZ 0x00127c28
NOP dword ptr [RAX]
MOVSXD RAX,EBX
POP RBX
POP RBP
POP R12
RET
MOV RDX,qword ptr [0x002b61b0]
MOV RAX,qword ptr [0x002b61a0]
TEST RDX,RDX
JZ 0x00127bf3
ADD RAX,qword ptr [RDX + 0x28]
POP RBX
POP RBP
POP R12
MOV qword ptr [0x002b61a0],RAX
RET
XOR EDI,EDI
MOV EDX,0x5
LEA RSI,[0x16e550]
CALL 0x0010d300
MOV RDX,R12
MOV RSI,RBP
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00129380
JMP 0x00127bf0
(translation_unit "long FUN_00127b90(long param_1,int param_2,long param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}\n\n" (function_definition "long FUN_00127b90(long param_1,int param_2,long param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00127b90(long param_1,int param_2,long param_3)" identifier (parameter_list "(long param_1,int param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }" { (expression_statement "DAT_002b6188 = 0;" (assignment_expression "DAT_002b6188 = 0" identifier = number_literal) ;) (expression_statement "DAT_002b61d0 = 0x2b46b0;" (assignment_expression "DAT_002b61d0 = 0x2b46b0" identifier = number_literal) ;) (expression_statement "DAT_002b61c0 = 0;" (assignment_expression "DAT_002b61c0 = 0" identifier = number_literal) ;) (expression_statement "DAT_002b61c8 = 0;" (assignment_expression "DAT_002b61c8 = 0" identifier = number_literal) ;) (expression_statement "FUN_00125710();" (call_expression "FUN_00125710()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }" if (parenthesized_expression "(DAT_002b61b8 != 0)" ( (binary_expression "DAT_002b61b8 != 0" identifier != number_literal) )) (compound_statement "{\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }" { (if_statement "if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }" if (parenthesized_expression "(DAT_002b61b0 == 0)" ( (binary_expression "DAT_002b61b0 == 0" identifier == number_literal) )) (compound_statement "{\n        return DAT_002b61a0;\n      }" { (return_statement "return DAT_002b61a0;" return identifier ;) })) (expression_statement "DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);" (assignment_expression "DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28)" identifier = (binary_expression "DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28)" identifier + (pointer_expression "*(long *)(DAT_002b61b0 + 0x28)" * (cast_expression "(long *)(DAT_002b61b0 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_002b61b0 + 0x28)" ( (binary_expression "DAT_002b61b0 + 0x28" identifier + number_literal) )))))) ;) (return_statement "return DAT_002b61a0;" return identifier ;) })) (if_statement "if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }" if (parenthesized_expression "((param_3 != 0) && (DAT_002b6180 != 1))" ( (binary_expression "(param_3 != 0) && (DAT_002b6180 != 1)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_002b6180 != 1)" ( (binary_expression "DAT_002b6180 != 1" identifier != number_literal) ))) )) (compound_statement "{\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }" { (expression_statement "uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( number_literal , (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00129380(uVar1,param_1,param_3);" (call_expression "FUN_00129380(uVar1,param_1,param_3)" identifier (argument_list "(uVar1,param_1,param_3)" ( identifier , identifier , identifier ))) ;) })) })) (return_statement "return (long)param_2;" return (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ;) })))
(translation_unit "bfd_vma exp_get_abs_int(etree_type *tree,int def,char *name)\n\n{\n  char *fmt;\n  \n  if (tree != (etree_type *)0x0) {\n    expld.rel_from_abs = 0;\n    expld.section = (asection *)(_bfd_std_section + 0x230);\n    expld.dot = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p != 0) {\n      if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }\n      expld.result.value = expld.result.value + (expld.result.section)->vma;\n      return expld.result.value;\n    }\n    if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      einfo(fmt,tree,name);\n    }\n  }\n  return (long)def;\n}\n\n" (function_definition "bfd_vma exp_get_abs_int(etree_type *tree,int def,char *name)\n\n{\n  char *fmt;\n  \n  if (tree != (etree_type *)0x0) {\n    expld.rel_from_abs = 0;\n    expld.section = (asection *)(_bfd_std_section + 0x230);\n    expld.dot = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p != 0) {\n      if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }\n      expld.result.value = expld.result.value + (expld.result.section)->vma;\n      return expld.result.value;\n    }\n    if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      einfo(fmt,tree,name);\n    }\n  }\n  return (long)def;\n}" type_identifier (function_declarator "exp_get_abs_int(etree_type *tree,int def,char *name)" identifier (parameter_list "(etree_type *tree,int def,char *name)" ( (parameter_declaration "etree_type *tree" type_identifier (pointer_declarator "*tree" * identifier)) , (parameter_declaration "int def" primitive_type identifier) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  char *fmt;\n  \n  if (tree != (etree_type *)0x0) {\n    expld.rel_from_abs = 0;\n    expld.section = (asection *)(_bfd_std_section + 0x230);\n    expld.dot = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p != 0) {\n      if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }\n      expld.result.value = expld.result.value + (expld.result.section)->vma;\n      return expld.result.value;\n    }\n    if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      einfo(fmt,tree,name);\n    }\n  }\n  return (long)def;\n}" { (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (if_statement "if (tree != (etree_type *)0x0) {\n    expld.rel_from_abs = 0;\n    expld.section = (asection *)(_bfd_std_section + 0x230);\n    expld.dot = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p != 0) {\n      if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }\n      expld.result.value = expld.result.value + (expld.result.section)->vma;\n      return expld.result.value;\n    }\n    if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      einfo(fmt,tree,name);\n    }\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    expld.rel_from_abs = 0;\n    expld.section = (asection *)(_bfd_std_section + 0x230);\n    expld.dot = 0;\n    expld.dotp = (bfd_vma *)0x0;\n    exp_fold_tree_1(tree);\n    if (expld.result.valid_p != 0) {\n      if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }\n      expld.result.value = expld.result.value + (expld.result.section)->vma;\n      return expld.result.value;\n    }\n    if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      einfo(fmt,tree,name);\n    }\n  }" { (expression_statement "expld.rel_from_abs = 0;" (assignment_expression "expld.rel_from_abs = 0" (field_expression "expld.rel_from_abs" identifier . field_identifier) = number_literal) ;) (expression_statement "expld.section = (asection *)(_bfd_std_section + 0x230);" (assignment_expression "expld.section = (asection *)(_bfd_std_section + 0x230)" (field_expression "expld.section" identifier . field_identifier) = (cast_expression "(asection *)(_bfd_std_section + 0x230)" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(_bfd_std_section + 0x230)" ( (binary_expression "_bfd_std_section + 0x230" identifier + number_literal) )))) ;) (expression_statement "expld.dot = 0;" (assignment_expression "expld.dot = 0" (field_expression "expld.dot" identifier . field_identifier) = number_literal) ;) (expression_statement "expld.dotp = (bfd_vma *)0x0;" (assignment_expression "expld.dotp = (bfd_vma *)0x0" (field_expression "expld.dotp" identifier . field_identifier) = (cast_expression "(bfd_vma *)0x0" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "exp_fold_tree_1(tree);" (call_expression "exp_fold_tree_1(tree)" identifier (argument_list "(tree)" ( identifier ))) ;) (if_statement "if (expld.result.valid_p != 0) {\n      if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }\n      expld.result.value = expld.result.value + (expld.result.section)->vma;\n      return expld.result.value;\n    }" if (parenthesized_expression "(expld.result.valid_p != 0)" ( (binary_expression "expld.result.valid_p != 0" (field_expression "expld.result.valid_p" (field_expression "expld.result" identifier . field_identifier) . field_identifier) != number_literal) )) (compound_statement "{\n      if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }\n      expld.result.value = expld.result.value + (expld.result.section)->vma;\n      return expld.result.value;\n    }" { (if_statement "if (expld.result.section == (asection *)0x0) {\n        return expld.result.value;\n      }" if (parenthesized_expression "(expld.result.section == (asection *)0x0)" ( (binary_expression "expld.result.section == (asection *)0x0" (field_expression "expld.result.section" (field_expression "expld.result" identifier . field_identifier) . field_identifier) == (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return expld.result.value;\n      }" { (return_statement "return expld.result.value;" return (field_expression "expld.result.value" (field_expression "expld.result" identifier . field_identifier) . field_identifier) ;) })) (expression_statement "expld.result.value = expld.result.value + (expld.result.section)->vma;" (assignment_expression "expld.result.value = expld.result.value + (expld.result.section)->vma" (field_expression "expld.result.value" (field_expression "expld.result" identifier . field_identifier) . field_identifier) = (binary_expression "expld.result.value + (expld.result.section)->vma" (field_expression "expld.result.value" (field_expression "expld.result" identifier . field_identifier) . field_identifier) + (field_expression "(expld.result.section)->vma" (parenthesized_expression "(expld.result.section)" ( (field_expression "expld.result.section" (field_expression "expld.result" identifier . field_identifier) . field_identifier) )) -> field_identifier))) ;) (return_statement "return expld.result.value;" return (field_expression "expld.result.value" (field_expression "expld.result" identifier . field_identifier) . field_identifier) ;) })) (if_statement "if ((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)) {\n      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      einfo(fmt,tree,name);\n    }" if (parenthesized_expression "((name != (char *)0x0) && (expld.phase != lang_mark_phase_enum))" ( (binary_expression "(name != (char *)0x0) && (expld.phase != lang_mark_phase_enum)" (parenthesized_expression "(name != (char *)0x0)" ( (binary_expression "name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(expld.phase != lang_mark_phase_enum)" ( (binary_expression "expld.phase != lang_mark_phase_enum" (field_expression "expld.phase" identifier . field_identifier) != identifier) ))) )) (compound_statement "{\n      fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      einfo(fmt,tree,name);\n    }" { (expression_statement "fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( number_literal , (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,tree,name);" (call_expression "einfo(fmt,tree,name)" identifier (argument_list "(fmt,tree,name)" ( identifier , identifier , identifier ))) ;) })) })) (return_statement "return (long)def;" return (cast_expression "(long)def" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ;) })))
(translation_unit "long FUN_00127b90(long param_1,int param_2,long param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}\n\n" (function_definition "long FUN_00127b90(long param_1,int param_2,long param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00127b90(long param_1,int param_2,long param_3)" identifier (parameter_list "(long param_1,int param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }" { (expression_statement "DAT_002b6188 = 0;" (assignment_expression "DAT_002b6188 = 0" identifier = number_literal) ;) (expression_statement "DAT_002b61d0 = 0x2b46b0;" (assignment_expression "DAT_002b61d0 = 0x2b46b0" identifier = number_literal) ;) (expression_statement "DAT_002b61c0 = 0;" (assignment_expression "DAT_002b61c0 = 0" identifier = number_literal) ;) (expression_statement "DAT_002b61c8 = 0;" (assignment_expression "DAT_002b61c8 = 0" identifier = number_literal) ;) (expression_statement "FUN_00125710();" (call_expression "FUN_00125710()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }" if (parenthesized_expression "(DAT_002b61b8 != 0)" ( (binary_expression "DAT_002b61b8 != 0" identifier != number_literal) )) (compound_statement "{\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }" { (if_statement "if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }" if (parenthesized_expression "(DAT_002b61b0 == 0)" ( (binary_expression "DAT_002b61b0 == 0" identifier == number_literal) )) (compound_statement "{\n        return DAT_002b61a0;\n      }" { (return_statement "return DAT_002b61a0;" return identifier ;) })) (expression_statement "DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);" (assignment_expression "DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28)" identifier = (binary_expression "DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28)" identifier + (pointer_expression "*(long *)(DAT_002b61b0 + 0x28)" * (cast_expression "(long *)(DAT_002b61b0 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_002b61b0 + 0x28)" ( (binary_expression "DAT_002b61b0 + 0x28" identifier + number_literal) )))))) ;) (return_statement "return DAT_002b61a0;" return identifier ;) })) (if_statement "if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }" if (parenthesized_expression "((param_3 != 0) && (DAT_002b6180 != 1))" ( (binary_expression "(param_3 != 0) && (DAT_002b6180 != 1)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_002b6180 != 1)" ( (binary_expression "DAT_002b6180 != 1" identifier != number_literal) ))) )) (compound_statement "{\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }" { (expression_statement "uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" identifier (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" ( number_literal , (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00129380(uVar1,param_1,param_3);" (call_expression "FUN_00129380(uVar1,param_1,param_3)" identifier (argument_list "(uVar1,param_1,param_3)" ( identifier , identifier , identifier ))) ;) })) })) (return_statement "return (long)param_2;" return (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) })) (return_statement return (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) ;) })))
(function_definition "long FUN_00127b90(long param_1,int param_2,long param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_00127b90(long param_1,int param_2,long param_3)" (identifier "FUN_00127b90") (parameter_list "(long param_1,int param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }\n  return (long)param_2;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (if_statement "if (param_1 != 0) {\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_002b6188 = 0;\n    DAT_002b61d0 = 0x2b46b0;\n    DAT_002b61c0 = 0;\n    DAT_002b61c8 = 0;\n    FUN_00125710();\n    if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }\n    if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }\n  }" ({ "{") (expression_statement "DAT_002b6188 = 0;" (assignment_expression "DAT_002b6188 = 0" (identifier "DAT_002b6188") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_002b61d0 = 0x2b46b0;" (assignment_expression "DAT_002b61d0 = 0x2b46b0" (identifier "DAT_002b61d0") (= "=") (number_literal "0x2b46b0")) (; ";")) (expression_statement "DAT_002b61c0 = 0;" (assignment_expression "DAT_002b61c0 = 0" (identifier "DAT_002b61c0") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_002b61c8 = 0;" (assignment_expression "DAT_002b61c8 = 0" (identifier "DAT_002b61c8") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00125710();" (call_expression "FUN_00125710()" (identifier "FUN_00125710") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_002b61b8 != 0) {\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }" (if "if") (parenthesized_expression "(DAT_002b61b8 != 0)" (( "(") (binary_expression "DAT_002b61b8 != 0" (identifier "DAT_002b61b8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }\n      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);\n      return DAT_002b61a0;\n    }" ({ "{") (if_statement "if (DAT_002b61b0 == 0) {\n        return DAT_002b61a0;\n      }" (if "if") (parenthesized_expression "(DAT_002b61b0 == 0)" (( "(") (binary_expression "DAT_002b61b0 == 0" (identifier "DAT_002b61b0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return DAT_002b61a0;\n      }" ({ "{") (return_statement "return DAT_002b61a0;" (return "return") (identifier "DAT_002b61a0") (; ";")) (} "}"))) (expression_statement "DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);" (assignment_expression "DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28)" (identifier "DAT_002b61a0") (= "=") (binary_expression "DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28)" (identifier "DAT_002b61a0") (+ "+") (pointer_expression "*(long *)(DAT_002b61b0 + 0x28)" (* "*") (cast_expression "(long *)(DAT_002b61b0 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_002b61b0 + 0x28)" (( "(") (binary_expression "DAT_002b61b0 + 0x28" (identifier "DAT_002b61b0") (+ "+") (number_literal "0x28")) () ")")))))) (; ";")) (return_statement "return DAT_002b61a0;" (return "return") (identifier "DAT_002b61a0") (; ";")) (} "}"))) (if_statement "if ((param_3 != 0) && (DAT_002b6180 != 1)) {\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }" (if "if") (parenthesized_expression "((param_3 != 0) && (DAT_002b6180 != 1))" (( "(") (binary_expression "(param_3 != 0) && (DAT_002b6180 != 1)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(DAT_002b6180 != 1)" (( "(") (binary_expression "DAT_002b6180 != 1" (identifier "DAT_002b6180") (!= "!=") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);\n      FUN_00129380(uVar1,param_1,param_3);\n    }" ({ "{") (expression_statement "uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);" (assignment_expression "uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P:%pS: nonconstant expression for %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P:%pS: nonconstant expression for %s\n"" (" """) (string_content "%F%P:%pS: nonconstant expression for %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00129380(uVar1,param_1,param_3);" (call_expression "FUN_00129380(uVar1,param_1,param_3)" (identifier "FUN_00129380") (argument_list "(uVar1,param_1,param_3)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return (long)param_2;" (return "return") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (; ";")) (} "}")))

type_1 function_1(type_2 *var_1,int def,char *var_4)

{
  char *fmt;
  
  if (var_1 != (type_2 *)0x0) {
    expld.rel_from_abs = 0;
    expld.section = (type_3 *)(var_2 + 0x230);
    expld.dot = 0;
    expld.dotp = (type_1 *)0x0;
    var_3(var_1);
    if (expld.result.valid_p != 0) {
      if (expld.result.section == (type_3 *)0x0) {
        return expld.result.value;
      }
      expld.result.value = expld.result.value + (expld.result.section)->vma;
      return expld.result.value;
    }
    if ((var_4 != (char *)0x0) && (expld.phase != var_5)) {
      fmt = (char *)var_6(0,"%F%P:%pS: nonconstant expression for %s\n",5);
      var_7(fmt,var_1,var_4);
    }
  }
  return (long)def;
}


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

long MASKED(long param_1,int param_2,long param_3)

{
  undefined8 uVar1;
  
  if (param_1 != 0) {
    DAT_002b6188 = 0;
    DAT_002b61d0 = 0x2b46b0;
    DAT_002b61c0 = 0;
    DAT_002b61c8 = 0;
    FUN_00125710();
    if (DAT_002b61b8 != 0) {
      if (DAT_002b61b0 == 0) {
        return DAT_002b61a0;
      }
      DAT_002b61a0 = DAT_002b61a0 + *(long *)(DAT_002b61b0 + 0x28);
      return DAT_002b61a0;
    }
    if ((param_3 != 0) && (DAT_002b6180 != 1)) {
      uVar1 = dcgettext(0,"%F%P:%pS: nonconstant expression for %s\n",5);
      FUN_00129380(uVar1,param_1,param_3);
    }
  }
  return (long)param_2;
}

