
/* WARNING: Unknown calling convention */

gmon_ptr_size gmon_get_ptr_size(void)

{
  char *pcVar1;
  uint uVar2;
  char *__format;
  
  uVar2 = bfd_get_arch_size(core_bfd);
  if (uVar2 == 0xffffffff) {
    uVar2 = bfd_arch_bits_per_address(core_bfd);
  }
  pcVar1 = whoami;
  if (uVar2 != 0x20) {
    if (uVar2 == 0x40) {
      return ptr_64bit;
    }
    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);
    fprintf(stderr,__format,pcVar1,(ulong)uVar2);
                    /* WARNING: Subroutine does not return */
    done(1);
  }
  return ptr_32bit;
}



undefined8 FUN_00109420(void)

{
  undefined8 uVar1;
  uint uVar2;
  char *__format;
  
  uVar2 = bfd_get_arch_size(DAT_00119ad8);
  if (uVar2 == 0xffffffff) {
    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);
  }
  uVar1 = DAT_00119b10;
  if (uVar2 != 0x20) {
    if (uVar2 == 0x40) {
      return 1;
    }
    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);
    fprintf(stderr,__format,uVar1,(ulong)uVar2);
                    /* WARNING: Subroutine does not return */
    FUN_0010a4c0(1);
  }
  return 0;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RDI,qword ptr [0x00119ad8]
