
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3
anon_unknown.dwarf_d7d43e::Mips_relocate_functions<32,_true>::mips_reloc_unshuffle
          (uchar *view,uint r_type,bool jal_shuffle)

{
  uint uVar1;
  ushort uVar2;
  uint uVar3;
  ushort uVar4;
  uint local_18;
  
  if (0xc < r_type - 100) {
    switch(r_type - 0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      if (r_type - 0x8b < 2) {
        return;
      }
      break;
    default:
      goto _L3686;
    }
    uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;
    uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;
    uVar3 = (uint)uVar2;
    local_18 = uVar3 << 0x10;
    uVar1 = (uint)uVar4;
    switch(r_type - 0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      goto _L3692;
    default:
      local_18 = uVar3 << 0x10;
      goto LAB_0017b660;
    }
  }
  uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;
  uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;
  uVar3 = (uint)uVar2;
  local_18 = uVar3 << 0x10;
  uVar1 = (uint)uVar4;
  if (r_type == 100) {
_L3692:
    uVar1 = uVar1 | local_18;
  }
  else {
LAB_0017b660:
    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |
            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);
  }
  *(uint *)view = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
_L3686:
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 FUN_0017b5a0(uint *param_1,int param_2)

{
  uint uVar1;
  ushort uVar2;
  uint uVar3;
  ushort uVar4;
  uint local_18;
  
  if (0xc < param_2 - 100U) {
    switch(param_2 + -0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      if (param_2 - 0x8bU < 2) {
        return;
      }
      break;
    default:
      goto LAB_0017b5e7;
    }
    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;
    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;
    uVar3 = (uint)uVar2;
    local_18 = uVar3 << 0x10;
    uVar1 = (uint)uVar4;
    switch(param_2 + -0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      goto code_r0x0017b5e0;
    default:
      local_18 = uVar3 << 0x10;
      goto LAB_0017b660;
    }
  }
  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;
  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;
  uVar3 = (uint)uVar2;
  local_18 = uVar3 << 0x10;
  uVar1 = (uint)uVar4;
  if (param_2 == 100) {
code_r0x0017b5e0:
    uVar1 = uVar1 | local_18;
  }
  else {
LAB_0017b660:
    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |
            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);
  }
  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
LAB_0017b5e7:
  return;
}


