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

void __regparm3
pcrel_access(int destreg,int tempreg,expressionS *ep,char *lo_insn,char *lo_pattern,
            bfd_reloc_code_real_type hi_reloc,bfd_reloc_code_real_type lo_reloc)

{
  fragS *frag;
  addressT val;
  expressionS ep2;
  
  frag = frag_now;
  ep2._16_1_ = 3;
  val = frag_now_fix();
  ep2.X_add_symbol = (symbolS *)local_symbol_make(".L0 ",now_seg,val,frag);
  ep2.X_add_number._0_4_ = 0;
  ep2.X_add_number._4_4_ = 0;
  macro_build(ep,"auipc","d,u");
  macro_build(&ep2,lo_insn,lo_pattern);
  return;
}



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

void __regparm3
FUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7)

{
  undefined4 uVar1;
  undefined8 uVar2;
  undefined4 local_30 [2];
  undefined4 local_28;
  undefined4 local_24;
  undefined1 local_20;
  undefined4 uStack_14;
  
  uVar1 = DAT_00074ea4;
  uStack_14 = 0x43afd;
  local_20 = 3;
  uVar2 = FUN_00023490();
  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);
  local_28 = 0;
  local_24 = 0;
  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);
  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);
  return;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x00015040
ADD EBX,0x28503
SUB ESP,0x3c
MOV dword ptr [ESP + 0xc],EAX
MOV byte ptr [ESP + 0x2c],0x3
LEA EAX,[EBX + 0x8ea4]
MOV ESI,dword ptr [EAX]
CALL 0x00023490
SUB ESP,0xc
PUSH ESI
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0x8d7c]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xfffe3ae2]
PUSH EAX
CALL 0x000354f0
MOV dword ptr [ESP + 0x44],0x0
MOV dword ptr [ESP + 0x3c],EAX
LEA EAX,[EBX + 0xfffe875a]
MOV dword ptr [ESP + 0x48],0x0
ADD ESP,0x14
PUSH dword ptr [ESP + 0x64]
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xfffe8762]
PUSH EAX
PUSH EBP
CALL 0x000435c0
ADD ESP,0x18
PUSH dword ptr [ESP + 0x64]
PUSH EDI
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x68]
PUSH dword ptr [ESP + 0x68]
LEA EAX,[ESP + 0x38]
PUSH EAX
CALL 0x000435c0
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\nFUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}\n\n" comment (function_definition "void __regparm3\nFUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_30 [2];" type_identifier (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uVar1 = DAT_00074ea4;" (assignment_expression "uVar1 = DAT_00074ea4" identifier = identifier) ;) (expression_statement "uStack_14 = 0x43afd;" (assignment_expression "uStack_14 = 0x43afd" identifier = number_literal) ;) (expression_statement "local_20 = 3;" (assignment_expression "local_20 = 3" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_00023490();" (assignment_expression "uVar2 = FUN_00023490()" identifier = (call_expression "FUN_00023490()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);" (assignment_expression "local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (call_expression "FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" identifier (argument_list "(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" ( (pointer_expression "&DAT_0004fae2" & identifier) , identifier , identifier , identifier )))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);" (call_expression "FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6)" identifier (argument_list "(param_3,"auipc",&DAT_0005475a,param_2,param_6)" ( identifier , (string_literal ""auipc"" " string_content ") , (pointer_expression "&DAT_0005475a" & identifier) , identifier , identifier ))) ;) (expression_statement "FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);" (call_expression "FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7)" identifier (argument_list "(local_30,param_4,param_5,param_1,param_2,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\npcrel_access(int destreg,int tempreg,expressionS *ep,char *lo_insn,char *lo_pattern,\n            bfd_reloc_code_real_type hi_reloc,bfd_reloc_code_real_type lo_reloc)\n\n{\n  fragS *frag;\n  addressT val;\n  expressionS ep2;\n  \n  frag = frag_now;\n  ep2._16_1_ = 3;\n  val = frag_now_fix();\n  ep2.X_add_symbol = (symbolS *)local_symbol_make(".L0 ",now_seg,val,frag);\n  ep2.X_add_number._0_4_ = 0;\n  ep2.X_add_number._4_4_ = 0;\n  macro_build(ep,"auipc","d,u");\n  macro_build(&ep2,lo_insn,lo_pattern);\n  return;\n}\n\n" comment (function_definition "void __regparm3\npcrel_access(int destreg,int tempreg,expressionS *ep,char *lo_insn,char *lo_pattern,\n            bfd_reloc_code_real_type hi_reloc,bfd_reloc_code_real_type lo_reloc)\n\n{\n  fragS *frag;\n  addressT val;\n  expressionS ep2;\n  \n  frag = frag_now;\n  ep2._16_1_ = 3;\n  val = frag_now_fix();\n  ep2.X_add_symbol = (symbolS *)local_symbol_make(".L0 ",now_seg,val,frag);\n  ep2.X_add_number._0_4_ = 0;\n  ep2.X_add_number._4_4_ = 0;\n  macro_build(ep,"auipc","d,u");\n  macro_build(&ep2,lo_insn,lo_pattern);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "pcrel_access(int destreg,int tempreg,expressionS *ep,char *lo_insn,char *lo_pattern,\n            bfd_reloc_code_real_type hi_reloc,bfd_reloc_code_real_type lo_reloc)" identifier (parameter_list "(int destreg,int tempreg,expressionS *ep,char *lo_insn,char *lo_pattern,\n            bfd_reloc_code_real_type hi_reloc,bfd_reloc_code_real_type lo_reloc)" ( (parameter_declaration "int destreg" primitive_type identifier) , (parameter_declaration "int tempreg" primitive_type identifier) , (parameter_declaration "expressionS *ep" type_identifier (pointer_declarator "*ep" * identifier)) , (parameter_declaration "char *lo_insn" primitive_type (pointer_declarator "*lo_insn" * identifier)) , (parameter_declaration "char *lo_pattern" primitive_type (pointer_declarator "*lo_pattern" * identifier)) , (parameter_declaration "bfd_reloc_code_real_type hi_reloc" type_identifier identifier) , (parameter_declaration "bfd_reloc_code_real_type lo_reloc" type_identifier identifier) ))) (compound_statement "{\n  fragS *frag;\n  addressT val;\n  expressionS ep2;\n  \n  frag = frag_now;\n  ep2._16_1_ = 3;\n  val = frag_now_fix();\n  ep2.X_add_symbol = (symbolS *)local_symbol_make(".L0 ",now_seg,val,frag);\n  ep2.X_add_number._0_4_ = 0;\n  ep2.X_add_number._4_4_ = 0;\n  macro_build(ep,"auipc","d,u");\n  macro_build(&ep2,lo_insn,lo_pattern);\n  return;\n}" { (declaration "fragS *frag;" type_identifier (pointer_declarator "*frag" * identifier) ;) (declaration "addressT val;" type_identifier identifier ;) (declaration "expressionS ep2;" type_identifier identifier ;) (expression_statement "frag = frag_now;" (assignment_expression "frag = frag_now" identifier = identifier) ;) (expression_statement "ep2._16_1_ = 3;" (assignment_expression "ep2._16_1_ = 3" (field_expression "ep2._16_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "val = frag_now_fix();" (assignment_expression "val = frag_now_fix()" identifier = (call_expression "frag_now_fix()" identifier (argument_list "()" ( )))) ;) (expression_statement "ep2.X_add_symbol = (symbolS *)local_symbol_make(".L0 ",now_seg,val,frag);" (assignment_expression "ep2.X_add_symbol = (symbolS *)local_symbol_make(".L0 ",now_seg,val,frag)" (field_expression "ep2.X_add_symbol" identifier . field_identifier) = (cast_expression "(symbolS *)local_symbol_make(".L0 ",now_seg,val,frag)" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "local_symbol_make(".L0 ",now_seg,val,frag)" identifier (argument_list "(".L0 ",now_seg,val,frag)" ( (string_literal "".L0 "" " string_content ") , identifier , identifier , identifier ))))) ;) (expression_statement "ep2.X_add_number._0_4_ = 0;" (assignment_expression "ep2.X_add_number._0_4_ = 0" (field_expression "ep2.X_add_number._0_4_" (field_expression "ep2.X_add_number" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "ep2.X_add_number._4_4_ = 0;" (assignment_expression "ep2.X_add_number._4_4_ = 0" (field_expression "ep2.X_add_number._4_4_" (field_expression "ep2.X_add_number" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "macro_build(ep,"auipc","d,u");" (call_expression "macro_build(ep,"auipc","d,u")" identifier (argument_list "(ep,"auipc","d,u")" ( identifier , (string_literal ""auipc"" " string_content ") , (string_literal ""d,u"" " string_content ") ))) ;) (expression_statement "macro_build(&ep2,lo_insn,lo_pattern);" (call_expression "macro_build(&ep2,lo_insn,lo_pattern)" identifier (argument_list "(&ep2,lo_insn,lo_pattern)" ( (pointer_expression "&ep2" & identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3\nFUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_30 [2];" type_identifier (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uVar1 = DAT_00074ea4;" (assignment_expression "uVar1 = DAT_00074ea4" identifier = identifier) ;) (expression_statement "uStack_14 = 0x43afd;" (assignment_expression "uStack_14 = 0x43afd" identifier = number_literal) ;) (expression_statement "local_20 = 3;" (assignment_expression "local_20 = 3" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_00023490();" (assignment_expression "uVar2 = FUN_00023490()" identifier = (call_expression "FUN_00023490()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);" (assignment_expression "local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (call_expression "FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" identifier (argument_list "(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" ( (pointer_expression "&DAT_0004fae2" & identifier) , identifier , identifier , identifier )))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);" (call_expression "FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6)" identifier (argument_list "(param_3,"auipc",&DAT_0005475a,param_2,param_6)" ( identifier , (string_literal ""auipc"" " string_content ") , (pointer_expression "&DAT_0005475a" & identifier) , identifier , identifier ))) ;) (expression_statement "FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);" (call_expression "FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7)" identifier (argument_list "(local_30,param_4,param_5,param_1,param_2,param_7)" ( identifier , identifier , identifier , identifier , 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3\nFUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00043af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" (identifier "FUN_00043af0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  undefined4 local_30 [2];\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uVar1 = DAT_00074ea4;\n  uStack_14 = 0x43afd;\n  local_20 = 3;\n  uVar2 = FUN_00023490();\n  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);\n  local_28 = 0;\n  local_24 = 0;\n  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);\n  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined4 local_30 [2];" (type_identifier "undefined4") (array_declarator "local_30 [2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined1 local_20;" (type_identifier "undefined1") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uVar1 = DAT_00074ea4;" (assignment_expression "uVar1 = DAT_00074ea4" (identifier "uVar1") (= "=") (identifier "DAT_00074ea4")) (; ";")) (expression_statement "uStack_14 = 0x43afd;" (assignment_expression "uStack_14 = 0x43afd" (identifier "uStack_14") (= "=") (number_literal "0x43afd")) (; ";")) (expression_statement "local_20 = 3;" (assignment_expression "local_20 = 3" (identifier "local_20") (= "=") (number_literal "3")) (; ";")) (expression_statement "uVar2 = FUN_00023490();" (assignment_expression "uVar2 = FUN_00023490()" (identifier "uVar2") (= "=") (call_expression "FUN_00023490()" (identifier "FUN_00023490") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);" (assignment_expression "local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (call_expression "FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" (identifier "FUN_000354f0") (argument_list "(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1)" (( "(") (pointer_expression "&DAT_0004fae2" (& "&") (identifier "DAT_0004fae2")) (, ",") (identifier "DAT_00074d7c") (, ",") (identifier "uVar2") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);" (call_expression "FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6)" (identifier "FUN_000435c0") (argument_list "(param_3,"auipc",&DAT_0005475a,param_2,param_6)" (( "(") (identifier "param_3") (, ",") (string_literal ""auipc"" (" """) (string_content "auipc") (" """)) (, ",") (pointer_expression "&DAT_0005475a" (& "&") (identifier "DAT_0005475a")) (, ",") (identifier "param_2") (, ",") (identifier "param_6") () ")"))) (; ";")) (expression_statement "FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);" (call_expression "FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7)" (identifier "FUN_000435c0") (argument_list "(local_30,param_4,param_5,param_1,param_2,param_7)" (( "(") (identifier "local_30") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_7") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3
function_1(int destreg,int tempreg,type_1 *ep,char *lo_insn,char *lo_pattern,
            type_2 hi_reloc,type_2 lo_reloc)

{
  type_3 *frag;
  type_4 val;
  type_1 ep2;
  
  frag = frag_now;
  ep2._16_1_ = 3;
  val = var_1();
  ep2.X_add_symbol = (type_5 *)var_2(".L0 ",now_seg,val,frag);
  ep2.X_add_number._0_4_ = 0;
  ep2.X_add_number._4_4_ = 0;
  var_3(ep,"auipc","d,u");
  var_3(&ep2,lo_insn,lo_pattern);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (pointer_expression argument: (identifier)) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))) (return_statement))))

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

void __regparm3
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7)

{
  undefined4 uVar1;
  undefined8 uVar2;
  undefined4 local_30 [2];
  undefined4 local_28;
  undefined4 local_24;
  undefined1 local_20;
  undefined4 uStack_14;
  
  uVar1 = DAT_00074ea4;
  uStack_14 = 0x43afd;
  local_20 = 3;
  uVar2 = FUN_00023490();
  local_30[0] = FUN_000354f0(&DAT_0004fae2,DAT_00074d7c,uVar2,uVar1);
  local_28 = 0;
  local_24 = 0;
  FUN_000435c0(param_3,"auipc",&DAT_0005475a,param_2,param_6);
  FUN_000435c0(local_30,param_4,param_5,param_1,param_2,param_7);
  return;
}

