
/* 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(Binary_lshift * this, Expression_eval_info * eei) */

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

{
  byte bVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  char *format;
  uint64_t uVar5;
  uint64_t uVar6;
  Output_section *left_section;
  Output_section *right_section;
  uint64_t left_alignment;
  uint64_t right_alignment;
  undefined4 uStack_14;
  
  uStack_14 = 0x1be4f9;
  left_alignment._0_4_ = 0;
  left_alignment._4_4_ = 0;
  uVar5 = 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,
                     &left_section,&left_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,
                     eei->is_valid_pointer);
  right_alignment._0_4_ = 0;
  right_alignment._4_4_ = 0;
  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,
                     &right_section,&right_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,
                     eei->is_valid_pointer);
  if ((left_section != (Output_section *)0x0) || (right_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("binary lshift applied to section relative value");
      gold_warning(format);
    }
  }
  bVar1 = (byte)uVar6 & 0x1f;
  uVar3 = (uint)uVar5 << ((byte)uVar6 & 0x1f);
  uVar4 = uVar3;
  uVar2 = (int)(uVar5 >> 0x20) << bVar1 | (uint)uVar5 >> 0x20 - bVar1;
  if ((uVar6 & 0x20) != 0) {
    uVar4 = 0;
    uVar2 = uVar3;
  }
  return CONCAT44(uVar2,uVar4);
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

undefined8 FUN_001be4f0(int param_1,undefined4 *param_2)