CALL 0x001022b0
MOV EBP,EAX
CMP EAX,-0x1
JZ 0x00109460
CMP EBP,0x20
JZ 0x00109450
CMP EBP,0x40
JNZ 0x00109470
ADD RSP,0x8
MOV EAX,0x1
POP RBX
POP RBP
RET
ADD RSP,0x8
XOR EAX,EAX
POP RBX
POP RBP
RET
MOV RDI,qword ptr [0x00119ad8]
CALL 0x00102480
MOV EBP,EAX
JMP 0x00109439
MOV RBX,qword ptr [0x00119b10]
MOV EDX,0x5
LEA RSI,[0x110dd8]
LEA RDI,[0x110008]
CALL 0x00102170
MOV RDI,qword ptr [0x00118940]
MOV ECX,EBP
MOV RSI,RAX
MOV RDX,RBX
XOR EAX,EAX
CALL 0x001022f0
MOV EDI,0x1
CALL 0x0010a4c0
(translation_unit "undefined8 FUN_00109420(void)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00109420(void)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00109420(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }\n  return 0;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "uVar2 = bfd_get_arch_size(DAT_00119ad8);" (assignment_expression "uVar2 = bfd_get_arch_size(DAT_00119ad8)" identifier = (call_expression "bfd_get_arch_size(DAT_00119ad8)" identifier (argument_list "(DAT_00119ad8)" ( identifier )))) ;) (if_statement "if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }" { (expression_statement "uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);" (assignment_expression "uVar2 = bfd_arch_bits_per_address(DAT_00119ad8)" identifier = (call_expression "bfd_arch_bits_per_address(DAT_00119ad8)" identifier (argument_list "(DAT_00119ad8)" ( identifier )))) ;) })) (expression_statement "uVar1 = DAT_00119b10;" (assignment_expression "uVar1 = DAT_00119b10" identifier = identifier) ;) (if_statement "if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }" if (parenthesized_expression "(uVar2 != 0x20)" ( (binary_expression "uVar2 != 0x20" identifier != number_literal) )) (compound_statement "{\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }" { (if_statement "if (uVar2 == 0x40) {\n      return 1;\n    }" if (parenthesized_expression "(uVar2 == 0x40)" ( (binary_expression "uVar2 == 0x40" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" identifier (argument_list "("gprof","%s: address size has unexpected value of %u\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: address size has unexpected value of %u\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,__format,uVar1,(ulong)uVar2);" (call_expression "fprintf(stderr,__format,uVar1,(ulong)uVar2)" identifier (argument_list "(stderr,__format,uVar1,(ulong)uVar2)" ( identifier , identifier , identifier , (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) comment (expression_statement "FUN_0010a4c0(1);" (call_expression "FUN_0010a4c0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\ngmon_ptr_size gmon_get_ptr_size(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(core_bfd);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(core_bfd);\n  }\n  pcVar1 = whoami;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return ptr_64bit;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,pcVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  return ptr_32bit;\n}\n\n" comment (function_definition "gmon_ptr_size gmon_get_ptr_size(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(core_bfd);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(core_bfd);\n  }\n  pcVar1 = whoami;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return ptr_64bit;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,pcVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  return ptr_32bit;\n}" type_identifier (function_declarator "gmon_get_ptr_size(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(core_bfd);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(core_bfd);\n  }\n  pcVar1 = whoami;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return ptr_64bit;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,pcVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  return ptr_32bit;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "uVar2 = bfd_get_arch_size(core_bfd);" (assignment_expression "uVar2 = bfd_get_arch_size(core_bfd)" identifier = (call_expression "bfd_get_arch_size(core_bfd)" identifier (argument_list "(core_bfd)" ( identifier )))) ;) (if_statement "if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(core_bfd);\n  }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    uVar2 = bfd_arch_bits_per_address(core_bfd);\n  }" { (expression_statement "uVar2 = bfd_arch_bits_per_address(core_bfd);" (assignment_expression "uVar2 = bfd_arch_bits_per_address(core_bfd)" identifier = (call_expression "bfd_arch_bits_per_address(core_bfd)" identifier (argument_list "(core_bfd)" ( identifier )))) ;) })) (expression_statement "pcVar1 = whoami;" (assignment_expression "pcVar1 = whoami" identifier = identifier) ;) (if_statement "if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return ptr_64bit;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,pcVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }" if (parenthesized_expression "(uVar2 != 0x20)" ( (binary_expression "uVar2 != 0x20" identifier != number_literal) )) (compound_statement "{\n    if (uVar2 == 0x40) {\n      return ptr_64bit;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,pcVar1,(ulong)uVar2);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }" { (if_statement "if (uVar2 == 0x40) {\n      return ptr_64bit;\n    }" if (parenthesized_expression "(uVar2 == 0x40)" ( (binary_expression "uVar2 == 0x40" identifier == number_literal) )) (compound_statement "{\n      return ptr_64bit;\n    }" { (return_statement "return ptr_64bit;" return identifier ;) })) (expression_statement "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" identifier (argument_list "("gprof","%s: address size has unexpected value of %u\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: address size has unexpected value of %u\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,__format,pcVar1,(ulong)uVar2);" (call_expression "fprintf(stderr,__format,pcVar1,(ulong)uVar2)" identifier (argument_list "(stderr,__format,pcVar1,(ulong)uVar2)" ( identifier , identifier , identifier , (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (return_statement "return ptr_32bit;" return identifier ;) })))
(translation_unit "undefined8 FUN_00109420(void)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00109420(void)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00109420(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }\n  return 0;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "uVar2 = bfd_get_arch_size(DAT_00119ad8);" (assignment_expression "uVar2 = bfd_get_arch_size(DAT_00119ad8)" identifier = (call_expression "bfd_get_arch_size(DAT_00119ad8)" identifier (argument_list "(DAT_00119ad8)" ( identifier )))) ;) (if_statement "if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }" { (expression_statement "uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);" (assignment_expression "uVar2 = bfd_arch_bits_per_address(DAT_00119ad8)" identifier = (call_expression "bfd_arch_bits_per_address(DAT_00119ad8)" identifier (argument_list "(DAT_00119ad8)" ( identifier )))) ;) })) (expression_statement "uVar1 = DAT_00119b10;" (assignment_expression "uVar1 = DAT_00119b10" identifier = identifier) ;) (if_statement "if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }" if (parenthesized_expression "(uVar2 != 0x20)" ( (binary_expression "uVar2 != 0x20" identifier != number_literal) )) (compound_statement "{\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }" { (if_statement "if (uVar2 == 0x40) {\n      return 1;\n    }" if (parenthesized_expression "(uVar2 == 0x40)" ( (binary_expression "uVar2 == 0x40" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" identifier (argument_list "("gprof","%s: address size has unexpected value of %u\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: address size has unexpected value of %u\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,__format,uVar1,(ulong)uVar2);" (call_expression "fprintf(stderr,__format,uVar1,(ulong)uVar2)" identifier (argument_list "(stderr,__format,uVar1,(ulong)uVar2)" ( identifier , identifier , identifier , (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) (expression_statement "FUN_0010a4c0(1);" (call_expression "FUN_0010a4c0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (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 escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00109420(void)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00109420(void)" (identifier "FUN_00109420") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  char *__format;\n  \n  uVar2 = bfd_get_arch_size(DAT_00119ad8);\n  if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }\n  uVar1 = DAT_00119b10;\n  if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }\n  return 0;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (expression_statement "uVar2 = bfd_get_arch_size(DAT_00119ad8);" (assignment_expression "uVar2 = bfd_get_arch_size(DAT_00119ad8)" (identifier "uVar2") (= "=") (call_expression "bfd_get_arch_size(DAT_00119ad8)" (identifier "bfd_get_arch_size") (argument_list "(DAT_00119ad8)" (( "(") (identifier "DAT_00119ad8") () ")")))) (; ";")) (if_statement "if (uVar2 == 0xffffffff) {\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }" (if "if") (parenthesized_expression "(uVar2 == 0xffffffff)" (( "(") (binary_expression "uVar2 == 0xffffffff" (identifier "uVar2") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);\n  }" ({ "{") (expression_statement "uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);" (assignment_expression "uVar2 = bfd_arch_bits_per_address(DAT_00119ad8)" (identifier "uVar2") (= "=") (call_expression "bfd_arch_bits_per_address(DAT_00119ad8)" (identifier "bfd_arch_bits_per_address") (argument_list "(DAT_00119ad8)" (( "(") (identifier "DAT_00119ad8") () ")")))) (; ";")) (} "}"))) (expression_statement "uVar1 = DAT_00119b10;" (assignment_expression "uVar1 = DAT_00119b10" (identifier "uVar1") (= "=") (identifier "DAT_00119b10")) (; ";")) (if_statement "if (uVar2 != 0x20) {\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }" (if "if") (parenthesized_expression "(uVar2 != 0x20)" (( "(") (binary_expression "uVar2 != 0x20" (identifier "uVar2") (!= "!=") (number_literal "0x20")) () ")")) (compound_statement "{\n    if (uVar2 == 0x40) {\n      return 1;\n    }\n    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);\n    fprintf(stderr,__format,uVar1,(ulong)uVar2);\n                    \n    FUN_0010a4c0(1);\n  }" ({ "{") (if_statement "if (uVar2 == 0x40) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(uVar2 == 0x40)" (( "(") (binary_expression "uVar2 == 0x40" (identifier "uVar2") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: address size has unexpected value of %u\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: address size has unexpected value of %u\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: address size has unexpected value of %u\n"" (" """) (string_content "%s: address size has unexpected value of %u") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "fprintf(stderr,__format,uVar1,(ulong)uVar2);" (call_expression "fprintf(stderr,__format,uVar1,(ulong)uVar2)" (identifier "fprintf") (argument_list "(stderr,__format,uVar1,(ulong)uVar2)" (( "(") (identifier "stderr") (, ",") (identifier "__format") (, ",") (identifier "uVar1") (, ",") (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2")) () ")"))) (; ";")) (expression_statement "FUN_0010a4c0(1);" (call_expression "FUN_0010a4c0(1)" (identifier "FUN_0010a4c0") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(void)

{
  char *pcVar1;
  type_2 var_2;
  char *__format;
  
  var_2 = var_1(core_bfd);
  if (var_2 == 0xffffffff) {
    var_2 = var_3(core_bfd);
  }
  pcVar1 = whoami;
  if (var_2 != 0x20) {
    if (var_2 == 0x40) {
      return ptr_64bit;
    }
    __format = (char *)var_4("gprof","%s: address size has unexpected value of %u\n",5);
    var_5(stderr,__format,pcVar1,(type_3)var_2);
                    /* WARNING: Subroutine does not return */
    var_6(1);
  }
  return ptr_32bit;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (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) (escape_sequence)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (return_statement (number_literal)))))

undefined8 MASKED(void)

{
  undefined8 uVar1;
  uint uVar2;
  char *__format;
  
  uVar2 = bfd_get_arch_size(DAT_00119ad8);
  if (uVar2 == 0xffffffff) {
    uVar2 = bfd_arch_bits_per_address(DAT_00119ad8);
  }
  uVar1 = DAT_00119b10;
  if (uVar2 != 0x20) {
    if (uVar2 == 0x40) {
      return 1;
    }
    __format = (char *)dcgettext("gprof","%s: address size has unexpected value of %u\n",5);
    fprintf(stderr,__format,uVar1,(ulong)uVar2);
                    /* WARNING: Subroutine does not return */
    FUN_0010a4c0(1);
  }
  return 0;
}

