
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Align_expression * this, Expression_eval_info * eei) */

uint64_t __thiscall gold::Align_expression::value(Align_expression *this,Expression_eval_info *eei)

{
  ulong *puVar1;
  uint64_t uVar2;
  uint64_t uVar3;
  char *format;
  ulong uVar4;
  Output_section *align_section;
  
  uVar2 = Expression::eval_maybe_dot
                    ((this->super_Binary_expression).right_,eei->symtab,eei->layout,
                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                     &align_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,
                     eei->is_valid_pointer);
  if (align_section != (Output_section *)0x0) {
    if (parameters->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
    }
    if ((parameters->options_->relocatable_).value != false) {
      format = (char *)gettext("aligning to section relative value");
      gold_warning(format);
    }
  }
  puVar1 = eei->result_alignment_pointer;
  if ((puVar1 != (ulong *)0x0) && (uVar3 = uVar2, *puVar1 < uVar2)) {
    do {
      uVar4 = uVar3;
      uVar3 = uVar4 - 1 & uVar4;
    } while (uVar3 != 0);
    *puVar1 = uVar4;
  }
  uVar3 = Expression::eval_maybe_dot
                    ((this->super_Binary_expression).left_,eei->symtab,eei->layout,
                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                     eei->result_section_pointer,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,
                     false,eei->is_valid_pointer);
  if (1 < uVar2) {
    uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2;
  }
  return uVar3;
}



long FUN_00250e70(long param_1,undefined8 *param_2)

{
  ulong *puVar1;
  ulong uVar2;
  long lVar3;
  ulong uVar4;
  undefined8 uVar5;
  ulong uVar6;
  long local_20;
  
  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],
                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]
                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);
  if (local_20 != 0) {
    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");
    }
    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {
      uVar5 = gettext("aligning to section relative value");
      FUN_00169150(uVar5);
    }
  }
  puVar1 = (ulong *)param_2[6];
  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {
    do {
      uVar6 = uVar4;
      uVar4 = uVar6 - 1 & uVar6;
    } while (uVar4 != 0);
    *puVar1 = uVar6;
  }
  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0
                       ,0,0,param_2[10]);
  if (1 < uVar2) {
    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;
  }
  return lVar3;
}


