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

void __regparm3 load_const(int reg,expressionS *ep)

{
  byte bVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  char *pcVar5;
  uint uVar6;
  uint uVar7;
  int iVar8;
  expressionS upper;
  expressionS lower;
  
  uVar4 = (uint)ep->X_add_number;
  upper.X_add_symbol = ep->X_add_symbol;
  upper.X_op_symbol = ep->X_op_symbol;
  iVar8 = *(int *)((int)&ep->X_add_number + 4);
  upper._16_2_ = *(undefined2 *)&ep->field_0x10;
  upper.X_md = ep->X_md;
  lower.X_add_number._0_4_ = (int)(uVar4 << 0x14) >> 0x14;
  lower.X_add_number._4_4_ = (int)(uVar4 << 0x14) >> 0x1f;
  upper.X_add_number._0_4_ = uVar4 - (uint)lower.X_add_number;
  upper.X_add_number._4_4_ =
       (iVar8 - lower.X_add_number._4_4_) - (uint)(uVar4 < (uint)lower.X_add_number);
  lower.X_add_symbol = upper.X_add_symbol;
  lower.X_op_symbol = upper.X_op_symbol;
  lower._16_4_ = upper._16_4_;
  if (ep->field_0x10 == '\x02') {
    if ((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)) {
      iVar8 = 0;
      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||
         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,
          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {
        pcVar5 = "addiw";
        if (xlen != 0x40) {
          pcVar5 = "addi";
        }
        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);
      }
    }
    else {
      uVar6 = 0xc;
      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;
      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;
      uVar3 = (uint)upper.X_add_number >> 0xc;
      while ((uVar3 & 1) == 0) {
        uVar6 = uVar6 + 1;
        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);
        bVar1 = (byte)uVar6 & 0x1f;
        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;
        uVar2 = uVar7;
        uVar3 = uVar4;
        if ((uVar6 & 0x20) != 0) {
          uVar4 = uVar7;
          uVar2 = (int)uVar7 >> 0x1f;
          uVar3 = uVar7;
        }
      }
      upper.X_add_number._0_4_ = uVar4;
      upper.X_add_number._4_4_ = uVar2;
      load_const(reg,&upper);
      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);
      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {
        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);
      }
    }
    return;
  }
  pcVar5 = (char *)dcgettext(0,"unsupported large constant",5);
  as_bad(pcVar5);
  return;
}



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

void __regparm3 FUN_000438a0(int param_1,undefined4 *param_2)

{
  byte bVar1;
  uint uVar2;
  char *pcVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  undefined4 local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x438ab;
  uVar5 = param_2[2];
  local_30 = *param_2;
  local_2c = param_2[1];
  local_20 = param_2[4];
  local_28 = (int)(uVar5 << 0x14) >> 0x14;
  local_24 = (int)(uVar5 << 0x14) >> 0x1f;
  uVar8 = uVar5 - local_28;
  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);
  if (*(char *)(param_2 + 4) == '\x02') {
    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {
      iVar6 = 0;
      if ((iVar7 == 0 && uVar8 == 0) ||
         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,
          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {
        pcVar3 = "addiw";
        if (DAT_00074c60 != 0x40) {
          pcVar3 = "addi";
        }
        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);
      }
    }
    else {
      uVar5 = 0xc;
      uVar2 = uVar8 >> 0xc;
      while ((uVar2 & 1) == 0) {
        uVar5 = uVar5 + 1;
        bVar1 = (byte)uVar5 & 0x1f;
        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;
        if ((uVar5 & 0x20) != 0) {
          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);
        }
      }
      FUN_000438a0(uVar5);
      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);
      if (local_24 != 0 || local_28 != 0) {
        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);
      }
    }
    return;
  }
  uVar4 = dcgettext(0,"unsupported large constant",5);
  FUN_0002a430(uVar4);
  return;
}


