
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void write(Output_reloc<4,_false,_32,_true> * this, uchar * pov) */

ssize_t __thiscall
gold::Output_reloc<4,_false,_32,_true>::write
          (Output_reloc<4,_false,_32,_true> *this,int __fd,void *__buf,size_t __n)

{
  byte bVar1;
  Target *pTVar2;
  Elf_Addr EVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  Addend addend;
  uint uVar7;
  undefined4 in_register_00000034;
  uint *puVar8;
  
  puVar8 = (uint *)CONCAT44(in_register_00000034,__fd);
  EVar3 = Output_reloc<9,_false,_32,_true>::get_address(&this->rel_);
  *puVar8 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;
  uVar4 = Output_reloc<9,_false,_32,_true>::get_symbol_index(&this->rel_);
  uVar6 = *(uint *)&(this->rel_).field_0x18;
  uVar7 = uVar6 & 0xff;
  uVar5 = uVar4 * 0x100 + uVar7;
  uVar4 = (this->rel_).local_sym_index_;
  puVar8[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000;
  addend = this->addend_;
  if (uVar4 == 0xfffffffd) {
    pTVar2 = parameters->target_;
    if (pTVar2 != (Target *)0x0) {
      uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))
                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend);
      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
      puVar8[2] = uVar6;
      return (ulong)uVar6;
    }
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x69,"target");
  }
  bVar1 = (this->rel_).field_0x1b;
  if ((bVar1 & 0x20) == 0) {
    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {
      EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend);
      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;
      puVar8[2] = uVar6;
      return (ulong)uVar6;
    }
  }
  else {
    addend = Output_reloc<9,_false,_32,_true>::symbol_value(&this->rel_,addend);
  }
  uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18;
  puVar8[2] = uVar6;
  return (ulong)uVar6;
}



void FUN_00229860(undefined8 *param_1,uint *param_2)

