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

void print_name(Sym *self)

{
  int iVar1;
  char *__format;
  
  print_name_only(self);
  iVar1 = (self->cg).cyc.num;
  if (iVar1 != 0) {
    __format = (char *)dcgettext("gprof"," <cycle %d>",5);
    printf(__format,iVar1);
  }
  iVar1 = (self->cg).index;
  if (iVar1 != 0) {
    if ((self->cg).print_flag == 0) {
      printf(" (%d)",iVar1);
      return;
    }
    printf(" [%d]",iVar1);
  }
  return;
}



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

void FUN_0001e170(int param_1)

{
  int iVar1;
  char *__format;
  
  FUN_0001df00(param_1);
  iVar1 = *(int *)(param_1 + 0xe8);
  if (iVar1 != 0) {
    __format = (char *)dcgettext("gprof"," <cycle %d>",5);
    printf(__format,iVar1);
  }
  iVar1 = *(int *)(param_1 + 0xc4);
  if (iVar1 != 0) {
    if (*(int *)(param_1 + 0xcc) == 0) {
      printf(" (%d)",iVar1);
      return;
    }
    printf(" [%d]",iVar1);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00013030
ADD EBX,0xee84
SUB ESP,0xc
PUSH ESI
CALL 0x0001df00
MOV EDI,dword ptr [ESI + 0xe8]
ADD ESP,0x10
TEST EDI,EDI
JNZ 0x0001e1e0
MOV EAX,dword ptr [ESI + 0xc4]
TEST EAX,EAX
JZ 0x0001e1bf
MOV EDX,dword ptr [ESI + 0xcc]
TEST EDX,EDX
JZ 0x0001e1c8
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffff7167]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffff716d]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffff715b]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
POP ECX
POP EDX
PUSH EDI
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
JMP 0x0001e198
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001e170(int param_1)\n\n{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001e170(int param_1)\n\n{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001e170(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "FUN_0001df00(param_1);" (call_expression "FUN_0001df00(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xe8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xe8)" identifier = (pointer_expression "*(int *)(param_1 + 0xe8)" * (cast_expression "(int *)(param_1 + 0xe8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe8)" ( (binary_expression "param_1 + 0xe8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" { (expression_statement "__format = (char *)dcgettext("gprof"," <cycle %d>",5);" (assignment_expression "__format = (char *)dcgettext("gprof"," <cycle %d>",5)" identifier = (cast_expression "(char *)dcgettext("gprof"," <cycle %d>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof"," <cycle %d>",5)" identifier (argument_list "("gprof"," <cycle %d>",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal "" <cycle %d>"" " string_content ") , number_literal ))))) ;) (expression_statement "printf(__format,iVar1);" (call_expression "printf(__format,iVar1)" identifier (argument_list "(__format,iVar1)" ( identifier , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0xc4);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc4)" identifier = (pointer_expression "*(int *)(param_1 + 0xc4)" * (cast_expression "(int *)(param_1 + 0xc4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc4)" ( (binary_expression "param_1 + 0xc4" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" { (if_statement "if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xcc) == 0)" ( (binary_expression "*(int *)(param_1 + 0xcc) == 0" (pointer_expression "*(int *)(param_1 + 0xcc)" * (cast_expression "(int *)(param_1 + 0xcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      printf(" (%d)",iVar1);\n      return;\n    }" { (expression_statement "printf(" (%d)",iVar1);" (call_expression "printf(" (%d)",iVar1)" identifier (argument_list "(" (%d)",iVar1)" ( (string_literal "" (%d)"" " string_content ") , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf(" [%d]",iVar1);" (call_expression "printf(" [%d]",iVar1)" identifier (argument_list "(" [%d]",iVar1)" ( (string_literal "" [%d]"" " string_content ") , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid print_name(Sym *self)\n\n{\n  int iVar1;\n  char *__format;\n  \n  print_name_only(self);\n  iVar1 = (self->cg).cyc.num;\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = (self->cg).index;\n  if (iVar1 != 0) {\n    if ((self->cg).print_flag == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}\n\n" comment comment (function_definition "void print_name(Sym *self)\n\n{\n  int iVar1;\n  char *__format;\n  \n  print_name_only(self);\n  iVar1 = (self->cg).cyc.num;\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = (self->cg).index;\n  if (iVar1 != 0) {\n    if ((self->cg).print_flag == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" primitive_type (function_declarator "print_name(Sym *self)" identifier (parameter_list "(Sym *self)" ( (parameter_declaration "Sym *self" type_identifier (pointer_declarator "*self" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *__format;\n  \n  print_name_only(self);\n  iVar1 = (self->cg).cyc.num;\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = (self->cg).index;\n  if (iVar1 != 0) {\n    if ((self->cg).print_flag == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "print_name_only(self);" (call_expression "print_name_only(self)" identifier (argument_list "(self)" ( identifier ))) ;) (expression_statement "iVar1 = (self->cg).cyc.num;" (assignment_expression "iVar1 = (self->cg).cyc.num" identifier = (field_expression "(self->cg).cyc.num" (field_expression "(self->cg).cyc" (parenthesized_expression "(self->cg)" ( (field_expression "self->cg" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" { (expression_statement "__format = (char *)dcgettext("gprof"," <cycle %d>",5);" (assignment_expression "__format = (char *)dcgettext("gprof"," <cycle %d>",5)" identifier = (cast_expression "(char *)dcgettext("gprof"," <cycle %d>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof"," <cycle %d>",5)" identifier (argument_list "("gprof"," <cycle %d>",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal "" <cycle %d>"" " string_content ") , number_literal ))))) ;) (expression_statement "printf(__format,iVar1);" (call_expression "printf(__format,iVar1)" identifier (argument_list "(__format,iVar1)" ( identifier , identifier ))) ;) })) (expression_statement "iVar1 = (self->cg).index;" (assignment_expression "iVar1 = (self->cg).index" identifier = (field_expression "(self->cg).index" (parenthesized_expression "(self->cg)" ( (field_expression "self->cg" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar1 != 0) {\n    if ((self->cg).print_flag == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((self->cg).print_flag == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" { (if_statement "if ((self->cg).print_flag == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }" if (parenthesized_expression "((self->cg).print_flag == 0)" ( (binary_expression "(self->cg).print_flag == 0" (field_expression "(self->cg).print_flag" (parenthesized_expression "(self->cg)" ( (field_expression "self->cg" identifier -> field_identifier) )) . field_identifier) == number_literal) )) (compound_statement "{\n      printf(" (%d)",iVar1);\n      return;\n    }" { (expression_statement "printf(" (%d)",iVar1);" (call_expression "printf(" (%d)",iVar1)" identifier (argument_list "(" (%d)",iVar1)" ( (string_literal "" (%d)"" " string_content ") , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf(" [%d]",iVar1);" (call_expression "printf(" [%d]",iVar1)" identifier (argument_list "(" [%d]",iVar1)" ( (string_literal "" [%d]"" " string_content ") , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001e170(int param_1)\n\n{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001e170(int param_1)\n\n{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001e170(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "FUN_0001df00(param_1);" (call_expression "FUN_0001df00(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xe8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xe8)" identifier = (pointer_expression "*(int *)(param_1 + 0xe8)" * (cast_expression "(int *)(param_1 + 0xe8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe8)" ( (binary_expression "param_1 + 0xe8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" { (expression_statement "__format = (char *)dcgettext("gprof"," <cycle %d>",5);" (assignment_expression "__format = (char *)dcgettext("gprof"," <cycle %d>",5)" identifier = (cast_expression "(char *)dcgettext("gprof"," <cycle %d>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof"," <cycle %d>",5)" identifier (argument_list "("gprof"," <cycle %d>",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal "" <cycle %d>"" " string_content ") , number_literal ))))) ;) (expression_statement "printf(__format,iVar1);" (call_expression "printf(__format,iVar1)" identifier (argument_list "(__format,iVar1)" ( identifier , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0xc4);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc4)" identifier = (pointer_expression "*(int *)(param_1 + 0xc4)" * (cast_expression "(int *)(param_1 + 0xc4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc4)" ( (binary_expression "param_1 + 0xc4" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" { (if_statement "if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xcc) == 0)" ( (binary_expression "*(int *)(param_1 + 0xcc) == 0" (pointer_expression "*(int *)(param_1 + 0xcc)" * (cast_expression "(int *)(param_1 + 0xcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      printf(" (%d)",iVar1);\n      return;\n    }" { (expression_statement "printf(" (%d)",iVar1);" (call_expression "printf(" (%d)",iVar1)" identifier (argument_list "(" (%d)",iVar1)" ( (string_literal "" (%d)"" " string_content ") , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf(" [%d]",iVar1);" (call_expression "printf(" [%d]",iVar1)" identifier (argument_list "(" [%d]",iVar1)" ( (string_literal "" [%d]"" " string_content ") , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001e170(int param_1)\n\n{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001e170(int param_1)" (identifier "FUN_0001e170") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  char *__format;\n  \n  FUN_0001df00(param_1);\n  iVar1 = *(int *)(param_1 + 0xe8);\n  if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }\n  iVar1 = *(int *)(param_1 + 0xc4);\n  if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (expression_statement "FUN_0001df00(param_1);" (call_expression "FUN_0001df00(param_1)" (identifier "FUN_0001df00") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0xe8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xe8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xe8)" (* "*") (cast_expression "(int *)(param_1 + 0xe8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe8)" (( "(") (binary_expression "param_1 + 0xe8" (identifier "param_1") (+ "+") (number_literal "0xe8")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __format = (char *)dcgettext("gprof"," <cycle %d>",5);\n    printf(__format,iVar1);\n  }" ({ "{") (expression_statement "__format = (char *)dcgettext("gprof"," <cycle %d>",5);" (assignment_expression "__format = (char *)dcgettext("gprof"," <cycle %d>",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext("gprof"," <cycle %d>",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof"," <cycle %d>",5)" (identifier "dcgettext") (argument_list "("gprof"," <cycle %d>",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal "" <cycle %d>"" (" """) (string_content " <cycle %d>") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(__format,iVar1);" (call_expression "printf(__format,iVar1)" (identifier "printf") (argument_list "(__format,iVar1)" (( "(") (identifier "__format") (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(param_1 + 0xc4);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc4)" (* "*") (cast_expression "(int *)(param_1 + 0xc4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc4)" (( "(") (binary_expression "param_1 + 0xc4" (identifier "param_1") (+ "+") (number_literal "0xc4")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }\n    printf(" [%d]",iVar1);\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0xcc) == 0) {\n      printf(" (%d)",iVar1);\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xcc) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xcc) == 0" (pointer_expression "*(int *)(param_1 + 0xcc)" (* "*") (cast_expression "(int *)(param_1 + 0xcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xcc)" (( "(") (binary_expression "param_1 + 0xcc" (identifier "param_1") (+ "+") (number_literal "0xcc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      printf(" (%d)",iVar1);\n      return;\n    }" ({ "{") (expression_statement "printf(" (%d)",iVar1);" (call_expression "printf(" (%d)",iVar1)" (identifier "printf") (argument_list "(" (%d)",iVar1)" (( "(") (string_literal "" (%d)"" (" """) (string_content " (%d)") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "printf(" [%d]",iVar1);" (call_expression "printf(" [%d]",iVar1)" (identifier "printf") (argument_list "(" [%d]",iVar1)" (( "(") (string_literal "" [%d]"" (" """) (string_content " [%d]") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *self)

{
  int var_2;
  char *__format;
  
  var_1(self);
  var_2 = (self->cg).cyc.num;
  if (var_2 != 0) {
    __format = (char *)var_3("gprof"," <cycle %d>",5);
    var_4(__format,var_2);
  }
  var_2 = (self->cg).index;
  if (var_2 != 0) {
    if ((self->cg).print_flag == 0) {
      var_4(" (%d)",var_2);
      return;
    }
    var_4(" [%d]",var_2);
  }
  return;
}


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

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

void MASKED(int param_1)

{
  int iVar1;
  char *__format;
  
  FUN_0001df00(param_1);
  iVar1 = *(int *)(param_1 + 0xe8);
  if (iVar1 != 0) {
    __format = (char *)dcgettext("gprof"," <cycle %d>",5);
    printf(__format,iVar1);
  }
  iVar1 = *(int *)(param_1 + 0xc4);
  if (iVar1 != 0) {
    if (*(int *)(param_1 + 0xcc) == 0) {
      printf(" (%d)",iVar1);
      return;
    }
    printf(" [%d]",iVar1);
  }
  return;
}