PUSH EBP
LEA ECX,[EDX + -0x64]
PUSH EDI
PUSH ESI
CALL 0x00063c76
ADD ESI,0x46ea55
PUSH EBX
SUB ESP,0x8
CMP ECX,0xc
JA 0x0017b5f0
MOVZX EBX,word ptr [EAX]
MOVZX EDI,word ptr [EAX + 0x2]
ROL BX,0x8
ROL DI,0x8
MOVZX ESI,BX
MOV ECX,ESI
SHL ECX,0x10
MOV dword ptr [ESP],ECX
MOVZX ECX,DI
CMP EDX,0x64
JNZ 0x0017b660
OR ECX,dword ptr [ESP]
BSWAP ECX
MOV dword ptr [EAX],ECX
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBP,[EDX + 0xffffff7b]
CMP EBP,0x28
JA 0x0017b5e7
MOV ECX,dword ptr [ESI + EBP*0x4 + 0xffe88aa0]
ADD ECX,ESI
JMP ECX
MOV EDX,dword ptr [ESP]
SHL ECX,0xb
SHL ESI,0xb
AND BX,0x7e0
AND ECX,0x7ff0000
AND EDI,0x1f
MOVZX ESI,SI
AND EDX,0xf8000000
OR EBX,EDI
OR ECX,EDX
MOVZX EBX,BX
OR ECX,ESI
OR ECX,EBX
JMP 0x0017b5e3
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 FUN_0017b5a0(uint *param_1,int param_2)\n\n{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0017b5a0(uint *param_1,int param_2)\n\n{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0017b5a0(uint *param_1,int param_2)" identifier (parameter_list "(uint *param_1,int param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "uint local_18;" type_identifier identifier ;) (if_statement "if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" if (parenthesized_expression "(0xc < param_2 - 100U)" ( (binary_expression "0xc < param_2 - 100U" number_literal < (binary_expression "param_2 - 100U" identifier - number_literal)) )) (compound_statement "{\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" { (switch_statement "switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }" switch (parenthesized_expression "(param_2 + -0x85)" ( (binary_expression "param_2 + -0x85" identifier + number_literal) )) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:" case number_literal :) (case_statement "case 0xf:" case number_literal :) (case_statement "case 0x10:" case number_literal :) (case_statement "case 0x11:" case number_literal :) (case_statement "case 0x12:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:" case number_literal :) (case_statement "case 0x1d:" case number_literal :) (case_statement "case 0x1e:" case number_literal :) (case_statement "case 0x1f:" case number_literal :) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x21:" case number_literal :) (case_statement "case 0x24:" case number_literal :) (case_statement "case 0x25:" case number_literal :) (case_statement "case 0x27:" case number_literal :) (case_statement "case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;" case number_literal : (if_statement "if (param_2 - 0x8bU < 2) {\n        return;\n      }" if (parenthesized_expression "(param_2 - 0x8bU < 2)" ( (binary_expression "param_2 - 0x8bU < 2" (binary_expression "param_2 - 0x8bU" identifier - number_literal) < number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (break_statement "break;" break ;)) (case_statement "default:\n      goto LAB_0017b5e7;" default : (goto_statement "goto LAB_0017b5e7;" goto statement_identifier ;)) })) (expression_statement "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;" (assignment_expression "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8" identifier = (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) << number_literal) | (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) >> number_literal))) ;) (expression_statement "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" identifier = (binary_expression "*(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (binary_expression "*(ushort *)((int)param_1 + 2) << 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)((int)param_1 + 2) >> 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal))) ;) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (switch_statement "switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" switch (parenthesized_expression "(param_2 + -0x85)" ( (binary_expression "param_2 + -0x85" identifier + number_literal) )) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:" case number_literal :) (case_statement "case 0xf:" case number_literal :) (case_statement "case 0x10:" case number_literal :) (case_statement "case 0x11:" case number_literal :) (case_statement "case 0x12:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:" case number_literal :) (case_statement "case 0x1d:" case number_literal :) (case_statement "case 0x1e:" case number_literal :) (case_statement "case 0x1f:" case number_literal :) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x21:" case number_literal :) (case_statement "case 0x24:" case number_literal :) (case_statement "case 0x25:" case number_literal :) (case_statement "case 0x27:" case number_literal :) (case_statement "case 0x28:\n      goto code_r0x0017b5e0;" case number_literal : (goto_statement "goto code_r0x0017b5e0;" goto statement_identifier ;)) (case_statement "default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;" default : (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (goto_statement "goto LAB_0017b660;" goto statement_identifier ;)) })) })) (expression_statement "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;" (assignment_expression "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8" identifier = (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) << number_literal) | (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) >> number_literal))) ;) (expression_statement "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" identifier = (binary_expression "*(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (binary_expression "*(ushort *)((int)param_1 + 2) << 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)((int)param_1 + 2) >> 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal))) ;) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" if (parenthesized_expression "(param_2 == 100)" ( (binary_expression "param_2 == 100" identifier == number_literal) )) (compound_statement "{\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }" { (labeled_statement "code_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;" statement_identifier : (expression_statement "uVar1 = uVar1 | local_18;" (assignment_expression "uVar1 = uVar1 | local_18" identifier = (binary_expression "uVar1 | local_18" identifier | identifier)) ;)) }) (else_clause "else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" else (compound_statement "{\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" { (labeled_statement "LAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" statement_identifier : (expression_statement "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" (assignment_expression "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" identifier = (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000" (binary_expression "(uVar1 & 0xffe0) << 0xb" (parenthesized_expression "(uVar1 & 0xffe0)" ( (binary_expression "uVar1 & 0xffe0" identifier & number_literal) )) << number_literal) | (binary_expression "local_18 & 0xf8000000" identifier & number_literal)) | (binary_expression "(uVar3 & 0x1f) << 0xb" (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )) << number_literal)) | (call_expression "(uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 & 0x7e0 | uVar4 & 0x1f)" ( (binary_expression "uVar2 & 0x7e0 | uVar4 & 0x1f" (binary_expression "uVar2 & 0x7e0" identifier & number_literal) | (binary_expression "uVar4 & 0x1f" identifier & number_literal)) ))))) ;)) }))) (expression_statement "*param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (labeled_statement "LAB_0017b5e7:\n  return;" statement_identifier : (return_statement "return;" return ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3\nanon_unknown.dwarf_d7d43e::Mips_relocate_functions<32,_true>::mips_reloc_unshuffle\n          (uchar *view,uint r_type,bool jal_shuffle)\n\n{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < r_type - 100) {\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (r_type - 0x8b < 2) {\n        return;\n      }\n      break;\n    default:\n      goto _L3686;\n    }\n    uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;\n    uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto _L3692;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;\n  uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (r_type == 100) {\n_L3692:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *(uint *)view = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n_L3686:\n  return;\n}\n\n" comment (declaration "void __regparm3" primitive_type identifier ;) (ERROR "anon_unknown.dwarf_d7d43e::Mips_relocate_functions<32,_true>::mips_reloc_unshuffle\n          (uchar *view,uint r_type,bool jal_shuffle)" (binary_expression "anon_unknown.dwarf_d7d43e::Mips_relocate_functions<32,_true>::mips_reloc_unshuffle\n          (uchar *view,uint r_type,bool jal_shuffle)" (binary_expression "anon_unknown.dwarf_d7d43e::Mips_relocate_functions<32" (field_expression "anon_unknown.dwarf_d7d43e" identifier . field_identifier) (ERROR "::Mips_relocate_functions" : : identifier) < number_literal) (ERROR ",_true" , identifier) > (ERROR "::" : :) (call_expression "mips_reloc_unshuffle\n          (uchar *view,uint r_type,bool jal_shuffle)" identifier (argument_list "(uchar *view,uint r_type,bool jal_shuffle)" ( (binary_expression "uchar *view" identifier * identifier) , (ERROR "uint" identifier) identifier , (ERROR "bool" identifier) identifier ))))) (compound_statement "{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < r_type - 100) {\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (r_type - 0x8b < 2) {\n        return;\n      }\n      break;\n    default:\n      goto _L3686;\n    }\n    uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;\n    uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto _L3692;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;\n  uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (r_type == 100) {\n_L3692:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *(uint *)view = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n_L3686:\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "uint local_18;" type_identifier identifier ;) (if_statement "if (0xc < r_type - 100) {\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (r_type - 0x8b < 2) {\n        return;\n      }\n      break;\n    default:\n      goto _L3686;\n    }\n    uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;\n    uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto _L3692;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" if (parenthesized_expression "(0xc < r_type - 100)" ( (binary_expression "0xc < r_type - 100" number_literal < (binary_expression "r_type - 100" identifier - number_literal)) )) (compound_statement "{\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (r_type - 0x8b < 2) {\n        return;\n      }\n      break;\n    default:\n      goto _L3686;\n    }\n    uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;\n    uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto _L3692;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" { (switch_statement "switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (r_type - 0x8b < 2) {\n        return;\n      }\n      break;\n    default:\n      goto _L3686;\n    }" switch (parenthesized_expression "(r_type - 0x85)" ( (binary_expression "r_type - 0x85" identifier - number_literal) )) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (r_type - 0x8b < 2) {\n        return;\n      }\n      break;\n    default:\n      goto _L3686;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:" case number_literal :) (case_statement "case 0xf:" case number_literal :) (case_statement "case 0x10:" case number_literal :) (case_statement "case 0x11:" case number_literal :) (case_statement "case 0x12:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:" case number_literal :) (case_statement "case 0x1d:" case number_literal :) (case_statement "case 0x1e:" case number_literal :) (case_statement "case 0x1f:" case number_literal :) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x21:" case number_literal :) (case_statement "case 0x24:" case number_literal :) (case_statement "case 0x25:" case number_literal :) (case_statement "case 0x27:" case number_literal :) (case_statement "case 0x28:\n      if (r_type - 0x8b < 2) {\n        return;\n      }\n      break;" case number_literal : (if_statement "if (r_type - 0x8b < 2) {\n        return;\n      }" if (parenthesized_expression "(r_type - 0x8b < 2)" ( (binary_expression "r_type - 0x8b < 2" (binary_expression "r_type - 0x8b" identifier - number_literal) < number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (break_statement "break;" break ;)) (case_statement "default:\n      goto _L3686;" default : (goto_statement "goto _L3686;" goto statement_identifier ;)) })) (expression_statement "uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;" (assignment_expression "uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8" identifier = (binary_expression "*(ushort *)view << 8 | *(ushort *)view >> 8" (binary_expression "*(ushort *)view << 8" (pointer_expression "*(ushort *)view" * (cast_expression "(ushort *)view" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) << number_literal) | (binary_expression "*(ushort *)view >> 8" (pointer_expression "*(ushort *)view" * (cast_expression "(ushort *)view" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) >> number_literal))) ;) (expression_statement "uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8" identifier = (binary_expression "*(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8" (binary_expression "*(ushort *)(view + 2) << 8" (pointer_expression "*(ushort *)(view + 2)" * (cast_expression "(ushort *)(view + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 2)" ( (binary_expression "view + 2" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(view + 2) >> 8" (pointer_expression "*(ushort *)(view + 2)" * (cast_expression "(ushort *)(view + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 2)" ( (binary_expression "view + 2" identifier + number_literal) )))) >> number_literal))) ;) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (switch_statement "switch(r_type - 0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto _L3692;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" switch (parenthesized_expression "(r_type - 0x85)" ( (binary_expression "r_type - 0x85" identifier - number_literal) )) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto _L3692;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:" case number_literal :) (case_statement "case 0xf:" case number_literal :) (case_statement "case 0x10:" case number_literal :) (case_statement "case 0x11:" case number_literal :) (case_statement "case 0x12:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:" case number_literal :) (case_statement "case 0x1d:" case number_literal :) (case_statement "case 0x1e:" case number_literal :) (case_statement "case 0x1f:" case number_literal :) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x21:" case number_literal :) (case_statement "case 0x24:" case number_literal :) (case_statement "case 0x25:" case number_literal :) (case_statement "case 0x27:" case number_literal :) (case_statement "case 0x28:\n      goto _L3692;" case number_literal : (goto_statement "goto _L3692;" goto statement_identifier ;)) (case_statement "default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;" default : (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (goto_statement "goto LAB_0017b660;" goto statement_identifier ;)) })) })) (expression_statement "uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8;" (assignment_expression "uVar2 = *(ushort *)view << 8 | *(ushort *)view >> 8" identifier = (binary_expression "*(ushort *)view << 8 | *(ushort *)view >> 8" (binary_expression "*(ushort *)view << 8" (pointer_expression "*(ushort *)view" * (cast_expression "(ushort *)view" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) << number_literal) | (binary_expression "*(ushort *)view >> 8" (pointer_expression "*(ushort *)view" * (cast_expression "(ushort *)view" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) >> number_literal))) ;) (expression_statement "uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8" identifier = (binary_expression "*(ushort *)(view + 2) << 8 | *(ushort *)(view + 2) >> 8" (binary_expression "*(ushort *)(view + 2) << 8" (pointer_expression "*(ushort *)(view + 2)" * (cast_expression "(ushort *)(view + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 2)" ( (binary_expression "view + 2" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(view + 2) >> 8" (pointer_expression "*(ushort *)(view + 2)" * (cast_expression "(ushort *)(view + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 2)" ( (binary_expression "view + 2" identifier + number_literal) )))) >> number_literal))) ;) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (r_type == 100) {\n_L3692:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" if (parenthesized_expression "(r_type == 100)" ( (binary_expression "r_type == 100" identifier == number_literal) )) (compound_statement "{\n_L3692:\n    uVar1 = uVar1 | local_18;\n  }" { (labeled_statement "_L3692:\n    uVar1 = uVar1 | local_18;" statement_identifier : (expression_statement "uVar1 = uVar1 | local_18;" (assignment_expression "uVar1 = uVar1 | local_18" identifier = (binary_expression "uVar1 | local_18" identifier | identifier)) ;)) }) (else_clause "else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" else (compound_statement "{\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" { (labeled_statement "LAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" statement_identifier : (expression_statement "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" (assignment_expression "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" identifier = (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000" (binary_expression "(uVar1 & 0xffe0) << 0xb" (parenthesized_expression "(uVar1 & 0xffe0)" ( (binary_expression "uVar1 & 0xffe0" identifier & number_literal) )) << number_literal) | (binary_expression "local_18 & 0xf8000000" identifier & number_literal)) | (binary_expression "(uVar3 & 0x1f) << 0xb" (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )) << number_literal)) | (call_expression "(uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 & 0x7e0 | uVar4 & 0x1f)" ( (binary_expression "uVar2 & 0x7e0 | uVar4 & 0x1f" (binary_expression "uVar2 & 0x7e0" identifier & number_literal) | (binary_expression "uVar4 & 0x1f" identifier & number_literal)) ))))) ;)) }))) (expression_statement "*(uint *)view = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*(uint *)view = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*(uint *)view" * (cast_expression "(uint *)view" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (labeled_statement "_L3686:\n  return;" statement_identifier : (return_statement "return;" return ;)) }))
(translation_unit "void __regparm3 FUN_0017b5a0(uint *param_1,int param_2)\n\n{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0017b5a0(uint *param_1,int param_2)\n\n{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0017b5a0(uint *param_1,int param_2)" identifier (parameter_list "(uint *param_1,int param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "uint local_18;" type_identifier identifier ;) (if_statement "if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" if (parenthesized_expression "(0xc < param_2 - 100U)" ( (binary_expression "0xc < param_2 - 100U" number_literal < (binary_expression "param_2 - 100U" identifier - number_literal)) )) (compound_statement "{\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" { (switch_statement "switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }" switch (parenthesized_expression "(param_2 + -0x85)" ( (binary_expression "param_2 + -0x85" identifier + number_literal) )) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:" case number_literal :) (case_statement "case 0xf:" case number_literal :) (case_statement "case 0x10:" case number_literal :) (case_statement "case 0x11:" case number_literal :) (case_statement "case 0x12:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:" case number_literal :) (case_statement "case 0x1d:" case number_literal :) (case_statement "case 0x1e:" case number_literal :) (case_statement "case 0x1f:" case number_literal :) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x21:" case number_literal :) (case_statement "case 0x24:" case number_literal :) (case_statement "case 0x25:" case number_literal :) (case_statement "case 0x27:" case number_literal :) (case_statement "case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;" case number_literal : (if_statement "if (param_2 - 0x8bU < 2) {\n        return;\n      }" if (parenthesized_expression "(param_2 - 0x8bU < 2)" ( (binary_expression "param_2 - 0x8bU < 2" (binary_expression "param_2 - 0x8bU" identifier - number_literal) < number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (break_statement "break;" break ;)) (case_statement "default:\n      goto LAB_0017b5e7;" default : (goto_statement "goto LAB_0017b5e7;" goto statement_identifier ;)) })) (expression_statement "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;" (assignment_expression "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8" identifier = (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) << number_literal) | (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) >> number_literal))) ;) (expression_statement "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" identifier = (binary_expression "*(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (binary_expression "*(ushort *)((int)param_1 + 2) << 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)((int)param_1 + 2) >> 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal))) ;) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (switch_statement "switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" switch (parenthesized_expression "(param_2 + -0x85)" ( (binary_expression "param_2 + -0x85" identifier + number_literal) )) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:" case number_literal :) (case_statement "case 0xf:" case number_literal :) (case_statement "case 0x10:" case number_literal :) (case_statement "case 0x11:" case number_literal :) (case_statement "case 0x12:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:" case number_literal :) (case_statement "case 0x1d:" case number_literal :) (case_statement "case 0x1e:" case number_literal :) (case_statement "case 0x1f:" case number_literal :) (case_statement "case 0x20:" case number_literal :) (case_statement "case 0x21:" case number_literal :) (case_statement "case 0x24:" case number_literal :) (case_statement "case 0x25:" case number_literal :) (case_statement "case 0x27:" case number_literal :) (case_statement "case 0x28:\n      goto code_r0x0017b5e0;" case number_literal : (goto_statement "goto code_r0x0017b5e0;" goto statement_identifier ;)) (case_statement "default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;" default : (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (goto_statement "goto LAB_0017b660;" goto statement_identifier ;)) })) })) (expression_statement "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;" (assignment_expression "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8" identifier = (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) << number_literal) | (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) >> number_literal))) ;) (expression_statement "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" identifier = (binary_expression "*(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (binary_expression "*(ushort *)((int)param_1 + 2) << 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)((int)param_1 + 2) >> 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" * (cast_expression "(ushort *)((int)param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal))) ;) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" identifier = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" identifier = (binary_expression "uVar3 << 0x10" identifier << number_literal)) ;) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" if (parenthesized_expression "(param_2 == 100)" ( (binary_expression "param_2 == 100" identifier == number_literal) )) (compound_statement "{\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }" { (labeled_statement "code_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;" statement_identifier : (expression_statement "uVar1 = uVar1 | local_18;" (assignment_expression "uVar1 = uVar1 | local_18" identifier = (binary_expression "uVar1 | local_18" identifier | identifier)) ;)) }) (else_clause "else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" else (compound_statement "{\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" { (labeled_statement "LAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" statement_identifier : (expression_statement "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" (assignment_expression "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" identifier = (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000" (binary_expression "(uVar1 & 0xffe0) << 0xb" (parenthesized_expression "(uVar1 & 0xffe0)" ( (binary_expression "uVar1 & 0xffe0" identifier & number_literal) )) << number_literal) | (binary_expression "local_18 & 0xf8000000" identifier & number_literal)) | (binary_expression "(uVar3 & 0x1f) << 0xb" (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )) << number_literal)) | (call_expression "(uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 & 0x7e0 | uVar4 & 0x1f)" ( (binary_expression "uVar2 & 0x7e0 | uVar4 & 0x1f" (binary_expression "uVar2 & 0x7e0" identifier & number_literal) | (binary_expression "uVar4 & 0x1f" identifier & number_literal)) ))))) ;)) }))) (expression_statement "*param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (labeled_statement "LAB_0017b5e7:\n  return;" statement_identifier : (return_statement "return;" return ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (compound_statement { (switch_statement switch (parenthesized_expression ( (binary_expression IDENT + LIT) )) (compound_statement { (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (return_statement return ;) })) (break_statement break ;)) (case_statement default : (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) << LIT) | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) >> LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (switch_statement switch (parenthesized_expression ( (binary_expression IDENT + LIT) )) (compound_statement { (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (goto_statement goto statement_identifier ;)) (case_statement default : (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (goto_statement goto statement_identifier ;)) })) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) << LIT) | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) >> LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (binary_expression IDENT & LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT & LIT) | (binary_expression IDENT & LIT)) ))))) ;)) }))) (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))) ;) (labeled_statement statement_identifier : (return_statement return ;)) })))
(function_definition "void __regparm3 FUN_0017b5a0(uint *param_1,int param_2)\n\n{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0017b5a0(uint *param_1,int param_2)" (identifier "FUN_0017b5a0") (parameter_list "(uint *param_1,int param_2)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  ushort uVar2;\n  uint uVar3;\n  ushort uVar4;\n  uint local_18;\n  \n  if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }\n  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n  uVar3 = (uint)uVar2;\n  local_18 = uVar3 << 0x10;\n  uVar1 = (uint)uVar4;\n  if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }\n  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\nLAB_0017b5e7:\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "ushort uVar2;" (type_identifier "ushort") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "ushort uVar4;" (type_identifier "ushort") (identifier "uVar4") (; ";")) (declaration "uint local_18;" (type_identifier "uint") (identifier "local_18") (; ";")) (if_statement "if (0xc < param_2 - 100U) {\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" (if "if") (parenthesized_expression "(0xc < param_2 - 100U)" (( "(") (binary_expression "0xc < param_2 - 100U" (number_literal "0xc") (< "<") (binary_expression "param_2 - 100U" (identifier "param_2") (- "-") (number_literal "100U"))) () ")")) (compound_statement "{\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }\n    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;\n    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;\n    uVar3 = (uint)uVar2;\n    local_18 = uVar3 << 0x10;\n    uVar1 = (uint)uVar4;\n    switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }\n  }" ({ "{") (switch_statement "switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }" (switch "switch") (parenthesized_expression "(param_2 + -0x85)" (( "(") (binary_expression "param_2 + -0x85" (identifier "param_2") (+ "+") (number_literal "-0x85")) () ")")) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;\n    default:\n      goto LAB_0017b5e7;\n    }" ({ "{") (case_statement "case 0:" (case "case") (number_literal "0") (: ":")) (case_statement "case 1:" (case "case") (number_literal "1") (: ":")) (case_statement "case 2:" (case "case") (number_literal "2") (: ":")) (case_statement "case 3:" (case "case") (number_literal "3") (: ":")) (case_statement "case 4:" (case "case") (number_literal "4") (: ":")) (case_statement "case 5:" (case "case") (number_literal "5") (: ":")) (case_statement "case 6:" (case "case") (number_literal "6") (: ":")) (case_statement "case 7:" (case "case") (number_literal "7") (: ":")) (case_statement "case 8:" (case "case") (number_literal "8") (: ":")) (case_statement "case 9:" (case "case") (number_literal "9") (: ":")) (case_statement "case 0xc:" (case "case") (number_literal "0xc") (: ":")) (case_statement "case 0xd:" (case "case") (number_literal "0xd") (: ":")) (case_statement "case 0xe:" (case "case") (number_literal "0xe") (: ":")) (case_statement "case 0xf:" (case "case") (number_literal "0xf") (: ":")) (case_statement "case 0x10:" (case "case") (number_literal "0x10") (: ":")) (case_statement "case 0x11:" (case "case") (number_literal "0x11") (: ":")) (case_statement "case 0x12:" (case "case") (number_literal "0x12") (: ":")) (case_statement "case 0x13:" (case "case") (number_literal "0x13") (: ":")) (case_statement "case 0x14:" (case "case") (number_literal "0x14") (: ":")) (case_statement "case 0x15:" (case "case") (number_literal "0x15") (: ":")) (case_statement "case 0x16:" (case "case") (number_literal "0x16") (: ":")) (case_statement "case 0x17:" (case "case") (number_literal "0x17") (: ":")) (case_statement "case 0x18:" (case "case") (number_literal "0x18") (: ":")) (case_statement "case 0x1d:" (case "case") (number_literal "0x1d") (: ":")) (case_statement "case 0x1e:" (case "case") (number_literal "0x1e") (: ":")) (case_statement "case 0x1f:" (case "case") (number_literal "0x1f") (: ":")) (case_statement "case 0x20:" (case "case") (number_literal "0x20") (: ":")) (case_statement "case 0x21:" (case "case") (number_literal "0x21") (: ":")) (case_statement "case 0x24:" (case "case") (number_literal "0x24") (: ":")) (case_statement "case 0x25:" (case "case") (number_literal "0x25") (: ":")) (case_statement "case 0x27:" (case "case") (number_literal "0x27") (: ":")) (case_statement "case 0x28:\n      if (param_2 - 0x8bU < 2) {\n        return;\n      }\n      break;" (case "case") (number_literal "0x28") (: ":") (if_statement "if (param_2 - 0x8bU < 2) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 - 0x8bU < 2)" (( "(") (binary_expression "param_2 - 0x8bU < 2" (binary_expression "param_2 - 0x8bU" (identifier "param_2") (- "-") (number_literal "0x8bU")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "default:\n      goto LAB_0017b5e7;" (default "default") (: ":") (goto_statement "goto LAB_0017b5e7;" (goto "goto") (statement_identifier "LAB_0017b5e7") (; ";"))) (} "}"))) (expression_statement "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;" (assignment_expression "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (identifier "uVar2") (= "=") (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (* "*") (identifier "param_1")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (* "*") (identifier "param_1")) (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (identifier "uVar4") (= "=") (binary_expression "*(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (binary_expression "*(ushort *)((int)param_1 + 2) << 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" (* "*") (cast_expression "(ushort *)((int)param_1 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 2)" (( "(") (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "2")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)((int)param_1 + 2) >> 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" (* "*") (cast_expression "(ushort *)((int)param_1 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 2)" (( "(") (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "2")) () ")")))) (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" (identifier "uVar3") (= "=") (cast_expression "(uint)uVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar2"))) (; ";")) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" (identifier "local_18") (= "=") (binary_expression "uVar3 << 0x10" (identifier "uVar3") (<< "<<") (number_literal "0x10"))) (; ";")) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" (identifier "uVar1") (= "=") (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4"))) (; ";")) (switch_statement "switch(param_2 + -0x85) {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" (switch "switch") (parenthesized_expression "(param_2 + -0x85)" (( "(") (binary_expression "param_2 + -0x85" (identifier "param_2") (+ "+") (number_literal "-0x85")) () ")")) (compound_statement "{\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 0xc:\n    case 0xd:\n    case 0xe:\n    case 0xf:\n    case 0x10:\n    case 0x11:\n    case 0x12:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n    case 0x1d:\n    case 0x1e:\n    case 0x1f:\n    case 0x20:\n    case 0x21:\n    case 0x24:\n    case 0x25:\n    case 0x27:\n    case 0x28:\n      goto code_r0x0017b5e0;\n    default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;\n    }" ({ "{") (case_statement "case 0:" (case "case") (number_literal "0") (: ":")) (case_statement "case 1:" (case "case") (number_literal "1") (: ":")) (case_statement "case 2:" (case "case") (number_literal "2") (: ":")) (case_statement "case 3:" (case "case") (number_literal "3") (: ":")) (case_statement "case 4:" (case "case") (number_literal "4") (: ":")) (case_statement "case 5:" (case "case") (number_literal "5") (: ":")) (case_statement "case 6:" (case "case") (number_literal "6") (: ":")) (case_statement "case 7:" (case "case") (number_literal "7") (: ":")) (case_statement "case 8:" (case "case") (number_literal "8") (: ":")) (case_statement "case 9:" (case "case") (number_literal "9") (: ":")) (case_statement "case 0xc:" (case "case") (number_literal "0xc") (: ":")) (case_statement "case 0xd:" (case "case") (number_literal "0xd") (: ":")) (case_statement "case 0xe:" (case "case") (number_literal "0xe") (: ":")) (case_statement "case 0xf:" (case "case") (number_literal "0xf") (: ":")) (case_statement "case 0x10:" (case "case") (number_literal "0x10") (: ":")) (case_statement "case 0x11:" (case "case") (number_literal "0x11") (: ":")) (case_statement "case 0x12:" (case "case") (number_literal "0x12") (: ":")) (case_statement "case 0x13:" (case "case") (number_literal "0x13") (: ":")) (case_statement "case 0x14:" (case "case") (number_literal "0x14") (: ":")) (case_statement "case 0x15:" (case "case") (number_literal "0x15") (: ":")) (case_statement "case 0x16:" (case "case") (number_literal "0x16") (: ":")) (case_statement "case 0x17:" (case "case") (number_literal "0x17") (: ":")) (case_statement "case 0x18:" (case "case") (number_literal "0x18") (: ":")) (case_statement "case 0x1d:" (case "case") (number_literal "0x1d") (: ":")) (case_statement "case 0x1e:" (case "case") (number_literal "0x1e") (: ":")) (case_statement "case 0x1f:" (case "case") (number_literal "0x1f") (: ":")) (case_statement "case 0x20:" (case "case") (number_literal "0x20") (: ":")) (case_statement "case 0x21:" (case "case") (number_literal "0x21") (: ":")) (case_statement "case 0x24:" (case "case") (number_literal "0x24") (: ":")) (case_statement "case 0x25:" (case "case") (number_literal "0x25") (: ":")) (case_statement "case 0x27:" (case "case") (number_literal "0x27") (: ":")) (case_statement "case 0x28:\n      goto code_r0x0017b5e0;" (case "case") (number_literal "0x28") (: ":") (goto_statement "goto code_r0x0017b5e0;" (goto "goto") (statement_identifier "code_r0x0017b5e0") (; ";"))) (case_statement "default:\n      local_18 = uVar3 << 0x10;\n      goto LAB_0017b660;" (default "default") (: ":") (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" (identifier "local_18") (= "=") (binary_expression "uVar3 << 0x10" (identifier "uVar3") (<< "<<") (number_literal "0x10"))) (; ";")) (goto_statement "goto LAB_0017b660;" (goto "goto") (statement_identifier "LAB_0017b660") (; ";"))) (} "}"))) (} "}"))) (expression_statement "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;" (assignment_expression "uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (identifier "uVar2") (= "=") (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (* "*") (identifier "param_1")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (* "*") (identifier "param_1")) (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;" (assignment_expression "uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (identifier "uVar4") (= "=") (binary_expression "*(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8" (binary_expression "*(ushort *)((int)param_1 + 2) << 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" (* "*") (cast_expression "(ushort *)((int)param_1 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 2)" (( "(") (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "2")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)((int)param_1 + 2) >> 8" (pointer_expression "*(ushort *)((int)param_1 + 2)" (* "*") (cast_expression "(ushort *)((int)param_1 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 2)" (( "(") (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "2")) () ")")))) (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "uVar3 = (uint)uVar2;" (assignment_expression "uVar3 = (uint)uVar2" (identifier "uVar3") (= "=") (cast_expression "(uint)uVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar2"))) (; ";")) (expression_statement "local_18 = uVar3 << 0x10;" (assignment_expression "local_18 = uVar3 << 0x10" (identifier "local_18") (= "=") (binary_expression "uVar3 << 0x10" (identifier "uVar3") (<< "<<") (number_literal "0x10"))) (; ";")) (expression_statement "uVar1 = (uint)uVar4;" (assignment_expression "uVar1 = (uint)uVar4" (identifier "uVar1") (= "=") (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4"))) (; ";")) (if_statement "if (param_2 == 100) {\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }\n  else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" (if "if") (parenthesized_expression "(param_2 == 100)" (( "(") (binary_expression "param_2 == 100" (identifier "param_2") (== "==") (number_literal "100")) () ")")) (compound_statement "{\ncode_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;\n  }" ({ "{") (labeled_statement "code_r0x0017b5e0:\n    uVar1 = uVar1 | local_18;" (statement_identifier "code_r0x0017b5e0") (: ":") (expression_statement "uVar1 = uVar1 | local_18;" (assignment_expression "uVar1 = uVar1 | local_18" (identifier "uVar1") (= "=") (binary_expression "uVar1 | local_18" (identifier "uVar1") (| "|") (identifier "local_18"))) (; ";"))) (} "}")) (else_clause "else {\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" (else "else") (compound_statement "{\nLAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);\n  }" ({ "{") (labeled_statement "LAB_0017b660:\n    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" (statement_identifier "LAB_0017b660") (: ":") (expression_statement "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);" (assignment_expression "uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (identifier "uVar1") (= "=") (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |\n            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb" (binary_expression "(uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000" (binary_expression "(uVar1 & 0xffe0) << 0xb" (parenthesized_expression "(uVar1 & 0xffe0)" (( "(") (binary_expression "uVar1 & 0xffe0" (identifier "uVar1") (& "&") (number_literal "0xffe0")) () ")")) (<< "<<") (number_literal "0xb")) (| "|") (binary_expression "local_18 & 0xf8000000" (identifier "local_18") (& "&") (number_literal "0xf8000000"))) (| "|") (binary_expression "(uVar3 & 0x1f) << 0xb" (parenthesized_expression "(uVar3 & 0x1f)" (( "(") (binary_expression "uVar3 & 0x1f" (identifier "uVar3") (& "&") (number_literal "0x1f")) () ")")) (<< "<<") (number_literal "0xb"))) (| "|") (call_expression "(uint)(uVar2 & 0x7e0 | uVar4 & 0x1f)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 & 0x7e0 | uVar4 & 0x1f)" (( "(") (binary_expression "uVar2 & 0x7e0 | uVar4 & 0x1f" (binary_expression "uVar2 & 0x7e0" (identifier "uVar2") (& "&") (number_literal "0x7e0")) (| "|") (binary_expression "uVar4 & 0x1f" (identifier "uVar4") (& "&") (number_literal "0x1f"))) () ")"))))) (; ";"))) (} "}")))) (expression_statement "*param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (labeled_statement "LAB_0017b5e7:\n  return;" (statement_identifier "LAB_0017b5e7") (: ":") (return_statement "return;" (return "return") (; ";"))) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3
anon_unknown.dwarf_d7d43e::Mips_relocate_functions<32,_true>::mips_reloc_unshuffle
          (uchar *var_2,type_1 var_1,bool jal_shuffle)

{
  type_1 var_4;
  type_2 var_6;
  type_1 var_3;
  type_2 var_7;
  type_1 var_5;
  
  if (0xc < var_1 - 100) {
    switch(var_1 - 0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      if (var_1 - 0x8b < 2) {
        return;
      }
      break;
    default:
      goto _L3686;
    }
    var_6 = *(type_2 *)var_2 << 8 | *(type_2 *)var_2 >> 8;
    var_7 = *(type_2 *)(var_2 + 2) << 8 | *(type_2 *)(var_2 + 2) >> 8;
    var_3 = (type_1)var_6;
    var_5 = var_3 << 0x10;
    var_4 = (type_1)var_7;
    switch(var_1 - 0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      goto _L3692;
    default:
      var_5 = var_3 << 0x10;
      goto LAB_0017b660;
    }
  }
  var_6 = *(type_2 *)var_2 << 8 | *(type_2 *)var_2 >> 8;
  var_7 = *(type_2 *)(var_2 + 2) << 8 | *(type_2 *)(var_2 + 2) >> 8;
  var_3 = (type_1)var_6;
  var_5 = var_3 << 0x10;
  var_4 = (type_1)var_7;
  if (var_1 == 100) {
_L3692:
    var_4 = var_4 | var_5;
  }
  else {
LAB_0017b660:
    var_4 = (var_4 & 0xffe0) << 0xb | var_5 & 0xf8000000 | (var_3 & 0x1f) << 0xb |
            (type_1)(var_6 & 0x7e0 | var_7 & 0x1f);
  }
  *(type_1 *)var_2 = var_4 >> 0x18 | (var_4 & 0xff0000) >> 8 | (var_4 & 0xff00) << 8 | var_4 << 0x18;
_L3686:
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (switch_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement))) (break_statement)) (case_statement (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (switch_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (goto_statement label: (statement_identifier))) (case_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))))))) (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))))) (labeled_statement label: (statement_identifier) (return_statement)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 MASKED(uint *param_1,int param_2)

{
  uint uVar1;
  ushort uVar2;
  uint uVar3;
  ushort uVar4;
  uint local_18;
  
  if (0xc < param_2 - 100U) {
    switch(param_2 + -0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      if (param_2 - 0x8bU < 2) {
        return;
      }
      break;
    default:
      goto LAB_0017b5e7;
    }
    uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;
    uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;
    uVar3 = (uint)uVar2;
    local_18 = uVar3 << 0x10;
    uVar1 = (uint)uVar4;
    switch(param_2 + -0x85) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 0xc:
    case 0xd:
    case 0xe:
    case 0xf:
    case 0x10:
    case 0x11:
    case 0x12:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
    case 0x1d:
    case 0x1e:
    case 0x1f:
    case 0x20:
    case 0x21:
    case 0x24:
    case 0x25:
    case 0x27:
    case 0x28:
      goto code_r0x0017b5e0;
    default:
      local_18 = uVar3 << 0x10;
      goto LAB_0017b660;
    }
  }
  uVar2 = (ushort)*param_1 << 8 | (ushort)*param_1 >> 8;
  uVar4 = *(ushort *)((int)param_1 + 2) << 8 | *(ushort *)((int)param_1 + 2) >> 8;
  uVar3 = (uint)uVar2;
  local_18 = uVar3 << 0x10;
  uVar1 = (uint)uVar4;
  if (param_2 == 100) {
code_r0x0017b5e0:
    uVar1 = uVar1 | local_18;
  }
  else {
LAB_0017b660:
    uVar1 = (uVar1 & 0xffe0) << 0xb | local_18 & 0xf8000000 | (uVar3 & 0x1f) << 0xb |
            (uint)(uVar2 & 0x7e0 | uVar4 & 0x1f);
  }
  *param_1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
LAB_0017b5e7:
  return;
}

