
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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)

{
  ulonglong *puVar1;
  ulonglong uVar2;
  longlong lVar3;
  ulonglong uVar4;
  char *format;
  uint uVar5;
  uint64_t uVar6;
  uint64_t uVar7;
  Output_section *align_section;
  undefined4 uStack_14;
  
  uStack_14 = 0x1bf549;
  uVar6 = 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);
  uVar5 = (uint)(uVar6 >> 0x20);
  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 != (ulonglong *)0x0) &&
     (uVar4 = uVar6,
     *(uint *)((int)puVar1 + 4) < uVar5 ||
     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6))) {
    do {
      uVar2 = uVar4;
      uVar4 = uVar2 - 1 & uVar2;
    } while (uVar4 != 0);
    *puVar1 = uVar2;
  }
  uVar7 = 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 (uVar5 != 0 || -uVar5 < (uint)(1 < (uint)uVar6)) {
    lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6);
    uVar7 = uVar6 * lVar3;
  }
  return uVar7;
}



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

int FUN_001bf540(int param_1,undefined4 *param_2)

{
  ulonglong *puVar1;
  ulonglong uVar2;
  ulonglong uVar3;
  uint uVar4;
  int iVar5;
  undefined4 uVar6;
  uint uVar7;
  ulonglong uVar8;
  longlong lVar9;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1bf549;
  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,
                       0,0,0,0,0,param_2[0xb]);
  uVar7 = (uint)(uVar8 >> 0x20);
  uVar4 = (uint)uVar8;
  if (local_20[0] != 0) {
    if (*(int *)(DAT_0038f378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);
    }
    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {
      uVar6 = gettext("aligning to section relative value");
      FUN_000654e0(uVar6);
    }
  }
  puVar1 = (ulonglong *)param_2[7];
  if ((puVar1 != (ulonglong *)0x0) &&
     (uVar3 = uVar8,
     *(uint *)((int)puVar1 + 4) < uVar7 ||
     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {
    do {
      uVar2 = uVar3;
      uVar3 = uVar2 - 1 & uVar2;
    } while ((uVar2 & uVar2 - 1) != 0);
    *puVar1 = uVar2;
  }
  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],
                       param_2[6],0,0,0,0,0,param_2[0xb]);
  iVar5 = (int)lVar9;
  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {
    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);
    iVar5 = iVar5 * uVar4;
  }
  return iVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1cfab7