PUSH EBP
MOV ECX,EDX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015040
ADD EBX,0x28755
SUB ESP,0x4c
MOV EDI,dword ptr [ECX + 0x8]
MOV ESI,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0x4]
MOV EBP,dword ptr [ECX + 0xc]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ECX + 0x10]
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x1c],EDX
MOV dword ptr [ESP + 0x28],EAX
MOV dword ptr [ESP + 0x3c],EAX
MOV EAX,EDI
SHL EAX,0x14
MOV dword ptr [ESP + 0x30],EDX
SAR EAX,0x14
MOV dword ptr [ESP + 0x4],EBP
CDQ
SUB EDI,EAX
MOV dword ptr [ESP + 0x18],ESI
SBB EBP,EDX
CMP byte ptr [ECX + 0x10],0x2
MOV dword ptr [ESP + 0x2c],ESI
MOV ESI,EDI
MOV dword ptr [ESP + 0x34],EAX
MOV dword ptr [ESP + 0x38],EDX
MOV dword ptr [ESP + 0x20],EDI
MOV dword ptr [ESP + 0x24],EBP
JNZ 0x00043a50
MOV EAX,dword ptr [EBX + 0x8c60]
MOV EDI,EBP
MOV dword ptr [ESP + 0xc],EAX
CMP EAX,0x20
JBE 0x00043a08
MOV EBP,dword ptr [ESP]
MOV EDX,dword ptr [ESP + 0x4]
AND EBP,0x80000000
MOV EAX,EBP
ADD EAX,0x80000000
ADC EDX,0x0
MOV dword ptr [ESP],EAX
MOV dword ptr [ESP + 0x4],EDX
MOV EDX,EAX
AND EDX,0x7fffffff
MOV EAX,EDX
MOV EDX,dword ptr [ESP + 0x4]
OR EDX,EAX
JZ 0x00043a08
MOV EAX,ESI
MOV EDX,EDI
SHRD EAX,EDI,0xc
SAR EDX,0xc
MOV ECX,EAX
AND ECX,0x1
MOV ECX,0xc
JNZ 0x00043991
NOP
ADD ECX,0x1
MOV EDX,EDI
MOV EAX,ESI
SAR EDX,CL
SHRD EAX,EDI,CL
MOV EBP,EDX
SAR EBP,0x1f
TEST CL,0x20
CMOVNZ EAX,EDX
CMOVNZ EDX,EBP
MOV EBP,EAX
AND EBP,0x1
JZ 0x00043970
MOV ESI,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x20],EAX
MOV dword ptr [ESP + 0x24],EDX
LEA EDX,[ESP + 0x18]
MOV EAX,ESI
MOV dword ptr [ESP],ECX
CALL 0x000438a0
SUB ESP,0x8
LEA EAX,[EBX + 0xfffe8749]
MOV ECX,dword ptr [ESP + 0x8]
PUSH ECX
PUSH ESI
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfffe874f]
PUSH EAX
PUSH 0x0
CALL 0x000435c0
ADD ESP,0x20
MOV EAX,dword ptr [ESP + 0x38]
OR EAX,dword ptr [ESP + 0x34]
JZ 0x00043a44
SUB ESP,0x8
PUSH 0x4e8
MOV EAX,dword ptr [ESP + 0x14]
PUSH EAX
PUSH EAX
LEA EAX,[EBX + 0xfffe8754]
PUSH EAX
LEA EAX,[EBX + 0xfffe8744]
PUSH EAX
LEA EAX,[ESP + 0x48]
PUSH EAX
CALL 0x000435c0
ADD ESP,0x20
JMP 0x00043a44
MOV EAX,ESI
MOV ESI,EDI
XOR EDX,EDX
OR ESI,EAX
JNZ 0x00043a80
CMP dword ptr [ESP + 0xc],0x40
LEA EAX,[EBX + 0xfffe873e]
LEA ESI,[EBX + 0xfffe8744]
CMOVNZ EAX,ESI
SUB ESP,0x8
PUSH 0x4e8
PUSH EDX
LEA EDX,[EBX + 0xfffe8754]
PUSH dword ptr [ESP + 0x18]
PUSH EDX
PUSH EAX
PUSH ECX
CALL 0x000435c0
ADD ESP,0x20
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe8674]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000131a0
MOV dword ptr [ESP],EAX
CALL 0x0002a430
ADD ESP,0x10
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfffe875a]
PUSH 0x4e4
MOV EDI,dword ptr [ESP + 0x18]
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xfffe875e]
PUSH EAX
PUSH ECX
MOV dword ptr [ESP + 0x20],ECX
CALL 0x000435c0
ADD ESP,0x20
MOV EAX,dword ptr [ESP + 0x38]
MOV ECX,dword ptr [ESP]
OR EAX,dword ptr [ESP + 0x34]
JZ 0x00043ad0
MOV EAX,dword ptr [EBX + 0x8c60]
MOV EDX,EDI
MOV dword ptr [ESP + 0xc],EAX
JMP 0x00043a12
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JNZ 0x00043a44
MOV EAX,dword ptr [EBX + 0x8c60]
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x00043a12
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000438a0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000438a0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000438a0(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x438ab;" (assignment_expression "uStack_14 = 0x438ab" identifier = number_literal) ;) (expression_statement "uVar5 = param_2[2];" (assignment_expression "uVar5 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "local_30 = *param_2;" (assignment_expression "local_30 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_2c = param_2[1];" (assignment_expression "local_2c = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "local_20 = param_2[4];" (assignment_expression "local_20 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "local_28 = (int)(uVar5 << 0x14) >> 0x14;" (assignment_expression "local_28 = (int)(uVar5 << 0x14) >> 0x14" identifier = (binary_expression "(int)(uVar5 << 0x14) >> 0x14" (cast_expression "(int)(uVar5 << 0x14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 << 0x14)" ( (binary_expression "uVar5 << 0x14" identifier << number_literal) ))) >> number_literal)) ;) (expression_statement "local_24 = (int)(uVar5 << 0x14) >> 0x1f;" (assignment_expression "local_24 = (int)(uVar5 << 0x14) >> 0x1f" identifier = (binary_expression "(int)(uVar5 << 0x14) >> 0x1f" (cast_expression "(int)(uVar5 << 0x14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 << 0x14)" ( (binary_expression "uVar5 << 0x14" identifier << number_literal) ))) >> number_literal)) ;) (expression_statement "uVar8 = uVar5 - local_28;" (assignment_expression "uVar8 = uVar5 - local_28" identifier = (binary_expression "uVar5 - local_28" identifier - identifier)) ;) (expression_statement "iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);" (assignment_expression "iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28)" identifier = (binary_expression "(param_2[3] - local_24) - (uint)(uVar5 < local_28)" (parenthesized_expression "(param_2[3] - local_24)" ( (binary_expression "param_2[3] - local_24" (subscript_expression "param_2[3]" identifier [ number_literal ]) - identifier) )) - (call_expression "(uint)(uVar5 < local_28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < local_28)" ( (binary_expression "uVar5 < local_28" identifier < identifier) ))))) ;) (if_statement "if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 4) == '\x02')" ( (binary_expression "*(char *)(param_2 + 4) == '\x02'" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }" { (if_statement "if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" if (parenthesized_expression "((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0))" ( (binary_expression "(DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)" (parenthesized_expression "(DAT_00074c60 < 0x21)" ( (binary_expression "DAT_00074c60 < 0x21" identifier < number_literal) )) || (parenthesized_expression "(param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)" ( (binary_expression "param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0" (binary_expression "param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000))" (subscript_expression "param_2[3]" identifier [ number_literal ]) + (call_expression "(uint)(0x7fffffff < (uVar5 & 0x80000000))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < (uVar5 & 0x80000000))" ( (binary_expression "0x7fffffff < (uVar5 & 0x80000000)" number_literal < (parenthesized_expression "(uVar5 & 0x80000000)" ( (binary_expression "uVar5 & 0x80000000" identifier & number_literal) ))) )))) == number_literal) ))) )) (compound_statement "{\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }" if (parenthesized_expression "((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0))))" ( (binary_expression "(iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))" (parenthesized_expression "(iVar7 == 0 && uVar8 == 0)" ( (binary_expression "iVar7 == 0 && uVar8 == 0" (binary_expression "iVar7 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) || (parenthesized_expression "((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))" ( (parenthesized_expression "(FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0))" ( (comma_expression "FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)" (call_expression "FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4)" identifier (argument_list "(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4)" ( identifier , (pointer_expression "&DAT_0005475e" & identifier) , (pointer_expression "&DAT_0005475a" & identifier) , identifier , number_literal ))) , (comma_expression "iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)" (assignment_expression "iVar6 = param_1" identifier = identifier) , (binary_expression "local_24 != 0 || local_28 != 0 || (param_1 == 0)" (binary_expression "local_24 != 0 || local_28 != 0" (binary_expression "local_24 != 0" identifier != number_literal) || (binary_expression "local_28 != 0" identifier != number_literal)) || (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) ))))) )) ))) )) (compound_statement "{\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }" { (expression_statement "pcVar3 = "addiw";" (assignment_expression "pcVar3 = "addiw"" identifier = (string_literal ""addiw"" " string_content ")) ;) (if_statement "if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }" if (parenthesized_expression "(DAT_00074c60 != 0x40)" ( (binary_expression "DAT_00074c60 != 0x40" identifier != number_literal) )) (compound_statement "{\n          pcVar3 = "addi";\n        }" { (expression_statement "pcVar3 = "addi";" (assignment_expression "pcVar3 = "addi"" identifier = (string_literal ""addi"" " string_content ")) ;) })) (expression_statement "FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);" (call_expression "FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8)" identifier (argument_list "(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8)" ( identifier , identifier , (string_literal ""d,s,j"" " string_content ") , identifier , identifier , number_literal ))) ;) })) }) (else_clause "else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" else (compound_statement "{\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" { (expression_statement "uVar5 = 0xc;" (assignment_expression "uVar5 = 0xc" identifier = number_literal) ;) (expression_statement "uVar2 = uVar8 >> 0xc;" (assignment_expression "uVar2 = uVar8 >> 0xc" identifier = (binary_expression "uVar8 >> 0xc" identifier >> number_literal)) ;) (while_statement "while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }" while (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }" { (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = (byte)uVar5 & 0x1f;" (assignment_expression "bVar1 = (byte)uVar5 & 0x1f" identifier = (binary_expression "(byte)uVar5 & 0x1f" (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;" (assignment_expression "uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1" identifier = (binary_expression "uVar8 >> bVar1 | iVar7 << 0x20 - bVar1" (binary_expression "uVar8 >> bVar1" identifier >> identifier) | (binary_expression "iVar7 << 0x20 - bVar1" identifier << (binary_expression "0x20 - bVar1" number_literal - identifier)))) ;) (if_statement "if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }" if (parenthesized_expression "((uVar5 & 0x20) != 0)" ( (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" ( (binary_expression "uVar5 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }" { (expression_statement "uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);" (assignment_expression "uVar2 = iVar7 >> ((byte)uVar5 & 0x1f)" identifier = (binary_expression "iVar7 >> ((byte)uVar5 & 0x1f)" identifier >> (parenthesized_expression "((byte)uVar5 & 0x1f)" ( (binary_expression "(byte)uVar5 & 0x1f" (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) })) })) (expression_statement "FUN_000438a0(uVar5);" (call_expression "FUN_000438a0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);" (call_expression "FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5)" identifier (argument_list "(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5)" ( number_literal , (pointer_expression "&DAT_0005474f" & identifier) , (string_literal ""d,s,>"" " string_content ") , identifier , identifier , identifier ))) ;) (if_statement "if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }" if (parenthesized_expression "(local_24 != 0 || local_28 != 0)" ( (binary_expression "local_24 != 0 || local_28 != 0" (binary_expression "local_24 != 0" identifier != number_literal) || (binary_expression "local_28 != 0" identifier != number_literal)) )) (compound_statement "{\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }" { (expression_statement "FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);" (call_expression "FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8)" identifier (argument_list "(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8)" ( (pointer_expression "&local_30" & identifier) , (pointer_expression "&DAT_00054744" & identifier) , (string_literal ""d,s,j"" " string_content ") , identifier , identifier , number_literal ))) ;) })) }))) (return_statement "return;" return ;) })) (expression_statement "uVar4 = dcgettext(0,"unsupported large constant",5);" (assignment_expression "uVar4 = dcgettext(0,"unsupported large constant",5)" identifier = (call_expression "dcgettext(0,"unsupported large constant",5)" identifier (argument_list "(0,"unsupported large constant",5)" ( number_literal , (string_literal ""unsupported large constant"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002a430(uVar4);" (call_expression "FUN_0002a430(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 load_const(int reg,expressionS *ep)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  expressionS upper;\n  expressionS lower;\n  \n  uVar4 = (uint)ep->X_add_number;\n  upper.X_add_symbol = ep->X_add_symbol;\n  upper.X_op_symbol = ep->X_op_symbol;\n  iVar8 = *(int *)((int)&ep->X_add_number + 4);\n  upper._16_2_ = *(undefined2 *)&ep->field_0x10;\n  upper.X_md = ep->X_md;\n  lower.X_add_number._0_4_ = (int)(uVar4 << 0x14) >> 0x14;\n  lower.X_add_number._4_4_ = (int)(uVar4 << 0x14) >> 0x1f;\n  upper.X_add_number._0_4_ = uVar4 - (uint)lower.X_add_number;\n  upper.X_add_number._4_4_ =\n       (iVar8 - lower.X_add_number._4_4_) - (uint)(uVar4 < (uint)lower.X_add_number);\n  lower.X_add_symbol = upper.X_add_symbol;\n  lower.X_op_symbol = upper.X_op_symbol;\n  lower._16_4_ = upper._16_4_;\n  if (ep->field_0x10 == '\x02') {\n    if ((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)) {\n      iVar8 = 0;\n      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }\n    }\n    else {\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }\n    return;\n  }\n  pcVar5 = (char *)dcgettext(0,"unsupported large constant",5);\n  as_bad(pcVar5);\n  return;\n}\n\n" comment (function_definition "void __regparm3 load_const(int reg,expressionS *ep)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  expressionS upper;\n  expressionS lower;\n  \n  uVar4 = (uint)ep->X_add_number;\n  upper.X_add_symbol = ep->X_add_symbol;\n  upper.X_op_symbol = ep->X_op_symbol;\n  iVar8 = *(int *)((int)&ep->X_add_number + 4);\n  upper._16_2_ = *(undefined2 *)&ep->field_0x10;\n  upper.X_md = ep->X_md;\n  lower.X_add_number._0_4_ = (int)(uVar4 << 0x14) >> 0x14;\n  lower.X_add_number._4_4_ = (int)(uVar4 << 0x14) >> 0x1f;\n  upper.X_add_number._0_4_ = uVar4 - (uint)lower.X_add_number;\n  upper.X_add_number._4_4_ =\n       (iVar8 - lower.X_add_number._4_4_) - (uint)(uVar4 < (uint)lower.X_add_number);\n  lower.X_add_symbol = upper.X_add_symbol;\n  lower.X_op_symbol = upper.X_op_symbol;\n  lower._16_4_ = upper._16_4_;\n  if (ep->field_0x10 == '\x02') {\n    if ((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)) {\n      iVar8 = 0;\n      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }\n    }\n    else {\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }\n    return;\n  }\n  pcVar5 = (char *)dcgettext(0,"unsupported large constant",5);\n  as_bad(pcVar5);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "load_const(int reg,expressionS *ep)" identifier (parameter_list "(int reg,expressionS *ep)" ( (parameter_declaration "int reg" primitive_type identifier) , (parameter_declaration "expressionS *ep" type_identifier (pointer_declarator "*ep" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  expressionS upper;\n  expressionS lower;\n  \n  uVar4 = (uint)ep->X_add_number;\n  upper.X_add_symbol = ep->X_add_symbol;\n  upper.X_op_symbol = ep->X_op_symbol;\n  iVar8 = *(int *)((int)&ep->X_add_number + 4);\n  upper._16_2_ = *(undefined2 *)&ep->field_0x10;\n  upper.X_md = ep->X_md;\n  lower.X_add_number._0_4_ = (int)(uVar4 << 0x14) >> 0x14;\n  lower.X_add_number._4_4_ = (int)(uVar4 << 0x14) >> 0x1f;\n  upper.X_add_number._0_4_ = uVar4 - (uint)lower.X_add_number;\n  upper.X_add_number._4_4_ =\n       (iVar8 - lower.X_add_number._4_4_) - (uint)(uVar4 < (uint)lower.X_add_number);\n  lower.X_add_symbol = upper.X_add_symbol;\n  lower.X_op_symbol = upper.X_op_symbol;\n  lower._16_4_ = upper._16_4_;\n  if (ep->field_0x10 == '\x02') {\n    if ((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)) {\n      iVar8 = 0;\n      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }\n    }\n    else {\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }\n    return;\n  }\n  pcVar5 = (char *)dcgettext(0,"unsupported large constant",5);\n  as_bad(pcVar5);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "expressionS upper;" type_identifier identifier ;) (declaration "expressionS lower;" type_identifier identifier ;) (expression_statement "uVar4 = (uint)ep->X_add_number;" (assignment_expression "uVar4 = (uint)ep->X_add_number" identifier = (cast_expression "(uint)ep->X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "ep->X_add_number" identifier -> field_identifier))) ;) (expression_statement "upper.X_add_symbol = ep->X_add_symbol;" (assignment_expression "upper.X_add_symbol = ep->X_add_symbol" (field_expression "upper.X_add_symbol" identifier . field_identifier) = (field_expression "ep->X_add_symbol" identifier -> field_identifier)) ;) (expression_statement "upper.X_op_symbol = ep->X_op_symbol;" (assignment_expression "upper.X_op_symbol = ep->X_op_symbol" (field_expression "upper.X_op_symbol" identifier . field_identifier) = (field_expression "ep->X_op_symbol" identifier -> field_identifier)) ;) (expression_statement "iVar8 = *(int *)((int)&ep->X_add_number + 4);" (assignment_expression "iVar8 = *(int *)((int)&ep->X_add_number + 4)" identifier = (pointer_expression "*(int *)((int)&ep->X_add_number + 4)" * (cast_expression "(int *)((int)&ep->X_add_number + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&ep->X_add_number + 4)" ( (binary_expression "(int)&ep->X_add_number + 4" (cast_expression "(int)&ep->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&ep->X_add_number" & (field_expression "ep->X_add_number" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "upper._16_2_ = *(undefined2 *)&ep->field_0x10;" (assignment_expression "upper._16_2_ = *(undefined2 *)&ep->field_0x10" (field_expression "upper._16_2_" identifier . field_identifier) = (pointer_expression "*(undefined2 *)&ep->field_0x10" * (cast_expression "(undefined2 *)&ep->field_0x10" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&ep->field_0x10" & (field_expression "ep->field_0x10" identifier -> field_identifier))))) ;) (expression_statement "upper.X_md = ep->X_md;" (assignment_expression "upper.X_md = ep->X_md" (field_expression "upper.X_md" identifier . field_identifier) = (field_expression "ep->X_md" identifier -> field_identifier)) ;) (expression_statement "lower.X_add_number._0_4_ = (int)(uVar4 << 0x14) >> 0x14;" (assignment_expression "lower.X_add_number._0_4_ = (int)(uVar4 << 0x14) >> 0x14" (field_expression "lower.X_add_number._0_4_" (field_expression "lower.X_add_number" identifier . field_identifier) . field_identifier) = (binary_expression "(int)(uVar4 << 0x14) >> 0x14" (cast_expression "(int)(uVar4 << 0x14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 << 0x14)" ( (binary_expression "uVar4 << 0x14" identifier << number_literal) ))) >> number_literal)) ;) (expression_statement "lower.X_add_number._4_4_ = (int)(uVar4 << 0x14) >> 0x1f;" (assignment_expression "lower.X_add_number._4_4_ = (int)(uVar4 << 0x14) >> 0x1f" (field_expression "lower.X_add_number._4_4_" (field_expression "lower.X_add_number" identifier . field_identifier) . field_identifier) = (binary_expression "(int)(uVar4 << 0x14) >> 0x1f" (cast_expression "(int)(uVar4 << 0x14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 << 0x14)" ( (binary_expression "uVar4 << 0x14" identifier << number_literal) ))) >> number_literal)) ;) (expression_statement "upper.X_add_number._0_4_ = uVar4 - (uint)lower.X_add_number;" (assignment_expression "upper.X_add_number._0_4_ = uVar4 - (uint)lower.X_add_number" (field_expression "upper.X_add_number._0_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier) = (binary_expression "uVar4 - (uint)lower.X_add_number" identifier - (cast_expression "(uint)lower.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "lower.X_add_number" identifier . field_identifier)))) ;) (expression_statement "upper.X_add_number._4_4_ =\n       (iVar8 - lower.X_add_number._4_4_) - (uint)(uVar4 < (uint)lower.X_add_number);" (assignment_expression "upper.X_add_number._4_4_ =\n       (iVar8 - lower.X_add_number._4_4_) - (uint)(uVar4 < (uint)lower.X_add_number)" (field_expression "upper.X_add_number._4_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier) = (binary_expression "(iVar8 - lower.X_add_number._4_4_) - (uint)(uVar4 < (uint)lower.X_add_number)" (parenthesized_expression "(iVar8 - lower.X_add_number._4_4_)" ( (binary_expression "iVar8 - lower.X_add_number._4_4_" identifier - (field_expression "lower.X_add_number._4_4_" (field_expression "lower.X_add_number" identifier . field_identifier) . field_identifier)) )) - (call_expression "(uint)(uVar4 < (uint)lower.X_add_number)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < (uint)lower.X_add_number)" ( (binary_expression "uVar4 < (uint)lower.X_add_number" identifier < (cast_expression "(uint)lower.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "lower.X_add_number" identifier . field_identifier))) ))))) ;) (expression_statement "lower.X_add_symbol = upper.X_add_symbol;" (assignment_expression "lower.X_add_symbol = upper.X_add_symbol" (field_expression "lower.X_add_symbol" identifier . field_identifier) = (field_expression "upper.X_add_symbol" identifier . field_identifier)) ;) (expression_statement "lower.X_op_symbol = upper.X_op_symbol;" (assignment_expression "lower.X_op_symbol = upper.X_op_symbol" (field_expression "lower.X_op_symbol" identifier . field_identifier) = (field_expression "upper.X_op_symbol" identifier . field_identifier)) ;) (expression_statement "lower._16_4_ = upper._16_4_;" (assignment_expression "lower._16_4_ = upper._16_4_" (field_expression "lower._16_4_" identifier . field_identifier) = (field_expression "upper._16_4_" identifier . field_identifier)) ;) (if_statement "if (ep->field_0x10 == '\x02') {\n    if ((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)) {\n      iVar8 = 0;\n      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }\n    }\n    else {\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(ep->field_0x10 == '\x02')" ( (binary_expression "ep->field_0x10 == '\x02'" (field_expression "ep->field_0x10" identifier -> field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if ((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)) {\n      iVar8 = 0;\n      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }\n    }\n    else {\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }\n    return;\n  }" { (if_statement "if ((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)) {\n      iVar8 = 0;\n      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }\n    }\n    else {\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }" if (parenthesized_expression "((xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0))" ( (binary_expression "(xlen < 0x21) || (iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)" (parenthesized_expression "(xlen < 0x21)" ( (binary_expression "xlen < 0x21" identifier < number_literal) )) || (parenthesized_expression "(iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0)" ( (binary_expression "iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000)) == 0" (binary_expression "iVar8 + (uint)(0x7fffffff < (uVar4 & 0x80000000))" identifier + (call_expression "(uint)(0x7fffffff < (uVar4 & 0x80000000))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < (uVar4 & 0x80000000))" ( (binary_expression "0x7fffffff < (uVar4 & 0x80000000)" number_literal < (parenthesized_expression "(uVar4 & 0x80000000)" ( (binary_expression "uVar4 & 0x80000000" identifier & number_literal) ))) )))) == number_literal) ))) )) (compound_statement "{\n      iVar8 = 0;\n      if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }\n    }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if ((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))) {\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }" if (parenthesized_expression "((upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0))))" ( (binary_expression "(upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0) ||\n         ((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))" (parenthesized_expression "(upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0)" ( (binary_expression "upper.X_add_number._4_4_ == 0 && (uint)upper.X_add_number == 0" (binary_expression "upper.X_add_number._4_4_ == 0" (field_expression "upper.X_add_number._4_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier) == number_literal) && (binary_expression "(uint)upper.X_add_number == 0" (cast_expression "(uint)upper.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "upper.X_add_number" identifier . field_identifier)) == number_literal)) )) || (parenthesized_expression "((macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)))" ( (parenthesized_expression "(macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0))" ( (comma_expression "macro_build(ep,"lui","d,u",reg,0x4e4), iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)" (call_expression "macro_build(ep,"lui","d,u",reg,0x4e4)" identifier (argument_list "(ep,"lui","d,u",reg,0x4e4)" ( identifier , (string_literal ""lui"" " string_content ") , (string_literal ""d,u"" " string_content ") , identifier , number_literal ))) , (comma_expression "iVar8 = reg,\n          lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)" (assignment_expression "iVar8 = reg" identifier = identifier) , (binary_expression "lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0 || (reg == 0)" (binary_expression "lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0" (binary_expression "lower.X_add_number._4_4_ != 0" (field_expression "lower.X_add_number._4_4_" (field_expression "lower.X_add_number" identifier . field_identifier) . field_identifier) != number_literal) || (binary_expression "(uint)lower.X_add_number != 0" (cast_expression "(uint)lower.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "lower.X_add_number" identifier . field_identifier)) != number_literal)) || (parenthesized_expression "(reg == 0)" ( (binary_expression "reg == 0" identifier == number_literal) ))))) )) ))) )) (compound_statement "{\n        pcVar5 = "addiw";\n        if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }\n        macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);\n      }" { (expression_statement "pcVar5 = "addiw";" (assignment_expression "pcVar5 = "addiw"" identifier = (string_literal ""addiw"" " string_content ")) ;) (if_statement "if (xlen != 0x40) {\n          pcVar5 = "addi";\n        }" if (parenthesized_expression "(xlen != 0x40)" ( (binary_expression "xlen != 0x40" identifier != number_literal) )) (compound_statement "{\n          pcVar5 = "addi";\n        }" { (expression_statement "pcVar5 = "addi";" (assignment_expression "pcVar5 = "addi"" identifier = (string_literal ""addi"" " string_content ")) ;) })) (expression_statement "macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8);" (call_expression "macro_build(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8)" identifier (argument_list "(ep,pcVar5,"d,s,j",reg,iVar8,0x4e8)" ( identifier , identifier , (string_literal ""d,s,j"" " string_content ") , identifier , identifier , number_literal ))) ;) })) }) (else_clause "else {\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }" else (compound_statement "{\n      uVar6 = 0xc;\n      uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;\n      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;\n      uVar3 = (uint)upper.X_add_number >> 0xc;\n      while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }\n      upper.X_add_number._0_4_ = uVar4;\n      upper.X_add_number._4_4_ = uVar2;\n      load_const(reg,&upper);\n      macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);\n      if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }\n    }" { (expression_statement "uVar6 = 0xc;" (assignment_expression "uVar6 = 0xc" identifier = number_literal) ;) (expression_statement "uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;" (assignment_expression "uVar4 = (uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000" identifier = (binary_expression "(uint)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000" (binary_expression "(uint)upper.X_add_number >> 0xc" (cast_expression "(uint)upper.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "upper.X_add_number" identifier . field_identifier)) >> number_literal) | (binary_expression "upper.X_add_number._4_4_ * 0x100000" (field_expression "upper.X_add_number._4_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier) * number_literal))) ;) (expression_statement "uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;" (assignment_expression "uVar2 = (int)upper.X_add_number._4_4_ >> 0xc" identifier = (binary_expression "(int)upper.X_add_number._4_4_ >> 0xc" (cast_expression "(int)upper.X_add_number._4_4_" ( (type_descriptor "int" primitive_type) ) (field_expression "upper.X_add_number._4_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier)) >> number_literal)) ;) (expression_statement "uVar3 = (uint)upper.X_add_number >> 0xc;" (assignment_expression "uVar3 = (uint)upper.X_add_number >> 0xc" identifier = (binary_expression "(uint)upper.X_add_number >> 0xc" (cast_expression "(uint)upper.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "upper.X_add_number" identifier . field_identifier)) >> number_literal)) ;) (while_statement "while ((uVar3 & 1) == 0) {\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }" while (parenthesized_expression "((uVar3 & 1) == 0)" ( (binary_expression "(uVar3 & 1) == 0" (parenthesized_expression "(uVar3 & 1)" ( (binary_expression "uVar3 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar6 = uVar6 + 1;\n        uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);\n        bVar1 = (byte)uVar6 & 0x1f;\n        uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;\n        uVar2 = uVar7;\n        uVar3 = uVar4;\n        if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }\n      }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f);" (assignment_expression "uVar7 = (int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f)" identifier = (binary_expression "(int)upper.X_add_number._4_4_ >> ((byte)uVar6 & 0x1f)" (cast_expression "(int)upper.X_add_number._4_4_" ( (type_descriptor "int" primitive_type) ) (field_expression "upper.X_add_number._4_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier)) >> (parenthesized_expression "((byte)uVar6 & 0x1f)" ( (binary_expression "(byte)uVar6 & 0x1f" (cast_expression "(byte)uVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "bVar1 = (byte)uVar6 & 0x1f;" (assignment_expression "bVar1 = (byte)uVar6 & 0x1f" identifier = (binary_expression "(byte)uVar6 & 0x1f" (cast_expression "(byte)uVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1;" (assignment_expression "uVar4 = (uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1" identifier = (binary_expression "(uint)upper.X_add_number >> bVar1 | upper.X_add_number._4_4_ << 0x20 - bVar1" (binary_expression "(uint)upper.X_add_number >> bVar1" (cast_expression "(uint)upper.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "upper.X_add_number" identifier . field_identifier)) >> identifier) | (binary_expression "upper.X_add_number._4_4_ << 0x20 - bVar1" (field_expression "upper.X_add_number._4_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier) << (binary_expression "0x20 - bVar1" number_literal - identifier)))) ;) (expression_statement "uVar2 = uVar7;" (assignment_expression "uVar2 = uVar7" identifier = identifier) ;) (expression_statement "uVar3 = uVar4;" (assignment_expression "uVar3 = uVar4" identifier = identifier) ;) (if_statement "if ((uVar6 & 0x20) != 0) {\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }" if (parenthesized_expression "((uVar6 & 0x20) != 0)" ( (binary_expression "(uVar6 & 0x20) != 0" (parenthesized_expression "(uVar6 & 0x20)" ( (binary_expression "uVar6 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar4 = uVar7;\n          uVar2 = (int)uVar7 >> 0x1f;\n          uVar3 = uVar7;\n        }" { (expression_statement "uVar4 = uVar7;" (assignment_expression "uVar4 = uVar7" identifier = identifier) ;) (expression_statement "uVar2 = (int)uVar7 >> 0x1f;" (assignment_expression "uVar2 = (int)uVar7 >> 0x1f" identifier = (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;) })) })) (expression_statement "upper.X_add_number._0_4_ = uVar4;" (assignment_expression "upper.X_add_number._0_4_ = uVar4" (field_expression "upper.X_add_number._0_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "upper.X_add_number._4_4_ = uVar2;" (assignment_expression "upper.X_add_number._4_4_ = uVar2" (field_expression "upper.X_add_number._4_4_" (field_expression "upper.X_add_number" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "load_const(reg,&upper);" (call_expression "load_const(reg,&upper)" identifier (argument_list "(reg,&upper)" ( identifier , (pointer_expression "&upper" & identifier) ))) ;) (expression_statement "macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6);" (call_expression "macro_build((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6)" identifier (argument_list "((expressionS *)0x0,"slli","d,s,>",reg,reg,uVar6)" ( (cast_expression "(expressionS *)0x0" ( (type_descriptor "expressionS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (string_literal ""slli"" " string_content ") , (string_literal ""d,s,>"" " string_content ") , identifier , identifier , identifier ))) ;) (if_statement "if (lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0) {\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }" if (parenthesized_expression "(lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0)" ( (binary_expression "lower.X_add_number._4_4_ != 0 || (uint)lower.X_add_number != 0" (binary_expression "lower.X_add_number._4_4_ != 0" (field_expression "lower.X_add_number._4_4_" (field_expression "lower.X_add_number" identifier . field_identifier) . field_identifier) != number_literal) || (binary_expression "(uint)lower.X_add_number != 0" (cast_expression "(uint)lower.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "lower.X_add_number" identifier . field_identifier)) != number_literal)) )) (compound_statement "{\n        macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);\n      }" { (expression_statement "macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8);" (call_expression "macro_build(&lower,"addi","d,s,j",reg,reg,0x4e8)" identifier (argument_list "(&lower,"addi","d,s,j",reg,reg,0x4e8)" ( (pointer_expression "&lower" & identifier) , (string_literal ""addi"" " string_content ") , (string_literal ""d,s,j"" " string_content ") , identifier , identifier , number_literal ))) ;) })) }))) (return_statement "return;" return ;) })) (expression_statement "pcVar5 = (char *)dcgettext(0,"unsupported large constant",5);" (assignment_expression "pcVar5 = (char *)dcgettext(0,"unsupported large constant",5)" identifier = (cast_expression "(char *)dcgettext(0,"unsupported large constant",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"unsupported large constant",5)" identifier (argument_list "(0,"unsupported large constant",5)" ( number_literal , (string_literal ""unsupported large constant"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar5);" (call_expression "as_bad(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000438a0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000438a0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000438a0(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x438ab;" (assignment_expression "uStack_14 = 0x438ab" identifier = number_literal) ;) (expression_statement "uVar5 = param_2[2];" (assignment_expression "uVar5 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "local_30 = *param_2;" (assignment_expression "local_30 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_2c = param_2[1];" (assignment_expression "local_2c = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "local_20 = param_2[4];" (assignment_expression "local_20 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "local_28 = (int)(uVar5 << 0x14) >> 0x14;" (assignment_expression "local_28 = (int)(uVar5 << 0x14) >> 0x14" identifier = (binary_expression "(int)(uVar5 << 0x14) >> 0x14" (cast_expression "(int)(uVar5 << 0x14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 << 0x14)" ( (binary_expression "uVar5 << 0x14" identifier << number_literal) ))) >> number_literal)) ;) (expression_statement "local_24 = (int)(uVar5 << 0x14) >> 0x1f;" (assignment_expression "local_24 = (int)(uVar5 << 0x14) >> 0x1f" identifier = (binary_expression "(int)(uVar5 << 0x14) >> 0x1f" (cast_expression "(int)(uVar5 << 0x14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 << 0x14)" ( (binary_expression "uVar5 << 0x14" identifier << number_literal) ))) >> number_literal)) ;) (expression_statement "uVar8 = uVar5 - local_28;" (assignment_expression "uVar8 = uVar5 - local_28" identifier = (binary_expression "uVar5 - local_28" identifier - identifier)) ;) (expression_statement "iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);" (assignment_expression "iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28)" identifier = (binary_expression "(param_2[3] - local_24) - (uint)(uVar5 < local_28)" (parenthesized_expression "(param_2[3] - local_24)" ( (binary_expression "param_2[3] - local_24" (subscript_expression "param_2[3]" identifier [ number_literal ]) - identifier) )) - (call_expression "(uint)(uVar5 < local_28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < local_28)" ( (binary_expression "uVar5 < local_28" identifier < identifier) ))))) ;) (if_statement "if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 4) == '\x02')" ( (binary_expression "*(char *)(param_2 + 4) == '\x02'" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }" { (if_statement "if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" if (parenthesized_expression "((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0))" ( (binary_expression "(DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)" (parenthesized_expression "(DAT_00074c60 < 0x21)" ( (binary_expression "DAT_00074c60 < 0x21" identifier < number_literal) )) || (parenthesized_expression "(param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)" ( (binary_expression "param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0" (binary_expression "param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000))" (subscript_expression "param_2[3]" identifier [ number_literal ]) + (call_expression "(uint)(0x7fffffff < (uVar5 & 0x80000000))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < (uVar5 & 0x80000000))" ( (binary_expression "0x7fffffff < (uVar5 & 0x80000000)" number_literal < (parenthesized_expression "(uVar5 & 0x80000000)" ( (binary_expression "uVar5 & 0x80000000" identifier & number_literal) ))) )))) == number_literal) ))) )) (compound_statement "{\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }" if (parenthesized_expression "((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0))))" ( (binary_expression "(iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))" (parenthesized_expression "(iVar7 == 0 && uVar8 == 0)" ( (binary_expression "iVar7 == 0 && uVar8 == 0" (binary_expression "iVar7 == 0" identifier == number_literal) && (binary_expression "uVar8 == 0" identifier == number_literal)) )) || (parenthesized_expression "((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))" ( (parenthesized_expression "(FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0))" ( (comma_expression "FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)" (call_expression "FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4)" identifier (argument_list "(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4)" ( identifier , (pointer_expression "&DAT_0005475e" & identifier) , (pointer_expression "&DAT_0005475a" & identifier) , identifier , number_literal ))) , (comma_expression "iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)" (assignment_expression "iVar6 = param_1" identifier = identifier) , (binary_expression "local_24 != 0 || local_28 != 0 || (param_1 == 0)" (binary_expression "local_24 != 0 || local_28 != 0" (binary_expression "local_24 != 0" identifier != number_literal) || (binary_expression "local_28 != 0" identifier != number_literal)) || (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) ))))) )) ))) )) (compound_statement "{\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }" { (expression_statement "pcVar3 = "addiw";" (assignment_expression "pcVar3 = "addiw"" identifier = (string_literal ""addiw"" " string_content ")) ;) (if_statement "if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }" if (parenthesized_expression "(DAT_00074c60 != 0x40)" ( (binary_expression "DAT_00074c60 != 0x40" identifier != number_literal) )) (compound_statement "{\n          pcVar3 = "addi";\n        }" { (expression_statement "pcVar3 = "addi";" (assignment_expression "pcVar3 = "addi"" identifier = (string_literal ""addi"" " string_content ")) ;) })) (expression_statement "FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);" (call_expression "FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8)" identifier (argument_list "(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8)" ( identifier , identifier , (string_literal ""d,s,j"" " string_content ") , identifier , identifier , number_literal ))) ;) })) }) (else_clause "else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" else (compound_statement "{\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" { (expression_statement "uVar5 = 0xc;" (assignment_expression "uVar5 = 0xc" identifier = number_literal) ;) (expression_statement "uVar2 = uVar8 >> 0xc;" (assignment_expression "uVar2 = uVar8 >> 0xc" identifier = (binary_expression "uVar8 >> 0xc" identifier >> number_literal)) ;) (while_statement "while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }" while (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }" { (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = (byte)uVar5 & 0x1f;" (assignment_expression "bVar1 = (byte)uVar5 & 0x1f" identifier = (binary_expression "(byte)uVar5 & 0x1f" (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;" (assignment_expression "uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1" identifier = (binary_expression "uVar8 >> bVar1 | iVar7 << 0x20 - bVar1" (binary_expression "uVar8 >> bVar1" identifier >> identifier) | (binary_expression "iVar7 << 0x20 - bVar1" identifier << (binary_expression "0x20 - bVar1" number_literal - identifier)))) ;) (if_statement "if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }" if (parenthesized_expression "((uVar5 & 0x20) != 0)" ( (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" ( (binary_expression "uVar5 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }" { (expression_statement "uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);" (assignment_expression "uVar2 = iVar7 >> ((byte)uVar5 & 0x1f)" identifier = (binary_expression "iVar7 >> ((byte)uVar5 & 0x1f)" identifier >> (parenthesized_expression "((byte)uVar5 & 0x1f)" ( (binary_expression "(byte)uVar5 & 0x1f" (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) })) })) (expression_statement "FUN_000438a0(uVar5);" (call_expression "FUN_000438a0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);" (call_expression "FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5)" identifier (argument_list "(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5)" ( number_literal , (pointer_expression "&DAT_0005474f" & identifier) , (string_literal ""d,s,>"" " string_content ") , identifier , identifier , identifier ))) ;) (if_statement "if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }" if (parenthesized_expression "(local_24 != 0 || local_28 != 0)" ( (binary_expression "local_24 != 0 || local_28 != 0" (binary_expression "local_24 != 0" identifier != number_literal) || (binary_expression "local_28 != 0" identifier != number_literal)) )) (compound_statement "{\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }" { (expression_statement "FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);" (call_expression "FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8)" identifier (argument_list "(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8)" ( (pointer_expression "&local_30" & identifier) , (pointer_expression "&DAT_00054744" & identifier) , (string_literal ""d,s,j"" " string_content ") , identifier , identifier , number_literal ))) ;) })) }))) (return_statement "return;" return ;) })) (expression_statement "uVar4 = dcgettext(0,"unsupported large constant",5);" (assignment_expression "uVar4 = dcgettext(0,"unsupported large constant",5)" identifier = (call_expression "dcgettext(0,"unsupported large constant",5)" identifier (argument_list "(0,"unsupported large constant",5)" ( number_literal , (string_literal ""unsupported large constant"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002a430(uVar4);" (call_expression "FUN_0002a430(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )))) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) || (parenthesized_expression ( (parenthesized_expression ( (comma_expression (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT , LIT ))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (string_literal " string_content ") , IDENT , IDENT , LIT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> IDENT) | (binary_expression IDENT << (binary_expression LIT - IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) , (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , (string_literal " string_content ") , IDENT , IDENT , LIT ))) ;) })) }))) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000438a0(int param_1,undefined4 *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000438a0(int param_1,undefined4 *param_2)" (identifier "FUN_000438a0") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x438ab;\n  uVar5 = param_2[2];\n  local_30 = *param_2;\n  local_2c = param_2[1];\n  local_20 = param_2[4];\n  local_28 = (int)(uVar5 << 0x14) >> 0x14;\n  local_24 = (int)(uVar5 << 0x14) >> 0x1f;\n  uVar8 = uVar5 - local_28;\n  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);\n  if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }\n  uVar4 = dcgettext(0,"unsupported large constant",5);\n  FUN_0002a430(uVar4);\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x438ab;" (assignment_expression "uStack_14 = 0x438ab" (identifier "uStack_14") (= "=") (number_literal "0x438ab")) (; ";")) (expression_statement "uVar5 = param_2[2];" (assignment_expression "uVar5 = param_2[2]" (identifier "uVar5") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_30 = *param_2;" (assignment_expression "local_30 = *param_2" (identifier "local_30") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "local_2c = param_2[1];" (assignment_expression "local_2c = param_2[1]" (identifier "local_2c") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_20 = param_2[4];" (assignment_expression "local_20 = param_2[4]" (identifier "local_20") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "local_28 = (int)(uVar5 << 0x14) >> 0x14;" (assignment_expression "local_28 = (int)(uVar5 << 0x14) >> 0x14" (identifier "local_28") (= "=") (binary_expression "(int)(uVar5 << 0x14) >> 0x14" (cast_expression "(int)(uVar5 << 0x14)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar5 << 0x14)" (( "(") (binary_expression "uVar5 << 0x14" (identifier "uVar5") (<< "<<") (number_literal "0x14")) () ")"))) (>> ">>") (number_literal "0x14"))) (; ";")) (expression_statement "local_24 = (int)(uVar5 << 0x14) >> 0x1f;" (assignment_expression "local_24 = (int)(uVar5 << 0x14) >> 0x1f" (identifier "local_24") (= "=") (binary_expression "(int)(uVar5 << 0x14) >> 0x1f" (cast_expression "(int)(uVar5 << 0x14)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar5 << 0x14)" (( "(") (binary_expression "uVar5 << 0x14" (identifier "uVar5") (<< "<<") (number_literal "0x14")) () ")"))) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar8 = uVar5 - local_28;" (assignment_expression "uVar8 = uVar5 - local_28" (identifier "uVar8") (= "=") (binary_expression "uVar5 - local_28" (identifier "uVar5") (- "-") (identifier "local_28"))) (; ";")) (expression_statement "iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);" (assignment_expression "iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28)" (identifier "iVar7") (= "=") (binary_expression "(param_2[3] - local_24) - (uint)(uVar5 < local_28)" (parenthesized_expression "(param_2[3] - local_24)" (( "(") (binary_expression "param_2[3] - local_24" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (- "-") (identifier "local_24")) () ")")) (- "-") (call_expression "(uint)(uVar5 < local_28)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar5 < local_28)" (( "(") (binary_expression "uVar5 < local_28" (identifier "uVar5") (< "<") (identifier "local_28")) () ")"))))) (; ";")) (if_statement "if (*(char *)(param_2 + 4) == '\x02') {\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 4) == '\x02')" (( "(") (binary_expression "*(char *)(param_2 + 4) == '\x02'" (pointer_expression "*(char *)(param_2 + 4)" (* "*") (cast_expression "(char *)(param_2 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }\n    return;\n  }" ({ "{") (if_statement "if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }\n    else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" (if "if") (parenthesized_expression "((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0))" (( "(") (binary_expression "(DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)" (parenthesized_expression "(DAT_00074c60 < 0x21)" (( "(") (binary_expression "DAT_00074c60 < 0x21" (identifier "DAT_00074c60") (< "<") (number_literal "0x21")) () ")")) (|| "||") (parenthesized_expression "(param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)" (( "(") (binary_expression "param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0" (binary_expression "param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000))" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (+ "+") (call_expression "(uint)(0x7fffffff < (uVar5 & 0x80000000))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x7fffffff < (uVar5 & 0x80000000))" (( "(") (binary_expression "0x7fffffff < (uVar5 & 0x80000000)" (number_literal "0x7fffffff") (< "<") (parenthesized_expression "(uVar5 & 0x80000000)" (( "(") (binary_expression "uVar5 & 0x80000000" (identifier "uVar5") (& "&") (number_literal "0x80000000")) () ")"))) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      iVar6 = 0;\n      if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }" (if "if") (parenthesized_expression "((iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0))))" (( "(") (binary_expression "(iVar7 == 0 && uVar8 == 0) ||\n         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))" (parenthesized_expression "(iVar7 == 0 && uVar8 == 0)" (( "(") (binary_expression "iVar7 == 0 && uVar8 == 0" (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0"))) () ")")) (|| "||") (parenthesized_expression "((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)))" (( "(") (parenthesized_expression "(FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0))" (( "(") (comma_expression "FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)" (call_expression "FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4)" (identifier "FUN_000435c0") (argument_list "(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_0005475e" (& "&") (identifier "DAT_0005475e")) (, ",") (pointer_expression "&DAT_0005475a" (& "&") (identifier "DAT_0005475a")) (, ",") (identifier "param_1") (, ",") (number_literal "0x4e4") () ")"))) (, ",") (comma_expression "iVar6 = param_1,\n          local_24 != 0 || local_28 != 0 || (param_1 == 0)" (assignment_expression "iVar6 = param_1" (identifier "iVar6") (= "=") (identifier "param_1")) (, ",") (binary_expression "local_24 != 0 || local_28 != 0 || (param_1 == 0)" (binary_expression "local_24 != 0 || local_28 != 0" (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0"))) (|| "||") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")"))))) () ")")) () ")"))) () ")")) (compound_statement "{\n        pcVar3 = "addiw";\n        if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }\n        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);\n      }" ({ "{") (expression_statement "pcVar3 = "addiw";" (assignment_expression "pcVar3 = "addiw"" (identifier "pcVar3") (= "=") (string_literal ""addiw"" (" """) (string_content "addiw") (" """))) (; ";")) (if_statement "if (DAT_00074c60 != 0x40) {\n          pcVar3 = "addi";\n        }" (if "if") (parenthesized_expression "(DAT_00074c60 != 0x40)" (( "(") (binary_expression "DAT_00074c60 != 0x40" (identifier "DAT_00074c60") (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n          pcVar3 = "addi";\n        }" ({ "{") (expression_statement "pcVar3 = "addi";" (assignment_expression "pcVar3 = "addi"" (identifier "pcVar3") (= "=") (string_literal ""addi"" (" """) (string_content "addi") (" """))) (; ";")) (} "}"))) (expression_statement "FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);" (call_expression "FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8)" (identifier "FUN_000435c0") (argument_list "(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8)" (( "(") (identifier "param_2") (, ",") (identifier "pcVar3") (, ",") (string_literal ""d,s,j"" (" """) (string_content "d,s,j") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "iVar6") (, ",") (number_literal "0x4e8") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" (else "else") (compound_statement "{\n      uVar5 = 0xc;\n      uVar2 = uVar8 >> 0xc;\n      while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }\n      FUN_000438a0(uVar5);\n      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);\n      if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }\n    }" ({ "{") (expression_statement "uVar5 = 0xc;" (assignment_expression "uVar5 = 0xc" (identifier "uVar5") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "uVar2 = uVar8 >> 0xc;" (assignment_expression "uVar2 = uVar8 >> 0xc" (identifier "uVar2") (= "=") (binary_expression "uVar8 >> 0xc" (identifier "uVar8") (>> ">>") (number_literal "0xc"))) (; ";")) (while_statement "while ((uVar2 & 1) == 0) {\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }" (while "while") (parenthesized_expression "((uVar2 & 1) == 0)" (( "(") (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" (( "(") (binary_expression "uVar2 & 1" (identifier "uVar2") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = uVar5 + 1;\n        bVar1 = (byte)uVar5 & 0x1f;\n        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;\n        if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }\n      }" ({ "{") (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = (byte)uVar5 & 0x1f;" (assignment_expression "bVar1 = (byte)uVar5 & 0x1f" (identifier "bVar1") (= "=") (binary_expression "(byte)uVar5 & 0x1f" (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) (& "&") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;" (assignment_expression "uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1" (identifier "uVar2") (= "=") (binary_expression "uVar8 >> bVar1 | iVar7 << 0x20 - bVar1" (binary_expression "uVar8 >> bVar1" (identifier "uVar8") (>> ">>") (identifier "bVar1")) (| "|") (binary_expression "iVar7 << 0x20 - bVar1" (identifier "iVar7") (<< "<<") (binary_expression "0x20 - bVar1" (number_literal "0x20") (- "-") (identifier "bVar1"))))) (; ";")) (if_statement "if ((uVar5 & 0x20) != 0) {\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }" (if "if") (parenthesized_expression "((uVar5 & 0x20) != 0)" (( "(") (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" (( "(") (binary_expression "uVar5 & 0x20" (identifier "uVar5") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);\n        }" ({ "{") (expression_statement "uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);" (assignment_expression "uVar2 = iVar7 >> ((byte)uVar5 & 0x1f)" (identifier "uVar2") (= "=") (binary_expression "iVar7 >> ((byte)uVar5 & 0x1f)" (identifier "iVar7") (>> ">>") (parenthesized_expression "((byte)uVar5 & 0x1f)" (( "(") (binary_expression "(byte)uVar5 & 0x1f" (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_000438a0(uVar5);" (call_expression "FUN_000438a0(uVar5)" (identifier "FUN_000438a0") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);" (call_expression "FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5)" (identifier "FUN_000435c0") (argument_list "(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5)" (( "(") (number_literal "0") (, ",") (pointer_expression "&DAT_0005474f" (& "&") (identifier "DAT_0005474f")) (, ",") (string_literal ""d,s,>"" (" """) (string_content "d,s,>") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "param_1") (, ",") (identifier "uVar5") () ")"))) (; ";")) (if_statement "if (local_24 != 0 || local_28 != 0) {\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }" (if "if") (parenthesized_expression "(local_24 != 0 || local_28 != 0)" (( "(") (binary_expression "local_24 != 0 || local_28 != 0" (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);\n      }" ({ "{") (expression_statement "FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);" (call_expression "FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8)" (identifier "FUN_000435c0") (argument_list "(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (pointer_expression "&DAT_00054744" (& "&") (identifier "DAT_00054744")) (, ",") (string_literal ""d,s,j"" (" """) (string_content "d,s,j") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "param_1") (, ",") (number_literal "0x4e8") () ")"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar4 = dcgettext(0,"unsupported large constant",5);" (assignment_expression "uVar4 = dcgettext(0,"unsupported large constant",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"unsupported large constant",5)" (identifier "dcgettext") (argument_list "(0,"unsupported large constant",5)" (( "(") (number_literal "0") (, ",") (string_literal ""unsupported large constant"" (" """) (string_content "unsupported large constant") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002a430(uVar4);" (call_expression "FUN_0002a430(uVar4)" (identifier "FUN_0002a430") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(int var_5,type_1 *ep)

{
  type_2 var_8;
  type_3 uVar2;
  type_3 var_6;
  type_3 var_1;
  char *pcVar5;
  type_3 var_7;
  type_3 uVar7;
  int var_2;
  type_1 upper;
  type_1 lower;
  
  var_1 = (type_3)ep->X_add_number;
  upper.X_add_symbol = ep->X_add_symbol;
  upper.X_op_symbol = ep->X_op_symbol;
  var_2 = *(int *)((int)&ep->X_add_number + 4);
  upper._16_2_ = *(type_4 *)&ep->field_0x10;
  upper.X_md = ep->X_md;
  lower.X_add_number._0_4_ = (int)(var_1 << 0x14) >> 0x14;
  lower.X_add_number._4_4_ = (int)(var_1 << 0x14) >> 0x1f;
  upper.X_add_number._0_4_ = var_1 - (type_3)lower.X_add_number;
  upper.X_add_number._4_4_ =
       (var_2 - lower.X_add_number._4_4_) - (type_3)(var_1 < (type_3)lower.X_add_number);
  lower.X_add_symbol = upper.X_add_symbol;
  lower.X_op_symbol = upper.X_op_symbol;
  lower._16_4_ = upper._16_4_;
  if (ep->field_0x10 == '\x02') {
    if ((var_3 < 0x21) || (var_2 + (type_3)(0x7fffffff < (var_1 & 0x80000000)) == 0)) {
      var_2 = 0;
      if ((upper.X_add_number._4_4_ == 0 && (type_3)upper.X_add_number == 0) ||
         ((var_4(ep,"lui","d,u",var_5,0x4e4), var_2 = var_5,
          lower.X_add_number._4_4_ != 0 || (type_3)lower.X_add_number != 0 || (var_5 == 0)))) {
        pcVar5 = "addiw";
        if (var_3 != 0x40) {
          pcVar5 = "addi";
        }
        var_4(ep,pcVar5,"d,s,j",var_5,var_2,0x4e8);
      }
    }
    else {
      var_7 = 0xc;
      var_1 = (type_3)upper.X_add_number >> 0xc | upper.X_add_number._4_4_ * 0x100000;
      uVar2 = (int)upper.X_add_number._4_4_ >> 0xc;
      var_6 = (type_3)upper.X_add_number >> 0xc;
      while ((var_6 & 1) == 0) {
        var_7 = var_7 + 1;
        uVar7 = (int)upper.X_add_number._4_4_ >> ((type_2)var_7 & 0x1f);
        var_8 = (type_2)var_7 & 0x1f;
        var_1 = (type_3)upper.X_add_number >> var_8 | upper.X_add_number._4_4_ << 0x20 - var_8;
        uVar2 = uVar7;
        var_6 = var_1;
        if ((var_7 & 0x20) != 0) {
          var_1 = uVar7;
          uVar2 = (int)uVar7 >> 0x1f;
          var_6 = uVar7;
        }
      }
      upper.X_add_number._0_4_ = var_1;
      upper.X_add_number._4_4_ = uVar2;
      function_1(var_5,&upper);
      var_4((type_1 *)0x0,"slli","d,s,>",var_5,var_5,var_7);
      if (lower.X_add_number._4_4_ != 0 || (type_3)lower.X_add_number != 0) {
        var_4(&lower,"addi","d,s,j",var_5,var_5,0x4e8);
      }
    }
    return;
  }
  pcVar5 = (char *)var_9(0,"unsupported large constant",5);
  var_10(pcVar5);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier) (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (string_literal (string_content)) (identifier) (identifier) (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (while_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier)) (string_literal (string_content)) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (string_literal (string_content)) (identifier) (identifier) (number_literal))))))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void __regparm3 MASKED(int param_1,undefined4 *param_2)

{
  byte bVar1;
  uint uVar2;
  char *pcVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  undefined4 local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x438ab;
  uVar5 = param_2[2];
  local_30 = *param_2;
  local_2c = param_2[1];
  local_20 = param_2[4];
  local_28 = (int)(uVar5 << 0x14) >> 0x14;
  local_24 = (int)(uVar5 << 0x14) >> 0x1f;
  uVar8 = uVar5 - local_28;
  iVar7 = (param_2[3] - local_24) - (uint)(uVar5 < local_28);
  if (*(char *)(param_2 + 4) == '\x02') {
    if ((DAT_00074c60 < 0x21) || (param_2[3] + (uint)(0x7fffffff < (uVar5 & 0x80000000)) == 0)) {
      iVar6 = 0;
      if ((iVar7 == 0 && uVar8 == 0) ||
         ((FUN_000435c0(param_2,&DAT_0005475e,&DAT_0005475a,param_1,0x4e4), iVar6 = param_1,
          local_24 != 0 || local_28 != 0 || (param_1 == 0)))) {
        pcVar3 = "addiw";
        if (DAT_00074c60 != 0x40) {
          pcVar3 = "addi";
        }
        FUN_000435c0(param_2,pcVar3,"d,s,j",param_1,iVar6,0x4e8);
      }
    }
    else {
      uVar5 = 0xc;
      uVar2 = uVar8 >> 0xc;
      while ((uVar2 & 1) == 0) {
        uVar5 = uVar5 + 1;
        bVar1 = (byte)uVar5 & 0x1f;
        uVar2 = uVar8 >> bVar1 | iVar7 << 0x20 - bVar1;
        if ((uVar5 & 0x20) != 0) {
          uVar2 = iVar7 >> ((byte)uVar5 & 0x1f);
        }
      }
      MASKED(uVar5);
      FUN_000435c0(0,&DAT_0005474f,"d,s,>",param_1,param_1,uVar5);
      if (local_24 != 0 || local_28 != 0) {
        FUN_000435c0(&local_30,&DAT_00054744,"d,s,j",param_1,param_1,0x4e8);
      }
    }
    return;
  }
  uVar4 = dcgettext(0,"unsupported large constant",5);
  FUN_0002a430(uVar4);
  return;
}