{
  uint uVar1;
  long *plVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  
  uVar3 = FUN_00229470();
  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
  iVar4 = FUN_00201350(param_1);
  uVar3 = *(uint *)(param_1 + 3);
  uVar6 = uVar3 & 0xff;
  uVar5 = iVar4 * 0x100 + uVar6;
  uVar1 = *(uint *)((long)param_1 + 0x14);
  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;
  uVar5 = *(uint *)(param_1 + 4);
  if (uVar1 == 0xfffffffd) {
    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);
    if (plVar2 != (long *)0x0) {
      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/parameters.h",0x69,"target");
  }
  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {
    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&
       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {
      uVar3 = FUN_002292e0(param_1,uVar5);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
  }
  else {
    uVar5 = FUN_00201080(param_1,uVar5);
  }
  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
  return;
}


PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
CALL 0x00229470
MOV RDI,RBX
BSWAP EAX
MOV dword ptr [RBP],EAX
CALL 0x00201350
MOV EDX,dword ptr [RBX + 0x18]
SHL EAX,0x8
AND EDX,0xfffffff
MOVZX ECX,DL
ADD EAX,ECX
MOV ECX,dword ptr [RBX + 0x14]
BSWAP EAX
MOV dword ptr [RBP + 0x4],EAX
MOV EAX,dword ptr [RBX + 0x20]
CMP ECX,-0x3
JZ 0x002298f0
MOVZX EDX,byte ptr [RBX + 0x1b]
TEST DL,0x20
JNZ 0x002298d0
CMP ECX,-0x2
JNC 0x002298da
CMP ECX,-0x4
JZ 0x002298da
AND EDX,0x40
JZ 0x002298da
MOV RDI,RBX
MOV ESI,EAX
CALL 0x002292e0
BSWAP EAX
MOV dword ptr [RBP + 0x8],EAX
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV ESI,EAX
MOV RDI,RBX
CALL 0x00201080
BSWAP EAX
MOV dword ptr [RBP + 0x8],EAX
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV RCX,qword ptr [0x0043e6b0]
MOV RDI,qword ptr [RCX + 0x18]
TEST RDI,RDI
JZ 0x00229917
MOV ECX,EAX
MOV RAX,qword ptr [RDI]
MOV RSI,qword ptr [RBX]
CALL qword ptr [RAX + 0x60]
BSWAP EAX
MOV dword ptr [RBP + 0x8],EAX
ADD RSP,0x8
POP RBX
POP RBP
RET
LEA RDX,[0x380e1b]
MOV ESI,0x69
LEA RDI,[0x3726d0]
CALL 0x0017c650
(translation_unit "void FUN_00229860(undefined8 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}\n\n" (function_definition "void FUN_00229860(undefined8 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" primitive_type (function_declarator "FUN_00229860(undefined8 *param_1,uint *param_2)" identifier (parameter_list "(undefined8 *param_1,uint *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_00229470();" (assignment_expression "uVar3 = FUN_00229470()" identifier = (call_expression "FUN_00229470()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "iVar4 = FUN_00201350(param_1);" (assignment_expression "iVar4 = FUN_00201350(param_1)" identifier = (call_expression "FUN_00201350(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = *(uint *)(param_1 + 3);" (assignment_expression "uVar3 = *(uint *)(param_1 + 3)" identifier = (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = uVar3 & 0xff;" (assignment_expression "uVar6 = uVar3 & 0xff" identifier = (binary_expression "uVar3 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar5 = iVar4 * 0x100 + uVar6;" (assignment_expression "uVar5 = iVar4 * 0x100 + uVar6" identifier = (binary_expression "iVar4 * 0x100 + uVar6" (binary_expression "iVar4 * 0x100" identifier * number_literal) + identifier)) ;) (expression_statement "uVar1 = *(uint *)((long)param_1 + 0x14);" (assignment_expression "uVar1 = *(uint *)((long)param_1 + 0x14)" identifier = (pointer_expression "*(uint *)((long)param_1 + 0x14)" * (cast_expression "(uint *)((long)param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;" (assignment_expression "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 * 0x1000000" identifier * number_literal))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 4);" (assignment_expression "uVar5 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(uVar1 == 0xfffffffd)" ( (binary_expression "uVar1 == 0xfffffffd" identifier == number_literal) )) (compound_statement "{\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }" { (expression_statement "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);" (assignment_expression "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18)" identifier = (pointer_expression "*(long **)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long **)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);" (assignment_expression "uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" identifier = (call_expression "(**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" (parenthesized_expression "(**(code **)(*plVar2 + 0x60))" ( (pointer_expression "**(code **)(*plVar2 + 0x60)" * (pointer_expression "*(code **)(*plVar2 + 0x60)" * (cast_expression "(code **)(*plVar2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x60)" ( (binary_expression "*plVar2 + 0x60" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" ( identifier , (pointer_expression "*param_1" * identifier) , (binary_expression "uVar3 & 0xfffffff" identifier & number_literal) , identifier )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (if_statement "if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" if (parenthesized_expression "((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0)" ( (binary_expression "(*(byte *)((long)param_1 + 0x1b) & 0x20) == 0" (parenthesized_expression "(*(byte *)((long)param_1 + 0x1b) & 0x20)" ( (binary_expression "*(byte *)((long)param_1 + 0x1b) & 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x1b)" * (cast_expression "(byte *)((long)param_1 + 0x1b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1b)" ( (binary_expression "(long)param_1 + 0x1b" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }" { (if_statement "if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0))" ( (binary_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)" (parenthesized_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc))" ( (binary_expression "(uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)" (parenthesized_expression "(uVar1 < 0xfffffffe)" ( (binary_expression "uVar1 < 0xfffffffe" identifier < number_literal) )) && (parenthesized_expression "(uVar1 != 0xfffffffc)" ( (binary_expression "uVar1 != 0xfffffffc" identifier != number_literal) ))) )) && (parenthesized_expression "((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)" ( (binary_expression "(*(byte *)((long)param_1 + 0x1b) & 0x40) != 0" (parenthesized_expression "(*(byte *)((long)param_1 + 0x1b) & 0x40)" ( (binary_expression "*(byte *)((long)param_1 + 0x1b) & 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x1b)" * (cast_expression "(byte *)((long)param_1 + 0x1b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1b)" ( (binary_expression "(long)param_1 + 0x1b" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = FUN_002292e0(param_1,uVar5);" (assignment_expression "uVar3 = FUN_002292e0(param_1,uVar5)" identifier = (call_expression "FUN_002292e0(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" else (compound_statement "{\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" { (expression_statement "uVar5 = FUN_00201080(param_1,uVar5);" (assignment_expression "uVar5 = FUN_00201080(param_1,uVar5)" identifier = (call_expression "FUN_00201080(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) }))) (expression_statement "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void write(Output_reloc<4,_false,_32,_true> * this, uchar * pov) */\n\nssize_t __thiscall\ngold::Output_reloc<4,_false,_32,_true>::write\n          (Output_reloc<4,_false,_32,_true> *this,int __fd,void *__buf,size_t __n)\n\n{\n  byte bVar1;\n  Target *pTVar2;\n  Elf_Addr EVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  Addend addend;\n  uint uVar7;\n  undefined4 in_register_00000034;\n  uint *puVar8;\n  \n  puVar8 = (uint *)CONCAT44(in_register_00000034,__fd);\n  EVar3 = Output_reloc<9,_false,_32,_true>::get_address(&this->rel_);\n  *puVar8 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n  uVar4 = Output_reloc<9,_false,_32,_true>::get_symbol_index(&this->rel_);\n  uVar6 = *(uint *)&(this->rel_).field_0x18;\n  uVar7 = uVar6 & 0xff;\n  uVar5 = uVar4 * 0x100 + uVar7;\n  uVar4 = (this->rel_).local_sym_index_;\n  puVar8[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000;\n  addend = this->addend_;\n  if (uVar4 == 0xfffffffd) {\n    pTVar2 = parameters->target_;\n    if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }\n  bVar1 = (this->rel_).field_0x1b;\n  if ((bVar1 & 0x20) == 0) {\n    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }\n  }\n  else {\n    addend = Output_reloc<9,_false,_32,_true>::symbol_value(&this->rel_,addend);\n  }\n  uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18;\n  puVar8[2] = uVar6;\n  return (ulong)uVar6;\n}\n\n" comment comment (declaration "ssize_t __thiscall\ngold::Output_reloc<4,_false,_32,_true>::write\n          (Output_reloc<4,_false,_32,_true> *this,int __fd,void *__buf,size_t __n)\n\n{\n  byte bVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<4" < number_literal) , identifier , identifier , (ERROR "_true>::write\n          (Output_reloc<4,_false,_32,_true> *this,int __fd,void *__buf,size_t __n)\n\n{\n  byte" identifier > : : (function_declarator "write\n          (Output_reloc<4,_false,_32,_true> *this,int __fd,void *__buf,size_t __n)" identifier (parameter_list "(Output_reloc<4,_false,_32,_true> *this,int __fd,void *__buf,size_t __n)" ( (parameter_declaration "Output_reloc" type_identifier) (ERROR "<4" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __fd" primitive_type identifier) , (parameter_declaration "void *__buf" primitive_type (pointer_declarator "*__buf" * identifier)) , (parameter_declaration "size_t __n" primitive_type identifier) ))) { identifier) identifier ;) (declaration "Target *pTVar2;" type_identifier (pointer_declarator "*pTVar2" * identifier) ;) (declaration "Elf_Addr EVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "Addend addend;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined4 in_register_00000034;" type_identifier identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "puVar8 = (uint *)CONCAT44(in_register_00000034,__fd);" (assignment_expression "puVar8 = (uint *)CONCAT44(in_register_00000034,__fd)" identifier = (cast_expression "(uint *)CONCAT44(in_register_00000034,__fd)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(in_register_00000034,__fd)" identifier (argument_list "(in_register_00000034,__fd)" ( identifier , identifier ))))) ;) (expression_statement "EVar3 = Output_reloc<9,_false,_32,_true>::get_address(&this->rel_);" (update_expression "EVar3 = Output_reloc<9,_false,_32,_true>::get_address(&this->rel_)" (binary_expression "EVar3 = Output_reloc<9,_false,_32,_true>::get_address(&this->rel_)" (assignment_expression "EVar3 = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) (ERROR ",_false,_32,_true" , identifier , identifier , identifier) > (ERROR "::" : :) (call_expression "get_address(&this->rel_)" identifier (argument_list "(&this->rel_)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) )))) --) ;) (expression_statement "*puVar8 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;" (assignment_expression "*puVar8 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" (pointer_expression "*puVar8" * identifier) = (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8" (binary_expression "EVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(EVar3 & 0xff0000) >> 8" (parenthesized_expression "(EVar3 & 0xff0000)" ( (binary_expression "EVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(EVar3 & 0xff00) << 8" (parenthesized_expression "(EVar3 & 0xff00)" ( (binary_expression "EVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "EVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar4 = Output_reloc<9,_false,_32,_true>::get_symbol_index(&this->rel_);" (update_expression "uVar4 = Output_reloc<9,_false,_32,_true>::get_symbol_index(&this->rel_)" (binary_expression "uVar4 = Output_reloc<9,_false,_32,_true>::get_symbol_index(&this->rel_)" (assignment_expression "uVar4 = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) (ERROR ",_false,_32,_true" , identifier , identifier , identifier) > (ERROR "::" : :) (call_expression "get_symbol_index(&this->rel_)" identifier (argument_list "(&this->rel_)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) )))) --) ;) (expression_statement "uVar6 = *(uint *)&(this->rel_).field_0x18;" (assignment_expression "uVar6 = *(uint *)&(this->rel_).field_0x18" identifier = (pointer_expression "*(uint *)&(this->rel_).field_0x18" * (cast_expression "(uint *)&(this->rel_).field_0x18" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->rel_).field_0x18" & (field_expression "(this->rel_).field_0x18" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier))))) ;) (expression_statement "uVar7 = uVar6 & 0xff;" (assignment_expression "uVar7 = uVar6 & 0xff" identifier = (binary_expression "uVar6 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar5 = uVar4 * 0x100 + uVar7;" (assignment_expression "uVar5 = uVar4 * 0x100 + uVar7" identifier = (binary_expression "uVar4 * 0x100 + uVar7" (binary_expression "uVar4 * 0x100" identifier * number_literal) + identifier)) ;) (expression_statement "uVar4 = (this->rel_).local_sym_index_;" (assignment_expression "uVar4 = (this->rel_).local_sym_index_" identifier = (field_expression "(this->rel_).local_sym_index_" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "puVar8[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000;" (assignment_expression "puVar8[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 * 0x1000000" identifier * number_literal))) ;) (expression_statement "addend = this->addend_;" (assignment_expression "addend = this->addend_" identifier = (field_expression "this->addend_" identifier -> field_identifier)) ;) (if_statement "if (uVar4 == 0xfffffffd) {\n    pTVar2 = parameters->target_;\n    if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(uVar4 == 0xfffffffd)" ( (binary_expression "uVar4 == 0xfffffffd" identifier == number_literal) )) (compound_statement "{\n    pTVar2 = parameters->target_;\n    if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" { (expression_statement "pTVar2 = parameters->target_;" (assignment_expression "pTVar2 = parameters->target_" identifier = (field_expression "parameters->target_" identifier -> field_identifier)) ;) (if_statement "if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }" if (parenthesized_expression "(pTVar2 != (Target *)0x0)" ( (binary_expression "pTVar2 != (Target *)0x0" identifier != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }" { (expression_statement "uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend);" (assignment_expression "uVar6 = (**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend)" identifier = (call_expression "(**(code **)(*(long *)pTVar2 + 0x60))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend)" (parenthesized_expression "(**(code **)(*(long *)pTVar2 + 0x60))" ( (pointer_expression "**(code **)(*(long *)pTVar2 + 0x60)" * (pointer_expression "*(code **)(*(long *)pTVar2 + 0x60)" * (cast_expression "(code **)(*(long *)pTVar2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)pTVar2 + 0x60)" ( (binary_expression "*(long *)pTVar2 + 0x60" (pointer_expression "*(long *)pTVar2" * (cast_expression "(long *)pTVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend)" ( identifier , (field_expression "(this->rel_).u1_.relobj" (field_expression "(this->rel_).u1_" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , (binary_expression "uVar6 & 0xfffffff" identifier & number_literal) , identifier )))) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar8[2] = uVar6;" (assignment_expression "puVar8[2] = uVar6" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return (ulong)uVar6;" return (cast_expression "(ulong)uVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "bVar1 = (this->rel_).field_0x1b;" (assignment_expression "bVar1 = (this->rel_).field_0x1b" identifier = (field_expression "(this->rel_).field_0x1b" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((bVar1 & 0x20) == 0) {\n    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }\n  }\n  else {\n    addend = Output_reloc<9,_false,_32,_true>::symbol_value(&this->rel_,addend);\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    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }\n  }" { (if_statement "if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }" if (parenthesized_expression "(((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0))" ( (binary_expression "((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)" (parenthesized_expression "((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc))" ( (binary_expression "(uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)" (parenthesized_expression "(uVar4 < 0xfffffffe)" ( (binary_expression "uVar4 < 0xfffffffe" identifier < number_literal) )) && (parenthesized_expression "(uVar4 != 0xfffffffc)" ( (binary_expression "uVar4 != 0xfffffffc" identifier != number_literal) ))) )) && (parenthesized_expression "((bVar1 & 0x40) != 0)" ( (binary_expression "(bVar1 & 0x40) != 0" (parenthesized_expression "(bVar1 & 0x40)" ( (binary_expression "bVar1 & 0x40" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      puVar8[2] = uVar6;\n      return (ulong)uVar6;\n    }" { (expression_statement "EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend);" (comma_expression "EVar3 = Output_reloc<9,_false,_32,_true>::local_section_offset(&this->rel_,addend)" (assignment_expression "EVar3 = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) , (comma_expression "_false,_32,_true>::local_section_offset(&this->rel_,addend)" identifier , (comma_expression "_32,_true>::local_section_offset(&this->rel_,addend)" identifier , (binary_expression "_true>::local_section_offset(&this->rel_,addend)" identifier > (ERROR "::" : :) (call_expression "local_section_offset(&this->rel_,addend)" identifier (argument_list "(&this->rel_,addend)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) , identifier ))))))) ;) (expression_statement "uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;" (assignment_expression "uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" identifier = (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8" (binary_expression "EVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(EVar3 & 0xff0000) >> 8" (parenthesized_expression "(EVar3 & 0xff0000)" ( (binary_expression "EVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(EVar3 & 0xff00) << 8" (parenthesized_expression "(EVar3 & 0xff00)" ( (binary_expression "EVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "EVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar8[2] = uVar6;" (assignment_expression "puVar8[2] = uVar6" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return (ulong)uVar6;" return (cast_expression "(ulong)uVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })) }) (else_clause "else {\n    addend = Output_reloc<9,_false,_32,_true>::symbol_value(&this->rel_,addend);\n  }" else (compound_statement "{\n    addend = Output_reloc<9,_false,_32,_true>::symbol_value(&this->rel_,addend);\n  }" { (expression_statement "addend = Output_reloc<9,_false,_32,_true>::symbol_value(&this->rel_,addend);" (comma_expression "addend = Output_reloc<9,_false,_32,_true>::symbol_value(&this->rel_,addend)" (assignment_expression "addend = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) , (comma_expression "_false,_32,_true>::symbol_value(&this->rel_,addend)" identifier , (comma_expression "_32,_true>::symbol_value(&this->rel_,addend)" identifier , (binary_expression "_true>::symbol_value(&this->rel_,addend)" identifier > (ERROR "::" : :) (call_expression "symbol_value(&this->rel_,addend)" identifier (argument_list "(&this->rel_,addend)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) , identifier ))))))) ;) }))) (expression_statement "uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18;" (assignment_expression "uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18" identifier = (binary_expression "addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18" (binary_expression "addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8" (binary_expression "addend >> 0x18 | (addend & 0xff0000) >> 8" (binary_expression "addend >> 0x18" identifier >> number_literal) | (binary_expression "(addend & 0xff0000) >> 8" (parenthesized_expression "(addend & 0xff0000)" ( (binary_expression "addend & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(addend & 0xff00) << 8" (parenthesized_expression "(addend & 0xff00)" ( (binary_expression "addend & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "addend << 0x18" identifier << number_literal))) ;) (expression_statement "puVar8[2] = uVar6;" (assignment_expression "puVar8[2] = uVar6" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return (ulong)uVar6;" return (cast_expression "(ulong)uVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) (ERROR "}" }))
(translation_unit "void FUN_00229860(undefined8 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}\n\n" (function_definition "void FUN_00229860(undefined8 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" primitive_type (function_declarator "FUN_00229860(undefined8 *param_1,uint *param_2)" identifier (parameter_list "(undefined8 *param_1,uint *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_00229470();" (assignment_expression "uVar3 = FUN_00229470()" identifier = (call_expression "FUN_00229470()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "iVar4 = FUN_00201350(param_1);" (assignment_expression "iVar4 = FUN_00201350(param_1)" identifier = (call_expression "FUN_00201350(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = *(uint *)(param_1 + 3);" (assignment_expression "uVar3 = *(uint *)(param_1 + 3)" identifier = (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = uVar3 & 0xff;" (assignment_expression "uVar6 = uVar3 & 0xff" identifier = (binary_expression "uVar3 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar5 = iVar4 * 0x100 + uVar6;" (assignment_expression "uVar5 = iVar4 * 0x100 + uVar6" identifier = (binary_expression "iVar4 * 0x100 + uVar6" (binary_expression "iVar4 * 0x100" identifier * number_literal) + identifier)) ;) (expression_statement "uVar1 = *(uint *)((long)param_1 + 0x14);" (assignment_expression "uVar1 = *(uint *)((long)param_1 + 0x14)" identifier = (pointer_expression "*(uint *)((long)param_1 + 0x14)" * (cast_expression "(uint *)((long)param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;" (assignment_expression "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 * 0x1000000" identifier * number_literal))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 4);" (assignment_expression "uVar5 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(uVar1 == 0xfffffffd)" ( (binary_expression "uVar1 == 0xfffffffd" identifier == number_literal) )) (compound_statement "{\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }" { (expression_statement "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);" (assignment_expression "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18)" identifier = (pointer_expression "*(long **)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long **)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);" (assignment_expression "uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" identifier = (call_expression "(**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" (parenthesized_expression "(**(code **)(*plVar2 + 0x60))" ( (pointer_expression "**(code **)(*plVar2 + 0x60)" * (pointer_expression "*(code **)(*plVar2 + 0x60)" * (cast_expression "(code **)(*plVar2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x60)" ( (binary_expression "*plVar2 + 0x60" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" ( identifier , (pointer_expression "*param_1" * identifier) , (binary_expression "uVar3 & 0xfffffff" identifier & number_literal) , identifier )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (if_statement "if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" if (parenthesized_expression "((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0)" ( (binary_expression "(*(byte *)((long)param_1 + 0x1b) & 0x20) == 0" (parenthesized_expression "(*(byte *)((long)param_1 + 0x1b) & 0x20)" ( (binary_expression "*(byte *)((long)param_1 + 0x1b) & 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x1b)" * (cast_expression "(byte *)((long)param_1 + 0x1b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1b)" ( (binary_expression "(long)param_1 + 0x1b" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }" { (if_statement "if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0))" ( (binary_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)" (parenthesized_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc))" ( (binary_expression "(uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)" (parenthesized_expression "(uVar1 < 0xfffffffe)" ( (binary_expression "uVar1 < 0xfffffffe" identifier < number_literal) )) && (parenthesized_expression "(uVar1 != 0xfffffffc)" ( (binary_expression "uVar1 != 0xfffffffc" identifier != number_literal) ))) )) && (parenthesized_expression "((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)" ( (binary_expression "(*(byte *)((long)param_1 + 0x1b) & 0x40) != 0" (parenthesized_expression "(*(byte *)((long)param_1 + 0x1b) & 0x40)" ( (binary_expression "*(byte *)((long)param_1 + 0x1b) & 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x1b)" * (cast_expression "(byte *)((long)param_1 + 0x1b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1b)" ( (binary_expression "(long)param_1 + 0x1b" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = FUN_002292e0(param_1,uVar5);" (assignment_expression "uVar3 = FUN_002292e0(param_1,uVar5)" identifier = (call_expression "FUN_002292e0(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" else (compound_statement "{\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" { (expression_statement "uVar5 = FUN_00201080(param_1,uVar5);" (assignment_expression "uVar5 = FUN_00201080(param_1,uVar5)" identifier = (call_expression "FUN_00201080(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) }))) (expression_statement "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * IDENT) , (binary_expression IDENT & LIT) , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (return_statement return ;) })))
(function_definition "void FUN_00229860(undefined8 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00229860(undefined8 *param_1,uint *param_2)" (identifier "FUN_00229860") (parameter_list "(undefined8 *param_1,uint *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_00229470();\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_00201350(param_1);\n  uVar3 = *(uint *)(param_1 + 3);\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = *(uint *)((long)param_1 + 0x14);\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = *(uint *)(param_1 + 4);\n  if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }\n  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (expression_statement "uVar3 = FUN_00229470();" (assignment_expression "uVar3 = FUN_00229470()" (identifier "uVar3") (= "=") (call_expression "FUN_00229470()" (identifier "FUN_00229470") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "iVar4 = FUN_00201350(param_1);" (assignment_expression "iVar4 = FUN_00201350(param_1)" (identifier "iVar4") (= "=") (call_expression "FUN_00201350(param_1)" (identifier "FUN_00201350") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar3 = *(uint *)(param_1 + 3);" (assignment_expression "uVar3 = *(uint *)(param_1 + 3)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_1 + 3)" (* "*") (cast_expression "(uint *)(param_1 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "uVar6 = uVar3 & 0xff;" (assignment_expression "uVar6 = uVar3 & 0xff" (identifier "uVar6") (= "=") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff"))) (; ";")) (expression_statement "uVar5 = iVar4 * 0x100 + uVar6;" (assignment_expression "uVar5 = iVar4 * 0x100 + uVar6" (identifier "uVar5") (= "=") (binary_expression "iVar4 * 0x100 + uVar6" (binary_expression "iVar4 * 0x100" (identifier "iVar4") (* "*") (number_literal "0x100")) (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "uVar1 = *(uint *)((long)param_1 + 0x14);" (assignment_expression "uVar1 = *(uint *)((long)param_1 + 0x14)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)((long)param_1 + 0x14)" (* "*") (cast_expression "(uint *)((long)param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x14)" (( "(") (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;" (assignment_expression "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" (( "(") (binary_expression "uVar5 & 0xff0000" (identifier "uVar5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" (( "(") (binary_expression "uVar5 & 0xff00" (identifier "uVar5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar6 * 0x1000000" (identifier "uVar6") (* "*") (number_literal "0x1000000")))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_1 + 4);" (assignment_expression "uVar5 = *(uint *)(param_1 + 4)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (uVar1 == 0xfffffffd) {\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }" (if "if") (parenthesized_expression "(uVar1 == 0xfffffffd)" (( "(") (binary_expression "uVar1 == 0xfffffffd" (identifier "uVar1") (== "==") (number_literal "0xfffffffd")) () ")")) (compound_statement "{\n    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);\n    if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_0017c650("../../gold/parameters.h",0x69,"target");\n  }" ({ "{") (expression_statement "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);" (assignment_expression "plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(PTR_DAT_0043e6b0 + 0x18)" (* "*") (cast_expression "(long **)(PTR_DAT_0043e6b0 + 0x18)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x18" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (plVar2 != (long *)0x0) {\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" (if "if") (parenthesized_expression "(plVar2 != (long *)0x0)" (( "(") (binary_expression "plVar2 != (long *)0x0" (identifier "plVar2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" ({ "{") (expression_statement "uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);" (assignment_expression "uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" (parenthesized_expression "(**(code **)(*plVar2 + 0x60))" (( "(") (pointer_expression "**(code **)(*plVar2 + 0x60)" (* "*") (pointer_expression "*(code **)(*plVar2 + 0x60)" (* "*") (cast_expression "(code **)(*plVar2 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 0x60)" (( "(") (binary_expression "*plVar2 + 0x60" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (argument_list "(plVar2,*param_1,uVar3 & 0xfffffff,uVar5)" (( "(") (identifier "plVar2") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "uVar3 & 0xfffffff" (identifier "uVar3") (& "&") (number_literal "0xfffffff")) (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x69,"target")" (identifier "FUN_0017c650") (argument_list "("../../gold/parameters.h",0x69,"target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" (if "if") (parenthesized_expression "((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)((long)param_1 + 0x1b) & 0x20) == 0" (parenthesized_expression "(*(byte *)((long)param_1 + 0x1b) & 0x20)" (( "(") (binary_expression "*(byte *)((long)param_1 + 0x1b) & 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x1b)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x1b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x1b)" (( "(") (binary_expression "(long)param_1 + 0x1b" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1b")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }" ({ "{") (if_statement "if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" (if "if") (parenthesized_expression "(((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0))" (( "(") (binary_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)" (parenthesized_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc))" (( "(") (binary_expression "(uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)" (parenthesized_expression "(uVar1 < 0xfffffffe)" (( "(") (binary_expression "uVar1 < 0xfffffffe" (identifier "uVar1") (< "<") (number_literal "0xfffffffe")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 0xfffffffc)" (( "(") (binary_expression "uVar1 != 0xfffffffc" (identifier "uVar1") (!= "!=") (number_literal "0xfffffffc")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)" (( "(") (binary_expression "(*(byte *)((long)param_1 + 0x1b) & 0x40) != 0" (parenthesized_expression "(*(byte *)((long)param_1 + 0x1b) & 0x40)" (( "(") (binary_expression "*(byte *)((long)param_1 + 0x1b) & 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x1b)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x1b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x1b)" (( "(") (binary_expression "(long)param_1 + 0x1b" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1b")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      uVar3 = FUN_002292e0(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" ({ "{") (expression_statement "uVar3 = FUN_002292e0(param_1,uVar5);" (assignment_expression "uVar3 = FUN_002292e0(param_1,uVar5)" (identifier "uVar3") (= "=") (call_expression "FUN_002292e0(param_1,uVar5)" (identifier "FUN_002292e0") (argument_list "(param_1,uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" (else "else") (compound_statement "{\n    uVar5 = FUN_00201080(param_1,uVar5);\n  }" ({ "{") (expression_statement "uVar5 = FUN_00201080(param_1,uVar5);" (assignment_expression "uVar5 = FUN_00201080(param_1,uVar5)" (identifier "uVar5") (= "=") (call_expression "FUN_00201080(param_1,uVar5)" (identifier "FUN_00201080") (argument_list "(param_1,uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") () ")")))) (; ";")) (} "}")))) (expression_statement "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" (( "(") (binary_expression "uVar5 & 0xff0000" (identifier "uVar5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" (( "(") (binary_expression "uVar5 & 0xff00" (identifier "uVar5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar5 << 0x18" (identifier "uVar5") (<< "<<") (number_literal "0x18")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void write(Output_reloc<4,_false,_32,_true> * this, uchar * pov) */

ssize_t __thiscall
gold::var_2<4,_false,_32,var_13>::write
          (var_2<4,_false,_32,var_13> *this,int __fd,void *__buf,size_t __n)

{
  byte var_12;
  type_1 *var_10;
  type_2 var_4;
  type_3 var_7;
  type_3 var_9;
  type_3 var_6;
  type_4 var_16;
  type_3 var_8;
  type_5 in_register_00000034;
  type_3 *puVar8;
  
  puVar8 = (type_3 *)var_1(in_register_00000034,__fd);
  var_4 = var_2<9,_false,_32,var_13>::var_3(&this->rel_);
  *puVar8 = var_4 >> 0x18 | (var_4 & 0xff0000) >> 8 | (var_4 & 0xff00) << 8 | var_4 << 0x18;
  var_7 = var_2<9,_false,_32,var_13>::var_5(&this->rel_);
  var_6 = *(type_3 *)&(this->rel_).field_0x18;
  var_8 = var_6 & 0xff;
  var_9 = var_7 * 0x100 + var_8;
  var_7 = (this->rel_).local_sym_index_;
  puVar8[1] = var_9 >> 0x18 | (var_9 & 0xff0000) >> 8 | (var_9 & 0xff00) << 8 | var_8 * 0x1000000;
  var_16 = this->addend_;
  if (var_7 == 0xfffffffd) {
    var_10 = parameters->target_;
    if (var_10 != (type_1 *)0x0) {
      var_6 = (**(type_6 **)(*(long *)var_10 + 0x60))
                        (var_10,(this->rel_).u1_.relobj,var_6 & 0xfffffff,var_16);
      var_6 = var_6 >> 0x18 | (var_6 & 0xff0000) >> 8 | (var_6 & 0xff00) << 8 | var_6 << 0x18;
      puVar8[2] = var_6;
      return (type_7)var_6;
    }
                    /* WARNING: Subroutine does not return */
    var_11("../../gold/parameters.h",0x69,"target");
  }
  var_12 = (this->rel_).field_0x1b;
  if ((var_12 & 0x20) == 0) {
    if (((var_7 < 0xfffffffe) && (var_7 != 0xfffffffc)) && ((var_12 & 0x40) != 0)) {
      var_4 = var_2<9,_false,_32,var_13>::var_14(&this->rel_,var_16);
      var_6 = var_4 >> 0x18 | (var_4 & 0xff0000) >> 8 | (var_4 & 0xff00) << 8 | var_4 << 0x18;
      puVar8[2] = var_6;
      return (type_7)var_6;
    }
  }
  else {
    var_16 = var_2<9,_false,_32,var_13>::var_15(&this->rel_,var_16);
  }
  var_6 = var_16 >> 0x18 | (var_16 & 0xff0000) >> 8 | (var_16 & 0xff00) << 8 | var_16 << 0x18;
  puVar8[2] = var_6;
  return (type_7)var_6;
}


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

void MASKED(undefined8 *param_1,uint *param_2)

{
  uint uVar1;
  long *plVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  
  uVar3 = FUN_00229470();
  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
  iVar4 = FUN_00201350(param_1);
  uVar3 = *(uint *)(param_1 + 3);
  uVar6 = uVar3 & 0xff;
  uVar5 = iVar4 * 0x100 + uVar6;
  uVar1 = *(uint *)((long)param_1 + 0x14);
  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;
  uVar5 = *(uint *)(param_1 + 4);
  if (uVar1 == 0xfffffffd) {
    plVar2 = *(long **)(PTR_DAT_0043e6b0 + 0x18);
    if (plVar2 != (long *)0x0) {
      uVar3 = (**(code **)(*plVar2 + 0x60))(plVar2,*param_1,uVar3 & 0xfffffff,uVar5);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/parameters.h",0x69,"target");
  }
  if ((*(byte *)((long)param_1 + 0x1b) & 0x20) == 0) {
    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&
       ((*(byte *)((long)param_1 + 0x1b) & 0x40) != 0)) {
      uVar3 = FUN_002292e0(param_1,uVar5);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
  }
  else {
    uVar5 = FUN_00201080(param_1,uVar5);
  }
  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
  return;
}