SUB ESP,0x30
MOV ESI,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0xc],EBX
PUSH dword ptr [ESI + 0x2c]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
LEA EAX,[ESP + 0x38]
PUSH EAX
MOVZX EAX,byte ptr [ESI + 0x9]
PUSH dword ptr [ESI + 0x14]
PUSH dword ptr [ESI + 0x10]
PUSH dword ptr [ESI + 0xc]
PUSH EAX
MOVZX EAX,byte ptr [ESI + 0x8]
PUSH EAX
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESI]
MOV EAX,dword ptr [ESP + 0x7c]
PUSH dword ptr [EAX + 0x8]
CALL 0x001ba6c0
ADD ESP,0x40
MOV EBP,EDX
MOV EDX,dword ptr [ESP + 0x1c]
MOV EDI,EAX
TEST EDX,EDX
JZ 0x001bf5bf
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x001bf6bd
CMP byte ptr [EAX + 0x318d],0x0
JNZ 0x001bf690
MOV EDX,dword ptr [ESI + 0x1c]
MOV dword ptr [ESP + 0xc],EDX
TEST EDX,EDX
JZ 0x001bf609
MOV EAX,dword ptr [EDX + 0x4]
CMP dword ptr [EDX],EDI
SBB EAX,EBP
JNC 0x001bf609
MOV EAX,EDI
MOV EDX,EBP
MOV dword ptr [ESP + 0x44],ESI
JMP 0x001bf5e4
MOV EAX,ECX
MOV EDX,EBX
MOV ECX,EAX
MOV EBX,EDX
ADD ECX,-0x1
ADC EBX,-0x1
AND ECX,EAX
MOV ESI,EBX
MOV EBX,ESI
AND EBX,EDX
MOV ESI,EBX
OR ESI,ECX
JNZ 0x001bf5e0
MOV EBX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP + 0x44]
MOV dword ptr [EBX],EAX
MOV dword ptr [EBX + 0x4],EDX
MOVZX EAX,byte ptr [ESI + 0x9]
SUB ESP,0x4
PUSH dword ptr [ESI + 0x2c]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESI + 0x18]
PUSH dword ptr [ESI + 0x14]
PUSH dword ptr [ESI + 0x10]
PUSH dword ptr [ESI + 0xc]
PUSH EAX
MOVZX EAX,byte ptr [ESI + 0x8]
PUSH EAX
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESI]
MOV EAX,dword ptr [ESP + 0x7c]
PUSH dword ptr [EAX + 0x4]
CALL 0x001ba6c0
MOV ECX,0x1
ADD ESP,0x40
CMP ECX,EDI
MOV ECX,0x0
SBB ECX,EBP
JNC 0x001bf67f
MOV ECX,EDI
MOV EBX,EBP
PUSH EBP
ADD ECX,-0x1
PUSH EDI
ADC EBX,-0x1
ADD ECX,EAX
ADC EBX,EDX
PUSH EBX
PUSH ECX
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x0027b750
MOV ECX,EBP
ADD ESP,0x10
IMUL EDX,EDI
IMUL ECX,EAX
ADD ECX,EDX
MUL EDI
ADD EDX,ECX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x14]
LEA EAX,[EDX + 0xfff10388]
MOV EBX,EDX
PUSH EAX
MOV dword ptr [ESP + 0x18],EDX
CALL 0x000293b0
MOV EBX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP],EAX
CALL 0x000654e0
ADD ESP,0x10
JMP 0x001bf5bf
PUSH EAX
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff10518]
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x5c
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_001bf540(int param_1,undefined4 *param_2)\n\n{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}\n\n" comment (function_definition "int FUN_001bf540(int param_1,undefined4 *param_2)\n\n{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}" primitive_type (function_declarator "FUN_001bf540(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}" { (declaration "ulonglong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "ulonglong uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "ulonglong uVar8;" type_identifier identifier ;) (declaration "longlong lVar9;" type_identifier identifier ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bf549;" (assignment_expression "uStack_14 = 0x1bf549" identifier = number_literal) ;) (expression_statement "uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);" (assignment_expression "uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (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 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) 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 ]) , identifier , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar7 = (uint)(uVar8 >> 0x20);" (assignment_expression "uVar7 = (uint)(uVar8 >> 0x20)" identifier = (call_expression "(uint)(uVar8 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 >> 0x20)" ( (binary_expression "uVar8 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "uVar4 = (uint)uVar8;" (assignment_expression "uVar4 = (uint)uVar8" identifier = (cast_expression "(uint)uVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }" if (parenthesized_expression "(local_20[0] != 0)" ( (binary_expression "local_20[0] != 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d)" * (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x318d)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x318d" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }" { (expression_statement "uVar6 = gettext("aligning to section relative value");" (assignment_expression "uVar6 = 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_000654e0(uVar6);" (call_expression "FUN_000654e0(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) })) })) (expression_statement "puVar1 = (ulonglong *)param_2[7];" (assignment_expression "puVar1 = (ulonglong *)param_2[7]" identifier = (cast_expression "(ulonglong *)param_2[7]" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[7]" identifier [ number_literal ]))) ;) (if_statement "if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }" if (parenthesized_expression "((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)))" ( (binary_expression "(puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))" (parenthesized_expression "(puVar1 != (ulonglong *)0x0)" ( (binary_expression "puVar1 != (ulonglong *)0x0" identifier != (cast_expression "(ulonglong *)0x0" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))" ( (comma_expression "uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (assignment_expression "uVar3 = uVar8" identifier = identifier) , (binary_expression "*(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (binary_expression "*(uint *)((int)puVar1 + 4) < uVar7" (pointer_expression "*(uint *)((int)puVar1 + 4)" * (cast_expression "(uint *)((int)puVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < identifier) || (binary_expression "*(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (binary_expression "*(uint *)((int)puVar1 + 4) - uVar7" (pointer_expression "*(uint *)((int)puVar1 + 4)" * (cast_expression "(uint *)((int)puVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - identifier) < (call_expression "(uint)((uint)*puVar1 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)*puVar1 < uVar4)" ( (binary_expression "(uint)*puVar1 < uVar4" (binary_expression "(uint)*puVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) < identifier) )))))) ))) )) (compound_statement "{\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }" { (do_statement "do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);" do (compound_statement "{\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    }" { (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) (expression_statement "uVar3 = uVar2 - 1 & uVar2;" (assignment_expression "uVar3 = uVar2 - 1 & uVar2" identifier = (binary_expression "uVar2 - 1 & uVar2" (binary_expression "uVar2 - 1" identifier - number_literal) & identifier)) ;) }) while (parenthesized_expression "((uVar2 & uVar2 - 1) != 0)" ( (binary_expression "(uVar2 & uVar2 - 1) != 0" (parenthesized_expression "(uVar2 & uVar2 - 1)" ( (binary_expression "uVar2 & uVar2 - 1" identifier & (binary_expression "uVar2 - 1" identifier - number_literal)) )) != number_literal) )) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) (expression_statement "lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);" (assignment_expression "lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" 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 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) 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 ]) , (subscript_expression "param_2[6]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar5 = (int)lVar9;" (assignment_expression "iVar5 = (int)lVar9" identifier = (cast_expression "(int)lVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }" if (parenthesized_expression "(uVar7 != 0 || -uVar7 < (uint)(1 < uVar4))" ( (binary_expression "uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)" (binary_expression "uVar7 != 0" identifier != number_literal) || (binary_expression "-uVar7 < (uint)(1 < uVar4)" (unary_expression "-uVar7" - identifier) < (call_expression "(uint)(1 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(1 < uVar4)" ( (binary_expression "1 < uVar4" number_literal < identifier) ))))) )) (compound_statement "{\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }" { (expression_statement "iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);" (assignment_expression "iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8)" identifier = (call_expression "FUN_0027b750(lVar9 + (uVar8 - 1),uVar8)" identifier (argument_list "(lVar9 + (uVar8 - 1),uVar8)" ( (binary_expression "lVar9 + (uVar8 - 1)" identifier + (parenthesized_expression "(uVar8 - 1)" ( (binary_expression "uVar8 - 1" identifier - number_literal) ))) , identifier )))) ;) (expression_statement "iVar5 = iVar5 * uVar4;" (assignment_expression "iVar5 = iVar5 * uVar4" identifier = (binary_expression "iVar5 * uVar4" identifier * identifier)) ;) })) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* 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  ulonglong *puVar1;\n  ulonglong uVar2;\n  longlong lVar3;\n  ulonglong uVar4;\n  char *format;\n  uint uVar5;\n  uint64_t uVar6;\n  uint64_t uVar7;\n  Output_section *align_section;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar6 = 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  uVar5 = (uint)(uVar6 >> 0x20);\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 != (ulonglong *)0x0) &&\n     (uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6))) {\n    do {\n      uVar2 = uVar4;\n      uVar4 = uVar2 - 1 & uVar2;\n    } while (uVar4 != 0);\n    *puVar1 = uVar2;\n  }\n  uVar7 = 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 (uVar5 != 0 || -uVar5 < (uint)(1 < (uint)uVar6)) {\n    lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6);\n    uVar7 = uVar6 * lVar3;\n  }\n  return uVar7;\n}\n\n" comment comment comment comment (function_definition "uint64_t __thiscall gold::Align_expression::value(Align_expression *this,Expression_eval_info *eei)\n\n{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  longlong lVar3;\n  ulonglong uVar4;\n  char *format;\n  uint uVar5;\n  uint64_t uVar6;\n  uint64_t uVar7;\n  Output_section *align_section;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar6 = 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  uVar5 = (uint)(uVar6 >> 0x20);\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 != (ulonglong *)0x0) &&\n     (uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6))) {\n    do {\n      uVar2 = uVar4;\n      uVar4 = uVar2 - 1 & uVar2;\n    } while (uVar4 != 0);\n    *puVar1 = uVar2;\n  }\n  uVar7 = 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 (uVar5 != 0 || -uVar5 < (uint)(1 < (uint)uVar6)) {\n    lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6);\n    uVar7 = uVar6 * lVar3;\n  }\n  return uVar7;\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  ulonglong *puVar1;\n  ulonglong uVar2;\n  longlong lVar3;\n  ulonglong uVar4;\n  char *format;\n  uint uVar5;\n  uint64_t uVar6;\n  uint64_t uVar7;\n  Output_section *align_section;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar6 = 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  uVar5 = (uint)(uVar6 >> 0x20);\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 != (ulonglong *)0x0) &&\n     (uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6))) {\n    do {\n      uVar2 = uVar4;\n      uVar4 = uVar2 - 1 & uVar2;\n    } while (uVar4 != 0);\n    *puVar1 = uVar2;\n  }\n  uVar7 = 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 (uVar5 != 0 || -uVar5 < (uint)(1 < (uint)uVar6)) {\n    lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6);\n    uVar7 = uVar6 * lVar3;\n  }\n  return uVar7;\n}" { (declaration "ulonglong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "longlong lVar3;" type_identifier identifier ;) (declaration "ulonglong uVar4;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint64_t uVar6;" primitive_type identifier ;) (declaration "uint64_t uVar7;" primitive_type identifier ;) (declaration "Output_section *align_section;" type_identifier (pointer_declarator "*align_section" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bf549;" (assignment_expression "uStack_14 = 0x1bf549" identifier = number_literal) ;) (ERROR "uVar6 = Expression::" (assignment_expression "uVar6 = 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) ))) ;) (expression_statement "uVar5 = (uint)(uVar6 >> 0x20);" (assignment_expression "uVar5 = (uint)(uVar6 >> 0x20)" identifier = (call_expression "(uint)(uVar6 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 >> 0x20)" ( (binary_expression "uVar6 >> 0x20" identifier >> number_literal) )))) ;) (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 != (ulonglong *)0x0) &&\n     (uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6))) {\n    do {\n      uVar2 = uVar4;\n      uVar4 = uVar2 - 1 & uVar2;\n    } while (uVar4 != 0);\n    *puVar1 = uVar2;\n  }" if (parenthesized_expression "((puVar1 != (ulonglong *)0x0) &&\n     (uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6)))" ( (binary_expression "(puVar1 != (ulonglong *)0x0) &&\n     (uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6))" (parenthesized_expression "(puVar1 != (ulonglong *)0x0)" ( (binary_expression "puVar1 != (ulonglong *)0x0" identifier != (cast_expression "(ulonglong *)0x0" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6))" ( (comma_expression "uVar4 = uVar6,\n     *(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6)" (assignment_expression "uVar4 = uVar6" identifier = identifier) , (binary_expression "*(uint *)((int)puVar1 + 4) < uVar5 ||\n     *(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6)" (binary_expression "*(uint *)((int)puVar1 + 4) < uVar5" (pointer_expression "*(uint *)((int)puVar1 + 4)" * (cast_expression "(uint *)((int)puVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < identifier) || (binary_expression "*(uint *)((int)puVar1 + 4) - uVar5 < (uint)((uint)*puVar1 < (uint)uVar6)" (binary_expression "*(uint *)((int)puVar1 + 4) - uVar5" (pointer_expression "*(uint *)((int)puVar1 + 4)" * (cast_expression "(uint *)((int)puVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - identifier) < (call_expression "(uint)((uint)*puVar1 < (uint)uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)*puVar1 < (uint)uVar6)" ( (binary_expression "(uint)*puVar1 < (uint)uVar6" (binary_expression "(uint)*puVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) < (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) )))))) ))) )) (compound_statement "{\n    do {\n      uVar2 = uVar4;\n      uVar4 = uVar2 - 1 & uVar2;\n    } while (uVar4 != 0);\n    *puVar1 = uVar2;\n  }" { (do_statement "do {\n      uVar2 = uVar4;\n      uVar4 = uVar2 - 1 & uVar2;\n    } while (uVar4 != 0);" do (compound_statement "{\n      uVar2 = uVar4;\n      uVar4 = uVar2 - 1 & uVar2;\n    }" { (expression_statement "uVar2 = uVar4;" (assignment_expression "uVar2 = uVar4" identifier = identifier) ;) (expression_statement "uVar4 = uVar2 - 1 & uVar2;" (assignment_expression "uVar4 = uVar2 - 1 & uVar2" identifier = (binary_expression "uVar2 - 1 & uVar2" (binary_expression "uVar2 - 1" identifier - number_literal) & identifier)) ;) }) while (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) (ERROR "uVar7 = Expression::" (assignment_expression "uVar7 = 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 (uVar5 != 0 || -uVar5 < (uint)(1 < (uint)uVar6)) {\n    lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6);\n    uVar7 = uVar6 * lVar3;\n  }" if (parenthesized_expression "(uVar5 != 0 || -uVar5 < (uint)(1 < (uint)uVar6))" ( (binary_expression "uVar5 != 0 || -uVar5 < (uint)(1 < (uint)uVar6)" (binary_expression "uVar5 != 0" identifier != number_literal) || (binary_expression "-uVar5 < (uint)(1 < (uint)uVar6)" (unary_expression "-uVar5" - identifier) < (call_expression "(uint)(1 < (uint)uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(1 < (uint)uVar6)" ( (binary_expression "1 < (uint)uVar6" number_literal < (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n    lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6);\n    uVar7 = uVar6 * lVar3;\n  }" { (expression_statement "lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6);" (assignment_expression "lVar3 = __udivdi3(uVar7 + (uVar6 - 1),uVar6)" identifier = (call_expression "__udivdi3(uVar7 + (uVar6 - 1),uVar6)" identifier (argument_list "(uVar7 + (uVar6 - 1),uVar6)" ( (binary_expression "uVar7 + (uVar6 - 1)" identifier + (parenthesized_expression "(uVar6 - 1)" ( (binary_expression "uVar6 - 1" identifier - number_literal) ))) , identifier )))) ;) (expression_statement "uVar7 = uVar6 * lVar3;" (assignment_expression "uVar7 = uVar6 * lVar3" identifier = (binary_expression "uVar6 * lVar3" identifier * identifier)) ;) })) (return_statement "return uVar7;" return identifier ;) })))
(translation_unit "int FUN_001bf540(int param_1,undefined4 *param_2)\n\n{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}\n\n" (function_definition "int FUN_001bf540(int param_1,undefined4 *param_2)\n\n{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}" primitive_type (function_declarator "FUN_001bf540(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}" { (declaration "ulonglong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "ulonglong uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "ulonglong uVar8;" type_identifier identifier ;) (declaration "longlong lVar9;" type_identifier identifier ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bf549;" (assignment_expression "uStack_14 = 0x1bf549" identifier = number_literal) ;) (expression_statement "uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);" (assignment_expression "uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (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 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) 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 ]) , identifier , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar7 = (uint)(uVar8 >> 0x20);" (assignment_expression "uVar7 = (uint)(uVar8 >> 0x20)" identifier = (call_expression "(uint)(uVar8 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 >> 0x20)" ( (binary_expression "uVar8 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "uVar4 = (uint)uVar8;" (assignment_expression "uVar4 = (uint)uVar8" identifier = (cast_expression "(uint)uVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }" if (parenthesized_expression "(local_20[0] != 0)" ( (binary_expression "local_20[0] != 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d)" * (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x318d)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x318d" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }" { (expression_statement "uVar6 = gettext("aligning to section relative value");" (assignment_expression "uVar6 = 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_000654e0(uVar6);" (call_expression "FUN_000654e0(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) })) })) (expression_statement "puVar1 = (ulonglong *)param_2[7];" (assignment_expression "puVar1 = (ulonglong *)param_2[7]" identifier = (cast_expression "(ulonglong *)param_2[7]" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[7]" identifier [ number_literal ]))) ;) (if_statement "if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }" if (parenthesized_expression "((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)))" ( (binary_expression "(puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))" (parenthesized_expression "(puVar1 != (ulonglong *)0x0)" ( (binary_expression "puVar1 != (ulonglong *)0x0" identifier != (cast_expression "(ulonglong *)0x0" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))" ( (comma_expression "uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (assignment_expression "uVar3 = uVar8" identifier = identifier) , (binary_expression "*(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (binary_expression "*(uint *)((int)puVar1 + 4) < uVar7" (pointer_expression "*(uint *)((int)puVar1 + 4)" * (cast_expression "(uint *)((int)puVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < identifier) || (binary_expression "*(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (binary_expression "*(uint *)((int)puVar1 + 4) - uVar7" (pointer_expression "*(uint *)((int)puVar1 + 4)" * (cast_expression "(uint *)((int)puVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - identifier) < (call_expression "(uint)((uint)*puVar1 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)*puVar1 < uVar4)" ( (binary_expression "(uint)*puVar1 < uVar4" (binary_expression "(uint)*puVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) < identifier) )))))) ))) )) (compound_statement "{\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }" { (do_statement "do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);" do (compound_statement "{\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    }" { (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) (expression_statement "uVar3 = uVar2 - 1 & uVar2;" (assignment_expression "uVar3 = uVar2 - 1 & uVar2" identifier = (binary_expression "uVar2 - 1 & uVar2" (binary_expression "uVar2 - 1" identifier - number_literal) & identifier)) ;) }) while (parenthesized_expression "((uVar2 & uVar2 - 1) != 0)" ( (binary_expression "(uVar2 & uVar2 - 1) != 0" (parenthesized_expression "(uVar2 & uVar2 - 1)" ( (binary_expression "uVar2 & uVar2 - 1" identifier & (binary_expression "uVar2 - 1" identifier - number_literal)) )) != number_literal) )) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) (expression_statement "lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);" (assignment_expression "lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" 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 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) 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 ]) , (subscript_expression "param_2[6]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar5 = (int)lVar9;" (assignment_expression "iVar5 = (int)lVar9" identifier = (cast_expression "(int)lVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }" if (parenthesized_expression "(uVar7 != 0 || -uVar7 < (uint)(1 < uVar4))" ( (binary_expression "uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)" (binary_expression "uVar7 != 0" identifier != number_literal) || (binary_expression "-uVar7 < (uint)(1 < uVar4)" (unary_expression "-uVar7" - identifier) < (call_expression "(uint)(1 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(1 < uVar4)" ( (binary_expression "1 < uVar4" number_literal < identifier) ))))) )) (compound_statement "{\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }" { (expression_statement "iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);" (assignment_expression "iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8)" identifier = (call_expression "FUN_0027b750(lVar9 + (uVar8 - 1),uVar8)" identifier (argument_list "(lVar9 + (uVar8 - 1),uVar8)" ( (binary_expression "lVar9 + (uVar8 - 1)" identifier + (parenthesized_expression "(uVar8 - 1)" ( (binary_expression "uVar8 - 1" identifier - number_literal) ))) , identifier )))) ;) (expression_statement "iVar5 = iVar5 * uVar4;" (assignment_expression "iVar5 = iVar5 * uVar4" identifier = (binary_expression "iVar5 * uVar4" identifier * identifier)) ;) })) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 TYPE) ) IDENT) + LIT) )))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , LIT , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) (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 TYPE (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 (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) < IDENT) || (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * 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 (parenthesized_expression ( (binary_expression IDENT & (binary_expression IDENT - LIT)) )) != 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 TYPE) ) IDENT) + LIT) )))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , LIT , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression (unary_expression - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_001bf540(int param_1,undefined4 *param_2)\n\n{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}" (primitive_type "int") (function_declarator "FUN_001bf540(int param_1,undefined4 *param_2)" (identifier "FUN_001bf540") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  ulonglong *puVar1;\n  ulonglong uVar2;\n  ulonglong uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  ulonglong uVar8;\n  longlong lVar9;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf549;\n  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);\n  uVar7 = (uint)(uVar8 >> 0x20);\n  uVar4 = (uint)uVar8;\n  if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }\n  puVar1 = (ulonglong *)param_2[7];\n  if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }\n  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);\n  iVar5 = (int)lVar9;\n  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }\n  return iVar5;\n}" ({ "{") (declaration "ulonglong *puVar1;" (type_identifier "ulonglong") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "ulonglong uVar2;" (type_identifier "ulonglong") (identifier "uVar2") (; ";")) (declaration "ulonglong uVar3;" (type_identifier "ulonglong") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "ulonglong uVar8;" (type_identifier "ulonglong") (identifier "uVar8") (; ";")) (declaration "longlong lVar9;" (type_identifier "longlong") (identifier "lVar9") (; ";")) (declaration "int local_20 [3];" (primitive_type "int") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1bf549;" (assignment_expression "uStack_14 = 0x1bf549" (identifier "uStack_14") (= "=") (number_literal "0x1bf549")) (; ";")) (expression_statement "uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb]);" (assignment_expression "uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" (identifier "uVar8") (= "=") (call_expression "FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" (identifier "FUN_001ba6c0") (argument_list "(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,\n                       0,0,0,0,0,param_2[0xb])" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (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 *)((int)param_2 + 9)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 9)" (( "(") (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "9")) () ")")))) (, ",") (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") (] "]")) (, ",") (identifier "local_20") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[0xb]" (identifier "param_2") ([ "[") (number_literal "0xb") (] "]")) () ")")))) (; ";")) (expression_statement "uVar7 = (uint)(uVar8 >> 0x20);" (assignment_expression "uVar7 = (uint)(uVar8 >> 0x20)" (identifier "uVar7") (= "=") (call_expression "(uint)(uVar8 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar8 >> 0x20)" (( "(") (binary_expression "uVar8 >> 0x20" (identifier "uVar8") (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar4 = (uint)uVar8;" (assignment_expression "uVar4 = (uint)uVar8" (identifier "uVar4") (= "=") (cast_expression "(uint)uVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar8"))) (; ";")) (if_statement "if (local_20[0] != 0) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }" (if "if") (parenthesized_expression "(local_20[0] != 0)" (( "(") (binary_expression "local_20[0] != 0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }\n  }" ({ "{") (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x5c,"options",0)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d)" (* "*") (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x318d)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x318d" (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x318d")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar6 = gettext("aligning to section relative value");\n      FUN_000654e0(uVar6);\n    }" ({ "{") (expression_statement "uVar6 = gettext("aligning to section relative value");" (assignment_expression "uVar6 = gettext("aligning to section relative value")" (identifier "uVar6") (= "=") (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_000654e0(uVar6);" (call_expression "FUN_000654e0(uVar6)" (identifier "FUN_000654e0") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar1 = (ulonglong *)param_2[7];" (assignment_expression "puVar1 = (ulonglong *)param_2[7]" (identifier "puVar1") (= "=") (cast_expression "(ulonglong *)param_2[7]" (( "(") (type_descriptor "ulonglong *" (type_identifier "ulonglong") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")))) (; ";")) (if_statement "if ((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }" (if "if") (parenthesized_expression "((puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)))" (( "(") (binary_expression "(puVar1 != (ulonglong *)0x0) &&\n     (uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))" (parenthesized_expression "(puVar1 != (ulonglong *)0x0)" (( "(") (binary_expression "puVar1 != (ulonglong *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(ulonglong *)0x0" (( "(") (type_descriptor "ulonglong *" (type_identifier "ulonglong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))" (( "(") (comma_expression "uVar3 = uVar8,\n     *(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (assignment_expression "uVar3 = uVar8" (identifier "uVar3") (= "=") (identifier "uVar8")) (, ",") (binary_expression "*(uint *)((int)puVar1 + 4) < uVar7 ||\n     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (binary_expression "*(uint *)((int)puVar1 + 4) < uVar7" (pointer_expression "*(uint *)((int)puVar1 + 4)" (* "*") (cast_expression "(uint *)((int)puVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 4)" (( "(") (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "4")) () ")")))) (< "<") (identifier "uVar7")) (|| "||") (binary_expression "*(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4)" (binary_expression "*(uint *)((int)puVar1 + 4) - uVar7" (pointer_expression "*(uint *)((int)puVar1 + 4)" (* "*") (cast_expression "(uint *)((int)puVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 4)" (( "(") (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "4")) () ")")))) (- "-") (identifier "uVar7")) (< "<") (call_expression "(uint)((uint)*puVar1 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)*puVar1 < uVar4)" (( "(") (binary_expression "(uint)*puVar1 < uVar4" (binary_expression "(uint)*puVar1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "puVar1")) (< "<") (identifier "uVar4")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n    do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);\n    *puVar1 = uVar2;\n  }" ({ "{") (do_statement "do {\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    } while ((uVar2 & uVar2 - 1) != 0);" (do "do") (compound_statement "{\n      uVar2 = uVar3;\n      uVar3 = uVar2 - 1 & uVar2;\n    }" ({ "{") (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" (identifier "uVar2") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = uVar2 - 1 & uVar2;" (assignment_expression "uVar3 = uVar2 - 1 & uVar2" (identifier "uVar3") (= "=") (binary_expression "uVar2 - 1 & uVar2" (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1")) (& "&") (identifier "uVar2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((uVar2 & uVar2 - 1) != 0)" (( "(") (binary_expression "(uVar2 & uVar2 - 1) != 0" (parenthesized_expression "(uVar2 & uVar2 - 1)" (( "(") (binary_expression "uVar2 & uVar2 - 1" (identifier "uVar2") (& "&") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (expression_statement "lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb]);" (assignment_expression "lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" (identifier "lVar9") (= "=") (call_expression "FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" (identifier "FUN_001ba6c0") (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)\n                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],\n                       param_2[6],0,0,0,0,0,param_2[0xb])" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (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 *)((int)param_2 + 9)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 9)" (( "(") (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "9")) () ")")))) (, ",") (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") (] "]")) (, ",") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[0xb]" (identifier "param_2") ([ "[") (number_literal "0xb") (] "]")) () ")")))) (; ";")) (expression_statement "iVar5 = (int)lVar9;" (assignment_expression "iVar5 = (int)lVar9" (identifier "iVar5") (= "=") (cast_expression "(int)lVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar9"))) (; ";")) (if_statement "if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }" (if "if") (parenthesized_expression "(uVar7 != 0 || -uVar7 < (uint)(1 < uVar4))" (( "(") (binary_expression "uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)" (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "-uVar7 < (uint)(1 < uVar4)" (unary_expression "-uVar7" (- "-") (identifier "uVar7")) (< "<") (call_expression "(uint)(1 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(1 < uVar4)" (( "(") (binary_expression "1 < uVar4" (number_literal "1") (< "<") (identifier "uVar4")) () ")"))))) () ")")) (compound_statement "{\n    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);\n    iVar5 = iVar5 * uVar4;\n  }" ({ "{") (expression_statement "iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);" (assignment_expression "iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8)" (identifier "iVar5") (= "=") (call_expression "FUN_0027b750(lVar9 + (uVar8 - 1),uVar8)" (identifier "FUN_0027b750") (argument_list "(lVar9 + (uVar8 - 1),uVar8)" (( "(") (binary_expression "lVar9 + (uVar8 - 1)" (identifier "lVar9") (+ "+") (parenthesized_expression "(uVar8 - 1)" (( "(") (binary_expression "uVar8 - 1" (identifier "uVar8") (- "-") (number_literal "1")) () ")"))) (, ",") (identifier "uVar8") () ")")))) (; ";")) (expression_statement "iVar5 = iVar5 * uVar4;" (assignment_expression "iVar5 = iVar5 * uVar4" (identifier "iVar5") (= "=") (binary_expression "iVar5 * uVar4" (identifier "iVar5") (* "*") (identifier "uVar4"))) (; ";")) (} "}"))) (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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_7;
  type_3 var_9;
  type_4 var_13;
  type_3 var_10;
  char *format;
  type_5 var_8;
  uint64_t var_2;
  uint64_t var_12;
  type_6 *var_3;
  type_7 uStack_14;
  
  uStack_14 = 0x1bf549;
  var_2 = 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_3,(uint64_t *)0x0,(type_8 *)0x0,(type_9 *)0x0,(type_10 *)0x0,false,
                     eei->is_valid_pointer);
  var_8 = (type_5)(var_2 >> 0x20);
  if (var_3 != (type_6 *)0x0) {
    if (parameters->options_ == (type_11 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_4("../../gold/parameters.h",0x5c,"options");
    }
    if ((parameters->options_->relocatable_).function_1 != false) {
      format = (char *)var_5("aligning to section relative value");
      var_6(format);
    }
  }
  var_7 = eei->result_alignment_pointer;
  if ((var_7 != (type_3 *)0x0) &&
     (var_10 = var_2,
     *(type_5 *)((int)var_7 + 4) < var_8 ||
     *(type_5 *)((int)var_7 + 4) - var_8 < (type_5)((type_5)*var_7 < (type_5)var_2))) {
    do {
      var_9 = var_10;
      var_10 = var_9 - 1 & var_9;
    } while (var_10 != 0);
    *var_7 = var_9;
  }
  var_12 = 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_8 *)0x0,(type_9 *)0x0,(type_10 *)0x0,
                     false,eei->is_valid_pointer);
  if (var_8 != 0 || -var_8 < (type_5)(1 < (type_5)var_2)) {
    var_13 = var_11(var_12 + (var_2 - 1),var_2);
    var_12 = var_2 * var_13;
  }
  return var_12;
}


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

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

int MASKED(int param_1,undefined4 *param_2)

{
  ulonglong *puVar1;
  ulonglong uVar2;
  ulonglong uVar3;
  uint uVar4;
  int iVar5;
  undefined4 uVar6;
  uint uVar7;
  ulonglong uVar8;
  longlong lVar9;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1bf549;
  uVar8 = FUN_001ba6c0(*(undefined4 *)(param_1 + 8),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],local_20,
                       0,0,0,0,0,param_2[0xb]);
  uVar7 = (uint)(uVar8 >> 0x20);
  uVar4 = (uint)uVar8;
  if (local_20[0] != 0) {
    if (*(int *)(DAT_0038f378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);
    }
    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {
      uVar6 = gettext("aligning to section relative value");
      FUN_000654e0(uVar6);
    }
  }
  puVar1 = (ulonglong *)param_2[7];
  if ((puVar1 != (ulonglong *)0x0) &&
     (uVar3 = uVar8,
     *(uint *)((int)puVar1 + 4) < uVar7 ||
     *(uint *)((int)puVar1 + 4) - uVar7 < (uint)((uint)*puVar1 < uVar4))) {
    do {
      uVar2 = uVar3;
      uVar3 = uVar2 - 1 & uVar2;
    } while ((uVar2 & uVar2 - 1) != 0);
    *puVar1 = uVar2;
  }
  lVar9 = FUN_001ba6c0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],*(undefined1 *)(param_2 + 2)
                       ,*(undefined1 *)((int)param_2 + 9),param_2[3],param_2[4],param_2[5],
                       param_2[6],0,0,0,0,0,param_2[0xb]);
  iVar5 = (int)lVar9;
  if (uVar7 != 0 || -uVar7 < (uint)(1 < uVar4)) {
    iVar5 = FUN_0027b750(lVar9 + (uVar8 - 1),uVar8);
    iVar5 = iVar5 * uVar4;
  }
  return iVar5;
}

