
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void output_fde(fde_entry * fde, cie_entry * cie, bfd_boolean eh_frame,
   cfi_insn_data * first, int align, cie_entry * cie) */

void __regparm3
output_fde(fde_entry *fde,cie_entry *cie,bfd_boolean eh_frame,cfi_insn_data *first,int align,
          cie_entry *cie_1)

{
  symbolS *sym;
  symbolS *sym_00;
  uint uVar1;
  expressionS exp;
  expressionS exp_1;
  
  sym = symbol_temp_make();
  sym_00 = symbol_temp_make();
  exp._12_1_ = 0x14;
  exp.X_add_number = 0;
  exp.X_add_symbol = sym_00;
  exp.X_op_symbol = sym;
  emit_expr(&exp,4);
  symbol_set_value_now(sym);
  if (first == (cfi_insn_data *)0x0) {
    exp_1.X_add_symbol = (symbolS *)cie->next;
    exp_1._12_1_ = 3;
    exp_1.X_add_number = 0;
    emit_expr(&exp_1,4);
    exp.X_add_symbol = fde->start_address;
    exp._12_1_ = 3;
    exp.X_add_number = 0;
    uVar1 = bfd_arch_bits_per_address(stdoutput);
    emit_expr(&exp,uVar1 >> 3);
    exp.X_add_symbol = fde->end_address;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_op_symbol = fde->start_address;
    emit_expr(&exp,uVar1 >> 3);
    encoding_size(fde->lsda_encoding);
  }
  else {
    exp.X_op_symbol = (symbolS *)cie->next;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_add_symbol = sym;
    emit_expr(&exp,4);
    exp.X_add_symbol = fde->start_address;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_op_symbol = symbol_temp_new_now();
    emit_expr(&exp,4);
    exp.X_add_symbol = fde->end_address;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_op_symbol = fde->start_address;
    emit_expr(&exp,4);
    uVar1 = encoding_size(fde->lsda_encoding);
    out_uleb128(uVar1);
  }
  emit_expr_encoded(&fde->lsda,(uint)*(byte *)eh_frame,0);
  if (align != 0) {
    do {
      output_cfi_insn((cfi_insn_data *)align);
      align = (int)((cfi_insn_data *)align)->next;
    } while ((cfi_insn_data *)align != (cfi_insn_data *)0x0);
  }
  frag_align((int)cie_1,0,0);
  symbol_set_value_now(sym_00);
  return;
}



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

void __regparm2
FUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)