PUSH R12
MOV R12,RDI
PUSH RBP
PUSH RBX
MOV RBX,RSI
SUB RSP,0x10
MOVZX ECX,byte ptr [RSI + 0x10]
MOV RDX,qword ptr [RSI + 0x8]
MOV RDI,qword ptr [RDI + 0x10]
MOV R9,qword ptr [RSI + 0x18]
PUSH qword ptr [RSI + 0x50]
MOVZX R8D,byte ptr [RSI + 0x11]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
LEA RAX,[RSP + 0x38]
PUSH RAX
PUSH qword ptr [RSI + 0x20]
MOV RSI,qword ptr [RSI]
CALL 0x0024d0d0
ADD RSP,0x40
CMP qword ptr [RSP + 0x8],0x0
MOV RBP,RAX
JZ 0x00250edd
MOV RAX,qword ptr [0x003be6b0]
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JZ 0x00250f73
CMP byte ptr [RAX + 0x5051],0x0
JNZ 0x00250f58
MOV RCX,qword ptr [RBX + 0x30]
TEST RCX,RCX
JZ 0x00250eee
MOV RDX,RBP
CMP qword ptr [RCX],RBP
JC 0x00250f43
MOVZX ECX,byte ptr [RBX + 0x10]
MOV RDX,qword ptr [RBX + 0x8]
PUSH qword ptr [RBX + 0x50]
MOV RDI,qword ptr [R12 + 0x8]
PUSH 0x0
MOV R9,qword ptr [RBX + 0x18]
MOVZX R8D,byte ptr [RBX + 0x11]
PUSH 0x0
PUSH 0x0
MOV RSI,qword ptr [RBX]
PUSH 0x0
PUSH 0x0
PUSH qword ptr [RBX + 0x28]
PUSH qword ptr [RBX + 0x20]
CALL 0x0024d0d0
ADD RSP,0x40
CMP RBP,0x1
JBE 0x00250f37
LEA RAX,[RBP + RAX*0x1 + -0x1]
XOR EDX,EDX
DIV RBP
IMUL RAX,RBP
ADD RSP,0x10
POP RBX
POP RBP
POP R12
RET
MOV RDX,RAX
LEA RAX,[RDX + -0x1]
AND RAX,RDX
JNZ 0x00250f40
MOV qword ptr [RCX],RDX
JMP 0x00250eee
LEA RDI,[0x324908]
CALL 0x0013e320
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00169150
JMP 0x00250edd
LEA RDX,[0x324ad8]
MOV ESI,0x5c
LEA RDI,[0x30dc70]
CALL 0x0016cdf0
(translation_unit "long FUN_00250e70(long param_1,undefined8 *param_2)\n\n{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}\n\n" (function_definition "long FUN_00250e70(long param_1,undefined8 *param_2)\n\n{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00250e70(long param_1,undefined8 *param_2)" identifier (parameter_list "(long param_1,undefined8 *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);" (assignment_expression "uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" identifier = (call_expression "FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" identifier (argument_list "(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" ( (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((long)param_2 + 0x11)" * (cast_expression "(undefined1 *)((long)param_2 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x11)" ( (binary_expression "(long)param_2 + 0x11" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (pointer_expression "&local_20" & identifier) , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[10]" identifier [ number_literal ]) )))) ;) (if_statement "if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }" { (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x10) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x10)" ( (binary_expression "PTR_DAT_003be6b0 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }" { comment (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }" if (parenthesized_expression "(*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0')" ( (binary_expression "*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0'" (pointer_expression "*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" * (cast_expression "(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x10)" ( (binary_expression "PTR_DAT_003be6b0 + 0x10" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }" { (expression_statement "uVar5 = gettext("aligning to section relative value");" (assignment_expression "uVar5 = gettext("aligning to section relative value")" identifier = (call_expression "gettext("aligning to section relative value")" identifier (argument_list "("aligning to section relative value")" ( (string_literal ""aligning to section relative value"" " string_content ") )))) ;) (expression_statement "FUN_00169150(uVar5);" (call_expression "FUN_00169150(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) })) (expression_statement "puVar1 = (ulong *)param_2[6];" (assignment_expression "puVar1 = (ulong *)param_2[6]" identifier = (cast_expression "(ulong *)param_2[6]" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ]))) ;) (if_statement "if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }" if (parenthesized_expression "((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2))" ( (binary_expression "(puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)" (parenthesized_expression "(puVar1 != (ulong *)0x0)" ( (binary_expression "puVar1 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar4 = uVar2, *puVar1 < uVar2)" ( (comma_expression "uVar4 = uVar2, *puVar1 < uVar2" (assignment_expression "uVar4 = uVar2" identifier = identifier) , (binary_expression "*puVar1 < uVar2" (pointer_expression "*puVar1" * identifier) < identifier)) ))) )) (compound_statement "{\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }" { (do_statement "do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);" do (compound_statement "{\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    }" { (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" identifier = identifier) ;) (expression_statement "uVar4 = uVar6 - 1 & uVar6;" (assignment_expression "uVar4 = uVar6 - 1 & uVar6" identifier = (binary_expression "uVar6 - 1 & uVar6" (binary_expression "uVar6 - 1" identifier - number_literal) & identifier)) ;) }) while (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) ;) (expression_statement "*puVar1 = uVar6;" (assignment_expression "*puVar1 = uVar6" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) (expression_statement "lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);" (assignment_expression "lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" identifier = (call_expression "FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" identifier (argument_list "(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" ( (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((long)param_2 + 0x11)" * (cast_expression "(undefined1 *)((long)param_2 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x11)" ( (binary_expression "(long)param_2 + 0x11" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (subscript_expression "param_2[5]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[10]" identifier [ number_literal ]) )))) ;) (if_statement "if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }" if (parenthesized_expression "(1 < uVar2)" ( (binary_expression "1 < uVar2" number_literal < identifier) )) (compound_statement "{\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }" { (expression_statement "lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;" (assignment_expression "lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2" identifier = (binary_expression "(((uVar2 - 1) + lVar3) / uVar2) * uVar2" (parenthesized_expression "(((uVar2 - 1) + lVar3) / uVar2)" ( (binary_expression "((uVar2 - 1) + lVar3) / uVar2" (parenthesized_expression "((uVar2 - 1) + lVar3)" ( (binary_expression "(uVar2 - 1) + lVar3" (parenthesized_expression "(uVar2 - 1)" ( (binary_expression "uVar2 - 1" identifier - number_literal) )) + identifier) )) / identifier) )) * identifier)) ;) })) (return_statement "return lVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "STT": Some values do not have unique names */\n/* DWARF original prototype: uint64_t value(Align_expression * this, Expression_eval_info * eei) */\n\nuint64_t __thiscall gold::Align_expression::value(Align_expression *this,Expression_eval_info *eei)\n\n{\n  ulong *puVar1;\n  uint64_t uVar2;\n  uint64_t uVar3;\n  char *format;\n  ulong uVar4;\n  Output_section *align_section;\n  \n  uVar2 = Expression::eval_maybe_dot\n                    ((this->super_Binary_expression).right_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     &align_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  if (align_section != (Output_section *)0x0) {\n    if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->relocatable_).value != false) {\n      format = (char *)gettext("aligning to section relative value");\n      gold_warning(format);\n    }\n  }\n  puVar1 = eei->result_alignment_pointer;\n  if ((puVar1 != (ulong *)0x0) && (uVar3 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar4 = uVar3;\n      uVar3 = uVar4 - 1 & uVar4;\n    } while (uVar3 != 0);\n    *puVar1 = uVar4;\n  }\n  uVar3 = Expression::eval_maybe_dot\n                    ((this->super_Binary_expression).left_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,\n                     false,eei->is_valid_pointer);\n  if (1 < uVar2) {\n    uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2;\n  }\n  return uVar3;\n}\n\n" comment comment comment (function_definition "uint64_t __thiscall gold::Align_expression::value(Align_expression *this,Expression_eval_info *eei)\n\n{\n  ulong *puVar1;\n  uint64_t uVar2;\n  uint64_t uVar3;\n  char *format;\n  ulong uVar4;\n  Output_section *align_section;\n  \n  uVar2 = Expression::eval_maybe_dot\n                    ((this->super_Binary_expression).right_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     &align_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  if (align_section != (Output_section *)0x0) {\n    if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->relocatable_).value != false) {\n      format = (char *)gettext("aligning to section relative value");\n      gold_warning(format);\n    }\n  }\n  puVar1 = eei->result_alignment_pointer;\n  if ((puVar1 != (ulong *)0x0) && (uVar3 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar4 = uVar3;\n      uVar3 = uVar4 - 1 & uVar4;\n    } while (uVar3 != 0);\n    *puVar1 = uVar4;\n  }\n  uVar3 = Expression::eval_maybe_dot\n                    ((this->super_Binary_expression).left_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,\n                     false,eei->is_valid_pointer);\n  if (1 < uVar2) {\n    uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2;\n  }\n  return uVar3;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Align_expression::" identifier : : identifier : :) (function_declarator "value(Align_expression *this,Expression_eval_info *eei)" identifier (parameter_list "(Align_expression *this,Expression_eval_info *eei)" ( (parameter_declaration "Align_expression *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression_eval_info *eei" type_identifier (pointer_declarator "*eei" * identifier)) ))) (compound_statement "{\n  ulong *puVar1;\n  uint64_t uVar2;\n  uint64_t uVar3;\n  char *format;\n  ulong uVar4;\n  Output_section *align_section;\n  \n  uVar2 = Expression::eval_maybe_dot\n                    ((this->super_Binary_expression).right_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     &align_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  if (align_section != (Output_section *)0x0) {\n    if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->relocatable_).value != false) {\n      format = (char *)gettext("aligning to section relative value");\n      gold_warning(format);\n    }\n  }\n  puVar1 = eei->result_alignment_pointer;\n  if ((puVar1 != (ulong *)0x0) && (uVar3 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar4 = uVar3;\n      uVar3 = uVar4 - 1 & uVar4;\n    } while (uVar3 != 0);\n    *puVar1 = uVar4;\n  }\n  uVar3 = Expression::eval_maybe_dot\n                    ((this->super_Binary_expression).left_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,\n                     false,eei->is_valid_pointer);\n  if (1 < uVar2) {\n    uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2;\n  }\n  return uVar3;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint64_t uVar2;" primitive_type identifier ;) (declaration "uint64_t uVar3;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "Output_section *align_section;" type_identifier (pointer_declarator "*align_section" * identifier) ;) (ERROR "uVar2 = Expression::" (assignment_expression "uVar2 = Expression" identifier = identifier) : :) (expression_statement "eval_maybe_dot\n                    ((this->super_Binary_expression).right_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     &align_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);" (call_expression "eval_maybe_dot\n                    ((this->super_Binary_expression).right_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     &align_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer)" identifier (argument_list "((this->super_Binary_expression).right_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     &align_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer)" ( (field_expression "(this->super_Binary_expression).right_" (parenthesized_expression "(this->super_Binary_expression)" ( (field_expression "this->super_Binary_expression" identifier -> field_identifier) )) . field_identifier) , (field_expression "eei->symtab" identifier -> field_identifier) , (field_expression "eei->layout" identifier -> field_identifier) , (field_expression "eei->check_assertions" identifier -> field_identifier) , (field_expression "eei->is_dot_available" identifier -> field_identifier) , (field_expression "eei->dot_value" identifier -> field_identifier) , (field_expression "eei->dot_section" identifier -> field_identifier) , (pointer_expression "&align_section" & identifier) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STT *)0x0" ( (type_descriptor "STT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STV *)0x0" ( (type_descriptor "STV *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , false , (field_expression "eei->is_valid_pointer" identifier -> field_identifier) ))) ;) (if_statement "if (align_section != (Output_section *)0x0) {\n    if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->relocatable_).value != false) {\n      format = (char *)gettext("aligning to section relative value");\n      gold_warning(format);\n    }\n  }" if (parenthesized_expression "(align_section != (Output_section *)0x0)" ( (binary_expression "align_section != (Output_section *)0x0" identifier != (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->relocatable_).value != false) {\n      format = (char *)gettext("aligning to section relative value");\n      gold_warning(format);\n    }\n  }" { (if_statement "if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if ((parameters->options_->relocatable_).value != false) {\n      format = (char *)gettext("aligning to section relative value");\n      gold_warning(format);\n    }" if (parenthesized_expression "((parameters->options_->relocatable_).value != false)" ( (binary_expression "(parameters->options_->relocatable_).value != false" (field_expression "(parameters->options_->relocatable_).value" (parenthesized_expression "(parameters->options_->relocatable_)" ( (field_expression "parameters->options_->relocatable_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n      format = (char *)gettext("aligning to section relative value");\n      gold_warning(format);\n    }" { (expression_statement "format = (char *)gettext("aligning to section relative value");" (assignment_expression "format = (char *)gettext("aligning to section relative value")" identifier = (cast_expression "(char *)gettext("aligning to section relative value")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("aligning to section relative value")" identifier (argument_list "("aligning to section relative value")" ( (string_literal ""aligning to section relative value"" " string_content ") ))))) ;) (expression_statement "gold_warning(format);" (call_expression "gold_warning(format)" identifier (argument_list "(format)" ( identifier ))) ;) })) })) (expression_statement "puVar1 = eei->result_alignment_pointer;" (assignment_expression "puVar1 = eei->result_alignment_pointer" identifier = (field_expression "eei->result_alignment_pointer" identifier -> field_identifier)) ;) (if_statement "if ((puVar1 != (ulong *)0x0) && (uVar3 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar4 = uVar3;\n      uVar3 = uVar4 - 1 & uVar4;\n    } while (uVar3 != 0);\n    *puVar1 = uVar4;\n  }" if (parenthesized_expression "((puVar1 != (ulong *)0x0) && (uVar3 = uVar2, *puVar1 < uVar2))" ( (binary_expression "(puVar1 != (ulong *)0x0) && (uVar3 = uVar2, *puVar1 < uVar2)" (parenthesized_expression "(puVar1 != (ulong *)0x0)" ( (binary_expression "puVar1 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar3 = uVar2, *puVar1 < uVar2)" ( (comma_expression "uVar3 = uVar2, *puVar1 < uVar2" (assignment_expression "uVar3 = uVar2" identifier = identifier) , (binary_expression "*puVar1 < uVar2" (pointer_expression "*puVar1" * identifier) < identifier)) ))) )) (compound_statement "{\n    do {\n      uVar4 = uVar3;\n      uVar3 = uVar4 - 1 & uVar4;\n    } while (uVar3 != 0);\n    *puVar1 = uVar4;\n  }" { (do_statement "do {\n      uVar4 = uVar3;\n      uVar3 = uVar4 - 1 & uVar4;\n    } while (uVar3 != 0);" do (compound_statement "{\n      uVar4 = uVar3;\n      uVar3 = uVar4 - 1 & uVar4;\n    }" { (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" identifier = identifier) ;) (expression_statement "uVar3 = uVar4 - 1 & uVar4;" (assignment_expression "uVar3 = uVar4 - 1 & uVar4" identifier = (binary_expression "uVar4 - 1 & uVar4" (binary_expression "uVar4 - 1" identifier - number_literal) & identifier)) ;) }) while (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) ;) (expression_statement "*puVar1 = uVar4;" (assignment_expression "*puVar1 = uVar4" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) (ERROR "uVar3 = Expression::" (assignment_expression "uVar3 = Expression" identifier = identifier) : :) (expression_statement "eval_maybe_dot\n                    ((this->super_Binary_expression).left_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,\n                     false,eei->is_valid_pointer);" (call_expression "eval_maybe_dot\n                    ((this->super_Binary_expression).left_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,\n                     false,eei->is_valid_pointer)" identifier (argument_list "((this->super_Binary_expression).left_,eei->symtab,eei->layout,\n                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                     eei->result_section_pointer,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,\n                     false,eei->is_valid_pointer)" ( (field_expression "(this->super_Binary_expression).left_" (parenthesized_expression "(this->super_Binary_expression)" ( (field_expression "this->super_Binary_expression" identifier -> field_identifier) )) . field_identifier) , (field_expression "eei->symtab" identifier -> field_identifier) , (field_expression "eei->layout" identifier -> field_identifier) , (field_expression "eei->check_assertions" identifier -> field_identifier) , (field_expression "eei->is_dot_available" identifier -> field_identifier) , (field_expression "eei->dot_value" identifier -> field_identifier) , (field_expression "eei->dot_section" identifier -> field_identifier) , (field_expression "eei->result_section_pointer" identifier -> field_identifier) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STT *)0x0" ( (type_descriptor "STT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STV *)0x0" ( (type_descriptor "STV *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , false , (field_expression "eei->is_valid_pointer" identifier -> field_identifier) ))) ;) (if_statement "if (1 < uVar2) {\n    uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2;\n  }" if (parenthesized_expression "(1 < uVar2)" ( (binary_expression "1 < uVar2" number_literal < identifier) )) (compound_statement "{\n    uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2;\n  }" { (expression_statement "uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2;" (assignment_expression "uVar3 = (((uVar2 - 1) + uVar3) / uVar2) * uVar2" identifier = (binary_expression "(((uVar2 - 1) + uVar3) / uVar2) * uVar2" (parenthesized_expression "(((uVar2 - 1) + uVar3) / uVar2)" ( (binary_expression "((uVar2 - 1) + uVar3) / uVar2" (parenthesized_expression "((uVar2 - 1) + uVar3)" ( (binary_expression "(uVar2 - 1) + uVar3" (parenthesized_expression "(uVar2 - 1)" ( (binary_expression "uVar2 - 1" identifier - number_literal) )) + identifier) )) / identifier) )) * identifier)) ;) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "long FUN_00250e70(long param_1,undefined8 *param_2)\n\n{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}\n\n" (function_definition "long FUN_00250e70(long param_1,undefined8 *param_2)\n\n{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00250e70(long param_1,undefined8 *param_2)" identifier (parameter_list "(long param_1,undefined8 *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);" (assignment_expression "uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" identifier = (call_expression "FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" identifier (argument_list "(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" ( (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((long)param_2 + 0x11)" * (cast_expression "(undefined1 *)((long)param_2 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x11)" ( (binary_expression "(long)param_2 + 0x11" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (pointer_expression "&local_20" & identifier) , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[10]" identifier [ number_literal ]) )))) ;) (if_statement "if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }" { (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x10) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x10)" ( (binary_expression "PTR_DAT_003be6b0 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }" { (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }" if (parenthesized_expression "(*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0')" ( (binary_expression "*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0'" (pointer_expression "*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" * (cast_expression "(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x10)" ( (binary_expression "PTR_DAT_003be6b0 + 0x10" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }" { (expression_statement "uVar5 = gettext("aligning to section relative value");" (assignment_expression "uVar5 = gettext("aligning to section relative value")" identifier = (call_expression "gettext("aligning to section relative value")" identifier (argument_list "("aligning to section relative value")" ( (string_literal ""aligning to section relative value"" " string_content ") )))) ;) (expression_statement "FUN_00169150(uVar5);" (call_expression "FUN_00169150(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) })) (expression_statement "puVar1 = (ulong *)param_2[6];" (assignment_expression "puVar1 = (ulong *)param_2[6]" identifier = (cast_expression "(ulong *)param_2[6]" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ]))) ;) (if_statement "if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }" if (parenthesized_expression "((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2))" ( (binary_expression "(puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)" (parenthesized_expression "(puVar1 != (ulong *)0x0)" ( (binary_expression "puVar1 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar4 = uVar2, *puVar1 < uVar2)" ( (comma_expression "uVar4 = uVar2, *puVar1 < uVar2" (assignment_expression "uVar4 = uVar2" identifier = identifier) , (binary_expression "*puVar1 < uVar2" (pointer_expression "*puVar1" * identifier) < identifier)) ))) )) (compound_statement "{\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }" { (do_statement "do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);" do (compound_statement "{\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    }" { (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" identifier = identifier) ;) (expression_statement "uVar4 = uVar6 - 1 & uVar6;" (assignment_expression "uVar4 = uVar6 - 1 & uVar6" identifier = (binary_expression "uVar6 - 1 & uVar6" (binary_expression "uVar6 - 1" identifier - number_literal) & identifier)) ;) }) while (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) ;) (expression_statement "*puVar1 = uVar6;" (assignment_expression "*puVar1 = uVar6" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) (expression_statement "lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);" (assignment_expression "lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" identifier = (call_expression "FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" identifier (argument_list "(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" ( (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((long)param_2 + 0x11)" * (cast_expression "(undefined1 *)((long)param_2 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x11)" ( (binary_expression "(long)param_2 + 0x11" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (subscript_expression "param_2[5]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[10]" identifier [ number_literal ]) )))) ;) (if_statement "if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }" if (parenthesized_expression "(1 < uVar2)" ( (binary_expression "1 < uVar2" number_literal < identifier) )) (compound_statement "{\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }" { (expression_statement "lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;" (assignment_expression "lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2" identifier = (binary_expression "(((uVar2 - 1) + lVar3) / uVar2) * uVar2" (parenthesized_expression "(((uVar2 - 1) + lVar3) / uVar2)" ( (binary_expression "((uVar2 - 1) + lVar3) / uVar2" (parenthesized_expression "((uVar2 - 1) + lVar3)" ( (binary_expression "(uVar2 - 1) + lVar3" (parenthesized_expression "(uVar2 - 1)" ( (binary_expression "uVar2 - 1" identifier - number_literal) )) + identifier) )) / identifier) )) * identifier)) ;) })) (return_statement "return lVar3;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) , LIT , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (pointer_expression * IDENT) < IDENT)) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , LIT , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + IDENT) )) / IDENT) )) * IDENT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "long FUN_00250e70(long param_1,undefined8 *param_2)\n\n{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_00250e70(long param_1,undefined8 *param_2)" (identifier "FUN_00250e70") (parameter_list "(long param_1,undefined8 *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  ulong *puVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  ulong uVar6;\n  long local_20;\n  \n  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);\n  if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }\n  puVar1 = (ulong *)param_2[6];\n  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }\n  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);\n  if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }\n  return lVar3;\n}" ({ "{") (declaration "ulong *puVar1;" (type_identifier "ulong") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (expression_statement "uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);" (assignment_expression "uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" (identifier "uVar2") (= "=") (call_expression "FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" (identifier "FUN_0024d0d0") (argument_list "(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],\n                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]\n                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10])" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined1 *)(param_2 + 2)" (* "*") (cast_expression "(undefined1 *)(param_2 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)((long)param_2 + 0x11)" (* "*") (cast_expression "(undefined1 *)((long)param_2 + 0x11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_2 + 0x11)" (( "(") (binary_expression "(long)param_2 + 0x11" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (+ "+") (number_literal "0x11")) () ")")))) (, ",") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) () ")")))) (; ";")) (if_statement "if (local_20 != 0) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }" (if "if") (parenthesized_expression "(local_20 != 0)" (( "(") (binary_expression "local_20 != 0" (identifier "local_20") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }\n    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }\n  }" ({ "{") (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x10)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x10" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");\n    }" ({ "{") (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x5c,"options")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/parameters.h",0x5c,"options")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }" (if "if") (parenthesized_expression "(*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0')" (( "(") (binary_expression "*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0'" (pointer_expression "*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" (* "*") (cast_expression "(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x10)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x10" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x5051")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar5 = gettext("aligning to section relative value");\n      FUN_00169150(uVar5);\n    }" ({ "{") (expression_statement "uVar5 = gettext("aligning to section relative value");" (assignment_expression "uVar5 = gettext("aligning to section relative value")" (identifier "uVar5") (= "=") (call_expression "gettext("aligning to section relative value")" (identifier "gettext") (argument_list "("aligning to section relative value")" (( "(") (string_literal ""aligning to section relative value"" (" """) (string_content "aligning to section relative value") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00169150(uVar5);" (call_expression "FUN_00169150(uVar5)" (identifier "FUN_00169150") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar1 = (ulong *)param_2[6];" (assignment_expression "puVar1 = (ulong *)param_2[6]" (identifier "puVar1") (= "=") (cast_expression "(ulong *)param_2[6]" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")))) (; ";")) (if_statement "if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }" (if "if") (parenthesized_expression "((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2))" (( "(") (binary_expression "(puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)" (parenthesized_expression "(puVar1 != (ulong *)0x0)" (( "(") (binary_expression "puVar1 != (ulong *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(uVar4 = uVar2, *puVar1 < uVar2)" (( "(") (comma_expression "uVar4 = uVar2, *puVar1 < uVar2" (assignment_expression "uVar4 = uVar2" (identifier "uVar4") (= "=") (identifier "uVar2")) (, ",") (binary_expression "*puVar1 < uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (< "<") (identifier "uVar2"))) () ")"))) () ")")) (compound_statement "{\n    do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);\n    *puVar1 = uVar6;\n  }" ({ "{") (do_statement "do {\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    } while (uVar4 != 0);" (do "do") (compound_statement "{\n      uVar6 = uVar4;\n      uVar4 = uVar6 - 1 & uVar6;\n    }" ({ "{") (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" (identifier "uVar6") (= "=") (identifier "uVar4")) (; ";")) (expression_statement "uVar4 = uVar6 - 1 & uVar6;" (assignment_expression "uVar4 = uVar6 - 1 & uVar6" (identifier "uVar4") (= "=") (binary_expression "uVar6 - 1 & uVar6" (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1")) (& "&") (identifier "uVar6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "*puVar1 = uVar6;" (assignment_expression "*puVar1 = uVar6" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (expression_statement "lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10]);" (assignment_expression "lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" (identifier "lVar3") (= "=") (call_expression "FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" (identifier "FUN_0024d0d0") (argument_list "(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0\n                       ,0,0,param_2[10])" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined1 *)(param_2 + 2)" (* "*") (cast_expression "(undefined1 *)(param_2 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)((long)param_2 + 0x11)" (* "*") (cast_expression "(undefined1 *)((long)param_2 + 0x11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_2 + 0x11)" (( "(") (binary_expression "(long)param_2 + 0x11" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (+ "+") (number_literal "0x11")) () ")")))) (, ",") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) () ")")))) (; ";")) (if_statement "if (1 < uVar2) {\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }" (if "if") (parenthesized_expression "(1 < uVar2)" (( "(") (binary_expression "1 < uVar2" (number_literal "1") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;\n  }" ({ "{") (expression_statement "lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;" (assignment_expression "lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2" (identifier "lVar3") (= "=") (binary_expression "(((uVar2 - 1) + lVar3) / uVar2) * uVar2" (parenthesized_expression "(((uVar2 - 1) + lVar3) / uVar2)" (( "(") (binary_expression "((uVar2 - 1) + lVar3) / uVar2" (parenthesized_expression "((uVar2 - 1) + lVar3)" (( "(") (binary_expression "(uVar2 - 1) + lVar3" (parenthesized_expression "(uVar2 - 1)" (( "(") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1")) () ")")) (+ "+") (identifier "lVar3")) () ")")) (/ "/") (identifier "uVar2")) () ")")) (* "*") (identifier "uVar2"))) (; ";")) (} "}"))) (return_statement "return lVar3;" (return "return") (identifier "lVar3") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Align_expression * this, Expression_eval_info * eei) */

uint64_t __thiscall gold::type_1::function_1(type_1 *this,type_2 *eei)

{
  type_3 *var_6;
  uint64_t var_7;
  uint64_t var_9;
  char *format;
  type_3 var_8;
  type_4 *var_2;
  
  var_7 = Expression::var_1
                    ((this->super_Binary_expression).right_,eei->symtab,eei->layout,
                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                     &var_2,(uint64_t *)0x0,(type_5 *)0x0,(type_6 *)0x0,(type_7 *)0x0,false,
                     eei->is_valid_pointer);
  if (var_2 != (type_4 *)0x0) {
    if (parameters->options_ == (type_8 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gold/parameters.h",0x5c,"options");
    }
    if ((parameters->options_->relocatable_).function_1 != false) {
      format = (char *)var_4("aligning to section relative value");
      var_5(format);
    }
  }
  var_6 = eei->result_alignment_pointer;
  if ((var_6 != (type_3 *)0x0) && (var_9 = var_7, *var_6 < var_7)) {
    do {
      var_8 = var_9;
      var_9 = var_8 - 1 & var_8;
    } while (var_9 != 0);
    *var_6 = var_8;
  }
  var_9 = Expression::var_1
                    ((this->super_Binary_expression).left_,eei->symtab,eei->layout,
                     eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                     eei->result_section_pointer,(uint64_t *)0x0,(type_5 *)0x0,(type_6 *)0x0,(type_7 *)0x0,
                     false,eei->is_valid_pointer);
  if (1 < var_7) {
    var_9 = (((var_7 - 1) + var_9) / var_7) * var_7;
  }
  return var_9;
}


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

long MASKED(long param_1,undefined8 *param_2)

{
  ulong *puVar1;
  ulong uVar2;
  long lVar3;
  ulong uVar4;
  undefined8 uVar5;
  ulong uVar6;
  long local_20;
  
  uVar2 = FUN_0024d0d0(*(undefined8 *)(param_1 + 0x10),*param_2,param_2[1],
                       *(undefined1 *)(param_2 + 2),*(undefined1 *)((long)param_2 + 0x11),param_2[3]
                       ,param_2[4],&local_20,0,0,0,0,0,param_2[10]);
  if (local_20 != 0) {
    if (*(long *)(PTR_DAT_003be6b0 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0016cdf0("../../gold/parameters.h",0x5c,"options");
    }
    if (*(char *)(*(long *)(PTR_DAT_003be6b0 + 0x10) + 0x5051) != '\0') {
      uVar5 = gettext("aligning to section relative value");
      FUN_00169150(uVar5);
    }
  }
  puVar1 = (ulong *)param_2[6];
  if ((puVar1 != (ulong *)0x0) && (uVar4 = uVar2, *puVar1 < uVar2)) {
    do {
      uVar6 = uVar4;
      uVar4 = uVar6 - 1 & uVar6;
    } while (uVar4 != 0);
    *puVar1 = uVar6;
  }
  lVar3 = FUN_0024d0d0(*(undefined8 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((long)param_2 + 0x11),param_2[3],param_2[4],param_2[5],0,0,0
                       ,0,0,param_2[10]);
  if (1 < uVar2) {
    lVar3 = (((uVar2 - 1) + lVar3) / uVar2) * uVar2;
  }
  return lVar3;
}

