
void __regparm3 bigval_import_le(bigval *r,void *vdata,int len)

{
  uint *puVar1;
  uint uVar2;
  uint uVar3;
  
  if (0 < len) {
    uVar2 = 0;
    do {
      uVar3 = uVar2 + 1;
      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));
      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);
      uVar2 = uVar3;
    } while (uVar3 != len);
  }
  return;
}



void __regparm3 FUN_00043c70(int param_1,int param_2,uint param_3)

{
  uint *puVar1;
  uint uVar2;
  uint uVar3;
  
  if (0 < (int)param_3) {
    uVar2 = 0;
    do {
      uVar3 = uVar2 + 1;
      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));
      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);
      uVar2 = uVar3;
    } while (uVar3 != param_3);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
TEST ECX,ECX
JLE 0x00043c9d
MOV EBP,ECX
XOR EBX,EBX
LEA ESI,[ESI]
MOV ECX,EBX
MOVZX ESI,byte ptr [EDX + EBX*0x1]
MOV EDI,EBX
ADD EBX,0x1
AND ECX,0x3
AND EDI,0xfffffffc
SHL ECX,0x3
SHL ESI,CL
OR dword ptr [EAX + EDI*0x1],ESI
CMP EBX,EBP
JNZ 0x00043c80
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm3 FUN_00043c70(int param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00043c70(int param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043c70(int param_1,int param_2,uint param_3)" identifier (parameter_list "(int param_1,int param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);" do (compound_statement "{\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    }" { (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));" (assignment_expression "puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc))" identifier = (cast_expression "(uint *)(param_1 + (uVar2 & 0xfffffffc))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar2 & 0xfffffffc))" ( (binary_expression "param_1 + (uVar2 & 0xfffffffc)" identifier + (parenthesized_expression "(uVar2 & 0xfffffffc)" ( (binary_expression "uVar2 & 0xfffffffc" identifier & number_literal) ))) )))) ;) (expression_statement "*puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);" (assignment_expression "*puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" * identifier) | (binary_expression "(uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (binary_expression "(uint)*(byte *)(param_2 + uVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + uVar2)" ( (binary_expression "param_2 + uVar2" identifier + identifier) )))) << (call_expression "(sbyte)((uVar2 & 3) << 3)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "((uVar2 & 3) << 3)" ( (binary_expression "(uVar2 & 3) << 3" (parenthesized_expression "(uVar2 & 3)" ( (binary_expression "uVar2 & 3" identifier & number_literal) )) << number_literal) )))))) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 != param_3)" ( (binary_expression "uVar3 != param_3" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 bigval_import_le(bigval *r,void *vdata,int len)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < len) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != len);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 bigval_import_le(bigval *r,void *vdata,int len)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < len) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != len);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "bigval_import_le(bigval *r,void *vdata,int len)" identifier (parameter_list "(bigval *r,void *vdata,int len)" ( (parameter_declaration "bigval *r" type_identifier (pointer_declarator "*r" * identifier)) , (parameter_declaration "void *vdata" primitive_type (pointer_declarator "*vdata" * identifier)) , (parameter_declaration "int len" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < len) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != len);\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (0 < len) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != len);\n  }" if (parenthesized_expression "(0 < len)" ( (binary_expression "0 < len" number_literal < identifier) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != len);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != len);" do (compound_statement "{\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    }" { (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc));" (assignment_expression "puVar1 = (uint *)((int)r->w + (uVar2 & 0xfffffffc))" identifier = (cast_expression "(uint *)((int)r->w + (uVar2 & 0xfffffffc))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)r->w + (uVar2 & 0xfffffffc))" ( (binary_expression "(int)r->w + (uVar2 & 0xfffffffc)" (cast_expression "(int)r->w" ( (type_descriptor "int" primitive_type) ) (field_expression "r->w" identifier -> field_identifier)) + (parenthesized_expression "(uVar2 & 0xfffffffc)" ( (binary_expression "uVar2 & 0xfffffffc" identifier & number_literal) ))) )))) ;) (expression_statement "*puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3);" (assignment_expression "*puVar1 = *puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | (uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" * identifier) | (binary_expression "(uint)*(byte *)((int)vdata + uVar2) << (sbyte)((uVar2 & 3) << 3)" (binary_expression "(uint)*(byte *)((int)vdata + uVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)vdata + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + uVar2)" ( (binary_expression "(int)vdata + uVar2" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) << (call_expression "(sbyte)((uVar2 & 3) << 3)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "((uVar2 & 3) << 3)" ( (binary_expression "(uVar2 & 3) << 3" (parenthesized_expression "(uVar2 & 3)" ( (binary_expression "uVar2 & 3" identifier & number_literal) )) << number_literal) )))))) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 != len)" ( (binary_expression "uVar3 != len" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00043c70(int param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00043c70(int param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043c70(int param_1,int param_2,uint param_3)" identifier (parameter_list "(int param_1,int param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);" do (compound_statement "{\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    }" { (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));" (assignment_expression "puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc))" identifier = (cast_expression "(uint *)(param_1 + (uVar2 & 0xfffffffc))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar2 & 0xfffffffc))" ( (binary_expression "param_1 + (uVar2 & 0xfffffffc)" identifier + (parenthesized_expression "(uVar2 & 0xfffffffc)" ( (binary_expression "uVar2 & 0xfffffffc" identifier & number_literal) ))) )))) ;) (expression_statement "*puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);" (assignment_expression "*puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" * identifier) | (binary_expression "(uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (binary_expression "(uint)*(byte *)(param_2 + uVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + uVar2)" ( (binary_expression "param_2 + uVar2" identifier + identifier) )))) << (call_expression "(sbyte)((uVar2 & 3) << 3)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "((uVar2 & 3) << 3)" ( (binary_expression "(uVar2 & 3) << 3" (parenthesized_expression "(uVar2 & 3)" ( (binary_expression "uVar2 & 3" identifier & number_literal) )) << number_literal) )))))) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 != param_3)" ( (binary_expression "uVar3 != param_3" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) << (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) )))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00043c70(int param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00043c70(int param_1,int param_2,uint param_3)" (identifier "FUN_00043c70") (parameter_list "(int param_1,int param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (if_statement "if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }" (if "if") (parenthesized_expression "(0 < (int)param_3)" (( "(") (binary_expression "0 < (int)param_3" (number_literal "0") (< "<") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) () ")")) (compound_statement "{\n    uVar2 = 0;\n    do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    } while (uVar3 != param_3);" (do "do") (compound_statement "{\n      uVar3 = uVar2 + 1;\n      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));\n      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);\n      uVar2 = uVar3;\n    }" ({ "{") (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));" (assignment_expression "puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc))" (identifier "puVar1") (= "=") (cast_expression "(uint *)(param_1 + (uVar2 & 0xfffffffc))" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (uVar2 & 0xfffffffc))" (( "(") (binary_expression "param_1 + (uVar2 & 0xfffffffc)" (identifier "param_1") (+ "+") (parenthesized_expression "(uVar2 & 0xfffffffc)" (( "(") (binary_expression "uVar2 & 0xfffffffc" (identifier "uVar2") (& "&") (number_literal "0xfffffffc")) () ")"))) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);" (assignment_expression "*puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (binary_expression "(uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3)" (binary_expression "(uint)*(byte *)(param_2 + uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + uVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + uVar2)" (( "(") (binary_expression "param_2 + uVar2" (identifier "param_2") (+ "+") (identifier "uVar2")) () ")")))) (<< "<<") (call_expression "(sbyte)((uVar2 & 3) << 3)" (parenthesized_expression "(sbyte)" (( "(") (identifier "sbyte") () ")")) (argument_list "((uVar2 & 3) << 3)" (( "(") (binary_expression "(uVar2 & 3) << 3" (parenthesized_expression "(uVar2 & 3)" (( "(") (binary_expression "uVar2 & 3" (identifier "uVar2") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "3")) () ")")))))) (; ";")) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" (identifier "uVar2") (= "=") (identifier "uVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 != param_3)" (( "(") (binary_expression "uVar3 != param_3" (identifier "uVar3") (!= "!=") (identifier "param_3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *r,void *vdata,int var_1)

{
  type_2 *puVar1;
  type_2 var_2;
  type_2 var_3;
  
  if (0 < var_1) {
    var_2 = 0;
    do {
      var_3 = var_2 + 1;
      puVar1 = (type_2 *)((int)r->w + (var_2 & 0xfffffffc));
      *puVar1 = *puVar1 | (type_2)*(type_3 *)((int)vdata + var_2) << (sbyte)((var_2 & 3) << 3);
      var_2 = var_3;
    } while (var_3 != var_1);
  }
  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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

void __regparm3 MASKED(int param_1,int param_2,uint param_3)

{
  uint *puVar1;
  uint uVar2;
  uint uVar3;
  
  if (0 < (int)param_3) {
    uVar2 = 0;
    do {
      uVar3 = uVar2 + 1;
      puVar1 = (uint *)(param_1 + (uVar2 & 0xfffffffc));
      *puVar1 = *puVar1 | (uint)*(byte *)(param_2 + uVar2) << (sbyte)((uVar2 & 3) << 3);
      uVar2 = uVar3;
    } while (uVar3 != param_3);
  }
  return;
}