{
  undefined4 uVar1;
  undefined4 uVar2;
  uint uVar3;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined1 local_30;
  undefined4 local_2c [2];
  undefined4 local_24;
  undefined1 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1f65b;
  uVar1 = FUN_00038de0();
  uVar2 = FUN_00038de0();
  local_30 = 0x14;
  local_34 = 0;
  local_3c = uVar2;
  local_38 = uVar1;
  FUN_000312b0(&local_3c,4);
  FUN_0003b4e0(uVar1);
  if (param_3 == 0) {
    local_2c[0] = *param_2;
    local_20 = 3;
    local_24 = 0;
    FUN_000312b0(local_2c,4);
    local_3c = *(undefined4 *)(param_1 + 4);
    local_30 = 3;
    local_34 = 0;
    uVar3 = bfd_arch_bits_per_address(DAT_00081784);
    FUN_000312b0(&local_3c,uVar3 >> 3);
    local_3c = *(undefined4 *)(param_1 + 8);
    local_30 = 0x14;
    local_34 = 0;
    local_38 = *(undefined4 *)(param_1 + 4);
    FUN_000312b0(&local_3c,uVar3 >> 3);
    FUN_0001f4f0();
  }
  else {
    local_38 = *param_2;
    local_30 = 0x14;
    local_34 = 0;
    local_3c = uVar1;
    FUN_000312b0(&local_3c,4);
    local_3c = *(undefined4 *)(param_1 + 4);
    local_30 = 0x14;
    local_34 = 0;
    local_38 = FUN_00038e30();
    FUN_000312b0(&local_3c,4);
    local_3c = *(undefined4 *)(param_1 + 8);
    local_30 = 0x14;
    local_34 = 0;
    local_38 = *(undefined4 *)(param_1 + 4);
    FUN_000312b0(&local_3c,4);
    FUN_0001f4f0();
    FUN_0001ecf0();
  }
  FUN_0001f5a0();
  if (param_4 != (int *)0x0) {
    do {
      FUN_0001ed30();
      param_4 = (int *)*param_4;
    } while (param_4 != (int *)0x0);
  }
  FUN_000250e0(param_5,0,0);
  FUN_0003b4e0(uVar2);
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00017010
ADD EBX,0x589a5
SUB ESP,0x3c
MOV dword ptr [ESP + 0xc],EDX
MOV ESI,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x8],ECX
CALL 0x00038de0
MOV EBP,EAX
CALL 0x00038de0
MOV byte ptr [ESP + 0x1c],0x14
SUB ESP,0x8
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x1c],EBP
MOV dword ptr [ESP + 0x20],0x0
PUSH 0x4
LEA EAX,[ESP + 0x1c]
MOV dword ptr [ESP + 0xc],EAX
PUSH EAX
CALL 0x000312b0
MOV dword ptr [ESP],EBP
CALL 0x0003b4e0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x50]
MOV EDX,dword ptr [ESP + 0xc]
TEST ECX,ECX
JZ 0x0001f790
MOV EAX,dword ptr [EDX]
MOV byte ptr [ESP + 0x1c],0x14
SUB ESP,0x8
MOV dword ptr [ESP + 0x18],EBP
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x20],0x0
PUSH 0x4
MOV EBP,dword ptr [ESP + 0xc]
PUSH EBP
CALL 0x000312b0
MOV EAX,dword ptr [EDI + 0x4]
MOV byte ptr [ESP + 0x2c],0x14
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x20],EAX
CALL 0x00038e30
MOV dword ptr [ESP + 0x24],EAX
POP ECX
POP EAX
PUSH 0x4
PUSH EBP
CALL 0x000312b0
MOV EAX,dword ptr [EDI + 0x8]
MOV byte ptr [ESP + 0x2c],0x14
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [EDI + 0x4]
MOV dword ptr [ESP + 0x24],EAX
POP EAX
POP EDX
PUSH 0x4
PUSH EBP
CALL 0x000312b0
MOVZX EAX,byte ptr [EDI + 0x15]
CALL 0x0001f4f0
CALL 0x0001ecf0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
XOR ECX,ECX
MOVZX EDX,byte ptr [EAX]
LEA EAX,[EDI + 0x2c]
CALL 0x0001f5a0
TEST ESI,ESI
JZ 0x0001f76d
LEA ESI,[ESI]
NOP
MOV EAX,ESI
CALL 0x0001ed30
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JNZ 0x0001f760
SUB ESP,0x4
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESP + 0x64]
CALL 0x000250e0
POP EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x0003b4e0
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDX]
MOV byte ptr [ESP + 0x2c],0x3
SUB ESP,0x8
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0x28],EAX
PUSH 0x4
LEA EAX,[ESP + 0x2c]
PUSH EAX
CALL 0x000312b0
MOV EAX,dword ptr [EDI + 0x4]
MOV byte ptr [ESP + 0x2c],0x3
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x20],EAX
LEA EAX,[EBX + 0x9784]
POP EDX
PUSH dword ptr [EAX]
CALL 0x00015740
POP ECX
SHR EAX,0x3
MOV EBP,EAX
POP EAX
PUSH EBP
PUSH dword ptr [ESP + 0xc]
CALL 0x000312b0
MOV EAX,dword ptr [EDI + 0x8]
MOV byte ptr [ESP + 0x2c],0x14
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [EDI + 0x4]
MOV dword ptr [ESP + 0x24],EAX
POP EAX
POP EDX
PUSH EBP
PUSH dword ptr [ESP + 0xc]
CALL 0x000312b0
MOVZX EAX,byte ptr [EDI + 0x15]
CALL 0x0001f4f0
ADD ESP,0x10
JMP 0x0001f746
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2\nFUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}\n\n" comment (function_definition "void __regparm2\nFUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined1 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c [2];" type_identifier (array_declarator "local_2c [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1f65b;" (assignment_expression "uStack_14 = 0x1f65b" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_00038de0();" (assignment_expression "uVar1 = FUN_00038de0()" identifier = (call_expression "FUN_00038de0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_00038de0();" (assignment_expression "uVar2 = FUN_00038de0()" identifier = (call_expression "FUN_00038de0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_3c = uVar2;" (assignment_expression "local_3c = uVar2" identifier = identifier) ;) (expression_statement "local_38 = uVar1;" (assignment_expression "local_38 = uVar1" identifier = identifier) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "FUN_0003b4e0(uVar1);" (call_expression "FUN_0003b4e0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (if_statement "if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }" { (expression_statement "local_2c[0] = *param_2;" (assignment_expression "local_2c[0] = *param_2" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_20 = 3;" (assignment_expression "local_20 = 3" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "FUN_000312b0(local_2c,4);" (call_expression "FUN_000312b0(local_2c,4)" identifier (argument_list "(local_2c,4)" ( identifier , number_literal ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 3;" (assignment_expression "local_30 = 3" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = bfd_arch_bits_per_address(DAT_00081784);" (assignment_expression "uVar3 = bfd_arch_bits_per_address(DAT_00081784)" identifier = (call_expression "bfd_arch_bits_per_address(DAT_00081784)" identifier (argument_list "(DAT_00081784)" ( identifier )))) ;) (expression_statement "FUN_000312b0(&local_3c,uVar3 >> 3);" (call_expression "FUN_000312b0(&local_3c,uVar3 >> 3)" identifier (argument_list "(&local_3c,uVar3 >> 3)" ( (pointer_expression "&local_3c" & identifier) , (binary_expression "uVar3 >> 3" identifier >> number_literal) ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_38 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "FUN_000312b0(&local_3c,uVar3 >> 3);" (call_expression "FUN_000312b0(&local_3c,uVar3 >> 3)" identifier (argument_list "(&local_3c,uVar3 >> 3)" ( (pointer_expression "&local_3c" & identifier) , (binary_expression "uVar3 >> 3" identifier >> number_literal) ))) ;) (expression_statement "FUN_0001f4f0();" (call_expression "FUN_0001f4f0()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" else (compound_statement "{\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" { (expression_statement "local_38 = *param_2;" (assignment_expression "local_38 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_3c = uVar1;" (assignment_expression "local_3c = uVar1" identifier = identifier) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = FUN_00038e30();" (assignment_expression "local_38 = FUN_00038e30()" identifier = (call_expression "FUN_00038e30()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_38 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "FUN_0001f4f0();" (call_expression "FUN_0001f4f0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001ecf0();" (call_expression "FUN_0001ecf0()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "FUN_0001f5a0();" (call_expression "FUN_0001f5a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }" { (do_statement "do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);" do (compound_statement "{\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    }" { (expression_statement "FUN_0001ed30();" (call_expression "FUN_0001ed30()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_4 = (int *)*param_4;" (assignment_expression "param_4 = (int *)*param_4" identifier = (cast_expression "(int *)*param_4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }) while (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "FUN_000250e0(param_5,0,0);" (call_expression "FUN_000250e0(param_5,0,0)" identifier (argument_list "(param_5,0,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_0003b4e0(uVar2);" (call_expression "FUN_0003b4e0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void output_fde(fde_entry * fde, cie_entry * cie, bfd_boolean eh_frame,\n   cfi_insn_data * first, int align, cie_entry * cie) */\n\nvoid __regparm3\noutput_fde(fde_entry *fde,cie_entry *cie,bfd_boolean eh_frame,cfi_insn_data *first,int align,\n          cie_entry *cie_1)\n\n{\n  symbolS *sym;\n  symbolS *sym_00;\n  uint uVar1;\n  expressionS exp;\n  expressionS exp_1;\n  \n  sym = symbol_temp_make();\n  sym_00 = symbol_temp_make();\n  exp._12_1_ = 0x14;\n  exp.X_add_number = 0;\n  exp.X_add_symbol = sym_00;\n  exp.X_op_symbol = sym;\n  emit_expr(&exp,4);\n  symbol_set_value_now(sym);\n  if (first == (cfi_insn_data *)0x0) {\n    exp_1.X_add_symbol = (symbolS *)cie->next;\n    exp_1._12_1_ = 3;\n    exp_1.X_add_number = 0;\n    emit_expr(&exp_1,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 3;\n    exp.X_add_number = 0;\n    uVar1 = bfd_arch_bits_per_address(stdoutput);\n    emit_expr(&exp,uVar1 >> 3);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,uVar1 >> 3);\n    encoding_size(fde->lsda_encoding);\n  }\n  else {\n    exp.X_op_symbol = (symbolS *)cie->next;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_add_symbol = sym;\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = symbol_temp_new_now();\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,4);\n    uVar1 = encoding_size(fde->lsda_encoding);\n    out_uleb128(uVar1);\n  }\n  emit_expr_encoded(&fde->lsda,(uint)*(byte *)eh_frame,0);\n  if (align != 0) {\n    do {\n      output_cfi_insn((cfi_insn_data *)align);\n      align = (int)((cfi_insn_data *)align)->next;\n    } while ((cfi_insn_data *)align != (cfi_insn_data *)0x0);\n  }\n  frag_align((int)cie_1,0,0);\n  symbol_set_value_now(sym_00);\n  return;\n}\n\n" comment comment (function_definition "void __regparm3\noutput_fde(fde_entry *fde,cie_entry *cie,bfd_boolean eh_frame,cfi_insn_data *first,int align,\n          cie_entry *cie_1)\n\n{\n  symbolS *sym;\n  symbolS *sym_00;\n  uint uVar1;\n  expressionS exp;\n  expressionS exp_1;\n  \n  sym = symbol_temp_make();\n  sym_00 = symbol_temp_make();\n  exp._12_1_ = 0x14;\n  exp.X_add_number = 0;\n  exp.X_add_symbol = sym_00;\n  exp.X_op_symbol = sym;\n  emit_expr(&exp,4);\n  symbol_set_value_now(sym);\n  if (first == (cfi_insn_data *)0x0) {\n    exp_1.X_add_symbol = (symbolS *)cie->next;\n    exp_1._12_1_ = 3;\n    exp_1.X_add_number = 0;\n    emit_expr(&exp_1,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 3;\n    exp.X_add_number = 0;\n    uVar1 = bfd_arch_bits_per_address(stdoutput);\n    emit_expr(&exp,uVar1 >> 3);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,uVar1 >> 3);\n    encoding_size(fde->lsda_encoding);\n  }\n  else {\n    exp.X_op_symbol = (symbolS *)cie->next;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_add_symbol = sym;\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = symbol_temp_new_now();\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,4);\n    uVar1 = encoding_size(fde->lsda_encoding);\n    out_uleb128(uVar1);\n  }\n  emit_expr_encoded(&fde->lsda,(uint)*(byte *)eh_frame,0);\n  if (align != 0) {\n    do {\n      output_cfi_insn((cfi_insn_data *)align);\n      align = (int)((cfi_insn_data *)align)->next;\n    } while ((cfi_insn_data *)align != (cfi_insn_data *)0x0);\n  }\n  frag_align((int)cie_1,0,0);\n  symbol_set_value_now(sym_00);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "output_fde(fde_entry *fde,cie_entry *cie,bfd_boolean eh_frame,cfi_insn_data *first,int align,\n          cie_entry *cie_1)" identifier (parameter_list "(fde_entry *fde,cie_entry *cie,bfd_boolean eh_frame,cfi_insn_data *first,int align,\n          cie_entry *cie_1)" ( (parameter_declaration "fde_entry *fde" type_identifier (pointer_declarator "*fde" * identifier)) , (parameter_declaration "cie_entry *cie" type_identifier (pointer_declarator "*cie" * identifier)) , (parameter_declaration "bfd_boolean eh_frame" type_identifier identifier) , (parameter_declaration "cfi_insn_data *first" type_identifier (pointer_declarator "*first" * identifier)) , (parameter_declaration "int align" primitive_type identifier) , (parameter_declaration "cie_entry *cie_1" type_identifier (pointer_declarator "*cie_1" * identifier)) ))) (compound_statement "{\n  symbolS *sym;\n  symbolS *sym_00;\n  uint uVar1;\n  expressionS exp;\n  expressionS exp_1;\n  \n  sym = symbol_temp_make();\n  sym_00 = symbol_temp_make();\n  exp._12_1_ = 0x14;\n  exp.X_add_number = 0;\n  exp.X_add_symbol = sym_00;\n  exp.X_op_symbol = sym;\n  emit_expr(&exp,4);\n  symbol_set_value_now(sym);\n  if (first == (cfi_insn_data *)0x0) {\n    exp_1.X_add_symbol = (symbolS *)cie->next;\n    exp_1._12_1_ = 3;\n    exp_1.X_add_number = 0;\n    emit_expr(&exp_1,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 3;\n    exp.X_add_number = 0;\n    uVar1 = bfd_arch_bits_per_address(stdoutput);\n    emit_expr(&exp,uVar1 >> 3);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,uVar1 >> 3);\n    encoding_size(fde->lsda_encoding);\n  }\n  else {\n    exp.X_op_symbol = (symbolS *)cie->next;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_add_symbol = sym;\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = symbol_temp_new_now();\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,4);\n    uVar1 = encoding_size(fde->lsda_encoding);\n    out_uleb128(uVar1);\n  }\n  emit_expr_encoded(&fde->lsda,(uint)*(byte *)eh_frame,0);\n  if (align != 0) {\n    do {\n      output_cfi_insn((cfi_insn_data *)align);\n      align = (int)((cfi_insn_data *)align)->next;\n    } while ((cfi_insn_data *)align != (cfi_insn_data *)0x0);\n  }\n  frag_align((int)cie_1,0,0);\n  symbol_set_value_now(sym_00);\n  return;\n}" { (declaration "symbolS *sym;" type_identifier (pointer_declarator "*sym" * identifier) ;) (declaration "symbolS *sym_00;" type_identifier (pointer_declarator "*sym_00" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "expressionS exp;" type_identifier identifier ;) (declaration "expressionS exp_1;" type_identifier identifier ;) (expression_statement "sym = symbol_temp_make();" (assignment_expression "sym = symbol_temp_make()" identifier = (call_expression "symbol_temp_make()" identifier (argument_list "()" ( )))) ;) (expression_statement "sym_00 = symbol_temp_make();" (assignment_expression "sym_00 = symbol_temp_make()" identifier = (call_expression "symbol_temp_make()" identifier (argument_list "()" ( )))) ;) (expression_statement "exp._12_1_ = 0x14;" (assignment_expression "exp._12_1_ = 0x14" (field_expression "exp._12_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_number = 0;" (assignment_expression "exp.X_add_number = 0" (field_expression "exp.X_add_number" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_symbol = sym_00;" (assignment_expression "exp.X_add_symbol = sym_00" (field_expression "exp.X_add_symbol" identifier . field_identifier) = identifier) ;) (expression_statement "exp.X_op_symbol = sym;" (assignment_expression "exp.X_op_symbol = sym" (field_expression "exp.X_op_symbol" identifier . field_identifier) = identifier) ;) (expression_statement "emit_expr(&exp,4);" (call_expression "emit_expr(&exp,4)" identifier (argument_list "(&exp,4)" ( (pointer_expression "&exp" & identifier) , number_literal ))) ;) (expression_statement "symbol_set_value_now(sym);" (call_expression "symbol_set_value_now(sym)" identifier (argument_list "(sym)" ( identifier ))) ;) (if_statement "if (first == (cfi_insn_data *)0x0) {\n    exp_1.X_add_symbol = (symbolS *)cie->next;\n    exp_1._12_1_ = 3;\n    exp_1.X_add_number = 0;\n    emit_expr(&exp_1,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 3;\n    exp.X_add_number = 0;\n    uVar1 = bfd_arch_bits_per_address(stdoutput);\n    emit_expr(&exp,uVar1 >> 3);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,uVar1 >> 3);\n    encoding_size(fde->lsda_encoding);\n  }\n  else {\n    exp.X_op_symbol = (symbolS *)cie->next;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_add_symbol = sym;\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = symbol_temp_new_now();\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,4);\n    uVar1 = encoding_size(fde->lsda_encoding);\n    out_uleb128(uVar1);\n  }" if (parenthesized_expression "(first == (cfi_insn_data *)0x0)" ( (binary_expression "first == (cfi_insn_data *)0x0" identifier == (cast_expression "(cfi_insn_data *)0x0" ( (type_descriptor "cfi_insn_data *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    exp_1.X_add_symbol = (symbolS *)cie->next;\n    exp_1._12_1_ = 3;\n    exp_1.X_add_number = 0;\n    emit_expr(&exp_1,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 3;\n    exp.X_add_number = 0;\n    uVar1 = bfd_arch_bits_per_address(stdoutput);\n    emit_expr(&exp,uVar1 >> 3);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,uVar1 >> 3);\n    encoding_size(fde->lsda_encoding);\n  }" { (expression_statement "exp_1.X_add_symbol = (symbolS *)cie->next;" (assignment_expression "exp_1.X_add_symbol = (symbolS *)cie->next" (field_expression "exp_1.X_add_symbol" identifier . field_identifier) = (cast_expression "(symbolS *)cie->next" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "cie->next" identifier -> field_identifier))) ;) (expression_statement "exp_1._12_1_ = 3;" (assignment_expression "exp_1._12_1_ = 3" (field_expression "exp_1._12_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp_1.X_add_number = 0;" (assignment_expression "exp_1.X_add_number = 0" (field_expression "exp_1.X_add_number" identifier . field_identifier) = number_literal) ;) (expression_statement "emit_expr(&exp_1,4);" (call_expression "emit_expr(&exp_1,4)" identifier (argument_list "(&exp_1,4)" ( (pointer_expression "&exp_1" & identifier) , number_literal ))) ;) (expression_statement "exp.X_add_symbol = fde->start_address;" (assignment_expression "exp.X_add_symbol = fde->start_address" (field_expression "exp.X_add_symbol" identifier . field_identifier) = (field_expression "fde->start_address" identifier -> field_identifier)) ;) (expression_statement "exp._12_1_ = 3;" (assignment_expression "exp._12_1_ = 3" (field_expression "exp._12_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_number = 0;" (assignment_expression "exp.X_add_number = 0" (field_expression "exp.X_add_number" identifier . field_identifier) = number_literal) ;) (expression_statement "uVar1 = bfd_arch_bits_per_address(stdoutput);" (assignment_expression "uVar1 = bfd_arch_bits_per_address(stdoutput)" identifier = (call_expression "bfd_arch_bits_per_address(stdoutput)" identifier (argument_list "(stdoutput)" ( identifier )))) ;) (expression_statement "emit_expr(&exp,uVar1 >> 3);" (call_expression "emit_expr(&exp,uVar1 >> 3)" identifier (argument_list "(&exp,uVar1 >> 3)" ( (pointer_expression "&exp" & identifier) , (binary_expression "uVar1 >> 3" identifier >> number_literal) ))) ;) (expression_statement "exp.X_add_symbol = fde->end_address;" (assignment_expression "exp.X_add_symbol = fde->end_address" (field_expression "exp.X_add_symbol" identifier . field_identifier) = (field_expression "fde->end_address" identifier -> field_identifier)) ;) (expression_statement "exp._12_1_ = 0x14;" (assignment_expression "exp._12_1_ = 0x14" (field_expression "exp._12_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_number = 0;" (assignment_expression "exp.X_add_number = 0" (field_expression "exp.X_add_number" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_op_symbol = fde->start_address;" (assignment_expression "exp.X_op_symbol = fde->start_address" (field_expression "exp.X_op_symbol" identifier . field_identifier) = (field_expression "fde->start_address" identifier -> field_identifier)) ;) (expression_statement "emit_expr(&exp,uVar1 >> 3);" (call_expression "emit_expr(&exp,uVar1 >> 3)" identifier (argument_list "(&exp,uVar1 >> 3)" ( (pointer_expression "&exp" & identifier) , (binary_expression "uVar1 >> 3" identifier >> number_literal) ))) ;) (expression_statement "encoding_size(fde->lsda_encoding);" (call_expression "encoding_size(fde->lsda_encoding)" identifier (argument_list "(fde->lsda_encoding)" ( (field_expression "fde->lsda_encoding" identifier -> field_identifier) ))) ;) }) (else_clause "else {\n    exp.X_op_symbol = (symbolS *)cie->next;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_add_symbol = sym;\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = symbol_temp_new_now();\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,4);\n    uVar1 = encoding_size(fde->lsda_encoding);\n    out_uleb128(uVar1);\n  }" else (compound_statement "{\n    exp.X_op_symbol = (symbolS *)cie->next;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_add_symbol = sym;\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->start_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = symbol_temp_new_now();\n    emit_expr(&exp,4);\n    exp.X_add_symbol = fde->end_address;\n    exp._12_1_ = 0x14;\n    exp.X_add_number = 0;\n    exp.X_op_symbol = fde->start_address;\n    emit_expr(&exp,4);\n    uVar1 = encoding_size(fde->lsda_encoding);\n    out_uleb128(uVar1);\n  }" { (expression_statement "exp.X_op_symbol = (symbolS *)cie->next;" (assignment_expression "exp.X_op_symbol = (symbolS *)cie->next" (field_expression "exp.X_op_symbol" identifier . field_identifier) = (cast_expression "(symbolS *)cie->next" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "cie->next" identifier -> field_identifier))) ;) (expression_statement "exp._12_1_ = 0x14;" (assignment_expression "exp._12_1_ = 0x14" (field_expression "exp._12_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_number = 0;" (assignment_expression "exp.X_add_number = 0" (field_expression "exp.X_add_number" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_symbol = sym;" (assignment_expression "exp.X_add_symbol = sym" (field_expression "exp.X_add_symbol" identifier . field_identifier) = identifier) ;) (expression_statement "emit_expr(&exp,4);" (call_expression "emit_expr(&exp,4)" identifier (argument_list "(&exp,4)" ( (pointer_expression "&exp" & identifier) , number_literal ))) ;) (expression_statement "exp.X_add_symbol = fde->start_address;" (assignment_expression "exp.X_add_symbol = fde->start_address" (field_expression "exp.X_add_symbol" identifier . field_identifier) = (field_expression "fde->start_address" identifier -> field_identifier)) ;) (expression_statement "exp._12_1_ = 0x14;" (assignment_expression "exp._12_1_ = 0x14" (field_expression "exp._12_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_number = 0;" (assignment_expression "exp.X_add_number = 0" (field_expression "exp.X_add_number" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_op_symbol = symbol_temp_new_now();" (assignment_expression "exp.X_op_symbol = symbol_temp_new_now()" (field_expression "exp.X_op_symbol" identifier . field_identifier) = (call_expression "symbol_temp_new_now()" identifier (argument_list "()" ( )))) ;) (expression_statement "emit_expr(&exp,4);" (call_expression "emit_expr(&exp,4)" identifier (argument_list "(&exp,4)" ( (pointer_expression "&exp" & identifier) , number_literal ))) ;) (expression_statement "exp.X_add_symbol = fde->end_address;" (assignment_expression "exp.X_add_symbol = fde->end_address" (field_expression "exp.X_add_symbol" identifier . field_identifier) = (field_expression "fde->end_address" identifier -> field_identifier)) ;) (expression_statement "exp._12_1_ = 0x14;" (assignment_expression "exp._12_1_ = 0x14" (field_expression "exp._12_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_number = 0;" (assignment_expression "exp.X_add_number = 0" (field_expression "exp.X_add_number" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_op_symbol = fde->start_address;" (assignment_expression "exp.X_op_symbol = fde->start_address" (field_expression "exp.X_op_symbol" identifier . field_identifier) = (field_expression "fde->start_address" identifier -> field_identifier)) ;) (expression_statement "emit_expr(&exp,4);" (call_expression "emit_expr(&exp,4)" identifier (argument_list "(&exp,4)" ( (pointer_expression "&exp" & identifier) , number_literal ))) ;) (expression_statement "uVar1 = encoding_size(fde->lsda_encoding);" (assignment_expression "uVar1 = encoding_size(fde->lsda_encoding)" identifier = (call_expression "encoding_size(fde->lsda_encoding)" identifier (argument_list "(fde->lsda_encoding)" ( (field_expression "fde->lsda_encoding" identifier -> field_identifier) )))) ;) (expression_statement "out_uleb128(uVar1);" (call_expression "out_uleb128(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }))) (expression_statement "emit_expr_encoded(&fde->lsda,(uint)*(byte *)eh_frame,0);" (call_expression "emit_expr_encoded(&fde->lsda,(uint)*(byte *)eh_frame,0)" identifier (argument_list "(&fde->lsda,(uint)*(byte *)eh_frame,0)" ( (pointer_expression "&fde->lsda" & (field_expression "fde->lsda" identifier -> field_identifier)) , (binary_expression "(uint)*(byte *)eh_frame" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)eh_frame" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal ))) ;) (if_statement "if (align != 0) {\n    do {\n      output_cfi_insn((cfi_insn_data *)align);\n      align = (int)((cfi_insn_data *)align)->next;\n    } while ((cfi_insn_data *)align != (cfi_insn_data *)0x0);\n  }" if (parenthesized_expression "(align != 0)" ( (binary_expression "align != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      output_cfi_insn((cfi_insn_data *)align);\n      align = (int)((cfi_insn_data *)align)->next;\n    } while ((cfi_insn_data *)align != (cfi_insn_data *)0x0);\n  }" { (do_statement "do {\n      output_cfi_insn((cfi_insn_data *)align);\n      align = (int)((cfi_insn_data *)align)->next;\n    } while ((cfi_insn_data *)align != (cfi_insn_data *)0x0);" do (compound_statement "{\n      output_cfi_insn((cfi_insn_data *)align);\n      align = (int)((cfi_insn_data *)align)->next;\n    }" { (expression_statement "output_cfi_insn((cfi_insn_data *)align);" (call_expression "output_cfi_insn((cfi_insn_data *)align)" identifier (argument_list "((cfi_insn_data *)align)" ( (cast_expression "(cfi_insn_data *)align" ( (type_descriptor "cfi_insn_data *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "align = (int)((cfi_insn_data *)align)->next;" (assignment_expression "align = (int)((cfi_insn_data *)align)->next" identifier = (cast_expression "(int)((cfi_insn_data *)align)->next" ( (type_descriptor "int" primitive_type) ) (field_expression "((cfi_insn_data *)align)->next" (parenthesized_expression "((cfi_insn_data *)align)" ( (cast_expression "(cfi_insn_data *)align" ( (type_descriptor "cfi_insn_data *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))) ;) }) while (parenthesized_expression "((cfi_insn_data *)align != (cfi_insn_data *)0x0)" ( (binary_expression "(cfi_insn_data *)align != (cfi_insn_data *)0x0" (cast_expression "(cfi_insn_data *)align" ( (type_descriptor "cfi_insn_data *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (cast_expression "(cfi_insn_data *)0x0" ( (type_descriptor "cfi_insn_data *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "frag_align((int)cie_1,0,0);" (call_expression "frag_align((int)cie_1,0,0)" identifier (argument_list "((int)cie_1,0,0)" ( (cast_expression "(int)cie_1" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "symbol_set_value_now(sym_00);" (call_expression "symbol_set_value_now(sym_00)" identifier (argument_list "(sym_00)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2\nFUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}\n\n" (function_definition "void __regparm2\nFUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined1 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c [2];" type_identifier (array_declarator "local_2c [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1f65b;" (assignment_expression "uStack_14 = 0x1f65b" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_00038de0();" (assignment_expression "uVar1 = FUN_00038de0()" identifier = (call_expression "FUN_00038de0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_00038de0();" (assignment_expression "uVar2 = FUN_00038de0()" identifier = (call_expression "FUN_00038de0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_3c = uVar2;" (assignment_expression "local_3c = uVar2" identifier = identifier) ;) (expression_statement "local_38 = uVar1;" (assignment_expression "local_38 = uVar1" identifier = identifier) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "FUN_0003b4e0(uVar1);" (call_expression "FUN_0003b4e0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (if_statement "if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }" { (expression_statement "local_2c[0] = *param_2;" (assignment_expression "local_2c[0] = *param_2" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_20 = 3;" (assignment_expression "local_20 = 3" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "FUN_000312b0(local_2c,4);" (call_expression "FUN_000312b0(local_2c,4)" identifier (argument_list "(local_2c,4)" ( identifier , number_literal ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 3;" (assignment_expression "local_30 = 3" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = bfd_arch_bits_per_address(DAT_00081784);" (assignment_expression "uVar3 = bfd_arch_bits_per_address(DAT_00081784)" identifier = (call_expression "bfd_arch_bits_per_address(DAT_00081784)" identifier (argument_list "(DAT_00081784)" ( identifier )))) ;) (expression_statement "FUN_000312b0(&local_3c,uVar3 >> 3);" (call_expression "FUN_000312b0(&local_3c,uVar3 >> 3)" identifier (argument_list "(&local_3c,uVar3 >> 3)" ( (pointer_expression "&local_3c" & identifier) , (binary_expression "uVar3 >> 3" identifier >> number_literal) ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_38 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "FUN_000312b0(&local_3c,uVar3 >> 3);" (call_expression "FUN_000312b0(&local_3c,uVar3 >> 3)" identifier (argument_list "(&local_3c,uVar3 >> 3)" ( (pointer_expression "&local_3c" & identifier) , (binary_expression "uVar3 >> 3" identifier >> number_literal) ))) ;) (expression_statement "FUN_0001f4f0();" (call_expression "FUN_0001f4f0()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" else (compound_statement "{\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" { (expression_statement "local_38 = *param_2;" (assignment_expression "local_38 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_3c = uVar1;" (assignment_expression "local_3c = uVar1" identifier = identifier) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = FUN_00038e30();" (assignment_expression "local_38 = FUN_00038e30()" identifier = (call_expression "FUN_00038e30()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "local_3c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_38 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" identifier (argument_list "(&local_3c,4)" ( (pointer_expression "&local_3c" & identifier) , number_literal ))) ;) (expression_statement "FUN_0001f4f0();" (call_expression "FUN_0001f4f0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001ecf0();" (call_expression "FUN_0001ecf0()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "FUN_0001f5a0();" (call_expression "FUN_0001f5a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }" { (do_statement "do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);" do (compound_statement "{\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    }" { (expression_statement "FUN_0001ed30();" (call_expression "FUN_0001ed30()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_4 = (int *)*param_4;" (assignment_expression "param_4 = (int *)*param_4" identifier = (cast_expression "(int *)*param_4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }) while (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "FUN_000250e0(param_5,0,0);" (call_expression "FUN_000250e0(param_5,0,0)" identifier (argument_list "(param_5,0,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_0003b4e0(uVar2);" (call_expression "FUN_0003b4e0(uVar2)" identifier (argument_list "(uVar2)" ( 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)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT >> LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT >> LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2\nFUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_0001f650(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)" (identifier "FUN_0001f650") (parameter_list "(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)" (( "(") (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"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 local_30;\n  undefined4 local_2c [2];\n  undefined4 local_24;\n  undefined1 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f65b;\n  uVar1 = FUN_00038de0();\n  uVar2 = FUN_00038de0();\n  local_30 = 0x14;\n  local_34 = 0;\n  local_3c = uVar2;\n  local_38 = uVar1;\n  FUN_000312b0(&local_3c,4);\n  FUN_0003b4e0(uVar1);\n  if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }\n  FUN_0001f5a0();\n  if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }\n  FUN_000250e0(param_5,0,0);\n  FUN_0003b4e0(uVar2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined1 local_30;" (type_identifier "undefined1") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c [2];" (type_identifier "undefined4") (array_declarator "local_2c [2]" (identifier "local_2c") ([ "[") (number_literal "2") (] "]")) (; ";")) (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 "uStack_14 = 0x1f65b;" (assignment_expression "uStack_14 = 0x1f65b" (identifier "uStack_14") (= "=") (number_literal "0x1f65b")) (; ";")) (expression_statement "uVar1 = FUN_00038de0();" (assignment_expression "uVar1 = FUN_00038de0()" (identifier "uVar1") (= "=") (call_expression "FUN_00038de0()" (identifier "FUN_00038de0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_00038de0();" (assignment_expression "uVar2 = FUN_00038de0()" (identifier "uVar2") (= "=") (call_expression "FUN_00038de0()" (identifier "FUN_00038de0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" (identifier "local_30") (= "=") (number_literal "0x14")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = uVar2;" (assignment_expression "local_3c = uVar2" (identifier "local_3c") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "local_38 = uVar1;" (assignment_expression "local_38 = uVar1" (identifier "local_38") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" (identifier "FUN_000312b0") (argument_list "(&local_3c,4)" (( "(") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "FUN_0003b4e0(uVar1);" (call_expression "FUN_0003b4e0(uVar1)" (identifier "FUN_0003b4e0") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (if_statement "if (param_3 == 0) {\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }\n  else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_2c[0] = *param_2;\n    local_20 = 3;\n    local_24 = 0;\n    FUN_000312b0(local_2c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 3;\n    local_34 = 0;\n    uVar3 = bfd_arch_bits_per_address(DAT_00081784);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,uVar3 >> 3);\n    FUN_0001f4f0();\n  }" ({ "{") (expression_statement "local_2c[0] = *param_2;" (assignment_expression "local_2c[0] = *param_2" (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "local_20 = 3;" (assignment_expression "local_20 = 3" (identifier "local_20") (= "=") (number_literal "3")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_000312b0(local_2c,4);" (call_expression "FUN_000312b0(local_2c,4)" (identifier "FUN_000312b0") (argument_list "(local_2c,4)" (( "(") (identifier "local_2c") (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "local_3c = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 4)" (identifier "local_3c") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_30 = 3;" (assignment_expression "local_30 = 3" (identifier "local_30") (= "=") (number_literal "3")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = bfd_arch_bits_per_address(DAT_00081784);" (assignment_expression "uVar3 = bfd_arch_bits_per_address(DAT_00081784)" (identifier "uVar3") (= "=") (call_expression "bfd_arch_bits_per_address(DAT_00081784)" (identifier "bfd_arch_bits_per_address") (argument_list "(DAT_00081784)" (( "(") (identifier "DAT_00081784") () ")")))) (; ";")) (expression_statement "FUN_000312b0(&local_3c,uVar3 >> 3);" (call_expression "FUN_000312b0(&local_3c,uVar3 >> 3)" (identifier "FUN_000312b0") (argument_list "(&local_3c,uVar3 >> 3)" (( "(") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (binary_expression "uVar3 >> 3" (identifier "uVar3") (>> ">>") (number_literal "3")) () ")"))) (; ";")) (expression_statement "local_3c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 8)" (identifier "local_3c") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" (identifier "local_30") (= "=") (number_literal "0x14")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_38 = *(undefined4 *)(param_1 + 4)" (identifier "local_38") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "FUN_000312b0(&local_3c,uVar3 >> 3);" (call_expression "FUN_000312b0(&local_3c,uVar3 >> 3)" (identifier "FUN_000312b0") (argument_list "(&local_3c,uVar3 >> 3)" (( "(") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (binary_expression "uVar3 >> 3" (identifier "uVar3") (>> ">>") (number_literal "3")) () ")"))) (; ";")) (expression_statement "FUN_0001f4f0();" (call_expression "FUN_0001f4f0()" (identifier "FUN_0001f4f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" (else "else") (compound_statement "{\n    local_38 = *param_2;\n    local_30 = 0x14;\n    local_34 = 0;\n    local_3c = uVar1;\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 4);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = FUN_00038e30();\n    FUN_000312b0(&local_3c,4);\n    local_3c = *(undefined4 *)(param_1 + 8);\n    local_30 = 0x14;\n    local_34 = 0;\n    local_38 = *(undefined4 *)(param_1 + 4);\n    FUN_000312b0(&local_3c,4);\n    FUN_0001f4f0();\n    FUN_0001ecf0();\n  }" ({ "{") (expression_statement "local_38 = *param_2;" (assignment_expression "local_38 = *param_2" (identifier "local_38") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" (identifier "local_30") (= "=") (number_literal "0x14")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = uVar1;" (assignment_expression "local_3c = uVar1" (identifier "local_3c") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" (identifier "FUN_000312b0") (argument_list "(&local_3c,4)" (( "(") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "local_3c = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 4)" (identifier "local_3c") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" (identifier "local_30") (= "=") (number_literal "0x14")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = FUN_00038e30();" (assignment_expression "local_38 = FUN_00038e30()" (identifier "local_38") (= "=") (call_expression "FUN_00038e30()" (identifier "FUN_00038e30") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" (identifier "FUN_000312b0") (argument_list "(&local_3c,4)" (( "(") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "local_3c = *(undefined4 *)(param_1 + 8);" (assignment_expression "local_3c = *(undefined4 *)(param_1 + 8)" (identifier "local_3c") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_30 = 0x14;" (assignment_expression "local_30 = 0x14" (identifier "local_30") (= "=") (number_literal "0x14")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = *(undefined4 *)(param_1 + 4);" (assignment_expression "local_38 = *(undefined4 *)(param_1 + 4)" (identifier "local_38") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "FUN_000312b0(&local_3c,4);" (call_expression "FUN_000312b0(&local_3c,4)" (identifier "FUN_000312b0") (argument_list "(&local_3c,4)" (( "(") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "FUN_0001f4f0();" (call_expression "FUN_0001f4f0()" (identifier "FUN_0001f4f0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001ecf0();" (call_expression "FUN_0001ecf0()" (identifier "FUN_0001ecf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_0001f5a0();" (call_expression "FUN_0001f5a0()" (identifier "FUN_0001f5a0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_4 != (int *)0x0) {\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "(param_4 != (int *)0x0)" (( "(") (binary_expression "param_4 != (int *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);\n  }" ({ "{") (do_statement "do {\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    } while (param_4 != (int *)0x0);" (do "do") (compound_statement "{\n      FUN_0001ed30();\n      param_4 = (int *)*param_4;\n    }" ({ "{") (expression_statement "FUN_0001ed30();" (call_expression "FUN_0001ed30()" (identifier "FUN_0001ed30") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_4 = (int *)*param_4;" (assignment_expression "param_4 = (int *)*param_4" (identifier "param_4") (= "=") (cast_expression "(int *)*param_4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_4 != (int *)0x0)" (( "(") (binary_expression "param_4 != (int *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_000250e0(param_5,0,0);" (call_expression "FUN_000250e0(param_5,0,0)" (identifier "FUN_000250e0") (argument_list "(param_5,0,0)" (( "(") (identifier "param_5") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_0003b4e0(uVar2);" (call_expression "FUN_0003b4e0(uVar2)" (identifier "FUN_0003b4e0") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void output_fde(fde_entry * fde, cie_entry * cie, bfd_boolean eh_frame,
   cfi_insn_data * first, int align, cie_entry * cie) */

void __regparm3
function_1(type_1 *fde,type_2 *cie,type_3 eh_frame,type_4 *var_4,int var_11,
          type_2 *cie_1)

{
  type_5 *sym;
  type_5 *sym_00;
  type_6 var_6;
  type_7 exp;
  type_7 exp_1;
  
  sym = var_1();
  sym_00 = var_1();
  exp._12_1_ = 0x14;
  exp.X_add_number = 0;
  exp.X_add_symbol = sym_00;
  exp.X_op_symbol = sym;
  var_2(&exp,4);
  var_3(sym);
  if (var_4 == (type_4 *)0x0) {
    exp_1.X_add_symbol = (type_5 *)cie->next;
    exp_1._12_1_ = 3;
    exp_1.X_add_number = 0;
    var_2(&exp_1,4);
    exp.X_add_symbol = fde->start_address;
    exp._12_1_ = 3;
    exp.X_add_number = 0;
    var_6 = var_5(stdoutput);
    var_2(&exp,var_6 >> 3);
    exp.X_add_symbol = fde->end_address;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_op_symbol = fde->start_address;
    var_2(&exp,var_6 >> 3);
    var_7(fde->lsda_encoding);
  }
  else {
    exp.X_op_symbol = (type_5 *)cie->next;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_add_symbol = sym;
    var_2(&exp,4);
    exp.X_add_symbol = fde->start_address;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_op_symbol = var_8();
    var_2(&exp,4);
    exp.X_add_symbol = fde->end_address;
    exp._12_1_ = 0x14;
    exp.X_add_number = 0;
    exp.X_op_symbol = fde->start_address;
    var_2(&exp,4);
    var_6 = var_7(fde->lsda_encoding);
    var_9(var_6);
  }
  var_10(&fde->lsda,(type_6)*(type_8 *)eh_frame,0);
  if (var_11 != 0) {
    do {
      var_12((type_4 *)var_11);
      var_11 = (int)((type_4 *)var_11)->next;
    } while ((type_4 *)var_11 != (type_4 *)0x0);
  }
  var_13((int)cie_1,0,0);
  var_3(sym_00);
  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))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator 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: (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: (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)) (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (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) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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 (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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 (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (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 __regparm2
MASKED(int param_1,undefined4 *param_2,int param_3,int *param_4,undefined4 param_5)

{
  undefined4 uVar1;
  undefined4 uVar2;
  uint uVar3;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined1 local_30;
  undefined4 local_2c [2];
  undefined4 local_24;
  undefined1 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1f65b;
  uVar1 = FUN_00038de0();
  uVar2 = FUN_00038de0();
  local_30 = 0x14;
  local_34 = 0;
  local_3c = uVar2;
  local_38 = uVar1;
  FUN_000312b0(&local_3c,4);
  FUN_0003b4e0(uVar1);
  if (param_3 == 0) {
    local_2c[0] = *param_2;
    local_20 = 3;
    local_24 = 0;
    FUN_000312b0(local_2c,4);
    local_3c = *(undefined4 *)(param_1 + 4);
    local_30 = 3;
    local_34 = 0;
    uVar3 = bfd_arch_bits_per_address(DAT_00081784);
    FUN_000312b0(&local_3c,uVar3 >> 3);
    local_3c = *(undefined4 *)(param_1 + 8);
    local_30 = 0x14;
    local_34 = 0;
    local_38 = *(undefined4 *)(param_1 + 4);
    FUN_000312b0(&local_3c,uVar3 >> 3);
    FUN_0001f4f0();
  }
  else {
    local_38 = *param_2;
    local_30 = 0x14;
    local_34 = 0;
    local_3c = uVar1;
    FUN_000312b0(&local_3c,4);
    local_3c = *(undefined4 *)(param_1 + 4);
    local_30 = 0x14;
    local_34 = 0;
    local_38 = FUN_00038e30();
    FUN_000312b0(&local_3c,4);
    local_3c = *(undefined4 *)(param_1 + 8);
    local_30 = 0x14;
    local_34 = 0;
    local_38 = *(undefined4 *)(param_1 + 4);
    FUN_000312b0(&local_3c,4);
    FUN_0001f4f0();
    FUN_0001ecf0();
  }
  FUN_0001f5a0();
  if (param_4 != (int *)0x0) {
    do {
      FUN_0001ed30();
      param_4 = (int *)*param_4;
    } while (param_4 != (int *)0x0);
  }
  FUN_000250e0(param_5,0,0);
  FUN_0003b4e0(uVar2);
  return;
}