{
  byte bVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  undefined4 uVar5;
  undefined8 uVar6;
  int local_34;
  int local_30 [7];
  undefined4 uStack_14;
  
  uStack_14 = 0x1be4f9;
  local_30[1] = 0;
  local_30[2] = 0;
  uVar6 = FUN_001ba6b0(*(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],&local_34
                       ,local_30 + 1,0,0,0,0,param_2[0xb]);
  uVar2 = (uint)uVar6;
  local_30[3] = 0;
  local_30[4] = 0;
  bVar1 = FUN_001ba6b0(*(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_30,
                       local_30 + 3,0,0,0,0,param_2[0xb]);
  if ((local_34 != 0) || (local_30[0] != 0)) {
    if (*(int *)(DAT_0038f378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);
    }
    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {
      uVar5 = gettext("binary lshift applied to section relative value");
      FUN_000654e0(uVar5);
    }
  }
  uVar3 = uVar2 << (bVar1 & 0x1f);
  uVar4 = uVar3;
  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);
  if ((bVar1 & 0x20) != 0) {
    uVar4 = 0;
    uVar2 = uVar3;
  }
  return CONCAT44(uVar2,uVar4);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1d0b07
SUB ESP,0x30
MOV EBP,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x14],0x0
MOV dword ptr [ESP + 0x18],0x0
PUSH dword ptr [EBP + 0x2c]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
LEA EAX,[ESP + 0x28]
PUSH EAX
LEA EAX,[ESP + 0x24]
PUSH EAX
MOVZX EAX,byte ptr [EBP + 0x9]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0xc]
PUSH EAX
MOVZX EAX,byte ptr [EBP + 0x8]
PUSH EAX
PUSH dword ptr [EBP + 0x4]
PUSH dword ptr [EBP]
MOV EAX,dword ptr [ESP + 0x7c]
PUSH dword ptr [EAX + 0x4]
CALL 0x001ba6b0
MOV dword ptr [ESP + 0x58],0x0
MOV dword ptr [ESP + 0x5c],0x0
ADD ESP,0x3c
MOV ESI,EAX
MOV EDI,EDX
PUSH dword ptr [EBP + 0x2c]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
LEA EAX,[ESP + 0x30]
PUSH EAX
LEA EAX,[ESP + 0x28]
PUSH EAX
MOVZX EAX,byte ptr [EBP + 0x9]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0xc]
PUSH EAX
MOVZX EAX,byte ptr [EBP + 0x8]
PUSH EAX
PUSH dword ptr [EBP + 0x4]
PUSH dword ptr [EBP]
MOV EAX,dword ptr [ESP + 0x7c]
PUSH dword ptr [EAX + 0x8]
CALL 0x001ba6b0
ADD ESP,0x40
MOV EBP,EAX
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x001be608
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x001be612
CMP byte ptr [EAX + 0x318d],0x0
JNZ 0x001be5e8
MOV ECX,EBP
MOV EAX,ESI
MOV EDX,EDI
XOR EBX,EBX
SHLD EDX,ESI,CL
SHL EAX,CL
AND ECX,0x20
CMOVNZ EDX,EAX
CMOVNZ EAX,EBX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfff1015c]
PUSH EAX
CALL 0x000293b0
MOV dword ptr [ESP],EAX
CALL 0x000654e0
ADD ESP,0x10
JMP 0x001be5c6
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JNZ 0x001be5ae
JMP 0x001be5c6
LEA EAX,[EBX + 0xfff10538]
PUSH ESI
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/* WARNING: Type propagation algorithm not settling */\n\nundefined8 FUN_001be4f0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}\n\n" comment comment (function_definition "undefined8 FUN_001be4f0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" type_identifier (function_declarator "FUN_001be4f0(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  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30 [7];" primitive_type (array_declarator "local_30 [7]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1be4f9;" (assignment_expression "uStack_14 = 0x1be4f9" identifier = number_literal) ;) (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);" (assignment_expression "uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,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],&local_34\n                       ,local_30 + 1,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 ]) , (pointer_expression "&local_34" & identifier) , (binary_expression "local_30 + 1" identifier + number_literal) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar2 = (uint)uVar6;" (assignment_expression "uVar2 = (uint)uVar6" identifier = (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[4] = 0;" (assignment_expression "local_30[4] = 0" (subscript_expression "local_30[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);" (assignment_expression "bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6b0(*(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_30,\n                       local_30 + 3,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_30,\n                       local_30 + 3,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 , (binary_expression "local_30 + 3" identifier + number_literal) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (if_statement "if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }" if (parenthesized_expression "((local_34 != 0) || (local_30[0] != 0))" ( (binary_expression "(local_34 != 0) || (local_30[0] != 0)" (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_30[0] != 0)" ( (binary_expression "local_30[0] != 0" (subscript_expression "local_30[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",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\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",uVar2);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",uVar2)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\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      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }" { (expression_statement "uVar5 = gettext("binary lshift applied to section relative value");" (assignment_expression "uVar5 = gettext("binary lshift applied to section relative value")" identifier = (call_expression "gettext("binary lshift applied to section relative value")" identifier (argument_list "("binary lshift applied to section relative value")" ( (string_literal ""binary lshift applied to section relative value"" " string_content ") )))) ;) (expression_statement "FUN_000654e0(uVar5);" (call_expression "FUN_000654e0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) })) (expression_statement "uVar3 = uVar2 << (bVar1 & 0x1f);" (assignment_expression "uVar3 = uVar2 << (bVar1 & 0x1f)" identifier = (binary_expression "uVar2 << (bVar1 & 0x1f)" identifier << (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" identifier = identifier) ;) (expression_statement "uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);" (assignment_expression "uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f)" identifier = (binary_expression "(int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f)" (binary_expression "(int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f)" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) << (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) ))) | (binary_expression "uVar2 >> 0x20 - (bVar1 & 0x1f)" identifier >> (binary_expression "0x20 - (bVar1 & 0x1f)" number_literal - (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" if (parenthesized_expression "((bVar1 & 0x20) != 0)" ( (binary_expression "(bVar1 & 0x20) != 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) })) (return_statement "return CONCAT44(uVar2,uVar4);" return (call_expression "CONCAT44(uVar2,uVar4)" identifier (argument_list "(uVar2,uVar4)" ( identifier , 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(Binary_lshift * this, Expression_eval_info * eei) */\n\nuint64_t __thiscall gold::Binary_lshift::value(Binary_lshift *this,Expression_eval_info *eei)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  char *format;\n  uint64_t uVar5;\n  uint64_t uVar6;\n  Output_section *left_section;\n  Output_section *right_section;\n  uint64_t left_alignment;\n  uint64_t right_alignment;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  left_alignment._0_4_ = 0;\n  left_alignment._4_4_ = 0;\n  uVar5 = 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                     &left_section,&left_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  right_alignment._0_4_ = 0;\n  right_alignment._4_4_ = 0;\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                     &right_section,&right_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  if ((left_section != (Output_section *)0x0) || (right_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("binary lshift applied to section relative value");\n      gold_warning(format);\n    }\n  }\n  bVar1 = (byte)uVar6 & 0x1f;\n  uVar3 = (uint)uVar5 << ((byte)uVar6 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)(uVar5 >> 0x20) << bVar1 | (uint)uVar5 >> 0x20 - bVar1;\n  if ((uVar6 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}\n\n" comment comment comment comment (function_definition "uint64_t __thiscall gold::Binary_lshift::value(Binary_lshift *this,Expression_eval_info *eei)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  char *format;\n  uint64_t uVar5;\n  uint64_t uVar6;\n  Output_section *left_section;\n  Output_section *right_section;\n  uint64_t left_alignment;\n  uint64_t right_alignment;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  left_alignment._0_4_ = 0;\n  left_alignment._4_4_ = 0;\n  uVar5 = 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                     &left_section,&left_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  right_alignment._0_4_ = 0;\n  right_alignment._4_4_ = 0;\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                     &right_section,&right_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  if ((left_section != (Output_section *)0x0) || (right_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("binary lshift applied to section relative value");\n      gold_warning(format);\n    }\n  }\n  bVar1 = (byte)uVar6 & 0x1f;\n  uVar3 = (uint)uVar5 << ((byte)uVar6 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)(uVar5 >> 0x20) << bVar1 | (uint)uVar5 >> 0x20 - bVar1;\n  if ((uVar6 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Binary_lshift::" identifier : : identifier : :) (function_declarator "value(Binary_lshift *this,Expression_eval_info *eei)" identifier (parameter_list "(Binary_lshift *this,Expression_eval_info *eei)" ( (parameter_declaration "Binary_lshift *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression_eval_info *eei" type_identifier (pointer_declarator "*eei" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  char *format;\n  uint64_t uVar5;\n  uint64_t uVar6;\n  Output_section *left_section;\n  Output_section *right_section;\n  uint64_t left_alignment;\n  uint64_t right_alignment;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  left_alignment._0_4_ = 0;\n  left_alignment._4_4_ = 0;\n  uVar5 = 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                     &left_section,&left_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  right_alignment._0_4_ = 0;\n  right_alignment._4_4_ = 0;\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                     &right_section,&right_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     eei->is_valid_pointer);\n  if ((left_section != (Output_section *)0x0) || (right_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("binary lshift applied to section relative value");\n      gold_warning(format);\n    }\n  }\n  bVar1 = (byte)uVar6 & 0x1f;\n  uVar3 = (uint)uVar5 << ((byte)uVar6 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)(uVar5 >> 0x20) << bVar1 | (uint)uVar5 >> 0x20 - bVar1;\n  if ((uVar6 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint64_t uVar5;" primitive_type identifier ;) (declaration "uint64_t uVar6;" primitive_type identifier ;) (declaration "Output_section *left_section;" type_identifier (pointer_declarator "*left_section" * identifier) ;) (declaration "Output_section *right_section;" type_identifier (pointer_declarator "*right_section" * identifier) ;) (declaration "uint64_t left_alignment;" primitive_type identifier ;) (declaration "uint64_t right_alignment;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1be4f9;" (assignment_expression "uStack_14 = 0x1be4f9" identifier = number_literal) ;) (expression_statement "left_alignment._0_4_ = 0;" (assignment_expression "left_alignment._0_4_ = 0" (field_expression "left_alignment._0_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "left_alignment._4_4_ = 0;" (assignment_expression "left_alignment._4_4_ = 0" (field_expression "left_alignment._4_4_" identifier . field_identifier) = number_literal) ;) (ERROR "uVar5 = Expression::" (assignment_expression "uVar5 = 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                     &left_section,&left_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     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                     &left_section,&left_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     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                     &left_section,&left_alignment,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,\n                     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) , (pointer_expression "&left_section" & identifier) , (pointer_expression "&left_alignment" & identifier) , (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 "right_alignment._0_4_ = 0;" (assignment_expression "right_alignment._0_4_ = 0" (field_expression "right_alignment._0_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "right_alignment._4_4_ = 0;" (assignment_expression "right_alignment._4_4_ = 0" (field_expression "right_alignment._4_4_" identifier . field_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                     &right_section,&right_alignment,(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                     &right_section,&right_alignment,(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                     &right_section,&right_alignment,(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 "&right_section" & identifier) , (pointer_expression "&right_alignment" & identifier) , (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 ((left_section != (Output_section *)0x0) || (right_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("binary lshift applied to section relative value");\n      gold_warning(format);\n    }\n  }" if (parenthesized_expression "((left_section != (Output_section *)0x0) || (right_section != (Output_section *)0x0))" ( (binary_expression "(left_section != (Output_section *)0x0) || (right_section != (Output_section *)0x0)" (parenthesized_expression "(left_section != (Output_section *)0x0)" ( (binary_expression "left_section != (Output_section *)0x0" identifier != (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(right_section != (Output_section *)0x0)" ( (binary_expression "right_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("binary lshift applied 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("binary lshift applied 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("binary lshift applied to section relative value");\n      gold_warning(format);\n    }" { (expression_statement "format = (char *)gettext("binary lshift applied to section relative value");" (assignment_expression "format = (char *)gettext("binary lshift applied to section relative value")" identifier = (cast_expression "(char *)gettext("binary lshift applied to section relative value")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("binary lshift applied to section relative value")" identifier (argument_list "("binary lshift applied to section relative value")" ( (string_literal ""binary lshift applied to section relative value"" " string_content ") ))))) ;) (expression_statement "gold_warning(format);" (call_expression "gold_warning(format)" identifier (argument_list "(format)" ( identifier ))) ;) })) })) (expression_statement "bVar1 = (byte)uVar6 & 0x1f;" (assignment_expression "bVar1 = (byte)uVar6 & 0x1f" identifier = (binary_expression "(byte)uVar6 & 0x1f" (cast_expression "(byte)uVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar3 = (uint)uVar5 << ((byte)uVar6 & 0x1f);" (assignment_expression "uVar3 = (uint)uVar5 << ((byte)uVar6 & 0x1f)" identifier = (binary_expression "(uint)uVar5 << ((byte)uVar6 & 0x1f)" (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier) << (parenthesized_expression "((byte)uVar6 & 0x1f)" ( (binary_expression "(byte)uVar6 & 0x1f" (cast_expression "(byte)uVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" identifier = identifier) ;) (expression_statement "uVar2 = (int)(uVar5 >> 0x20) << bVar1 | (uint)uVar5 >> 0x20 - bVar1;" (assignment_expression "uVar2 = (int)(uVar5 >> 0x20) << bVar1 | (uint)uVar5 >> 0x20 - bVar1" identifier = (binary_expression "(int)(uVar5 >> 0x20) << bVar1 | (uint)uVar5 >> 0x20 - bVar1" (binary_expression "(int)(uVar5 >> 0x20) << bVar1" (cast_expression "(int)(uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x20)" ( (binary_expression "uVar5 >> 0x20" identifier >> number_literal) ))) << identifier) | (binary_expression "(uint)uVar5 >> 0x20 - bVar1" (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier) >> (binary_expression "0x20 - bVar1" number_literal - identifier)))) ;) (if_statement "if ((uVar6 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" if (parenthesized_expression "((uVar6 & 0x20) != 0)" ( (binary_expression "(uVar6 & 0x20) != 0" (parenthesized_expression "(uVar6 & 0x20)" ( (binary_expression "uVar6 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) })) (return_statement "return CONCAT44(uVar2,uVar4);" return (call_expression "CONCAT44(uVar2,uVar4)" identifier (argument_list "(uVar2,uVar4)" ( identifier , identifier ))) ;) })))
(translation_unit "undefined8 FUN_001be4f0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}\n\n" (function_definition "undefined8 FUN_001be4f0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" type_identifier (function_declarator "FUN_001be4f0(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  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30 [7];" primitive_type (array_declarator "local_30 [7]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1be4f9;" (assignment_expression "uStack_14 = 0x1be4f9" identifier = number_literal) ;) (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);" (assignment_expression "uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,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],&local_34\n                       ,local_30 + 1,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 ]) , (pointer_expression "&local_34" & identifier) , (binary_expression "local_30 + 1" identifier + number_literal) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar2 = (uint)uVar6;" (assignment_expression "uVar2 = (uint)uVar6" identifier = (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[4] = 0;" (assignment_expression "local_30[4] = 0" (subscript_expression "local_30[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);" (assignment_expression "bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001ba6b0(*(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_30,\n                       local_30 + 3,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_30,\n                       local_30 + 3,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 , (binary_expression "local_30 + 3" identifier + number_literal) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (if_statement "if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }" if (parenthesized_expression "((local_34 != 0) || (local_30[0] != 0))" ( (binary_expression "(local_34 != 0) || (local_30[0] != 0)" (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_30[0] != 0)" ( (binary_expression "local_30[0] != 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\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",uVar2);\n    }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",uVar2)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\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      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }" { (expression_statement "uVar5 = gettext("binary lshift applied to section relative value");" (assignment_expression "uVar5 = gettext("binary lshift applied to section relative value")" identifier = (call_expression "gettext("binary lshift applied to section relative value")" identifier (argument_list "("binary lshift applied to section relative value")" ( (string_literal ""binary lshift applied to section relative value"" " string_content ") )))) ;) (expression_statement "FUN_000654e0(uVar5);" (call_expression "FUN_000654e0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) })) (expression_statement "uVar3 = uVar2 << (bVar1 & 0x1f);" (assignment_expression "uVar3 = uVar2 << (bVar1 & 0x1f)" identifier = (binary_expression "uVar2 << (bVar1 & 0x1f)" identifier << (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" identifier = identifier) ;) (expression_statement "uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);" (assignment_expression "uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f)" identifier = (binary_expression "(int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f)" (binary_expression "(int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f)" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) << (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) ))) | (binary_expression "uVar2 >> 0x20 - (bVar1 & 0x1f)" identifier >> (binary_expression "0x20 - (bVar1 & 0x1f)" number_literal - (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" if (parenthesized_expression "((bVar1 & 0x20) != 0)" ( (binary_expression "(bVar1 & 0x20) != 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) })) (return_statement "return CONCAT44(uVar2,uVar4);" return (call_expression "CONCAT44(uVar2,uVar4)" identifier (argument_list "(uVar2,uVar4)" ( identifier , 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 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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 ]) , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 , (binary_expression IDENT + LIT) , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (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 ") , IDENT ))) ;) })) (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 = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) | (binary_expression IDENT >> (binary_expression LIT - (parenthesized_expression ( (binary_expression IDENT & LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })))
(function_definition "undefined8 FUN_001be4f0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" (type_identifier "undefined8") (function_declarator "FUN_001be4f0(int param_1,undefined4 *param_2)" (identifier "FUN_001be4f0") (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  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  int local_34;\n  int local_30 [7];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1be4f9;\n  local_30[1] = 0;\n  local_30[2] = 0;\n  uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);\n  uVar2 = (uint)uVar6;\n  local_30[3] = 0;\n  local_30[4] = 0;\n  bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);\n  if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }\n  uVar3 = uVar2 << (bVar1 & 0x1f);\n  uVar4 = uVar3;\n  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);\n  if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }\n  return CONCAT44(uVar2,uVar4);\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "int local_30 [7];" (primitive_type "int") (array_declarator "local_30 [7]" (identifier "local_30") ([ "[") (number_literal "7") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1be4f9;" (assignment_expression "uStack_14 = 0x1be4f9" (identifier "uStack_14") (= "=") (number_literal "0x1be4f9")) (; ";")) (expression_statement "local_30[1] = 0;" (assignment_expression "local_30[1] = 0" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb]);" (assignment_expression "uVar6 = FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb])" (identifier "uVar6") (= "=") (call_expression "FUN_001ba6b0(*(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],&local_34\n                       ,local_30 + 1,0,0,0,0,param_2[0xb])" (identifier "FUN_001ba6b0") (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],&local_34\n                       ,local_30 + 1,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") (] "]")) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1")) (, ",") (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 "uVar2 = (uint)uVar6;" (assignment_expression "uVar2 = (uint)uVar6" (identifier "uVar2") (= "=") (cast_expression "(uint)uVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[4] = 0;" (assignment_expression "local_30[4] = 0" (subscript_expression "local_30[4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb]);" (assignment_expression "bVar1 = FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb])" (identifier "bVar1") (= "=") (call_expression "FUN_001ba6b0(*(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_30,\n                       local_30 + 3,0,0,0,0,param_2[0xb])" (identifier "FUN_001ba6b0") (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_30,\n                       local_30 + 3,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_30") (, ",") (binary_expression "local_30 + 3" (identifier "local_30") (+ "+") (number_literal "3")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[0xb]" (identifier "param_2") ([ "[") (number_literal "0xb") (] "]")) () ")")))) (; ";")) (if_statement "if ((local_34 != 0) || (local_30[0] != 0)) {\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }" (if "if") (parenthesized_expression "((local_34 != 0) || (local_30[0] != 0))" (( "(") (binary_expression "(local_34 != 0) || (local_30[0] != 0)" (parenthesized_expression "(local_34 != 0)" (( "(") (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_30[0] != 0)" (( "(") (binary_expression "local_30[0] != 0" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\n    }\n    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }\n  }" ({ "{") (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);\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",uVar2);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x5c,"options",uVar2)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {\n      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\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      uVar5 = gettext("binary lshift applied to section relative value");\n      FUN_000654e0(uVar5);\n    }" ({ "{") (expression_statement "uVar5 = gettext("binary lshift applied to section relative value");" (assignment_expression "uVar5 = gettext("binary lshift applied to section relative value")" (identifier "uVar5") (= "=") (call_expression "gettext("binary lshift applied to section relative value")" (identifier "gettext") (argument_list "("binary lshift applied to section relative value")" (( "(") (string_literal ""binary lshift applied to section relative value"" (" """) (string_content "binary lshift applied to section relative value") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654e0(uVar5);" (call_expression "FUN_000654e0(uVar5)" (identifier "FUN_000654e0") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar3 = uVar2 << (bVar1 & 0x1f);" (assignment_expression "uVar3 = uVar2 << (bVar1 & 0x1f)" (identifier "uVar3") (= "=") (binary_expression "uVar2 << (bVar1 & 0x1f)" (identifier "uVar2") (<< "<<") (parenthesized_expression "(bVar1 & 0x1f)" (( "(") (binary_expression "bVar1 & 0x1f" (identifier "bVar1") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar4 = uVar3;" (assignment_expression "uVar4 = uVar3" (identifier "uVar4") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);" (assignment_expression "uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f)" (identifier "uVar2") (= "=") (binary_expression "(int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f)" (binary_expression "(int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f)" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")"))) (<< "<<") (parenthesized_expression "(bVar1 & 0x1f)" (( "(") (binary_expression "bVar1 & 0x1f" (identifier "bVar1") (& "&") (number_literal "0x1f")) () ")"))) (| "|") (binary_expression "uVar2 >> 0x20 - (bVar1 & 0x1f)" (identifier "uVar2") (>> ">>") (binary_expression "0x20 - (bVar1 & 0x1f)" (number_literal "0x20") (- "-") (parenthesized_expression "(bVar1 & 0x1f)" (( "(") (binary_expression "bVar1 & 0x1f" (identifier "bVar1") (& "&") (number_literal "0x1f")) () ")")))))) (; ";")) (if_statement "if ((bVar1 & 0x20) != 0) {\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" (if "if") (parenthesized_expression "((bVar1 & 0x20) != 0)" (( "(") (binary_expression "(bVar1 & 0x20) != 0" (parenthesized_expression "(bVar1 & 0x20)" (( "(") (binary_expression "bVar1 & 0x20" (identifier "bVar1") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = 0;\n    uVar2 = uVar3;\n  }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" (identifier "uVar2") (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (return_statement "return CONCAT44(uVar2,uVar4);" (return "return") (call_expression "CONCAT44(uVar2,uVar4)" (identifier "CONCAT44") (argument_list "(uVar2,uVar4)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}")))

/* 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(Binary_lshift * this, Expression_eval_info * eei) */

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

{
  type_3 var_8;
  type_4 uVar2;
  type_4 uVar3;
  type_4 uVar4;
  char *format;
  uint64_t var_7;
  uint64_t var_9;
  type_5 *var_2;
  type_5 *var_3;
  uint64_t left_alignment;
  uint64_t right_alignment;
  type_6 uStack_14;
  
  uStack_14 = 0x1be4f9;
  left_alignment._0_4_ = 0;
  left_alignment._4_4_ = 0;
  var_7 = 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,
                     &var_2,&left_alignment,(type_7 *)0x0,(type_8 *)0x0,(type_9 *)0x0,false,
                     eei->is_valid_pointer);
  right_alignment._0_4_ = 0;
  right_alignment._4_4_ = 0;
  var_9 = 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,&right_alignment,(type_7 *)0x0,(type_8 *)0x0,(type_9 *)0x0,false,
                     eei->is_valid_pointer);
  if ((var_2 != (type_5 *)0x0) || (var_3 != (type_5 *)0x0)) {
    if (parameters->options_ == (type_10 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_4("../../gold/parameters.h",0x5c,"options");
    }
    if ((parameters->options_->relocatable_).function_1 != false) {
      format = (char *)var_5("binary lshift applied to section relative value");
      var_6(format);
    }
  }
  var_8 = (type_3)var_9 & 0x1f;
  uVar3 = (type_4)var_7 << ((type_3)var_9 & 0x1f);
  uVar4 = uVar3;
  uVar2 = (int)(var_7 >> 0x20) << var_8 | (type_4)var_7 >> 0x20 - var_8;
  if ((var_9 & 0x20) != 0) {
    uVar4 = 0;
    uVar2 = uVar3;
  }
  return var_10(uVar2,uVar4);
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

undefined8 MASKED(int param_1,undefined4 *param_2)

{
  byte bVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  undefined4 uVar5;
  undefined8 uVar6;
  int local_34;
  int local_30 [7];
  undefined4 uStack_14;
  
  uStack_14 = 0x1be4f9;
  local_30[1] = 0;
  local_30[2] = 0;
  uVar6 = FUN_001ba6b0(*(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],&local_34
                       ,local_30 + 1,0,0,0,0,param_2[0xb]);
  uVar2 = (uint)uVar6;
  local_30[3] = 0;
  local_30[4] = 0;
  bVar1 = FUN_001ba6b0(*(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_30,
                       local_30 + 3,0,0,0,0,param_2[0xb]);
  if ((local_34 != 0) || (local_30[0] != 0)) {
    if (*(int *)(DAT_0038f378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x5c,"options",uVar2);
    }
    if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x318d) != '\0') {
      uVar5 = gettext("binary lshift applied to section relative value");
      FUN_000654e0(uVar5);
    }
  }
  uVar3 = uVar2 << (bVar1 & 0x1f);
  uVar4 = uVar3;
  uVar2 = (int)((ulonglong)uVar6 >> 0x20) << (bVar1 & 0x1f) | uVar2 >> 0x20 - (bVar1 & 0x1f);
  if ((bVar1 & 0x20) != 0) {
    uVar4 = 0;
    uVar2 = uVar3;
  }
  return CONCAT44(uVar2,uVar4);
}

